/* ====================================================
   ELEMENTRA CLINICS — style.css
   RTL Arabic | Gold & Cream Luxury Design System
   ==================================================== */

/* ── Design Tokens ────────────────────────────────── */
:root {
  --gold: #C9973C;
  --gold-dark: #A97B2A;
  --gold-light: #E4C480;
  --gold-pale: #F7EDD8;

  --bg: #FFFFFF;
  --bg-soft: #FBF8F2;
  --charcoal: #1E1B18;
  --text-muted: #6B6259;
  --border: #ECE3D3;

  --success: #4C8B5D;
  --whatsapp: #25D366;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 12px rgba(201, 151, 60, .08);
  --shadow-md: 0 8px 32px rgba(201, 151, 60, .12);
  --shadow-lg: 0 24px 64px rgba(201, 151, 60, .16);

  --transition: all .25s cubic-bezier(.4, 0, .2, 1);
  --navbar-h: 74px;
  --topbar-h: 38px;
}

/* ── Reset & Base ─────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Tajawal', 'Noto Naskh Arabic', sans-serif;
  background: var(--bg);
  color: var(--charcoal);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

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

/* ── SKELETON LOADER ────────────────────────────────── */
.skeleton {
  position: relative;
  overflow: hidden;
  background-color: #f3f0ea;
  isolation: isolate;
}

.skeleton::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateX(-100%) translateZ(0);
  background-image: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0,
      rgba(255, 255, 255, 0.4) 20%,
      rgba(255, 255, 255, 0.6) 60%,
      rgba(255, 255, 255, 0));
  animation: shimmer 1.5s infinite;
  will-change: transform;
  z-index: 10;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.skeleton img {
  opacity: 0;
}

.skeleton.loaded {
  background-color: transparent;
}

.skeleton.loaded::after {
  display: none;
}

.skeleton.loaded img {
  opacity: 1;
  transition: opacity .3s ease;
}

/* ── PRELOADER ────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.preloader-logo {
  width: 160px;
  height: auto;
  animation: preloader-pulse 2s infinite ease-in-out;
  filter: drop-shadow(0 0 12px rgba(201, 151, 60, 0.5));
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(201, 151, 60, .15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: preloader-spin 1s infinite linear;
}

@keyframes preloader-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}

@keyframes preloader-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ── Utility ──────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding-block: clamp(4rem, 8vw, 6rem);
}

.section-soft {
  background: var(--bg-soft);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-eyebrow {
  display: inline-block;
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: .5rem;
}

.section-title {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.7;
}

.gold-divider {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.gold-divider.centered {
  margin-inline: auto;
}

/* ── Buttons ──────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: #fff;
  font-family: 'Tajawal', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: .8rem 1.8rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  border: 2px solid var(--gold);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--gold);
  font-family: 'Tajawal', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: .8rem 1.8rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--gold);
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--gold-pale);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-family: 'Tajawal', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: .8rem 1.8rem;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, .4);
  transition: var(--transition);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, .25);
  border-color: rgba(255, 255, 255, .7);
}

/* ── TOP BAR ──────────────────────────────────────── */
.topbar {
  background: var(--charcoal);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.topbar-inner {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  display: flex;
  justify-content: flex-start;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--gold-light);
  font-size: .9rem;
  font-family: 'Tajawal', sans-serif;
  font-weight: 500;
  transition: color .2s;
}

.topbar-link:hover {
  color: var(--gold);
}

/* ── NAVBAR ───────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--navbar-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}

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

.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(201, 151, 60, 0.4));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex-wrap: nowrap;
  flex: 1;
  margin-inline-start: 2rem;
}

.nav-link {
  position: relative;
  font-size: .95rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: .45rem .75rem;
  transition: var(--transition);
  white-space: nowrap;
  background: transparent !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .3s ease;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

.nav-link.active {
  color: var(--gold);
  font-weight: 700;
}

.nav-btn-primary {
  margin-inline-start: auto;
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  background: var(--gold);
  padding: .55rem 1.2rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
  animation: pulse-glow-gold 2.5s infinite;
}

.nav-btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  animation: none;
  box-shadow: 0 4px 12px rgba(201, 151, 60, .3);
}

@keyframes pulse-glow-gold {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 151, 60, 0.5);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(201, 151, 60, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(201, 151, 60, 0);
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100svh - var(--topbar-h) - var(--navbar-h));
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero_bg.webp') center/cover no-repeat;
  animation: hero-bg-zoom 20s infinite alternate ease-in-out;
  z-index: 0;
}

@keyframes hero-bg-zoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(150deg,
      rgba(30, 27, 24, .72) 0%,
      rgba(30, 27, 24, .45) 60%,
      rgba(201, 151, 60, .18) 100%);
}

.hero-watermark {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(12rem, 24vw, 22rem);
  font-weight: 600;
  color: rgba(255, 255, 255, .03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  font-style: italic;
  animation: float-watermark 8s ease-in-out infinite alternate;
}

@keyframes float-watermark {
  0% {
    transform: translateY(0) rotate(-2deg);
  }

  100% {
    transform: translateY(-20px) rotate(0deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(3rem, 8vw, 5rem);
  padding-bottom: 2rem;
}

@keyframes fade-up-in {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--gold-light);
  font-family: 'Tajawal', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-up-in 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

.hero-badge-line {
  width: 40px;
  height: 1px;
  background: var(--gold-light);
  opacity: .7;
}

.hero-title {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .3);
  opacity: 0;
  animation: fade-up-in 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, .85);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fade-up-in 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  opacity: 0;
  animation: fade-up-in 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s forwards;
}

/* Trust Bar */
.trust-bar {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 1.25rem 0;
  opacity: 0;
  animation: fade-up-in 1s cubic-bezier(0.2, 0.8, 0.2, 1) 1s forwards;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255, 255, 255, .9);
  font-size: .9rem;
  font-weight: 500;
}

.trust-icon {
  width: 20px;
  height: 20px;
  color: var(--gold-light);
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, .2);
}

/* ── ABOUT ────────────────────────────────────────── */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.about-img-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: .6rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold-dark);
  box-shadow: var(--shadow-sm);
}

.about-para {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.about-highlight {
  color: var(--gold-dark);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 2rem;
}

/* ── SERVICES ─────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: var(--transition);
  cursor: default;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.5rem;
  align-items: start;
  text-align: start;
}

.service-card-wide .service-icon-wrap {
  grid-row: 1 / 3;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--gold-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: background .25s;
}

.service-icon-wrap svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.service-card:hover .service-icon-wrap {
  background: var(--gold);
}

.service-card:hover .service-icon-wrap svg {
  color: #fff;
}

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: .6rem;
  line-height: 1.35;
}

.service-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── DOCTORS ──────────────────────────────────────── */
.doctors-filter,
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: .55rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 600;
  font-family: 'Tajawal', sans-serif;
  background: transparent;
  transition: var(--transition);
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.doctor-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
}

.doctor-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: rgba(201, 151, 60, .3);
}

.doctor-card.hidden {
  display: none;
}

.doctor-photo-wrap {
  position: relative;
  background: linear-gradient(135deg, var(--gold-pale), var(--bg-soft));
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.doctor-photo-placeholder svg {
  color: var(--gold);
  opacity: .5;
}

.doctor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.doctor-card:hover .doctor-photo-wrap img {
  transform: scale(1.03);
}

.doctor-role-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: var(--radius-full);
  letter-spacing: .05em;
}

.doctor-role-badge.specialist {
  background: var(--charcoal);
}

.doctor-info {
  padding: 1.75rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: right;
}

.doctor-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: .4rem;
}

.doctor-specialty {
  font-size: .95rem;
  font-weight: 600;
  color: var(--gold-dark);
  line-height: 1.6;
}

.doctor-details-list {
  list-style: none;
  padding: 1.5rem 0 0 0;
  margin: 1.5rem 0 0 0;
  border-top: 1px solid rgba(0, 0, 0, .06);
  font-size: .88rem;
  color: var(--charcoal);
  opacity: .9;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.doctor-details-list li {
  position: relative;
  padding-inline-start: 1.15rem;
  line-height: 1.6;
}

.doctor-details-list li::before {
  content: '•';
  position: absolute;
  right: 0;
  color: var(--gold);
}

.doctors-note {
  text-align: center;
  font-size: .9rem;
  color: var(--text-muted);
  font-style: italic;
  padding: 1.5rem;
  background: var(--gold-pale);
  border-radius: var(--radius-md);
  border: 1px dashed var(--gold-light);
}

/* ── GALLERY ──────────────────────────────────────── */
.gallery-swiper {
  padding-bottom: 3rem;
  /* Space for pagination */
  margin-bottom: 1rem;
  min-height: 380px;
  /* Reserve space before Swiper CSS loads to prevent CLS */
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201, 151, 60, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.5s ease;
  cursor: pointer;
  background: var(--bg);
}

.gallery-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px);
}

.gallery-swiper .swiper-pagination-bullet-active {
  background: var(--gold-dark);
}

.gallery-swiper .swiper-pagination-bullet {
  background: var(--gold);
}

.gallery-btn-next,
.gallery-btn-prev {
  color: var(--gold-dark) !important;
  background: var(--bg);
  width: 45px !important;
  height: 45px !important;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.gallery-btn-next:hover,
.gallery-btn-prev:hover {
  background: var(--gold);
  color: #fff !important;
  border-color: var(--gold);
  transform: scale(1.1);
}

.gallery-btn-next::after,
.gallery-btn-prev::after {
  font-size: 1.2rem !important;
  font-weight: 700;
}

.gallery-poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #050505;
}

.gallery-poster-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
  opacity: 0.6;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.gallery-card:hover .gallery-poster-wrap::after {
  opacity: 0.9;
  background: rgba(0, 0, 0, 0.4);
}

.gallery-poster-wrap::before {
  content: '+';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  z-index: 2;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 300;
  color: #fff;
  line-height: 1;
}

.gallery-card:hover .gallery-poster-wrap::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gallery-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transform: scale(1);
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-card:hover .gallery-poster {
  transform: scale(1.03);
}

.gallery-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  z-index: 3;
  padding: 0.35rem 1rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(15, 15, 15, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 151, 60, 0.3);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  white-space: nowrap;
}

.gallery-card:hover .gallery-tag {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ── LIGHTBOX ─────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 2rem;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: -1rem;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
  color: var(--gold);
}

.gallery-disclaimer {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--text-muted);
  text-align: center;
  justify-content: center;
  padding: 1rem;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.gallery-disclaimer svg {
  flex-shrink: 0;
  color: var(--gold);
}

/* ── VERTICAL MARQUEE ──────────────────────────── */
.vertical-marquee-container {
  display: flex;
  gap: 1rem;
  height: 400px;
  overflow: hidden;
  position: relative;
  margin-top: 2rem;
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
  mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
}

.marquee-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  will-change: transform;
  transform: translateZ(0);
}

.marquee-col.scroll-up .marquee-track {
  animation: marqueeUp 90s linear infinite;
}

.marquee-col.scroll-down .marquee-track {
  animation: marqueeUp 90s linear infinite reverse;
}

.marquee-col:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(calc(-50% - 0.5rem));
  }
}

.testimonial-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  background: var(--bg);
  transition: box-shadow 0.3s;
}

.testimonial-img-wrap:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .vertical-marquee-container {
    height: 320px;
    gap: 0.5rem;
  }

  .marquee-track {
    gap: 0.5rem;
  }

  @keyframes marqueeUp {
    0% {
      transform: translateY(0);
    }

    100% {
      transform: translateY(calc(-50% - 0.25rem));
    }
  }
}

/* ── FAQ ──────────────────────────────────────────── */
.faq-container {
  max-width: 760px;
  margin-inline: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .25s;
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: var(--gold);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  text-align: right;
  gap: 1rem;
  background: transparent;
  border: none;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question[aria-expanded="true"] {
  color: var(--gold);
}

.faq-arrow {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform .25s;
}

.faq-question[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease, padding .3s ease;
}

.faq-answer.open {
  max-height: 500px;
}

.faq-answer p,
.faq-answer ul {
  padding: 0 1.5rem 1.25rem;
  margin: 0;
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-answer ul {
  padding-top: 0;
  list-style: none;
}

.faq-answer p:has(+ ul) {
  padding-bottom: 0.5rem;
}

/* ── BOOKING ──────────────────────────────────────── */
.booking {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2a251f 100%);
}

.booking .section-eyebrow {
  color: var(--gold-light);
}

.booking .section-title {
  color: #fff;
}

.booking .gold-divider {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
}

.booking-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.booking-subtitle {
  color: rgba(255, 255, 255, .75);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.payment-logos {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.payment-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  transition: transform .2s, filter .2s;
}

.payment-logo:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.booking-note {
  color: rgba(255, 255, 255, .5);
  font-size: .82rem;
}

.booking-form-wrap {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 2rem;
  position: relative;
}

.form-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.form-step.active .step-num {
  background: var(--gold);
  color: #fff;
}

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

.form-step.active .step-lbl {
  color: var(--gold);
}

.step-connector {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 .5rem;
  margin-top: 17px;
}

.form-page {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-page:not(.active) {
  display: none;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--charcoal);
}

.form-input {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: 'Tajawal', sans-serif;
  font-size: .95rem;
  color: var(--charcoal);
  background: var(--bg);
  transition: border-color .2s;
  text-align: right;
  direction: rtl;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 151, 60, .12);
}

.form-input::placeholder {
  color: #bbb;
}

.form-select {
  cursor: pointer;
  appearance: none;
}

.phone-wrap {
  display: flex;
  gap: .5rem;
  align-items: stretch;
}

.phone-pfx {
  display: flex;
  align-items: center;
  padding: 0 .85rem;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  direction: ltr;
}

.phone-wrap .form-input {
  flex: 1;
}

.form-btn-row {
  display: flex;
  gap: 1rem;
}

.form-btn-row .btn-outline,
.form-btn-row .btn-primary {
  flex: 1;
  justify-content: center;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
  gap: 1rem;
}

.success-icon svg {
  color: var(--success);
}

.success-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
}

.success-msg {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Success Details & Actions ────────────────── */
.success-details-badge {
  background: var(--bg-soft);
  border: 1px dashed var(--gold-light);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.6;
  text-align: right;
  width: 100%;
}

.success-details-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--gold-dark);
  border-bottom: 1px solid rgba(201, 151, 60, 0.1);
  padding-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.success-details-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.success-details-label {
  color: var(--text-muted);
}

.success-details-val {
  font-weight: 700;
}

.success-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.5rem 0 1rem 0;
  width: 100%;
  flex-wrap: wrap;
}

.success-action-btn {
  flex: 1;
  min-width: 120px;
  background: #ffffff !important;
  color: var(--gold-dark) !important;
  border: 1.5px solid rgba(201, 151, 60, 0.25) !important;
  font-size: 0.8rem !important;
  padding: 10px 12px !important;
  border-radius: var(--radius-sm) !important;
  transition: var(--transition) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.success-action-btn:hover {
  background: var(--gold-dark) !important;
  color: #ffffff !important;
  border-color: var(--gold-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(201, 151, 60, 0.15) !important;
}

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 380px;
  width: calc(100% - 4rem);
}

.toast-box {
  background: #ffffff;
  border-right: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  animation: toast-slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.3s, transform 0.3s;
}

.toast-box.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.toast-title {
  font-weight: 700;
  color: var(--charcoal);
  font-size: 0.95rem;
}

.toast-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

@keyframes toast-slide-in {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Interactive Booking Scheduler */
.booking-scheduler {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 0.5rem;
  border: 1px solid var(--border);
}

.scheduler-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  display: block;
}

.scheduler-days {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.day-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 0;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.day-card .day-date {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold-dark);
}

.day-card .day-name {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.day-card:hover {
  border-color: var(--gold);
  background: var(--bg-soft);
}

.day-card.selected {
  border-color: var(--gold);
  background: var(--gold-pale);
  box-shadow: 0 4px 12px rgba(201, 151, 60, 0.1);
}

.scheduler-times {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.time-btn {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--charcoal);
  cursor: pointer;
  transition: var(--transition);
}

.time-btn:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
}

.time-btn.selected {
  background: var(--gold) !important;
  color: #ffffff !important;
  border-color: var(--gold) !important;
}

/* Responsive compact adjustments for mobile */
@media (max-width: 576px) {
  .scheduler-days {
    gap: 6px;
  }
  .day-card {
    padding: 8px 0;
  }
  .day-card .day-date {
    font-size: 0.85rem;
  }
  .day-card .day-name {
    font-size: 0.65rem;
  }
  
  .scheduler-times {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .time-btn {
    padding: 8px 0;
    font-size: 0.8rem;
  }
}

/* ── CONTACT ──────────────────────────────────────── */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: default;
}

a.contact-item {
  cursor: pointer;
}

.contact-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.contact-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  transition: background .25s;
}

.contact-item:hover .contact-icon-wrap {
  background: var(--gold);
  color: #fff;
}

.contact-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .2rem;
}

.contact-value {
  font-size: .95rem;
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  transition: var(--transition);
}

.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
  transform: translateY(-2px);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 360px;
}

.map-wrap iframe {
  height: 100%;
  min-height: 360px;
}

/* ── FOOTER ───────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, .8);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-logo {
  height: 60px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(201, 151, 60, 0.4));
}

.footer-tagline {
  font-size: .9rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: .75rem;
}

.footer-soc-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  transition: var(--transition);
}

.footer-soc-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-heading {
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-nav-link {
  font-size: .9rem;
  color: rgba(255, 255, 255, .65);
  transition: color .2s;
}

.footer-nav-link:hover {
  color: var(--gold);
}

.footer-address {
  color: rgba(255, 255, 255, .65);
  font-size: .9rem;
  line-height: 1.7;
}

.footer-address p {
  margin-bottom: .75rem;
}

.footer-phone {
  color: var(--gold-light);
  font-weight: 600;
  font-size: .95rem;
}

.footer-phone:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 1.25rem 0;
}

.footer-bottom p {
  text-align: center;
  font-size: .82rem;
  color: rgba(255, 255, 255, .35);
}

/* ── FLOATING BUTTONS ─────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 52px;
  height: 52px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  z-index: 999;
  transition: transform .25s ease, box-shadow .25s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
  animation: none;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.scroll-top-btn {
  position: fixed;
  bottom: 6rem;
  left: 2rem;
  width: 52px;
  height: 52px;
  background: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  z-index: 998;
  cursor: pointer;
  transition: transform .25s ease, color .2s ease;
}

.scroll-top-btn:hover {
  transform: translateY(-3px);
  color: var(--gold-dark);
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.progress-ring__circle {
  stroke: var(--gold);
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  transition: stroke-dashoffset 0.15s ease-out;
}

.scroll-icon {
  position: relative;
  z-index: 1;
}

/* ── SCROLL ANIMATIONS ────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  [data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
  }

  [data-animate].visible {
    opacity: 1;
    transform: none;
  }
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .service-card-wide {
    grid-column: 1 / -1;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-image-wrap {
    order: -1;
  }

  .about-img {
    height: 340px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --topbar-h: 0px;
  }

  .topbar {
    display: none;
  }

  .hamburger {
    display: flex;
    background: transparent;
    border: none;
  }

  .nav-links {
    position: absolute;
    top: calc(var(--navbar-h) + 0.5rem);
    right: 1rem;
    left: 1rem;
    background: #fff;
    flex-direction: column;
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow: var(--shadow-lg);
    gap: 0;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    padding: .85rem 1rem;
    text-align: right;
    border-bottom: 1px solid rgba(0, 0, 0, .04);
  }

  .nav-link:last-of-type {
    border-bottom: none;
  }

  .nav-link::after {
    display: none;
  }

  /* Remove desktop underline */
  .nav-btn-primary {
    width: 100%;
    text-align: center;
    margin: 1rem 0 0;
  }

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

  /* Turn doctors into a smooth native carousel on mobile */
  .doctors-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.5rem;
    scrollbar-width: none;
  }

  .doctors-grid::-webkit-scrollbar {
    display: none;
  }

  .doctors-grid>.doctor-card {
    min-width: 75vw;
    scroll-snap-align: center;
  }

  .service-card-wide {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-card-wide .service-icon-wrap {
    grid-row: auto;
    margin: 0 auto 1rem;
  }

  .booking-inner {
    grid-template-columns: 1fr;
  }

  .booking-form-wrap {
    padding: 1.75rem 1.25rem;
  }

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

  .footer-brand {
    grid-column: 1;
  }

  .trust-divider {
    display: none;
  }

  .trust-bar-inner {
    gap: .75rem 1rem;
  }

  .review-card {
    padding: 1.75rem 1.25rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .hero-title {
    font-size: 2rem;
  }
}