/* ============================================
   Custom Country Crafts — Styles
   Plum + Amber | Confident Corporate
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Plum palette */
    --plum-50:  #faf5f7;
    --plum-100: #f3e8ed;
    --plum-200: #e8cdd7;
    --plum-300: #d4a3b8;
    --plum-400: #c07a96;
    --plum-500: #a85577;
    --plum-600: #8a3d5e;
    --plum-700: #6b2d47;
    --plum-800: #4a235a;
    --plum-900: #331840;
    --plum-950: #1e0e27;

    /* Amber palette */
    --amber-50:  #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #f0a500;
    --amber-500: #d97706;
    --amber-600: #b45309;
    --amber-700: #92400e;

    /* Neutrals */
    --neutral-0:   #ffffff;
    --neutral-50:  #f8f7f5;
    --neutral-100: #f0eeeb;
    --neutral-200: #e2dfd9;
    --neutral-300: #c8c3ba;
    --neutral-400: #a8a094;
    --neutral-500: #7a7167;
    --neutral-600: #5c544b;
    --neutral-700: #3d3730;
    --neutral-800: #25201b;
    --neutral-900: #13100d;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;

    /* Spacing */
    --space-xs:  0.5rem;
    --space-sm:  0.75rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --container-max: 1200px;
    --header-height: 72px;
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  16px;
    --radius-xl:  24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--neutral-800);
    background-color: var(--neutral-0);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

button { font: inherit; cursor: pointer; border: none; background: none; }

ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--neutral-900);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--neutral-600); }

/* ---------- Eyebrow / Section headers ---------- */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-lg);
    color: var(--neutral-900);
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-sm  { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-lg  { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
    background: var(--plum-700);
    color: var(--neutral-0);
    border: 2px solid var(--plum-700);
}
.btn-primary:hover {
    background: var(--plum-800);
    border-color: var(--plum-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 35, 90, 0.3);
}

.btn-amber {
    background: var(--amber-400);
    color: var(--neutral-900);
    border: 2px solid var(--amber-400);
}
.btn-amber:hover {
    background: var(--amber-500);
    border-color: var(--amber-500);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: var(--neutral-0);
    border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--neutral-0);
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-200);
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--plum-800);
    line-height: 1.2;
}

.logo-mark {
    color: var(--plum-800);
    flex-shrink: 0;
}

.logo-text { white-space: nowrap; }

.logo.logo-light { color: var(--neutral-0); }
.logo.logo-light .logo-mark { color: var(--neutral-0); }

/* Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

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

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

.main-nav a:hover { color: var(--plum-700); }
.main-nav a:hover::after { width: 100%; }

/* Nav toggle */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.nav-toggle:hover { background: var(--neutral-100); }

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--neutral-700);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger { position: relative; }
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}
.hamburger::before { top: -6px; }
.hamburger::after  { top: 6px; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-height);
    background: var(--plum-950);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    position: relative;
    z-index: 1;
}

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

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-400);
    margin-bottom: var(--space-lg);
}

.hero-headline {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: var(--neutral-0);
    line-height: 1.1;
    margin-bottom: var(--space-xl);
}

.hero-headline em {
    font-style: italic;
    color: var(--amber-300);
}

.hero-accent {
    display: block;
    font-family: var(--font-display);
    font-size: 0.6em;
    font-weight: 400;
    font-style: italic;
    color: var(--plum-300);
    margin-top: var(--space-sm);
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--plum-200);
    line-height: 1.75;
    margin-bottom: var(--space-2xl);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--amber-400);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--plum-300);
    margin-top: var(--space-xs);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--plum-700);
    flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
}

.hero-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

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

.hero-img-accent {
    position: absolute;
    bottom: -30px;
    left: -40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid var(--plum-950);
}

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

.accent-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(30, 14, 39, 0.85);
    backdrop-filter: blur(4px);
    color: var(--amber-300);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

/* Hero pattern overlay */
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(168, 85, 119, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(240, 165, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* ---------- Services ---------- */
.services {
    padding: var(--space-4xl) 0;
    background: var(--neutral-0);
}

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

.service-card {
    padding: var(--space-2xl);
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.service-card:hover {
    border-color: var(--plum-300);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(74, 35, 90, 0.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-100);
    border-radius: var(--radius-md);
    color: var(--plum-700);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--plum-700);
    color: var(--neutral-0);
}

.service-card h3 {
    margin-bottom: var(--space-sm);
    font-family: var(--font-display);
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ---------- About ---------- */
.about {
    padding: var(--space-4xl) 0;
    background: var(--neutral-50);
}

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

.about-visual {
    position: relative;
}

.about-img-primary {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -24px;
    right: -24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--neutral-50);
    width: 55%;
}

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

.about-experience {
    position: absolute;
    top: -20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--plum-800);
    color: var(--neutral-0);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(74, 35, 90, 0.3);
}

.about-exp-number {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--amber-400);
    line-height: 1;
}

.about-exp-text {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--plum-200);
}

.about-content .section-title { margin-bottom: var(--space-lg); }

.about-content > p {
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.about-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
}

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

/* ---------- Gallery ---------- */
.gallery {
    padding: var(--space-4xl) 0;
    background: var(--neutral-0);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-lg);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 14, 39, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
    color: var(--neutral-0);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
}

.gallery-item--wide {
    grid-column: span 7;
    aspect-ratio: 8/5;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(3) {
    grid-column: span 5;
    aspect-ratio: 4/5;
}

.gallery-item:nth-child(4),
.gallery-item:nth-child(5) {
    grid-column: span 5;
    aspect-ratio: 4/4;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--plum-900);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 90%, rgba(240, 165, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(168, 85, 119, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.testimonials .section-eyebrow { color: var(--amber-400); }
.testimonials .section-title  { color: var(--neutral-0); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--amber-400);
    opacity: 0.4;
    margin-bottom: var(--space-xs);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--plum-100);
    margin-bottom: var(--space-xl);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-700);
    border-radius: 50%;
    color: var(--amber-300);
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--neutral-0);
}

.author-location {
    display: block;
    font-size: 0.8125rem;
    color: var(--plum-300);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    padding: var(--space-4xl) 0;
    background: var(--amber-400);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.cta-text {
    font-size: 1.0625rem;
    color: var(--neutral-700);
    max-width: 520px;
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* ---------- Contact ---------- */
.contact {
    padding: var(--space-4xl) 0 var(--space-3xl);
    background: var(--neutral-0);
}

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

.contact-desc {
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: var(--space-2xl);
}

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

.contact-item {
    display: flex;
    gap: var(--space-lg);
}

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

.contact-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 2px;
}

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

.contact-item a {
    color: var(--plum-700);
    transition: color var(--transition-fast);
}

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

/* Form */
.contact-form-wrap {
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.form-title {
    font-size: 1.375rem;
    margin-bottom: var(--space-xl);
    color: var(--neutral-900);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--neutral-800);
    background: var(--neutral-0);
    border: 1.5px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--plum-500);
    box-shadow: 0 0 0 3px rgba(168, 85, 119, 0.15);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: var(--radius-sm);
    color: #166534;
    font-size: 0.9375rem;
    font-weight: 500;
}

.form-success svg { color: #16a34a; flex-shrink: 0; }

/* Map */
.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--plum-950);
    color: var(--plum-200);
    padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer-brand p {
    color: var(--plum-300);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: var(--space-md);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber-400);
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--plum-300);
    transition: color var(--transition-fast);
}

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

.footer-contact address {
    font-style: normal;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--plum-200);
    margin-bottom: var(--space-md);
}

.footer-contact p {
    font-size: 0.9375rem;
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    color: var(--plum-300);
    transition: color var(--transition-fast);
}

.footer-contact a:hover { color: var(--amber-300); }

.footer-bottom {
    border-top: 1px solid var(--plum-800);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--plum-400);
}

/* ---------- 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);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { max-width: 500px; margin: 0 auto; }
    .hero-img-accent { left: -10px; bottom: -20px; }

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

    .about-grid { grid-template-columns: 1fr; }
    .about-visual { max-width: 480px; margin: 0 auto; }

    .gallery-item--wide { grid-column: span 12; }
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3) { grid-column: span 6; }
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) { grid-column: span 6; }

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

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

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

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .container {
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }

    .nav-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--neutral-0);
        padding: var(--space-xl);
        gap: 0;
        transform: translateX(100%);
        transition: transform var(--transition-base);
        overflow-y: auto;
    }

    .main-nav.open { transform: translateX(0); }

    .main-nav a {
        padding: var(--space-md) 0;
        font-size: 1.125rem;
        border-bottom: 1px solid var(--neutral-200);
    }

    .main-nav a::after { display: none; }
    .main-nav .btn-amber {
        margin-top: var(--space-lg);
        justify-content: center;
        border: none;
    }

    .hero { min-height: auto; padding-top: calc(var(--header-height) + var(--space-2xl)); padding-bottom: var(--space-2xl); }
    .hero-grid { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
    .hero-img-accent { position: relative; bottom: auto; left: auto; margin-top: var(--space-md); }

    .hero-stats { flex-direction: column; gap: var(--space-md); }
    .stat-divider { display: none; }

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

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

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item--wide,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: span 1;
        aspect-ratio: 4/3;
    }

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

    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }

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

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-headline { font-size: 1.875rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
}
