/* City App about site (about.city-app.org) — on top of Bootstrap 5.3 (RTL/LTR + light/dark).
   Colors and type match FoodMenusApp.WebSite and the mobile app. */

:root,
[data-bs-theme="light"] {
    --ca-primary: #CD183D;
    --ca-primary-rgb: 205, 24, 61;
    --ca-primary-dark: #61011F;
    --ca-primary-hover: #B01434;
    --ca-accent: #FFB200;
    --ca-accent-hover: #F0A500;
    --ca-surface: #F6F5F5;
    --ca-surface-alt: #FFFFFF;
    --ca-card: #FFFFFF;
    --ca-text: #1D1B1B;
    --ca-muted: #6B6565;
    --ca-border: rgba(0, 0, 0, .08);
    --ca-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    --ca-shadow-lg: 0 18px 40px rgba(40, 0, 10, .12);
    --ca-radius: 20px;

    --bs-primary: var(--ca-primary);
    --bs-primary-rgb: var(--ca-primary-rgb);
    --bs-link-color: var(--ca-primary);
    --bs-link-color-rgb: var(--ca-primary-rgb);
    --bs-link-hover-color: var(--ca-primary-dark);
    --bs-body-bg: var(--ca-surface);
    --bs-body-color: var(--ca-text);
    --bs-body-font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

[data-bs-theme="dark"] {
    --ca-primary-dark: #610129;
    --ca-surface: #191717;
    --ca-surface-alt: #1F1C1C;
    --ca-card: #242121;
    --ca-text: #F3EFEF;
    --ca-muted: #ABA3A3;
    --ca-border: rgba(255, 255, 255, .08);
    --ca-shadow: 0 2px 10px rgba(0, 0, 0, .35);
    --ca-shadow-lg: 0 18px 40px rgba(0, 0, 0, .45);

    --bs-body-bg: var(--ca-surface);
    --bs-body-color: var(--ca-text);
    --bs-link-color: #FF5C7C;
    --bs-link-color-rgb: 255, 92, 124;
    --bs-link-hover-color: #FF8FA5;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    background: var(--bs-body-bg);
    color: var(--ca-text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3 { font-weight: 800; }

[dir="ltr"] .flip-ltr { transform: scaleX(-1); display: inline-block; }

.skip-link {
    position: absolute;
    inset-inline-start: 1rem;
    top: -60px;
    z-index: 100;
    background: #fff;
    color: var(--ca-primary);
    padding: .5rem 1rem;
    border-radius: 10px;
    font-weight: 700;
}
.skip-link:focus { top: .75rem; }

/* ── Buttons ──────────────────────────────────────────── */
.btn { font-weight: 700; border-radius: 12px; }
.btn-lg { border-radius: 14px; }

.btn-primary {
    --bs-btn-bg: var(--ca-primary);
    --bs-btn-border-color: var(--ca-primary);
    --bs-btn-hover-bg: var(--ca-primary-hover);
    --bs-btn-hover-border-color: var(--ca-primary-hover);
    --bs-btn-active-bg: var(--ca-primary-dark);
    --bs-btn-active-border-color: var(--ca-primary-dark);
    --bs-btn-disabled-bg: var(--ca-primary);
    --bs-btn-disabled-border-color: var(--ca-primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--ca-primary);
    --bs-btn-border-color: var(--ca-primary);
    --bs-btn-hover-bg: var(--ca-primary);
    --bs-btn-hover-border-color: var(--ca-primary);
    --bs-btn-active-bg: var(--ca-primary-dark);
    --bs-btn-active-border-color: var(--ca-primary-dark);
}
[data-bs-theme="dark"] .btn-outline-primary { --bs-btn-color: #FF5C7C; --bs-btn-border-color: #FF5C7C; }

.btn-accent {
    --bs-btn-bg: var(--ca-accent);
    --bs-btn-border-color: var(--ca-accent);
    --bs-btn-color: #2A1A00;
    --bs-btn-hover-bg: var(--ca-accent-hover);
    --bs-btn-hover-border-color: var(--ca-accent-hover);
    --bs-btn-hover-color: #2A1A00;
    --bs-btn-active-bg: #E09A00;
    --bs-btn-active-border-color: #E09A00;
    --bs-btn-active-color: #2A1A00;
}

/* ── Header: the red app bar ─────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--ca-primary);
    color: #fff;
    transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(var(--ca-primary-rgb), .3); }

.header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    flex: none;
}
.brand:hover { color: #fff; }
.brand img { border-radius: 11px; background: #fff; }

.main-nav {
    display: flex;
    align-items: center;
    gap: .15rem;
    margin-inline-start: auto;
}
.main-nav a {
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    padding: .45rem .7rem;
    border-radius: 10px;
    white-space: nowrap;
}
.main-nav a:hover, .main-nav a:focus-visible { color: #fff; background: rgba(255, 255, 255, .13); }
.main-nav .nav-web { display: none; }

.header-actions { display: flex; align-items: center; gap: .4rem; }

.hdr-btn {
    height: 38px;
    min-width: 38px;
    padding: 0 .6rem;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .3);
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
}
.hdr-btn:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.hdr-btn .bi { font-size: 1.05rem; }
.nav-toggle { display: none; }
.nav-toggle .bi { font-size: 1.5rem; }
.header-cta { white-space: nowrap; }

.theme-icon-light { display: none; }
[data-bs-theme="dark"] .theme-icon-light { display: inline; }
[data-bs-theme="dark"] .theme-icon-dark { display: none; }

@media (max-width: 1199.98px) {
    .header-cta { display: none; }
}

@media (max-width: 991.98px) {
    .nav-toggle { display: inline-grid; }
    .header-actions { margin-inline-start: auto; }
    .main-nav {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .5rem 1rem 1rem;
        background: var(--ca-primary);
        border-radius: 0 0 24px 24px;
        box-shadow: 0 12px 24px rgba(var(--ca-primary-rgb), .3);
        display: none;
    }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: .7rem .75rem; font-size: 1rem; }
    .main-nav .nav-web { display: block; margin-top: .25rem; border-top: 1px solid rgba(255, 255, 255, .18); border-radius: 0; padding-top: .85rem; }
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
    position: relative;
    color: #fff;
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 178, 0, .22), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(97, 1, 31, .55), transparent 55%),
        linear-gradient(180deg, var(--ca-primary) 0%, #B5122F 100%);
    border-radius: 0 0 48px 48px;
    padding: 2.5rem 0 0;
    overflow: hidden;
}
[data-bs-theme="dark"] .hero {
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 178, 0, .16), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(0, 0, 0, .45), transparent 55%),
        linear-gradient(180deg, #A9112F 0%, #6E0222 100%);
}
.hero::after {
    /* soft dotted texture */
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 2rem;
}

.hero-copy { padding-bottom: 3.5rem; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 700;
    font-size: .9rem;
    color: var(--ca-primary);
    background: rgba(var(--ca-primary-rgb), .09);
    padding: .3rem .85rem;
    border-radius: 999px;
    margin-bottom: .85rem;
}
[data-bs-theme="dark"] .eyebrow { color: #FF7A94; background: rgba(255, 92, 124, .12); }
.eyebrow-light, [data-bs-theme="dark"] .eyebrow-light { color: #fff; background: rgba(255, 255, 255, .15); }
.eyebrow-light .bi { color: var(--ca-accent); }

.hero-title {
    font-size: clamp(2.4rem, 5.4vw, 4.1rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -.01em;
}
.hero-title span { color: var(--ca-accent); display: block; }

.hero-body {
    font-size: 1.12rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, .9);
    max-width: 34rem;
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.6rem;
    display: grid;
    gap: .5rem;
}
.hero-points li { display: flex; gap: .55rem; align-items: center; font-weight: 600; }
.hero-points .bi { color: var(--ca-accent); }

.store-badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.store-badges a { display: inline-block; border-radius: 10px; transition: transform .15s; }
.store-badges a:hover { transform: translateY(-2px); }
.store-badges img { height: 46px; width: auto; display: block; }

.hero-web-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 1.1rem;
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .45);
    text-underline-offset: 5px;
}
.hero-web-link:hover { color: var(--ca-accent); }

.hero-chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: #fff;
    color: var(--ca-text);
    font-weight: 700;
    font-size: .88rem;
    padding: .55rem .9rem;
    border-radius: 14px;
    box-shadow: var(--ca-shadow-lg);
    white-space: nowrap;
    animation: float 5s ease-in-out infinite;
}
[data-bs-theme="dark"] .hero-chip { background: var(--ca-card); }
.hero-chip .bi { color: var(--ca-primary); }
.hero-chip-1 { top: -18px; inset-inline-end: -14px; }
.hero-chip-2 { bottom: -18px; inset-inline-start: -14px; animation-delay: -2.5s; }
.hero-chip-2 .bi { color: var(--ca-accent); }

/* Hero visual: the city's sections as tiles (no app screenshots, so it never goes out of date). */
.hero-visual {
    position: relative;
    width: min(420px, 100%);
    justify-self: center;
    margin-bottom: 3.5rem;
}
.city-card {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 28px;
    padding: 1.25rem;
    box-shadow: 0 30px 60px rgba(60, 0, 15, .35);
}
.city-card-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .25rem .25rem 1.1rem;
}
.city-card-head small { display: block; color: rgba(255, 255, 255, .75); font-size: .85rem; }
.city-card-head strong { font-size: 1.15rem; }
.city-card-pin {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--ca-accent);
    color: #2A1A00;
    font-size: 1.3rem;
    flex: none;
}
.city-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.city-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    padding: 1rem .5rem .85rem;
    border-radius: 18px;
    background: #fff;
    color: var(--ca-text);
    font-weight: 700;
    font-size: .92rem;
    text-align: center;
}
[data-bs-theme="dark"] .city-tile { background: var(--ca-card); }
.city-tile .bi {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.4rem;
}

@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 991.98px) {
    .hero { padding-top: 2rem; border-radius: 0 0 36px 36px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 0; }
    .hero-copy { padding-bottom: 1.5rem; }
    .hero-body { margin-inline: auto; }
    .hero-points { justify-items: center; }
    .store-badges { justify-content: center; }
    .hero-visual { margin: .5rem auto 3rem; }
}

@media (max-width: 575.98px) {
    .store-badges img { height: 40px; }
    .city-tiles { gap: .5rem; }
    .city-tile { font-size: .82rem; padding: .8rem .35rem .7rem; }
    .city-tile .bi { width: 42px; height: 42px; font-size: 1.2rem; }
    .hero-chip-1 { inset-inline-end: -6px; }
    .hero-chip-2 { inset-inline-start: -6px; }
    .hero-chip { font-size: .78rem; padding: .45rem .7rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-chip { animation: none; }
}

/* ── Sections ────────────────────────────────────────── */
.section { padding: 5.5rem 0; }
.section-tight { padding: 1rem 0; }
.section-alt { background: var(--ca-surface-alt); }
.container-narrow { max-width: 860px; }

.section-head { text-align: center; max-width: 44rem; margin: 0 auto 3rem; }
.section-head-start { text-align: start; margin-inline: 0; margin-bottom: 2rem; }
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.3; margin-bottom: .75rem; }
.section-lead { color: var(--ca-muted); font-size: 1.08rem; line-height: 1.85; margin: 0; }

@media (max-width: 767.98px) {
    .section { padding: 3.75rem 0; }
    .section-head { margin-bottom: 2rem; }
}

.card-grid { display: grid; gap: 1.25rem; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 991.98px) { .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767.98px) { .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; } }

/* Services */
.svc-card {
    background: var(--ca-card);
    border: 1px solid var(--ca-border);
    border-radius: var(--ca-radius);
    padding: 1.6rem;
    box-shadow: var(--ca-shadow);
    transition: transform .2s, box-shadow .2s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--ca-shadow-lg); }
.svc-card h3 { font-size: 1.2rem; margin: 1rem 0 .45rem; }
.svc-card p { color: var(--ca-muted); line-height: 1.8; margin: 0; }

.svc-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 1.6rem;
}
.tone-red { color: #CD183D; background: rgba(205, 24, 61, .1); }
.tone-green { color: #1B9A55; background: rgba(27, 154, 85, .11); }
.tone-blue { color: #1F6FD1; background: rgba(31, 111, 209, .1); }
.tone-pink { color: #D6337F; background: rgba(214, 51, 127, .1); }
.tone-amber { color: #C98700; background: rgba(255, 178, 0, .16); }
.tone-violet { color: #7442C8; background: rgba(116, 66, 200, .1); }
[data-bs-theme="dark"] .tone-red { color: #FF6B88; }
[data-bs-theme="dark"] .tone-green { color: #4CD98B; }
[data-bs-theme="dark"] .tone-blue { color: #6BA8FF; }
[data-bs-theme="dark"] .tone-pink { color: #FF79B6; }
[data-bs-theme="dark"] .tone-amber { color: #FFC23D; }
[data-bs-theme="dark"] .tone-violet { color: #B18CFF; }

/* Features */
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; }
@media (max-width: 991.98px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature h3 { font-size: 1.08rem; margin: .1rem 0 .35rem; }
.feature p { color: var(--ca-muted); line-height: 1.75; margin: 0; font-size: .97rem; }
.feature-icon {
    flex: none;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--ca-primary);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 8px 18px rgba(var(--ca-primary-rgb), .28);
}

@media (max-width: 575.98px) { .feature-list { grid-template-columns: 1fr; } }

/* Steps */
.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    counter-reset: none;
    position: relative;
}
.steps::before {
    content: "";
    position: absolute;
    top: 46px;
    inset-inline: 16%;
    border-top: 2px dashed rgba(var(--ca-primary-rgb), .3);
}
.step {
    position: relative;
    text-align: center;
    padding: 0 1rem;
}
.step-icon {
    position: relative;
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    background: var(--ca-card);
    border: 1px solid var(--ca-border);
    box-shadow: var(--ca-shadow-lg);
    color: var(--ca-primary);
    font-size: 2.1rem;
}
[data-bs-theme="dark"] .step-icon { color: #FF6B88; }
.step-num {
    position: absolute;
    top: 0;
    left: calc(50% + 22px);
    z-index: 1;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ca-accent);
    color: #2A1A00;
    font-weight: 800;
    font-size: .9rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--ca-muted); line-height: 1.8; margin: 0 auto; max-width: 18rem; }

@media (max-width: 767.98px) {
    .steps { grid-template-columns: 1fr; gap: 2rem; }
    .steps::before { display: none; }
}

/* Website band */
.web-band {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2.25rem;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 178, 0, .25), transparent 45%),
        linear-gradient(120deg, var(--ca-primary-dark), var(--ca-primary));
    box-shadow: var(--ca-shadow-lg);
}
.web-band-icon {
    flex: none;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, .14);
    font-size: 2rem;
}
.web-band-text { flex: 1; }
.web-band h2 { font-size: 1.5rem; margin-bottom: .3rem; }
.web-band p { margin: 0; color: rgba(255, 255, 255, .88); line-height: 1.8; }
.web-band-btn { color: var(--ca-primary); white-space: nowrap; }
.web-band-btn:hover { color: var(--ca-primary-dark); }

@media (max-width: 767.98px) {
    .web-band { flex-direction: column; text-align: center; padding: 1.75rem 1.25rem; }
}

/* Partners */
.partner-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--ca-card);
    border: 1px solid var(--ca-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--ca-shadow);
}
.partner-card h3 { font-size: 1.4rem; margin: 1rem 0 .5rem; }
.partner-card p { color: var(--ca-muted); line-height: 1.8; }
.partner-card .btn { margin-top: auto; }
.partner-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(var(--ca-primary-rgb), .1);
    color: var(--ca-primary);
    font-size: 1.75rem;
}
[data-bs-theme="dark"] .partner-icon { color: #FF6B88; }

.partner-card-featured {
    color: #fff;
    border: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 178, 0, .25), transparent 45%),
        linear-gradient(150deg, var(--ca-primary), var(--ca-primary-dark));
}
.partner-card-featured p { color: rgba(255, 255, 255, .88); }
.partner-card-featured .partner-icon { background: rgba(255, 255, 255, .15); color: var(--ca-accent); }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.check-list li { display: flex; gap: .55rem; font-weight: 600; }
.check-list li::before {
    font-family: "bootstrap-icons";
    content: "\f26a"; /* bi-check-circle-fill */
    color: var(--ca-primary);
}
.partner-card-featured .check-list li::before { color: var(--ca-accent); }
[data-bs-theme="dark"] .partner-card:not(.partner-card-featured) .check-list li::before { color: #FF6B88; }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details {
    background: var(--ca-card);
    border: 1px solid var(--ca-border);
    border-radius: 16px;
    box-shadow: var(--ca-shadow);
}
.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    font-weight: 700;
    font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    font-family: "bootstrap-icons";
    content: "\f64d"; /* bi-plus-lg */
    flex: none;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(var(--ca-primary-rgb), .1);
    color: var(--ca-primary);
    font-size: .85rem;
    transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ca-primary); color: #fff; }
.faq summary:focus-visible { outline: 2px solid var(--ca-primary); outline-offset: 2px; border-radius: 16px; }
.faq details p { padding: 0 1.35rem 1.2rem; margin: 0; color: var(--ca-muted); line-height: 1.9; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.contact-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.contact-points li { display: flex; align-items: center; gap: .8rem; font-weight: 600; }
.contact-points span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(var(--ca-primary-rgb), .1);
    color: var(--ca-primary);
}
[data-bs-theme="dark"] .contact-points span { color: #FF6B88; }
@media (max-width: 991.98px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* WhatsApp contact card */
.wa-card {
    text-align: center;
    background: var(--ca-card);
    border: 1px solid var(--ca-border);
    border-radius: 24px;
    padding: 2.25rem 2rem;
    box-shadow: var(--ca-shadow-lg);
}
.wa-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(37, 211, 102, .14);
    color: #1FAF54;
    font-size: 2.3rem;
}
.wa-card h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.wa-card p { color: var(--ca-muted); line-height: 1.8; margin: 0 auto 1.5rem; max-width: 26rem; }
.btn-whatsapp {
    --bs-btn-bg: #1FAF54;
    --bs-btn-border-color: #1FAF54;
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #179746;
    --bs-btn-hover-border-color: #179746;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #12803A;
    --bs-btn-active-border-color: #12803A;
    --bs-btn-active-color: #fff;
}
.btn .bi-whatsapp { margin-inline-end: .2rem; }
@media (max-width: 575.98px) { .wa-card { padding: 1.75rem 1.25rem; } }

/* Forms */
.form-card {
    position: relative;
    background: var(--ca-card);
    border: 1px solid var(--ca-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--ca-shadow-lg);
}
@media (max-width: 575.98px) { .form-card { padding: 1.35rem; border-radius: 20px; } }

.form-label { font-weight: 700; font-size: .95rem; }
.form-label .req { color: var(--ca-primary); }
.form-text { color: var(--ca-muted); }
.form-control, .form-select {
    border-radius: 12px;
    padding: .7rem .95rem;
    background-color: var(--ca-surface);
    border-color: var(--ca-border);
}
.form-control:focus, .form-select:focus {
    background-color: var(--ca-card);
    border-color: rgba(var(--ca-primary-rgb), .55);
    box-shadow: 0 0 0 .2rem rgba(var(--ca-primary-rgb), .15);
}
.form-control::placeholder { color: var(--ca-muted); opacity: .7; }
[dir="rtl"] .form-control[dir="ltr"] { text-align: right; }

.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.form-error {
    margin-top: 1rem;
    padding: .75rem 1rem;
    border-radius: 12px;
    background: rgba(var(--ca-primary-rgb), .08);
    color: var(--ca-primary);
    font-weight: 600;
}
.form-success { text-align: center; padding: 2.5rem 1rem; }
.form-success .bi { font-size: 3.5rem; color: #1B9A55; }
.form-success h2 { font-size: 1.5rem; margin: 1rem 0 .5rem; }
.form-success p { color: var(--ca-muted); line-height: 1.85; margin: .75rem auto 0; max-width: 30rem; font-weight: 600; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
    margin-top: 2rem;
    padding: 3.5rem 0 1.5rem;
    background: #1A0A0E;
    color: rgba(255, 255, 255, .78);
    border-radius: 40px 40px 0 0;
}
[data-bs-theme="dark"] .site-footer { background: #0F0D0D; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-size: 1.25rem; }
.footer-brand:hover { color: #fff; }
.footer-brand img { border-radius: 12px; background: #fff; }
.footer-about p { margin: 1rem 0 1.25rem; line-height: 1.85; max-width: 26rem; }
.footer-about .store-badges img { height: 40px; }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a, .footer-bottom a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--ca-accent); }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .9rem;
}
@media (max-width: 767.98px) {
    .site-footer { border-radius: 28px 28px 0 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
}

.back-to-top {
    position: fixed;
    bottom: 1.25rem;
    inset-inline-end: 1.25rem;
    z-index: 40;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ca-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(var(--ca-primary-rgb), .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { color: #fff; background: var(--ca-primary-hover); }

/* ── Franchise page ─────────────────────────────────── */
.page-hero {
    position: relative;
    color: #fff;
    background:
        radial-gradient(circle at 85% 10%, rgba(255, 178, 0, .22), transparent 40%),
        linear-gradient(180deg, var(--ca-primary) 0%, #A9112F 100%);
    border-radius: 0 0 48px 48px;
    padding: 3rem 0 7rem;
    text-align: center;
    overflow: hidden;
}
[data-bs-theme="dark"] .page-hero {
    background:
        radial-gradient(circle at 85% 10%, rgba(255, 178, 0, .16), transparent 40%),
        linear-gradient(180deg, #A9112F 0%, #6E0222 100%);
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.25; margin-bottom: .9rem; }
.page-hero h1 span { color: var(--ca-accent); display: block; }
.page-hero p { color: rgba(255, 255, 255, .9); font-size: 1.1rem; line-height: 1.85; max-width: 38rem; margin: 0 auto; }
.page-hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.5rem; }
.page-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: .4rem .9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .92rem;
}
.page-hero-points .bi { color: var(--ca-accent); }

.franchise-wrap { max-width: 860px; margin: -5rem auto 0; position: relative; z-index: 2; }

.stepper { list-style: none; display: flex; padding: 0; margin: 0 0 2rem; gap: .5rem; }
.stepper li { flex: 1; text-align: center; position: relative; color: var(--ca-muted); font-weight: 700; font-size: .88rem; }
.stepper li::before {
    content: "";
    position: absolute;
    top: 19px;
    inset-inline-start: calc(50% + 24px);
    width: calc(100% - 48px + .5rem);
    border-top: 2px solid var(--ca-border);
}
.stepper li:last-child::before { display: none; }
.stepper .dot {
    width: 40px;
    height: 40px;
    margin: 0 auto .45rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px solid var(--ca-border);
    background: var(--ca-card);
    font-weight: 800;
}
.stepper li.is-active { color: var(--ca-primary); }
.stepper li.is-active .dot { border-color: var(--ca-primary); background: var(--ca-primary); color: #fff; box-shadow: 0 6px 14px rgba(var(--ca-primary-rgb), .3); }
.stepper li.is-done { color: var(--ca-text); }
.stepper li.is-done .dot { border-color: var(--ca-primary); color: var(--ca-primary); }
.stepper li.is-done::before { border-color: var(--ca-primary); }
[data-bs-theme="dark"] .stepper li.is-active { color: #FF6B88; }
@media (max-width: 575.98px) {
    .stepper .label { display: none; }
    .stepper li::before { top: 17px; inset-inline-start: calc(50% + 20px); width: calc(100% - 40px + .5rem); }
    .stepper .dot { width: 36px; height: 36px; }
}

.form-step { display: none; }
.form-step.is-active { display: block; animation: stepIn .25s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } }
.step-head { margin-bottom: 1.5rem; }
.step-head .step-count { color: var(--ca-primary); font-weight: 800; font-size: .9rem; }
[data-bs-theme="dark"] .step-head .step-count { color: #FF6B88; }
.step-head h2 { font-size: 1.5rem; margin: .2rem 0 .3rem; }
.step-head p { color: var(--ca-muted); margin: 0; }

.step-nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.75rem; }
.step-nav .btn { min-width: 9rem; white-space: nowrap; }
@media (max-width: 575.98px) {
    .step-nav .btn { min-width: 0; flex: 1; font-size: 1rem; padding-inline: .75rem; }
}
.step-nav .btn-next { margin-inline-start: auto; }

.form-success-actions { margin-top: 1.5rem; }

/* ── Error page ─────────────────────────────────────── */
.error-page { text-align: center; padding: 6rem 1rem; }
.error-page .bi { font-size: 3.5rem; color: var(--ca-primary); }
.error-page h1 { font-size: 2rem; margin: 1rem 0 .5rem; }
.error-page p { color: var(--ca-muted); }
