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

:root {
    --color-terracotta: #B8654A;
    --color-terracotta-dark: #9A5239;
    --color-terracotta-light: #D4896E;
    --color-sand: #F5EDE4;
    --color-sand-light: #FAF6F1;
    --color-sand-mid: #E8DDD3;
    --color-dark: #1A1410;
    --color-dark-soft: #3D3229;
    --color-text: #2C2420;
    --color-text-muted: #7A6B60;
    --color-text-light: #A89888;
    --color-white: #FFFFFF;
    --color-border: #E8DDD3;
    
    --font-body: 'Instrument Sans', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: 0.3s 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(--color-text);
    background: var(--color-sand-light);
    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 var(--space-lg);
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 246, 241, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(250, 246, 241, 0.95);
    box-shadow: 0 1px 20px rgba(26, 20, 16, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-dark);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0.01em;
    transition: color var(--transition);
    position: relative;
}

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

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

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

.nav-cta {
    background: var(--color-terracotta);
    color: var(--color-white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.875rem;
    transition: background var(--transition), transform var(--transition);
}

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

.nav-cta:hover {
    background: var(--color-terracotta-dark);
    color: var(--color-white) !important;
    transform: translateY(-1px);
}

.nav-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-dark);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--color-sand-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: var(--space-lg);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
    padding: 8px;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-dark);
    transition: color var(--transition);
}

.mobile-menu-link:hover {
    color: var(--color-terracotta);
}

.mobile-cta-link {
    font-family: var(--font-body);
    font-size: 1rem !important;
    margin-top: var(--space-sm);
    color: var(--color-terracotta) !important;
    border: 1px solid var(--color-terracotta);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #C4704B 0%, #A0523A 25%, #7A3E2A 50%, #5C2E1E 75%, #3D1F14 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(180, 100, 60, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(120, 60, 30, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 90% 70% at 50% 50%, rgba(0,0,0,0.15) 0%, transparent 70%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.6;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: var(--space-2xl) var(--space-lg);
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.hero-title em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    letter-spacing: 0.01em;
}

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

.btn-primary:hover {
    background: var(--color-sand);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

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

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

.btn-white:hover {
    background: var(--color-sand);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll-indicator span {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===== Section Styles ===== */
.section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-2xl);
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    font-weight: 300;
}

/* ===== Services ===== */
.services {
    background: var(--color-sand-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(26, 20, 16, 0.08);
    border-color: transparent;
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-sand);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    font-weight: 300;
}

/* ===== About ===== */
.about {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 6/7;
}

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

.about-content {
    padding: var(--space-md) 0;
}

.about-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.85;
    margin-bottom: var(--space-md);
    font-weight: 300;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-terracotta);
    letter-spacing: -0.02em;
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* ===== Process ===== */
.process {
    background: var(--color-sand);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    position: relative;
}

.process-step {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    position: relative;
}

.step-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 400;
    color: var(--color-terracotta);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.04em;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.01em;
}

.step-desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    font-weight: 300;
    max-width: 300px;
    margin: 0 auto;
}

/* ===== CTA Band ===== */
.cta-band {
    background: linear-gradient(135deg, #C4704B 0%, #8B4528 50%, #5C2E1E 100%);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-band-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.cta-band-content {
    flex: 1;
}

.cta-band-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}

.cta-band-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.cta-band-actions {
    flex-shrink: 0;
}

/* ===== Contact ===== */
.contact {
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.contact-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-sand);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-light);
    margin-bottom: 2px;
}

.contact-item span,
.contact-item a {
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.6;
}

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

/* Form */
.contact-form-wrap {
    background: var(--color-sand-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--color-border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--color-text);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}

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

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

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

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: #E8F5E9;
    border-radius: var(--radius-sm);
    color: #2E7D32;
    font-size: 0.9375rem;
    margin-top: var(--space-sm);
}

/* Map */
.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

/* ===== Footer ===== */
.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    max-width: 300px;
}

.footer .nav-logo {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
}

.footer-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: var(--space-md);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-links a,
.footer-contact a {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

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

.footer-contact li:not(:first-child) {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 5rem;
        --space-2xl: 4rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrap {
        aspect-ratio: 4/3;
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .process-step {
        padding: var(--space-md);
    }
    
    .cta-band-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-brand {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .nav-inner {
        padding: 0 var(--space-md);
    }
    
    .hero-content {
        padding: var(--space-xl) var(--space-md);
    }
    
    .contact-form-wrap {
        padding: var(--space-md);
    }
}

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

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