/* ============================================================
   CleanerPeps — Shared CSS Design System
   app.css — loaded by the main layout on every page
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0F172A;
    --blue: #2563EB;
    --blue-dark: #1d4ed8;
    --blue-dk: #1d4ed8;
    --blue-light: #EFF6FF;
    --blue-lt: #EFF6FF;
    --silver: #CBD5E1;
    --silver-lt: #F1F5F9;
    --white: #FFFFFF;
    --text: #111827;
    --muted: #64748B;
    --border: #E2E8F0;
    --success: #16A34A;
    --error: #DC2626;
    --radius: 8px;
    --radius-lg: 12px;
    --r: 8px;
    --r-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);
    --shadow: 0 4px 16px rgba(15, 23, 42, .08);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, .12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ─── HOME NAV ────────────────────────────────────────────── */
nav#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    transition: background .3s, box-shadow .3s;
}

nav#navbar.scrolled {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--white);
    letter-spacing: -.3px;
    transition: color .3s;
}

nav#navbar.scrolled .logo {
    color: var(--navy);
}

.logo span span {
    color: var(--blue);
}

.logo-mobile {
    display: none;
}

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

.nav-links a {
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .75);
    transition: color .2s;
}

nav#navbar.scrolled .nav-links a {
    color: var(--muted);
}

.nav-links a:hover {
    color: var(--white);
}

nav#navbar.scrolled .nav-links a:hover {
    color: var(--navy);
}

.btn-nav {
    background: var(--blue);
    color: var(--white) !important;
    padding: 9px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .88rem;
    transition: background .2s, transform .15s;
}

.btn-nav:hover {
    background: var(--blue-dark) !important;
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    transition: color 0.3s;
}

nav#navbar.scrolled .mobile-toggle {
    color: var(--navy);
}

/* ─── BOOKING NAV ─────────────────────────────────────────── */
nav:not(#navbar) {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

nav:not(#navbar) .logo {
    font-size: 1.3rem;
    color: var(--navy);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.secure-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--blue-lt);
    color: var(--blue);
    font-size: .78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--r);
}

.nav-back {
    text-decoration: none;
    color: var(--muted);
    font-size: .85rem;
    font-weight: 600;
    transition: color .2s;
}

.nav-back:hover {
    color: var(--navy);
}

/* ─── HERO ─────────────────────────────────────────────────── */
.hero {
    position: relative;
    background: var(--navy);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(37, 99, 235, .12) 100%);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(37, 99, 235, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .07) 1px, transparent 1px);
    background-size: 64px 64px;
}

.hero-img {
    position: absolute;
    right: 0;
    top: 0;
    width: 52%;
    height: 100%;
    object-fit: cover;
    opacity: .18;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin-left: 8%;
    padding: 100px 24px 60px;
    animation: fadeUp .8s ease both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(37, 99, 235, .4);
    background: rgba(37, 99, 235, .1);
    color: #93C5FD;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -.5px;
    margin-bottom: 22px;
}

.hero h1 span {
    color: var(--blue);
}

.hero p {
    font-size: 1.1rem;
    color: #94A3B8;
    margin-bottom: 40px;
    max-width: 500px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: var(--white);
    padding: 14px 30px;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(37, 99, 235, .4);
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, .5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid rgba(255, 255, 255, .2);
    color: var(--white);
    padding: 13px 28px;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s, background .2s;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .07);
}

.hero-stats {
    margin-top: 60px;
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 36px;
}

.hero-stat .num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    display: block;
}

.hero-stat .num span {
    color: var(--blue);
}

.hero-stat p {
    font-size: .8rem;
    color: #64748B;
    margin-top: 4px;
    font-weight: 500;
}

/* ─── TRUST BAR ────────────────────────────────────────────── */
.trust-bar {
    background: var(--silver-lt);
    border-bottom: 1px solid var(--border);
    padding: 18px 6%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--navy);
}

.trust-item i {
    color: var(--blue);
    font-size: .95rem;
}

/* ─── SECTIONS ──────────────────────────────────────────────── */
section {
    padding: 96px 6%;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
}

.section-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--blue);
}

h2.section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--navy);
    letter-spacing: -.3px;
    margin-bottom: 14px;
}

.section-sub {
    font-size: 1rem;
    color: var(--muted);
    max-width: 520px;
    font-weight: 400;
}

.section-sub.center {
    margin: 0 auto;
    text-align: center;
}

.text-center {
    text-align: center;
}

/* ─── SERVICES SECTION ────────────────────────────────────── */
.services-section {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 52px;
}

.svc-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.svc-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--blue);
    opacity: 0;
    transition: opacity .2s;
}

.svc-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.svc-card:hover::after {
    opacity: 1;
}

.svc-card.selected {
    border-color: var(--blue);
    background: var(--blue-lt);
}

.svc-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.svc-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.2rem;
    color: var(--blue);
}

.svc-card .svc-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 0;
    font-size: .95rem;
}

.svc-card.selected .svc-icon {
    background: var(--blue);
    color: var(--white);
}

.svc-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: .62rem;
}

.svc-card.selected .svc-check {
    display: flex;
}

.svc-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--navy);
}

.svc-desc {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 18px;
    line-height: 1.6;
}

.svc-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
}

.svc-price span {
    font-size: .8rem;
    font-weight: 500;
    color: var(--muted);
}

.services-cta {
    margin-top: 48px;
    text-align: center;
}

/* ─── HOW IT WORKS ────────────────────────────────────────── */
.how-section {
    background: var(--navy);
}

.how-section .section-label {
    color: #60A5FA;
}

.how-section .section-label::before {
    background: #60A5FA;
}

.how-section h2.section-title {
    color: var(--white);
}

.how-section .section-sub {
    color: #64748B;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 52px;
}

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

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

.step-col {
    padding: 36px 28px;
    background: rgba(255, 255, 255, .03);
    transition: background .2s;
}

.step-col:hover {
    background: rgba(255, 255, 255, .06);
}

.step-num {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: rgba(37, 99, 235, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60A5FA;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.step-col h3 {
    font-size: .97rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.step-col p {
    font-size: .83rem;
    color: #64748B;
    line-height: 1.6;
}

/* ─── WHY US ────────────────────────────────────────────────── */
.why-section {
    background: var(--silver-lt);
}

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

@media(max-width:900px) {
    .why-layout {
        grid-template-columns: 1fr;
    }
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}

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

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: .95rem;
}

.feature-item h4 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--navy);
}

.feature-item p {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.6;
}

.why-visual {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
}

.why-visual-title {
    font-size: .85rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.metric-row:last-child {
    border-bottom: none;
}

.metric-label {
    font-size: .88rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.metric-label i {
    color: var(--blue);
    width: 16px;
}

.metric-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
}

.metric-badge {
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    background: #DCFCE7;
    color: #16A34A;
}

.why-cta {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: var(--white);
    padding: 13px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    width: 100%;
    justify-content: center;
    transition: background .2s;
}

.why-cta a:hover {
    background: var(--blue-dark);
}

/* ─── TESTIMONIALS ──────────────────────────────────────────── */
.testimonials-section {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 52px;
}

.testimonial-card {
    background: var(--silver-lt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: box-shadow .2s, transform .2s;
}

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

.t-stars {
    color: #F59E0B;
    font-size: .85rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.t-quote {
    font-size: .9rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.t-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.t-name {
    font-size: .9rem;
    font-weight: 700;
    color: var(--navy);
}

.t-loc {
    font-size: .78rem;
    color: var(--muted);
}

/* ─── CTA SECTION ───────────────────────────────────────────── */
.cta-section {
    background: var(--navy);
    padding: 96px 6%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(37, 99, 235, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .08) 1px, transparent 1px);
    background-size: 60px 60px;
}

.cta-inner {
    position: relative;
    z-index: 1;
}

.cta-section .section-label {
    color: #60A5FA;
    justify-content: center;
}

.cta-section .section-label::before {
    background: #60A5FA;
}

.cta-section h2.section-title {
    color: var(--white);
    margin: 0 auto 14px;
}

.cta-section p {
    color: #64748B;
    margin: 0 auto 36px;
    max-width: 460px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--blue);
    color: var(--white);
    padding: 16px 36px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(37, 99, 235, .4);
    transition: background .2s, transform .15s, box-shadow .2s;
}

.cta-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(37, 99, 235, .5);
}

/* ─── FOOTER ────────────────────────────────────────────────── */
footer {
    background: #080E1C;
    color: #64748B;
    padding: 64px 6% 32px;
}

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

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

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

.footer-brand .logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-brand .logo-text span {
    color: var(--blue);
}

.footer-brand p {
    font-size: .85rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-size: .8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

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

.footer-col ul a {
    text-decoration: none;
    color: #64748B;
    font-size: .85rem;
    transition: color .2s;
}

.footer-col ul a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    font-size: .8rem;
    flex-wrap: wrap;
    gap: 12px;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-link {
    width: 34px;
    height: 34px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    text-decoration: none;
    font-size: .85rem;
    transition: background .2s, color .2s, border-color .2s;
}

.social-link:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

/* ─── BOOKING PAGE ──────────────────────────────────────────── */
body.page-booking {
    background: var(--silver-lt);
}

/* Desktop: main form + narrow sidebar side-by-side */
.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 4% 120px;
    /* bottom pad leaves room for mobile bar */
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}

/* Tablet (≤900px): sidebar shrinks more */
@media(max-width:900px) {
    .page {
        grid-template-columns: 1fr 240px;
        gap: 16px;
        padding-inline: 3%;
    }
}

/* Mobile (≤680px): single column, sidebar hidden (replaced by bottom bar) */
@media(max-width:680px) {
    .page {
        grid-template-columns: 1fr;
        padding-top: 20px;
        padding-bottom: 90px;
    }

    .sidebar {
        display: none;
    }

    /* replaced by .mob-bar */
}

/* Progress */
.progress-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 22px 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.progress-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.progress-top h1 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
}

.step-count {
    font-size: .82rem;
    color: var(--muted);
    font-weight: 600;
}

.steps {
    display: flex;
    align-items: center;
}

.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
}

.step-item+.step-item::before {
    content: '';
    position: absolute;
    top: 14px;
    right: 50%;
    left: -50%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.step-item.done+.step-item::before,
.step-item.active+.step-item::before {
    background: var(--blue);
}

.step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    font-weight: 700;
    color: var(--muted);
    position: relative;
    z-index: 1;
    transition: all .25s;
}

.step-item.done .step-circle {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.step-item.active .step-circle {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    box-shadow: 0 0 0 3px var(--blue-lt);
}

.step-lbl {
    font-size: .7rem;
    color: var(--muted);
    font-weight: 600;
}

.step-item.active .step-lbl {
    color: var(--navy);
}

.step-item.done .step-lbl {
    color: var(--blue);
}

/* Card */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: 0 8px 32px rgba(15, 23, 42, .04), 0 2px 8px rgba(15, 23, 42, .02);
    margin-bottom: 24px;
    overflow: hidden;
    transition: box-shadow .3s;
}

.card:hover {
    box-shadow: 0 12px 48px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .03);
}

.card-head {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.card-head h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.card-head p {
    font-size: .82rem;
    color: var(--muted);
    margin-top: 2px;
}

.card-body {
    padding: 22px 24px;
}

/* Service grid */
.svc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

/* Extras */
.extra-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.extra-row:last-child {
    border-bottom: none;
}

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

.extra-icon {
    color: var(--blue);
    width: 16px;
    text-align: center;
}

.extra-name {
    font-size: .88rem;
    font-weight: 600;
}

.extra-price {
    font-size: .78rem;
    color: var(--muted);
}

.qty-ctrl {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--silver-lt);
    cursor: pointer;
    font-size: .9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    color: var(--navy);
}

.qty-btn:hover {
    background: var(--blue-lt);
    border-color: var(--blue);
    color: var(--blue);
}

.qty-val {
    font-weight: 700;
    font-size: .9rem;
    min-width: 18px;
    text-align: center;
}

/* Calendar */
.cal-wrapper {
    max-width: 420px;
    margin: 0 auto;
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 20px 24px;
}

.cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cal-month {
    font-size: .95rem;
    font-weight: 700;
    color: var(--navy);
}

.cal-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--r);
    border: 1px solid var(--border);
    background: var(--white);
    cursor: pointer;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    transition: all .15s;
}

.cal-btn:hover {
    background: var(--blue-lt);
    border-color: var(--blue);
    color: var(--blue);
}

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

.cal-lbl {
    text-align: center;
    font-size: .7rem;
    font-weight: 700;
    color: var(--muted);
    padding: 4px 0;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r);
    font-size: .82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
}

.cal-day:hover:not(.empty):not(.past) {
    background: var(--blue-light);
    color: var(--blue);
    font-weight: 700;
}

.cal-day.empty,
.cal-day.past {
    color: #D1D5DB;
    cursor: default;
}

.cal-day.today {
    font-weight: 800;
    color: var(--blue);
}

.cal-day.selected {
    background: var(--navy);
    color: var(--white);
    font-weight: 700;
}

/* Time slots */
.time-section {
    max-width: 420px;
    margin: 24px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.time-label {
    font-size: .82rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-chip {
    background: var(--blue-light);
    color: var(--blue);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 800;
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
}

.slot {
    padding: 14px 8px;
    text-align: center;
    border-radius: var(--r-lg);
    border: 1.5px solid var(--border);
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--navy);
    transition: all .2s;
    background: var(--white);
}

.slot:hover:not(.unavail) {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, .1);
}

.slot.selected {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, .25);
}

.slot.unavail {
    color: #94A3B8;
    background: #F8FAFC;
    cursor: not-allowed;
    border-style: dashed;
    border-width: 1px;
}

.slot-loading {
    font-size: .82rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot-pulse {
    display: inline-flex;
    gap: 4px;
}

.dot-pulse span {
    width: 5px;
    height: 5px;
    background: var(--blue);
    border-radius: 50%;
    animation: dp 1.2s ease-in-out infinite;
}

.dot-pulse span:nth-child(2) {
    animation-delay: .2s
}

.dot-pulse span:nth-child(3) {
    animation-delay: .4s
}

@keyframes dp {

    0%,
    80%,
    100% {
        opacity: .2
    }

    40% {
        opacity: 1
    }
}

/* Form */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

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

.fg {
    margin-bottom: 14px;
}

.fg label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--navy);
}

.fg input,
.fg select,
.fg textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    font-family: inherit;
    font-size: .95rem;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

.fg textarea {
    resize: vertical;
    min-height: 80px;
}

.divider {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .75rem;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 24px 0 12px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1.5px;
    background: var(--border);
}

/* Frequency Pills */
.freq-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

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

.freq-pill {
    position: relative;
    cursor: pointer;
    display: block;
}

.freq-pill input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.freq-pill span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 10px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    font-size: .9rem;
    font-weight: 700;
    color: var(--muted);
    background: var(--white);
    transition: all .2s;
    height: 100%;
}

.freq-pill small {
    font-size: .75rem;
    color: var(--success);
    font-weight: 600;
    margin-top: 2px;
}

.freq-pill:hover span {
    border-color: var(--blue);
    background: var(--blue-light);
    color: var(--blue);
}

.freq-pill input:checked+span {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, .25);
}

.freq-pill input:checked+span small {
    color: rgba(255, 255, 255, .9);
}

/* Review */
.review-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: .88rem;
    gap: 12px;
}

.review-row:last-child {
    border-bottom: none;
}

.review-row .lbl {
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-row .lbl i {
    color: var(--blue);
    width: 14px;
}

.review-row .val {
    font-weight: 700;
    text-align: right;
}

.review-row.total {
    font-size: 1rem;
    padding-top: 14px;
}

.review-row.total .val {
    color: var(--blue);
    font-size: 1.15rem;
}

/* Buttons */
.nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
}

.btn {
    padding: 14px 28px;
    border-radius: var(--radius);
    border: none;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .2s;
}

.btn-blue {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 3px 12px rgba(37, 99, 235, .3);
}

.btn-blue:hover:not(:disabled) {
    background: var(--blue-dk);
    box-shadow: 0 6px 20px rgba(37, 99, 235, .4);
    transform: translateY(-1px);
}

.btn-blue:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.btn-ghost {
    background: transparent;
    color: var(--muted);
    border: 1.5px solid var(--border);
}

.btn-ghost:hover {
    background: var(--silver-lt);
    color: var(--navy);
}

/* Alerts */
.alert {
    padding: 10px 14px;
    border-radius: var(--r);
    font-size: .82rem;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.alert-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #B91C1C;
}

.alert-success {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #15803D;
}

/* ── Sidebar (desktop/tablet) ─────────────────────────────── */
.sidebar {
    position: sticky;
    top: 76px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.sidebar-head {
    background: var(--navy);
    color: var(--white);
    padding: 13px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-head h3 {
    font-size: .88rem;
    font-weight: 700;
}

.sidebar-head p {
    font-size: .72rem;
    color: #64748B;
    margin-top: 1px;
}

.sidebar-body {
    padding: 14px 18px;
}

.sum-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: .82rem;
    gap: 10px;
}

.sum-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sum-row .lbl {
    color: var(--muted);
}

.sum-row .val {
    font-weight: 700;
    text-align: right;
}

.sum-row.total {
    font-size: .92rem;
    padding-top: 10px;
}

.sum-row.total .val {
    color: var(--blue);
    font-size: 1rem;
}

.empty-sum {
    text-align: center;
    padding: 20px 12px;
    color: var(--muted);
    font-size: .8rem;
}

.empty-sum i {
    font-size: 1.5rem;
    color: var(--border);
    display: block;
    margin-bottom: 8px;
}

/* Trust card: visible only on desktop */
.trust-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 16px 18px;
    box-shadow: var(--shadow);
}

.trust-card h4 {
    font-size: .72rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.trust-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    color: var(--muted);
    margin-bottom: 7px;
}

.trust-line:last-child {
    margin-bottom: 0;
}

.trust-line i {
    color: var(--blue);
    width: 13px;
    flex-shrink: 0;
}

@media(max-width:900px) {
    .trust-card {
        display: none;
    }
}

/* ── Mobile bottom summary bar ─────────────────────────────── */
.mob-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, .08);
    padding: 0;
    flex-direction: column;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

@media(max-width:680px) {
    .mob-bar {
        display: flex;
    }
}

/* The always-visible strip */
.mob-bar-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.mob-bar-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mob-bar-label {
    font-size: .7rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.mob-bar-total {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy);
}

.mob-bar-total span {
    color: var(--blue);
}

.mob-bar-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--blue);
}

.mob-bar-toggle i {
    transition: transform .25s;
}

.mob-bar.open .mob-bar-toggle i {
    transform: rotate(180deg);
}

/* Expandable drawer */
.mob-bar-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s cubic-bezier(.4, 0, .2, 1);
    border-top: 1px solid var(--border);
}

.mob-bar.open .mob-bar-drawer {
    max-height: 360px;
}

.mob-drawer-body {
    padding: 14px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mob-drawer-body .sum-row {
    font-size: .83rem;
    padding: 7px 0;
}

/* Spinner */
.spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: var(--white);
    animation: spin .6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

/* Success */
.success-wrap {
    text-align: center;
    padding: 52px 24px;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--blue-lt);
    color: var(--blue);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}

.success-wrap h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}

.success-wrap p {
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: 6px;
}

.booking-id {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 800;
    padding: 8px 24px;
    border-radius: var(--r);
    margin: 14px 0 22px;
    letter-spacing: .04em;
}

.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Panels */
.panel {
    display: none;
}

.panel.active {
    display: block;
    animation: fadeIn .3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* Skeleton */
.sk {
    height: 90px;
    border-radius: var(--r);
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200%;
    animation: sh 1.4s infinite;
    margin-bottom: 12px;
}

@keyframes sh {
    0% {
        background-position: 200%
    }

    100% {
        background-position: -200%
    }
}

/* ─── REVEAL ANIMATION ─────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media(max-width:900px) {
    nav#navbar {
        padding: 0 5%;
    }

    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: inline;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px 5%;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(15, 23, 42, .08);
        border-top: 1px solid var(--border);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all .3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        color: var(--navy);
        font-size: 1.05rem;
        padding: 8px 0;
        display: block;
        width: 100%;
    }

    .nav-links .btn-nav {
        text-align: center;
        width: 100%;
        margin-top: 10px;
        padding: 14px;
        font-size: 1rem;
    }
}

@media(max-width:600px) {

    nav#navbar,
    nav:not(#navbar) {
        padding: 0 4%;
    }

    .secure-pill {
        display: none;
    }

    .nav-back {
        font-size: 0;
    }

    .nav-back i {
        font-size: 1.2rem;
    }

    .hero-content {
        margin-left: 0;
        padding: 100px 4% 40px;
    }

    section {
        padding: 72px 4%;
    }

    .progress-card {
        padding: 16px;
    }

    .progress-top h1 {
        font-size: 1.15rem;
    }

    .step-lbl {
        display: none;
    }

    .card-head,
    .card-body {
        padding: 16px;
    }

    .nav-row {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .nav-row .btn {
        width: 100%;
        justify-content: center;
    }

    .nav-row div:empty {
        display: none;
    }

    .cal-wrapper {
        padding: 16px;
    }
}