/* ================================================================
   Global Pain & Spine Clinic — Premium Design System
   ================================================================
   A premium, high-end medical website aesthetic.

   Palette:
     --deep-teal:    #0D6A51  (trust, authority)
     --sky-blue:     #1998BA  (energy, healing)
     --accent-gold:  #C9A84C  (premium accent)
     --dark:         #0B1D28  (rich dark backgrounds)
   Typography:
     Headings: Montserrat (700, 800)
     Body:     Inter (400, 500, 600)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700;800;900&display=swap');

/* ── CSS Custom Properties ─────────────────────────────────────── */
:root {
    --deep-teal: #0D6A51;
    --deep-teal-dark: #095740;
    --deep-teal-rgb: 13, 106, 81;
    --sky-blue: #1998BA;
    --sky-blue-dark: #147f9e;
    --sky-blue-light: #e6f5f9;
    --sky-blue-rgb: 25, 152, 186;
    --accent-gold: #C9A84C;
    --dark: #0B1D28;
    --dark-card: #112633;
    --white: #FFFFFF;
    --off-white: #F8FAFB;
    --light-gray: #F1F5F7;
    --text-dark: #0B1D28;
    --text-body: #3D5A6E;
    --text-muted: #7A8F9E;
    --border-color: #DDE5EA;
    --shadow-xs: 0 1px 2px rgba(11, 29, 40, 0.05);
    --shadow-sm: 0 2px 8px rgba(11, 29, 40, 0.06);
    --shadow-md: 0 4px 20px rgba(11, 29, 40, 0.08);
    --shadow-lg: 0 12px 40px rgba(11, 29, 40, 0.12);
    --shadow-xl: 0 20px 60px rgba(11, 29, 40, 0.15);
    --shadow-glow-teal: 0 8px 32px rgba(13, 106, 81, 0.25);
    --shadow-glow-blue: 0 8px 32px rgba(25, 152, 186, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1280px;
    --header-height: 80px;
}

/* ── Reset & Base ──────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-body);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

/* ── Typography ────────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 0.75rem;
}

h3 {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

/* ── Layout ────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section--gray {
    background-color: var(--light-gray);
}

.section--dark {
    background-color: var(--dark);
    color: #c8dae5;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--white);
}

.section__header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--sky-blue);
    margin-bottom: 16px;
}

.section__label::before,
.section__label::after {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--sky-blue);
    border-radius: 2px;
}

.section--dark .section__label {
    color: var(--accent-gold);
}

.section--dark .section__label::before,
.section--dark .section__label::after {
    background: var(--accent-gold);
}

.section__header h2 {
    margin-bottom: 16px;
}

.section__header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.section--dark .section__header p {
    color: #8eaab9;
}

/* ── Top Bar ───────────────────────────────────────────────────── */
.top-bar {
    background: var(--dark);
    color: #a0b9c8;
    font-size: 0.82rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar__contact {
    display: flex;
    align-items: center;
    gap: 28px;
}

.top-bar__contact a,
.top-bar__contact span {
    color: #a0b9c8;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
}

.top-bar__contact a:hover {
    color: var(--sky-blue);
}

.top-bar__contact i {
    color: var(--sky-blue);
    font-size: 0.75rem;
}

.top-bar .btn {
    padding: 7px 20px;
    font-size: 0.78rem;
    border-radius: var(--radius-full);
}

/* ── Sticky Header / Glassmorphism ─────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(11, 29, 40, 0.05);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(11, 29, 40, 0.08);
}

.site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.site-header__logo {
    display: flex;
    align-items: center;
}

.site-header__logo-img {
    height: 50px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

/* ── Navigation ────────────────────────────────────────────────── */
.main-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav__list a {
    display: block;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--radius-full);
    transition: color 0.2s, background-color 0.2s;
}

.main-nav__list a:hover,
.main-nav__list a.active {
    color: var(--deep-teal);
    background-color: rgba(var(--deep-teal-rgb), 0.06);
}

/* Services Dropdown */
.main-nav__dropdown {
    position: relative;
}

.main-nav__dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: -20px;
    min-width: 260px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 100;
}

.main-nav__dropdown:hover .main-nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav__dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
}

.main-nav__dropdown-menu a:hover {
    background-color: var(--light-gray);
    color: var(--deep-teal);
}

/* Mobile Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* Hidden on desktop — only visible on mobile via media query */
.nav-close,
.nav-overlay {
    display: none;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background: linear-gradient(135deg, var(--deep-teal) 0%, #10836A 100%);
    color: var(--white);
    box-shadow: var(--shadow-glow-teal);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--deep-teal-dark) 0%, var(--deep-teal) 100%);
    box-shadow: 0 12px 40px rgba(var(--deep-teal-rgb), 0.35);
}

.btn--secondary {
    background: linear-gradient(135deg, var(--sky-blue) 0%, #1daad0 100%);
    color: var(--white);
    box-shadow: var(--shadow-glow-blue);
}

.btn--secondary:hover {
    box-shadow: 0 12px 40px rgba(var(--sky-blue-rgb), 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--deep-teal);
    border-color: var(--white);
}

.btn--white {
    background: var(--white);
    color: var(--deep-teal);
    box-shadow: var(--shadow-md);
}

.btn--white:hover {
    box-shadow: var(--shadow-lg);
    background: var(--off-white);
}

.btn--sm {
    padding: 10px 22px;
    font-size: 0.82rem;
}

.btn--lg {
    padding: 18px 40px;
    font-size: 0.95rem;
}

.btn--block {
    width: 100%;
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ================================================================
   HERO SECTION — Full-screen Immersive
   ================================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}

.hero .swiper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero .swiper-slide {
    overflow: hidden;
}

.hero .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
            rgba(11, 29, 40, 0.92) 0%,
            rgba(13, 106, 81, 0.75) 40%,
            rgba(25, 152, 186, 0.6) 100%);
    z-index: 1;
}

/* Decorative geometric shapes */
.hero__decor {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.hero__decor--1 {
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.hero__decor--2 {
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: rgba(25, 152, 186, 0.08);
    border-radius: 50%;
}

.hero__decor--3 {
    top: 20%;
    left: 15%;
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    box-shadow:
        60px 80px 0 rgba(201, 168, 76, 0.6),
        -40px 120px 0 rgba(201, 168, 76, 0.3),
        200px -50px 0 rgba(201, 168, 76, 0.4);
}

.hero__content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 650px;
    padding: 60px 0;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 28px;
}

.hero__badge i {
    font-size: 0.7rem;
}

.hero__content h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hero__content h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--sky-blue), #6dd5ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__content p {
    font-size: 1.15rem;
    opacity: 0.85;
    margin-bottom: 36px;
    line-height: 1.85;
    max-width: 520px;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero__stats {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.swiper-pagination-bullet {
    background: var(--white) !important;
    opacity: 0.35 !important;
    width: 10px !important;
    height: 10px !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 28px !important;
    border-radius: 5px !important;
}

/* ================================================================
   TRUST BAR — Scrolling logos / trust indicators
   ================================================================ */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 28px 0;
}

.trust-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
}

.trust-item i {
    font-size: 1.4rem;
    color: var(--deep-teal);
}

.trust-item strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* ================================================================
   SERVICE CARDS — Premium Bento Grid
   ================================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-teal), var(--sky-blue));
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-4px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--deep-teal-rgb), 0.08), rgba(var(--sky-blue-rgb), 0.08));
    color: var(--deep-teal);
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.service-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-card__link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--deep-teal);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s, color 0.2s;
}

.service-card__link:hover {
    gap: 12px;
    color: var(--sky-blue);
}

/* ================================================================
   ABOUT / DOCTOR — Split Image Section
   ================================================================ */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-section--reverse {
    direction: rtl;
}

.split-section--reverse>* {
    direction: ltr;
}

.split-section__image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.split-section__image img {
    width: 100%;
    height: 500px;
    object-fit: contain;
}

/* Decorative accent frame */
.split-section__image::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 60%;
    height: 60%;
    border: 3px solid var(--sky-blue);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.4;
}

.split-section__content .section__label {
    justify-content: flex-start;
}

.split-section__content .section__label::before {
    display: none;
}

.split-section__content h2 {
    margin-bottom: 20px;
}

.split-section__content p {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.85;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.stat-item {
    text-align: center;
    padding: 20px 8px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
}

.stat-item__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--deep-teal);
    line-height: 1;
}

.stat-item__label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Dark version stats */
.stats-row--dark .stat-item {
    background: var(--dark-card);
}

.stats-row--dark .stat-item__number {
    color: var(--accent-gold);
}

.stats-row--dark .stat-item__label {
    color: #7a99ab;
}

/* ================================================================
   WHY CHOOSE US — Icon Feature Cards
   ================================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.feature-card {
    text-align: center;
    padding: 48px 24px 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-card__icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--deep-teal), var(--sky-blue));
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: 1.6rem;
    box-shadow: var(--shadow-glow-teal);
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Dark version features */
.section--dark .feature-card {
    background: var(--dark-card);
    border-color: rgba(255, 255, 255, 0.06);
}

.section--dark .feature-card:hover {
    border-color: rgba(var(--sky-blue-rgb), 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.testimonial-card__stars {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card__text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--deep-teal), var(--sky-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
}

.testimonial-card__name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.testimonial-card__role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ================================================================
   CTA BANNER — Premium Gradient
   ================================================================ */
.cta-banner {
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, #0f3b2f 50%, var(--deep-teal) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--sky-blue-rgb), 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--deep-teal-rgb), 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner .container {
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 1.1rem;
    opacity: 0.75;
    margin-bottom: 32px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .cta-phone {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    letter-spacing: 1px;
}

.cta-banner .cta-phone i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    font-size: 1.1rem;
}

/* ================================================================
   PAGE BANNER — Internal Pages
   ================================================================ */
.page-banner {
    position: relative;
    background: linear-gradient(160deg, var(--dark) 0%, #0f3b2f 60%, var(--deep-teal) 100%);
    color: var(--white);
    padding: 56px 0;
    overflow: hidden;
}

/* Service pages: hero image as blended background */
.page-banner--hero {
    padding: 100px 0 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-banner--hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(11, 29, 40, 0.93) 0%, rgba(15, 59, 47, 0.88) 40%, rgba(13, 106, 81, 0.8) 100%);
    z-index: 0;
}

.page-banner--hero .container {
    position: relative;
    z-index: 1;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -50px;
    width: 350px;
    height: 350px;
    border: 2px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.page-banner h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 8px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    margin-bottom: 16px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .separator {
    opacity: 0.3;
}

/* ================================================================
   SERVICE DETAIL PAGE — Content + Sidebar
   ================================================================ */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 56px;
    align-items: start;
}

.content-main article {
    font-size: 1rem;
    line-height: 1.85;
}

.content-main article h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-top: 56px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--light-gray);
    position: relative;
}

.content-main article h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--deep-teal), var(--sky-blue));
}

.content-main article h2:first-of-type {
    margin-top: 0;
}

.content-main article h3 {
    font-size: 1.1rem;
    margin-top: 28px;
    margin-bottom: 10px;
}

/* Treatment Steps */
.treatment-steps {
    counter-reset: step-counter;
    margin-top: 8px;
}

.treatment-step {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border-color);
}

.treatment-step:last-child {
    border-bottom: none;
}

.treatment-step__number {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--deep-teal), var(--sky-blue));
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glow-teal);
}

.treatment-step__content h3 {
    margin-top: 0;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.treatment-step__content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* Benefits */
.benefits-section {
    margin-top: 80px;
    padding-top: 64px;
}

.benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 8px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.benefit-item:hover {
    background: var(--white);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.benefit-item i {
    color: var(--deep-teal);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.benefit-item span {
    font-size: 0.92rem;
    color: var(--text-body);
    font-weight: 500;
}

/* FAQ Accordion */
.faq-section {
    margin-top: 64px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: rgba(var(--sky-blue-rgb), 0.3);
}

.faq-item.open {
    border-color: var(--sky-blue);
}

.faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    gap: 16px;
}

.faq-item__question i {
    transition: transform 0.2s;
    color: var(--sky-blue);
    flex-shrink: 0;
}

.faq-item.open .faq-item__question i {
    transform: rotate(180deg);
}

.faq-item__answer {
    display: none;
    padding: 0 24px 20px;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-item.open .faq-item__answer {
    display: block;
}

/* ── Sidebar ───────────────────────────────────────────────────── */
.sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    transition: box-shadow 0.3s;
}

.sidebar-widget:hover {
    box-shadow: var(--shadow-md);
}

.sidebar-widget__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--light-gray);
    position: relative;
}

.sidebar-widget__title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--deep-teal), var(--sky-blue));
}

/* Quick Contact Form */
.quick-form .form-group {
    margin-bottom: 18px;
}

.quick-form label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.quick-form input,
.quick-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--off-white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.quick-form input:focus,
.quick-form textarea:focus {
    outline: none;
    border-color: var(--sky-blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(var(--sky-blue-rgb), 0.1);
}

.quick-form textarea {
    resize: vertical;
    min-height: 100px;
}

.quick-form .form-message {
    font-size: 0.85rem;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    display: none;
    font-weight: 500;
}

.quick-form .form-message.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.quick-form .form-message.error {
    display: block;
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #f8bbd0;
}

/* Other Services Sidebar */
.sidebar-services-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    font-size: 0.9rem;
    color: var(--text-body);
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
    transition: all 0.2s;
}

.sidebar-services-list a:hover,
.sidebar-services-list a.current {
    color: var(--deep-teal);
    font-weight: 600;
    background: rgba(var(--deep-teal-rgb), 0.05);
}

.sidebar-services-list a i {
    color: var(--sky-blue);
    font-size: 0.75rem;
}

/* Clinic Info Widget */
.clinic-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--light-gray);
}

.clinic-info-list li:last-child {
    border-bottom: none;
}

.clinic-info-list li i {
    color: var(--deep-teal);
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    height: 480px;
    object-fit: cover;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.mission-card {
    background: var(--white);
    padding: 44px 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--deep-teal), var(--sky-blue));
}

.mission-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.mission-card h3 {
    color: var(--deep-teal);
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.mission-card p {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* ================================================================
   GALLERY PAGE
   ================================================================ */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 10px 28px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    background: var(--white);
    color: var(--text-body);
    cursor: pointer;
    transition: all 0.25s;
    letter-spacing: 0.5px;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: linear-gradient(135deg, var(--deep-teal), var(--sky-blue));
    border-color: transparent;
    color: var(--white);
    box-shadow: var(--shadow-glow-teal);
}

.masonry-grid {
    columns: 3;
    column-gap: 20px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.masonry-item::after {
    content: '\f065';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 1.4rem;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.masonry-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(var(--deep-teal-rgb), 0.4);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.masonry-item:hover::before,
.masonry-item:hover::after {
    opacity: 1;
}

.masonry-item:hover {
    box-shadow: var(--shadow-lg);
}

.masonry-item img {
    width: 100%;
    display: block;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-dark);
    background: var(--off-white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--sky-blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(var(--sky-blue-rgb), 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .form-message {
    font-size: 0.85rem;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    display: none;
    font-weight: 500;
}

.contact-form .form-message.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
}

.contact-form .form-message.error {
    display: block;
    background: #fce4ec;
    color: #c62828;
}

.contact-info-cards {
    display: grid;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 28px;
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    transition: all 0.25s;
}

.contact-info-card:hover {
    background: var(--white);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.contact-info-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--deep-teal), var(--sky-blue));
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow-teal);
}

.contact-info-card h4 {
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-info-card a {
    color: var(--deep-teal);
    font-weight: 600;
}

.contact-map {
    margin-top: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* ================================================================
   FOOTER — Premium Dark
   ================================================================ */
.site-footer {
    background: var(--dark);
    color: #7a99ab;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-teal), var(--sky-blue), var(--accent-gold));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
    gap: 48px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.82rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 45px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-col p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: #6c8fa1;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: #6c8fa1;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--sky-blue);
    padding-left: 6px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.88rem;
    color: #6c8fa1;
}

.footer-contact-item i {
    color: var(--sky-blue);
    margin-top: 4px;
    width: 16px;
    text-align: center;
}

.footer-contact-item a {
    color: #6c8fa1;
    transition: color 0.2s;
}

.footer-contact-item a:hover {
    color: var(--sky-blue);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: #6c8fa1;
    font-size: 0.95rem;
    transition: all 0.25s;
}

.footer-social a:hover {
    background: var(--sky-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 56px;
    padding: 24px 0;
    text-align: center;
    font-size: 0.82rem;
    color: #4e6d7e;
}

/* ================================================================
   RESPONSIVE BREAKPOINTS
   ================================================================ */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .split-section--reverse {
        direction: ltr;
    }

    .split-section__image::after {
        display: none;
    }

    .doctor-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .masonry-grid {
        columns: 2;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .top-bar__inner {
        justify-content: center;
        text-align: center;
    }

    .top-bar__contact {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(11, 29, 40, 0.6);
        z-index: 1000;
    }

    .nav-overlay.active {
        display: block;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 24px;
        right: 24px;
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--text-dark);
        cursor: pointer;
        line-height: 1;
        padding: 4px 8px;
        z-index: 10;
    }

    .nav-close:hover {
        color: var(--deep-teal);
    }

    .main-nav {
        position: fixed;
        display: none;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        padding: 90px 24px 28px;
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .main-nav.open {
        right: 0;
        display: block;
    }

    .main-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav__list>li>a {
        padding: 14px 0;
        border-bottom: 1px solid var(--light-gray);
        border-radius: 0;
        font-size: 0.95rem;
    }

    /* Dropdown: collapsed by default on mobile */
    .main-nav__dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        min-width: unset;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-nav__dropdown.open .main-nav__dropdown-menu {
        max-height: 600px;
    }

    .main-nav__dropdown-menu a {
        padding: 10px 0 10px 16px;
        border-bottom: 1px solid var(--light-gray);
        font-size: 0.85rem;
        width: 100%;
        box-sizing: border-box;
    }

    .main-nav__dropdown-menu a:last-child {
        border-bottom: none;
    }

    .hero {
        min-height: 90vh;
    }

    .hero__content h1 {
        font-size: 2.2rem;
    }

    .hero__stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .masonry-grid {
        columns: 2;
    }

    .gallery-filters {
        gap: 8px;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-bar__inner {
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__content h1 {
        font-size: 1.85rem;
    }

    .cta-banner .cta-phone {
        font-size: 1.3rem;
    }

    .page-banner h1 {
        font-size: 1.75rem;
    }

    .masonry-grid {
        columns: 1;
    }

    .hero__stats {
        gap: 16px;
    }
}