/* =============================================================================
   TAPE IT — Where To Find Us  ·  styles.css
   Premium wellness / healthcare brand experience. Mobile-first, RTL-aware.
============================================================================= */

/* ---------------------------------------------------------------------------
   Design tokens
--------------------------------------------------------------------------- */
:root {
  /* Brand */
  --blue:        #1f4bff;      /* electric TAPE IT blue */
  --blue-deep:   #0a1633;      /* near-black navy */
  --blue-600:    #163bcc;
  --blue-100:    #e7edff;
  --ink:         #0c1220;
  --ink-2:       #3a4258;
  --muted:       #6b7488;
  --line:        #e7eaf1;
  --bg:          #f6f8fc;
  --bg-soft:     #eef2fa;
  --white:       #ffffff;
  --gold:        #cda349;

  /* Effects */
  --radius:      22px;
  --radius-sm:   14px;
  --radius-lg:   32px;
  --shadow-sm:   0 2px 10px rgba(14,25,60,.06);
  --shadow:      0 14px 40px -18px rgba(14,25,60,.28);
  --shadow-lg:   0 30px 70px -30px rgba(14,25,60,.42);
  --ring:        0 0 0 4px rgba(31,75,255,.16);

  --maxw:        1200px;
  --ease:        cubic-bezier(.22,.61,.36,1);

  --font-en:     "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar:     "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font:        var(--font-en);
}

html[dir="rtl"] { --font: var(--font-ar); }

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

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }

.section { padding-block: clamp(40px, 5.5vw, 76px); }

/* Arabic tends to render tighter; give it slightly more line height */
html[dir="rtl"] body { line-height: 1.85; }

/* ---------------------------------------------------------------------------
   Shared UI — buttons, eyebrows, headings
--------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; letter-spacing: .1px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-600) 100%);
  color: #fff; box-shadow: 0 12px 30px -10px rgba(31,75,255,.6);
}
.btn-primary:hover { box-shadow: 0 18px 40px -12px rgba(31,75,255,.7); }

.btn-ghost {
  background: rgba(31,75,255,.07); color: var(--blue);
  box-shadow: inset 0 0 0 1.5px rgba(31,75,255,.18);
}
.btn-ghost:hover { background: rgba(31,75,255,.12); }
.btn-ghost--light {
  background: rgba(255,255,255,.1); color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35);
}
.btn-ghost--light:hover { background: rgba(255,255,255,.18); }

.btn-whatsapp {
  background: linear-gradient(135deg,#25d366,#1eb457); color: #fff;
  box-shadow: 0 12px 30px -12px rgba(37,211,102,.7);
}

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
html[dir="rtl"] .eyebrow { letter-spacing: .04em; }
.eyebrow--light { color: #9fb4ff; }

.section-head { max-width: 680px; margin: 0 auto clamp(26px, 3.5vw, 44px); text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.12;
  letter-spacing: -.02em; font-weight: 800; color: var(--ink);
}
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.06rem; }

/* ---------------------------------------------------------------------------
   Header
--------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,248,252,.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.9);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 74px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 13px; overflow: hidden;
  background: #000; display: grid; place-items: center; flex: none;
  box-shadow: var(--shadow-sm);
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.12rem; letter-spacing: .02em; }
.brand-page { font-size: .74rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }

.lang-switch {
  display: inline-flex; padding: 4px; gap: 3px;
  background: rgba(12,18,32,.06); border-radius: 999px;
}
.lang-btn {
  padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .84rem;
  color: var(--ink-2); transition: all .3s var(--ease);
}
.lang-btn.is-active { background: var(--white); color: var(--blue); box-shadow: var(--shadow-sm); }

/* ---------------------------------------------------------------------------
   Hero
--------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
}
.hero-glow--1 { width: 480px; height: 480px; top: -140px; inset-inline-end: -80px;
  background: radial-gradient(circle, rgba(31,75,255,.42), transparent 68%); }
.hero-glow--2 { width: 420px; height: 420px; bottom: -180px; inset-inline-start: -100px;
  background: radial-gradient(circle, rgba(120,160,255,.4), transparent 70%); }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px; opacity: .5;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero-copy { max-width: 620px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  color: var(--blue); background: var(--blue-100);
  box-shadow: inset 0 0 0 1px rgba(31,75,255,.14);
}
.hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 4rem); line-height: 1.05;
  letter-spacing: -.03em; font-weight: 800; margin-top: 20px;
  background: linear-gradient(180deg, var(--ink) 30%, #33406b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[dir="rtl"] .hero h1 { line-height: 1.2; letter-spacing: normal; }
.hero-sub { margin-top: 20px; font-size: 1.14rem; color: var(--ink-2); max-width: 540px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-stats {
  list-style: none; display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px);
  margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line);
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.hero-stats strong em { font-style: normal; color: var(--muted); font-size: 1.1rem; }
.hero-stats span { font-size: .86rem; color: var(--muted); margin-top: 2px; }

/* Hero visual */
.hero-visual { display: grid; place-items: center; }
.hero-card {
  position: relative; width: min(100%, 460px); aspect-ratio: 1;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg,#0a1633,#1f4bff);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; inset-block-end: 18px; inset-inline-start: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .84rem;
  background: rgba(255,255,255,.92); color: var(--blue-deep);
  backdrop-filter: blur(8px); box-shadow: var(--shadow);
}
.hero-badge svg { width: 18px; height: 18px; fill: var(--blue); }

/* ---------------------------------------------------------------------------
   Locations — search & filters
--------------------------------------------------------------------------- */
.locations { background: linear-gradient(180deg, var(--bg) 0%, #fff 40%); }

.locator-controls {
  position: sticky; top: 82px; z-index: 40;
  display: flex; flex-direction: column; gap: 18px;
  padding: 18px; margin-bottom: 26px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.search-box { position: relative; display: flex; align-items: center; }
.search-icon {
  position: absolute; inset-inline-start: 18px; width: 20px; height: 20px;
  color: var(--muted); pointer-events: none;
}
#searchInput {
  width: 100%; padding: 16px 20px; padding-inline-start: 50px;
  font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .3s, box-shadow .3s;
}
#searchInput::placeholder { color: #9aa2b4; }
#searchInput:focus { border-color: var(--blue); box-shadow: var(--ring); outline: none; }
.search-clear {
  position: absolute; inset-inline-end: 14px; width: 28px; height: 28px;
  display: grid; place-items: center; border-radius: 50%;
  font-size: 1.3rem; line-height: 1; color: var(--muted);
  background: var(--bg-soft);
}
.search-clear:hover { color: var(--ink); background: var(--line); }

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 17px; border-radius: 999px; font-size: .86rem; font-weight: 600;
  color: var(--ink-2); background: var(--bg-soft);
  border: 1.5px solid transparent; transition: all .28s var(--ease);
  white-space: nowrap;
}
.chip:hover { border-color: rgba(31,75,255,.3); color: var(--blue); }
.chip.is-active { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(31,75,255,.7); }
.chip .chip-count { opacity: .6; font-size: .78em; margin-inline-start: 5px; }
.chip.is-active .chip-count { opacity: .85; }

.results-meta { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.results-meta strong { color: var(--ink); font-weight: 700; }

/* Cards */
.cards-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
}

.loc-card {
  position: relative; display: flex; flex-direction: column;
  padding: 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  overflow: hidden;
}
.loc-card::before {
  content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--blue), #7aa0ff);
  transform: scaleX(0); transform-origin: inline-start;
  transition: transform .45s var(--ease);
}
.loc-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent;
}
.loc-card:hover::before { transform: scaleX(1); }

.loc-card-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.loc-pin {
  flex: none; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue);
}
.loc-pin svg { width: 24px; height: 24px; }
.loc-head { min-width: 0; }
.loc-name { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.loc-gov {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 6px;
  font-size: .78rem; font-weight: 600; color: var(--blue);
  padding: 4px 11px; border-radius: 999px; background: var(--blue-100);
  white-space: nowrap;
}
.loc-gov svg { width: 13px; height: 13px; flex: none; }
.loc-gov svg circle { fill: currentColor; }

.loc-meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.loc-row { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.loc-row svg { flex: none; width: 17px; height: 17px; color: var(--muted); margin-top: 3px; }
.loc-row.is-hours { color: var(--muted); }

.loc-actions { display: flex; gap: 10px; margin-top: auto; }
.loc-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 14px; border-radius: 12px; font-size: .88rem; font-weight: 700;
  transition: all .28s var(--ease);
}
.loc-btn svg { width: 17px; height: 17px; }
.loc-btn--dir { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -10px rgba(31,75,255,.8); }
.loc-btn--dir:hover { background: var(--blue-600); transform: translateY(-2px); }
.loc-btn--map {
  background: var(--bg-soft); color: var(--ink-2);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.loc-btn--map:hover { color: var(--blue); box-shadow: inset 0 0 0 1.5px rgba(31,75,255,.35); }

/* Show all / show fewer */
.loc-more { display: flex; justify-content: center; margin-top: 34px; }
.loc-more-btn { min-width: 240px; }
.loc-more-btn::after {
  content: ""; width: 8px; height: 8px; margin-inline-start: 2px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease);
}
.loc-more-btn[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }

/* Empty state */
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state svg { width: 46px; height: 46px; margin: 0 auto 16px; color: var(--line); }
.empty-state p { font-size: 1.05rem; }

/* Skeleton loading */
.skeleton { pointer-events: none; }
.skeleton .sk {
  background: linear-gradient(100deg, var(--bg-soft) 30%, #f4f6fb 50%, var(--bg-soft) 70%);
  background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 8px;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------------------------------------------------------------------------
   Why authorized
--------------------------------------------------------------------------- */
.why { background: var(--white); }
.why-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
/* 4 boxes, all on one row (desktop) */
.why-grid--row { grid-template-columns: repeat(4, 1fr); }

.why-card {
  padding: 30px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg,#fff, #fbfcff);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  margin-bottom: 20px; color: #fff;
  background: linear-gradient(150deg, var(--blue), var(--blue-600));
  box-shadow: 0 12px 24px -12px rgba(31,75,255,.7);
}
.why-ico svg { width: 28px; height: 28px; }
.why-card h3 { font-size: 1.18rem; font-weight: 800; letter-spacing: -.01em; }
.why-card p { margin-top: 10px; color: var(--muted); font-size: .96rem; }

/* ---------------------------------------------------------------------------
   Benefits — split showcase (image + list)
--------------------------------------------------------------------------- */
.benefits {
  background:
    radial-gradient(ellipse 60% 55% at 12% 20%, rgba(31,75,255,.08), transparent 60%),
    var(--white);
}
.benefit-showcase {
  display: grid; grid-template-columns: .82fr 1.18fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}

/* Media side */
.benefit-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, #0a1633, #1f4bff);
  aspect-ratio: 1 / 1;
}
.benefit-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.benefit-glow {
  position: absolute; z-index: 0; width: 70%; height: 70%; inset-block-start: -20%; inset-inline-end: -20%;
  background: radial-gradient(circle, rgba(122,160,255,.55), transparent 70%); filter: blur(30px);
}
.benefit-media-badge {
  position: absolute; z-index: 2; inset-block-end: 16px; inset-inline-start: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px; font-weight: 700; font-size: .82rem;
  color: var(--blue-deep); background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px); box-shadow: var(--shadow);
}
.benefit-media-badge svg { width: 16px; height: 16px; color: var(--blue); }

/* Content side */
.section-head--start { text-align: start; max-width: none; margin: 0 0 clamp(18px, 3vw, 28px); }

.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.benefit-row {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 18px; border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.benefit-row:hover {
  background: var(--white); border-color: var(--line);
  box-shadow: var(--shadow-sm); transform: translateX(5px);
}
html[dir="rtl"] .benefit-row:hover { transform: translateX(-5px); }
.benefit-ico {
  flex: none; width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--blue), var(--blue-600));
  box-shadow: 0 10px 22px -12px rgba(31,75,255,.75);
}
.benefit-ico svg { width: 26px; height: 26px; }
.benefit-copy { display: flex; flex-direction: column; padding-top: 2px; }
.benefit-copy b { font-size: 1.06rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.benefit-copy span { margin-top: 4px; color: var(--muted); font-size: .93rem; }

/* ---------------------------------------------------------------------------
   Testimonials slider
--------------------------------------------------------------------------- */
.testimonials {
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(31,75,255,.06), transparent 60%),
    var(--bg);
}
.slider { position: relative; max-width: 900px; margin: 0 auto; }
.slider-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.slider-track { display: flex; transition: transform .6s var(--ease); }

.testi-card {
  flex: 0 0 100%; padding: clamp(30px, 5vw, 56px);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.testi-quote { width: 46px; height: 46px; color: var(--blue-100); margin-bottom: 6px; }
.testi-quote svg { width: 100%; height: 100%; fill: currentColor; }
.testi-stars { display: inline-flex; gap: 3px; margin-bottom: 18px; color: var(--gold); }
.testi-stars svg { width: 22px; height: 22px; fill: currentColor; }
.testi-text {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem); line-height: 1.5; font-weight: 500;
  color: var(--ink); max-width: 620px;
}
.testi-author { display: flex; align-items: center; gap: 13px; margin-top: 28px; }
.testi-avatar {
  width: 50px; height: 50px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; color: #fff;
  background: linear-gradient(150deg, var(--blue), var(--blue-600));
}
.testi-name { font-weight: 800; }
.testi-role { font-size: .84rem; color: var(--muted); }

/* Arrows */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: var(--blue);
  background: var(--white); box-shadow: var(--shadow);
  transition: all .3s var(--ease);
}
.slider-arrow:hover { color: #fff; background: var(--blue); transform: translateY(-50%) scale(1.06); }
.slider-arrow svg { width: 24px; height: 24px; }
.slider-arrow--prev { inset-inline-start: -8px; }
.slider-arrow--next { inset-inline-end: -8px; }
/* Arrows are visual next/prev — flip glyphs for RTL */
html[dir="rtl"] .slider-arrow svg { transform: scaleX(-1); }

.slider-dots { display: flex; justify-content: center; gap: 9px; margin-top: 26px; }
.dot {
  width: 9px; height: 9px; border-radius: 999px; background: var(--line);
  transition: all .3s var(--ease);
}
.dot.is-active { width: 28px; background: var(--blue); }

/* ---------------------------------------------------------------------------
   Final CTA
--------------------------------------------------------------------------- */
.final-cta { background: var(--white); }
.cta-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 80px);
  background: linear-gradient(150deg, #0a1633 0%, #12276e 55%, #1f4bff 130%);
  box-shadow: var(--shadow-lg); text-align: center;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; opacity: .9; }
.cta-bg .hero-glow { filter: blur(80px); opacity: .5; }
.cta-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; color: #fff; }
.cta-content h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.cta-content p { margin-top: 16px; color: #c4d0f5; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; margin-top: 34px; }
.cta-phone { margin-top: 26px; font-size: .95rem; color: #9fb0e0; }
.cta-phone a { color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.4); }

/* ---------------------------------------------------------------------------
   Credit bar
--------------------------------------------------------------------------- */
.credit-bar { background: var(--blue-deep); color: #aab6d6; padding-block: 18px; font-size: .85rem; }
.credit-bar .container { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.credit-brand { font-weight: 600; letter-spacing: .01em; }
.credit-built a { color: #fff; }
.credit-built a u { text-decoration-color: var(--blue); text-underline-offset: 3px; }

/* ---------------------------------------------------------------------------
   Floating action stack (WhatsApp + back-to-top) — never overlap
--------------------------------------------------------------------------- */
.fab-stack {
  position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 95;
  display: flex; flex-direction: column-reverse; align-items: center; gap: 14px;
}
.fab {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-lg); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.fab svg { width: 28px; height: 28px; }
.fab:hover { transform: translateY(-4px) scale(1.05); }

/* WhatsApp — always visible, branded green with pulse */
.fab-whatsapp { background: linear-gradient(140deg,#25d366,#1aa851); }
.fab-whatsapp::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; z-index: -1; animation: fabPulse 2.4s ease-out infinite;
}
@keyframes fabPulse {
  0% { transform: scale(1); opacity: .55; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}
.fab-tip {
  position: absolute; inset-inline-end: calc(100% + 14px); white-space: nowrap;
  background: var(--ink); color: #fff; font-size: .82rem; font-weight: 600;
  padding: 8px 13px; border-radius: 10px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateX(8px);
  transition: opacity .3s, transform .3s;
}
html[dir="rtl"] .fab-tip { transform: translateX(-8px); }
.fab-whatsapp:hover .fab-tip { opacity: 1; transform: translateX(0); }
.fab-tip::after {
  content: ""; position: absolute; inset-inline-end: -5px; top: 50%; margin-top: -5px;
  width: 10px; height: 10px; background: var(--ink); transform: rotate(45deg);
}
html[dir="rtl"] .fab-tip::after { inset-inline-end: auto; inset-inline-start: -5px; }

/* Back-to-top — appears on scroll, smaller */
.fab-top {
  width: 46px; height: 46px; background: var(--blue);
  opacity: 0; visibility: hidden; transform: translateY(14px);
}
.fab-top svg { width: 22px; height: 22px; }
.fab-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fab-top:hover { background: var(--blue-600); }

/* ---------------------------------------------------------------------------
   As Seen On
--------------------------------------------------------------------------- */
.section-tight { padding-block: clamp(34px, 5vw, 56px); }
.seen { background: var(--white); border-block: 1px solid var(--line); }
.seen-inner { text-align: center; }
.seen-title {
  font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 26px;
}
html[dir="rtl"] .seen-title { letter-spacing: .04em; }
.seen-logos {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: clamp(28px, 7vw, 76px);
}
.seen-logos li { display: grid; place-items: center; }
.seen-logos img {
  height: clamp(38px, 6vw, 54px); width: auto; object-fit: contain;
  opacity: 1;                       /* full brand colours, not grayscale */
  transition: transform .45s var(--ease), filter .45s var(--ease);
}
.seen-logos li:hover img { transform: scale(1.06); filter: drop-shadow(0 6px 14px rgba(14,25,60,.14)); }

/* ---------------------------------------------------------------------------
   Video section (Doctors & Pharmacists)
--------------------------------------------------------------------------- */
.videos { background: var(--white); }

.video-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  max-width: 900px; margin: 0 auto;
}

.video-card {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius);
  overflow: hidden; cursor: pointer; background: var(--blue-deep);
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.video-card:hover img { transform: scale(1.06); }
.video-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10,22,51,.82));
}
.video-play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
}
.video-play span {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; color: var(--blue);
  background: rgba(255,255,255,.94); box-shadow: 0 10px 30px -8px rgba(0,0,0,.5);
  transition: transform .35s var(--ease), background .3s, color .3s;
}
.video-play span svg { width: 26px; height: 26px; margin-inline-start: 3px; }
.video-card:hover .video-play span { transform: scale(1.12); background: var(--blue); color: #fff; }
.video-cap {
  position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 3;
  padding: 16px 18px; color: #fff; text-align: start;
}
.video-cap b { display: block; font-size: 1rem; font-weight: 800; }
.video-cap small { font-size: .8rem; color: #c4d0f5; }

/* ---------------------------------------------------------------------------
   Video lightbox
--------------------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  padding: 20px;
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute; inset: 0; background: rgba(6,12,28,.82);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .3s ease;
}
.lightbox-inner {
  position: relative; z-index: 1; width: min(92vw, 420px);
  animation: popIn .4s var(--ease);
}
.lightbox-video {
  width: 100%; max-height: 84vh; border-radius: var(--radius);
  background: #000; box-shadow: var(--shadow-lg); display: block;
}
.lightbox-close {
  position: absolute; top: -14px; inset-inline-end: -14px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; font-size: 1.6rem; line-height: 1;
  color: var(--ink); background: #fff; box-shadow: var(--shadow);
  transition: transform .3s, background .3s, color .3s;
}
.lightbox-close:hover { transform: rotate(90deg); background: var(--blue); color: #fff; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.9) translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------------------
   Scroll-reveal animations
--------------------------------------------------------------------------- */
/* Hidden initial state applies ONLY when JS is active (html.js), so content
   is always visible as a fallback if scripts or transitions don't run. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

.js .stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .stagger.is-in > * { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------------
   Responsive
--------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: none; margin: 0 auto; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-card { width: min(78%, 360px); }
  .locator-controls { top: 74px; }
}

@media (max-width: 980px) {
  .why-grid--row { grid-template-columns: repeat(2, 1fr); }
  .benefit-showcase { grid-template-columns: 1fr; gap: 30px; }
  .benefit-media { max-width: 460px; margin-inline: auto; }
  .section-head--start { text-align: center; }
  .benefit-list { max-width: 560px; margin-inline: auto; }
}

@media (max-width: 760px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); max-width: 460px; gap: 16px; }
}

@media (max-width: 520px) {
  .why-grid--row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .header-inner { height: 64px; }
  .brand-page { display: none; }
  .hero-stats { gap: 16px 24px; }
  .hero-stats strong { font-size: 1.4rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .slider-arrow--prev { inset-inline-start: 2px; }
  .slider-arrow--next { inset-inline-end: 2px; }
  .slider-arrow { width: 44px; height: 44px; }
  .btn { width: 100%; }
  .hero-actions .btn, .cta-actions .btn { width: auto; }
  .cta-actions .btn { flex: 1 1 auto; min-width: 140px; }
  .fab-stack { inset-block-end: 16px; inset-inline-end: 16px; }
  .fab { width: 52px; height: 52px; }
}

@media (max-width: 400px) {
  .hero-actions .btn { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .stagger > * { opacity: 1 !important; transform: none !important; }
}
