/* ============================================================
   CZ Spoeddienst — Design System
   Syne + Outfit — Bold Redesign
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
    /* Core palette */
    --ink:           #050c1a;
    --ink-light:     #0d1e3a;
    --signal:        #e8381a;
    --signal-hover:  #cc2e12;
    --blue:          #1e40af;
    --blue-light:    #3b82f6;
    --gold:          #f59e0b;
    --white:         #ffffff;
    --surface:       #f8fafc;
    --surface-2:     #f1f5f9;
    --muted:         #64748b;
    --border:        #e2e8f0;
    --text-dark:     #0f172a;
    --text-body:     #334155;

    /* Spacing scale */
    --space-xs:  4px;
    --space-sm:  8px;
    --space-md:  16px;
    --space-lg:  24px;
    --space-xl:  40px;
    --space-2xl: 64px;
    --space-3xl: 96px;

    /* Type scale */
    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.25rem;
    --text-2xl:  1.5rem;
    --text-3xl:  1.875rem;
    --text-4xl:  2.25rem;

    /* Border radius */
    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(5,12,26,0.07), 0 1px 2px rgba(5,12,26,0.04);
    --shadow-md:  0 4px 16px rgba(5,12,26,0.10), 0 2px 4px rgba(5,12,26,0.06);
    --shadow-lg:  0 12px 40px rgba(5,12,26,0.14), 0 4px 8px rgba(5,12,26,0.08);
    --shadow-xl:  0 24px 64px rgba(5,12,26,0.18);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Layout */
    --header-height: 72px;

    /* Backward-compatible aliases (used in subpage inline styles) */
    --gray-50:  var(--surface);
    --gray-100: var(--surface-2);
    --gray-500: var(--muted);
    --gray-700: var(--text-body);
    --orange:   var(--signal);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--white);
    -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;
    transition: color var(--transition-fast);
}

ul, ol { list-style: none; }

button { font-family: inherit; }

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
    font-family: 'Syne', sans-serif;
    line-height: 1.15;
    color: var(--text-dark);
}

h1 {
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ink);
}

h2 {
    font-weight: 700;
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h3 {
    font-weight: 700;
    font-size: 1.5rem;
}

h4 {
    font-weight: 700;
    font-size: 1.125rem;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--signal);
    display: block;
    margin-bottom: 0.5rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section--gray {
    background: var(--surface);
}

.section--dark {
    background: var(--ink);
    color: white;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: white;
}

.section--dark p {
    color: rgba(255, 255, 255, 0.6);
}

.section--sm {
    padding: 48px 0;
}

.section-header {
    margin-bottom: 56px;
}

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

/* ============================================================
   5. EMERGENCY BANNER
   ============================================================ */
.emergency-banner {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    padding: 10px 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
}

.emergency-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.emergency-banner__dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

.emergency-banner__cta {
    color: var(--signal);
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(232, 56, 26, 0.3);
    padding: 3px 12px;
    border-radius: 4px;
    transition: background var(--transition-fast);
    white-space: nowrap;
}

.emergency-banner__cta:hover {
    background: rgba(232, 56, 26, 0.15);
}

@media (max-width: 640px) {
    .emergency-banner__text { display: none; }
    .emergency-banner__inner { justify-content: center; }
    .emergency-banner__cta { font-size: 0.85rem; padding: 6px 16px; }
}

/* ============================================================
   6. HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 2px 20px rgba(5, 12, 26, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    width: 100%;
}

.header-logo img {
    height: 48px;
    width: auto;
    display: block;
}

.main-nav {
    margin-left: auto;
}

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

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover {
    color: var(--signal);
    background: rgba(232, 56, 26, 0.06);
}

.nav-link.active {
    color: var(--signal);
    font-weight: 600;
}

.header-cta {
    margin-left: 16px;
}

.header-phone-btn {
    white-space: nowrap;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    flex-direction: column;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: transform var(--transition-base), opacity var(--transition-base);
    border-radius: 2px;
}

.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 1024px) {
    .hamburger { display: flex; }
    .header-cta { display: none; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: min(320px, 85vw);
        background: white;
        box-shadow: -8px 0 40px rgba(5, 12, 26, 0.15);
        transition: right var(--transition-slow);
        z-index: 200;
        padding: 80px 24px 40px;
        margin-left: 0;
        overflow-y: auto;
    }

    .main-nav.open { right: 0; }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 12px 16px;
        width: 100%;
    }
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 12, 26, 0.5);
    z-index: 150;
    backdrop-filter: blur(4px);
}

.nav-overlay.open { display: block; }

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    line-height: 1;
}

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

.btn-primary:hover {
    background: var(--signal-hover);
    border-color: var(--signal-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(232, 56, 26, 0.35);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--ink);
    background: var(--surface);
}

.btn-secondary-light {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: white;
}

.btn-phone {
    font-size: 1rem;
    padding: 16px 32px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* ============================================================
   8. HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height) - 40px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--ink);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center 40%;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(5, 12, 26, 0.97) 0%,
        rgba(5, 12, 26, 0.85) 45%,
        rgba(5, 12, 26, 0.4)  75%,
        rgba(5, 12, 26, 0.2)  100%
    );
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: center;
    padding: 80px 0;
    width: 100%;
}

.hero-content {
    max-width: 680px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 56, 26, 0.15);
    border: 1px solid rgba(232, 56, 26, 0.3);
    color: #ff7a5c;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 40px;
    margin-bottom: 24px;
}

.hero-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--signal);
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.hero h1 {
    color: white;
    margin-bottom: 20px;
    font-size: clamp(2.8rem, 5.5vw, 5rem);
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--signal) 0%, #ff8a70 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

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

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

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

/* Glass stat card */
.hero-glass-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.glass-stat {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-stat:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.glass-stat__num {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    min-width: 80px;
}

.glass-stat__num span {
    color: var(--signal);
}

.glass-stat__label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
}

.glass-stat__label strong {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero { min-height: auto; }
    .hero-inner { padding: 60px 0; }
    .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
    .hero-sub { font-size: 1.05rem; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { justify-content: center; }
}

/* ============================================================
   9. TRUST BAR
   ============================================================ */
.trust-bar {
    background: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.trust-bar__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 28px;
    border-right: 1px solid var(--border);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
}

.trust-item:last-child {
    border-right: none;
}

.trust-item__icon {
    width: 32px;
    height: 32px;
    background: rgba(232, 56, 26, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .trust-item { border-right: none; padding: 8px 20px; }
    .trust-bar__inner {
        gap: 0;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 0 8px;
    }
    .trust-bar__inner::-webkit-scrollbar { display: none; }
}

/* ============================================================
   10. PHOTO SERVICE CARDS
   ============================================================ */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 600ms ease;
}

.service-card:hover .service-card__bg {
    transform: scale(1.04);
}

.service-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(5, 12, 26, 0.92) 0%,
        rgba(5, 12, 26, 0.60) 50%,
        rgba(5, 12, 26, 0.10) 100%
    );
    transition: background var(--transition-base);
}

.service-card:hover .service-card__overlay {
    background: linear-gradient(to top,
        rgba(5, 12, 26, 0.97) 0%,
        rgba(5, 12, 26, 0.75) 60%,
        rgba(5, 12, 26, 0.20) 100%
    );
}

.service-card__body {
    position: relative;
    z-index: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-card__tag {
    display: inline-block;
    background: var(--signal);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    width: fit-content;
}

.service-card__title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: white;
    line-height: 1.2;
    margin: 0;
}

.service-card__desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 500ms ease, opacity 400ms ease;
    opacity: 0;
}

.service-card:hover .service-card__desc {
    max-height: 80px;
    opacity: 1;
}

.service-card__arrow {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--signal);
    font-size: 0.85rem;
    font-weight: 600;
    transition: gap var(--transition-base);
}

.service-card:hover .service-card__arrow {
    gap: 10px;
}

/* Background images per card */
.service-card--spoed .service-card__bg {
    background-image: url('https://images.unsplash.com/photo-1581244277943-fe4a9c777189?auto=format&fit=crop&w=800&q=75');
}

.service-card--ontstopping .service-card__bg {
    background-image: url('https://images.unsplash.com/photo-1585771724684-38269d6639fd?auto=format&fit=crop&w=800&q=75');
}

.service-card--lekdetectie .service-card__bg {
    background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=800&q=75');
}

.service-card--cv .service-card__bg {
    background-image: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&w=800&q=75');
}

@media (max-width: 768px) {
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 240px; }
    .service-card__desc { max-height: 60px; opacity: 1; }
}

/* ============================================================
   11. WHY US — BENEFITS SPLIT LAYOUT
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
}

.why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-item__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(232, 56, 26, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: background var(--transition-base), transform var(--transition-base);
}

.why-item:hover .why-item__icon {
    background: rgba(232, 56, 26, 0.15);
    transform: scale(1.05);
}

.why-item__content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-family: 'Outfit', sans-serif;
}

.why-item__content p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
}

/* Stats column */
.why-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
}

.why-stat-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.why-stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.why-stat-card:first-child {
    grid-column: 1 / -1;
}

.why-stat-card__num {
    font-family: 'Syne', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 8px;
}

.why-stat-card__num em {
    font-style: normal;
    color: var(--signal);
}

.why-stat-card__label {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.4;
}

.why-stat-card__label strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

@media (max-width: 1024px) {
    .why-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================================
   12. PROCESS STEPS
   ============================================================ */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 56px;
}

.steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5% + 16px);
    right: calc(12.5% + 16px);
    height: 2px;
    background: linear-gradient(90deg, var(--border) 0%, var(--signal) 50%, var(--border) 100%);
    z-index: 0;
}

.step {
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

.step__number {
    width: 56px;
    height: 56px;
    background: var(--signal);
    color: white;
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 6px white, 0 0 0 7px var(--border);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.step:hover .step__number {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px white, 0 0 0 8px var(--signal);
}

.step__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
}

.step__desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
    .steps::before { display: none; }
    .step__number { margin-bottom: 16px; }
}

@media (max-width: 480px) {
    .steps { grid-template-columns: 1fr; }
}

/* ============================================================
   13. TESTIMONIALS
   ============================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin-top: 56px;
}

.testimonial-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.testimonial-card::before {
    content: '\201C';
    font-family: 'Syne', sans-serif;
    font-size: 6rem;
    line-height: 1;
    color: rgba(232, 56, 26, 0.08);
    position: absolute;
    top: 8px;
    left: 24px;
    font-weight: 800;
    pointer-events: none;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ink);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-author__name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.testimonial-author__city {
    font-size: 0.8rem;
    color: var(--muted);
}

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

@media (max-width: 640px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   14. HIGHLIGHT BLOCK (insurance)
   ============================================================ */
.highlight-block {
    background: var(--ink);
    color: white;
    border-radius: 20px;
    padding: 48px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.highlight-block h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.highlight-block p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    margin: 0;
    max-width: 560px;
}

@media (max-width: 768px) {
    .highlight-block { flex-direction: column; padding: 36px 28px; }
    .highlight-block h3 { font-size: 1.2rem; }
}

/* ============================================================
   15. FAQ
   ============================================================ */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--signal);
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: border-color var(--transition-fast), transform var(--transition-base);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after  { width: 2px;  height: 10px; }

.faq-question[aria-expanded="true"] .faq-icon {
    border-color: var(--signal);
    transform: rotate(45deg);
}

.faq-question[aria-expanded="true"] .faq-icon::before,
.faq-question[aria-expanded="true"] .faq-icon::after {
    background: var(--signal);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 400ms ease;
}

.faq-answer.open {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 0 20px;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ============================================================
   16. CTA SECTION
   ============================================================ */
.cta-section {
    background: var(--ink);
    padding: 96px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 50%, rgba(232, 56, 26, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    color: white;
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .section-label {
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 16px;
}

.cta-separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 24px 0;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cta-secondary-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.cta-secondary-link:hover {
    color: white;
}

/* ============================================================
   17. MOBILE STICKY CTA BAR
   ============================================================ */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: white;
    border-top: 1px solid var(--border);
    padding: 12px 20px;
    box-shadow: 0 -4px 20px rgba(5, 12, 26, 0.12);
}

.mobile-cta-bar a {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 16px;
}

@media (max-width: 768px) {
    .mobile-cta-bar { display: block; }
    body { padding-bottom: 80px; }
}

@media (min-width: 769px) {
    body { padding-bottom: 0; }
}

/* ============================================================
   18. FOOTER
   ============================================================ */
.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.6);
    padding: 72px 0 0;
}

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

.footer-brand__logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-bottom: 16px;
    display: block;
}

.footer-brand__tagline {
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 240px;
}

.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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

.footer-col a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: white;
}

.footer-contact-item {
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}

.footer-contact-item a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   19. ANIMATIONS
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 100ms; }
.fade-up-delay-2 { transition-delay: 200ms; }
.fade-up-delay-3 { transition-delay: 300ms; }
.fade-up-delay-4 { transition-delay: 400ms; }

.count-up { transition: all 1.5s ease-out; }

/* ============================================================
   20. SERVICE PAGE COMPONENTS (inner pages)
   ============================================================ */
.page-hero {
    background: var(--ink);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-size: cover;
    background-position: center;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 12, 26, 0.95) 40%, rgba(5, 12, 26, 0.7) 100%);
}

.page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.page-hero h1 {
    color: white;
    margin-bottom: 16px;
}

.page-hero .lead {
    color: rgba(255, 255, 255, 0.7);
}

.page-hero__ctas {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Problem list */
.problem-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.problem-item__icon {
    width: 36px;
    height: 36px;
    background: rgba(232, 56, 26, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

/* ============================================================
   21. UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-muted  { color: var(--muted); }

.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }

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

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

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ============================================================
   22. SKIP LINK (Accessibility — WCAG 2.1 Level A)
   ============================================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 9999;
    background: var(--ink);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: top var(--transition-fast);
}

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

/* ============================================================
   23. MOBILE GLASS CARD (simplified for tablets/mobile)
   ============================================================ */
@media (max-width: 1024px) {
    .hero-glass-card {
        display: flex;
        flex-direction: row;
        gap: 0;
        padding: 0;
        background: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        margin-top: 32px;
        overflow: hidden;
    }
    .glass-stat {
        flex: 1;
        padding: 20px 16px;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        text-align: center;
        flex-direction: column;
        gap: 8px;
    }
    .glass-stat:last-child { border-right: none; }
    .glass-stat__num { font-size: 1.5rem; min-width: auto; }
    .glass-stat__label { font-size: 0.7rem; }
    .glass-stat__label strong { font-size: 0.78rem; }
}

@media (max-width: 480px) {
    .hero-glass-card { flex-direction: column; }
    .glass-stat {
        flex-direction: row;
        text-align: left;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 14px 20px;
        gap: 12px;
    }
    .glass-stat:last-child { border-bottom: none; }
    .glass-stat__num { min-width: 60px; font-size: 1.3rem; }
}

/* ============================================================
   24. CONTACT PAGE COMPONENTS
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info-list {
    list-style: none;
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-item__icon {
    width: 44px;
    height: 44px;
    background: rgba(232, 56, 26, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--signal);
}

.contact-info-item__label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 2px;
}

.contact-info-item__value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.contact-info-item__value a {
    color: var(--text-dark);
    text-decoration: none;
}

.contact-info-item__value a:hover {
    color: var(--signal);
}

.emergency-callout {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: rgba(232, 56, 26, 0.04);
    border: 1px solid rgba(232, 56, 26, 0.15);
    border-radius: var(--radius-md);
}

.emergency-callout h4 {
    margin-bottom: var(--space-sm);
}

/* Form styles */
.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--signal);
    box-shadow: 0 0 0 3px rgba(232, 56, 26, 0.12);
}

.form-control.error {
    border-color: #ef4444;
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%2364748b' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.form-error {
    display: block;
    font-size: 0.8rem;
    color: #ef4444;
    margin-top: 4px;
    min-height: 1.2em;
}

.form-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================================
   25. ACCESSIBLE STAR RATINGS (SVG-based)
   ============================================================ */
.star-rating {
    display: inline-flex;
    gap: 2px;
}

.star-rating svg {
    width: 18px;
    height: 18px;
    fill: var(--gold);
}
