/* =====================================================
   Public site styles - Landing page + Online booking
   Navy/blue palette — same theme as the login page
   (login.php). Keep in sync with that page's look:
   #0f172a / #1e3a5f / #172554 backgrounds, #3b82f6 →
   #06b6d4 brand gradient, white rounded cards.
   RTL Persian.
   ===================================================== */

:root {
    --brand: #3b82f6;
    --brand-dark: #1e3a5f;
    --brand-darker: #0f172a;
    --brand-deepest: #172554;
    --brand-soft: #dbeafe;
    --brand-tint: #eff6ff;
    --cyan: #06b6d4;
    --navy: #0f172a;
    --ink: #1e293b;
    --muted: #475569;
    --muted-2: #94a3b8;
    --gold: #f5a623;
    --bg: #f1f5f9;
    --line: #e2e8f0;
    --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --card-shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.22);
}

* { box-sizing: border-box; }

body.public {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    direction: rtl;
    color: var(--ink);
    background:
        radial-gradient(900px 500px at 90% -5%, rgba(59, 130, 246, 0.07), transparent 60%),
        radial-gradient(760px 460px at 0% 100%, rgba(6, 182, 212, 0.06), transparent 60%),
        #f1f5f9;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.public-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================== Base components ===================== */
/* The public pages load only this stylesheet, so the shared button /
   badge / form / alert building blocks live here too. */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: 12px;
    font-size: 14.5px; font-weight: 700; text-decoration: none;
    border: none; cursor: pointer; font-family: inherit;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn i { font-size: 13px; }
.btn-primary {
    /* Same gradient as the login button */
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff; box-shadow: 0 10px 24px rgba(59, 130, 246, 0.32);
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(59, 130, 246, 0.42); }
.btn-success { background: #10b981; color: #fff; box-shadow: 0 8px 20px rgba(16,185,129,0.3); }
.btn-success:hover { background: #059669; }
.btn-secondary { background: #eef4f6; color: #475569; }
.btn-secondary:hover { background: #e2e8f0; }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--brand-tint); color: var(--brand-dark); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }

.badge {
    display: inline-block; padding: 4px 11px; border-radius: 30px;
    font-size: 11.5px; font-weight: 700;
}
.badge-success { background: #d1fae5; color: #065f46; }
.badge-info { background: #cffafe; color: #155e75; }
.badge-warning { background: #fef3c7; color: #92400e; }

.avatar {
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: #fff; font-weight: 800; flex-shrink: 0;
}

.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.form-group label .req { color: #ef4444; }
.form-group input,
.form-group select,
.form-group textarea {
    /* Same input style as the login form */
    width: 100%; padding: 11px 14px; border: 2px solid var(--line);
    border-radius: 12px; font-family: inherit; font-size: 14px; color: var(--ink);
    background: #fff; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9fb2ba; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}
.form-group textarea { min-height: 96px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--muted-2); margin-top: 6px; }

.alert {
    display: flex; gap: 12px; padding: 15px 18px; border-radius: 14px;
    font-size: 13.5px; line-height: 1.8;
}
.alert i { font-size: 17px; margin-top: 2px; flex-shrink: 0; }
.alert-error { background: #fef2f2; color: #991b1b; }
.alert-info { background: #eff6ff; color: #1e40af; }

.kv-list { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 13.5px; }
.kv-list dt { color: var(--muted-2); }
.kv-list dd { color: var(--ink); font-weight: 700; margin: 0; }

/* ===================== Navbar ===================== */
.site-nav {
    position: fixed;
    top: 0; right: 0; left: 0;
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.site-nav.scrolled {
    padding: 7px 0;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.09);
    border-bottom-color: transparent;
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-icon {
    width: 38px; height: 38px; border-radius: 12px;
    /* Same tooth-icon gradient as the login page */
    background: linear-gradient(135deg, var(--brand), var(--cyan));
    display: flex; align-items: center; justify-content: center;
    font-size: 19px; color: #fff;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.45);
    flex-shrink: 0;
}
.brand-name { font-size: 15.5px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.brand-sub { font-size: 10.5px; color: var(--muted-2); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
    color: var(--muted); text-decoration: none;
    font-size: 13.5px; font-weight: 600; padding: 8px 14px;
    border-radius: 10px; transition: all 0.2s;
}
.nav-links a:hover { background: var(--brand-tint); color: var(--brand-dark); }

.nav-cta {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.32);
    margin-right: 8px;
}
.nav-cta:hover {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand-darker)) !important;
    color: #fff !important;
}

.nav-toggle {
    display: none;
    background: var(--brand-tint); border: 1px solid var(--line);
    color: var(--brand-dark); width: 40px; height: 40px; border-radius: 12px;
    font-size: 17px; cursor: pointer;
}

/* ===================== Hero ===================== */
/* Dark navy backdrop lifted straight from login.php's body */
.hero {
    position: relative;
    padding: 104px 0 56px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(720px 440px at 88% -12%, rgba(59, 130, 246, 0.35), transparent 62%),
        radial-gradient(640px 440px at 3% 108%, rgba(6, 182, 212, 0.28), transparent 60%),
        linear-gradient(155deg, #0f172a 0%, #1e3a5f 55%, #172554 100%);
}
/* Grid pattern, like the login panel */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 85% 75% at 60% 35%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 60% 35%, #000 30%, transparent 100%);
}
.hero-blob {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: 0.3; pointer-events: none;
}
.blob-1 { width: 380px; height: 380px; background: #3b82f6; top: -130px; left: -110px; animation: float 15s ease-in-out infinite; }
.blob-2 { width: 300px; height: 300px; background: #22d3ee; bottom: -120px; left: 38%; animation: float 19s ease-in-out infinite reverse; }
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(26px, -24px) scale(1.05); }
}

.hero-inner {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1.05fr 1.25fr; gap: 40px; align-items: center;
}
/* The text column is much taller than the photos; stretch the collage to match it. */
.hero-visual { align-self: stretch; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 9px;
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(147, 197, 253, 0.35);
    backdrop-filter: blur(6px);
    padding: 7px 16px; border-radius: 30px; color: #bfdbfe;
    font-size: 12.5px; font-weight: 700; margin-bottom: 20px;
}
.hero-badge .pulse {
    width: 8px; height: 8px; border-radius: 50%; background: #60a5fa;
    box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.7);
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(96, 165, 250, 0); }
    100% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0); }
}

.hero h1 {
    color: #ffffff;
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.hero h1 .gradient-text {
    background: linear-gradient(135deg, #60a5fa, #22d3ee, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p.lead {
    color: rgba(226, 232, 240, 0.78);
    font-size: 15px; line-height: 1.85;
    max-width: 540px; margin-bottom: 22px;
}
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }

.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 26px; border-radius: 13px;
    /* Same gradient as the login button */
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff; font-size: 14.5px; font-weight: 700; text-decoration: none;
    box-shadow: 0 14px 34px rgba(59, 130, 246, 0.4);
    transition: all 0.3s; border: none; cursor: pointer; font-family: inherit;
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(59, 130, 246, 0.5); }
.btn-hero-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 24px; border-radius: 13px;
    background: rgba(255, 255, 255, 0.08); border: 1.5px solid rgba(255, 255, 255, 0.28);
    color: #fff; font-size: 14.5px; font-weight: 700; text-decoration: none;
    backdrop-filter: blur(6px);
    transition: all 0.3s; font-family: inherit; cursor: pointer;
}
.btn-hero-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255,255,255,0.5); transform: translateY(-3px); }

.hero-trust {
    display: flex; gap: 26px; margin-top: 26px; flex-wrap: wrap;
    padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.trust-item .num { font-size: 21px; font-weight: 800; color: #fff; }
.trust-item .num span { color: #7dd3fc; }
.trust-item .lbl { font-size: 11.5px; color: rgba(226, 232, 240, 0.6); margin-top: 3px; }

/* Hero image collage: one large photo + two stacked photos, all the same height.
   position:relative + z-index lift the photos above the hero's decorative
   grid overlay and blobs. The grid rows are given explicit fractional heights
   so object-fit:cover has a real box to fill. */
.hero-visual {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    align-items: stretch;
    align-self: stretch;
    min-height: 520px;
    height: 100%;
}
.hero-art-a { grid-column: 1; grid-row: 1 / span 2; }
.hero-art-b { grid-column: 2; grid-row: 1; }
.hero-art-c { grid-column: 2; grid-row: 2; }
.hero-art {
    position: relative;
    z-index: 2;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 0;
    align-self: stretch;
}
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-card {
    position: relative;
    background: #fff;
    border-radius: 22px; padding: 20px 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    align-self: stretch;
    display: flex; flex-direction: column; justify-content: center;
}
.hero-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hero-card-head .hc-icon {
    width: 40px; height: 40px; border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), var(--cyan));
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
    flex-shrink: 0;
}
.hero-card-head h3 { font-size: 15px; font-weight: 800; color: var(--navy); }
.hero-card-head p { font-size: 11.5px; color: var(--muted-2); }
.hero-slot-row { display: flex; gap: 7px; margin-bottom: 7px; }
.hero-slot {
    flex: 1; text-align: center; padding: 8px 2px;
    background: #f8fafc; border: 1.5px solid var(--line); border-radius: 10px;
    font-size: 12px; font-weight: 700; color: var(--muted);
    text-decoration: none; transition: all 0.2s;
}
.hero-slot:hover { border-color: var(--brand); color: var(--brand-dark); }
.hero-slot.active {
    background: var(--brand-tint); border-color: var(--brand); color: var(--brand-dark);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.18);
}
.hero-slot.closed { opacity: .45; text-decoration: line-through; pointer-events: none; }
.hero-doctor {
    display: flex; align-items: center; gap: 10px;
    background: #f8fafc; border-radius: 12px; padding: 9px 11px; margin-top: 11px;
}
.hero-doctor .avatar { width: 34px; height: 34px; border-radius: 10px; font-size: 13px; }

/* Floating chips around the hero card */
.hero-chip {
    position: absolute; z-index: 3;
    display: flex; align-items: center; gap: 10px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    border-radius: 16px; padding: 11px 16px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.28);
    font-size: 12.5px; font-weight: 700; color: var(--navy);
    animation: chipFloat 6s ease-in-out infinite;
}
.hero-chip .hc-ico {
    width: 32px; height: 32px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.hero-chip small { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted-2); }
.chip-tl { top: -16px; left: -12px; }
.chip-br { bottom: -16px; right: -12px; animation-delay: -3s; }
@keyframes chipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===================== Sections ===================== */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-tag {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
    color: var(--tag-c, var(--brand-dark)); background: var(--tag-bg, var(--brand-tint));
    padding: 7px 18px; border-radius: 30px; margin-bottom: 14px;
    border: 1px solid var(--tag-line, var(--brand-soft));
}
.section-head h2 { font-size: clamp(25px, 3.2vw, 36px); font-weight: 800; color: var(--navy); margin-bottom: 14px; line-height: 1.35; }
.section-head p { font-size: 15px; color: var(--muted); line-height: 1.9; }

/* Per-section tag colors */
#why .section-tag, #why-tech .section-tag { --tag-c: #6d28d9; --tag-bg: #ede9fe; --tag-line: #ddd6fe; }
#services .section-tag { --tag-c: #1d4ed8; --tag-bg: #dbeafe; --tag-line: #bfdbfe; }
#doctors .section-tag { --tag-c: #0e7490; --tag-bg: #cffafe; --tag-line: #a5f3fc; }
#steps .section-tag { --tag-c: #c026d3; --tag-bg: #fae8ff; --tag-line: #f5d0fe; }
#faq .section-tag { --tag-c: #be185d; --tag-bg: #fce7f3; --tag-line: #fbcfe8; }

/* Services — each card keeps its own category color via --svc */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.service-card {
    background: #fff; border-radius: 20px; padding: 30px 26px;
    border: 1px solid var(--line);
    transition: all 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
    position: relative; overflow: hidden;
    text-decoration: none; display: block;
}
.service-card::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 5px;
    background: var(--svc, var(--brand)); transform: scaleX(0); transform-origin: right;
    transition: transform 0.35s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 22px 55px color-mix(in srgb, var(--svc, var(--brand)) 18%, transparent); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 54px; height: 54px; border-radius: 16px;
    background: color-mix(in srgb, var(--svc, var(--brand)) 13%, #fff);
    color: var(--svc, var(--brand));
    display: flex; align-items: center; justify-content: center;
    font-size: 23px; margin-bottom: 17px;
}
.service-card h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 9px; }
.service-card p { font-size: 13.5px; color: var(--muted); line-height: 1.85; margin-bottom: 14px; }
.service-price { font-size: 14px; font-weight: 800; color: var(--svc, var(--brand)); }

/* Doctors — cyan section */
.doctors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.doctor-card {
    background: #fff; border-radius: 22px; overflow: hidden;
    border: 1px solid #a5f3fc; transition: all 0.35s;
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(6, 182, 212, 0.22); }
.doctor-top {
    padding: 28px 24px 20px; text-align: center;
    background: linear-gradient(160deg, #ecfeff, #cffafe);
}
.doctor-avatar {
    width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; font-weight: 800; color: #fff;
    box-shadow: 0 12px 28px rgba(6, 182, 212, 0.3);
    border: 4px solid #fff;
}
.doctor-card h3 { font-size: 17px; font-weight: 800; color: var(--navy); }
.doctor-spec { font-size: 13px; color: #0e7490; font-weight: 600; margin-top: 3px; }
.doctor-rate { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 9px; font-size: 12.5px; color: var(--muted); }
.doctor-rate .stars { color: var(--gold); letter-spacing: 1px; }
.doctor-body { padding: 18px 24px 24px; }
.doctor-bio { font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.doctor-meta { display: flex; justify-content: space-between; font-size: 12.5px; padding-top: 14px; border-top: 1px solid #e0f2fe; }
.doctor-meta .k { color: var(--muted-2); }
.doctor-meta .v { font-weight: 700; color: var(--ink); }

/* Stats band */
.stats-band {
    background: linear-gradient(155deg, #0f172a 0%, #1e3a5f 55%, #172554 100%);
    color: #fff; border-radius: 28px; padding: 48px 44px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
    position: relative; overflow: hidden;
    box-shadow: var(--card-shadow-lg);
}
.stats-band::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 46px 46px;
}
.stats-band::after {
    content: '🦷'; position: absolute; left: -30px; bottom: -70px;
    font-size: 230px; opacity: 0.07;
}
.stat-band-item { text-align: center; position: relative; z-index: 1; }
.stat-band-item .num { font-size: 38px; font-weight: 800; line-height: 1.1; }
.stat-band-item .num span { color: #7dd3fc; }
.stat-band-item .lbl { font-size: 13.5px; color: rgba(255,255,255,0.72); margin-top: 7px; }

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
}
.gallery-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
    border: 1px solid #c7d2fe;
    background: #fff;
}
.gallery-item img {
    display: block; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-caption {
    position: absolute; inset: auto 0 0 0;
    padding: 26px 14px 12px;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.82));
    color: #fff;
}
.gallery-caption .gc-title { font-size: 13.5px; font-weight: 800; }
.gallery-caption .gc-desc { font-size: 11.5px; color: rgba(255,255,255,0.75); margin-top: 2px; }
#gallery .section-tag { --tag-c: #4338ca; --tag-bg: #e0e7ff; --tag-line: #c7d2fe; }

/* Steps — each step gets its own color */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.step-card {
    text-align: center; padding: 32px 20px;
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    border-top: 4px solid var(--step-c, var(--brand));
    position: relative; transition: all 0.3s;
}
.step-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14); }
.step-card:nth-child(1) { --step-c: #3b82f6; }
.step-card:nth-child(2) { --step-c: #8b5cf6; }
.step-card:nth-child(3) { --step-c: #06b6d4; }
.step-card:nth-child(4) { --step-c: #10b981; }
.step-num {
    width: 52px; height: 52px; border-radius: 16px; margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--step-c, var(--brand)), color-mix(in srgb, var(--step-c, var(--brand)) 60%, #0f172a)); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 800;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--step-c, var(--brand)) 35%, transparent);
}
.step-card h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 9px; }
.step-card p { font-size: 13.2px; color: var(--muted); line-height: 1.8; }

/* Testimonials — amber section */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.testimonial-card {
    background: #fff; border: 1px solid #fde68a; border-radius: 20px; padding: 28px;
    transition: all 0.3s;
}
.testimonial-card:hover { box-shadow: 0 20px 50px rgba(245, 158, 11, 0.2); transform: translateY(-4px); }
.testimonial-card .stars { color: #d97706; font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p { font-size: 14px; color: var(--muted); line-height: 1.95; margin-bottom: 18px; }
.testimonial-user { display: flex; align-items: center; gap: 11px; }
.testimonial-user .avatar { width: 42px; height: 42px; border-radius: 50%; font-size: 15px; }
.testimonial-user .name { font-size: 14px; font-weight: 700; color: var(--navy); }
.testimonial-user .role { font-size: 12px; color: #b45309; }
.quote-mark { font-size: 44px; color: #fcd34d; line-height: 0.5; font-family: Georgia, serif; }

/* FAQ — rose section */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: #fff; border: 1px solid #fbcfe8; border-radius: 16px;
    margin-bottom: 12px; overflow: hidden; transition: all 0.3s;
}
.faq-item.active { border-color: #f472b6; box-shadow: 0 10px 30px rgba(236, 72, 153, 0.14); }
.faq-q {
    width: 100%; text-align: right; background: none; border: none;
    padding: 19px 22px; font-family: inherit; font-size: 15px; font-weight: 700;
    color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q .chev { color: #db2777; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.active .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 22px 20px; font-size: 14px; color: var(--muted); line-height: 1.95; }

/* CTA */
.cta-section {
    background: linear-gradient(155deg, #0f172a 0%, #1e3a5f 55%, #172554 100%);
    border-radius: 30px; padding: 62px 48px; text-align: center;
    position: relative; overflow: hidden;
    box-shadow: var(--card-shadow-lg);
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 48px 48px;
}
.cta-section h2 { position: relative; font-size: clamp(25px, 3.2vw, 38px); font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta-section p { position: relative; color: rgba(255,255,255,0.78); font-size: 16px; margin-bottom: 32px; }
.cta-section .hero-actions { justify-content: center; }

/* Footer */
.site-footer { background: #0f172a; color: rgba(255,255,255,0.65); padding: 60px 0 26px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 38px; margin-bottom: 38px; }
.footer-brand .brand-name { color: #fff; }
.footer-about { font-size: 13.5px; line-height: 1.95; margin: 16px 0 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 12px;
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8);
    display: flex; align-items: center; justify-content: center; font-size: 16px;
    transition: all 0.25s;
}
.footer-social a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.62); font-size: 13.5px; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: #93c5fd; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: rgba(255,255,255,0.62); }
.footer-contact i { color: #7dd3fc; margin-top: 4px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px;
    display: flex; justify-content: space-between; font-size: 12.5px; flex-wrap: wrap; gap: 10px;
}

/* ===================== Booking page ===================== */
.booking-page {
    min-height: 100vh;
    /* Same dark navy backdrop as login.php */
    background:
        radial-gradient(900px 460px at 88% -8%, rgba(59, 130, 246, 0.35), transparent 60%),
        radial-gradient(760px 440px at 4% 108%, rgba(6, 182, 212, 0.28), transparent 60%),
        linear-gradient(155deg, #0f172a 0%, #1e3a5f 55%, #172554 100%);
    padding: 104px 0 70px;
}
.booking-card {
    max-width: 920px; margin: 0 auto;
    background: #fff; border-radius: 26px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}
.booking-head {
    background: linear-gradient(155deg, #0f172a 0%, #1e3a5f 55%, #172554 100%);
    padding: 32px 40px; color: #fff;
}
.booking-head h2 { font-size: 23px; font-weight: 800; margin-bottom: 8px; }
.booking-head p { color: rgba(255,255,255,0.75); font-size: 14px; }

/* Stepper */
.stepper {
    display: flex; align-items: center; padding: 22px 40px;
    background: #f8fafc; border-bottom: 1px solid var(--line); overflow-x: auto;
}
.step-item {
    display: flex; align-items: center; gap: 10px; flex: 1; min-width: max-content;
}
.step-circle {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    background: #e2e8f0; color: var(--muted-2);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; transition: all 0.3s;
}
.step-item.active .step-circle {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}
.step-item.done .step-circle { background: #10b981; color: #fff; }
.step-item.done .step-circle::before { content: '✓'; }
.step-item.done .step-circle .num { display: none; }
.step-label { font-size: 13px; font-weight: 700; color: var(--muted-2); white-space: nowrap; }
.step-item.active .step-label { color: var(--brand-dark); }
.step-item.done .step-label { color: #059669; }
.step-line { flex: 1; height: 3px; background: #e2e8f0; min-width: 18px; border-radius: 3px; }

.step-panel { padding: 34px 40px; display: none; animation: fadeIn 0.35s; }
.step-panel.active { display: block; }

.service-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.service-pick {
    text-align: right; padding: 18px;
    border: 2px solid var(--line); border-radius: 16px; background: #fff;
    cursor: pointer; transition: all 0.25s; font-family: inherit;
}
.service-pick:hover { border-color: #93c5fd; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(59, 130, 246, 0.12); }
.service-pick.selected {
    border-color: var(--brand); background: var(--brand-tint);
    box-shadow: 0 10px 26px rgba(59, 130, 246, 0.18);
}
.service-pick .sp-icon { font-size: 24px; margin-bottom: 10px; }
.service-pick .sp-name { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.service-pick .sp-meta { font-size: 12px; color: var(--muted); margin-top: 5px; }

.doctor-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.doctor-pick {
    display: flex; align-items: center; gap: 13px; text-align: right;
    padding: 16px; border: 2px solid var(--line); border-radius: 16px; background: #fff;
    cursor: pointer; transition: all 0.25s; font-family: inherit;
}
.doctor-pick:hover { border-color: #93c5fd; transform: translateY(-2px); }
.doctor-pick.selected { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 10px 26px rgba(59, 130, 246, 0.18); }
.doctor-pick .avatar { width: 46px; height: 46px; border-radius: 14px; font-size: 16px; flex-shrink: 0; }
.doctor-pick .dp-name { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.doctor-pick .dp-spec { font-size: 12px; color: var(--muted); margin-top: 3px; }

.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.slot-chip {
    padding: 12px 6px; border-radius: 12px; text-align: center;
    border: 2px solid var(--line); background: #fff; color: var(--ink);
    font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.slot-chip:hover:not(:disabled) { border-color: #93c5fd; background: var(--brand-tint); }
.slot-chip.selected { border-color: var(--brand); background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3); }
.slot-chip:disabled { opacity: 0.42; cursor: not-allowed; text-decoration: line-through; }

.booking-nav {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 20px 40px; border-top: 1px solid var(--line); background: #f8fafc;
}

/* Success panel */
.booking-success { text-align: center; padding: 56px 40px; }
.success-ring {
    width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 24px;
    background: linear-gradient(135deg, #10b981, #047857);
    display: flex; align-items: center; justify-content: center;
    font-size: 42px; color: #fff;
    box-shadow: 0 18px 44px rgba(16,185,129,0.4);
    animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes popIn { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tracking-code {
    display: inline-block; font-size: 22px; font-weight: 800; letter-spacing: 3px;
    background: var(--brand-tint); color: var(--brand-dark); padding: 12px 28px; border-radius: 14px;
    margin: 18px 0 8px; font-family: monospace; direction: ltr;
}

/* ===================== Responsive ===================== */
@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .hero { padding: 92px 0 52px; }
    .hero-visual { max-width: 640px; margin: 0 auto; width: 100%; height: auto; }
    .hero-art { min-height: 240px; }
    .stats-band { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .hero-visual { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
    .hero-art-a { grid-column: 1 / span 2; grid-row: 1; min-height: 220px; }
    .hero-art-b { grid-column: 1; grid-row: 2; }
    .hero-art-c { grid-column: 2; grid-row: 2; }
    .hero-art { min-height: 170px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute;
        top: 100%; right: 0; left: 0; background: #fff; padding: 14px;
        box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18); border-radius: 0 0 18px 18px; gap: 2px;
        align-items: stretch;
    }
    .nav-links a { color: var(--ink); }
    .nav-links a:hover { background: var(--brand-tint); }
    .nav-cta { margin-right: 0; text-align: center; }
    section { padding: 60px 0; }
    .stats-band { grid-template-columns: 1fr 1fr; padding: 36px 22px; }
    .steps-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-trust { gap: 20px; }
    .stepper { padding: 16px 20px; }
    .step-label { display: none; }
    .step-panel, .booking-head, .booking-nav { padding-left: 20px; padding-right: 20px; }
    .cta-section, .stats-band { border-radius: 20px; }
    .hero-actions .btn-hero-primary, .hero-actions .btn-hero-ghost { width: 100%; justify-content: center; }
    .hero-chip { display: none; }
}

/* ===================== Brand logo ===================== */
.brand-logo {
    width: 38px; height: 38px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.45);
    flex-shrink: 0;
}

/* ===================== Why-us section ===================== */
.why-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: center;
}
.why-visual img {
    width: 100%;
    height: auto;
    max-width: 500px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 24px 48px rgba(15, 23, 42, 0.2));
}
.gradient-text-dark {
    background: linear-gradient(135deg, var(--brand), var(--cyan), #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.why-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.why-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}
.why-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-lg);
}
.why-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 21px;
    flex-shrink: 0;
}
.why-item h4 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}
.why-item p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.7;
}
@media (max-width: 900px) {
    .why-grid { grid-template-columns: 1fr; gap: 36px; }
    .why-visual { order: -1; }
    .why-visual img { max-width: 380px; }
}
