*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --terracotta-900: #5C2D1E;
    --terracotta-800: #7A3B28;
    --terracotta-700: #8B4530;
    --terracotta-600: #A0522D;
    --terracotta-500: #B85C38;
    --terracotta-400: #C97856;
    --terracotta-300: #D4956E;
    --terracotta-200: #E0B89A;
    --terracotta-100: #EDD5C0;
    --terracotta-50: #F7EBE0;

    --sand-900: #3D2B1F;
    --sand-800: #5C4033;
    --sand-700: #6B4E37;
    --sand-600: #7D5E45;
    --sand-500: #A07855;
    --sand-400: #C4A882;
    --sand-300: #D4C4A8;
    --sand-200: #E8DCC8;
    --sand-100: #F2EBE0;
    --sand-50: #FAF6F0;

    --cream: #FDF9F5;
    --white: #FFFFFF;
    --black: #1A1209;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --nav-height: 80px;
    --section-padding: clamp(80px, 12vw, 140px);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--sand-900);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

/* ─── NAVIGATION ─────────────────────────────── */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 249, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    border-bottom-color: var(--sand-200);
    box-shadow: 0 1px 20px rgba(61, 43, 31, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--sand-900);
}

.nav-logo-mark {
    width: 40px;
    height: 40px;
    background: var(--terracotta-500);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.05em;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--sand-800);
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--terracotta-500);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--terracotta-600);
}

.nav-links a::after:hover {
    width: 100%;
}

.nav-cta {
    background: var(--terracotta-500);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 500;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--terracotta-600);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-line {
    width: 22px;
    height: 2px;
    background: var(--sand-900);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── HERO ────────────────────────────────────── */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sand-900);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/8830486/pexels-photo-8830486.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 18, 9, 0.88) 0%,
        rgba(92, 45, 30, 0.82) 50%,
        rgba(26, 18, 9, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    padding-top: var(--nav-height);
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--terracotta-300);
    margin-bottom: 28px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(40px, 6.5vw, 82px);
    font-weight: 700;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-headline-accent {
    font-style: italic;
    font-weight: 400;
    color: var(--terracotta-300);
}

.hero-sub {
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.7;
    color: var(--sand-300);
    max-width: 580px;
    margin: 0 auto 48px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--sand-400);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── BUTTONS ─────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: 100px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--terracotta-500);
    color: var(--white);
    border-color: var(--terracotta-500);
}

.btn-primary:hover {
    background: var(--terracotta-600);
    border-color: var(--terracotta-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 92, 56, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
    background: transparent;
    color: var(--terracotta-600);
    border-color: var(--terracotta-500);
}

.btn-outline:hover {
    background: var(--terracotta-500);
    color: var(--white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 15px;
}

.btn-full {
    width: 100%;
}

/* ─── SECTION HEADERS ─────────────────────────── */

.section-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--terracotta-500);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 700;
    line-height: 1.12;
    color: var(--sand-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.section-sub {
    font-size: clamp(16px, 1.6vw, 18px);
    line-height: 1.7;
    color: var(--sand-600);
    max-width: 560px;
    font-weight: 300;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header .section-sub {
    margin: 0 auto;
}

/* ─── INTRO SECTION ───────────────────────────── */

.intro-section {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.intro-image-wrap {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.intro-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lead-text {
    font-size: clamp(17px, 1.4vw, 19px);
    line-height: 1.8;
    color: var(--sand-800);
    margin-bottom: 20px;
    font-weight: 300;
}

.intro-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--sand-700);
    margin-bottom: 16px;
}

.intro-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--sand-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--terracotta-600);
}

.stat-label {
    font-size: 13px;
    color: var(--sand-600);
    line-height: 1.5;
}

/* ─── SERVICES SECTION ────────────────────────── */

.services-section {
    padding: var(--section-padding) 0;
    background: var(--sand-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 32px;
    border: 1px solid var(--sand-100);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(61, 43, 31, 0.08);
    border-color: var(--terracotta-200);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--terracotta-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta-600);
    margin-bottom: 24px;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--sand-900);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--sand-600);
}

/* ─── APPROACH SECTION ────────────────────────── */

.approach-section {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.approach-content {
    order: 1;
}

.approach-image-wrap {
    order: 2;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 5/6.5;
}

.approach-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 48px;
}

.approach-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--terracotta-200);
    line-height: 1;
    padding-top: 4px;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--sand-900);
    margin-bottom: 6px;
}

.step-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--sand-600);
}

/* ─── CTA SECTION ─────────────────────────────── */

.cta-section {
    padding: var(--section-padding) 0;
    background: var(--sand-900);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 92, 56, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-eyebrow {
    color: var(--terracotta-300);
}

.cta-title {
    color: var(--white);
}

.cta-text {
    font-size: clamp(16px, 1.6vw, 18px);
    line-height: 1.75;
    color: var(--sand-300);
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-outline {
    color: var(--terracotta-300);
    border-color: var(--terracotta-400);
}

.btn-outline:hover {
    background: var(--terracotta-500);
    border-color: var(--terracotta-500);
    color: var(--white);
}

/* ─── CONTACT SECTION ─────────────────────────── */

.contact-section {
    padding: var(--section-padding) 0;
    background: var(--sand-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact-intro {
    font-size: 15px;
    line-height: 1.75;
    color: var(--sand-600);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--terracotta-50);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta-600);
}

.contact-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sand-400);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 15px;
    color: var(--sand-800);
    line-height: 1.6;
}

.contact-value a {
    color: var(--terracotta-600);
    transition: color 0.2s ease;
}

.contact-value a:hover {
    color: var(--terracotta-500);
    text-decoration: underline;
}

/* ─── CONTACT FORM ────────────────────────────── */

.contact-form-wrap {
    background: var(--white);
    border-radius: 16px;
    padding: clamp(32px, 4vw, 48px);
    border: 1px solid var(--sand-100);
    box-shadow: 0 8px 32px rgba(61, 43, 31, 0.05);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--sand-900);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--sand-700);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--sand-200);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--sand-900);
    background: var(--cream);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--terracotta-400);
    box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--sand-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--terracotta-50);
    border: 1px solid var(--terracotta-200);
    border-radius: 8px;
    margin-top: 16px;
    color: var(--terracotta-700);
    font-size: 14px;
    font-weight: 500;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    color: var(--terracotta-600);
    min-width: 20px;
}

/* ─── FOOTER ──────────────────────────────────── */

.footer {
    background: var(--sand-900);
    color: var(--sand-300);
    padding: clamp(60px, 8vw, 100px) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: clamp(40px, 5vw, 64px);
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(196, 168, 130, 0.15);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--terracotta-500);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.05em;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: var(--sand-400);
    max-width: 260px;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sand-400);
    margin-bottom: 20px;
}

.footer-nav ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a,
.footer-contact a {
    font-size: 14px;
    color: var(--sand-300);
    transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--terracotta-300);
}

.footer-contact span {
    font-size: 14px;
    line-height: 1.7;
    color: var(--sand-300);
}

.footer-bottom {
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--sand-600);
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--sand-700) !important;
    max-width: 400px;
    text-align: right;
    line-height: 1.6;
}

/* ─── MOBILE RESPONSIVE ───────────────────────── */

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

@media (max-width: 768px) {
    :root {
        --nav-height: 68px;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(253, 249, 245, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 18px;
    }

    .nav-cta {
        font-size: 16px;
        padding: 14px 32px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-headline {
        font-size: clamp(36px, 10vw, 56px);
    }

    .intro-grid,
    .approach-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .approach-content {
        order: 1;
    }

    .approach-image-wrap {
        order: 2;
        aspect-ratio: 4/3;
    }

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

    .intro-image-wrap {
        aspect-ratio: 4/3;
    }

    .intro-stats {
        gap: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-disclaimer {
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .intro-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* ─── ACCESSIBILITY ───────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
    .service-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

:focus-visible {
    outline: 2px solid var(--terracotta-500);
    outline-offset: 2px;
}

/* ─── SCROLL REVEAL (below-fold only) ────────── */

.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: none;
    }
}
