/* =============================================
   CHUGHTAI CLINIC DUBAI - GLOBAL STYLES
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
    /* Brand colors */
    --color-primary: #1a2a6c;          /* deep navy */
    --color-primary-dark: #131f52;     /* darker navy */
    --color-primary-light: #2c3e8e;    /* lighter navy */
    --color-accent: #c9a961;           /* gold accent */
    --color-emergency: #e63946;        /* red for emergency */

    /* Neutrals */
    --color-text: #1a2a6c;
    --color-text-muted: #6b7280;
    --color-text-light: #9ca3af;
    --color-border: #e5e7eb;
    --color-bg: #ffffff;
    --color-bg-soft: #f9fafb;

    /* Hero gradient stops */
    --hero-grad-1: #f6f4fb;            /* near-white lavender */
    --hero-grad-2: #f8eef0;             /* soft pink */
    --hero-grad-3: #fde9ec;             /* peach pink */

    /* Sizing */
    --container-max: 1280px;
    --header-height: 84px;
    --topbar-height: 44px;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-md: 0 4px 12px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 16px 40px rgba(26, 42, 108, 0.12);
    --shadow-xl: 0 24px 60px rgba(26, 42, 108, 0.18);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: 0.25s ease;

    /* Fonts */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
    background-color: var(--color-primary);
    color: #fff;
    font-size: 13.5px;
    font-weight: 500;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.top-bar-item i {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    font-size: 11px;
    color: #fff;
    flex-shrink: 0;
}

.top-bar-emergency i {
    color: var(--color-emergency);
    border-color: var(--color-emergency);
}

.top-bar-emergency a {
    color: #fff;
    font-weight: 600;
}

.top-bar-emergency a:hover {
    color: #ffd1d4;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
    background-color: #fff;
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

/* Nav */
.site-nav {
    align-self: stretch;
    display: flex;
}

.site-nav .nav-list {
    display: flex;
    align-items: stretch;
    gap: 4px;
    height: 100%;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

/* Mega-menu trigger: static so its mega-menu positions against .site-header */
.nav-item-has-mega {
    position: static;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 100%;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    border-radius: 8px;
    position: relative;
    transition: color var(--transition), background-color var(--transition);
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    top: 50%;
    margin-top: 14px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

/* ============================================================
   Meno Mind menu item — feminine highlight (pink text + spa icon)
   Clean text-only treatment, no pill background. Uses the
   Meno Mind brand palette (#D66A9C, #b02a6a).
   ============================================================ */
.nav-item--menomind .nav-link {
    color: #b02a6a;
    font-weight: 600;
    transition: color .2s;
}
.nav-item--menomind .nav-link:hover,
.nav-item--menomind .nav-link.active {
    color: #5a1f3d;
}
/* Active underline uses brand pink instead of navy */
.nav-item--menomind .nav-link.active::after {
    background: #D66A9C;
}

.nav-menomind-icon {
    font-size: 13px;
    margin-right: 2px;
    color: #D66A9C;
    transition: color .2s, transform .35s cubic-bezier(.2,.7,.2,1);
}
.nav-item--menomind .nav-link:hover .nav-menomind-icon,
.nav-item--menomind .nav-link.active .nav-menomind-icon {
    color: #5a1f3d;
    transform: rotate(-12deg) scale(1.1);
}

/* Mobile variant — keep the icon + pink text but no pill background */
.mobile-nav-item--menomind .mobile-nav-link {
    color: #b02a6a;
    font-weight: 600;
}
.mobile-nav-item--menomind .mobile-nav-link .nav-menomind-icon {
    color: #D66A9C;
    margin-right: 8px;
}

.nav-caret {
    font-size: 11px;
    margin-top: 1px;
    transition: transform var(--transition);
}

.nav-item-has-mega:hover .nav-caret,
.nav-item-has-mega:focus-within .nav-caret {
    transform: rotate(180deg);
}

/* =============================================
   MEGA MENU
   ============================================= */
.mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: linear-gradient(180deg, #f4f6fc 0%, #eaf0f8 100%);
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
    border-top: 1px solid rgba(26, 42, 108, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    /* Slow hide: gives ~250ms grace period for cursor to reach the menu */
    transition:
        opacity 0.25s ease 0.25s,
        transform 0.25s ease 0.25s,
        visibility 0.25s ease 0.25s;
    z-index: 990;
    pointer-events: none;
}

.nav-item-has-mega:hover .mega-menu,
.nav-item-has-mega:focus-within .mega-menu,
.mega-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    /* Open immediately, no delay */
    transition-delay: 0s;
}

/* ===== Compact "More" dropdown (shown only when customer is signed in) ===== */
.nav-item-has-dropdown {
    position: relative;
}
.nav-more-trigger {
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    padding: 0;
}
.nav-dropdown {
    list-style: none;
    margin: 0;
    padding: 8px;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s, transform .18s, visibility .18s;
    z-index: 999;
}
.nav-item-has-dropdown:hover > .nav-dropdown,
.nav-item-has-dropdown:focus-within > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-item-has-dropdown:hover .nav-caret,
.nav-item-has-dropdown:focus-within .nav-caret {
    transform: rotate(180deg);
}
.nav-dropdown li { list-style: none; }
.nav-dropdown-link {
    display: block;
    padding: 9px 14px;
    border-radius: 6px;
    color: var(--color-text, #374151);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background .12s, color .12s;
}
.nav-dropdown-link:hover,
.nav-dropdown-link.active {
    background: var(--color-primary-soft, #eef0ff);
    color: var(--color-primary, #1e2a78);
}

.mega-menu-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 36px 32px 40px;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px 18px;
}

/* ---- Split mega-menu: category sidebar + active panel + insurance partners ---- */
.mega-menu-inner-split {
    display: grid;
    grid-template-columns: 220px 1fr 1px 260px;
    gap: 24px;
    align-items: stretch;
}

.mega-services { min-width: 0; }

.mega-menu-grid.mega-menu-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 14px;
}

/* ============================================================
   Mega-menu — Category sidebar (left column)
   ============================================================ */
.mega-cats {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-right: 1px solid rgba(26, 42, 108, 0.08);
    padding-right: 4px;
    min-width: 0;
}
.mega-cats .mega-side-title {
    margin-bottom: 10px;
}

.mega-cat {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 9px 12px 9px 8px;
    border-radius: 9px;
    text-align: left;
    color: var(--color-text);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    transition: background-color .15s, color .15s;
}
.mega-cat:hover {
    background: rgba(26, 42, 108, 0.06);
    color: var(--color-primary);
}
.mega-cat.is-active {
    background: rgba(26, 42, 108, 0.10);
    color: var(--color-primary);
    font-weight: 600;
}
.mega-cat-icon {
    width: 28px; height: 28px;
    border-radius: 7px;
    background: #eef0ff;
    color: var(--color-primary);
    display: grid; place-items: center;
    font-size: 13px;
    flex-shrink: 0;
    transition: background-color .15s;
}
.mega-cat:hover .mega-cat-icon,
.mega-cat.is-active .mega-cat-icon {
    background: var(--color-primary);
    color: #fff;
}
.mega-cat-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mega-cat-arrow {
    font-size: 10px;
    opacity: 0;
    transition: opacity .15s, transform .2s;
}
.mega-cat:hover .mega-cat-arrow,
.mega-cat.is-active .mega-cat-arrow {
    opacity: 0.7;
    transform: translateX(2px);
}
a.mega-cat {
    text-decoration: none;
}

/* "View all services" link below the category sidebar */
.mega-cats-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    border-top: 1px solid rgba(26, 42, 108, 0.08);
    transition: gap .15s, color .15s;
}
.mega-cats-all:hover {
    gap: 12px;
    color: var(--color-primary-dark, #131f52);
}
.mega-cats-all i { font-size: 10px; }

/* "View all in {Category}" link at the bottom of an active panel */
.mega-cat-panel-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: 14px;
    padding-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    border-top: 1px solid rgba(26, 42, 108, 0.08);
    width: 100%;
    transition: gap .15s, color .15s;
}
.mega-cat-panel-all:hover {
    gap: 12px;
    color: var(--color-primary-dark, #131f52);
}
.mega-cat-panel-all i { font-size: 10px; }

/* ============================================================
   Mega-menu — Category content panels (middle column)
   ============================================================ */
.mega-cat-panels {
    min-width: 0;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}
.mega-cat-panel {
    display: none;
    flex-direction: column;
    flex: 1;
}
.mega-cat-panel.is-active { display: flex; }

.mega-cat-panel-head {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(26, 42, 108, 0.08);
}
.mega-cat-panel-title {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}
.mega-cat-panel-sub {
    display: block;
    font-size: 12.5px;
    color: var(--color-text-muted);
    margin-top: 4px;
    line-height: 1.45;
}

.mega-cat-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 12px;
    align-content: start;
}

.mega-cat-panel-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px 16px;
    color: var(--color-text-muted);
    text-align: center;
    font-size: 13.5px;
}
.mega-cat-panel-empty i {
    font-size: 28px;
    color: rgba(26, 42, 108, 0.25);
}

/* Card body wraps title + price under the image */
.mega-card-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}
.mega-card-price {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    opacity: 0.75;
    line-height: 1;
}

.mega-menu-divider {
    display: block;
    width: 1px;
    align-self: stretch;
    background: rgba(26, 42, 108, 0.10);
    min-height: 100%;
}

.mega-side-title {
    display: block;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 14px;
}

.mega-insurance { display: flex; flex-direction: column; }

.mega-ins-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mega-ins-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border: 1px solid #eef0f7;
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-primary);
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.mega-ins-item:hover {
    border-color: var(--color-primary);
    background: #f4f6fc;
    transform: translateX(2px);
}

.mega-ins-logo {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #eef0f7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    flex-shrink: 0;
    overflow: hidden;
}
.mega-ins-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mega-ins-name {
    font-size: 13px;
    font-weight: 600;
}

.mega-ins-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    border-top: 1px solid #eef0f7;
    padding-top: 12px;
    margin-top: auto;
    transition: gap 0.2s ease, color 0.2s ease;
}
.mega-ins-all:hover {
    gap: 12px;
    color: var(--color-primary-dark, #131f52);
}
.mega-ins-all i { font-size: 10px; }

/* ---- Mobile submenu — insurance section header + divider ---- */
.mobile-submenu-divider {
    height: 1px;
    background: rgba(26, 42, 108, 0.10);
    margin: 8px 0;
    list-style: none;
}
.mobile-submenu-heading {
    list-style: none;
    font-family: var(--font-sans);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    padding: 8px 12px 4px;
}

.mega-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px 10px 10px;
    border-radius: 12px;
    background-color: transparent;
    transition: background-color var(--transition), transform var(--transition);
    color: var(--color-primary);
}

.mega-card:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.mega-card-img {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(16, 24, 40, 0.06);
}

.mega-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.mega-card:hover .mega-card-img img {
    transform: scale(1.08);
}

.mega-card-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.btn-book-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}

.btn-book-header:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(26, 42, 108, 0.28);
}

.header-cart {
    position: relative;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 20px;
    border-radius: 50%;
    transition: background-color var(--transition);
}

.header-cart:hover {
    background-color: rgba(26, 42, 108, 0.08);
}

.cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: 8px;
    transition: background-color var(--transition);
}

.mobile-toggle:hover {
    background-color: rgba(26, 42, 108, 0.08);
}

.mobile-toggle .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.mobile-toggle.is-active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: calc(var(--topbar-height) + var(--header-height));
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    z-index: 998;
}

.mobile-menu.open {
    max-height: 600px;
}

.mobile-nav-list {
    padding: 16px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    display: block;
    padding: 14px 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    transition: background-color var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background-color: rgba(26, 42, 108, 0.06);
    color: var(--color-primary);
}

.mobile-book-btn {
    margin-top: 14px;
    width: 100%;
    text-align: center;
}

/* Mobile accordion (Services) */
.mobile-nav-accordion {
    border-bottom: 1px solid var(--color-border);
}

.mobile-nav-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    border-bottom: none;
}

.mobile-nav-toggle:hover {
    background-color: rgba(26, 42, 108, 0.06);
    color: var(--color-primary);
}

.mobile-nav-caret {
    font-size: 12px;
    transition: transform var(--transition);
}

.mobile-nav-accordion.open .mobile-nav-caret {
    transform: rotate(180deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.mobile-nav-accordion.open .mobile-submenu {
    max-height: 800px;
}

.mobile-submenu li {
    list-style: none;
}

.mobile-submenu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--color-primary);
    transition: background-color var(--transition);
}

.mobile-submenu-link:hover {
    background-color: rgba(26, 42, 108, 0.06);
}

.mobile-submenu-link img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f3f4f6;
}

/* Mobile Services drill-down panel (categories -> that category's services) */
.mobile-services-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(90vw, 380px);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    box-shadow: -16px 0 50px rgba(16, 24, 40, 0.22);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.mobile-services-panel.open { transform: translateX(0); }

.msp-level {
    display: none;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
}
.msp-level.is-active { display: flex; }

.msp-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: var(--color-primary);
    color: #fff;
}
.msp-title {
    flex: 1;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
}
.msp-back, .msp-close {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.msp-back:hover, .msp-close:hover { background: rgba(255, 255, 255, 0.28); }

.msp-list {
    list-style: none;
    margin: 0;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.msp-cat {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 12px;
    border: none;
    border-bottom: 1px solid var(--color-border);
    background: none;
    text-align: left;
    cursor: pointer;
    border-radius: 10px;
    color: var(--color-text);
    font-size: 15.5px;
    font-weight: 600;
}
.msp-cat:hover { background: rgba(26, 42, 108, 0.06); }
.msp-cat-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eef0ff;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.msp-cat-name { flex: 1; }
.msp-cat-arrow { font-size: 12px; color: var(--color-text-light); }

.msp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--color-primary);
    font-size: 14.5px;
    font-weight: 500;
}
.msp-item:hover { background: rgba(26, 42, 108, 0.06); }
.msp-item img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f3f4f6;
}
.msp-all {
    margin: 8px 16px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 14px;
}
.mobile-services-trigger { cursor: pointer; }

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    position: relative;
    background: linear-gradient(115deg,
        var(--hero-grad-1) 0%,
        var(--hero-grad-1) 35%,
        var(--hero-grad-2) 65%,
        var(--hero-grad-3) 100%);
    overflow: hidden;
    padding: 60px 0 220px;
    min-height: 640px;
}

/* Background video — full bleed behind content */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

/* Soft brand-tinted overlay — full opacity on the left for text readability,
   fading to fully transparent on the right so the video reads clearly. */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(95deg,
            rgba(245, 240, 250, 0.92) 0%,
            rgba(245, 240, 250, 0.90) 28%,
            rgba(245, 240, 250, 0.55) 48%,
            rgba(245, 235, 240, 0.18) 70%,
            rgba(245, 235, 240, 0)    88%),
        radial-gradient(circle at 12% 90%, rgba(220, 220, 245, 0.40), transparent 50%);
}

.hero-container {
    position: relative;
    z-index: 2;
}

/* Left content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    min-height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 16px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    font-weight: 600;
    line-height: 1.08;
    color: var(--color-primary);
    margin: 0 0 24px;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 17px;
    line-height: 1.65;
    color: var(--color-text);
    opacity: 0.85;
    max-width: 460px;
    margin: 0 0 36px;
}

.hero-cta {
    display: grid;
    grid-template-columns: auto auto;
    gap: 14px;
    margin-bottom: 56px;
    /* Shrink the grid to its content so the Meno Mind row (which spans both
       columns) is exactly as wide as Book + Explore, not the full container. */
    justify-content: start;
    width: fit-content;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: all var(--transition);
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary-solid {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 8px 18px rgba(26, 42, 108, 0.22);
}

.btn-primary-solid:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(26, 42, 108, 0.32);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary-outline:hover {
    background-color: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(26, 42, 108, 0.22);
}

/* Meno Mind hero CTA — uses the exact brand palette from menomind.css
   (--mm-maroon #5a1f3d, --mm-pink-bright #D66A9C). Solid confident maroon
   to match the .btn-mm-solid used on the Meno Mind page itself. */
.btn-menomind {
    position: relative;
    overflow: hidden;
    background: #5a1f3d;
    color: #fff;
    border-color: #5a1f3d;
    box-shadow: 0 10px 22px rgba(90, 31, 61, 0.28);
    padding-right: 22px;
    gap: 10px;
    z-index: 1;
    /* Spans both grid columns so width = Book + gap + Explore */
    grid-column: 1 / -1;
}
.btn-menomind:hover {
    color: #fff;
    background: #461630;
    border-color: #461630;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(90, 31, 61, 0.38);
}
.btn-menomind i {
    font-size: 16px;
    color: #f6c8d5;
}
.btn-menomind > span:not(.btn-menomind-glow):not(.btn-menomind-tag) {
    letter-spacing: 0.3px;
}
/* "FOR WOMEN" pill — uses the bright pink accent, crisp and on-brand */
.btn-menomind-tag {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background: #D66A9C;
    color: #fff;
    padding: 4px 9px;
    border-radius: 999px;
    margin-left: 4px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(214, 106, 156, 0.45);
}
/* Soft pink sheen that sweeps across on hover */
.btn-menomind-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(246, 200, 213, 0.18) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
    pointer-events: none;
    z-index: -1;
}
.btn-menomind:hover .btn-menomind-glow {
    transform: translateX(100%);
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-sans);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: flex-start;
}

.stat-number .plus {
    font-size: 28px;
    margin-left: 2px;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
}


/* =============================================
   APPOINTMENT SECTION
   ============================================= */
.appointment-section {
    position: relative;
    margin-top: -160px;
    padding-bottom: 80px;
    z-index: 5;
}

.appointment-card {
    background-color: #fff;
    border-radius: var(--radius-xl);
    padding: 36px 40px 32px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(26, 42, 108, 0.06);
}

.appointment-title {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin: 0 0 28px;
}

.appointment-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr auto;
    gap: 14px;
    align-items: stretch;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-control {
    width: 100%;
    height: 56px;
    padding: 0 44px 0 18px;
    background-color: #fff;
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--color-text);
    appearance: none;
    -webkit-appearance: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control::placeholder {
    color: var(--color-text-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(26, 42, 108, 0.1);
}

.select-wrap,
.input-icon-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.select-arrow,
.input-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    pointer-events: none;
    font-size: 14px;
    opacity: 0.7;
}

select.form-control {
    cursor: pointer;
    color: var(--color-text-light);
}

select.form-control.has-value {
    color: var(--color-text);
}

/* Search button */
.btn-search {
    width: 100%;
    height: 56px;
    padding: 0 38px;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    transition: all var(--transition);
    box-shadow: 0 8px 18px rgba(26, 42, 108, 0.22);
}

.btn-search:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(26, 42, 108, 0.32);
}

.form-group-btn {
    min-width: 160px;
}

/* Trust row */
.appointment-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.trust-icon {
    color: var(--color-primary);
    font-size: 16px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 42, 108, 0.08);
    border-radius: 50%;
}

/* =============================================
   TRUST BADGES BAR
   ============================================= */
.trust-badges-section {
    padding: 0 0 32px;
}

.trust-badges-bar {
    background: linear-gradient(135deg, #1f2f8c 0%, #2540b8 50%, #1a2a6c 100%);
    border-radius: 18px;
    padding: 28px 16px;
    box-shadow: 0 18px 40px rgba(26, 42, 108, 0.22);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    position: relative;
    overflow: hidden;
}

.trust-badges-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.06), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.04), transparent 40%);
    pointer-events: none;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 4px 12px;
    text-align: center;
    position: relative;
    transition: transform var(--transition);
}

.trust-badge:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 56px;
    background: rgba(255, 255, 255, 0.18);
}

.trust-badge:hover {
    transform: translateY(-4px);
}

.trust-badge-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    transition: background-color var(--transition), transform var(--transition);
    backdrop-filter: blur(2px);
}

.trust-badge:hover .trust-badge-icon {
    background-color: rgba(255, 255, 255, 0.22);
    transform: scale(1.08);
}

.trust-badge-label {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

/* =============================================
   DEPARTMENTS SECTION
   ============================================= */
.departments-section {
    padding: 60px 0 80px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.section-header-text {
    flex: 1;
    min-width: 280px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.5px;
}

.btn-outline-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 24px;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 10px;
    transition: all var(--transition);
    background-color: transparent;
}

.btn-outline-link i {
    transition: transform var(--transition);
}

.btn-outline-link:hover {
    background-color: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(26, 42, 108, 0.22);
}

.btn-outline-link:hover i {
    transform: translateX(4px);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.dept-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background-color: #fff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.05);
    border: 1px solid rgba(26, 42, 108, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.dept-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 42, 108, 0) 0%, rgba(26, 42, 108, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.dept-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(26, 42, 108, 0.14);
    border-color: rgba(26, 42, 108, 0.18);
}

.dept-card:hover::before {
    opacity: 1;
}

.dept-card-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ecedf9 0%, #e0e2f3 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 24px;
    transition: transform 0.4s ease, background var(--transition);
}

.dept-card:hover .dept-card-icon {
    transform: rotate(-8deg) scale(1.06);
    background: linear-gradient(135deg, #1a2a6c 0%, #3848a3 100%);
    color: #fff;
}

.dept-card-body {
    flex: 1;
    min-width: 0;
}

.dept-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 4px;
    line-height: 1.25;
}

.dept-card-desc {
    font-size: 13.5px;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.45;
}

/* =============================================
   STATS BANNER
   ============================================= */
.stats-banner-section {
    padding: 0 0 80px;
}

.stats-banner {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=1600&q=80');
    background-position: center;
    background-size: cover;
    box-shadow: 0 20px 50px rgba(16, 24, 40, 0.18);
    isolation: isolate;
}

.stats-banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(26, 42, 108, 0.92) 0%, rgba(37, 64, 184, 0.85) 60%, rgba(26, 42, 108, 0.94) 100%);
    z-index: 1;
}

.stats-banner-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 56px 32px;
}

.stat-banner-item {
    text-align: center;
    color: #fff;
    position: relative;
    padding: 0 16px;
}

.stat-banner-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.stat-banner-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 24px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform var(--transition), background-color var(--transition);
}

.stat-banner-item:hover .stat-banner-icon {
    transform: translateY(-4px) scale(1.06);
    background: rgba(255, 255, 255, 0.18);
}

.stat-banner-value {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.stat-banner-label {
    font-size: 15px;
    font-weight: 500;
    opacity: 0.92;
}

/* =============================================
   POPULAR HEALTH PACKAGES
   ============================================= */
.packages-section {
    padding: 20px 0 60px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 28px;
}

.package-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.05);
    border: 1px solid rgba(26, 42, 108, 0.06);
    transition: transform 0.32s cubic-bezier(.2,.7,.2,1), box-shadow 0.32s cubic-bezier(.2,.7,.2,1), border-color 0.2s;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(26, 42, 108, 0.14);
    border-color: rgba(26, 42, 108, 0.12);
}

.package-card-img {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f3fa 0%, #e6e9f5 100%);
    display: block;
}

.package-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Anchor to top-center so faces aren't cropped (default center-center
       was cutting off heads in portrait-style product photos). */
    object-position: center 18%;
    display: block;
    transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}

.package-card:hover .package-card-img img {
    transform: scale(1.07);
}

/* Image overlay — subtle gradient that lifts on hover */
.package-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(26,42,108,0.18) 100%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
.package-card:hover .package-card-img::after { opacity: 1; }

/* Discount badge — top-left of image */
.package-card-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 11px;
    border-radius: 8px;
    box-shadow: 0 6px 14px rgba(220, 38, 38, 0.32);
    letter-spacing: 0.4px;
    z-index: 2;
    pointer-events: none;
}

.package-card-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
}

.package-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 8px;
    line-height: 1.25;
    /* Single line with ellipsis — guarantees every card aligns identically.
       Very long names (rare) gracefully truncate with "…". */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.package-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color .15s;
}
.package-card-title a:hover { color: #14206b; }

/* Subtitle tag — "92 Parameters" */
.package-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    padding: 4px 10px 4px 8px;
    background: #eef0ff;
    color: var(--color-primary);
    font-size: 11.5px;
    font-weight: 600;
    border-radius: 999px;
    letter-spacing: 0.2px;
    align-self: flex-start;
    line-height: 1;
}
.package-card-tag i { font-size: 10.5px; opacity: .85; }

.package-card-desc {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0 0 16px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 40px;
}

.package-card-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
    margin-top: auto;
    padding-top: 4px;
}

.price-now {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.4px;
    line-height: 1;
}

.price-old {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-light);
    text-decoration: line-through;
}

/* Primary CTA — full-width filled "Book An Appointment" */
.btn-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 46px;
    padding: 0 16px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #14206b 100%);
    border: 0;
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(26, 42, 108, 0.18);
    position: relative;
}
.btn-add-cart i { font-size: 13.5px; }
.btn-add-cart .btn-add-cart-arrow {
    transition: transform .25s cubic-bezier(.2,.7,.2,1);
    font-size: 11px;
    opacity: .85;
}
.btn-add-cart:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(26, 42, 108, 0.32);
}
.btn-add-cart:hover .btn-add-cart-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* Sub-CTA meta line — tiny reassurance row under the Book button */
.package-card-meta {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 8.5px;
    font-weight: 500;
    color: rgba(15, 23, 42, 0.6);
    letter-spacing: 0.25px;
    line-height: 1.2;
    text-transform: uppercase;
}
.package-card-meta-label {
    font-weight: 700;
    color: rgba(15, 23, 42, 0.75);
}
.package-card-meta-opt {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}
.package-card-meta-opt i {
    font-size: 9px;
    color: var(--color-primary);
    opacity: 0.85;
}
.package-card-meta-sep {
    opacity: 0.35;
    font-weight: 400;
}

/* Package features bar */
.package-features {
    background: #fff;
    border: 1px solid rgba(26, 42, 108, 0.08);
    border-radius: 14px;
    padding: 22px 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
}

.package-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 14px;
    position: relative;
}

.package-feature:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: rgba(26, 42, 108, 0.1);
}

.package-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(26, 42, 108, 0.08);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.package-feature-text {
    line-height: 1.35;
}

.package-feature-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.package-feature-sub {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* =============================================
   DOCTORS SECTION
   ============================================= */
.doctors-section {
    padding: 60px 0 80px;
}

.doctors-carousel-wrap {
    position: relative;
    padding: 0 0;
}

.doctors-swiper {
    overflow: hidden;
    padding: 4px 0;
}

.doctor-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.05);
    border: 1px solid rgba(26, 42, 108, 0.06);
    transition: transform 0.3s cubic-bezier(.2,.7,.2,1), box-shadow 0.3s cubic-bezier(.2,.7,.2,1), border-color 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

a.doctor-card {
    color: inherit;
    text-decoration: none;
}

.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(26, 42, 108, 0.14);
    border-color: rgba(26, 42, 108, 0.12);
}

.doctor-card-img {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(180deg, #f1f3fa 0%, #e6e9f5 100%);
}

.doctor-card-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.doctor-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Anchor near top so doctor's face is always visible */
    object-position: center 18%;
    display: block;
    transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}

.doctor-card:hover .doctor-card-img img {
    transform: scale(1.05);
}

/* Floating badges on the photo */
.doctor-card-badge {
    position: absolute;
    z-index: 2;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 7px;
    letter-spacing: 0.3px;
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
}
.doctor-card-badge-years {
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.doctor-card-badge-top {
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #14206b 100%);
    color: #fff;
    box-shadow: 0 6px 14px rgba(26, 42, 108, 0.32);
    text-transform: uppercase;
    font-size: 10.5px;
    letter-spacing: 0.6px;
    padding: 5px 11px;
}

.doctor-card-body {
    padding: 16px 16px 18px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.doctor-card-name {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 4px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.doctor-card-name a {
    color: inherit;
    text-decoration: none;
    transition: color .15s;
}
.doctor-card-name a:hover { color: #14206b; }

.doctor-card-specialty {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0 0 2px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doctor-card-sub {
    font-size: 12px;
    color: var(--color-text-light);
    margin: 0 0 14px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Reserves the line height even when the sub is empty so every card's
       Book Appointment button sits at the same y-coordinate. */
    min-height: 1.3em;
}
.doctor-card-sub.is-placeholder { visibility: hidden; }

/* Book Appointment button — outlined by default, filled when is-primary */
.doctor-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    margin-top: auto;
    background: transparent;
    border: 1.5px solid rgba(26, 42, 108, 0.18);
    color: var(--color-primary);
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.18s ease;
    text-decoration: none;
}
.doctor-card-cta i { font-size: 12px; }
.doctor-card-cta-arrow {
    transition: transform 0.22s cubic-bezier(.2,.7,.2,1);
    opacity: 0.7;
    font-size: 11px;
}
.doctor-card-cta:hover {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary) 0%, #14206b 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(26, 42, 108, 0.28);
}
.doctor-card-cta:hover .doctor-card-cta-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* Carousel nav buttons */
.doctors-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 8px 18px rgba(26, 42, 108, 0.3);
    transition: all var(--transition);
    z-index: 5;
}

.doctors-nav:hover {
    background: var(--color-primary-dark);
    transform: translateY(-50%) scale(1.08);
}

.doctors-nav.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.doctors-nav-prev {
    left: -22px;
}

.doctors-nav-next {
    right: -22px;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
    padding: 0 0 80px;
}

.testimonials-card {
    position: relative;
    background: linear-gradient(135deg, #f3eff8 0%, #ebe7f2 100%);
    border-radius: 22px;
    padding: 48px 44px 40px;
    overflow: hidden;
    isolation: isolate;
}

/* Dotted world map background */
.testimonials-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/world-map-dotted.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.testimonials-card > * {
    position: relative;
    z-index: 1;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.testimonials-header-text {
    flex: 1;
    min-width: 260px;
}

.testimonials-subtitle {
    font-size: 15px;
    color: var(--color-text-muted);
    margin: 8px 0 0;
}

.testimonials-rating-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 240px;
}

.rating-stars {
    color: #f5b800;
    font-size: 16px;
    display: flex;
    gap: 2px;
}

.rating-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.rating-score {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
}

.rating-meta {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Testimonial cards */
.testimonials-carousel-wrap {
    position: relative;
}

.testimonials-swiper {
    overflow: hidden;
    padding: 4px 0 50px;
}

.testimonial-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 26px;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(16, 24, 40, 0.1);
    background: #f1f3fa;
}

.testimonial-quote-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(26, 42, 108, 0.08);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.testimonial-quote {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0 0 18px;
    flex: 1;
}

.testimonial-quote::before {
    content: '“';
    font-family: var(--font-serif);
    font-size: 1.1em;
    margin-right: 1px;
}

.testimonial-quote::after {
    content: '”';
    font-family: var(--font-serif);
    font-size: 1.1em;
    margin-left: 1px;
}

.testimonial-stars {
    color: #f5b800;
    font-size: 14px;
    display: flex;
    gap: 2px;
    margin-bottom: 18px;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(26, 42, 108, 0.08);
}

.testimonial-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2px;
}

.testimonial-location {
    font-size: 13px;
    color: var(--color-text-muted);
}

.testimonial-flag {
    width: 32px;
    height: auto;
    max-height: 24px;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(16, 24, 40, 0.1);
}

/* Pagination */
.testimonials-pagination {
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.testimonials-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(26, 42, 108, 0.2);
    opacity: 1;
    transition: all var(--transition);
}

.testimonials-pagination .swiper-pagination-bullet-active {
    background: var(--color-primary);
    width: 28px;
    border-radius: 4px;
}

/* =============================================
   LATEST HEALTH ARTICLES
   ============================================= */
.articles-section {
    padding: 20px 0 70px;
}

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

.article-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
    border: 1px solid rgba(26, 42, 108, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    color: var(--color-text);
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(26, 42, 108, 0.16);
}

.article-card-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f3fa 0%, #e6e9f5 100%);
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.article-card:hover .article-card-img img {
    transform: scale(1.08);
}

.article-tag {
    position: absolute;
    bottom: 14px;
    left: 14px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
}

/* Category pills always use the brand colour (no per-category colours). */
.article-tag.tag-green,
.article-tag.tag-teal,
.article-tag.tag-amber,
.article-tag.tag-blue,
.article-tag.tag-purple,
.article-tag.tag-red,
.article-tag.tag-brand { background: linear-gradient(135deg, #1e2a78 0%, #2b3a99 100%); }

/* Bare category pills (e.g. blog listing cards that don't load article-blocks.css)
   — brand colour only. Scoped .blog-tile__tag/.article-tag rules above win where present. */
.tag-green, .tag-teal, .tag-amber, .tag-blue, .tag-purple, .tag-red, .tag-brand { background: #eef0ff; color: #1e2a78; }

.article-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.article-card-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.3;
    margin: 0;
    flex: 1;
}

.article-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    transition: gap var(--transition);
}

.article-read-more i {
    font-size: 12px;
    transition: transform var(--transition);
}

.article-card:hover .article-read-more {
    gap: 12px;
}

.article-card:hover .article-read-more i {
    transform: translateX(4px);
}

/* =============================================
   INSURANCE COVERAGE (homepage)
   ============================================= */
.insurance-coverage {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f4f6fc 100%);
}

/* Strip-only variant lives between Packages and Doctors on the homepage —
   surrounding sections already provide their own breathing room, so it
   gets minimal vertical padding. The strip card itself has internal
   padding so the row reads cleanly without a big top gap. */
.insurance-coverage--strip-only {
    padding: 0 0 24px;
    background: transparent;
    margin-top: -12px;
}
.insurance-coverage--strip-only .ic-partners-card {
    margin-top: 0;
}

/* --- 1. Hero band --- */
.ic-hero {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
}

.ic-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 14px;
}

.ic-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.12;
    color: var(--color-primary);
    margin: 0 0 18px;
    letter-spacing: -0.4px;
}

.ic-intro {
    font-family: var(--font-sans);
    font-size: 15.5px;
    line-height: 1.75;
    color: #4b5568;
    max-width: 520px;
    margin: 0;
}

.ic-hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.ic-hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 360px;
}

/* --- 2. Trusted partners card --- */
.ic-partners-card {
    background: #fff;
    border-radius: 24px;
    padding: 34px 40px;
    box-shadow: 0 16px 40px rgba(26, 42, 108, 0.06);
    border: 1px solid #eef0f7;
    margin-bottom: 22px;
}

.ic-partners-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 24px;
}
.ic-partners-line {
    flex: 0 0 60px;
    height: 1.5px;
    background: rgba(26, 42, 108, 0.18);
}

.ic-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.ic-partner-logo {
    height: 96px;
    background: #fff;
    border: 1px solid #eef0f7;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.ic-partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(50%) opacity(0.9);
    transition: filter 0.25s;
}
.ic-partner-logo:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(26, 42, 108, 0.10);
}
.ic-partner-logo:hover img { filter: grayscale(0%) opacity(1); }

/* --- 3. Navy "Check Coverage" card --- */
.ic-checker {
    background: linear-gradient(160deg, #1a2a6c 0%, #131f52 100%);
    color: #fff;
    border-radius: 28px;
    padding: 36px 40px;
    box-shadow: 0 22px 50px rgba(19, 31, 82, 0.20);
    overflow: hidden;
}

.ic-checker-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}
.ic-checker-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.ic-checker-title {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px;
}
.ic-checker-sub {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

/* 2-column grid: select | table */
.ic-checker-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.6fr;
    gap: 22px;
}

/* Each step block */
.ic-step {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    padding: 22px 22px 18px;
}

.ic-step-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.ic-step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-primary);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ic-step-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

/* Provider dropdown header (visual only) */
.ic-provider-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.72);
    font-size: 13.5px;
    margin-bottom: 12px;
}
.ic-provider-trigger i { font-size: 11px; }

/* Provider list */
.ic-provider-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ic-provider-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.25s, border-color 0.25s, transform 0.2s;
}
.ic-provider-item:hover,
.ic-provider-item:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}
.ic-provider-item.is-active {
    background: rgba(201, 169, 97, 0.14);
    border-color: var(--color-accent);
}

.ic-provider-logo {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 7px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    overflow: hidden;
}
.ic-provider-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.ic-provider-name {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

/* Coverage table */
.ic-table-wrap {
    overflow-x: auto;
    margin: 0 -4px;
    padding: 0 4px;
}
.ic-coverage-table {
    width: 100%;
    min-width: 540px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    color: var(--color-primary);
}
.ic-coverage-table th,
.ic-coverage-table td {
    padding: 14px 12px;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 13px;
    border-bottom: 1px solid #eef0f7;
    transition: background-color 0.25s, color 0.25s, opacity 0.25s;
}
.ic-coverage-table thead th {
    background: #f4f6fc;
    color: var(--color-primary);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.ic-coverage-table tbody tr:last-child th,
.ic-coverage-table tbody tr:last-child td { border-bottom: none; }
.ic-coverage-table .ic-plan-name {
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-primary);
    background: #fafbfe;
    padding-left: 18px;
}

/* Check / dash cells */
.ic-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
    font-size: 11px;
}
.ic-dash {
    color: #b5bbc8;
    font-weight: 700;
}

/* Active column highlight */
.ic-coverage-table[data-active-col] th[data-col],
.ic-coverage-table[data-active-col] td[data-col] {
    opacity: 0.5;
}
.ic-coverage-table[data-active-col="daman"]   th[data-col="daman"],
.ic-coverage-table[data-active-col="daman"]   td[data-col="daman"],
.ic-coverage-table[data-active-col="sukoon"]  th[data-col="sukoon"],
.ic-coverage-table[data-active-col="sukoon"]  td[data-col="sukoon"],
.ic-coverage-table[data-active-col="gig"]     th[data-col="gig"],
.ic-coverage-table[data-active-col="gig"]     td[data-col="gig"],
.ic-coverage-table[data-active-col="adnic"]   th[data-col="adnic"],
.ic-coverage-table[data-active-col="adnic"]   td[data-col="adnic"],
.ic-coverage-table[data-active-col="allianz"] th[data-col="allianz"],
.ic-coverage-table[data-active-col="allianz"] td[data-col="allianz"] {
    opacity: 1;
    background: rgba(26, 42, 108, 0.08);
}
.ic-coverage-table[data-active-col="daman"]   thead th[data-col="daman"],
.ic-coverage-table[data-active-col="sukoon"]  thead th[data-col="sukoon"],
.ic-coverage-table[data-active-col="gig"]     thead th[data-col="gig"],
.ic-coverage-table[data-active-col="adnic"]   thead th[data-col="adnic"],
.ic-coverage-table[data-active-col="allianz"] thead th[data-col="allianz"] {
    background: var(--color-primary);
    color: #fff;
}

/* Footer note */
.ic-checker-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 24px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
}
.ic-checker-footer i { color: var(--color-accent); font-size: 14px; }

/* === Tablet === */
@media (max-width: 1024px) {
    .ic-hero { grid-template-columns: 1fr; }
    .ic-hero-image { justify-content: center; }
    .ic-checker-grid { grid-template-columns: 1fr; }
    .ic-partners-grid { grid-template-columns: repeat(3, 1fr); }
}

/* === Mobile === */
@media (max-width: 768px) {
    .insurance-coverage { padding: 56px 0; overflow-x: hidden; }
    .ic-hero { gap: 20px; margin-bottom: 24px; text-align: center; }
    .ic-intro { margin-left: auto; margin-right: auto; }
    .ic-hero-image { justify-content: center; }
    .ic-hero-image img { width: 100%; max-height: 240px; object-fit: contain; }
    .ic-partners-card { padding: 24px 20px; border-radius: 18px; }
    .ic-partners-label { gap: 10px; font-size: 11.5px; letter-spacing: 2.5px; }
    .ic-partners-line { flex-basis: 28px; }
    .ic-partners-grid { grid-template-columns: repeat(2, 1fr); }
    .ic-partner-logo { height: 72px; padding: 10px 14px; }
    .ic-checker { padding: 24px 20px; border-radius: 20px; }
    .ic-checker-head { gap: 12px; margin-bottom: 20px; }
    .ic-checker-title { font-size: 22px; }
    .ic-step { padding: 18px 16px; }
    .ic-coverage-table { min-width: 460px; font-size: 12px; }
    .ic-coverage-table th, .ic-coverage-table td { padding: 11px 8px; }

    /* Table wrapper — give a small horizontal scroll hint and improve scroll feel */
    .ic-table-wrap {
        position: relative;
        margin: 0 -4px;
        padding: 0 4px 6px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }
    /* Right-edge fade hint so users know the table scrolls */
    .ic-table-wrap::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 6px;
        width: 28px;
        pointer-events: none;
        background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.92));
        border-radius: 0 12px 12px 0;
    }

    /* Sticky first column (PLAN NAME) — keeps context while scrolling right */
    .ic-coverage-table th:first-child,
    .ic-coverage-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        background: #fafbfe;
        box-shadow: 3px 0 8px -4px rgba(26, 42, 108, 0.12);
    }
    .ic-coverage-table thead th:first-child {
        background: #f4f6fc;
    }
    .ic-coverage-table .ic-plan-name {
        min-width: 110px;
        padding-left: 12px;
        padding-right: 10px;
    }

    /* Provider list items: a touch tighter so 5 stack neatly */
    .ic-provider-item { padding: 9px 12px; gap: 10px; }
    .ic-provider-logo { width: 28px; height: 28px; padding: 3px; }
    .ic-provider-name { font-size: 13.5px; }

    .ic-checker-grid { gap: 18px; }
    .ic-step-head { margin-bottom: 14px; }
    .ic-step-title { font-size: 16px; }
    .ic-step-num { width: 26px; height: 26px; font-size: 12px; }

    .ic-checker-footer { font-size: 12px; padding: 0 6px; }
}

/* Very small phones */
@media (max-width: 420px) {
    .ic-coverage-table { min-width: 420px; font-size: 11.5px; }
    .ic-coverage-table th, .ic-coverage-table td { padding: 10px 6px; }
    .ic-coverage-table thead th { font-size: 10.5px; letter-spacing: 0.6px; }
    .ic-coverage-table .ic-plan-name { font-size: 12.5px; min-width: 96px; }
    .ic-check { width: 20px; height: 20px; font-size: 10px; }
}

/* =============================================
   SITE FOOTER
   ============================================= */
.site-footer {
    position: relative;
    background:
        linear-gradient(180deg, #1a2a6c 0%, #131f52 100%);
    color: #fff;
    overflow: hidden;
    padding: 80px 0 0;
    isolation: isolate;
}

/* Skyline silhouette */
.footer-skyline {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=1600&q=70');
    background-position: center bottom;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
    mix-blend-mode: luminosity;
    pointer-events: none;
}

.footer-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 100%, rgba(50, 80, 220, 0.45), transparent 55%),
        radial-gradient(circle at 12% 0%, rgba(80, 50, 180, 0.25), transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.footer-container {
    position: relative;
    z-index: 1;
}

/* Footer CTA */
.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 36px 40px;
    margin-bottom: 64px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    backdrop-filter: blur(8px);
}

.footer-cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.2;
}

.footer-cta-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    max-width: 500px;
}

.footer-cta-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.btn-cta-light {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px;
    background: #fff;
    color: var(--color-primary);
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 10px;
    transition: all var(--transition);
}

.btn-cta-light:hover {
    background: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

.btn-cta-light i {
    transition: transform var(--transition);
}

.btn-cta-light:hover i {
    transform: translateX(4px);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all var(--transition);
}

.footer-socials a:hover {
    background: #fff;
    color: var(--color-primary);
    transform: translateY(-3px);
    border-color: #fff;
}

/* Footer grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr 1.3fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-col-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 14px 22px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    line-height: 0;
}
.footer-col-brand .footer-logo img {
    height: 50px;
    width: auto;
    display: block;
    filter: none;
}

.footer-about {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.footer-col-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 2px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
    transition: color var(--transition), padding-left var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.footer-contact li i {
    color: #fff;
    width: 16px;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.78);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: #fff;
}

/* Newsletter */
.footer-news-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 14px;
}

.footer-newsletter {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 4px;
    transition: border-color var(--transition);
}

.footer-newsletter:focus-within {
    border-color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    min-width: 0;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter button {
    padding: 10px 20px;
    background: #fff;
    color: var(--color-primary);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.footer-newsletter button:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

/* Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-copy {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 26px;
}

.footer-legal a {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--transition);
    position: relative;
}

.footer-legal a:hover {
    color: #fff;
}

.footer-legal li:not(:last-child) a::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.25);
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Large desktop */
@media (max-width: 1280px) {
    .container {
        max-width: 100%;
    }
}

/* Tablet landscape */
@media (max-width: 1200px) {
    .mega-menu-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1100px) {
    .nav-link {
        padding: 0 10px;
        font-size: 14px;
    }

    .header-inner {
        gap: 16px;
    }

    .top-bar {
        font-size: 12.5px;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .form-group-btn {
        grid-column: span 2;
    }

    /* Departments: 3 cols */
    .departments-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Trust badges: keep 6 but tighter */
    .trust-badges-bar {
        padding: 24px 8px;
    }

    .trust-badge {
        padding: 4px 6px;
    }

    .trust-badge-label {
        font-size: 13px;
    }

    /* Packages: 3 cols */
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .packages-grid .package-card:nth-child(4) {
        display: none;
    }

    /* Package features: 2x2 */
    .package-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 0;
    }

    .package-feature:nth-child(2n)::after {
        display: none;
    }

    /* Doctors carousel nav inside */
    .doctors-nav-prev { left: 8px; }
    .doctors-nav-next { right: 8px; }

    /* Testimonials card */
    .testimonials-card {
        padding: 36px 28px;
    }

    /* Footer: 3 cols + brand col stacks above */
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1.2fr;
        gap: 36px;
    }

    .footer-col-brand {
        grid-column: 1 / -1;
        max-width: 520px;
    }

    .footer-col-newsletter {
        grid-column: 1 / -1;
        max-width: 520px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    /* Trust badges: 3 cols */
    .trust-badges-bar {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px 8px;
        padding: 28px 12px;
    }

    .trust-badge:nth-child(3n)::after {
        display: none;
    }

    /* Stats banner: 2x2 */
    .stats-banner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 16px;
        padding: 48px 20px;
    }

    .stat-banner-item:nth-child(2n)::after {
        display: none;
    }

    /* Departments: 2 cols */
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Packages: 2 cols, show all 4 */
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .packages-grid .package-card:nth-child(4) {
        display: flex;
    }

    /* Testimonials header stack */
    .testimonials-header {
        flex-direction: column;
        align-items: stretch;
    }

    .testimonials-rating-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-width: 0;
    }

    /* Articles: 2 cols, hide 3rd */
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer CTA stack */
    .footer-cta {
        padding: 28px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }

    .footer-col-brand,
    .footer-col-newsletter {
        grid-column: 1 / -1;
        max-width: none;
    }

}

/* duplicate breakpoint kept below intentionally — original tablet rules continue */
@media (max-width: 992px) {
    :root {
        --header-height: 76px;
    }

    /* Top bar -> stack/hide on mobile */
    .top-bar {
        display: none;
    }

    /* Hide desktop nav, show mobile toggle */
    .site-nav {
        display: none;
    }

    .btn-book-header {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-menu {
        top: var(--header-height);
    }

    /* Hero: center content over video on tablet */
    .hero-section {
        padding: 40px 0 200px;
        min-height: 560px;
    }

    .hero-content {
        position: relative;
        max-width: 100%;
        min-height: 0;
        text-align: center;
        padding-right: 0;
        margin-bottom: 32px;
    }

    /* Stronger overlay on smaller screens since text spans the full width */
    .hero-overlay {
        background:
            linear-gradient(180deg,
                rgba(245, 240, 250, 0.88) 0%,
                rgba(245, 235, 240, 0.78) 100%);
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 36px;
    }
}

/* Small tablet */
@media (max-width: 768px) {
    /* Trust badges: 2 cols */
    .trust-badges-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 8px;
    }

    .trust-badge::after {
        display: none !important;
    }

    .trust-badge-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .trust-badge-label {
        font-size: 12.5px;
    }

    /* Section header */
    .section-header {
        margin-bottom: 28px;
    }

    .btn-outline-link {
        padding: 11px 18px;
        font-size: 13.5px;
    }

    /* Departments: 1 col on phones */
    .departments-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dept-card {
        padding: 18px;
    }

    /* Stats: keep 2x2 with smaller paddings */
    .stats-banner-grid {
        padding: 40px 12px;
    }

    .stat-banner-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 12px;
    }

    .stat-banner-label {
        font-size: 13.5px;
    }

    /* Packages: 1 col */
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Package features: 1 col */
    .package-features {
        grid-template-columns: 1fr;
        padding: 18px 22px;
    }

    .package-feature::after {
        display: none !important;
    }

    /* Testimonials card padding */
    .testimonials-card {
        padding: 28px 18px 24px;
        border-radius: 18px;
    }

    .testimonial-card {
        padding: 22px 20px;
    }

    /* Articles: 1 col */
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .article-card-title {
        font-size: 18px;
    }

    /* Insurance: smaller nav buttons */
    .insurance-carousel-wrap {
        padding: 0 40px;
    }

    /* Footer single column */
    .footer-cta {
        padding: 24px 20px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .footer-cta-actions {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

}

/* duplicate kept */
@media (max-width: 768px) {
    .container {
        padding: 0 18px;
    }

    .site-logo-img {
        height: 48px;
    }

    .hero-section {
        padding: 32px 0 220px;
        min-height: 520px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .hero-description {
        font-size: 15.5px;
    }

    /* Stats */
    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-number .plus {
        font-size: 22px;
    }

    /* Appointment */
    .appointment-section {
        margin-top: -180px;
    }

    .appointment-card {
        padding: 28px 22px 24px;
        border-radius: 18px;
    }

    .appointment-title {
        font-size: 19px;
        margin-bottom: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-group-btn {
        grid-column: auto;
    }

    .form-control,
    .btn-search {
        height: 52px;
    }

    .appointment-trust {
        gap: 18px;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 22px;
    }

    .trust-item {
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .header-inner {
        gap: 8px;
    }

    .header-cart {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .btn {
        padding: 13px 24px;
    }

    .hero-stats {
        gap: 20px;
        justify-content: space-between;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12.5px;
    }
}

/* =============================================
   EXPERIENCE / VALUE-PROP SECTION
   ============================================= */
.experience-section {
    padding: 80px 0;
    background: var(--color-bg-soft);
}

.experience-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 3vw, 56px);
    align-items: stretch;
}

/* ---------- Left: media / carousel ---------- */
.experience-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #0d1432;
    min-height: 100%;
    height: 100%;
    /* Force an own compositing layer so iOS Safari correctly clips Swiper's
       transformed slides to the rounded corners (overflow:hidden + border-radius
       alone does not clip transformed children on iOS). */
    transform: translateZ(0);
}

.experience-swiper {
    /* Fill the media box via absolute offsets rather than a height:100%
       chain. WebKit/iOS Safari does not resolve percentage heights against
       an aspect-ratio box (mobile) or a grid-stretched item (desktop), which
       collapsed the slides to 0 and left an empty #0d1432 block. Absolute
       top/right/bottom/left resolve against the containing block directly,
       so the carousel fills the box in every engine. Longhand (not `inset`)
       for iOS < 14.1 support. */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.experience-swiper .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Pin the image to the slide box. Swiper's flex wrapper stretches each slide
   to full height regardless of percentage-height support, so absolute offsets
   guarantee the photo fills the box even if the height:100% chain is ignored
   (iOS Safari). object-fit:cover keeps it cropped, not stretched. */
.experience-swiper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Prev / next buttons */
.experience-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.experience-nav:hover {
    background: var(--color-primary);
    color: #fff;
}

.experience-nav-prev { left: 14px; }
.experience-nav-next { right: 14px; }

/* Pagination dots */
.experience-pagination {
    position: absolute;
    bottom: calc(72px + 18px); /* sit just above the pills strip */
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.experience-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
    transition: width var(--transition), background var(--transition);
}

.experience-pagination .swiper-pagination-bullet-active {
    width: 22px;
    background: #fff;
}

/* Frosted pills overlay — iOS-safe (no backdrop-filter).
   The original used `backdrop-filter: blur()`. Inside .experience-media's
   `overflow:hidden` + `border-radius` box that triggers an iOS Safari
   compositing bug that blanked the entire carousel on iPhone (the box went
   solid #0d1432). We reproduce the frosted look with a solid translucent navy
   gradient instead: readable over any photo, no blur, no GPU dependency. */
.experience-pills {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    background: linear-gradient(135deg, rgba(13, 20, 50, 0.78) 0%, rgba(26, 42, 108, 0.72) 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 8px 32px rgba(13, 20, 50, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    padding: 14px 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    color: #fff;
}

.experience-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    font-size: 12.5px;
    line-height: 1.25;
    font-weight: 500;
}

.experience-pill i {
    font-size: 18px;
    color: #fff;
}

/* ---------- Right: content ---------- */
.experience-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.experience-eyebrow {
    margin-bottom: 0;
}

.experience-title {
    margin: 0;
}

.experience-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
}

.experience-divider .line {
    flex: 0 0 auto;
    width: 56px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 999px;
    opacity: 0.5;
}

.experience-divider i {
    font-size: 16px;
}

.experience-lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.experience-lead strong {
    color: var(--color-primary);
    font-weight: 600;
}

.experience-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 22px;
    margin: 4px 0 6px;
}

.experience-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.experience-feature-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(26, 42, 108, 0.08);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.experience-feature-title {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 15px;
    margin-bottom: 2px;
}

.experience-feature-desc {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.experience-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.experience-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .experience-card {
        grid-template-columns: 1fr;
    }
    .experience-media {
        /* iOS Safari does NOT resolve the inner height:100% chain
           (.experience-swiper > .swiper-slide > img) against an
           `aspect-ratio` + `height:auto` box. When that chain breaks the
           slides lose their height cap, fall back to the intrinsic image
           height and stack, and because the box is height:auto it grows
           unbounded — a giant empty #0d1432 block. A definite vw height
           resolves the % children in every engine, and `overflow:hidden`
           (set above) clips even if Swiper never initialises. */
        height: 75vw;
        max-height: 440px;
        min-height: 0;
    }
}

@media (max-width: 600px) {
    .experience-pills {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
    }
    .experience-pill {
        flex-direction: row;
        justify-content: flex-start;
        gap: 10px;
    }
    .experience-pagination {
        bottom: calc(170px + 14px);
    }
}

@media (max-width: 575px) {
    .experience-section {
        padding: 56px 0;
    }
    .experience-features {
        grid-template-columns: 1fr;
    }
    .experience-cta {
        flex-direction: column;
        align-items: stretch;
    }
    .experience-cta .btn {
        justify-content: center;
    }
    .experience-nav {
        width: 38px;
        height: 38px;
    }
}

/* =============================================
   SMALL UTILITIES
   ============================================= */
/* AOS handles its own opacity transitions via the loaded CSS.
   We do NOT pre-hide [data-aos] here — if the AOS script ever fails
   to load or fire, content must remain visible. */


/* =============================================
   MENO MIND CTA BANNER (homepage cross-promo)
   ============================================= */
.mm-banner-section {
    margin-top: -24px;
    padding: 0 0 56px;
    background-color: #fff;
}

.mm-banner-card {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(135deg, #FDF5F8 0%, #F9EEF3 50%, #F6E8EF 100%);
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    box-shadow: 0 18px 50px rgba(74, 18, 72, 0.06);
}

.mm-banner-content {
    padding: 56px 0 56px 64px;
    max-width: 540px;
}

.mm-banner-logo {
    width: 240px;
    max-width: 80%;
    height: auto;
    margin: 0 0 22px;
    display: block;
}

.mm-banner-eyebrow-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
}

.mm-banner-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3.5px;
    color: #C2185B;
    text-transform: uppercase;
    margin: 0;
}

.mm-banner-eyebrow-icon {
    color: #E84595;
    font-size: 14px;
    opacity: 0.7;
}

.mm-banner-title {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.15;
    color: #4A1248;
    margin: 0 0 22px;
    letter-spacing: -0.4px;
}

.mm-banner-desc {
    font-family: 'Inter', sans-serif;
    font-size: 15.5px;
    line-height: 1.7;
    color: #6b5566;
    margin: 0 0 30px;
}

.mm-banner-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0 0 36px;
}

.mm-banner-feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #4A1248;
}

.mm-banner-feature i {
    color: #4A1248;
    font-size: 16px;
}

.mm-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #A5166B 0%, #E84595 100%);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(165, 22, 107, 0.28);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    margin-bottom: 22px;
}

.mm-banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(165, 22, 107, 0.38);
    color: #fff;
}

.mm-banner-btn i {
    font-size: 13px;
    transition: transform 0.28s ease;
}

.mm-banner-btn:hover i {
    transform: translateX(4px);
}

.mm-banner-script {
    font-family: 'Dancing Script', cursive;
    font-size: 22px;
    font-weight: 600;
    color: #C2185B;
    margin: 0;
    line-height: 1.3;
}

.mm-banner-image {
    align-self: end;
    justify-self: end;
    line-height: 0;
}

.mm-banner-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .mm-banner-content {
        padding: 44px 0 44px 44px;
    }

    .mm-banner-logo {
        width: 200px;
    }

    .mm-banner-features {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .mm-banner-section {
        margin-top: -16px;
        padding: 0 0 40px;
    }

    .mm-banner-card {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .mm-banner-content {
        padding: 36px 28px 0 28px;
        max-width: 100%;
        text-align: center;
    }

    .mm-banner-logo {
        margin: 0 auto 18px;
    }

    .mm-banner-eyebrow-row {
        justify-content: center;
    }

    .mm-banner-title {
        font-size: clamp(1.7rem, 6vw, 2.2rem);
    }

    .mm-banner-title br {
        display: none;
    }

    .mm-banner-desc br {
        display: none;
    }

    .mm-banner-features {
        justify-content: center;
    }

    .mm-banner-btn {
        align-self: center;
    }

    .mm-banner-image {
        justify-self: center;
        align-self: end;
        margin-top: 8px;
    }
}

/* =====================================================================
   HEALTH & WELLNESS BLOG — image-overlay tile section (homepage)
   Markup: section.blog-section > .container > .blog-section__head + .blog-grid > .blog-tile*
   ===================================================================== */

.blog-section {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.blog-section__head {
    margin-bottom: 36px;
}

.blog-section__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent, #b8924e);
    margin-bottom: 10px;
}

.blog-section__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 44px);
    color: var(--color-primary, #1e2a78);
    margin: 0;
    line-height: 1.15;
}

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

.blog-tile {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #1e2a78;
    text-decoration: none;
    color: inherit;
    isolation: isolate;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-tile:hover,
.blog-tile:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
    outline: none;
}

.blog-tile--static {
    cursor: default;
}

.blog-tile__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.blog-tile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.blog-tile__img--placeholder {
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 64px;
    background: linear-gradient(135deg, #1e2a78 0%, #2b3a99 100%);
}

.blog-tile:hover .blog-tile__img:not(.blog-tile__img--placeholder) {
    transform: scale(1.06);
}

.blog-tile__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0)   0%,
        rgba(15, 23, 42, 0)  35%,
        rgba(15, 23, 42, 0.55) 70%,
        rgba(15, 23, 42, 0.88) 100%
    );
    transition: background 0.35s ease;
}

.blog-tile:hover .blog-tile__scrim {
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0)   0%,
        rgba(15, 23, 42, 0.2) 35%,
        rgba(15, 23, 42, 0.7) 70%,
        rgba(15, 23, 42, 0.92) 100%
    );
}

.blog-tile__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 22px 22px 24px;
    color: #fff;
}

.blog-tile__tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
}

/* Category pills always use the brand colour (no per-category colours). */
.blog-tile__tag.tag-green,
.blog-tile__tag.tag-teal,
.blog-tile__tag.tag-amber,
.blog-tile__tag.tag-blue,
.blog-tile__tag.tag-purple,
.blog-tile__tag.tag-red,
.blog-tile__tag.tag-brand { background: linear-gradient(135deg, #1e2a78 0%, #2b3a99 100%); }

.blog-tile__title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 12px;
    color: #fff;
    /* clamp to 3 lines for visual balance */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-tile__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    transition: gap 0.25s ease;
}

.blog-tile:hover .blog-tile__cta {
    gap: 14px;
}

.blog-tile__cta i {
    font-size: 11px;
}

/* ---------- Responsive ---------- */

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .blog-tile {
        aspect-ratio: 3 / 4;
    }
    .blog-tile__title {
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    .blog-section {
        padding: 56px 0 72px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .blog-tile {
        aspect-ratio: 16 / 11;
    }
    .blog-tile__content {
        padding: 18px 20px 20px;
    }
    .blog-tile__title {
        font-size: 19px;
        -webkit-line-clamp: 2;
    }
}

/* ===================== LEADERSHIP SECTION ===================== */
.leadership-section { padding: 80px 0; background: var(--color-bg); }
.leadership-header { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.leadership-eyebrow {
    display: block; color: var(--color-primary); font-weight: 700;
    font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
    opacity: .7; margin-bottom: 12px;
}
.leadership-title {
    font-family: var(--font-serif); font-size: clamp(28px, 4vw, 40px);
    color: var(--color-primary); margin: 0; letter-spacing: -.5px;
}
.leadership-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 32px; max-width: 880px; margin: 0 auto;
}
.leadership-card { display: block; text-decoration: none; }
.leadership-card-media {
    position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-lg); background: var(--color-bg-soft);
}
.leadership-card-media img {
    width: 100%; height: 100%; object-fit: cover; object-position: center top;
    display: block; transition: transform var(--transition);
}
.leadership-card[href]:hover .leadership-card-media img { transform: scale(1.03); }
.leadership-nameplate {
    position: absolute; left: 18px; right: 18px; bottom: 18px;
    padding: 14px 18px; border-radius: 14px;
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .6);
    box-shadow: 0 8px 24px rgba(26, 42, 108, .12);
}
.leadership-name {
    font-family: var(--font-serif); font-weight: 700; font-size: 20px;
    color: var(--color-primary); line-height: 1.2;
}
.leadership-role {
    font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--color-text-muted); margin-top: 3px;
}
.leadership-tagline {
    font-size: 13px; color: var(--color-text-muted);
    margin: 8px 0 0; line-height: 1.5;
}
@media (max-width: 768px) {
    .leadership-section { padding: 56px 0; }
    .leadership-header { margin-bottom: 32px; }
    .leadership-grid { grid-template-columns: 1fr; gap: 24px; max-width: 420px; }
}

/* ===================== RELATED LINKS (departments / doctors / articles) ===================== */
.related-section { padding: 40px 0; }
.related-title {
    font-family: var(--font-serif); font-size: clamp(20px, 2.4vw, 26px);
    color: var(--color-primary); margin: 0 0 20px; letter-spacing: -.3px;
}
.related-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}
.related-card {
    display: flex; align-items: center; gap: 14px; padding: 14px;
    background: var(--color-bg); border: 1px solid var(--color-border);
    border-radius: var(--radius-md); text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.related-card:hover {
    transform: translateY(-2px); box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}
.related-card-img {
    width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%;
    background: var(--color-bg-soft) center/cover no-repeat;
}
.related-card-body { display: flex; flex-direction: column; min-width: 0; }
.related-card-label {
    font-weight: 700; color: var(--color-primary); font-size: 15px; line-height: 1.3;
}
.related-card-sub {
    font-size: 12px; color: var(--color-text-muted); margin-top: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 768px) {
    .related-grid { grid-template-columns: 1fr; }
}

