@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --white: #ffffff;
    --grey-50: #f5f5f5;
    --grey-100: #e0e0e0;
    --grey-400: #9e9e9e;
    --grey-600: #666666;
    --brown-light: #8b6f47;
    --brown-dark: #5c4433;
    --text-primary: #2c2c2c;
    --text-muted: #666666;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, .10);
    --radius: 10px;
    --ease: all .3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ── Utility ──────────────────────────────────────────────── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-header {
    text-align: center;
    padding: 64px 0 44px;
}

.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: .97rem;
    max-width: 520px;
    margin: 0 auto;
}

.divider {
    width: 48px;
    height: 3px;
    background: var(--brown-light);
    border-radius: 2px;
    margin: 14px auto 0;
}

/* Buttons */
.btn {
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: .93rem;
    padding: 13px 30px;
    border-radius: 50px;
    transition: var(--ease);
}

.btn-primary {
    background: var(--brown-dark);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(92, 68, 51, .28);
}

.btn-primary:hover {
    background: var(--brown-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--brown-dark);
    border: 2px solid var(--brown-dark);
    margin-left: 10px;
}

.btn-outline:hover {
    background: var(--brown-dark);
    color: var(--white);
}


@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ────────────────────────────────────────────────────────────
       HOME
    ──────────────────────────────────────────────────────────── */
.hero {
    min-height: calc(100vh - 64px);
    background: linear-gradient(140deg, #fdf8f4 0%, #f5ece3 55%, #e8d8c6 100%);
    display: flex;
    align-items: center;
    padding: 60px 5%;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--brown-dark);
    line-height: 1.2;
    margin-bottom: 18px;
}

.hero-text h1 span {
    color: var(--brown-light);
}

.hero-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 40px;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brown-dark);
}

.stat-label {
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Hero banner graphic */
.hero-banner {
    width: 100%;
    height: 380px;
    background: linear-gradient(135deg, var(--brown-light), var(--brown-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, .05);
    border-radius: 50%;
}

.hero-banner-inner {
    text-align: center;
    color: rgba(255, 255, 255, .92);
    z-index: 1;
}

.hero-banner-inner svg {
    width: 76px;
    height: 76px;
    margin-bottom: 14px;
    opacity: .85;
}

.hero-banner-inner p {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .5px;
}

.hero-banner-inner small {
    display: block;
    font-size: .78rem;
    opacity: .7;
    margin-top: 4px;
}

/* ────────────────────────────────────────────────────────────
       ABOUT
    ──────────────────────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-bottom: 80px;
}

.about-img-box {
    height: 360px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f5ece3, #e8d8c6);
    border: 1px solid var(--grey-100);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-img-box::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 2px dashed var(--brown-light);
    border-radius: 14px;
    opacity: .35;
}

.about-img-icon {
    font-size: 5.5rem;
    opacity: .45;
}

.about-text h3 {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 14px;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 14px;
}

.feature-list {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .93rem;
}

.feature-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brown-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    flex-shrink: 0;
}

/* ────────────────────────────────────────────────────────────
       REVIEWS
    ──────────────────────────────────────────────────────────── */
#reviews {
    background: var(--grey-50);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding-bottom: 80px;
}

.review-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 26px;
    border: 1px solid var(--grey-100);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stars {
    color: #e8a838;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.review-quote {
    font-size: .9rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 11px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    font-weight: 700;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reviewer-info strong {
    display: block;
    font-size: .87rem;
}

.reviewer-info span {
    font-size: .77rem;
    color: var(--text-muted);
}

/* ────────────────────────────────────────────────────────────
       RANKINGS
    ──────────────────────────────────────────────────────────── */
.table-wrap {
    overflow-x: auto;
    padding-bottom: 80px;
}

.rankings-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--grey-100);
    box-shadow: var(--shadow-sm);
}

.rankings-table th {
    background: var(--brown-dark);
    color: var(--white);
    padding: 15px 20px;
    text-align: left;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.rankings-table td {
    padding: 14px 20px;
    font-size: .9rem;
    border-bottom: 1px solid var(--grey-50);
}

.rankings-table tr:last-child td {
    border-bottom: none;
}

.rankings-table tr:hover td {
    background: #fdf8f4;
}

.rank-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .8rem;
    color: var(--white);
}

.r1 {
    background: #c9a227;
}

.r2 {
    background: #9e9e9e;
}

.r3 {
    background: #a0522d;
}

.rn {
    background: var(--brown-light);
}

.score-wrap {
    display: flex;
    align-items: center;
    gap: 9px;
}

.bar-track {
    flex: 1;
    height: 6px;
    background: var(--grey-100);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brown-light), var(--brown-dark));
    border-radius: 3px;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: .74rem;
    font-weight: 600;
}

.badge-green {
    background: #e8f5e9;
    color: #388e3c;
}

.badge-yellow {
    background: #fff8e1;
    color: #f9a825;
}

.badge-red {
    background: #fce4ec;
    color: #c62828;
}

/* ────────────────────────────────────────────────────────────
       BLOGS
    ──────────────────────────────────────────────────────────── */
#blogs {
    background: var(--grey-50);
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding-bottom: 80px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--grey-100);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-thumb {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-body {
    padding: 20px;
}

.blog-tag {
    display: inline-block;
    background: #f5ece3;
    color: var(--brown-dark);
    font-size: .72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 9px;
}

.blog-body h3 {
    font-size: .97rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.blog-body p {
    font-size: .84rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .77rem;
    color: var(--grey-400);
}

.read-more {
    color: var(--brown-light);
    font-weight: 600;
    transition: color .2s;
}

.read-more:hover {
    color: var(--brown-dark);
}

/* ────────────────────────────────────────────────────────────
       CONTACTS
    ──────────────────────────────────────────────────────────── */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 60px;
    padding-bottom: 80px;
}

.contact-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 12px;
}

.contact-info>p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 26px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 16px;
}

.contact-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f5ece3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-row strong {
    display: block;
    font-size: .88rem;
    margin-bottom: 2px;
}

.contact-row span {
    font-size: .84rem;
    color: var(--text-muted);
}

.map-box {
    margin-top: 22px;
    height: 160px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #f5ece3, #e8d8c6);
    border: 1px solid var(--grey-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: .86rem;
    color: var(--text-muted);
}

.map-icon {
    font-size: 1.9rem;
}

/* Form */
.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 34px;
    border: 1px solid var(--grey-100);
    box-shadow: var(--shadow-sm);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: .86rem;
    font-weight: 600;
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 15px;
    border: 1.5px solid var(--grey-100);
    border-radius: 8px;
    font-family: inherit;
    font-size: .9rem;
    color: var(--text-primary);
    background: var(--white);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--brown-light);
    box-shadow: 0 0 0 3px rgba(139, 111, 71, .12);
}

.form-group textarea {
    resize: vertical;
    min-height: 118px;
}

.form-feedback {
    margin-top: 11px;
    font-size: .84rem;
    display: none;
}

/* ────────────────────────────────────────────────────────────
       CAUTION
    ──────────────────────────────────────────────────────────── */
#caution {
    background: #fdf8f4;
}

.caution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    padding-bottom: 80px;
}

.caution-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 26px;
    border-left: 4px solid;
    box-shadow: var(--shadow-sm);
}

.caution-card.warning {
    border-color: #e8a838;
}

.caution-card.danger {
    border-color: #d32f2f;
}

.caution-card.info {
    border-color: var(--brown-light);
}

.caution-card.notice {
    border-color: #4c7a4c;
}

.caution-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.caution-head .icon {
    font-size: 1.4rem;
}

.caution-head h3 {
    font-size: .97rem;
    font-weight: 700;
}

.caution-card p {
    font-size: .86rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.caution-card ul {
    list-style: none;
    margin-top: 10px;
}

.caution-card ul li {
    font-size: .84rem;
    color: var(--text-muted);
    padding: 3px 0 3px 15px;
    position: relative;
}

.caution-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--brown-light);
}

/* ────────────────────────────────────────────────────────────
       FOOTER
    ──────────────────────────────────────────────────────────── */
footer {
    background: var(--brown-dark);
    color: rgba(255, 255, 255, .65);
    padding: 52px 5% 28px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: .86rem;
    line-height: 1.7;
    max-width: 240px;
}

.footer-col h4 {
    font-size: .82rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 9px;
}

.footer-col a {
    font-size: .84rem;
    color: rgba(255, 255, 255, .55);
    transition: color .2s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 22px;
    font-size: .8rem;
}

/* ────────────────────────────────────────────────────────────
       RESPONSIVE
    ──────────────────────────────────────────────────────────── */
@media (max-width: 920px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-banner {
        height: 260px;
        order: -1;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .caution-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-text h1 {
        font-size: 1.7rem;
    }

    .hero-stats {
        gap: 18px;
    }

    .stat-number {
        font-size: 1.35rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .blogs-grid {
        grid-template-columns: 1fr;
    }

    .caution-grid {
        grid-template-columns: 1fr;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}