/* ============================================================
   Городская поликлиника — Medicil-inspired Design System
   ============================================================ */
:root {
    --bs-primary:           #0D4C7B;
    --bs-primary-rgb:       13, 76, 123;
    --bs-secondary:         #17A896;
    --bs-secondary-rgb:     23, 168, 150;
    --bs-link-color:        #0D4C7B;
    --bs-link-hover-color:  #0a3d63;
    --bs-body-font-family:  'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --bs-border-radius:     0.5rem;
    --bs-border-radius-lg:  0.75rem;

    --p-navy:      #0A1E30;
    --p-blue:      #0D4C7B;
    --p-teal:      #17A896;
    --p-green:     #2F9B6F;
    --p-light:     #F4F8FC;
    --p-border:    #E4EBF2;
    --p-text:      #1C2B3A;
    --p-muted:     #607080;
    --font-serif:  'DM Serif Display', Georgia, serif;
    --transition:  0.25s ease;
}

html { scroll-behavior: smooth; }

body {
    padding-top: 118px; /* 42px top-bar + 76px navbar */
    color: var(--p-text);
    background: #fff;
    font-family: var(--bs-body-font-family);
    line-height: 1.65;
}

/* ============================================================
   Site Header (fixed wrapper)
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1030;
}

/* ============================================================
   Top Info Bar
   ============================================================ */
.top-bar {
    background: var(--p-navy);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0.55rem 0;
}
.top-bar-link {
    color: rgba(255,255,255,0.68);
    text-decoration: none;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color var(--transition);
}
.top-bar-link .bi { color: var(--p-teal); font-size: 0.82rem; }
.top-bar-link:hover { color: rgba(255,255,255,0.95); }

.top-bar-social a {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    text-decoration: none;
    width: 26px; height: 26px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all var(--transition);
}
.top-bar-social a:hover { color: var(--p-teal); border-color: rgba(23,168,150,0.4); }

.top-bar-lang-btn {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.12);
    transition: all var(--transition);
}
.top-bar-lang-btn:hover,
.top-bar-lang-btn.active {
    color: #fff;
    background: var(--p-teal);
    border-color: var(--p-teal);
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar-main {
    background: var(--p-navy);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background var(--transition);
    padding: 0.6rem 0;
}
.navbar-main .navbar-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.navbar-main .brand-icon {
    width: 38px; height: 38px;
    background: var(--p-teal);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.navbar-main .navbar-brand small {
    display: block;
    font-size: 0.63rem;
    font-weight: 400;
    opacity: 0.7;
    line-height: 1;
}
.navbar-main .nav-link {
    font-weight: 500;
    color: rgba(255,255,255,0.82) !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: 6px;
    transition: all var(--transition);
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}
.navbar-main .nav-link .bi { font-size: 0.88rem; }
.navbar-main .dropdown-menu {
    background: #0A1E30;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.navbar-main .dropdown-item {
    color: rgba(255,255,255,0.8);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.88rem;
    transition: all var(--transition);
}
.navbar-main .dropdown-item:hover { background: rgba(23,168,150,0.18); color: #fff; }
.navbar-main .dropdown-header {
    color: var(--p-teal);
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
}
.navbar-main .dropdown-divider { border-color: rgba(255,255,255,0.08); }
.lang-switcher .btn { font-size: 0.78rem; padding: 0.28rem 0.65rem; border-radius: 20px; font-weight: 600; }

/* ============================================================
   Hero — Medicil-inspired light layout
   ============================================================ */
.hero-medicil {
    position: relative;
    background: linear-gradient(145deg, #EAF3FB 0%, #F7FAFB 55%, #EBF7F5 100%);
    padding: 5.5rem 0 4rem;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Large decorative blobs */
.hero-medicil::before {
    content: '';
    position: absolute;
    top: -120px; right: -80px;
    width: 560px; height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23,168,150,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.hero-medicil::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,76,123,0.07) 0%, transparent 70%);
    pointer-events: none;
}

/* Subtle grid on hero */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13,76,123,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,76,123,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(23,168,150,0.1);
    color: var(--p-teal);
    border: 1px solid rgba(23,168,150,0.25);
    border-radius: 20px;
    padding: 0.35rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.1rem, 4.5vw, 3.4rem);
    font-weight: 400;
    color: var(--p-navy);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 1.15rem;
}
.hero-title em {
    font-style: italic;
    color: var(--p-teal);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--p-muted);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-hero-main {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--p-teal);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    transition: all var(--transition);
    box-shadow: 0 6px 20px rgba(23,168,150,0.35);
}
.btn-hero-main:hover {
    background: #12BDA9;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(23,168,150,0.45);
}

.btn-hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: transparent;
    color: var(--p-blue);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    border: 1.5px solid var(--p-border);
    transition: all var(--transition);
}
.btn-hero-phone:hover {
    border-color: var(--p-blue);
    background: rgba(13,76,123,0.05);
    color: var(--p-blue);
}

.hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    color: var(--p-muted);
    font-weight: 500;
}
.hero-trust-check {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(23,168,150,0.12);
    border: 1.5px solid rgba(23,168,150,0.35);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 0.6rem;
    color: var(--p-teal);
    font-weight: 700;
}

/* Appointment Widget */
.appt-widget {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(10,30,48,0.12), 0 2px 8px rgba(10,30,48,0.06);
    padding: 2rem;
    position: relative;
    z-index: 2;
}
.appt-widget::before {
    content: '';
    position: absolute;
    top: -4px; left: 20px; right: 20px;
    height: 4px;
    background: linear-gradient(90deg, var(--p-teal), var(--p-blue));
    border-radius: 2px 2px 0 0;
}
.appt-widget__title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--p-navy);
    margin-bottom: 0.25rem;
}
.appt-widget__sub {
    font-size: 0.82rem;
    color: var(--p-muted);
    margin-bottom: 1.5rem;
}
.appt-field {
    margin-bottom: 1rem;
}
.appt-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--p-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}
.appt-field select,
.appt-field input[type="date"] {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid var(--p-border);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--p-text);
    font-family: var(--bs-body-font-family);
    background: #FAFCFE;
    transition: border-color var(--transition);
    outline: none;
    appearance: auto;
}
.appt-field select:focus,
.appt-field input[type="date"]:focus {
    border-color: var(--p-teal);
    background: #fff;
}
.appt-submit {
    width: 100%;
    padding: 0.8rem;
    background: var(--p-blue);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-top: 0.5rem;
}
.appt-submit:hover {
    background: #0a3d63;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(13,76,123,0.3);
}

.appt-mini-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--p-border);
}
.appt-mini-stat { text-align: center; }
.appt-mini-stat strong {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--p-blue);
    display: block;
    line-height: 1;
}
.appt-mini-stat strong em { color: var(--p-teal); font-style: normal; }
.appt-mini-stat span {
    font-size: 0.72rem;
    color: var(--p-muted);
    display: block;
    margin-top: 0.2rem;
}

/* ============================================================
   Quick Access Bar
   ============================================================ */
.quick-bar {
    background: #fff;
    border-bottom: 1px solid var(--p-border);
    box-shadow: 0 2px 12px rgba(10,30,48,0.05);
}
.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: var(--p-text);
    padding: 0.65rem 0.5rem;
    border-radius: 10px;
    transition: all var(--transition);
    text-align: center;
}
.quick-link:hover { background: var(--p-light); color: var(--p-blue); }
.quick-icon-box {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    transition: transform var(--transition);
}
.quick-link:hover .quick-icon-box { transform: translateY(-2px); }
.quick-link span { font-size: 0.77rem; font-weight: 600; line-height: 1.2; }

/* ============================================================
   Section header pattern
   ============================================================ */
.sec-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--p-teal);
    margin-bottom: 0.5rem;
}
.sec-eyebrow::before {
    content: '';
    display: block;
    width: 20px; height: 2px;
    background: var(--p-teal);
    border-radius: 1px;
    flex-shrink: 0;
}
.sec-eyebrow--center { display: flex; justify-content: center; }
.sec-eyebrow--center::before { display: none; }

.sec-title {
    font-family: var(--font-serif);
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--p-navy);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 0;
}
.sec-title--white { color: #fff; }

/* ============================================================
   Services — Icon cards (Medicil-style)
   ============================================================ */
.services-bg { background: var(--p-light); }

.svc-icon-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--p-border);
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.svc-icon-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--p-teal), var(--p-blue));
    transform: scaleX(0);
    transition: transform var(--transition);
    border-radius: 0 0 2px 2px;
}
.svc-icon-card:hover {
    border-color: transparent;
    box-shadow: 0 10px 40px rgba(10,30,48,0.1);
    transform: translateY(-4px);
}
.svc-icon-card:hover::after { transform: scaleX(1); }

.svc-icon-wrap {
    width: 64px; height: 64px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    transition: all var(--transition);
}
.svc-icon-card:hover .svc-icon-wrap { transform: scale(1.1); }

.svc-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--p-navy);
    margin-bottom: 0.3rem;
}
.svc-card-count {
    font-size: 0.78rem;
    color: var(--p-muted);
}

/* ============================================================
   Why Choose Us — Side-by-side
   ============================================================ */
.why-bg { background: #fff; }

.why-image-side {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}
.why-image-placeholder {
    background: linear-gradient(135deg, #0A2D4A 0%, #0D4C7B 60%, #17A896 100%);
    border-radius: 20px;
    height: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.why-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 36px 36px;
}
.why-cross-icon {
    position: relative;
    z-index: 1;
    opacity: 0.15;
}
.why-stats-overlay {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    display: flex;
    gap: 0.75rem;
}
.why-stat-chip {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    text-align: center;
    flex: 1;
    color: #fff;
}
.why-stat-chip strong {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    display: block;
    line-height: 1;
    color: var(--p-teal);
}
.why-stat-chip span { font-size: 0.72rem; opacity: 0.8; }

.why-list { list-style: none; padding: 0; margin: 0; }
.why-list-item {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--p-border);
}
.why-list-item:last-child { border-bottom: none; }
.why-list-num {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(23,168,150,0.1);
    border: 1.5px solid rgba(23,168,150,0.2);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--p-teal);
    font-weight: 400;
    transition: all var(--transition);
}
.why-list-item:hover .why-list-num {
    background: var(--p-teal);
    color: #fff;
    border-color: var(--p-teal);
}
.why-list-body h6 {
    font-weight: 700;
    color: var(--p-navy);
    font-size: 0.93rem;
    margin-bottom: 0.15rem;
}
.why-list-body p { font-size: 0.83rem; color: var(--p-muted); margin: 0; line-height: 1.55; }

/* ============================================================
   Stats Strip
   ============================================================ */
.stats-strip {
    background: var(--p-navy);
    position: relative;
    overflow: hidden;
}
.stats-strip::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.stat-col {
    position: relative; z-index: 1;
    text-align: center;
    padding: 3rem 1rem;
    border-right: 1px solid rgba(255,255,255,0.07);
}
.stat-col:last-child { border-right: none; }
.stat-col-icon { font-size: 1.5rem; color: var(--p-teal); display: block; margin-bottom: 0.5rem; }
.stat-col-num {
    font-family: var(--font-serif);
    font-size: 3rem; font-weight: 400;
    color: #fff; line-height: 1; display: block;
}
.stat-col-sfx { color: var(--p-teal); }
.stat-col-lbl { font-size: 0.78rem; color: rgba(255,255,255,0.5); display: block; margin-top: 0.4rem; }

/* ============================================================
   Doctor Cards — Medicil-style
   ============================================================ */
.doctor-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: 0 2px 16px rgba(10,30,48,0.07);
    background: #fff;
}
.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(10,30,48,0.14);
}
.doctor-card .doctor-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 260px;
    background: var(--p-light);
}
.doctor-card .doctor-img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.doctor-card .doctor-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,30,48,0.88) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity var(--transition);
}
.doctor-card .btn-appointment {
    width: 100%;
    border-radius: 8px;
    font-weight: 600;
}
.doctor-card:hover .doctor-img-wrapper img { transform: scale(1.05); }
.doctor-card:hover .doctor-overlay { opacity: 1; }
.doctor-card .card-body { padding: 1.25rem; }
.doctor-card .doctor-name { font-weight: 700; font-size: 1.02rem; color: var(--p-navy); }
.doctor-card .doctor-spec { color: var(--p-teal); font-size: 0.85rem; font-weight: 600; margin-top: 0.15rem; }
.doctor-card .doctor-exp { font-size: 0.81rem; color: var(--p-muted); margin-top: 0.25rem; }
.doctor-card .schedule-mini { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 0.75rem; }
.doctor-card .day-badge {
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 12px;
    background: var(--p-light);
    color: var(--p-blue);
    font-weight: 600;
    border: 1px solid var(--p-border);
}

/* ============================================================
   Appointment CTA Band (Medicil signature section)
   ============================================================ */
.appt-band {
    position: relative;
    background: linear-gradient(135deg, #0A2D4A 0%, #0D4C7B 50%, #0A4B3E 100%);
    overflow: hidden;
    padding: 5rem 0;
}
.appt-band::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 36px 36px;
}
.appt-band::after {
    content: '';
    position: absolute;
    right: -80px; top: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23,168,150,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.appt-band-inner { position: relative; z-index: 1; }

.appt-band-form {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    padding: 2rem;
}
.appt-band-form .appt-field select,
.appt-band-form .appt-field input[type="date"] {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.18);
    color: #fff;
}
.appt-band-form .appt-field select:focus,
.appt-band-form .appt-field input[type="date"]:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--p-teal);
}
.appt-band-form .appt-field label { color: rgba(255,255,255,0.65); }
.appt-band-form .appt-field select option { background: #0A1E30; color: #fff; }
.appt-band-form .appt-submit { background: var(--p-teal); }
.appt-band-form .appt-submit:hover { background: #12BDA9; }

/* ============================================================
   News Cards
   ============================================================ */
.news-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(10,30,48,0.06);
    transition: all var(--transition);
    background: #fff;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(10,30,48,0.12); }
.news-card .news-img { height: 210px; object-fit: cover; }
.news-card .news-category { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.news-card .news-date { font-size: 0.78rem; color: var(--p-muted); }
.news-card .news-title { font-weight: 700; font-size: 0.98rem; color: var(--p-navy); }
.news-card .news-excerpt { font-size: 0.85rem; color: var(--p-muted); }

/* News Slider (home) */
.news-slider-nav { display: inline-flex; gap: 0.5rem; }
.news-slider-btn {
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(13,76,123,0.25);
    background: #fff; color: #0D4C7B;
    font-size: 1.1rem; line-height: 1;
    transition: all var(--transition);
    flex-shrink: 0;
}
.news-slider-btn:hover:not(:disabled) { background: #0D4C7B; color: #fff; border-color: #0D4C7B; }
.news-slider-btn:disabled { opacity: 0.4; cursor: default; }
.news-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.5rem 0.5rem 1.25rem;
    margin: -0.5rem -0.5rem 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.news-slider::-webkit-scrollbar { display: none; }
.news-slide {
    flex: 0 0 auto;
    width: calc((100% - 3rem) / 3);
    scroll-snap-align: start;
}
@media (max-width: 767.98px) { .news-slide { width: calc((100% - 1.5rem) / 2); } }
@media (max-width: 575.98px) { .news-slide { width: 88%; } }

/* ============================================================
   Service Tables (for services page)
   ============================================================ */
.service-category-pills .nav-link {
    border-radius: 25px !important;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    color: var(--p-navy);
    border: 2px solid var(--p-border);
    background: #fff;
    transition: all var(--transition);
}
.service-category-pills .nav-link.active,
.service-category-pills .nav-link:hover {
    background: var(--p-blue);
    border-color: var(--p-blue);
    color: #fff;
}
.service-table { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 20px rgba(10,30,48,0.06); }
.service-table thead th {
    background: var(--p-blue);
    color: #fff; font-weight: 600;
    border: none; padding: 1rem 1.25rem;
}
.service-table tbody tr { transition: background var(--transition); }
.service-table tbody tr:hover { background: var(--p-light); }
.service-table tbody td { padding: 0.9rem 1.25rem; vertical-align: middle; }

/* ============================================================
   Org Structure (for structure page)
   ============================================================ */
.org-tree { overflow-x: auto; padding: 2rem 1rem; }
.org-level { display: flex; justify-content: center; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.org-node { position: relative; display: flex; flex-direction: column; align-items: center; }
.org-node::before {
    content: '';
    position: absolute; top: -20px; left: 50%;
    transform: translateX(-50%);
    width: 2px; height: 20px;
    background: var(--p-blue);
}
.org-node:first-child::before, .org-node:last-child::before { display: none; }
.org-card {
    background: #fff; border: 2px solid var(--p-border);
    border-radius: 12px; padding: 0.75rem 1rem;
    text-align: center; width: 160px; cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(10,30,48,0.06);
}
.org-card:hover { border-color: var(--p-blue); box-shadow: 0 4px 16px rgba(13,76,123,0.18); }
.org-card.director {
    border-color: var(--p-blue);
    background: linear-gradient(135deg, var(--p-blue), #0a3d63);
    color: #fff; width: 200px;
}
.org-card.deputy { background: linear-gradient(135deg, #f0f6fb, #e8f4ea); border-color: var(--p-blue); }
.org-card.department { width: 140px; font-size: 0.82rem; }
.org-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,0.5); margin-bottom: 0.5rem; }
.org-card .node-name { font-weight: 700; font-size: 0.88rem; }
.org-card .node-role { font-size: 0.75rem; opacity: 0.75; margin-top: 2px; }
.org-children {
    position: relative; display: flex;
    justify-content: center; gap: 1rem;
    margin-top: 1.5rem; padding-top: 1rem;
}
.org-children::before {
    content: ''; position: absolute; top: 0; left: 50%;
    transform: translateX(-50%); width: 2px; height: 1rem;
    background: var(--p-blue);
}
.org-children::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: var(--p-blue);
}
.org-accordion .accordion-button { font-weight: 600; color: var(--p-navy); }
.org-accordion .accordion-button:not(.collapsed) { background: var(--p-light); color: var(--p-blue); }

/* ============================================================
   Appointment Wizard (for appointment page)
   ============================================================ */
.appointment-wizard .step-indicator {
    display: flex; justify-content: center;
    margin-bottom: 2.5rem; position: relative;
}
.appointment-wizard .step-indicator::before {
    content: ''; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 70%; height: 2px;
    background: var(--p-border); z-index: 0;
}
.appointment-wizard .step {
    position: relative; z-index: 1;
    display: flex; flex-direction: column;
    align-items: center; gap: 0.4rem; flex: 1;
}
.appointment-wizard .step-circle {
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem;
    border: 2px solid var(--p-border); background: #fff;
    color: #adb5bd; transition: all var(--transition);
}
.appointment-wizard .step-label {
    font-size: 0.72rem; font-weight: 600;
    color: #adb5bd; text-align: center;
    max-width: 80px; transition: color var(--transition);
}
.appointment-wizard .step.active .step-circle { background: var(--p-blue); border-color: var(--p-blue); color: #fff; }
.appointment-wizard .step.active .step-label { color: var(--p-blue); }
.appointment-wizard .step.completed .step-circle { background: var(--p-teal); border-color: var(--p-teal); color: #fff; }
.appointment-wizard .spec-card {
    border: 2px solid var(--p-border); border-radius: 14px;
    padding: 1.25rem; text-align: center; cursor: pointer;
    transition: all var(--transition);
}
.appointment-wizard .spec-card:hover,
.appointment-wizard .spec-card.selected { border-color: var(--p-blue); background: var(--p-light); }
.appointment-wizard .spec-icon { font-size: 2.5rem; color: var(--p-blue); margin-bottom: 0.5rem; }
.appointment-wizard .spec-name { font-weight: 700; font-size: 0.95rem; }
.appointment-wizard .spec-count { font-size: 0.8rem; color: var(--p-muted); }
.time-slot {
    display: inline-flex; align-items: center; justify-content: center;
    border: 2px solid var(--p-border); border-radius: 8px;
    padding: 0.4rem 0.9rem; font-size: 0.88rem; font-weight: 600;
    cursor: pointer; transition: all var(--transition); color: var(--p-navy);
}
.time-slot:hover, .time-slot.selected { background: var(--p-blue); border-color: var(--p-blue); color: #fff; }
.time-slot.disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid { columns: 3; column-gap: 1rem; }
.gallery-item { break-inside: avoid; margin-bottom: 1rem; border-radius: 10px; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; display: block; transition: transform 0.4s ease; }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(13,76,123,0.7);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity var(--transition);
}
.gallery-overlay .bi { color: #fff; font-size: 2rem; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ============================================================
   Section titles (for other pages)
   ============================================================ */
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--p-navy);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.section-divider {
    width: 36px; height: 3px;
    background: var(--p-teal);
    border-radius: 2px;
    margin: 0.75rem auto 1.25rem;
}

/* ============================================================
   Contact
   ============================================================ */
.contact-map iframe { border-radius: 16px; box-shadow: 0 4px 24px rgba(10,30,48,0.1); }

/* ============================================================
   Footer
   ============================================================ */
.footer-main {
    background: var(--p-navy);
    color: rgba(255,255,255,0.72);
    padding: 4rem 0 1.5rem;
}
.footer-brand {
    font-size: 1.25rem; font-weight: 800; color: #fff;
    display: flex; align-items: center; gap: 0.5rem;
    margin-bottom: 1rem;
}
.footer-main h6 {
    color: #fff; font-weight: 700; font-size: 0.88rem;
    text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a {
    color: rgba(255,255,255,0.6); text-decoration: none;
    font-size: 0.86rem; transition: color var(--transition);
}
.footer-links a:hover { color: var(--p-teal); }
.footer-contact-item { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.75rem; font-size: 0.86rem; }
.footer-contact-item .bi { color: var(--p-teal); font-size: 1rem; margin-top: 1px; flex-shrink: 0; }
.social-links { display: flex; gap: 0.5rem; }
.social-links a {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.65); font-size: 1rem;
    transition: all var(--transition); text-decoration: none;
}
.social-links a:hover { background: var(--p-teal); color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.8rem;
}

/* ============================================================
   Utilities
   ============================================================ */
.bg-clinic { background: var(--p-light); }
.text-clinic { color: var(--p-blue); }
.text-clinic-green { color: var(--p-teal); }
.btn-clinic {
    background: var(--p-blue); border-color: var(--p-blue);
    color: #fff; font-weight: 600; border-radius: 8px;
    padding: 0.6rem 1.4rem; transition: all var(--transition);
}
.btn-clinic:hover { background: #0a3d63; border-color: #0a3d63; color: #fff; }
.btn-clinic-outline {
    border: 2px solid var(--p-blue); color: var(--p-blue);
    font-weight: 600; border-radius: 8px; padding: 0.55rem 1.4rem;
    background: transparent; transition: all var(--transition);
}
.btn-clinic-outline:hover { background: var(--p-blue); color: #fff; }

.page-loader {
    position: fixed; inset: 0; z-index: 9999;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.4s ease;
}
.page-loader.hidden { opacity: 0; pointer-events: none; }
.toast-container-fixed { position: fixed; top: 130px; right: 1.5rem; z-index: 1090; }
.breadcrumb-clinic {
    background: var(--p-light); padding: 1rem 0;
    margin-bottom: 0; border-bottom: 1px solid var(--p-border);
}
.breadcrumb-clinic .breadcrumb { margin-bottom: 0; }
.breadcrumb-clinic .breadcrumb-item.active { color: var(--p-blue); font-weight: 600; }

.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.fs-12  { font-size: 0.75rem; }
.hover-bg:hover { background: rgba(255,255,255,0.08); }
.transition { transition: all 0.2s ease; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.4s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991.98px) {
    body { padding-top: 76px; } /* no top bar on mobile */
    .doctor-card .doctor-img-wrapper { height: 220px; }
    .gallery-grid { columns: 2; }
    .stat-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
    /* Keep brand + mobile toggles on one row */
    .navbar-main > .container { flex-wrap: nowrap; }
    .navbar-main .navbar-brand { flex: 1 1 0; min-width: 0; overflow: hidden; }
    .navbar-main .navbar-brand > div { min-width: 0; overflow: hidden; }
    .navbar-main .navbar-brand > div > span { white-space: break-spaces; overflow: hidden; text-overflow: ellipsis; display: block; }
    .stat-col:last-child { border-bottom: none; }
    .org-tree { display: none; }
    .org-accordion { display: block; }
    .why-image-placeholder { min-height: 300px; }
}
@media (min-width: 992px) {
    .org-accordion { display: none; }
}
@media (max-width: 480px) {
    .gallery-grid { columns: 1; }
}

/* ===== Home Page ===== */

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }

@media (max-width: 991px) {
    .appt-widget { margin-top: 2.5rem; }
    .stat-col {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .stat-col:last-child { border-bottom: none; }
    .stat-col-num { font-size: 2.4rem; }
    .why-image-placeholder { min-height: 300px; margin-bottom: 2.5rem; }
}

/* ===== Chief Doctor Card ===== */
.chief-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.chief-card-body {
    padding: 1.75rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}
.chief-card-photo-wrap {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 24px rgba(0,0,0,0.14);
    border: 3px solid #f0f4f8;
}
.chief-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.chief-card-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: #071D30;
    font-weight: 400;
    margin-bottom: 0.3rem;
}
.chief-card-post {
    font-size: 0.78rem;
    color: #17A896;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}
.chief-card-quote {
    font-size: 0.85rem;
    line-height: 1.75;
    color: #555;
    font-style: italic;
    border-left: 3px solid #17A896;
    text-align: left;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
    margin: 0;
}

/* ===== Mayor Card ===== */
.mayor-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
}
.mayor-card-body {
    padding: 1.75rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}
.mayor-card-photo-wrap {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 24px rgba(0,0,0,0.14);
    border: 3px solid #f0f4f8;
}
.mayor-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.mayor-card-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: #071D30;
    font-weight: 400;
    margin-bottom: 0.3rem;
}
.mayor-card-post {
    font-size: 0.78rem;
    color: #7B4D0D;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

/* ===== President Card ===== */
.president-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.president-card-body {
    padding: 1.75rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}
.president-card-photo-wrap {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 24px rgba(0,0,0,0.14);
    border: 3px solid #f0f4f8;
}
.president-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.president-card-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: #071D30;
    font-weight: 400;
    margin-bottom: 0.3rem;
}
.president-card-post {
    font-size: 0.78rem;
    color: #0D4C7B;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}
.president-card-quote {
    font-size: 0.85rem;
    line-height: 1.75;
    color: #555;
    font-style: italic;
    border-left: 3px solid #0D4C7B;
    text-align: left;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
    margin: 0;
}

/* ===== Hero Slider ===== */
.hero-swiper-wrap {
    position: relative;
    overflow: hidden;
}
.hero-swiper {
    width: 100%;
    min-height: 600px;
}
.hero-swiper .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 600px;
    overflow: hidden;
}
.hero-slide-1 { background: linear-gradient(135deg, #071D30 0%, #0A2D4A 45%, #0D4C7B 100%); }
.hero-slide-2 { background: linear-gradient(135deg, #0A2D1E 0%, #0D3D2C 45%, #2F9B6F 100%); }
.hero-slide-3 { background: linear-gradient(135deg, #1A0A30 0%, #2D1047 45%, #17A896 100%); }
.hero-slide-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}
.hero-slide-blob-1 {
    position: absolute;
    top: -100px; right: -80px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 65%);
    pointer-events: none;
}
.hero-slide-blob-2 {
    position: absolute;
    bottom: -120px; left: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 65%);
    pointer-events: none;
}
.hero-slide-inner {
    position: relative;
    z-index: 2;
    padding: 5rem 0 4.5rem;
    width: 100%;
}
.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 0.35rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}
.slide-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.14;
    letter-spacing: -0.015em;
    margin-bottom: 1.2rem;
}
.slide-title em {
    font-style: italic;
    color: rgba(255,255,255,0.7);
}
.slide-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    max-width: 540px;
    line-height: 1.72;
    margin-bottom: 2rem;
}
.slide-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: #fff;
    color: #0D4C7B;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}
.hero-slide-2 .slide-btn-primary { color: #2F9B6F; }
.hero-slide-3 .slide-btn-primary { color: #17A896; }
.slide-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.28);
    color: inherit;
}
.slide-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: transparent;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.35);
    transition: all 0.3s ease;
}
.slide-btn-outline:hover {
    border-color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.slide-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.slide-trust-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}
.slide-trust-check {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem;
    color: #fff;
    flex-shrink: 0;
}
.slide-stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    color: #fff;
    height: 100%;
}
.slide-stat-card h5 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.5rem;
}
.slide-stat-num {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 400;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.slide-stat-num em { font-style: normal; color: rgba(255,255,255,0.55); font-size: 1.6rem; }
.slide-stat-lbl { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: rgba(255,255,255,0.22);
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}
.hero-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.4);
    opacity: 1;
    transition: all 0.3s ease;
}
.hero-swiper .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 5px;
    background: #fff;
}
.hero-swiper .swiper-pagination {
    bottom: 20px;
}
.hero-swiper-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255,255,255,0.15);
    width: 100%;
    z-index: 10;
}
.hero-swiper-progress-bar {
    height: 100%;
    background: rgba(255,255,255,0.55);
    width: 0%;
    transition: width linear;
}
@media (max-width: 991px) {
    .hero-swiper, .hero-swiper .swiper-slide { min-height: 520px; }
    .hero-slide-inner { padding: 3.5rem 0 3rem; }
    .slide-stat-card { margin-top: 1.5rem; }
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev { display: none; }
}
@media (max-width: 575px) {
    .hero-swiper, .hero-swiper .swiper-slide { min-height: 480px; }
    .slide-trust { gap: 0.9rem; }
}

/* ============================================================
   Video + Text section
   ============================================================ */
.video-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #071D30 0%, #0A2D4A 50%, var(--p-blue) 100%);
    color: #fff;
}
.video-grid-deco {
    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;
    pointer-events: none;
    mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 75%);
}
.video-desc {
    color: rgba(255,255,255,0.78);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.video-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}
.video-points li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.98rem;
    padding: 0.4rem 0;
}
.video-points li .bi {
    color: var(--p-teal);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.video-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.12);
}
.video-embed,
.video-facade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-facade {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background:
        radial-gradient(circle at 50% 45%, rgba(23,168,150,0.25), transparent 60%),
        linear-gradient(135deg, #0A2D4A 0%, #071D30 100%);
    cursor: pointer;
}
.video-play-btn {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: var(--p-blue);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.6);
    animation: video-pulse 2.2s infinite;
    transition: transform var(--transition);
}
.video-play-btn:hover { transform: scale(1.08); }
.video-facade-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}
@keyframes video-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.45); }
    70%  { box-shadow: 0 0 0 22px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

@media (max-width: 991px) {
    .video-frame { margin-top: 0.5rem; }
}
