/* ============================================================
   Arab Specialized Medical Center — Main Stylesheet
   Author: GitHub Copilot | Version: 1.0
   ============================================================ */

/* ── 1. CSS Custom Properties ─────────────────────────────── */
:root {
  /* Brand Colors */
  --clr-primary:       #0a3d62;
  --clr-primary-dark:  #062a45;
  --clr-primary-light: #1a5276;
  --clr-accent:        #0d9b8e;
  --clr-accent-dark:   #097a6e;
  --clr-gold:          #f5921f;

  /* Neutrals */
  --clr-white:         #ffffff;
  --clr-off-white:     #f5faf9;
  --clr-light:         #e8f4f2;
  --clr-muted:         #5a7184;
  --clr-dark:          #061b2e;
  --clr-text:          #122533;
  --clr-surface:       #f7fdfc;
  --clr-border:        rgba(10, 61, 98, 0.15);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0a3d62 0%, #0d9b8e 100%);
  --grad-accent:  linear-gradient(135deg, #f5921f 0%, #e05c0a 100%);
  --grad-hero:    linear-gradient(135deg, #061b2e 0%, #0a3d62 45%, #0d6b62 100%);
  --grad-card:    linear-gradient(160deg, #f5faf9 0%, #e8f4f2 100%);

  /* Typography */
  --font-primary:  'Manrope', 'Segoe UI', sans-serif;
  --font-display:  'Outfit', 'Manrope', sans-serif;
  --font-arabic:   'Cairo', 'Noto Sans Arabic', sans-serif;

  /* Spacing Scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.75rem;
  --radius-lg:   1rem;
  --radius-xl:   1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 8px 18px rgba(9, 27, 25, 0.06);
  --shadow-md:  0 16px 35px rgba(9, 27, 25, 0.10);
  --shadow-lg:  0 24px 50px rgba(9, 27, 25, 0.15);
  --shadow-xl:  0 34px 70px rgba(9, 27, 25, 0.20);

  /* Transitions */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:    cubic-bezier(0.55, 0, 1, 0.45);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-glide: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast:   150ms;
  --dur-base:   300ms;
  --dur-slow:   500ms;
  --dur-lux:    900ms;

  /* Layout */
  --container-max: 1280px;
  --nav-height:    80px;
}

/* ── 2. Reset & Base ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--clr-text);
  background: linear-gradient(180deg, #f5faf9 0%, #eaf7f5 46%, #f5faf9 100%);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 16%, rgba(13,155,142,0.07), transparent 34%),
    radial-gradient(circle at 83% 8%, rgba(245,130,31,0.05), transparent 36%);
  z-index: -2;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ── 3. Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { max-width: 70ch; }

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 4. Layout Utilities ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

.section {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.section--gray  { background: var(--clr-off-white); }
.section--dark  { background: var(--clr-dark); color: var(--clr-white); }
.section--light { background: var(--clr-light); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }

.flex       { display: flex; }
.flex-col   { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ── 5. Section Headers ───────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-primary-light);
  margin-bottom: var(--space-md);
}

.section-header .eyebrow::before,
.section-header .eyebrow::after {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--clr-primary-light);
  border-radius: var(--radius-full);
}

.section-header h2 { margin-bottom: var(--space-md); }

.section-header p {
  font-size: 1.1rem;
  color: var(--clr-muted);
  margin-inline: auto;
}

/* ── 6. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 420ms var(--ease-apple), box-shadow 420ms var(--ease-apple), background 320ms var(--ease-glide), color 320ms var(--ease-glide), border-color 320ms var(--ease-glide);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0) 18%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 82%);
  transform: translateX(-120%);
  transition: transform 620ms var(--ease-glide);
}

.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(0.985); }

.btn-primary {
  background: var(--grad-accent);
  color: var(--clr-white);
  box-shadow: 0 10px 24px rgba(245,146,31,0.35);
}
.btn-primary:hover {
  box-shadow: 0 16px 32px rgba(245,146,31,0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255,255,255,0.82);
  color: var(--clr-primary);
  border: 1px solid rgba(14,74,132,0.36);
}
.btn-outline:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--clr-white);
  color: var(--clr-primary-dark);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.875rem;
}

.navbar .btn-sm {
  align-self: center;
}

.btn svg, .btn img { width: 1.1em; height: 1.1em; }

/* ── 7. Navbar ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--dur-base), box-shadow var(--dur-base), height var(--dur-base), border-color var(--dur-base);
  border-bottom: 1px solid transparent;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 2px 20px rgba(10,61,98,0.1);
  height: 68px;
  border-bottom-color: rgba(0, 60, 130, 0.08);
}

.navbar > .container {
  height: 100%;
}

.navbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.navbar__logo-img {
  height: 46px;
  width: auto;
  transition: transform 520ms var(--ease-apple);
  filter: drop-shadow(0 2px 6px rgba(13,155,142,0.2));
}
.navbar__logo:hover .navbar__logo-img {
  transform: translateY(-1px) scale(1.04);
}

/* Keep old icon style for fallback */
.navbar__logo-icon {
  width: 44px;
  height: 44px;
  background: var(--grad-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  transition: transform 520ms var(--ease-apple), box-shadow 520ms var(--ease-apple);
}
.navbar__logo:hover .navbar__logo-icon {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 12px 28px rgba(13, 155, 142, 0.28);
}

.navbar__logo-text { line-height: 1.2; }
.navbar__logo-text strong {
  display: block;
  font-family: 'Cairo', var(--font-display), sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: -0.01em;
}
.navbar__logo-text span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--clr-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav Links */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.navbar__nav a {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast);
  position: relative;
  border: 1px solid transparent;
}

.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background: var(--clr-accent);
  border-radius: var(--radius-full);
  transition: width var(--dur-base) var(--ease-out);
}

.navbar__nav a:hover,
.navbar__nav a.active {
  color: var(--clr-primary);
  background: rgba(13,155,142,0.08);
  border-color: rgba(13,155,142,0.18);
}
.navbar__nav a:hover::after,
.navbar__nav a.active::after {
  width: calc(100% - 1.8rem);
}

/* Navbar Hero variant — white links */
.navbar--hero .navbar__nav a,
.navbar--hero .navbar__logo-text strong {
  color: rgba(255,255,255,0.94);
}
.navbar--hero .navbar__logo-text span { color: rgba(255,255,255,0.75); }
.navbar--hero .navbar__logo-img { filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,0.2)); }
.navbar--hero .navbar__nav a:hover  { color: var(--clr-white); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); }
.navbar--hero.scrolled .navbar__nav a,
.navbar--hero.scrolled .navbar__logo-text strong {
  color: var(--clr-text);
}
.navbar--hero.scrolled .navbar__logo-text span { color: var(--clr-accent); }
.navbar--hero.scrolled .navbar__logo-img { filter: none; }

.hero .btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
}

.hero .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: white;
  border-color: rgba(255,255,255,0.65);
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast);
}
.navbar__hamburger:hover { background: var(--clr-light); }
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-dark);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast), width var(--dur-base);
}
.navbar--hero .navbar__hamburger span { background: white; }
.navbar--hero.scrolled .navbar__hamburger span { background: var(--clr-dark); }

.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.navbar__mobile {
  position: fixed;
  top: var(--nav-height);
  inset-inline: 0;
  background: rgba(243, 252, 250, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-xl);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transform: translateY(-112%);
  transition: transform 720ms var(--ease-apple), opacity 620ms var(--ease-apple);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}

.navbar__mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.navbar__mobile a {
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-text);
  border-radius: var(--radius-md);
  border-bottom: 1px solid rgba(13,155,142,0.10);
  transition: color var(--dur-fast), background var(--dur-fast), padding-left var(--dur-base);
}
.navbar__mobile a:last-child { border-bottom: none; }
.navbar__mobile a:hover {
  color: var(--clr-primary);
  background: var(--clr-light);
  padding-left: 1.5rem;
}

/* ── 8. Hero Section ──────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--grad-hero);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

/* Animated video-like background */
.hero__video-bg {
  display: none;
}

.hero__video-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
  opacity: 0.55;
}
.hero__video-blob--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(13,155,142,0.7), rgba(13,155,142,0));
  top: -150px; right: -100px;
  animation: blobDrift1 16s ease-in-out infinite;
}
.hero__video-blob--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,130,31,0.5), rgba(245,130,31,0));
  bottom: -100px; left: -80px;
  animation: blobDrift2 20s ease-in-out infinite;
}
.hero__video-blob--3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(13,155,142,0.5), rgba(13,155,142,0));
  top: 35%; left: 30%;
  animation: blobDrift3 14s ease-in-out infinite 3s;
}
.hero__video-blob--4 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(247,194,60,0.35), rgba(247,194,60,0));
  top: 15%; left: 15%;
  animation: blobDrift2 18s ease-in-out infinite 1.5s;
}

@keyframes blobDrift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%  { transform: translate(-40px, 30px) scale(1.08); }
  66%  { transform: translate(25px, -20px) scale(0.93); }
}
@keyframes blobDrift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%  { transform: translate(35px,-40px) scale(1.12); }
  70%  { transform: translate(-20px,25px) scale(0.95); }
}
@keyframes blobDrift3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%  { transform: translate(-30px,-25px) scale(1.06); }
}

/* Particles overlay */
.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  animation: particleFly linear infinite;
}

@keyframes particleFly {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-20px) translateX(40px); opacity: 0; }
}

.hero__bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.14;
  filter: blur(1px);
  will-change: transform;
}

.hero__shape--1 {
  width: 680px; height: 680px;
  background: var(--clr-primary);
  top: -200px; right: -100px;
  animation: floatShape 14s var(--ease-glide) infinite;
}
.hero__shape--2 {
  width: 480px; height: 480px;
  background: rgba(245,130,31,0.6);
  bottom: -150px; left: -80px;
  animation: floatShape 18s var(--ease-glide) infinite reverse;
}
.hero__shape--3 {
  width: 240px; height: 240px;
  background: rgba(247,194,60,0.5);
  top: 40%; left: 20%;
  animation: floatShape 12s var(--ease-glide) infinite 2s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -30px) scale(1.05); }
  66%       { transform: translate(-15px, 15px) scale(0.95); }
}

/* Grid overlay pattern */
.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-4xl);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.26);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.hero__badge-dot {
  width: 8px; height: 8px;
  background: #7EE8D8;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.hero__title .accent { color: #9FF0E4; }

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(236,245,255,0.88);
  max-width: 52ch;
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  background: rgba(7,43,78,0.22);
  overflow: hidden;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 130px;
  padding: 1.2rem 1rem;
}

.hero__stat + .hero__stat {
  border-left: 1px solid rgba(255,255,255,0.08);
}
.hero__stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 800;
  color: #f6fbff;
  line-height: 1;
  white-space: nowrap;
}

.hero__stat--grade strong {
  font-size: clamp(1.3rem, 1.9vw, 1.8rem);
}
.hero__stat strong [data-count] {
  font: inherit;
  color: inherit;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 0;
}
.hero__stat > span {
  font-size: 0.76rem;
  color: rgba(219,236,255,0.74);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 0.55rem;
  white-space: nowrap;
}

/* Hero visual side */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__img-wrap {
  position: relative;
  width: 460px;
  height: 575px;
  max-width: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(10,61,98,0.15), transparent 45%),
    linear-gradient(135deg, rgba(10,61,98,0.25) 0%, rgba(13,155,142,0.12) 100%);
  border-radius: var(--radius-xl);
  pointer-events: none;
  z-index: 1;
}

.hero__img-main {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  object-fit: cover;
  border: 2px solid rgba(13,155,142,0.35);
  display: block;
  position: relative;
  z-index: 0;
}

.hero__float-card {
  position: absolute;
  background: rgba(243, 253, 252, 0.96);
  border: 1px solid rgba(13,155,142,0.16);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  animation: floatCard 7s var(--ease-glide) infinite;
  min-width: 200px;
  will-change: transform;
  z-index: 2;
}
.hero__float-card--1 {
  bottom: 20%;
  left: -60px;
  animation-delay: 0s;
}
.hero__float-card--2 {
  top: 15%;
  right: -50px;
  animation-delay: 2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__float-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: rgba(13,155,142,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--clr-primary);
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero__float-card-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-dark);
}
.hero__float-card-text span {
  font-size: 0.75rem;
  color: var(--clr-muted);
}

/* ── 9. Stats Bar ─────────────────────────────────────────── */
.stats-bar {
  background: var(--clr-white);
  box-shadow: 0 8px 28px rgba(13,155,142,0.10);
  padding-block: var(--space-xl);
  position: relative;
  z-index: 10;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(13,155,142,0.12);
}

.stats-bar__item {
  background: var(--clr-white);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.stats-bar__item:hover {
  background: var(--clr-off-white);
  transform: translateY(-2px);
}
.stats-bar__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1;
}
.stats-bar__item span {
  font-size: 0.85rem;
  color: var(--clr-muted);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

/* ── 10. Services Section ─────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
  align-items: stretch;
}

.service-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: transform 620ms var(--ease-apple), box-shadow 620ms var(--ease-apple), border-color 420ms var(--ease-glide);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(13,155,142,0.28);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 72px; height: 72px;
  background: rgba(13,155,142,0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--clr-primary);
  margin-bottom: var(--space-lg);
  transition: background var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.service-card__icon:empty::before {
  content: '+';
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}
.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.service-card:hover .service-card__icon {
  background: rgba(13,155,142,0.18);
  transform: scale(1.06);
}
.hero__float-card-icon:empty::before {
  content: 'MC';
}

.service-card__media {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.service-card__media .service-card__icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.service-card__thumb {
  width: 92px;
  height: 84px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(10,61,98,0.08);
  background: linear-gradient(145deg, #eef4f7, #f8fbfc);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.service-card__thumb::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2rem;
}

.service-card__thumb--dermatology::before { content: '🧴'; }
.service-card__thumb--laser::before { content: '🔺'; }
.service-card__thumb--dentistry::before { content: '🦷'; }
.service-card__thumb--gynecology::before { content: '🫄'; }
.service-card__thumb--pediatrics::before { content: '🧸'; }
.service-card__thumb--ent::before { content: '👂'; }
.service-card__thumb--general::before { content: '🩺'; }

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-dark);
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--clr-muted);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-primary);
  transition: gap var(--dur-fast), color var(--dur-fast);
  margin-top: auto;
}
.service-card:hover .service-card__link { gap: 10px; color: var(--clr-primary-dark); }
.service-card__link svg { width: 16px; height: 16px; }

/* ── 11. Doctors Section ──────────────────────────────────── */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 320px));
  justify-content: center;
  gap: var(--space-xl);
  align-items: stretch;
}

.doctor-card {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  transition: transform 620ms var(--ease-apple), box-shadow 620ms var(--ease-apple);
  display: flex;
  flex-direction: column;
}
.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.doctor-card__img {
  aspect-ratio: 3/3.5;
  background: var(--grad-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  overflow: hidden;
  position: relative;
}
.doctor-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.doctor-card:hover .doctor-card__img img { transform: scale(1.05); }

.doctor-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(13,155,142,0.92) 0%, rgba(245,130,31,0.82) 100%);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  transition: opacity var(--dur-base);
}
.doctor-card:hover .doctor-card__overlay { opacity: 0.92; }

.doctor-card__overlay a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.doctor-card__overlay a:hover {
  background: rgba(255,255,255,0.35);
  transform: scale(1.1);
}

.doctor-card__info {
  padding: var(--space-lg);
  text-align: center;
}

.doctor-card__specialty {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: rgba(13,155,142,0.10);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  margin-bottom: var(--space-sm);
}

.doctor-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-dark);
  margin-bottom: 4px;
}
.doctor-card__bio {
  font-size: 0.85rem;
  color: var(--clr-muted);
  line-height: 1.55;
}

/* ── 12. Testimonials ─────────────────────────────────────── */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
  align-items: stretch;
}

.testimonial-card {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  position: relative;
  transition: transform 620ms var(--ease-apple), box-shadow 620ms var(--ease-apple), border-color 420ms var(--ease-glide);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13,155,142,0.28);
}

.testimonial-card__quote {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-xl);
  font-size: 4rem;
  line-height: 1;
  color: rgba(13,155,142,0.15);
  font-family: Georgia, serif;
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-md);
}
.testimonial-card__stars span { color: var(--clr-accent); font-size: 1.1rem; }

.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--clr-text);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: italic;
  flex-grow: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-card__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.testimonial-card__author-name {
  font-weight: 700;
  color: var(--clr-dark);
  font-size: 0.95rem;
}
.testimonial-card__author-label {
  font-size: 0.78rem;
  color: var(--clr-muted);
}

/* ── 13. FAQ ──────────────────────────────────────────────── */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-white);
  transition: border-color var(--dur-fast), box-shadow var(--dur-base);
}
.faq-item.open {
  border-color: var(--clr-primary);
  box-shadow: 0 8px 24px rgba(13,155,142,0.12);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-dark);
  transition: color var(--dur-fast), background var(--dur-fast);
  cursor: pointer;
}
.faq-item.open .faq-item__question { color: var(--clr-primary); }

.faq-item__chevron {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--clr-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-fast);
}
.faq-item.open .faq-item__chevron {
  transform: rotate(180deg);
  background: var(--clr-primary);
  color: white;
}
.faq-item__chevron svg { width: 14px; height: 14px; }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out), padding var(--dur-slow) var(--ease-out);
}
.faq-item.open .faq-item__answer {
  max-height: 600px;
  padding-bottom: var(--space-lg);
}

.faq-item__answer-inner {
  padding-inline: var(--space-xl);
  font-size: 0.9rem;
  color: var(--clr-muted);
  line-height: 1.7;
}

/* ── 14. CTA Banner ───────────────────────────────────────── */
.cta-banner {
  background: var(--grad-hero);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(13,155,142,0.22), transparent);
  border-radius: 50%;
  top: -200px; right: -100px;
  animation: blobDrift1 12s ease-in-out infinite;
}
.cta-banner::after {
  content: '';
  position: absolute;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(245,130,31,0.18), transparent);
  border-radius: 50%;
  bottom: -150px; left: -80px;
  animation: blobDrift2 16s ease-in-out infinite;
  pointer-events: none;
}
.cta-banner h2 {
  color: var(--clr-white);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}
.cta-banner p {
  color: rgba(255,255,255,0.78);
  margin-inline: auto;
  max-width: 55ch;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}
.cta-banner .btn-group {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ── 15. Footer ───────────────────────────────────────────── */
.footer {
  background: var(--grad-hero);
  color: rgba(255,255,255,0.7);
  padding-top: var(--space-4xl);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand .footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.footer__brand .footer__logo-icon {
  width: 44px; height: 44px;
  background: var(--grad-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
}
.footer__brand .footer__logo strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 36ch;
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}
.footer__social a {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}
.footer__social a:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: white;
  transform: translateY(-2px);
}

.footer__col h5 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.footer__col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--dur-fast), padding-left var(--dur-base);
  display: inline-block;
}
.footer__col ul li a:hover {
  color: var(--clr-accent);
  padding-left: 6px;
}

.footer__contact li {
  display: block;
  margin-bottom: var(--space-sm);
}
.footer__contact li span:first-child {
  display: none;
}
.footer__contact li span:last-child {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.footer__bottom {
  padding-block: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
}

/* ── 16. WhatsApp Button ──────────────────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem 0.75rem 0.75rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
  animation: whatsappPulse 3s ease-in-out infinite 1s;
}
.whatsapp-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
  animation: none;
}
.whatsapp-btn svg {
  width: 32px; height: 32px;
  background: white;
  border-radius: 50%;
  padding: 6px;
  flex-shrink: 0;
  fill: #25D366;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 0 0 12px rgba(37,211,102,0); }
}

/* ── 17. Scroll to Top ────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9000;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(13,155,142,0.35);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.scroll-top:hover { transform: translateY(-3px); }
.scroll-top svg { width: 20px; height: 20px; }

/* ── 18. Forms ────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-dark);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1.1rem;
  border: 2px solid var(--clr-light);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--clr-text);
  background: var(--clr-white);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 4px rgba(13,155,142,0.12);
}

.form-input.error,
.form-textarea.error {
  border-color: #ef4444;
}

.form-input.error:focus,
.form-textarea.error:focus {
  box-shadow: 0 0 0 4px rgba(239,68,68,0.1);
}

.form-error-msg {
  font-size: 0.78rem;
  color: #ef4444;
  display: none;
}
.form-error-msg.visible { display: block; }

.form-textarea { resize: vertical; min-height: 140px; }

/* ── 19. Gallery ──────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--clr-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 760ms var(--ease-apple), filter 760ms var(--ease-apple);
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.03);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  opacity: 0;
  transition: opacity var(--dur-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__label {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ── 20. Page Hero ────────────────────────────────────────── */
.page-hero {
  background: radial-gradient(circle at 18% 18%, rgba(13,155,142,0.28), transparent 42%), var(--grad-hero);
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.page-hero h1 { color: white; margin-bottom: var(--space-md); }
.page-hero p  { color: rgba(255,255,255,0.75); margin-inline: auto; font-size: 1.1rem; }
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: var(--space-md);
}
.page-hero__breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero__breadcrumb a:hover { color: white; }
.page-hero__breadcrumb span { color: var(--clr-accent); font-weight: 600; }
.specialty-visual:empty::before,
.contact-info-icon:empty::before,
.blog-card__thumb > span[aria-hidden="true"]:empty::before,
.footer__contact li span:first-child:empty::before,
.ba-card__side:empty::before {
  content: '+';
  color: var(--clr-primary);
  font-weight: 700;
}
.blog-card__meta span:last-child {
  color: var(--clr-muted);
  font-weight: 600;
}

/* ── 21. Utility Classes ──────────────────────────────────── */
.text-center { text-align: center; }
.text-white  { color: white; }
.text-muted  { color: var(--clr-muted); }
.text-primary { color: var(--clr-primary); }
.text-accent  { color: var(--clr-accent); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Animate on scroll */
.reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.985);
  filter: blur(8px);
  transition: opacity var(--dur-lux) var(--ease-apple), transform var(--dur-lux) var(--ease-apple), filter 900ms var(--ease-apple);
  will-change: transform, opacity, filter;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal[data-reveal="left"] { transform: translateX(-34px) scale(0.985); }
.reveal[data-reveal="right"] { transform: translateX(34px) scale(0.985); }
.reveal[data-reveal="zoom"] { transform: scale(0.94); }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  body {
    opacity: 1;
    transform: none;
  }

  .reveal,
  .reveal[data-reveal="left"],
  .reveal[data-reveal="right"],
  .reveal[data-reveal="zoom"] {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ── 22. Responsive ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .doctors-grid {
    grid-template-columns: repeat(2, minmax(260px, 340px));
  }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .navbar__nav { display: none; }
  .navbar__hamburger { display: flex; }
}

@media (max-width: 640px) {
  :root { --nav-height: 68px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stat { min-height: 110px; padding: 1rem 0.85rem; }
  .hero__stat:nth-child(3), .hero__stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.08); }
  .hero__stat:nth-child(3) { border-left: 0; }
  .stats-bar__grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .whatsapp-btn span.whatsapp-label { display: none; }
  .whatsapp-btn { padding: 0.75rem; border-radius: 50%; }
  .hero__float-card { display: none; }
}

/* ── 23. Print ────────────────────────────────────────────── */
@media print {
  .navbar, .whatsapp-btn, .scroll-top, .hero__bg-shapes { display: none; }
  body { padding-top: 0; }
}

/* ── 24. Video Background Section ────────────────────────── */
.video-section {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  padding-block: clamp(4rem, 10vw, 7rem);
  color: var(--clr-white);
}

.video-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.video-section__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.video-section__blob--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(13,155,142,0.5), transparent);
  top: -200px; left: -150px;
  animation: blobDrift2 18s ease-in-out infinite;
  opacity: 0.6;
}
.video-section__blob--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,130,31,0.4), transparent);
  bottom: -100px; right: -80px;
  animation: blobDrift1 22s ease-in-out infinite;
  opacity: 0.55;
}
.video-section__blob--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(247,194,60,0.35), transparent);
  top: 40%; left: 50%;
  animation: blobDrift3 15s ease-in-out infinite 2s;
  opacity: 0.45;
}

.video-section__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.video-section__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.video-section__quote {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.35;
  color: var(--clr-white);
  margin-bottom: var(--space-xl);
  border: none;
  padding: 0;
}
.video-section__quote::before {
  content: '"';
  display: block;
  font-size: 4rem;
  color: rgba(13,155,142,0.7);
  line-height: 1;
  margin-bottom: var(--space-sm);
  font-family: Georgia, serif;
}

.video-section__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: var(--space-2xl);
  max-width: 48ch;
}

.video-section__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.video-section__stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: background var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.video-section__stat:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}
.video-section__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1;
}
.video-section__stat span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  display: block;
}

.video-section__accent {
  color: #9FF0E4;
}

@media (max-width: 900px) {
  .video-section__inner { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .video-section__stats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .video-section__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ── 25. Button accent variant ────────────────────────────── */
.btn-accent {
  background: var(--grad-accent);
  color: var(--clr-white);
  box-shadow: 0 12px 28px rgba(245,130,31,0.30);
}
.btn-accent:hover {
  box-shadow: 0 18px 34px rgba(245,130,31,0.40);
  transform: translateY(-2px);
}

/* ── 26. Footer logo image ────────────────────────────────── */
.footer__logo-img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

