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

:root {
    --terracotta-50: #FDF4F0;
    --terracotta-100: #FDE4DA;
    --terracotta-200: #F9C4B2;
    --terracotta-300: #F3A086;
    --terracotta-400: #EB7D58;
    --terracotta-500: #C1694F;
    --terracotta-600: #A8553D;
    --terracotta-700: #8B4537;
    --terracotta-800: #6D352A;
    --terracotta-900: #4A221A;
    
    --sand-50: #FBF9F7;
    --sand-100: #F5F0EB;
    --sand-200: #EDE5DA;
    --sand-300: #DDD0C0;
    --sand-400: #C4B49C;
    --sand-500: #A89478;
    --sand-600: #8A7560;
    --sand-700: #6B5A48;
    --sand-800: #4A3F34;
    --sand-900: #2E2720;
    
    --white: #FFFFFF;
    --black: #1A1512;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(26, 21, 18, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 21, 18, 0.1);
    --shadow-lg: 0 8px 32px rgba(26, 21, 18, 0.12);
    --shadow-xl: 0 16px 48px rgba(26, 21, 18, 0.15);
    
    --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-sans);
    color: var(--sand-900);
    background-color: var(--sand-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    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;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(251, 249, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--sand-200);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--sand-900);
    font-weight: 600;
    z-index: 1001;
}

.logo-icon {
    color: var(--terracotta-600);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-accent {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--terracotta-600);
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--sand-700);
    transition: color var(--transition);
    position: relative;
}

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

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

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

.btn-header {
    padding: 10px 24px;
    font-size: 0.875rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--sand-900);
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--terracotta-800);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(74, 34, 26, 0.92) 0%,
        rgba(139, 69, 55, 0.85) 50%,
        rgba(193, 105, 79, 0.75) 100%
    );
}

.hero .container {
    position: relative;
    z-index: 1;
    padding-top: 120px;
    padding-bottom: 80px;
    max-width: 800px;
}

.hero-content {
    color: var(--white);
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta-200);
    margin-bottom: 24px;
    padding: 8px 16px;
    border: 1px solid rgba(249, 196, 178, 0.3);
    border-radius: 100px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    max-width: 700px;
}

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

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.trust-item svg {
    color: var(--terracotta-300);
    flex-shrink: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    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;
    padding: 14px 32px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--terracotta-600);
    border-color: var(--terracotta-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--sand-100);
}

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

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta-600);
    margin-bottom: 16px;
}

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

.section-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--sand-600);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    border: 1px solid var(--sand-200);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--terracotta-200);
}

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

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

.service-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--sand-600);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.service-features li {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--sand-700);
    padding-left: 16px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    background: var(--terracotta-400);
    border-radius: 50%;
}

/* ===== WHY US ===== */
.why-us-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.why-us-content .section-desc {
    margin-bottom: 40px;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why-feature {
    display: flex;
    gap: 20px;
}

.why-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terracotta-50);
    border-radius: var(--radius-sm);
    color: var(--terracotta-600);
}

.why-feature-text h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sand-900);
    margin-bottom: 6px;
}

.why-feature-text p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--sand-600);
}

.why-us-image {
    position: relative;
}

.image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--terracotta-200);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* ===== PROCESS ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 0 24px;
    position: relative;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 800;
    color: var(--terracotta-200);
    line-height: 1;
    margin-bottom: 16px;
}

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

.step-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--sand-600);
}

.step-connector {
    position: absolute;
    top: 36px;
    right: -12px;
    width: 24px;
    height: 2px;
    background: var(--terracotta-300);
}

.step-connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 8px;
    height: 8px;
    background: var(--terracotta-400);
    border-radius: 50%;
}

/* ===== ABOUT ===== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-content .section-desc {
    margin-bottom: 24px;
}

.about-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--sand-600);
    margin-bottom: 20px;
}

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

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--terracotta-600);
    line-height: 1;
    margin-bottom: 8px;
}

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

/* ===== CTA BANNER ===== */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(74, 34, 26, 0.93) 0%,
        rgba(139, 69, 55, 0.88) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--white);
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.cta-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

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

/* ===== CONTACT ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info .section-desc {
    margin-bottom: 40px;
}

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

.contact-detail {
    display: flex;
    gap: 16px;
}

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

.contact-detail strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sand-900);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--sand-600);
}

.contact-detail a {
    color: var(--terracotta-600);
    transition: color var(--transition);
}

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

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ===== FORM ===== */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--sand-200);
    box-shadow: var(--shadow-md);
}

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

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

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sand-800);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--sand-900);
    background: var(--sand-50);
    border: 1.5px solid var(--sand-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terracotta-400);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(193, 105, 79, 0.1);
}

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

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

.form-note {
    font-size: 0.8125rem;
    color: var(--sand-500);
    text-align: center;
    margin-top: 16px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: var(--terracotta-500);
    margin-bottom: 16px;
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sand-900);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--sand-600);
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--sand-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

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

.footer-links address {
    font-style: normal;
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

/* ===== MOBILE NAV OVERLAY ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        background: rgba(251, 249, 247, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .main-nav li {
        opacity: 0;
        transform: translateY(12px);
        transition: all 0.3s ease;
    }

    .main-nav.open li {
        opacity: 1;
        transform: translateY(0);
    }

    .main-nav.open li:nth-child(1) { transition-delay: 0.1s; }
    .main-nav.open li:nth-child(2) { transition-delay: 0.15s; }
    .main-nav.open li:nth-child(3) { transition-delay: 0.2s; }
    .main-nav.open li:nth-child(4) { transition-delay: 0.25s; }
    .main-nav.open li:nth-child(5) { transition-delay: 0.3s; }

    .main-nav a {
        display: block;
        padding: 16px 24px;
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--sand-800);
    }

    .main-nav a::after {
        display: none;
    }

    .btn-header {
        margin-top: 16px;
        opacity: 0;
        transform: translateY(12px);
        transition: all 0.3s ease 0.35s;
    }

    .main-nav.open .btn-header {
        opacity: 1;
        transform: translateY(0);
    }

    body.nav-open {
        overflow: hidden;
    }
}

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

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .step-connector {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .hero .container {
        padding-top: 100px;
        padding-bottom: 60px;
    }

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

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

    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }

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

    .why-us-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-us-image {
        order: -1;
    }

    .about-image {
        order: -1;
    }

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

    .about-stats {
        gap: 24px;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

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

    .cta-banner {
        padding: 72px 0;
    }

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

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

    .image-accent {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .service-card {
        padding: 28px 24px;
    }

    .service-features {
        grid-template-columns: 1fr;
    }
}
