/* ═══════════════════════════════════════════════════
   City Eye Center — Premium Redesign
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Kufi+Arabic:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:     #0B1D3A;
  --blue:     #1565C0;
  --blue-mid: #1976D2;
  --blue-lt:  #29B6F6;
  --teal:     #00ACC1;
  --white:    #FFFFFF;
  --off-white:#F4F8FF;
  --gray-lt:  #E8EEF8;
  --gray:     #8695A4;
  --text:     #0D1B2A;
  --text-md:  #3D5166;
  --glow: 0 0 40px rgba(21,101,192,.25);
  --card-shadow: 0 4px 24px rgba(11,29,58,.10);
  --card-shadow-hover: 0 16px 48px rgba(11,29,58,.18);
  --transition: all .35s cubic-bezier(.4,0,.2,1);
  --radius: 20px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
}

/* ── SCROLL ANIMATIONS ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.from-left  { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.scale-in   { transform: scale(.92); }
.reveal.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}
/* stagger for grids */
.reveal-grid > * {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.reveal-grid.visible > *:nth-child(1)  { transition-delay:.05s; }
.reveal-grid.visible > *:nth-child(2)  { transition-delay:.12s; }
.reveal-grid.visible > *:nth-child(3)  { transition-delay:.19s; }
.reveal-grid.visible > *:nth-child(4)  { transition-delay:.26s; }
.reveal-grid.visible > *:nth-child(5)  { transition-delay:.33s; }
.reveal-grid.visible > *:nth-child(6)  { transition-delay:.40s; }
.reveal-grid.visible > *:nth-child(7)  { transition-delay:.47s; }
.reveal-grid.visible > *:nth-child(8)  { transition-delay:.54s; }
.reveal-grid.visible > *:nth-child(9)  { transition-delay:.60s; }
.reveal-grid.visible > *:nth-child(10) { transition-delay:.66s; }
.reveal-grid.visible > *:nth-child(11) { transition-delay:.72s; }
.reveal-grid.visible > *:nth-child(12) { transition-delay:.78s; }
.reveal-grid.visible > * { opacity:1; transform:none; }

/* ── NAVBAR ─────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 72px;
  background: transparent;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.navbar.scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 2px 24px rgba(11,29,58,.1);
}
.navbar .logo img { height: 44px; transition: var(--transition); }
.navbar nav { display: flex; gap: 36px; align-items: center; }
.navbar nav a {
  text-decoration: none;
  color: var(--white);
  font-size: 14.5px; font-weight: 500; letter-spacing: .01em;
  position: relative; padding-bottom: 2px;
  transition: color .3s;
}
.navbar nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--blue-lt);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.navbar nav a:hover::after, .navbar nav a.active::after { transform: scaleX(1); }
.navbar.scrolled nav a { color: var(--text); }
.navbar.scrolled nav a:hover { color: var(--blue); }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 40px;
  background: rgba(255,255,255,.15); color: var(--white);
  font-size: 13px; font-weight: 600; text-decoration: none;
  border: 1px solid rgba(255,255,255,.3);
  transition: var(--transition);
}
.lang-btn:hover { background: rgba(255,255,255,.28); }
.navbar.scrolled .lang-btn {
  background: var(--blue); color: #fff; border-color: var(--blue);
}
.lang-btn img { width: 18px; height: auto; border-radius: 2px; }

/* ── NAVBAR RIGHT GROUP ─────────────────────────── */
.navbar-right {
  display: flex; align-items: center; gap: 10px;
}


/* ── HOME HERO ──────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #041126 0%, #0B1D3A 40%, #0d3470 70%, #1565C0 100%);
  z-index: 0;
}
/* Animated blobs */
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35;
  animation: blobFloat 8s ease-in-out infinite;
}
.hero-blob-1 { width: 600px; height: 600px; background: #1565C0; top: -200px; right: -150px; animation-delay: 0s; }
.hero-blob-2 { width: 400px; height: 400px; background: #00ACC1; bottom: -100px; left: 10%; animation-delay: -3s; }
.hero-blob-3 { width: 300px; height: 300px; background: #29B6F6; top: 30%; left: 40%; animation-delay: -5s; }
@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%  { transform: translate(30px,-20px) scale(1.05); }
  66%  { transform: translate(-20px,30px) scale(.95); }
}

.hero-gif {
  position: absolute; inset: 0; z-index: 1;
  overflow: hidden;
}
.hero-gif img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .18;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to right, rgba(4,17,38,.9) 40%, rgba(4,17,38,.3) 100%);
}
.hero-content {
  position: relative; z-index: 3;
  padding: 0 80px; max-width: 760px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(41,182,246,.15); border: 1px solid rgba(41,182,246,.35);
  color: var(--blue-lt); padding: 8px 18px; border-radius: 40px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  margin-bottom: 28px;
  animation: fadeInDown .8s ease both;
}
.hero-badge span { width: 6px; height: 6px; background: var(--blue-lt); border-radius: 50%; }
.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 900; line-height: 1.08; color: #fff;
  margin-bottom: 24px; letter-spacing: -.02em;
  animation: fadeInUp .9s .15s ease both;
}
.hero h1 em { font-style: normal; color: var(--blue-lt); }
.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,.75); line-height: 1.75;
  margin-bottom: 40px; max-width: 560px;
  animation: fadeInUp .9s .3s ease both;
}
.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeInUp .9s .45s ease both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #1565C0, #29B6F6);
  color: #fff; padding: 16px 32px; border-radius: 50px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 32px rgba(21,101,192,.45);
  transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(21,101,192,.55); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); color: #fff;
  padding: 16px 32px; border-radius: 50px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.5); font-size: 12px; font-weight: 500; letter-spacing: .1em;
  animation: fadeInUp 1s .8s ease both;
}
.hero-scroll .scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity:.5; transform: scaleY(1); } 50% { opacity:1; transform: scaleY(1.2); } }

/* ── SECTION BASE ───────────────────────────────── */
.section { padding: 100px 80px; }
.section.alt { background: var(--off-white); }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--blue); font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 14px;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--blue); border-radius: 2px; }
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800;
  line-height: 1.15; letter-spacing: -.02em; color: var(--text);
  margin-bottom: 16px;
}
.section-title em { font-style: normal; color: var(--blue); }
.section-sub {
  font-size: 1.05rem; color: var(--text-md); line-height: 1.7; max-width: 600px;
}

/* ── VISION / ABOUT SPLIT ───────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-text { }
.split-img { position: relative; }
.split-img .img-frame {
  border-radius: 24px; overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}
.split-img .img-frame:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.split-img .img-frame img { width: 100%; display: block; }
.split-img .img-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--white); border-radius: 20px; padding: 20px 28px;
  box-shadow: var(--card-shadow); text-align: center;
  animation: floatBadge 4s ease-in-out infinite;
}
.split-img .img-badge .num { font-size: 2rem; font-weight: 900; color: var(--blue); line-height: 1; }
.split-img .img-badge .lbl { font-size: .8rem; color: var(--gray); margin-top: 4px; }
@keyframes floatBadge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ── STATS ROW ──────────────────────────────────── */
.stats-strip {
  display: flex; gap: 0;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 40px rgba(11,29,58,.3);
  margin-top: 48px;
}
.stat-item {
  flex: 1; padding: 36px 32px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat-item:last-child { border-right: none; }
.stat-item .num {
  font-size: 2.4rem; font-weight: 900; color: var(--white); line-height: 1;
  margin-bottom: 8px;
}
.stat-item .lbl { font-size: .85rem; color: rgba(255,255,255,.65); }

/* ── DOCTORS ────────────────────────────────────── */
.doctors-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.doctor-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--card-shadow);
  transition: var(--transition); cursor: default;
}
.doctor-card:hover { transform: translateY(-8px); box-shadow: var(--card-shadow-hover); }
.doctor-card .doc-img {
  position: relative; overflow: hidden; aspect-ratio: 1;
}
.doctor-card .doc-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.doctor-card:hover .doc-img img { transform: scale(1.07); }
.doctor-card .doc-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,29,58,.7) 0%, transparent 50%);
  opacity: 0; transition: opacity .35s;
}
.doctor-card:hover .doc-img::after { opacity: 1; }
.doctor-card .doc-info { padding: 20px 22px; }
.doctor-card .doc-info .name {
  font-size: .98rem; font-weight: 700; color: var(--text); margin-bottom: 4px;
}
.doctor-card .doc-info .role {
  font-size: .82rem; color: var(--blue); font-weight: 500;
}

/* ── SERVICE CARDS (Services page) ─────────────── */
.services-list { display: flex; flex-direction: column; gap: 32px; }
.svc-card {
  display: grid; grid-template-columns: 420px 1fr;
  background: var(--white); border-radius: 24px; overflow: hidden;
  box-shadow: var(--card-shadow); transition: var(--transition);
}
.svc-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-4px); }
.svc-card .svc-img { position: relative; overflow: hidden; }
.svc-card .svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .svc-img img { transform: scale(1.05); }
.svc-card .svc-body { padding: 48px 52px; display: flex; flex-direction: column; justify-content: center; }
.svc-card .svc-body h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 16px; color: var(--text); }
.svc-card .svc-body p { color: var(--text-md); line-height: 1.75; margin-bottom: 28px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: var(--transition); cursor: pointer; border: none;
}
.btn-blue { background: linear-gradient(135deg, var(--blue), var(--blue-lt)); color: #fff; box-shadow: 0 4px 20px rgba(21,101,192,.3); }
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(21,101,192,.45); }
.btn-outline { background: transparent; border: 2px solid var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--blue); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; transition: transform .3s; }
.btn:hover svg { transform: translateX(4px); }

/* ── HOME SERVICES (cards) ──────────────────────── */
.home-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-svc-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 28px;
  box-shadow: var(--card-shadow); border: 1px solid var(--gray-lt);
  transition: var(--transition);
}
.home-svc-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); border-color: var(--blue-lt); }
.home-svc-card .icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(21,101,192,.12), rgba(41,182,246,.12));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.home-svc-card .icon svg { width: 28px; height: 28px; color: var(--blue); }
.home-svc-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.home-svc-card p { font-size: .9rem; color: var(--text-md); line-height: 1.65; }

/* ── SURGICAL GRID ──────────────────────────────── */
.surgical-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.surg-card {
  background: var(--white); border-radius: 20px; overflow: hidden;
  box-shadow: var(--card-shadow); border: 1px solid var(--gray-lt);
  transition: var(--transition); cursor: default;
}
.surg-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); border-color: transparent; }
.surg-card .surg-img {
  background: linear-gradient(135deg, #EAF3FF, #D6EEFF);
  padding: 28px; text-align: center;
}
.surg-card .surg-img img { width: 80px; height: 80px; object-fit: contain; }
.surg-card .surg-body { padding: 20px 20px 24px; }
.surg-card .surg-body h3 { font-size: .97rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.surg-card .surg-body p { font-size: .82rem; color: var(--text-md); line-height: 1.6; }

/* ── ABOUT PAGE ──────────────────────────────────── */
.about-hero {
  min-height: 55vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #041126 0%, #0B1D3A 50%, #1565C0 100%);
  padding: 120px 80px 80px; position: relative; overflow: hidden;
}
.about-hero .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .3; }
.about-hero .blob-a { width: 500px; height: 500px; background: #1976D2; top: -200px; right: -100px; }
.about-hero .blob-b { width: 300px; height: 300px; background: #00ACC1; bottom: -100px; left: 20%; }
.about-hero-text { position: relative; z-index: 2; }
.about-hero-text h1 { font-size: clamp(2.2rem,4vw,3.6rem); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 16px; letter-spacing: -.02em; }
.about-hero-text p { font-size: 1.1rem; color: rgba(255,255,255,.72); max-width: 580px; line-height: 1.75; }

/* ── CONTACT PAGE ───────────────────────────────── */
.contact-hero {
  min-height: 50vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #041126 0%, #0B1D3A 50%, #0d3470 100%);
  padding: 120px 80px 80px; position: relative; overflow: hidden; text-align: center;
}
.contact-hero .blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .28; }
.contact-hero .blob-a { width: 500px; height: 500px; background: #1565C0; top: -200px; left: -100px; }
.contact-hero .blob-b { width: 400px; height: 400px; background: #00ACC1; bottom: -150px; right: -100px; }
.contact-hero-text { position: relative; z-index: 2; }
.contact-hero-text h1 { font-size: clamp(2rem,4vw,3.2rem); font-weight: 900; color: #fff; margin-bottom: 12px; }
.contact-hero-text p { font-size: 1.1rem; color: rgba(255,255,255,.7); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-form-box {
  background: var(--white); border-radius: 24px;
  padding: 48px; box-shadow: var(--card-shadow);
}
.contact-form-box h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; }
.contact-form-box .sub { color: var(--text-md); margin-bottom: 32px; font-size: .95rem; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: 8px; letter-spacing: .01em; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 18px;
  background: var(--off-white); border: 1.5px solid var(--gray-lt);
  border-radius: 12px; font-size: .95rem; font-family: inherit; color: var(--text);
  outline: none; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(21,101,192,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%; padding: 16px; border-radius: 50px;
  background: linear-gradient(135deg, var(--blue), var(--blue-lt));
  color: #fff; font-size: 15px; font-weight: 700; font-family: inherit;
  border: none; cursor: pointer;
  box-shadow: 0 8px 28px rgba(21,101,192,.35);
  transition: var(--transition);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(21,101,192,.5); }

.branches-sidebar { display: flex; flex-direction: column; gap: 28px; }
.branch-card {
  background: var(--white); border-radius: 20px;
  box-shadow: var(--card-shadow); overflow: hidden;
  transition: var(--transition);
}
.branch-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.branch-card .branch-head {
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
  padding: 20px 24px; color: #fff;
}
.branch-card .branch-head h3 { font-size: 1.1rem; font-weight: 800; }
.branch-card .branch-body { padding: 20px 24px; }
.branch-info-row { display: flex; gap: 10px; margin-bottom: 10px; font-size: .88rem; }
.branch-info-row .lbl { font-weight: 700; color: var(--blue); min-width: 60px; }
.branch-info-row .val { color: var(--text-md); }
.branch-info-row .val a { color: var(--blue); text-decoration: none; }
.branch-info-row .val a:hover { text-decoration: underline; }
.map-frame { margin-top: 16px; border-radius: 12px; overflow: hidden; }
.map-frame iframe { width: 100%; height: 180px; border: none; display: block; }

/* ── PAGE HERO BANNER ───────────────────────────── */
.page-hero {
  min-height: 280px; display: flex; align-items: flex-end;
  background: linear-gradient(135deg, #041126 0%, #0B1D3A 50%, #1565C0 100%);
  padding: 100px 80px 60px; position: relative; overflow: hidden;
}
.page-hero .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .3; }
.page-hero .blob-a { width: 450px; height: 450px; background: #1976D2; top: -200px; right: -80px; }
.page-hero .blob-b { width: 250px; height: 250px; background: #00ACC1; bottom: -80px; left: 30%; }
.page-hero-text { position: relative; z-index: 2; }
.page-hero-text h1 {
  font-size: clamp(2rem,4vw,3.2rem); font-weight: 900; color: #fff;
  line-height: 1.1; letter-spacing: -.02em;
}
.page-hero-text p { font-size: 1rem; color: rgba(255,255,255,.65); margin-top: 10px; }

/* ── GALLERY ─────────────────────────────────────── */
.gallery-masonry {
  columns: 4; column-gap: 16px;
}
.gallery-item {
  break-inside: avoid; margin-bottom: 16px; border-radius: 14px;
  overflow: hidden; cursor: pointer; display: block; position: relative;
}
.gallery-item img { width: 100%; display: block; transition: transform .5s ease; }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,29,58,.6) 0%, transparent 50%);
  opacity: 0; transition: opacity .35s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item .zoom-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.8);
  background: rgba(255,255,255,.95); color: var(--blue);
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s, transform .3s;
  z-index: 2;
}
.gallery-item:hover .zoom-icon { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* ── LIGHTBOX ───────────────────────────────────── */
.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(4,17,38,.96); z-index: 1000;
  align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.lightbox img { max-width: 88vw; max-height: 88vh; border-radius: 16px; object-fit: contain; box-shadow: 0 32px 80px rgba(0,0,0,.6); }
.lb-close {
  position: fixed; top: 24px; right: 32px; color: #fff; font-size: 2rem;
  cursor: pointer; z-index: 1001; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); border-radius: 50%;
  transition: var(--transition);
}
.lb-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }
.lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); color: #fff;
  border: none; font-size: 1.8rem; padding: 16px 20px;
  cursor: pointer; border-radius: 14px; transition: var(--transition);
  backdrop-filter: blur(8px);
}
.lb-nav:hover { background: rgba(255,255,255,.2); }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-counter { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: .9rem; }

/* ── FOOTER ──────────────────────────────────────── */
.footer {
  background: linear-gradient(135deg, #041126 0%, #0B1D3A 60%, #0d3470 100%);
  color: #fff; padding: 80px 80px 36px; position: relative; overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(to right, var(--blue), var(--blue-lt), var(--teal));
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 60px; margin-bottom: 56px; }
.footer-brand .logo { height: 46px; margin-bottom: 18px; display: block; }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; }
.social-trigger-wrap { position: relative; display: inline-block; }
.social-link {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); text-decoration: none; cursor: pointer;
  transition: var(--transition);
}
.social-link:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-3px); }
.social-link svg { width: 18px; height: 18px; }
/* Social branch/account picker popup */
.social-popup {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(5,18,42,.97);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  padding: 6px;
  min-width: 215px;
  z-index: 999;
  box-shadow: 0 14px 48px rgba(0,0,0,.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.social-popup.active {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.social-popup::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: rgba(5,18,42,.97);
}
.social-popup-header {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 10px 7px;
  color: rgba(255,255,255,.38);
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 4px;
}
.social-popup-option {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 10px;
  color: rgba(255,255,255,.85); text-decoration: none;
  font-size: .875rem; font-weight: 500;
  transition: background .15s;
}
.social-popup-option:hover { background: rgba(255,255,255,.09); color: #fff; }
.pi {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.pi-fb { background: #1877F2; }
.pi-ig { background: linear-gradient(135deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.footer-contact h3 {
  font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--blue-lt);
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-branch { margin-bottom: 16px; }
.footer-branch .bname { font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.footer-branch .bphones { font-size: .9rem; }
.footer-branch .bphones a { color: rgba(255,255,255,.8); text-decoration: none; transition: color .2s; }
.footer-branch .bphones a:hover { color: var(--blue-lt); }
.footer-email { margin-top: 20px; }
.footer-email a { color: var(--blue-lt); text-decoration: none; font-size: .9rem; }
.footer-tagline { display: flex; flex-direction: column; justify-content: space-between; }
.footer-tagline blockquote {
  font-size: 1rem; color: rgba(255,255,255,.55); font-style: italic;
  line-height: 1.7; border-left: 3px solid var(--blue); padding-left: 16px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px; text-align: center;
  color: rgba(255,255,255,.35); font-size: .85rem;
}

/* ── HAMBURGER ───────────────────────────────────── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px 4px;
  background: none; border: none; z-index: 201;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.navbar.scrolled .hamburger span { background: var(--text); }
.navbar.menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar.menu-open .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar.menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── PAGE TRANSITION ─────────────────────────────── */
.page-fade-in { animation: pageIn .5s ease both; }
@keyframes pageIn { from { opacity:0; transform: translateY(10px); } to { opacity:1; transform: none; } }

/* ── KEYFRAMES ───────────────────────────────────── */
@keyframes fadeInUp   { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform: none; } }
@keyframes fadeInDown { from { opacity:0; transform: translateY(-20px); } to { opacity:1; transform: none; } }

/* ── LOGO: invert to white on transparent/dark navbar ── */
.navbar:not(.scrolled) .logo img { filter: brightness(0) invert(1); }

/* ── REVIEWS ────────────────────────────────────────── */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review-branch-card {
  background: var(--white); border-radius: 24px;
  box-shadow: var(--card-shadow); padding: 36px 32px;
  border: 1px solid var(--gray-lt); transition: var(--transition);
}
.review-branch-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.review-branch-name {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: var(--blue); margin-bottom: 8px;
}
.review-stars { color: #F59E0B; font-size: 1.2rem; letter-spacing: 3px; margin-bottom: 4px; }
.review-rating-text { font-size: .8rem; color: var(--gray); margin-bottom: 24px; }
.review-item { padding: 18px 0; border-bottom: 1px solid var(--gray-lt); }
.review-item:first-of-type { padding-top: 0; }
.review-item:last-of-type { border-bottom: none; padding-bottom: 0; }
.review-quote {
  font-size: .88rem; color: var(--text-md); line-height: 1.65;
  font-style: italic; margin-bottom: 8px;
}
.review-author { font-size: .8rem; font-weight: 700; color: var(--text); }
.review-google {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: .78rem; color: var(--gray);
  font-weight: 600; text-decoration: none; transition: color .2s;
}
.review-google svg { width: 16px; height: 16px; }
.review-google:hover { color: var(--blue); }

/* ── RTL (Arabic) ───────────────────────────────── */
[lang="ar"] body, [dir="rtl"] { font-family: 'Noto Kufi Arabic', 'Segoe UI', sans-serif; }
[dir="rtl"] .navbar { flex-direction: row-reverse; }
[dir="rtl"] .hero-content { padding: 0 80px 0 0; text-align: right; }
[dir="rtl"] .hero-btns { flex-direction: row-reverse; }
[dir="rtl"] .split { direction: rtl; }
[dir="rtl"] .split-text { text-align: right; }
[dir="rtl"] .section-label { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .section-label::before { order: 2; }
[dir="rtl"] .section-sub { text-align: right; }
[dir="rtl"] .svc-card { grid-template-columns: 1fr 420px; }
[dir="rtl"] .svc-body { text-align: right; }
[dir="rtl"] .surg-body { text-align: right; }
[dir="rtl"] .home-svc-card { text-align: right; }
[dir="rtl"] .doc-info { text-align: right; }
[dir="rtl"] .about-hero-text { text-align: right; }
[dir="rtl"] .page-hero-text { text-align: right; }
[dir="rtl"] .contact-form-box { text-align: right; }
[dir="rtl"] .contact-hero-text { text-align: center; }
[dir="rtl"] .contact-grid { direction: rtl; }
[dir="rtl"] .branch-head { text-align: right; }
[dir="rtl"] .branch-body { text-align: right; }
[dir="rtl"] .branch-info-row { direction: rtl; }
/* Numbers always LTR so + sign displays correctly */
[dir="rtl"] .stat-item .num { direction: ltr; display: inline-block; }
/* Phone numbers always LTR — prevent bidi reversal in RTL context */
[dir="rtl"] .bphones { direction: ltr; text-align: right; }
[dir="rtl"] .bphones a,
[dir="rtl"] .branch-info-row .val a { direction: ltr; unicode-bidi: embed; display: inline-block; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .footer-brand { text-align: right; }
[dir="rtl"] .social-links { justify-content: flex-end; }
[dir="rtl"] .footer-contact h3 { text-align: right; }
[dir="rtl"] .footer-branch { text-align: right; }
[dir="rtl"] .footer-email { text-align: right; }
[dir="rtl"] .footer-tagline blockquote { border-left: none; border-right: 3px solid var(--blue); padding-left: 0; padding-right: 16px; text-align: right; }
[dir="rtl"] .review-branch-card { text-align: right; }
[dir="rtl"] .btn svg { transform: scaleX(-1); }
[dir="rtl"] .btn-primary svg, [dir="rtl"] .btn-ghost svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(-4px); }
[dir="rtl"] .hero h1, [dir="rtl"] .section-title { letter-spacing: 0; }
[dir="rtl"] .hero-scroll { letter-spacing: 0; font-size: .85rem; }


/* ── NOOR THE ROBOT (APPLE-STYLE & MODAL) ───────── */

/* 1. Apple-Style Modern Section */
.modern-robot-section {
  position: relative;
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
  padding: 120px 20px 80px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}
.bg-typography {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, 0);
  font-size: clamp(100px, 18vw, 250px);
  font-weight: 900;
  color: rgba(21, 101, 192, 0.04); /* Uses your var(--blue) but super transparent */
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  letter-spacing: -0.05em;
}
.robot-hero-img {
  position: relative;
  z-index: 2;
  max-width: 400px;
  width: 100%;
  margin-top: -40px;
  filter: drop-shadow(0 30px 40px rgba(11, 29, 58, 0.15));
  animation: floatRobot 6s ease-in-out infinite;
}
@keyframes floatRobot {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}
.robot-hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  margin-top: 20px;
}
.robot-hero-badge {
  display: inline-block;
  background: rgba(21, 101, 192, 0.1);
  color: var(--blue);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.robot-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 15px;
  line-height: 1.2;
}
.robot-hero-title em { color: var(--blue); font-style: normal; }
.robot-hero-sub { font-size: 1.1rem; color: var(--text-md); margin-bottom: 30px; line-height: 1.6; }

/* 2. Glowing Team Card */
.robot-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: 3px solid transparent;
  background-clip: padding-box;
}
.robot-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
  margin: -3px;
  border-radius: inherit;
  background: linear-gradient(45deg, var(--blue-lt), var(--blue), #ff007b, var(--blue-lt));
  background-size: 300% 300%;
  animation: glowingBorder 4s ease infinite;
}
.robot-badge {
  font-size: 0.85rem;
  color: var(--blue);
  margin-top: 10px;
  font-weight: bold;
  animation: pulseText 2s infinite;
}
@keyframes glowingBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes pulseText {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); color: #ff007b; }
}

/* 3. Funny Modal Pop-up */
.robot-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(4, 17, 38, 0.8);
  backdrop-filter: blur(8px);
  display: flex; justify-content: center; align-items: center;
  z-index: 9999;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
}
.robot-modal-overlay.active { opacity: 1; visibility: visible; }
.robot-modal {
  background: var(--white); padding: 30px; border-radius: 20px;
  max-width: 500px; width: 90%; text-align: center;
  transform: scale(0.8); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.robot-modal-overlay.active .robot-modal { transform: scale(1); }
.robot-modal img {
  width: 150px; height: 150px; border-radius: 50%; object-fit: cover;
  border: 5px solid var(--blue); margin-bottom: 20px;
}
.robot-modal h3 { margin: 0 0 10px 0; font-size: 1.8rem; color: var(--text); }
.robot-modal p { margin: 10px 0; font-size: 1rem; color: var(--text-md); text-align: left; }
[dir="rtl"] .robot-modal p { text-align: right; }
.robot-close {
  position: absolute; top: 15px; right: 20px;
  font-size: 1.5rem; cursor: pointer; color: var(--gray); transition: color 0.2s;
}
[dir="rtl"] .robot-close { right: auto; left: 20px; }
.robot-close:hover { color: #ff007b; }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1100px) {
  .surgical-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-masonry { columns: 3; }
}

/* ── TABLET (≤900px) ────────────────────────────── */
@media (max-width: 900px) {
  .navbar { padding: 0 20px; height: 60px; }
  .hamburger { display: flex; }
  .navbar nav {
    display: none;
    position: fixed; top: 60px; left: 0; right: 0;
    background: rgba(4,17,38,.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 24px 20px 36px; flex-direction: column; gap: 0; z-index: 198;
  }
  .navbar.menu-open nav { display: flex; }
  .navbar nav a {
    padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 1.05rem; color: #fff !important;
  }
  .navbar nav a:last-child { border-bottom: none; }
  .navbar nav a::after { display: none; }
  .lang-btn { font-size: 12px; padding: 7px 14px; }

  .hero { min-height: 100svh; }
  .hero-content { padding: 0 20px; max-width: 100%; }
  .hero-btns { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-btns .btn-primary, .hero-btns .btn-ghost { width: 100%; justify-content: center; }

  .section { padding: 64px 20px; }
  .page-hero { padding: 90px 20px 44px; min-height: 200px; }
  .about-hero { padding: 90px 20px 52px; }
  .contact-hero { padding: 90px 20px 52px; }

  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-img .img-badge { bottom: -12px; right: -8px; }

  .stats-strip { margin-top: 28px; border-radius: 14px; }
  .stat-item { padding: 24px 16px; }
  .stat-item .num { font-size: 1.9rem; }

  .doctors-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .home-svc-grid { grid-template-columns: 1fr; gap: 16px; }
  .surgical-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gallery-masonry { columns: 2; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }

  .svc-card { grid-template-columns: 1fr; }
  .svc-card .svc-img { height: 220px; }
  .svc-card .svc-body { padding: 28px 24px; }
  .svc-card .svc-body h2 { font-size: 1.4rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-box { padding: 28px 24px; }
  .map-frame iframe { height: 160px; }

  .footer { padding: 52px 20px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .reviews-grid { grid-template-columns: 1fr; gap: 20px; }
  .review-branch-card { padding: 28px 24px; }

  [dir="rtl"] .svc-card { grid-template-columns: 1fr; }
  [dir="rtl"] .hero-content { padding: 0 20px; }
  [dir="rtl"] .hero-btns { align-items: flex-end; }
  [dir="rtl"] .navbar.menu-open nav { align-items: flex-end; }
}

/* ── PHONE (≤600px) ─────────────────────────────── */
@media (max-width: 600px) {
  .navbar { height: 56px; padding: 0 16px; }
  .navbar nav { top: 56px; padding: 20px 16px 32px; }
  .navbar .logo img { height: 34px; }
  .lang-btn { font-size: 11px; padding: 6px 11px; gap: 4px; }
  .lang-btn img { width: 14px; }

  .hero-content { padding: 0 16px; }
  .hero h1 { font-size: clamp(1.9rem, 9vw, 2.8rem); margin-bottom: 14px; }
  .hero p { font-size: .93rem; margin-bottom: 24px; }
  .hero-badge { font-size: 11px; padding: 6px 12px; margin-bottom: 18px; }
  .hero-scroll { display: none; }

  .section { padding: 52px 16px; }
  .page-hero { padding: 80px 16px 36px; }
  .page-hero-text h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .about-hero, .contact-hero { padding: 80px 16px 44px; }
  .about-hero-text h1, .contact-hero-text h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }

  .section-label { font-size: 11px; }
  .section-title { font-size: clamp(1.55rem, 6vw, 2rem); }
  .section-sub { font-size: .92rem; }

  .split { gap: 24px; }
  .split-img .img-badge { display: none; }
  .split-img .img-frame { border-radius: 16px; }

  .stats-strip { flex-direction: column; border-radius: 16px; }
  .stat-item { padding: 20px 24px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:last-child { border-bottom: none; }
  .stat-item .num { font-size: 2rem; }

  .doctors-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .doctor-card .doc-info { padding: 13px 14px 15px; }
  .doctor-card .doc-info .name { font-size: .85rem; }
  .doctor-card .doc-info .role { font-size: .72rem; }

  .home-svc-card { padding: 22px 18px; }
  .home-svc-card .icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 14px; }
  .home-svc-card .icon svg { width: 22px; height: 22px; }
  .home-svc-card h3 { font-size: 1rem; }

  .surgical-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .surg-card .surg-img { padding: 18px; }
  .surg-card .surg-img img { width: 54px; height: 54px; }
  .surg-card .surg-body { padding: 12px 14px 16px; }
  .surg-card .surg-body h3 { font-size: .85rem; }
  .surg-card .surg-body p { font-size: .76rem; }

  .services-list { gap: 20px; }
  .svc-card .svc-img { height: 190px; }
  .svc-card .svc-body { padding: 22px 18px; }
  .svc-card .svc-body h2 { font-size: 1.25rem; }
  .svc-card .svc-body p { font-size: .88rem; }

  .gallery-masonry { columns: 2; column-gap: 8px; }
  .gallery-item { margin-bottom: 8px; border-radius: 10px; }

  .contact-form-box { padding: 22px 16px; border-radius: 16px; }
  .contact-form-box h2 { font-size: 1.3rem; }
  .form-group input, .form-group textarea { padding: 12px 14px; font-size: .88rem; }
  .branch-card .branch-head { padding: 14px 18px; }
  .branch-card .branch-head h3 { font-size: 1rem; }
  .branch-card .branch-body { padding: 16px 18px; }
  .branch-info-row { font-size: .82rem; gap: 8px; }
  .map-frame iframe { height: 150px; }

  .footer { padding: 44px 16px 24px; }
  .footer-grid { gap: 28px; }
  .footer-brand .logo { height: 38px; }
  .footer-contact h3 { font-size: .75rem; }

  .review-branch-card { padding: 22px 16px; border-radius: 16px; }
  .review-quote { font-size: .84rem; }
  .review-stars { font-size: 1.1rem; }

  [dir="rtl"] .stats-strip { direction: rtl; }
  [dir="rtl"] .stat-item { border-bottom: 1px solid rgba(255,255,255,.1); }
  [dir="rtl"] .hero-btns { align-items: flex-end; }
}

/* ── SMALL PHONE (≤400px) ───────────────────────── */
@media (max-width: 400px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-btns .btn-primary, .hero-btns .btn-ghost { font-size: 13.5px; padding: 13px 18px; }
  .doctors-grid { grid-template-columns: 1fr; }
  .surgical-grid { grid-template-columns: 1fr; }
  .stats-strip { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:last-child { border-bottom: none; }
  .section { padding: 44px 14px; }
  .page-hero { padding: 76px 14px 32px; }
}
