/* BookAVendor - Laravel App Stylesheet */
:root {
    --primary-blue: #2B3A67;
    --primary-dark: #1e2a4a;
    --accent-orange: #D4653B;
    --accent-orange-light: #e87a4f;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-section: #f0f4f8;
    --white: #ffffff;
    --border-light: #e9ecef;
    --success: #28a745;
    --star-gold: #ffc107;
    --gradient-1: linear-gradient(135deg, #667eea, #764ba2);
    --gradient-2: linear-gradient(135deg, #f093fb, #f5576c);
    --gradient-3: linear-gradient(135deg, #4facfe, #00f2fe);

    /* Premium system tokens — shared spacing/shadow/motion vocabulary the
       redesigned marketing sections below draw from, layered on top of the
       existing brand palette above rather than replacing it. */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --shadow-xs: 0 1px 2px rgba(20, 24, 40, 0.05);
    --shadow-sm: 0 4px 16px rgba(20, 24, 40, 0.06);
    --shadow-md: 0 12px 32px rgba(20, 24, 40, 0.08);
    --shadow-lg: 0 30px 70px rgba(20, 24, 40, 0.14);
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
    --section-pad: clamp(4.5rem, 9vw, 7.5rem);

    /* Same typeface stack as the admin panel's --font-sans
       (public/css/admin.css) — one brand voice across the product. */
    --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
/* Geist ships noticeably tighter than Inter at large display sizes — every
   heading already carries its own negative letter-spacing tuned for that,
   but numerals (stat counters, ratings) read best left at their natural
   spacing and tabular so digits don't jiggle mid count-up animation. */
.hero-title, .section-title, .about-stat-text h4, .about-panel-rating strong, .testimonial-stars, .step-number {
    font-variant-numeric: tabular-nums;
}

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

/* Shared editorial type system — every section label/headline/subtitle on
   the marketing pages draws from these three rules so the hierarchy reads
   the same everywhere instead of each section inventing its own scale. */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-blue);
}
.eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--accent-orange);
    border-radius: 2px;
    flex-shrink: 0;
}
.section-title {
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.15;
    color: var(--text-dark);
    text-wrap: balance;
}
.section-subtitle {
    font-size: 1.02rem;
    color: var(--text-muted);
    max-width: 560px;
}
.section-subtitle.left-align { text-align: left; }
.section-head { margin-bottom: 3.25rem; }
.section-head.text-center { max-width: 640px; margin-left: auto; margin-right: auto; }
.section-head .eyebrow { margin-bottom: 0.9rem; }
.section-head .section-title { margin-bottom: 0.9rem; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ===== Navbar ===== */
.navbar {
    padding: 1.1rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: box-shadow 0.35s var(--ease-premium), border-color 0.35s var(--ease-premium), padding 0.35s var(--ease-premium);
}
.navbar.is-scrolled {
    padding: 0.7rem 0;
    border-bottom-color: var(--border-light);
    box-shadow: 0 8px 24px rgba(20, 24, 40, 0.06);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.navbar-logo { height: 54px; width: auto; display: block; transition: height 0.35s var(--ease-premium); }
.navbar.is-scrolled .navbar-logo { height: 46px; }
@media (max-width: 575.98px) { .navbar-logo { height: 42px; } }
.navbar-center { display: flex; align-items: center; justify-content: center; flex: 1; }
.navbar-nav-inline { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0.3rem; background: rgba(43, 58, 103, 0.04); border-radius: 999px; }
.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    border-radius: 999px;
    transition: color 0.25s ease, background 0.25s ease;
    text-decoration: none;
}
.nav-link:hover { color: var(--primary-blue) !important; background: rgba(43, 58, 103, 0.07); }
.nav-link.active { color: var(--white) !important; background: var(--primary-blue); font-weight: 600; }
.navbar-actions { display: flex; align-items: center; gap: 0.6rem; }
.navbar-actions .store-badge { padding: 0.45rem 0.7rem; font-size: 0.76rem; }
.navbar-actions .store-badge i { font-size: 1rem; }
@media (max-width: 767.98px) { .navbar-actions .store-badge span { display: none; } }

/* Store badges — App Store / Google Play, reused anywhere a "download the
   app" CTA appears (navbar, how-it-works, footer) since there's no real
   store listing yet; --light for white/light sections, --dark for navy ones. */
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 10px;
    padding: 0.55rem 0.9rem;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.25s ease, transform 0.25s var(--ease-premium), box-shadow 0.25s ease, border-color 0.25s ease;
}
.store-badge i { font-size: 1.15rem; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge--light { background: var(--white); border: 1px solid var(--border-light); color: var(--text-dark); box-shadow: var(--shadow-xs); }
.store-badge--light:hover { border-color: var(--primary-blue); color: var(--primary-blue); box-shadow: var(--shadow-sm); }
.store-badge--dark { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--white); }
.store-badge--dark:hover { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.store-badges { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }

.navbar-toggler { border: none; box-shadow: none !important; padding: 0.5rem; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
    .navbar-center { display: none; }
    .navbar-center.show { display: block; }
    .navbar-collapse {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 1rem;
        right: 1rem;
        background: var(--white);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        padding: 0.75rem;
        border: 1px solid var(--border-light);
    }
    .navbar-nav-inline { flex-direction: column; align-items: stretch; background: none; padding: 0; gap: 0.15rem; }
    .navbar-nav-inline .nav-link { padding: 0.75rem 1rem !important; border-radius: 10px; }
    .navbar-nav-inline .nav-link.active { background: rgba(43, 58, 103, 0.08); color: var(--primary-blue) !important; }
    .navbar-mobile-cta { margin-top: 0.6rem; padding-top: 0.75rem; border-top: 1px solid var(--border-light); }
    .navbar-mobile-cta .store-badges { justify-content: center; }
    .navbar-mobile-cta .store-badge { flex: 1; justify-content: center; }
}

/* ===== Hero (full-bleed photo) ===== */
.hero-section.hero-photo {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: var(--primary-dark);
}
.hero-slides { position: absolute; inset: 0; pointer-events: none; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.2s var(--ease-premium);
    -webkit-user-select: none;
    -webkit-user-drag: none;
    user-select: none;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide.kb-animate { animation: hero-kenburns 5.6s ease-out forwards; }
@keyframes hero-kenburns {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: none; transform: none; }
    .hero-slide.kb-animate { animation: none; }
}
.hero-photo-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 14, 28, 0.96) 0%, rgba(10, 14, 28, 0.88) 45%, rgba(10, 14, 28, 0.55) 75%, rgba(10, 14, 28, 0.25) 100%),
        linear-gradient(0deg, rgba(10, 14, 28, 0.6) 0%, rgba(10, 14, 28, 0) 35%);
}
.hero-photo-container { position: relative; z-index: 2; padding: 10.5rem 0 5.5rem; }
.hero-photo-content { max-width: 620px; padding-left: clamp(0.5rem, 4vw, 3rem); }
.hero-photo .hero-eyebrow { margin-bottom: 1.25rem; }
.hero-photo .eyebrow { color: var(--white); border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); }
.hero-photo .eyebrow::before { background: var(--accent-orange); }

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin-bottom: 1.5rem;
}
.hero-photo .hero-title .line1,
.hero-photo .hero-title .line2 { color: var(--white); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45); }
.hero-photo .hero-title .line3 { color: var(--accent-orange-light); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45); }
.hero-typed-line { font-size: 1.3rem; font-weight: 600; color: var(--text-dark); margin-bottom: 1rem; }
.hero-photo .hero-typed-line { color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.hero-typed-word { display: inline-flex; align-items: baseline; color: var(--accent-orange); font-weight: 700; }
.hero-photo .hero-typed-word { color: var(--accent-orange-light); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.hero-typed-text { white-space: nowrap; display: inline-block; transition: opacity 0.28s ease, transform 0.28s ease; }
.hero-typed-article { display: inline-block; transition: opacity 0.28s ease, transform 0.28s ease; }
.hero-typed-text.is-swapping,
.hero-typed-article.is-swapping { opacity: 0; transform: translateY(4px); }
@media (prefers-reduced-motion: reduce) {
    .hero-typed-text, .hero-typed-article { transition: none; }
}

.hero-dots { display: flex; align-items: center; gap: 0.55rem; margin-top: 2.75rem; }
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.6); }
.hero-dot.is-active { background: var(--accent-orange-light); transform: scale(1.2); }

.hero-subtitle { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2.25rem; max-width: 460px; line-height: 1.65; }
.hero-photo .hero-subtitle { color: rgba(255, 255, 255, 0.9); max-width: 500px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55); }
.hero-buttons { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.btn-hero-primary {
    background: var(--accent-orange);
    color: var(--white);
    border-radius: 999px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 0.98rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: background 0.25s ease, transform 0.25s var(--ease-premium), box-shadow 0.25s var(--ease-premium);
    text-decoration: none;
}
.btn-hero-primary:hover { background: var(--accent-orange-light); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(212, 101, 59, 0.35); color: var(--white); }
.btn-hero-primary i { transition: transform 0.25s var(--ease-premium); }
.btn-hero-primary:hover i { transform: translateX(3px); }
.btn-hero-outline {
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 0.98rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    text-decoration: none;
}
.btn-hero-outline:hover { border-color: var(--primary-blue); color: var(--primary-blue); box-shadow: var(--shadow-sm); }
.btn-hero-outline--light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
}
.btn-hero-outline--light:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); color: var(--white); box-shadow: none; }

/* ===== Stats + Marquee Band ===== */
.statsband-section { background: var(--primary-dark); overflow: hidden; padding: 3rem 0; }
.statsband-marquee { overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); margin-bottom: 2.25rem; }
.statsband-track { display: inline-flex; align-items: center; gap: 0.75rem; animation: statsband-scroll 32s linear infinite; }
.statsband-word { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.statsband-dot { color: var(--accent-orange-light); font-size: 0.7rem; }
@keyframes statsband-scroll { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }
@media (prefers-reduced-motion: reduce) { .statsband-track { animation: none; } .statsband-marquee { overflow-x: auto; } }
.statsband-container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.statsband-numbers { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.statsband-stat { display: flex; flex-direction: column; }
.statsband-value { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--white); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.statsband-label { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); margin-top: 0.15rem; }
.statsband-divider { width: 1px; height: 36px; background: rgba(255, 255, 255, 0.15); }
.statsband-actions { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; }
@media (max-width: 767.98px) {
    .statsband-container { flex-direction: column; align-items: flex-start; }
    .statsband-divider { display: none; }
    .statsband-numbers { gap: 1.5rem 2rem; }
}

/* ===== Persona ===== */
.persona-section { padding: var(--section-pad) 0; background: var(--white); }
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.persona-card {
    display: block;
    background: var(--bg-section);
    border-radius: var(--radius-md);
    padding: 2.25rem 2rem;
    text-decoration: none;
    transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium), background 0.35s var(--ease-premium);
}
.persona-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--white); }
.persona-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--white);
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.4rem;
    box-shadow: var(--shadow-xs);
}
.persona-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.6rem; }
.persona-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.4rem; }
.persona-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; font-weight: 700; color: var(--primary-blue); }
.persona-link i { transition: transform 0.25s var(--ease-premium); }
.persona-card:hover .persona-link i { transform: translateX(3px); }
@media (max-width: 991.98px) { .persona-grid { grid-template-columns: 1fr; } }

/* ===== Why BookAVendor ===== */
.why-section { padding: var(--section-pad) 0; background: var(--bg-section); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.why-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-xs);
    transition: transform 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.25rem; }
.why-icon.verified { background: #e8f5e9; color: var(--success); }
.why-icon.secure { background: #e3f2fd; color: #1976d2; }
.why-icon.satisfaction { background: #fff3e0; color: var(--accent-orange); }
.why-icon.coverage { background: #ede7f6; color: #5e35b1; }
.why-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
.why-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
@media (max-width: 991.98px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .why-grid { grid-template-columns: 1fr; } }

/* ===== For Vendors ===== */
.vendor-section { padding: var(--section-pad) 0; background: var(--white); }
.vendor-panel {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: clamp(2.5rem, 5vw, 4.5rem);
    display: grid;
    grid-template-columns: 1fr 0.85fr 0.7fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
}
.vendor-mock { display: flex; flex-direction: column; gap: 1.25rem; }
.vendor-mock-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 1.1rem 1.25rem;
}
.vendor-mock-card--notification { display: flex; align-items: center; gap: 0.85rem; }
.vendor-mock-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #fff3e0;
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.vendor-mock-card--notification strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-dark); }
.vendor-mock-card--notification span { display: block; font-size: 0.76rem; color: var(--text-muted); margin-top: 0.15rem; }
.vendor-mock-card--wallet { display: flex; flex-direction: column; gap: 0.3rem; margin-left: 1.5rem; }
.vendor-mock-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.vendor-mock-amount { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); font-variant-numeric: tabular-nums; }
.vendor-mock-sub { display: flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; font-weight: 600; color: var(--success); }
.vendor-copy .eyebrow { color: var(--white); border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); margin-bottom: 1rem; }
.vendor-copy .eyebrow::before { background: var(--accent-orange-light); }
.vendor-copy .section-title { color: var(--white); margin-bottom: 1rem; }
.vendor-subtitle { color: rgba(255, 255, 255, 0.78); font-size: 1.02rem; line-height: 1.65; margin-bottom: 2rem; max-width: 420px; }
.vendor-features { display: flex; flex-direction: column; gap: 1.5rem; }
.vendor-feature { display: flex; align-items: flex-start; gap: 1rem; }
.vendor-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--accent-orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.vendor-feature h4 { color: var(--white); font-size: 0.98rem; font-weight: 700; margin-bottom: 0.3rem; }
.vendor-feature p { color: rgba(255, 255, 255, 0.72); font-size: 0.88rem; line-height: 1.55; margin: 0; }
@media (max-width: 1199.98px) {
    .vendor-panel { grid-template-columns: 1fr 1fr; }
    .vendor-mock { grid-column: 1 / -1; flex-direction: row; justify-content: center; flex-wrap: wrap; }
    .vendor-mock-card { max-width: 280px; }
}
@media (max-width: 991.98px) {
    .vendor-panel { grid-template-columns: 1fr; }
    .vendor-copy { text-align: center; }
    .vendor-copy .eyebrow { justify-content: center; }
    .vendor-subtitle { margin-left: auto; margin-right: auto; }
    .vendor-mock { justify-content: center; }
}

/* ===== Final CTA ===== */
.final-cta-section { padding: var(--section-pad) 0; background: var(--bg-section); }

/* ===== About ===== */
.about-section { padding: var(--section-pad) 0; background: var(--white); }
.about-copy { max-width: 480px; }
.about-title { margin-bottom: 1.1rem; }
.about-text { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.02rem; line-height: 1.7; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1.5rem; margin-top: 2.5rem; }
.about-stat { }
.about-stat-icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1rem; margin-bottom: 0.75rem; }
.about-stat-icon.customers { background: #fce4ec; color: #c2185b; }
.about-stat-icon.providers { background: #e3f2fd; color: #1976d2; }
.about-stat-icon.services { background: #fff3e0; color: #e65100; }
.about-stat-icon.rating { background: #fff8e1; color: #b8860b; }
.about-stat-text h4 { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.015em; margin: 0; color: var(--text-dark); }
.about-stat-text p { font-size: 0.85rem; color: var(--text-muted); margin: 0.15rem 0 0; }

.about-panel { position: relative; border-radius: var(--radius-lg); padding: 2.75rem 2.25rem; background: linear-gradient(155deg, var(--primary-blue) 0%, #3c4f86 100%); color: var(--white); overflow: hidden; min-height: 400px; display: flex; flex-direction: column; justify-content: space-between; }
.about-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 85% 15%, rgba(255,255,255,0.12) 0, rgba(255,255,255,0) 55%), radial-gradient(circle at 10% 90%, rgba(212,101,59,0.25) 0, rgba(212,101,59,0) 55%);
    pointer-events: none;
}
.about-panel-badge { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; padding: 0.5rem 1rem; font-size: 0.8rem; font-weight: 600; }
.about-panel-quote { position: relative; font-size: 1.35rem; font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; }
.about-panel-rating { position: relative; display: flex; align-items: center; gap: 1rem; padding-top: 1.75rem; margin-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.18); }
.about-panel-rating .stars { color: var(--star-gold); font-size: 1.1rem; letter-spacing: 0.1rem; }
.about-panel-rating strong { display: block; font-size: 1.6rem; font-weight: 800; }
.about-panel-rating span { font-size: 0.78rem; opacity: 0.8; }

/* ===== How It Works ===== */
.how-section { padding: var(--section-pad) 0; background: var(--bg-section); position: relative; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; position: relative; }
.how-steps::before {
    content: '';
    position: absolute;
    top: 42px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border-light) 0 10px, transparent 10px 18px);
    z-index: 0;
}
.step-card { position: relative; z-index: 1; background: var(--white); border-radius: var(--radius-md); padding: 2.5rem 2rem 2rem; height: 100%; display: flex; flex-direction: column; align-items: flex-start; text-align: left; border: 1px solid var(--border-light); transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium), border-color 0.35s var(--ease-premium); }
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.step-number { font-size: 0.8rem; font-weight: 800; color: var(--primary-blue); letter-spacing: 0.05em; margin-bottom: 1.1rem; }
.step-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; font-size: 1.5rem; }
.step-icon.download { background: #fce4ec; color: #c2185b; }
.step-icon.signup { background: #e8f5e9; color: #388e3c; }
.step-icon.services { background: #fff3e0; color: #e65100; }
.step-card h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.92rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.how-cta { display: flex; justify-content: center; margin-top: 3rem; }
.btn-section {
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 999px;
    padding: 1rem 2.25rem;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: background 0.25s ease, transform 0.25s var(--ease-premium), box-shadow 0.25s var(--ease-premium);
    text-decoration: none;
}
.btn-section:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(43, 58, 103, 0.28); color: var(--white); }
.btn-section i { transition: transform 0.25s var(--ease-premium); }
.btn-section:hover i { transform: translateX(3px); }
.btn-section.btn-outline-section { background: var(--white); color: var(--primary-blue); border: 1px solid var(--border-light); }
.btn-section.btn-outline-section:hover { background: var(--white); border-color: var(--primary-blue); box-shadow: var(--shadow-sm); color: var(--primary-blue); }

/* ===== Services ===== */
.services-section { padding: var(--section-pad) 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    border: 1px solid var(--border-light);
    transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium), border-color 0.35s var(--ease-premium);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; color: inherit; }
.service-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; font-size: 1.7rem; transition: transform 0.35s var(--ease-premium); }
.service-card:hover .service-icon { transform: scale(1.06); }
.service-icon.home { background: #e3f2fd; color: #1976d2; }
.service-icon.beauty { background: #fce4ec; color: #c2185b; }
.service-icon.repair { background: #fff3e0; color: #e65100; }
.service-icon.events { background: #e8f5e9; color: #388e3c; }
.service-icon.catering { background: #f3e5f5; color: #7b1fa2; }
.service-icon.download { background: #e0f2f1; color: #00796b; }
.service-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.service-card p { font-size: 0.83rem; color: var(--text-muted); margin: 0 0 1.25rem; flex-grow: 1; }
.service-card-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--primary-blue); }
.service-card-arrow i { transition: transform 0.3s var(--ease-premium); }
.service-card:hover .service-card-arrow i { transform: translateX(4px); }
.services-cta { display: flex; justify-content: center; margin-top: 2.75rem; }

/* ===== Testimonials ===== */
.testimonials-section { padding: var(--section-pad) 0; background: var(--bg-section); }
.testimonials-header { margin-bottom: 2rem; }
.rating-badge { display: inline-flex; align-items: center; gap: 0.6rem; background: var(--white); border: 1px solid var(--border-light); border-radius: 999px; padding: 0.6rem 1.1rem; margin-top: 1.5rem; box-shadow: var(--shadow-xs); }
.rating-badge-stars { color: var(--star-gold); font-size: 0.85rem; letter-spacing: 0.05rem; }
.rating-badge strong { font-size: 1rem; font-weight: 800; color: var(--text-dark); }
.rating-badge-count { font-size: 0.82rem; color: var(--text-muted); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { background: var(--white); border-radius: var(--radius-md); padding: 2.25rem; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow-xs); border: 1px solid var(--border-light); transition: box-shadow 0.35s var(--ease-premium), transform 0.35s var(--ease-premium); }
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-card--featured { grid-column: span 1; background: var(--primary-blue); color: var(--white); border-color: transparent; }
.testimonial-card--featured .testimonial-text { color: rgba(255,255,255,0.92); font-size: 1.05rem; }
.testimonial-card--featured .testimonial-author-info p { color: rgba(255,255,255,0.7); }
.testimonial-card--featured .quote-icon { color: rgba(255,255,255,0.5); }
.quote-icon { color: var(--primary-blue); font-size: 1.9rem; margin-bottom: 1.1rem; opacity: 0.35; }
.testimonial-stars { color: var(--star-gold); margin-bottom: 1rem; font-size: 0.85rem; letter-spacing: 0.08rem; }
.testimonial-text { font-size: 0.93rem; color: var(--text-dark); margin-bottom: 1.5rem; line-height: 1.7; flex-grow: 1; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gradient-1); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 0.88rem; flex-shrink: 0; }
.testimonial-avatar.gradient-2 { background: var(--gradient-2); }
.testimonial-avatar.gradient-3 { background: var(--gradient-3); }
.testimonial-author-info h5 { font-size: 0.9rem; font-weight: 700; margin: 0; }
.testimonial-author-info p { font-size: 0.78rem; color: var(--text-muted); margin: 0; display: flex; align-items: center; gap: 0.3rem; }
.testimonial-author-info .verified-tick { color: var(--success); font-size: 0.85rem; }
.testimonials-empty { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; color: var(--text-muted); background: var(--white); border-radius: var(--radius-md); border: 1px dashed var(--border-light); }

/* ===== Contact ===== */
.contact-section { padding: var(--section-pad) 0; background: var(--white); }
.contact-info h4 { font-size: 0.9rem; color: var(--primary-blue); font-weight: 700; margin-bottom: 0.6rem; }
.contact-info h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.015em; margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2.25rem; max-width: 380px; line-height: 1.65; }
.contact-item { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.1rem; }
.contact-item-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; color: var(--primary-blue); font-size: 1.05rem; flex-shrink: 0; }
.contact-item-text { font-size: 0.92rem; color: var(--text-dark); font-weight: 500; }
.contact-form-wrap { background: var(--bg-light); border-radius: var(--radius-lg); padding: 2.5rem; border: 1px solid var(--border-light); }
.form-label { font-size: 0.82rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.4rem; display: block; }
.form-control { border-radius: var(--radius-sm); border: 1px solid var(--border-light); padding: 0.85rem 1rem; font-size: 0.9rem; background: var(--white); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.form-control:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 4px rgba(43, 58, 103, 0.1); }
.form-control.is-invalid { border-color: #dc3545; }
.form-control.is-invalid:focus { box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1); }
.form-feedback { font-size: 0.78rem; color: #dc3545; margin-top: 0.35rem; min-height: 1.1em; }
textarea.form-control { min-height: 130px; resize: vertical; }
.btn-submit { background: var(--primary-blue); color: var(--white); border-radius: 999px; padding: 0.95rem 2.1rem; font-weight: 600; border: none; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; transition: background 0.25s ease, transform 0.25s var(--ease-premium), box-shadow 0.25s var(--ease-premium); width: 100%; }
.btn-submit:hover:not(:disabled) { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(43, 58, 103, 0.28); color: var(--white); }
.btn-submit:disabled { opacity: 0.75; cursor: progress; }
.form-status { font-size: 0.85rem; margin-top: 0.9rem; border-radius: 10px; padding: 0.7rem 0.9rem; display: none; }
.form-status.is-success { display: block; background: #e8f5e9; color: #1e6b2f; }
.form-status.is-error { display: block; background: #fdecea; color: #b3261e; }
.contact-support-card { background: var(--white); border-radius: var(--radius-md); padding: 2rem; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); height: 100%; display: flex; flex-direction: column; justify-content: center; }
.support-icon { width: 76px; height: 76px; background: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.1rem; color: var(--primary-blue); font-size: 1.9rem; }
.support-text { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }

/* ===== Footer ===== */
.footer { background: var(--primary-blue); color: var(--white); padding: 4.5rem 0 2rem; position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; top: -140px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%); border-radius: 50%; pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 2.5rem; position: relative; }
.footer-brand { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 0.85rem; }
.footer-tagline { opacity: 0.72; font-size: 0.88rem; line-height: 1.65; max-width: 280px; margin-bottom: 1.5rem; }
.footer .store-badges { margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--white); text-decoration: none; transition: background 0.25s ease, transform 0.25s var(--ease-premium); }
.footer-social a:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.footer-heading { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; margin-bottom: 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { color: rgba(255,255,255,0.82); text-decoration: none; font-size: 0.9rem; transition: opacity 0.2s ease; }
.footer-links a:hover { opacity: 0.7; text-decoration: underline; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.87rem; color: rgba(255,255,255,0.82); margin-bottom: 0.85rem; }
.footer-contact-item i { margin-top: 0.15rem; opacity: 0.75; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; margin-top: 3.25rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.14); position: relative; }
.footer-copy { opacity: 0.6; font-size: 0.83rem; margin: 0; }
.footer-legal-links { opacity: 0.7; font-size: 0.83rem; margin: 0; display: flex; gap: 1.25rem; }
.footer-legal-links a { color: inherit; text-decoration: none; }
.footer-legal-links a:hover { text-decoration: underline; }

/* ===== Scroll-reveal (JS toggles .is-visible; CSS defines the transition) ===== */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-premium), transform 0.7s var(--ease-premium); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ===== Hero entrance (JS adds .is-visible on load, staggered by the
   data-hero-in index; separate from [data-reveal] above since the hero is
   already in the first viewport — it animates in on page load, not on
   scroll-into-view). data-hero-in-variant="scale" gets a gentler
   scale+fade instead of the default slide-up, for the phone mockup. ===== */
[data-hero-in] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-premium), transform 0.7s var(--ease-premium); }
[data-hero-in][data-hero-in-variant="scale"] { transform: translateY(0) scale(0.96); }
[data-hero-in].is-visible { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
    [data-hero-in] { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1199.98px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-grid .footer-col--contact { grid-column: 1 / -1; }
}
@media (max-width: 991.98px) {
    .hero-photo-container { padding: 8.5rem 0 4.5rem; }
    .hero-section.hero-photo { min-height: unset; }
    .about-copy { max-width: none; margin-bottom: 3rem; }
    .about-text { max-width: none; }
    .how-steps { grid-template-columns: 1fr; gap: 1.25rem; }
    .how-steps::before { display: none; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-header { margin-bottom: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.25rem; }
    .footer-col--brand { grid-column: 1 / -1; }
    .contact-support-card { margin-top: 1.5rem; }
}
@media (max-width: 767.98px) {
    .hero-title { letter-spacing: -0.015em; }
    .hero-buttons { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .contact-form-wrap { padding: 1.75rem; }
}
@media (max-width: 575.98px) {
    .hero-photo-container { padding-top: 7.5rem; }
    .about-stats { gap: 1.5rem 1rem; }
}

/* All services page */
.services-hero-section {
    padding: 140px 0 4rem;
    background: linear-gradient(135deg, #fafbfc 0%, #f0f4f8 100%);
    text-align: center;
}

.services-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.services-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.all-services-section {
    padding: 4rem 0;
    background: var(--white);
}

.service-category-block {
    margin-bottom: 4rem;
}

.service-category-block:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.category-icon.home {
    background: #e3f2fd;
    color: #1976d2;
}

.category-icon.beauty {
    background: #fce4ec;
    color: #c2185b;
}

.category-icon.repair {
    background: #fff3e0;
    color: #e65100;
}

.category-icon.events {
    background: #e8f5e9;
    color: #388e3c;
}

.category-icon.catering {
    background: #f3e5f5;
    color: #7b1fa2;
}

.category-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
}
.category-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0.25rem 0 0;
}
.service-detail-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}
.service-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: transparent;
}
.service-detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}
.service-detail-content {
    flex: 1;
}
.service-detail-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: var(--text-dark);
}
.providers-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.providers-count i {
    color: var(--primary-blue);
}
.service-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.service-arrow:hover {
    background: var(--primary-blue);
    color: var(--white);
}
.services-cta-section {
    padding: 4rem 0;
    background: var(--bg-section);
}
.cta-card {
    background: linear-gradient(135deg, var(--primary-blue), #4a5d8a);
    border-radius: 24px;
    padding: 3rem;
    color: var(--white);
}
.cta-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.cta-card p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}
.btn-cta {
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 50px;
    padding: 0.9rem 2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: var(--primary-blue);
}
.final-cta-buttons { display: flex; align-items: center; justify-content: flex-end; gap: 0.85rem; flex-wrap: wrap; }
.btn-cta--outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn-cta--outline:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); box-shadow: none; }
@media (max-width: 991.98px) { .final-cta-buttons { justify-content: center; } }
@media (max-width: 991px) {
    .services-hero-title { font-size: 2.2rem; }
    .cta-card { text-align: center; }
    .cta-card .text-lg-end { text-align: center !important; margin-top: 1.5rem; }
}
@media (max-width: 767px) {
    .services-hero-section { padding: 120px 0 3rem; }
    .services-hero-title { font-size: 1.8rem; }
    .category-header { flex-direction: column; text-align: center; }
    .cta-card { padding: 2rem; }
    .cta-card h2 { font-size: 1.4rem; }
}

/* Legal pages (Terms & Conditions, Privacy Policy) */
.legal-hero-section {
    padding: 140px 0 3rem;
    background: linear-gradient(135deg, #fafbfc 0%, #f0f4f8 100%);
    text-align: center;
}
.legal-hero-title { font-size: 2.4rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.5rem; }
.legal-hero-subtitle { font-size: 0.95rem; color: var(--text-muted); }

.legal-section { padding: 3rem 0 5rem; }
.legal-content h2 { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); margin-top: 2.25rem; margin-bottom: 0.75rem; }
.legal-content h3 { font-size: 1.05rem; font-weight: 600; color: var(--text-dark); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-content p, .legal-content li { color: var(--text-muted); font-size: 0.98rem; line-height: 1.75; }
.legal-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.5rem; }
.legal-content a { color: var(--primary-blue); }
.legal-content strong { color: var(--text-dark); }

.legal-notice {
    background: #fff8e6;
    border: 1px solid #f0d896;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: #6b5416;
    margin-bottom: 2rem;
}
.legal-notice code { background: rgba(0,0,0,0.06); padding: 0.1rem 0.35rem; border-radius: 4px; }

.placeholder-flag { color: #b8860b; font-weight: 600; }

@media (max-width: 767px) {
    .legal-hero-title { font-size: 1.9rem; }
}

/* ===== Public support chat widget ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Sits above the fixed navbar (Bootstrap gives that z-index 1030) so an
   open panel is never clipped by it while scrolled to the top. */
.support-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
    font-family: var(--font-sans);
}
.support-launcher {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: none;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(20, 24, 40, 0.28);
    transition: transform 0.25s var(--ease-premium), background 0.25s ease;
}
.support-launcher:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* min() rather than a fixed width so the panel can never be wider than the
   screen it's on — a fixed-position element that overflows is exactly how
   you get a horizontally scrolling page on mobile. */
.support-panel {
    width: min(370px, calc(100vw - 40px));
    max-height: min(560px, calc(100vh - 140px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: 0 24px 60px rgba(20, 24, 40, 0.22);
    animation: support-panel-in 0.25s var(--ease-premium);
}
@keyframes support-panel-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .support-panel { animation: none; }
    .support-launcher { transition: none; }
}

.support-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: var(--primary-blue);
    color: var(--white);
}
.support-panel-head-text strong { display: block; font-size: 0.95rem; font-weight: 700; }
.support-panel-head-text span { display: block; font-size: 0.78rem; opacity: 0.75; margin-top: 0.15rem; }
.support-icon-btn {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}
.support-icon-btn:hover { background: rgba(255, 255, 255, 0.26); }

.support-error {
    margin: 0;
    padding: 0.7rem 1.25rem;
    background: #fdecea;
    color: #b3261e;
    font-size: 0.83rem;
}

.support-home { padding: 2rem 1.5rem; text-align: center; }
.support-home-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(43, 58, 103, 0.08);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.support-home h4 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
.support-home p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.5rem; }
.support-start-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    border-radius: 999px;
    padding: 0.8rem 1.6rem;
    background: var(--accent-orange);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.25s ease;
}
.support-start-btn:hover:not(:disabled) { background: var(--accent-orange-light); }
.support-start-btn:disabled { opacity: 0.7; cursor: progress; }

.support-mode-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    background: rgba(43, 58, 103, 0.06);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.78rem;
    color: var(--primary-blue);
    font-weight: 600;
}
.support-mode-bar span { display: inline-flex; align-items: center; gap: 0.35rem; }
.support-mode-bar button {
    border: none;
    background: none;
    padding: 0;
    color: var(--accent-orange);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    white-space: nowrap;
}
.support-mode-bar--waiting { background: #fff8e6; color: #8a6d1f; border-bottom-color: #f0d896; }
.support-mode-bar--waiting span { line-height: 1.4; }

.support-thread { flex: 1; overflow-y: auto; padding: 1.25rem; background: var(--bg-light); }
.support-messages { display: flex; flex-direction: column; gap: 0.75rem; }
.support-empty { font-size: 0.85rem; color: var(--text-muted); text-align: center; margin: 1.5rem 0; }
.support-bubble { max-width: 85%; border-radius: var(--radius-sm); padding: 0.7rem 0.9rem; }
.support-bubble p { margin: 0; font-size: 0.88rem; line-height: 1.5; overflow-wrap: anywhere; }
.support-bubble-who { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.6; margin-bottom: 0.25rem; }
.support-bubble--mine { align-self: flex-end; background: var(--primary-blue); color: var(--white); }
.support-bubble--them { align-self: flex-start; background: var(--white); color: var(--text-dark); border: 1px solid var(--border-light); }

.support-contact {
    margin-top: 1.25rem;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}
.support-contact p { font-size: 0.83rem; color: var(--text-dark); font-weight: 600; margin-bottom: 0.65rem; }
.support-contact input {
    width: 100%;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.support-contact input:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(43, 58, 103, 0.1); }
.support-contact-actions { display: flex; gap: 0.5rem; }
.support-send-btn {
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}
.support-skip-btn {
    border: none;
    background: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: underline;
}

.support-composer {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--border-light);
    background: var(--white);
}
.support-composer input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
}
.support-composer input:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(43, 58, 103, 0.1); }
.support-icon-btn--send { background: var(--accent-orange); }
.support-icon-btn--send:hover { background: var(--accent-orange-light); }
.support-field-error { color: #b3261e; font-size: 0.78rem; margin: 0.35rem 0 0; }
.support-field-error--composer { padding: 0 1rem 0.85rem; background: var(--white); }

/* Phones: the panel takes the screen rather than floating in a corner it
   can't comfortably fit into. Insets keep it clear of notches/home bars. */
@media (max-width: 480px) {
    .support-widget { right: 16px; bottom: 16px; left: 16px; align-items: flex-end; }
    .support-panel {
        width: 100%;
        max-height: calc(100vh - 120px);
        max-height: calc(100dvh - 120px);
    }
}
