:root {
    --terracotta: #C4704B;
    --terracotta-deep: #A85A3A;
    --sand: #F5EDE4;
    --sand-light: #FAF6F1;
    --sand-warm: #EDE4D8;
    --cream: #FDFBF8;
    --dark: #2A1F1A;
    --dark-soft: #4A3F3A;
    --muted: #8A7E78;
    --line: rgba(42, 31, 26, 0.1);
    --line-strong: rgba(42, 31, 26, 0.2);
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--dark);
    background: var(--cream);
    line-height: 1.6;
    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 24px;
}

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    transition: background var(--ease) 0.4s, box-shadow var(--ease) 0.4s;
}

.nav.scrolled {
    background: rgba(253, 251, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    color: var(--dark);
}

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

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dark-soft);
    transition: color 0.2s;
    position: relative;
}

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

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

.nav-links a:not(.btn):hover::after { width: 100%; }

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

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--dark);
    transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 100px;
    border: 1px solid transparent;
    transition: all var(--ease) 0.3s;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--terracotta);
    color: #fff;
    border-color: var(--terracotta);
}

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

.btn-ghost {
    background: transparent;
    color: var(--dark);
    border-color: var(--line-strong);
}

.btn-ghost:hover {
    border-color: var(--dark);
    background: var(--dark);
    color: #fff;
}

.btn-small {
    padding: 10px 22px;
    font-size: 0.75rem;
}

.btn-full { width: 100%; }

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        145deg,
        #F5EDE4 0%,
        #FAD4C0 30%,
        #E8A88A 55%,
        #C4704B 80%,
        #8B4528 100%
    );
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(245, 237, 228, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-actions .btn-ghost {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.hero-actions .btn-ghost:hover {
    background: #fff;
    color: var(--dark);
    border-color: #fff;
}

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

.hero-stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #fff;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.hero-scroll span {
    font-size: 0.625rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* ── SECTIONS ── */
.section {
    padding: 120px 0;
}

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

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--muted);
    max-width: 520px;
    line-height: 1.7;
    font-weight: 300;
}

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

.services .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
    width: 100%;
}

.service-card {
    background: var(--sand-light);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform var(--ease) 0.4s, box-shadow var(--ease) 0.4s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(42, 31, 26, 0.08);
}

.service-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--terracotta);
    opacity: 0.25;
    padding: 28px 28px 0;
    line-height: 1;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    padding: 12px 28px 0;
    color: var(--dark);
}

.service-age {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terracotta);
    padding: 8px 28px;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.7;
    padding: 0 28px 24px;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top: 1px solid var(--line);
}

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

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

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    aspect-ratio: 6/7;
}

.about-content .section-title { margin-top: 8px; }

.about-content p {
    font-size: 1rem;
    color: var(--dark-soft);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

.about-features {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9375rem;
    color: var(--dark-soft);
    font-weight: 400;
}

.about-feature svg {
    color: var(--terracotta);
    flex-shrink: 0;
}

/* ── APPROACH ── */
.approach { background: var(--cream); }

.approach .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 64px;
    width: 100%;
    max-width: 900px;
}

.approach-item {
    text-align: left;
    padding: 36px;
    background: var(--sand-light);
    border-radius: 16px;
    border: 1px solid var(--line);
    transition: border-color 0.3s, transform 0.3s;
}

.approach-item:hover {
    border-color: var(--terracotta);
    transform: translateY(-2px);
}

.approach-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--sand-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    margin-bottom: 20px;
}

.approach-item h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 10px;
}

.approach-item p {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 300;
}

/* ── TESTIMONIALS ── */
.testimonials { background: var(--sand-light); }

.testimonials .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
    width: 100%;
}

.testimonial-card {
    background: var(--cream);
    padding: 36px;
    border-radius: 16px;
    border: 1px solid var(--line);
    text-align: left;
    transition: transform var(--ease) 0.3s, box-shadow var(--ease) 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(42, 31, 26, 0.06);
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--dark-soft);
    margin-bottom: 24px;
    font-weight: 300;
    font-style: italic;
}

.testimonial-card cite {
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--terracotta);
}

/* ── CTA / CONTACT ── */
.cta { background: var(--cream); }

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.cta-info .section-title { margin-top: 8px; }

.cta-info > p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 40px;
    font-weight: 300;
}

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

.contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9375rem;
    color: var(--dark-soft);
}

.contact-row a {
    transition: color 0.2s;
}

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

.contact-row svg {
    color: var(--terracotta);
    flex-shrink: 0;
}

/* ── FORM ── */
.cta-form-wrap {
    background: var(--sand-light);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--line);
}

.cta-form h3 {
    font-family: var(--font-serif);
    font-size: 1.625rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 28px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    padding: 12px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--cream);
    color: var(--dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(196, 112, 75, 0.1);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: rgba(196, 112, 75, 0.08);
    border-radius: 10px;
    margin-top: 16px;
    font-size: 0.9375rem;
    color: var(--terracotta-deep);
    font-weight: 500;
}

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

/* ── FOOTER ── */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    color: #fff;
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    font-weight: 300;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.875rem;
    font-weight: 400;
    transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.875rem;
    font-weight: 300;
}

.footer-contact a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    font-size: 0.8125rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
}

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

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

/* ── MOBILE ── */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(253, 251, 248, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}

.mobile-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-overlay ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.mobile-overlay a {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--dark);
    transition: color 0.2s;
}

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

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

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    .hero { padding: 100px 24px 80px; }
    .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }

    .section { padding: 80px 0; }

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

    .about-grid,
    .cta-grid { grid-template-columns: 1fr; gap: 40px; }

    .about-image { order: -1; }

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

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

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

    .cta-form-wrap { padding: 28px; }

    .hero-stats { gap: 16px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { flex-direction: column; gap: 12px; }
    .stat-divider { width: 32px; height: 1px; }
}
