/* ========================================
   LibertyX Bitcoin ATM — Stylesheet
   Classic & Elegant | Plum + Amber
   ======================================== */

/* --- Custom Properties --- */
:root {
    /* Plum palette */
    --plum-50: #faf5ff;
    --plum-100: #f3e8ff;
    --plum-200: #e9d5ff;
    --plum-300: #d8b4fe;
    --plum-400: #c084fc;
    --plum-500: #a855f7;
    --plum-600: #9333ea;
    --plum-700: #7e22ce;
    --plum-800: #6b21a8;
    --plum-900: #581c87;
    --plum-950: #3b0764;

    /* Amber palette */
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;

    /* Neutrals */
    --neutral-50: #FAFAF8;
    --neutral-100: #F5F5F0;
    --neutral-200: #E8E8E0;
    --neutral-300: #D4D4CC;
    --neutral-400: #A8A89E;
    --neutral-500: #737368;
    --neutral-600: #52524A;
    --neutral-700: #3A3A34;
    --neutral-800: #252520;
    --neutral-900: #141410;

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Segoe UI', system-ui, sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* 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;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--neutral-700);
    background-color: var(--neutral-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

ul, ol {
    list-style: none;
}

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

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--plum-800);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 16px;
}

/* --- Container --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--plum-700);
    margin-bottom: 16px;
}

.section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--amber-500);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--neutral-500);
    max-width: 600px;
    line-height: 1.8;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--amber-500);
    color: var(--neutral-900);
    border: 2px solid var(--amber-500);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--amber-600);
    border-color: var(--amber-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-light {
    background: #fff;
    color: var(--plum-800);
    border: 2px solid #fff;
}

.btn-light:hover,
.btn-light:focus-visible {
    background: var(--plum-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow var(--transition-base);
}

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

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

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

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--plum-700), var(--plum-900));
    color: #fff;
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    letter-spacing: 0.02em;
}

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

.logo-name {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--neutral-900);
}

.logo-tag {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber-700);
}

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

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-600);
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: var(--neutral-900);
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
    width: 100%;
}

.nav-cta {
    background: var(--plum-700);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: all var(--transition-base) !important;
}

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

.nav-cta:hover,
.nav-cta:focus-visible {
    background: var(--plum-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 33, 168, 0.3);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

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

.hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--neutral-700);
    border-radius: 2px;
    transition: all var(--transition-base);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--neutral-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger::before { top: 6px; }
.hamburger::after { bottom: 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 {
    bottom: 0;
    transform: rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--plum-900) 0%, var(--plum-800) 30%, #7c3aed 60%, var(--amber-700) 100%);
    padding-top: 76px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(147, 51, 234, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(217, 119, 6, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 10%, rgba(168, 85, 247, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-block: 80px;
}

.hero-content {
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--amber-200);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-headline {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
}

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

.hero-subheadline {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

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

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

.hero-stat {
    display: flex;
    flex-direction: column;
}

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

.stat-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-visual {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
}

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

.hero-accent-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--neutral-800);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    font-weight: 600;
}

.hero-accent-card svg {
    color: var(--plum-600);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

/* --- Services --- */
.services {
    padding: var(--section-padding) 0;
    background: var(--neutral-50);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    background: #fff;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--plum-600), var(--amber-500));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    border-color: transparent;
    box-shadow: 0 16px 48px rgba(88, 28, 135, 0.1);
    transform: translateY(-4px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--plum-50), var(--plum-100));
    border-radius: var(--radius-md);
    color: var(--plum-700);
    margin-bottom: 24px;
}

.service-title {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.service-description {
    font-size: 0.95rem;
    color: var(--neutral-500);
    line-height: 1.75;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--neutral-600);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--amber-400);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- How It Works --- */
.how-it-works {
    padding: var(--section-padding) 0;
    background: #fff;
}

.hiw-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hiw-content .section-subtitle {
    margin-bottom: 48px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-bottom: 40px;
}

.step {
    display: flex;
    gap: 20px;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plum-200);
    line-height: 1;
    min-width: 48px;
    padding-top: 2px;
}

.step-body h3 {
    font-size: 1.125rem;
    margin-bottom: 6px;
}

.step-body p {
    font-size: 0.95rem;
    color: var(--neutral-500);
    line-height: 1.75;
}

.hiw-visual {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(88, 28, 135, 0.12);
}

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

/* --- About --- */
.about {
    padding: var(--section-padding) 0;
    background: var(--neutral-100);
}

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

.about-visual {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
}

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

.about-image-accent {
    position: absolute;
    bottom: -32px;
    right: -24px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--neutral-100);
}

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

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

.about-text {
    font-size: 1rem;
    color: var(--neutral-500);
    line-height: 1.85;
    margin-bottom: 16px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-700);
    line-height: 1.5;
}

.value-item svg {
    color: var(--amber-500);
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--plum-900) 0%, var(--plum-800) 50%, var(--plum-700) 100%);
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 70% 50% at 80% 50%, rgba(217, 119, 6, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 10% 50%, rgba(147, 51, 234, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 36px;
}

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

/* --- Location --- */
.location {
    padding: var(--section-padding) 0;
    background: #fff;
}

.location-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.location-info .section-subtitle {
    margin-bottom: 32px;
}

.location-description {
    font-size: 1rem;
    color: var(--neutral-500);
    line-height: 1.8;
    margin-bottom: 32px;
}

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

.location-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.location-detail svg {
    color: var(--plum-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.location-detail strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--neutral-900);
    margin-bottom: 2px;
}

.location-detail span,
.location-detail a {
    font-size: 0.95rem;
    color: var(--neutral-500);
    line-height: 1.6;
}

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

.location-map {
    margin-top: 8px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--plum-700);
    padding: 10px 20px;
    border: 1px solid var(--plum-200);
    border-radius: 50px;
    transition: all var(--transition-base);
}

.map-link:hover {
    background: var(--plum-50);
    border-color: var(--plum-400);
    transform: translateY(-1px);
}

.location-map-embed iframe {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* --- Footer --- */
.site-footer {
    background: var(--neutral-900);
    color: rgba(255, 255, 255, 0.6);
    padding: 72px 0 0;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-name {
    color: #fff;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 300px;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-nav ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    color: var(--amber-400);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.5;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.6;
}

/* --- Mobile menu overlay --- */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.nav-overlay.active {
    opacity: 1;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hiw-layout,
    .about-layout,
    .location-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hiw-visual {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
    }

    .about-image-accent {
        right: 0;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--neutral-50);
        flex-direction: column;
        align-items: stretch;
        padding: 32px 24px;
        gap: 0;
        transform: translateX(100%);
        transition: transform var(--transition-base);
        overflow-y: auto;
        z-index: 999;
    }

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

    .nav-menu li {
        border-bottom: 1px solid var(--neutral-200);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
    }

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

    .nav-cta {
        text-align: center;
        margin-top: 16px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

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

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

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 4px;
    }

    .location-map-embed iframe {
        height: 300px;
    }
}

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

    .hero {
        padding-top: 76px;
    }

    .hero-image-frame {
        border-radius: var(--radius-lg);
    }

    .hero-accent-card {
        left: 12px;
        bottom: -12px;
        padding: 10px 14px;
        font-size: 13px;
    }

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

    .btn {
        padding: 12px 22px;
        font-size: 14px;
    }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}
