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

:root {
    --terracotta: #C4704B;
    --terracotta-dark: #A85A3A;
    --sand: #F5F0EB;
    --sand-light: #FAF7F4;
    --sand-dark: #E8E0D8;
    --charcoal: #2A2522;
    --charcoal-light: #5C524D;
    --white: #FFFFFF;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--charcoal);
    background: var(--sand-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* ─── HEADER ─── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 247, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sand-dark);
    transition: box-shadow 0.3s var(--ease);
}

.header.scrolled {
    box-shadow: 0 1px 0 var(--sand-dark);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--terracotta);
    color: var(--white);
    font-family: var(--font-display), serif;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: -0.01em;
    color: var(--charcoal);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    transition: color 0.2s var(--ease);
    position: relative;
}

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

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

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

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

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--charcoal);
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

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

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

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

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.1s forwards;
}

.hero-headline {
    font-family: var(--font-display), serif;
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--charcoal);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}

.hero-headline br {
    display: none;
}

@media (min-width: 600px) {
    .hero-headline br {
        display: block;
    }
}

.hero-sub {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--charcoal-light);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.3s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}

.hero-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--terracotta), transparent);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.6s forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(196, 112, 75, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--charcoal);
    border: 1px solid var(--sand-dark);
}

.btn-ghost:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ─── SECTIONS ─── */
.about,
.services,
.why,
.cta {
    padding: 120px 0;
}

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

.section-title {
    font-family: var(--font-display), serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--charcoal);
    margin-bottom: 24px;
}

.section-title--center {
    text-align: center;
}

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

.section-body {
    font-size: 16px;
    color: var(--charcoal-light);
    line-height: 1.8;
    max-width: 520px;
}

.section-body--center {
    text-align: center;
    max-width: 480px;
    margin: 0 auto 64px;
}

.section-body--light {
    color: rgba(255, 255, 255, 0.75);
    max-width: 440px;
    margin: 0 auto 40px;
}

/* ─── ABOUT ─── */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-stats {
    display: flex;
    gap: 24px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--sand-dark);
}

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

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

.stat-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal-light);
}

.stat-divider {
    width: 1px;
    background: var(--sand-dark);
    align-self: stretch;
}

/* ─── SERVICES ─── */
.services {
    background: var(--sand-light);
}

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

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 32px;
    transition: all 0.3s var(--ease);
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: var(--sand-dark);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(42, 37, 34, 0.06);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--sand);
    color: var(--terracotta);
    margin-bottom: 24px;
    transition: background 0.3s var(--ease);
}

.service-card:hover .service-icon {
    background: var(--terracotta);
    color: var(--white);
}

.service-title {
    font-family: var(--font-display), serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: var(--charcoal-light);
    line-height: 1.7;
}

/* ─── WHY ─── */
.why {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.why-list {
    list-style: none;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 15px;
    color: var(--charcoal-light);
    line-height: 1.6;
}

.why-list-mark {
    font-family: var(--font-display), serif;
    font-size: 20px;
    color: var(--terracotta);
    line-height: 1.4;
    flex-shrink: 0;
}

.why-image {
    border-radius: 12px;
    overflow: hidden;
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.why-image:hover img {
    transform: scale(1.02);
}

/* ─── CTA ─── */
.cta {
    background: var(--charcoal);
    padding: 120px 0;
}

.cta-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.cta-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-bottom: 48px;
}

.cta-phone,
.cta-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s var(--ease);
}

.cta-phone:hover,
.cta-email:hover {
    color: var(--terracotta);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

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

.cta-form input,
.cta-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s var(--ease);
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.cta-form input:focus,
.cta-form textarea:focus {
    border-color: var(--terracotta);
}

.cta-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    text-align: center;
    color: var(--terracotta);
    font-size: 15px;
    margin-top: 16px;
}

.form-success.visible {
    display: block;
}

.cta-form.submitted {
    display: none;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--charcoal);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 48px 0;
}

.footer-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.footer-brand .logo-mark {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

.footer-brand .logo-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.6;
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
    .about-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image,
    .why-image {
        order: -1;
    }

    .about-image img,
    .why-image img {
        height: 360px;
    }

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

@media (max-width: 640px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 247, 244, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--sand-dark);
        padding: 24px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s var(--ease);
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .nav a {
        font-size: 15px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-headline {
        font-size: clamp(40px, 14vw, 64px);
    }

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

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

    .about-stats {
        flex-wrap: wrap;
    }

    .stat-divider {
        display: none;
    }

    .about,
    .services,
    .why,
    .cta {
        padding: 80px 0;
    }
}
