/* ── Reset & Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --terra-900: #3B1A12;
    --terra-700: #6B2D1A;
    --terra-600: #8B3A2A;
    --terra-500: #A84B3A;
    --terra-400: #C4654A;
    --terra-300: #D4896E;
    --terra-200: #E8B89E;
    --terra-100: #F5D8C8;
    --terra-50:  #FBEC E5;
    --sand-900:  #2C2420;
    --sand-700:  #4A3F38;
    --sand-500:  #7A6B60;
    --sand-300:  #B8A89C;
    --sand-200:  #D8CCC4;
    --sand-100:  #EDE6E0;
    --sand-50:   #F7F3F0;
    --sand-25:   #FBF9F7;
    --white:     #FFFFFF;
    --black:     #1A1412;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;

    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  22px;
    --shadow-sm:  0 2px 8px rgba(59,26,18,.06);
    --shadow-md:  0 8px 30px rgba(59,26,18,.10);
    --shadow-lg:  0 16px 50px rgba(59,26,18,.14);
    --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--sand-900);
    background: var(--sand-25);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ───────────────────────────────────────────────────── */
.section-eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--terra-500);
    margin-bottom: 10px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--sand-900);
    margin-bottom: 16px;
}
.section-desc {
    font-size: 1.05rem;
    color: var(--sand-500);
    max-width: 580px;
    line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-desc { margin: 0 auto; }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: .935rem;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--terra-500);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(168,75,58,.35);
}
.btn-primary:hover {
    background: var(--terra-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(168,75,58,.40);
}
.btn-outline-light {
    background: rgba(255,255,255,.12);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.45);
    backdrop-filter: blur(6px);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--terra-700);
    border-color: var(--white);
}
.btn-outline-dark {
    background: transparent;
    color: var(--terra-600);
    border: 1.5px solid var(--terra-300);
}
.btn-outline-dark:hover {
    background: var(--terra-50);
    border-color: var(--terra-500);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-nav {
    background: var(--terra-500);
    color: var(--white);
    padding: 10px 22px;
    font-size: .875rem;
}
.btn-nav:hover { background: var(--terra-600); }

/* ── NAV ──────────────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(251,249,247,.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--sand-200);
    transition: var(--transition);
}
.nav.scrolled {
    background: rgba(251,249,247,.96);
    box-shadow: var(--shadow-sm);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--sand-900);
}
.logo-mark {
    width: 38px; height: 38px;
    background: var(--terra-500);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a:not(.btn-nav) {
    font-size: .9rem;
    font-weight: 500;
    color: var(--sand-700);
    transition: var(--transition);
    position: relative;
}
.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--terra-500);
    transition: var(--transition);
}
.nav-links a:not(.btn-nav):hover { color: var(--terra-600); }
.nav-links a:not(.btn-nav):hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--sand-900);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ─────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* Gradient background */
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(168,75,58,.55) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(196,101,74,.35) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(107,45,26,.40) 0%, transparent 55%),
        linear-gradient(160deg, #3B1A12 0%, #6B2D1A 35%, #A84B3A 65%, #D4896E 100%);
}
.hero-bg {
    position: absolute; inset: 0;
    background-image: url('https://images.pexels.com/photos/20224385/pexels-photo-20224385.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    opacity: .18;
    filter: blur(2px);
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        180deg,
        rgba(59,26,18,.30) 0%,
        rgba(59,26,18,.10) 50%,
        rgba(59,26,18,.50) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding-top: 72px;
}
.hero-eyebrow {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--terra-200);
    margin-bottom: 20px;
}
.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 22px;
}
.hero-headline .text-accent {
    color: var(--terra-200);
    font-style: italic;
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.80);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 44px;
}
.hero-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 500;
    color: rgba(255,255,255,.72);
}
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.50);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── SERVICES ─────────────────────────────────────────────────────── */
.services {
    padding: 100px 0;
    background: var(--sand-25);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.card-img {
    height: 220px;
    overflow: hidden;
}
.card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 24px 24px 28px; }
.card-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--terra-500);
    background: var(--terra-50);
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--sand-900);
    margin-bottom: 10px;
}
.card-text {
    font-size: .925rem;
    color: var(--sand-500);
    line-height: 1.65;
}

/* ── ABOUT ────────────────────────────────────────────────────────── */
.about {
    padding: 100px 0;
    background: var(--white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-images { position: relative; }
.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 480px; object-fit: cover; }
.about-img-secondary {
    position: absolute;
    bottom: -32px; right: -24px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 5px solid var(--white);
}
.about-img-secondary img { width: 100%; height: 200px; object-fit: cover; }
.about-badge {
    position: absolute;
    top: -16px; left: -16px;
    background: var(--terra-500);
    color: var(--white);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: .82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}
.about-content .section-title { margin-bottom: 20px; }
.about-text {
    font-size: 1rem;
    color: var(--sand-700);
    line-height: 1.75;
    margin-bottom: 16px;
}
.about-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 24px 0 32px;
}
.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .95rem;
    color: var(--sand-900);
    font-weight: 500;
}
.about-list li svg { color: var(--terra-500); flex-shrink: 0; }

/* ── PROCESS ──────────────────────────────────────────────────────── */
.process {
    padding: 100px 0;
    background: var(--sand-50);
}
.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 0 20px;
}
.step-number {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--terra-200);
    line-height: 1;
    margin-bottom: 12px;
}
.step-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--sand-900);
    margin-bottom: 8px;
}
.step-text {
    font-size: .9rem;
    color: var(--sand-500);
    line-height: 1.65;
}
.step-connector {
    width: 48px;
    height: 2px;
    background: var(--terra-200);
    margin-top: 28px;
    flex-shrink: 0;
}

/* ── GALLERY ──────────────────────────────────────────────────────── */
.gallery {
    padding: 100px 0;
    background: var(--white);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 5/3.8;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq {
    padding: 100px 0;
    background: var(--sand-50);
}
.faq-list {
    max-width: 740px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}
.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--sand-100);
    transition: var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--sand-900);
    transition: var(--transition);
}
.faq-q:hover { color: var(--terra-600); }
.faq-icon {
    width: 20px; height: 20px;
    position: relative;
    flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--terra-500);
    border-radius: 2px;
    transition: var(--transition);
}
.faq-icon::before {
    width: 20px; height: 2px;
    top: 9px; left: 0;
}
.faq-icon::after {
    width: 2px; height: 20px;
    top: 0; left: 9px;
}
.faq-item.active .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
}
.faq-item.active .faq-a {
    max-height: 300px;
}
.faq-a p {
    padding: 0 24px 20px;
    font-size: .925rem;
    color: var(--sand-500);
    line-height: 1.7;
}
.faq-a a {
    color: var(--terra-500);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── CONTACT ──────────────────────────────────────────────────────── */
.contact {
    padding: 100px 0;
    background: var(--sand-900);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}
.contact .section-eyebrow { color: var(--terra-300); }
.contact .section-title { color: var(--white); }
.contact-text {
    font-size: 1rem;
    color: var(--sand-300);
    line-height: 1.7;
    margin-bottom: 32px;
}
.contact-details {
    list-style: none;
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
    font-style: normal;
}
.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--sand-200);
    font-size: .95rem;
    line-height: 1.5;
}
.contact-row svg { color: var(--terra-400); flex-shrink: 0; margin-top: 2px; }
.contact-row a {
    color: var(--sand-200);
    transition: var(--transition);
}
.contact-row a:hover { color: var(--terra-300); text-decoration: underline; }
.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 380px;
    box-shadow: var(--shadow-lg);
}

/* ── FOOTER ───────────────────────────────────────────────────────── */
.footer {
    background: var(--black);
    padding: 56px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 48px;
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .logo-mark { width: 44px; height: 44px; font-size: .9rem; }
.footer-brand .logo-wordmark { color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.footer-tagline { font-size: .85rem; color: var(--sand-500); margin-top: 4px; }
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: .9rem;
    color: var(--sand-300);
    transition: var(--transition);
}
.footer-links a:hover { color: var(--terra-300); }
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-contact a {
    font-size: .9rem;
    color: var(--sand-300);
    transition: var(--transition);
}
.footer-contact a:hover { color: var(--terra-300); }
.footer-bottom {
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: .8rem;
    color: var(--sand-500);
}

/* ── SCROLL REVEAL (progressive enhancement) ─────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity .6s ease, transform .6s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── RESPONSIVE ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px; left: 0; right: 0;
        background: rgba(251,249,247,.98);
        backdrop-filter: blur(14px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid var(--sand-200);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-toggle { display: flex; }

    .hero-headline { font-size: clamp(1.8rem, 8vw, 2.8rem); }
    .hero-actions  { flex-direction: column; align-items: center; }

    .services-grid { grid-template-columns: 1fr; }
    .about-grid    { grid-template-columns: 1fr; gap: 48px; }
    .about-img-secondary { position: static; width: 100%; margin-top: -20px; }
    .about-img-main img  { height: 340px; }

    .process-steps { flex-direction: column; gap: 24px; }
    .step-connector { width: 2px; height: 32px; margin: 0 auto; }

    .gallery-grid { grid-template-columns: 1fr; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-map  { min-height: 280px; }

    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-content { padding-top: 64px; }
    .hero-trust { flex-direction: column; align-items: center; gap: 8px; }
}
