/* ============================================
   Aleef Pal -- Premium Landing Page Styles
   Light Theme with Soft Gradients
   ============================================ */

/* ── Imports ── */
/* Self-hosted fonts (Nunito / Manrope / Alexandria). See public/fonts/ + scripts/fetch-fonts.cjs.
   Replaces the former Google Fonts CDN @import; same families/weights, no third-party CDN. */
@import url('/fonts/fonts.css');

/* ── Type scale + spine (MOVE 7) ──
   ONE modular scale (1.25 / major third) with ~5 steps + a hero step that is
   clearly the largest. One display family (Nunito) for every heading; Manrope
   for body. The 5+ ad-hoc body rem values are collapsed onto these tokens so
   nothing is sized by feel. Rhythm tokens give the page a spine: bands no longer
   share one identical padding. They step (tight / base / loose) so the eye has
   somewhere to rest and the single CTA dominates. */
:root {
  /* Display = headings (Nunito), Body = prose (Manrope) */
  --font-display: 'Nunito', sans-serif;
  --font-body: 'Manrope', sans-serif;

  /* Body / caption steps (1.25 ratio downward from 1rem) */
  --fs-caption: 0.8rem;   /* meta, tags, tile/point descriptions */
  --fs-small: 0.9rem;     /* secondary body, form text */
  --fs-base: 1rem;        /* base body */
  --fs-lead: 1.0625rem;   /* section descriptions, lead paragraphs */
  --fs-sub: clamp(1rem, 2vw, 1.2rem); /* hero subheadline */

  /* Heading steps */
  --fs-h3: 1.3rem;        /* small headings (cards, secondary block) */
  --fs-h2: clamp(1.9rem, 3.6vw, 2.6rem);  /* section headlines */
  --fs-h1: clamp(2.5rem, 5.2vw, 3.6rem);  /* hero, clearly the largest thing */

  /* Vertical rhythm (the spine): three band heights, not one */
  --band-tight: 64px;
  --band-base: 96px;
  --band-loose: 128px;

  /* ── Color system (design system) ──
     Teal-anchored, from the open-design "human-approachable" direction (an OKLch
     teal for friendly consumer products) + our brand #0d9488. New code references
     these tokens; legacy hardcoded values migrate onto them over time. Anti-slop:
     no default indigo, no two-stop trust gradient, accent used sparingly. */
  --accent: #0d9488;
  --accent-deep: #0f766e;
  --accent-soft: #5eead4;
  --ink: #1a1a2e;
  --muted: #5b6472;
  --bg: #ffffff;
  --bg-warm: #f7fafa;
  --surface: #ffffff;
  --border: rgba(13,148,136,0.14);
  /* Pet-illustration palette (baked into the SVG cast; documented here) */
  --pet-line: #0d9488;
  --pet-fill: #d7f0ec;
  --pet-blush: #f7b4be;
  --pet-warm: #f4845f;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: #1a1a2e; background: #ffffff; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ── RTL ──
   Arabic swaps the body + heading family to Alexandria; the type scale tokens
   (sizes/rhythm) are shared, so AR steps down from the same h1 as EN. */
.is-rtl { font-family: 'Alexandria', sans-serif; }
.is-rtl h1, .is-rtl h2, .is-rtl h3, .is-rtl h4, .is-rtl h5, .is-rtl h6 { font-family: 'Alexandria', sans-serif; }

/* ── Typography (one display family, scale-driven) ── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
.is-rtl h1, .is-rtl h2, .is-rtl h3 { font-weight: 600; }

/* ── Inline SVG icons ── */
.inline-icon { display: inline-block; vertical-align: middle; margin-inline-end: 4px; flex-shrink: 0; }

/* ── Skip Link ── */
.skip-link {
  position: absolute; top: -100px; inset-inline-start: 0; z-index: 10000;
  background: #0d9488; color: #fff; padding: 8px 16px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── Container ──
   MOVE 1 (RTL): width:100% + margin-inline:auto + padding-inline so the
   container fills the viewport in both directions and never shrink-to-fits
   in RTL. dir is driven by html[dir]; the layout is direction-agnostic. */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }

/* ============================================
   HEADER -- Floating Pill
   ============================================ */
.header-pill {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 1000;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 100px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(13,148,136,0.12);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.header-pill.is-scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 32px rgba(0,0,0,0.12);
  border-color: rgba(13,148,136,0.15);
}
.pill-menu-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(13,148,136,0.08); color: #1a1a2e;
  transition: background .2s, color .2s;
}
.pill-menu-btn:hover { background: rgba(13,148,136,0.15); color: #0d9488; }
.pill-lang-btn {
  font-size: 0.85rem; font-weight: 600; color: #555;
  padding: 8px 16px; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 100px; transition: all .2s; cursor: pointer;
  background: rgba(255,255,255,0.5);
}
.pill-lang-btn:hover { color: #0d9488; border-color: #0d9488; }

/* ── Mobile Nav Backdrop ── */
.mobile-nav-backdrop {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-nav-backdrop.is-visible { opacity: 1; pointer-events: auto; }

/* ── Mobile Nav / Drop-Down Panel ── */
.mobile-nav {
  position: fixed;
  top: 24px; left: 50%; transform: translateX(-50%) translateY(-20px);
  z-index: 9999;
  width: calc(100% - 32px); max-width: 400px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  display: flex; flex-direction: column; align-items: center;
  padding: 32px 24px;
  gap: 0;
  opacity: 0; pointer-events: none;
  transition: opacity .35s cubic-bezier(.4,0,.2,1), transform .35s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.is-open {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Close button */
.mobile-nav-close {
  position: absolute; top: 16px; inset-inline-end: 16px;
  font-size: 0.875rem; font-weight: 600; color: #666;
  background: none; border: none; cursor: pointer;
  padding: 4px 12px; letter-spacing: 0.02em;
}

/* Logo in panel */
.nav-drawer-logo {
  margin-bottom: 32px; display: flex; align-items: center; gap: 10px;
}
.nav-drawer-logo .logo-text { color: #1a1a2e; font-weight: 700; font-size: 1.1rem; }

/* Nav links */
.mobile-nav-links {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; width: 100%; margin-bottom: 28px;
}
.mobile-nav-links a {
  font-size: 1.05rem; font-weight: 600; color: #333;
  padding: 10px 0; transition: color .2s;
  opacity: 0; transform: translateY(-8px);
  transition: color .2s, opacity .3s ease, transform .3s ease;
}
.mobile-nav.is-open .mobile-nav-links a {
  opacity: 1; transform: translateY(0);
}
.mobile-nav.is-open .mobile-nav-links a:nth-child(1) { transition-delay: .05s; }
.mobile-nav.is-open .mobile-nav-links a:nth-child(2) { transition-delay: .1s; }
.mobile-nav.is-open .mobile-nav-links a:nth-child(3) { transition-delay: .15s; }
.mobile-nav.is-open .mobile-nav-links a:nth-child(4) { transition-delay: .2s; }
.mobile-nav-links a:hover { color: #0d9488; }

/* CTA in panel */
.mobile-nav-cta {
  display: block; width: 100%; text-align: center;
  background: #0d9488; color: #fff; font-weight: 700;
  padding: 14px 0; border-radius: 12px; font-size: 1rem;
  transition: background .2s;
  opacity: 0; transform: translateY(-8px);
  transition: background .2s, opacity .3s ease .25s, transform .3s ease .25s;
}
.mobile-nav.is-open .mobile-nav-cta { opacity: 1; transform: translateY(0); }
.mobile-nav-cta:hover { background: #0f766e; color: #fff; }

/* ============================================
   HERO -- Flat, single accent (MOVE 6)
   Flat confident background, teal #0d9488 as the single accent.
   No morphing blobs, no floating capsules, no 3D tilt, no parallax,
   no shimmer, no pulse-dot. Motion only on scroll-reveal.
   ============================================ */
.hero-flat {
  position: relative; padding: 140px 0 110px;
  background: #ffffff;
}
/* White base + a Yodawy-style angled teal gradient panel (faint paw watermark)
   as the hero "element" -- not a full-bleed wash. Diagonal bottom seam into white. */
.hero-flat::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  /* Bold flowing teal gradient field (Stripe/Yodawy ideology, our teal way) cut by a
     confident diagonal -> white triangle bottom-left; lighter at top-left so the
     headline stays readable, richer behind the phones. Mirrors in RTL. */
  background:
    radial-gradient(58% 68% at 88% 16%, rgba(94,234,212,0.9) 0%, transparent 58%),
    radial-gradient(52% 62% at 66% 104%, rgba(20,184,166,0.65) 0%, transparent 56%),
    radial-gradient(48% 56% at 104% 52%, rgba(13,148,136,0.52) 0%, transparent 54%),
    radial-gradient(50% 54% at 86% 0%, rgba(255,209,170,0.55) 0%, transparent 52%),
    linear-gradient(118deg, #ffffff 0%, #e8f7f3 34%, #bbe8de 70%, #93dccb 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 68%);
}
.is-rtl .hero-flat::before { transform: scaleX(-1); }

/* Hero Logo Row (logo only now) */
.hero-logo-row {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px; flex-wrap: nowrap; justify-content: flex-start;
}

/* Hero Logo (inside hero) */
.hero-logo-inline {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.hero-logo-inline img { height: 48px; width: auto; object-fit: contain; }
.hero-logo-text {
  font-family: 'Nunito', sans-serif; font-size: 1.6rem; font-weight: 800;
  color: #1a1a2e; letter-spacing: -0.01em;
}
.is-rtl .hero-logo-text { font-family: 'Alexandria', sans-serif; }

/* Split layout -- symmetric tracks; dir places them. min-width:0 stops long
   Arabic words from forcing horizontal overflow (MOVE 1, A3). */
.hero-split {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.hero-split > * { min-width: 0; }
.hero-text { text-align: start; }

.hero h1 { font-size: var(--fs-h1); color: #1a1a2e; margin-bottom: 20px; letter-spacing: -0.02em; text-wrap: balance; }
.hero-sub { font-size: var(--fs-sub); color: #444; max-width: 540px; margin-bottom: 32px; line-height: 1.7; }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }

/* VIS-005: pre-answer the dread on the primary CTA (free / time / no card). */
.hero-cta-reassure {
  font-size: 0.85rem; color: #555; margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-cta-reassure::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #0d9488; flex-shrink: 0;
}

/* Quiet secondary clinic link -- demoted below the one primary CTA (MOVE 4). */
.hero-clinic-link { margin-bottom: 24px; }
.hero-clinic-link a {
  font-size: 0.9rem; color: #0d9488; font-weight: 600;
  border-bottom: 1px solid rgba(13,148,136,0.35);
  padding-bottom: 1px; transition: border-color .2s, color .2s;
}
.hero-clinic-link a:hover { color: #0f766e; border-color: #0f766e; }

/* One calm availability line (MOVE 9) */
.hero-availability {
  font-size: 0.85rem; color: #666; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-availability::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: #0d9488; flex-shrink: 0;
}

/* Status dots (still used by the hidden trust gate markup) */
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-dot.live { background: #0d9488; }
.status-dot.target { background: #f59e0b; }
.status-dot.soon { background: #ccc; }

/* Hero Visuals -- two phones (owner front, clinic behind), upright + framed.
   One soft static backdrop (not the removed blob carnival); layered device
   shadows + a slim bezel give depth. Flex + logical margins => mirrors in RTL. */
.hero-visuals {
  position: relative; display: flex; justify-content: center; align-items: center;
  min-height: 520px;
}
.hero-stage {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  padding: 28px 18px;
}
.hero-stage::before {
  content: ''; position: absolute; inset: 0 0 6%; z-index: 0;
  background: radial-gradient(115% 82% at 50% 34%, rgba(94,234,212,0.30), rgba(13,148,136,0.07) 52%, transparent 70%);
  border-radius: 44px;
}
.hero-phone { position: relative; flex-shrink: 0; }
/* The mockup PNG is a self-framed phone on a TRANSPARENT bg, so: no border, no
   clip -- just a drop-shadow that follows the phone silhouette for the 3D pop. */
.hero-phone.phone-frame {
  border: 0; background: transparent; border-radius: 0; overflow: visible; box-shadow: none;
  filter: drop-shadow(0 5px 10px rgba(15,40,38,.10)) drop-shadow(0 24px 42px rgba(15,40,38,.30));
}
.hero-phone.phone-frame img { border-radius: 0; }
/* Back (clinic) phone RECEDES into soft focus -- smaller, lifted, faded + a touch
   of blur -- so it reads as depth behind the primary owner phone instead of a
   clipped duplicate login screen. Front owner phone stays crisp + primary. */
.hero-phone-clinic {
  max-width: 168px; z-index: 1; margin-inline-end: -64px;
  transform: translateY(-46px) scale(0.98);
  opacity: 0.6; filter: saturate(0.9) blur(0.6px);
}
.hero-phone-owner { max-width: 264px; z-index: 2; }

/* ── Floating product-UI (Yodawy-style layered depth) ── */
.hero-card {
  position: absolute; background: #fff; border: 1px solid rgba(13,40,38,0.05);
  border-radius: 18px; box-shadow: 0 26px 52px -20px rgba(13,40,38,0.30);
}
.hero-card-plan { z-index: 4; width: 234px; padding: 14px 16px; bottom: 14px; inset-inline-start: -52px; transform: rotate(-5deg); }
.hcp-top { display: flex; align-items: center; gap: 10px; padding-bottom: 11px; border-bottom: 1px solid rgba(0,0,0,0.06); margin-bottom: 10px; }
.hcp-mark { width: 34px; height: 34px; border-radius: 10px; background: rgba(13,148,136,0.10); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hcp-titles { display: flex; flex-direction: column; line-height: 1.2; }
.hcp-title { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 0.86rem; color: #1a1a2e; }
.hcp-sub { font-size: 0.68rem; color: #8a93a0; }
.hcp-price { margin-inline-start: auto; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.35rem; color: #0d9488; line-height: 1; white-space: nowrap; }
.hcp-price small { font-size: 0.56rem; font-weight: 700; margin-inline-start: 2px; }
.hcp-on { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #9aa3b0; margin-bottom: 9px; }
.is-rtl .hcp-on { letter-spacing: 0; }
.hcp-rows { display: flex; flex-direction: column; gap: 9px; }
.hcp-rows li { display: flex; align-items: center; gap: 8px; font-size: 0.76rem; color: #444; }
.hcp-check { width: 16px; height: 16px; border-radius: 50%; background: #0d9488; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hcp-rows em { margin-inline-start: auto; font-style: normal; font-size: 0.64rem; color: #8a93a0; }
.is-rtl .hero-card-plan { transform: rotate(5deg); }

.hero-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid rgba(13,40,38,0.05); border-radius: 100px;
  padding: 9px 15px; font-size: 0.76rem; font-weight: 700; color: #1a1a2e;
  box-shadow: 0 16px 32px -12px rgba(13,40,38,0.28);
}
.hero-chip-a { top: 52px; inset-inline-end: -22px; }
.hero-chip-b { bottom: 128px; inset-inline-end: -14px; }

/* ============================================
   SECTIONS -- Shared
   Default band = base rhythm; individual bands override to tight/loose so the
   page reads as a varied spine, not nine identical slabs (MOVE 7).
   ============================================ */
section { padding: var(--band-base) 0; }
.section-dark { background: #f8f9fc; }
.section-mid { background: #ffffff; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 100px;
  background: rgba(13,148,136,0.06); border: 1px solid rgba(13,148,136,0.12);
  color: #0d9488; font-size: 0.8rem; font-weight: 600;
  margin-bottom: 16px;
}
.section-headline { font-size: var(--fs-h2); color: #1a1a2e; margin-bottom: 16px; }
.section-desc { font-size: var(--fs-lead); color: #666; max-width: 600px; line-height: 1.7; margin-bottom: 48px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Button Base Styles ── */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 14px; font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  color: #fff;
  box-shadow: 0 4px 16px rgba(13,148,136,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(13,148,136,0.4);
}
.btn-secondary {
  background: rgba(13,148,136,0.08);
  color: #0d9488;
  border: 1.5px solid rgba(13,148,136,0.2);
}
.btn-secondary:hover {
  background: rgba(13,148,136,0.14);
  transform: translateY(-2px);
}

/* Stagger reveal */
.reveal-stagger {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
  transition-delay: calc(var(--stagger, 0) * 0.15s);
}
.reveal-stagger.is-revealed {
  opacity: 1; transform: translateY(0);
}

/* ============================================
   OWNER SHOWCASE (primary content band)
   ============================================ */
.section-showcase-premium {
  padding: var(--band-base) 0;
  background: #ffffff;
}

.showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
/* min-width:0 lets long Arabic words wrap instead of forcing horizontal
   overflow; the grid tracks mirror automatically from html[dir] (MOVE 1, A3). */
.showcase > * { min-width: 0; }

.showcase-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.showcase-tile {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 22px 20px;
  transition: box-shadow .3s, transform .3s, border-color .3s;
  box-shadow: 0 1px 2px rgba(13,40,38,0.04);
}
/* Quiet neutral lift -- no accent-tinted shadow, hairline border warms to teal
   only on hover (keeps neutrals dominant; accent is reserved for the icon). */
.showcase-tile:hover {
  box-shadow: 0 14px 30px -16px rgba(15,40,38,0.20);
  transform: translateY(-3px);
  border-color: rgba(13,148,136,0.30);
}
/* Icon badge -- a soft teal chip that inverts to solid teal on hover (the single
   tasteful accent moment per tile; drops the anti-slop colored-left-border tile
   pattern, sin #5 in the craft anti-slop checklist). */
.tile-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px;
  background: rgba(13,148,136,0.08);
  color: var(--accent);
  transition: background .3s, color .3s;
}
.showcase-tile:hover .tile-icon { background: var(--accent); color: #fff; }
.tile-icon svg { stroke: currentColor; }
.tile-title { font-size: var(--fs-base); font-weight: 700; color: var(--ink); margin-bottom: 5px; letter-spacing: -0.01em; }
.tile-desc { font-size: var(--fs-caption); color: var(--muted); line-height: 1.55; }

/* Single tasteful availability line -- replaces the gimmicky status-pill row
   (no glowing dots, no "Android Next" promise). Monoline icon + muted text. */
.showcase-availability {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 22px; font-size: var(--fs-small); color: var(--muted); line-height: 1.5;
}
.showcase-availability svg { flex-shrink: 0; color: var(--accent); }

.showcase-visual { position: relative; display: flex; justify-content: center; }
.showcase-phone-wrapper { position: relative; }
/* Phone POPS in 3D -- slim dark device bezel matching the hero phones + a layered
   drop shadow (no radial spotlight glow). overflow:hidden on .phone-frame clips
   the inner img to the new 34px radius. */
.showcase-phone.phone-frame {
  border: 0; background: transparent; border-radius: 0; overflow: visible; box-shadow: none;
  filter: drop-shadow(0 5px 10px rgba(15,40,38,.10)) drop-shadow(0 24px 42px rgba(15,40,38,.30));
}
.showcase-phone.phone-frame img { border-radius: 0; }

/* Owner Phone Mockup (reuse) -- static, no tilt/float (MOVE 6) */

/* ============================================
   CLINIC -- secondary tier (MOVE 10)
   Demoted supply-side block: light surface, tight band, smaller type, a compact
   capability list instead of co-equal hover-tiles, and a single quiet "Partner
   with us" link instead of a primary CTA + tags row. Reads clearly as secondary.
   ============================================ */
/* Clinic -- pale-teal TINT band with a faint paw watermark + a soft diagonal top
   divider (the "seam" technique learned from Yodawy/Instapay/Stripe references). */
.section-clinic-secondary {
  position: relative;
  padding: calc(var(--band-base) + 2.5vw) 0 var(--band-base);
  background-color: #eaf6f3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84'%3E%3Cg fill='%230d9488' fill-opacity='0.05'%3E%3Cellipse cx='42' cy='52' rx='12' ry='9'/%3E%3Ccircle cx='27' cy='37' r='5'/%3E%3Ccircle cx='38' cy='30' r='5'/%3E%3Ccircle cx='50' cy='30' r='5'/%3E%3Ccircle cx='61' cy='37' r='5'/%3E%3C/g%3E%3C/svg%3E");
  clip-path: polygon(0 2.5vw, 100% 0, 100% 100%, 0 100%);
}
.clinic-secondary {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center;
  max-width: 980px; margin-inline: auto;
}
.clinic-secondary > * { min-width: 0; }
.clinic-secondary-media { display: flex; justify-content: center; position: relative; z-index: 0; }
/* Glow removed: the clinic phone now reads as a real device via the shared dark
   bezel + layered drop shadow below, matching hero/owner. */
.clinic-secondary-phone.phone-frame {
  max-width: 220px; overflow: visible;
  border: 0; background: transparent; border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 5px 10px rgba(15,40,38,.10)) drop-shadow(0 24px 42px rgba(15,40,38,.30));
}
.clinic-secondary-phone.phone-frame img { border-radius: 0; }
.clinic-secondary-headline {
  font-size: var(--fs-h3); color: #1a1a2e; margin-bottom: 10px; line-height: 1.25;
}
.clinic-secondary-desc {
  font-size: var(--fs-small); color: #666; line-height: 1.65;
  max-width: 520px; margin-bottom: 20px;
}
.clinic-points {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-bottom: 24px;
}
.clinic-points li {
  display: flex; flex-direction: column; gap: 2px;
  padding-inline-start: 14px; position: relative;
}
.clinic-points li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 50%; background: #0d9488;
}
.clinic-point-title { font-size: var(--fs-small); font-weight: 700; color: #333; }
.clinic-point-desc { font-size: var(--fs-caption); color: #999; line-height: 1.5; }
.clinic-secondary-link a {
  font-size: var(--fs-small); color: #0d9488; font-weight: 600;
  border-bottom: 1px solid rgba(13,148,136,0.35);
  padding-bottom: 1px; transition: border-color .2s, color .2s;
}
.clinic-secondary-link a:hover { color: #0f766e; border-color: #0f766e; }
@media (max-width: 768px) {
  .clinic-secondary { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .clinic-secondary-media { order: -1; }
  .clinic-secondary-desc { margin-inline: auto; }
  .clinic-points { grid-template-columns: 1fr; text-align: start; max-width: 360px; margin-inline: auto; }
}

/* ============================================
   FAQ -- surfaced into the page flow (MOVE 8), light theme
   ============================================ */
.section-faq-flow {
  padding: var(--band-base) 0;
  background: #ffffff;
}
.faq-list {
  max-width: 760px; margin: 12px auto 0;
  background: #fff;
  border: 1px solid rgba(13,148,136,.14);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(26,26,46,.04), 0 12px 32px -16px rgba(15,118,110,.16);
  overflow: hidden;
}
.faq-item {
  position: relative;
  border-top: 1px solid rgba(13,148,136,.10);
}
.faq-item:first-child { border-top: 0; }
/* leading accent rail on the open row -- the one bold move */
.faq-item::before {
  content: ''; position: absolute; inset-block: 10px; inset-inline-start: 0;
  width: 3px; border-radius: 0 3px 3px 0;
  background: var(--accent); opacity: 0; transform: scaleY(.3);
  transform-origin: center;
}
.faq-item[open] { background: rgba(13,148,136,.035); }
.faq-item[open]::before { opacity: 1; transform: scaleY(1); }
.faq-question {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 26px; cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: var(--fs-base); font-weight: 700; color: var(--ink);
  line-height: 1.4; letter-spacing: -0.01em;
  list-style: none; user-select: none;
  text-align: start;
  -webkit-tap-highlight-color: transparent;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--accent-deep); }
.faq-item[open] .faq-question { color: var(--accent-deep); padding-bottom: 14px; }
.faq-question:focus-visible {
  outline: 2px solid var(--accent); outline-offset: -3px; border-radius: 14px;
}
/* circular +/x icon token */
.faq-question::after {
  content: ''; flex: none; margin-inline-start: auto;
  inline-size: 30px; block-size: 30px; border-radius: 50%;
  border: 1px solid rgba(13,148,136,.22);
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat,
    #fff;
  color: var(--accent);
}
.faq-item[open] .faq-question::after {
  border-color: rgba(13,148,136,.32);
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat,
    rgba(13,148,136,.10);
}
/* the answer track: collapsed by default via grid-rows (height-agnostic) */
.faq-answer {
  display: grid; grid-template-rows: 0fr;
}
.faq-answer-inner {
  overflow: hidden; min-block-size: 0;
  font-size: var(--fs-small); color: var(--muted); line-height: 1.75;
}
.faq-answer-inner > * { padding: 0 26px 24px; margin: 0; }
.faq-item[open] .faq-answer { grid-template-rows: 1fr; }

@media (prefers-reduced-motion: no-preference) {
  .faq-item, .faq-item::before { transition: background .25s ease; }
  .faq-item::before { transition: opacity .3s ease, transform .35s cubic-bezier(.34,1.56,.64,1); }
  .faq-question { transition: color .2s ease, padding-bottom .3s ease; }
  .faq-question::after {
    transition: transform .35s cubic-bezier(.34,1.56,.64,1),
                background-color .25s ease, border-color .25s ease;
  }
  .faq-item[open] .faq-question::after { transform: rotate(135deg); }
  .faq-answer { transition: grid-template-rows .35s cubic-bezier(.4,0,.2,1); }
  .faq-answer-inner > * {
    opacity: 0; transform: translateY(-4px);
    transition: opacity .3s ease .05s, transform .3s ease .05s;
  }
  .faq-item[open] .faq-answer-inner > * { opacity: 1; transform: none; }
}

/* ============================================
   TRUST / AVAILABILITY
   ============================================ */
.section-trust-premium {
  background: linear-gradient(180deg, #0f172a 0%, #1a1a2e 100%);
  position: relative; overflow: hidden;
}
.section-trust-premium::before {
  content: ''; position: absolute; top: 30%; left: 50%;
  width: 700px; height: 700px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(13,148,136,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.section-trust-premium .container { position: relative; z-index: 1; }
.section-trust-premium .section-eyebrow { color: #5eead4; }
.section-trust-premium .section-headline { color: #fff; }
.section-trust-premium .section-desc { color: rgba(255,255,255,0.7); }

.trust-featured {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(13,148,136,0.25); border-radius: 24px;
  padding: 40px; text-align: center; margin-bottom: 40px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(13,148,136,0.1);
}
.trust-featured-title { font-family: 'Nunito', sans-serif; font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.is-rtl .trust-featured-title { font-family: 'Alexandria', sans-serif; }
.trust-featured-date {
  font-size: 1.1rem; font-weight: 600; margin-bottom: 16px;
  background: linear-gradient(135deg, #0d9488, #5eead4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.trust-featured-countdown-label { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 12px; }

.trust-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.trust-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 24px; text-align: center;
  transition: box-shadow .3s, transform .3s, border-color .3s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.trust-card:hover {
  box-shadow: 0 8px 32px rgba(13,148,136,0.15);
  transform: translateY(-4px);
  border-color: rgba(13,148,136,0.4);
}
.trust-card-icon { margin-bottom: 10px; display: flex; align-items: center; justify-content: center; }
.trust-card-title { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.trust-card-status {
  font-size: 0.85rem; font-weight: 600; margin-bottom: 8px;
  background: linear-gradient(135deg, #0d9488, #10b981);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.trust-card-desc { font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.5; }

.trust-ribbon { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.trust-ribbon-chip {
  padding: 6px 16px; border-radius: 100px;
  background: rgba(13,148,136,0.08); border: 1px solid rgba(13,148,136,0.25);
  color: #5eead4; font-size: 0.8rem; font-weight: 500;
  transition: box-shadow .2s, transform .2s;
}
.trust-ribbon-chip:hover {
  box-shadow: 0 0 16px rgba(13,148,136,0.2);
  transform: scale(1.05);
}

/* ── VIS-004: Trust / Proof section structure (operator-fill) ── */
.proof-block { text-align: center; margin-bottom: 40px; }
.proof-block-label {
  font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px;
}
.proof-clinics { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.proof-clinic-chip {
  padding: 10px 20px; border-radius: 100px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(13,148,136,0.3);
  color: #5eead4; font-size: 0.9rem; font-weight: 600;
}
.proof-quotes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px;
}
.proof-quote {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 28px; margin: 0;
  border-inline-start: 3px solid #0d9488;
}
.proof-quote blockquote {
  font-size: 0.95rem; color: rgba(255,255,255,0.85); line-height: 1.6;
  margin: 0 0 14px; font-style: italic;
}
.proof-quote figcaption {
  font-size: 0.82rem; font-weight: 600; color: #5eead4;
}
.proof-number {
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.proof-number-value {
  font-family: 'Nunito', sans-serif; font-size: 2.8rem; font-weight: 800;
  background: linear-gradient(135deg, #0d9488, #5eead4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.is-rtl .proof-number-value { font-family: 'Alexandria', sans-serif; }
.proof-number-label { font-size: 0.9rem; color: rgba(255,255,255,0.55); }
@media (max-width: 768px) {
  .proof-quotes { grid-template-columns: 1fr; }
}

/* ============================================
   CONTACT -- surfaced into the page flow (MOVE 8), tight band
   ============================================ */
.section-contact-flow {
  padding: var(--band-tight) 0;
  background: #fafbfc;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.contact-form-wrapper { max-width: 600px; margin: 8px auto 0; }
.contact-form-intro { text-align: center; color: #666; margin-bottom: 28px; font-size: var(--fs-small); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: var(--fs-small); font-weight: 600; color: #1a1a2e; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px; border: 1px solid rgba(0,0,0,0.12); border-radius: 10px;
  font-size: var(--fs-small); font-family: inherit; color: #1a1a2e;
  background: #fff; transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0d9488; box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.contact-form .btn-primary { align-self: start; }

/* ============================================
   CLOSING CTA -- one call, no twin cards (MOVE 8), loose band
   The single consumer action gets the most breathing room on the page so it
   dominates by whitespace + scale; the clinic survives only as a quiet link.
   ============================================ */
/* Closing CTA -- the page ESCALATES to a vivid teal band (white type), faint
   white paw watermark + a diagonal top seam, then hands off to the dark footer.
   Learned from the references: build energy toward the close, don't end on white. */
.section-final-cta {
  position: relative;
  padding: calc(var(--band-loose) + 3vw) 0 var(--band-loose);
  background-color: #0d9488;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cellipse cx='42' cy='52' rx='12' ry='9'/%3E%3Ccircle cx='27' cy='37' r='5'/%3E%3Ccircle cx='38' cy='30' r='5'/%3E%3Ccircle cx='50' cy='30' r='5'/%3E%3Ccircle cx='61' cy='37' r='5'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(158deg, #14b8a6 0%, #0d9488 46%, #0f766e 100%);
  clip-path: polygon(0 0, 100% 3vw, 100% 100%, 0 100%);
}
.section-final-cta .section-eyebrow { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.35); color: #fff; }
.section-final-cta .final-cta-headline { color: #fff; }
.section-final-cta .final-cta-desc { color: rgba(255,255,255,0.9); }
.section-final-cta .final-cta-logo { display: none; }
.section-final-cta .final-cta-btn { background: #fff; color: #0d9488; box-shadow: 0 12px 30px rgba(0,0,0,0.20); }
.section-final-cta .final-cta-btn:hover { background: #effdf9; transform: translateY(-2px); }
.section-final-cta .final-cta-clinic-link a { color: #fff; border-bottom-color: rgba(255,255,255,0.5); }
.section-final-cta .final-cta-clinic-link a:hover { color: #fff; border-bottom-color: #fff; }
.final-cta {
  max-width: 640px; margin-inline: auto; text-align: center;
}
.final-cta-logo { display: block; margin: 0 auto 20px; }
.final-cta .section-eyebrow { margin-bottom: 16px; }
.final-cta-headline {
  font-size: var(--fs-h2); color: #1a1a2e; margin-bottom: 16px; line-height: 1.15;
}
.final-cta-desc {
  font-size: var(--fs-lead); color: #555; line-height: 1.7;
  max-width: 520px; margin: 0 auto 28px;
}
.final-cta-btn { padding: 16px 40px; font-size: 1.05rem; }
.final-cta-clinic-link { margin-top: 20px; }
.final-cta-clinic-link a {
  font-size: var(--fs-small); color: #0d9488; font-weight: 600;
  border-bottom: 1px solid rgba(13,148,136,0.35);
  padding-bottom: 1px; transition: border-color .2s, color .2s;
}
.final-cta-clinic-link a:hover { color: #0f766e; border-color: #0f766e; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #1a1a2e; padding: 60px 0 30px;
  color: #ccc; position: relative;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #0d9488, #5eead4, #0d9488, transparent);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand .logo-text { color: #fff; }
.footer-logo-hover { transition: filter .2s; }
.footer-logo-hover:hover { filter: drop-shadow(0 0 8px rgba(13,148,136,0.4)); }
.footer-brand-desc { font-size: 0.9rem; color: rgba(255,255,255,0.78); line-height: 1.6; margin-bottom: 16px; }
.footer-status { display: flex; flex-direction: column; gap: 4px; }
.footer-status-item { font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.footer-col-title {
  font-size: 0.85rem; font-weight: 700; color: #5eead4;
  margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.05em;
}
/* Collapsible footer on mobile */
.footer-collapse { border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-collapse summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.footer-collapse summary::-webkit-details-marker { display: none; }
.footer-collapse summary::after { content: '+'; font-size: 1.2rem; color: rgba(255,255,255,0.3); transition: transform .2s; }
.footer-collapse[open] summary::after { content: '-'; }
@media (min-width: 769px) {
  .footer-collapse { border-bottom: none; }
  .footer-collapse[open] summary::after, .footer-collapse summary::after { display: none; }
  .footer-collapse > a, .footer-collapse > span { display: block !important; }
  details.footer-collapse { display: flex; flex-direction: column; }
  details.footer-collapse > a, details.footer-collapse > span { display: block; }
}
@media (max-width: 768px) {
  .footer-collapse > a, .footer-collapse > span { display: none; }
  .footer-collapse[open] > a, .footer-collapse[open] > span { display: block; padding-top: 4px; }
  .footer-collapse summary { margin-bottom: 0; padding: 12px 0; }
}
.footer-col a, .footer-col span {
  display: block; font-size: 0.85rem; color: rgba(255,255,255,0.62);
  padding: 3px 0; transition: color .2s; position: relative;
}
.footer-col a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: #0d9488; transition: width .3s;
}
.footer-col a:hover { color: #5eead4; }
.footer-col a:hover::after { width: 100%; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-copyright { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-meta { font-size: 0.75rem; color: rgba(255,255,255,0.38); }

/* ============================================
   LEGAL MODALS
   ============================================ */
.legal-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 24px;
}
.legal-modal-overlay.is-open { display: flex; }
.legal-modal {
  background: #fff; border-radius: 20px; max-width: 680px; width: 100%;
  max-height: 80vh; overflow-y: auto; padding: 40px; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: legalFadeIn 0.3s ease;
}
@keyframes legalFadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.legal-modal-close {
  position: absolute; top: 16px; inset-inline-end: 16px; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(0,0,0,0.06); border: none;
  font-size: 1.4rem; color: #666; cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: all 0.2s;
}
.legal-modal-close:hover { background: rgba(0,0,0,0.12); color: #1a1a2e; }
.legal-modal-title {
  font-family: 'Nunito', sans-serif; font-size: 1.5rem; font-weight: 700;
  color: #1a1a2e; margin-bottom: 24px; padding-inline-end: 40px;
}
.is-rtl .legal-modal-title { font-family: 'Alexandria', sans-serif; }
.legal-modal-body { font-size: 0.9rem; color: #555; line-height: 1.8; }
.legal-modal-body h3 { font-size: 1.05rem; font-weight: 700; color: #1a1a2e; margin: 20px 0 8px; }
.legal-modal-body p { margin-bottom: 12px; }
.legal-modal-body ul { padding-inline-start: 20px; margin-bottom: 12px; list-style: disc; }
.legal-modal-body li { margin-bottom: 4px; }
.legal-link { cursor: pointer; }

/* ============================================
   LANGUAGE MODAL
   ============================================ */
.language-modal {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.language-modal.is-visible { opacity: 1; pointer-events: auto; }
.language-modal-inner {
  background: #fff; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 24px; padding: 48px; text-align: center;
  max-width: 420px; width: 90%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.15);
}
.modal-title { font-family: 'Nunito', sans-serif; font-size: 1.4rem; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.modal-title-ar { font-family: 'Alexandria', sans-serif; font-size: 1.3rem; font-weight: 600; color: #666; margin-bottom: 28px; }
.modal-buttons { display: flex; gap: 16px; justify-content: center; }
.modal-btn {
  padding: 14px 36px; border-radius: 12px; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: all .2s;
}
.modal-btn-en {
  background: linear-gradient(135deg, #0d9488, #0f766e); color: #fff;
}
.modal-btn-en:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(13,148,136,0.3); }
.modal-btn-ar {
  background: #f8f9fc; border: 1px solid #ddd; color: #1a1a2e;
  font-family: 'Alexandria', sans-serif;
}
.modal-btn-ar:hover { border-color: #0d9488; color: #0d9488; }

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .showcase { grid-template-columns: 1fr; gap: 40px; }
  .showcase-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-text { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-cta-reassure, .hero-availability { justify-content: center; }
  /* MOBILE: hide the hero phone composition entirely. The owner section below
     already floats ITS phone to the top (order:-1), so that becomes the single
     prominent phone -- no duplicate stacked login screens. */
  .hero-visuals { display: none; }
  .hero-flat { padding-bottom: 8px; }
  .hero-logo-inline { justify-content: center; }
  .hero-logo-row { justify-content: center; }
  .hero-card, .hero-chip { display: none; }
}

@media (max-width: 768px) {
  /* Scale the spine tokens down together so every band compresses in proportion
     on mobile without flattening the tight/base/loose rhythm. */
  :root { --band-tight: 44px; --band-base: 60px; --band-loose: 76px; }
  .hero-flat { padding: 110px 0 70px; }
  .showcase-tiles { grid-template-columns: 1fr; }
  .trust-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-phone-owner { max-width: 212px; }
  .hero-phone-clinic { max-width: 150px; margin-inline-end: -38px; }
  .hero-visuals { min-height: 360px; }
  .hero-split { gap: 28px; }
  .showcase { gap: 32px; }
  .showcase-phone.phone-frame { max-width: 240px; }
}

@media (max-width: 480px) {
  :root { --band-tight: 36px; --band-base: 48px; --band-loose: 60px; }
  .container { padding-inline: 16px; }
  .hero-flat { padding: 96px 0 56px; }
  .hero-logo-inline img { height: 36px; }
  .hero-logo-text { font-size: 1.2rem; }
  .section-desc { margin-bottom: 32px; }
  .trust-cards { grid-template-columns: 1fr; gap: 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; padding: 12px 24px; font-size: var(--fs-small); }
  .final-cta-btn { padding: 14px 28px; font-size: var(--fs-base); }
  .hero-phone-clinic { display: none; }
  .hero-phone-owner { max-width: 230px; }
  .hero-visuals { min-height: auto; justify-content: center; }
  .showcase-tiles { gap: 10px; }
  .showcase-tile { padding: 14px; }
  .trust-featured { padding: 28px 20px; }
  .footer-brand-desc { font-size: var(--fs-caption); }
  .header-pill { padding: 8px 14px; top: 12px; }
  .pill-menu-btn { width: 34px; height: 34px; }
  .pill-lang-btn { font-size: 0.75rem; padding: 6px 12px; }
}

/* ── Phone Frame ── */
.phone-frame {
  position: relative;
  max-width: 280px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.phone-frame img {
  width: 100%; height: auto; display: block;
  border-radius: 28px; object-fit: cover;
}
.hero-phone picture,
.hero-phone source,
.hero-phone img {
  display: block;
  width: 100%;
}
.showcase-phone.phone-frame { max-width: 300px; margin: 0 auto; transform: none; }

@media (max-width: 768px) {
  .showcase-phone.phone-frame { max-width: 240px; }
}

/* ── Contact Form Toast ── */
.form-toast {
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 16px;
  animation: toastIn 0.3s ease;
}
.form-toast-success {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.form-toast-error {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.25);
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Keyboard focus indicator (keyboard-only; pointer users see no change) ── */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Reduced motion (only affects users who opt out) ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto !important; }
}
