/* =========================================================
   Dr. Bushra — Dental Clinic
   Theme: Pink / Sky / Poppins · light + auto dark mode
   Bilingual EN/AR (LTR + RTL)
   ========================================================= */

:root {
  /* ===== Theme tokens (provided palette) — light ===== */
  --card: #ffffff;
  --ring: #ffc0cb;
  --input: #d4d4d4;
  --muted: #ddd9c4;              /* muted SURFACE (shadcn token) */
  --accent: #ffff00;
  --border: #d4d4d4;
  --radius: 0.5rem;
  --chart-1: #ffc0cb; --chart-2: #87ceeb; --chart-3: #ffff00; --chart-4: #ff99cc; --chart-5: #33cc33;
  --popover: #ffffff;
  --primary: #ffc0cb;
  --sidebar: #f7f9fa;
  --secondary: #87ceeb;
  --background: #f7f9fa;
  --foreground: #333333;
  --destructive: #ef4444;
  --muted-foreground: #6e6e6e;   /* muted TEXT */
  --accent-foreground: #000000;
  --primary-foreground: #000000;
  --secondary-foreground: #000000;
  --destructive-foreground: #ffffff;
  --popover-foreground: #333333;
  --card-foreground: #333333;

  /* ===== Internal semantic vars (mapped to the palette) ===== */
  /* Pink "brand" scale = primary accent */
  --brand-50:  #FFF1F4;
  --brand-100: #FFE1E7;
  --brand-200: #FFC0CB;
  --brand-300: #FF9FB6;
  --brand:     var(--primary);   /* #ffc0cb */
  --brand-600: #FF99CC;          /* deeper pink — hover */
  --brand-700: #C44569;          /* accessible rose — text/icons on a surface */
  --brand-800: #A33359;
  /* Fixed rose for filled chips/avatars (white icons, readable in both modes) */
  --accent-fill:   #C44569;
  --accent-fill-2: #A33359;
  /* Sky "secondary" scale */
  --sky-50:  #EAF6FC;
  --sky-100: #D4ECF8;
  --sky-700: #2E7FA6;
  /* Status (availability) — semantic, used only on the clinic-status badge/dot */
  --status-open:      #16A571; --status-open-soft: #E6F6EF; --status-open-ink: #0E7A52;
  --status-busy:      #D98324; --status-busy-soft: #FBF0DD; --status-busy-ink: #9A5B12;
  --status-away:      #97A1A8;

  --navy:  var(--foreground);    /* headings / strong text */
  --ink:   var(--foreground);    /* strong text */
  --slate: #4F555A;              /* body text */
  --band:  #2B2F31;              /* always-dark bands (stats / cta / footer / pill) */

  --bg:      var(--background);  /* page */
  --bg-soft: #EEF2F5;
  --bg-tint: #FFF1F4;
  --line:    #E4E8EB;
  --line-2:  var(--border);     /* #d4d4d4 */

  /* Type */
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-ar: "Cairo", "Poppins", "Segoe UI", Tahoma, sans-serif;
  --font-sig: "Caveat", "Segoe Script", cursive;
  --font-sans: var(--font);
  --font-mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(51,51,51,.06);
  --sh-sm: 0 4px 14px rgba(51,51,51,.07);
  --sh-md: 0 14px 34px rgba(51,51,51,.10);
  --sh-lg: 0 28px 60px rgba(51,51,51,.16);
  --sh-brand: 0 14px 30px rgba(255,153,204,.45);

  --container: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);

  color-scheme: light;
}

/* ===== Dark mode — applied via [data-theme="dark"] on <html>.
   Set by JS from a saved choice or the system preference (inline <head> script avoids a flash). ===== */
:root[data-theme="dark"] {
  --card: #2f3436;
  --ring: #ff99cc;
  --input: #444444;
  --muted: #444444;
  --accent: #87ceeb;
  --border: #444444;
  --chart-1: #ff99cc; --chart-2: #33cc33; --chart-3: #87ceeb; --chart-4: #ffff00; --chart-5: #ffcc00;
  --popover: #2f3436;
  --primary: #ff99cc;
  --sidebar: #1a1d23;
  --secondary: #33cc33;
  --background: #1a1d23;
  --foreground: #e5e5e5;
  --muted-foreground: #a3a3a3;
  --card-foreground: #e5e5e5;
  --popover-foreground: #e5e5e5;

  /* internal remaps for dark */
  --brand-50:  #3A2A30;
  --brand-100: #47303A;
  --brand-200: #FF99CC;
  --brand-300: #FF80BF;
  --brand-600: #FF80BF;
  --brand-700: #FF9EC4;        /* light pink — text/icons on dark surfaces */
  --brand-800: #FFB3D1;
  --sky-50:  #22323B;
  --sky-100: #2B3F49;
  --sky-700: #9AD2EF;
  --status-open:      #3FD99A; --status-open-soft: #163329; --status-open-ink: #5FE0A6;
  --status-busy:      #F2B45A; --status-busy-soft: #3A2E1B; --status-busy-ink: #F2B45A;
  --status-away:      #9AA3AB;

  --slate: #C9CED2;
  --band:  #23262B;
  --bg-soft: #202329;
  --bg-tint: #2A2330;
  --line:    #3A3F44;

  --sh-xs: 0 1px 2px rgba(0,0,0,.4);
  --sh-sm: 0 4px 14px rgba(0,0,0,.45);
  --sh-md: 0 14px 34px rgba(0,0,0,.5);
  --sh-lg: 0 28px 60px rgba(0,0,0,.6);
  --sh-brand: 0 14px 30px rgba(255,128,191,.3);

  color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  font-family: var(--font);
  color: var(--slate);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[dir="rtl"] body,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea,
html[dir="rtl"] button { font-family: var(--font-ar); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { letter-spacing: 0; }
ul { list-style: none; padding: 0; }

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

.ico { width: 1.4rem; height: 1.4rem; display: inline-block; vertical-align: middle; flex: none; color: inherit; }

.skip-link {
  position: fixed; inset-block-start: -100px; inset-inline-start: 16px; z-index: 200;
  background: var(--accent-fill); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: inset-block-start .2s;
}
.skip-link:focus { inset-block-start: 16px; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--brand-700);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: var(--r-pill);
  font-weight: 700; font-size: .98rem; letter-spacing: -.01em;
  border: 1.5px solid transparent; color: #fff; background: var(--bg-btn);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn .ico { width: 1.15rem; height: 1.15rem; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: var(--brand-600); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost { background: var(--card); color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--brand-300); background: var(--brand-50); }

.btn-white { background: #ffffff; color: var(--accent-fill); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }

.arrow { transition: transform .25s var(--ease); }
[dir="rtl"] .arrow { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--brand-300);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--brand-700);
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .92rem; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.eyebrow.center { justify-content: center; }

.section { padding-block: clamp(64px, 9vw, 110px); }
.section-head { max-width: 640px; margin-inline: auto; text-align: center; margin-block-end: 52px; display: grid; gap: 14px; justify-items: center; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 600; }
.section-lead { color: var(--slate); font-size: 1.06rem; }

.cards { display: grid; gap: 22px; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 90;
  background: color-mix(in srgb, var(--card) 82%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-block-end: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.scrolled { box-shadow: var(--sh-sm); border-block-end-color: var(--line); background: color-mix(in srgb, var(--card) 92%, transparent); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 76px; }
/* Header spans full width so the logo and actions sit near the corners (body stays centered) */
.site-header .container { max-width: none; padding-inline: clamp(20px, 3vw, 48px); }

.brand { display: inline-flex; align-items: center; }
.brand-text { display: grid; line-height: 1.04; gap: 1px; text-align: start; }
.brand-text strong { color: var(--foreground); font-size: clamp(1.05rem, 2.4vw, 1.3rem); font-weight: 600; letter-spacing: -.015em; white-space: nowrap; }
.brand-text small { font-family: var(--font-ar); color: var(--foreground); font-size: .96rem; font-weight: 600; line-height: 1; text-align: end; opacity: .9; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 9px 14px; border-radius: var(--r-pill); color: var(--ink); font-weight: 600; font-size: .96rem;
  transition: color .2s, background .2s; position: relative;
}
.nav-link:hover { color: var(--brand-700); background: var(--brand-50); }
.nav-link.active { color: var(--brand-700); }
.nav-cta { margin-inline-start: 8px; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2); background: var(--card); color: var(--navy);
  font-weight: 700; font-size: .9rem; transition: border-color .2s, background .2s, color .2s;
}
.lang-toggle:hover { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-50); }

/* Theme (dark/light) switch */
.theme-toggle { position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--card); color: var(--foreground); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.theme-toggle:hover { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-50); }
.theme-toggle .ico { grid-area: 1 / 1; width: 1.25rem; height: 1.25rem; transition: opacity .3s var(--ease), transform .35s var(--ease); }
.theme-sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
.theme-moon { opacity: 1; transform: rotate(0) scale(1); }
:root[data-theme="dark"] .theme-sun { opacity: 1; transform: rotate(0) scale(1); }
:root[data-theme="dark"] .theme-moon { opacity: 0; transform: rotate(90deg) scale(.5); }
.lang-toggle .ico { width: 1.15rem; height: 1.15rem; }

.menu-btn { display: none; width: 46px; height: 46px; border-radius: 13px; border: 1.5px solid var(--line-2); background: var(--card); color: var(--navy); place-items: center; }
.menu-btn .ico-close { display: none; }
.menu-btn[aria-expanded="true"] .ico-menu { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: inline-block; }

.nav-overlay { position: fixed; inset: 0; background: rgba(15,42,67,.45); z-index: 80; opacity: 0; transition: opacity .3s; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; padding-block: clamp(44px, 7vw, 92px); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--card); /* solid white (light) / solid dark surface (dark) */
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(30px, 5vw, 70px);
}
.hero-copy { max-width: 600px; }
.hero-title { font-size: clamp(2.2rem, 5.2vw, 3.7rem); color: var(--navy); font-weight: 600; margin-block: 18px 16px; }
.hero-title .accent { color: var(--brand-700); }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--slate); max-width: 540px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-block: 30px 26px; }

.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; color: var(--ink); font-size: .95rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust strong { color: var(--navy); font-weight: 800; }
.hero-trust .stars { color: #F6B73C; display: inline-flex; gap: 1px; }
.hero-trust .stars .ico { width: 1.05rem; height: 1.05rem; }

/* Hero media */
.hero-media { position: relative; justify-self: center; width: 100%; max-width: 460px; }
.hero-media::before {
  content: ""; position: absolute; inset-block: 6% -6%; inset-inline: -10% 4%;
  background: radial-gradient(60% 60% at 50% 40%, var(--brand-200), transparent 70%);
  filter: blur(8px); opacity: .6; z-index: 0;
}
.photo {
  position: relative; z-index: 1; overflow: hidden;
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-800) 100%);
  display: grid; place-items: center;
}
.photo-fallback { color: rgba(255,255,255,.9); font-size: 3.4rem; font-weight: 800; letter-spacing: .04em; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hero-photo { aspect-ratio: 4 / 4.7; border-radius: 36px 36px 36px 90px; box-shadow: var(--sh-lg); }
[dir="rtl"] .hero-photo { border-radius: 36px 36px 90px 36px; }

.float-card {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 11px;
  background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 16px; padding: 11px 15px; box-shadow: var(--sh-md);
}
.float-card strong { color: var(--navy); font-size: 1.18rem; font-weight: 800; display: block; line-height: 1.1; }
.float-card strong small { font-size: .8rem; color: var(--muted-foreground); font-weight: 700; }
.float-card span { color: var(--slate); font-size: .82rem; }
.fc-rating { inset-block-start: 12%; inset-inline-start: -7%; }
.fc-rating .fc-stars { color: #F6B73C; }
.fc-rating .fc-stars .ico { width: 1.7rem; height: 1.7rem; }
.fc-today { inset-block-end: 20%; inset-inline-end: -8%; }
.fc-today .fc-pulse { width: 11px; height: 11px; border-radius: 50%; background: #28C76F; box-shadow: 0 0 0 0 rgba(40,199,111,.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(40,199,111,.5); } 70% { box-shadow: 0 0 0 9px rgba(40,199,111,0); } 100% { box-shadow: 0 0 0 0 rgba(40,199,111,0); } }

.float-chip {
  position: absolute; z-index: 3; inset-block-end: -4%; inset-inline-start: 6%;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--band); color: #fff; border-radius: var(--r-pill); padding: 7px 16px 7px 7px; box-shadow: var(--sh-md);
}
[dir="rtl"] .float-chip { padding: 7px 7px 7px 16px; }
.float-chip .chip-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--brand); flex: none; }
.float-chip .chip-avatar img { width: 100%; height: 100%; object-fit: cover; }
.float-chip strong { display: block; font-size: .9rem; line-height: 1.15; }
.float-chip span { font-size: .76rem; color: var(--brand-200); }

/* =========================================================
   STATS
   ========================================================= */
.stats { position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(120deg, var(--band) 0%, #322f38 55%, #3a2a33 120%);
  border-radius: var(--r-xl); padding: clamp(26px, 4vw, 42px) clamp(20px, 3vw, 30px);
  box-shadow: var(--sh-lg); color: #fff; gap: 18px; margin-block-start: clamp(-10px, -3vw, -48px);
}
.stat { text-align: center; padding-inline: 12px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; inset-inline-start: 0; inset-block: 14% 14%; width: 1px; background: rgba(255,255,255,.16); }
.stat .count { display: block; font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; }
.stat span { display: block; margin-block-start: 8px; color: var(--brand-200); font-size: .92rem; font-weight: 600; }

/* =========================================================
   SERVICES
   ========================================================= */
.services-grid { grid-template-columns: repeat(4, 1fr); }
.card.service {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card.service:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--brand-200); }
.card-ico {
  display: inline-grid; place-items: center; margin-block-end: 14px;
  color: var(--brand-700); /* our brand rose — no background */
  transition: color .3s, transform .3s var(--ease);
}
.card-ico .ico { width: 2.7rem; height: 2.7rem; }
.card.service:hover .card-ico { color: var(--accent-fill-2); transform: scale(1.08) translateY(-2px); }
.card.service h3 { font-size: 1.24rem; font-weight: 600; margin-block-end: 9px; }
.card.service p { font-size: .98rem; color: var(--slate); }

/* Featured (signature) services: wider, blush-backed, richer */
.card.service--feature {
  grid-column: span 2;
  display: flex; gap: 22px; align-items: flex-start;
  background: linear-gradient(165deg, color-mix(in oklab, var(--brand-50) 72%, var(--card)), var(--bg-tint));
  border-color: var(--brand-100);
}
.card.service--feature .card-ico { margin-block-end: 0; flex: none; }
.card.service--feature .service-body { display: grid; gap: 9px; }
.card.service--feature h3 { margin-block-end: 0; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.service-tags li {
  font-size: .8rem; font-weight: 600; color: var(--brand-700);
  background: var(--card); border: 1px solid var(--brand-100); border-radius: var(--r-pill); padding: 5px 12px;
}

/* =========================================================
   SPONSORED · FEATURED PARTNER (rentable ad slot) — restrained
   ========================================================= */
.partner { background: var(--bg-soft); border-block: 1px solid var(--line); padding-block: clamp(40px, 6vw, 66px); }
.partner-label { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-foreground); margin-block-end: 24px; }
html[dir="rtl"] .partner-label { letter-spacing: 0; }
.partner-inner { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(26px, 4vw, 60px); align-items: start; }

.partner-brand { display: flex; gap: 15px; align-items: flex-start; }
.partner-logo { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; color: var(--foreground); background: var(--card); border: 1px solid var(--line); flex: none; }
.partner-id { display: grid; gap: 3px; }
.partner-id strong { color: var(--foreground); font-size: 1.16rem; font-weight: 700; }
.partner-id > span { color: var(--muted-foreground); font-size: .92rem; }
.partner-store { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-block-start: 10px; color: var(--brand-700); font-weight: 600; font-size: .92rem; }
.partner-store .ico { width: 1rem; height: 1rem; }
.partner-store:hover { color: var(--brand-800); }
.partner-store:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .partner-store:hover .arrow { transform: scaleX(-1) translateX(3px); }

.partner-list { display: grid; align-self: center; }
.partner-list li { border-block-start: 1px solid var(--line); }
.partner-list li:last-child { border-block-end: 1px solid var(--line); }
.partner-list a { display: flex; align-items: center; gap: 14px; padding-block: 15px; color: var(--foreground); transition: color .2s; }
.partner-list .pl-name { font-weight: 600; font-size: 1rem; }
.partner-list .pl-desc { color: var(--muted-foreground); font-size: .9rem; }
.partner-list .arrow { margin-inline-start: auto; color: var(--muted-foreground); transition: transform .25s var(--ease), color .2s; }
[dir="rtl"] .partner-list .arrow { transform: scaleX(-1); }
.partner-list a:hover { color: var(--brand-700); }
.partner-list a:hover .arrow { color: var(--brand-700); transform: translateX(3px); }
[dir="rtl"] .partner-list a:hover .arrow { transform: scaleX(-1) translateX(3px); }

.partner-rent { margin-block-start: 26px; font-size: .88rem; color: var(--muted-foreground); }
.partner-rent a { color: var(--brand-700); font-weight: 600; }
.partner-rent a:hover { color: var(--brand-800); }

@media (max-width: 760px) {
  .partner-inner { grid-template-columns: 1fr; gap: 20px; }
}

/* =========================================================
   FAQ PAGE
   ========================================================= */
.faq-head { max-width: 640px; margin-inline: auto; text-align: center; margin-block-end: 44px; }
.faq-title { font-size: clamp(2rem, 4.6vw, 3rem); }
.faq-sub { color: var(--slate); font-size: 1.06rem; margin-block-start: 14px; }
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .25s; }
.faq-item[open] { border-color: var(--brand-200); }
.faq-item summary { display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 600; color: var(--foreground); font-size: 1.05rem; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand-700); }
.faq-q { flex: 1; }
.faq-icon { width: 1.25rem; height: 1.25rem; color: var(--brand-700); flex: none; transition: transform .3s var(--ease); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; color: var(--slate); line-height: 1.7; }
.faq-a p { max-width: 64ch; }
.faq-more { text-align: center; margin-block-start: 34px; color: var(--muted-foreground); }
.faq-more a { color: var(--brand-700); font-weight: 600; margin-inline-start: 6px; }
.faq-more a:hover { color: var(--brand-800); }

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: linear-gradient(180deg, var(--background) 0%, var(--bg-soft) 100%); }
.about-inner { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.about-media { position: relative; }
.about-photo { aspect-ratio: 5 / 5.6; border-radius: 28px; box-shadow: var(--sh-lg); }
.about-media::before {
  content: ""; position: absolute; inset-block: -5% auto; inset-inline-end: -5%; width: 130px; height: 130px;
  background: radial-gradient(circle, var(--brand-200), transparent 70%); filter: blur(6px); z-index: 0;
}
.about-badge {
  position: absolute; z-index: 3; inset-block-end: -22px; inset-inline-start: -16px;
  display: inline-flex; align-items: center; gap: 12px; background: var(--card);
  border: 1px solid var(--line); border-radius: 16px; padding: 13px 18px; box-shadow: var(--sh-md);
}
.about-badge .ab-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent-fill), var(--accent-fill-2)); }
.about-badge strong { display: block; color: var(--navy); font-size: .96rem; }
.about-badge span { font-size: .8rem; color: var(--muted-foreground); }

.about-copy .section-title { margin-block: 14px 18px; text-align: start; }
.about-copy > p { margin-block-end: 14px; }
.checklist { display: grid; gap: 13px; margin-block: 24px 30px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-weight: 600; }
.checklist .ico { width: 1.5rem; height: 1.5rem; flex: none; color: #fff; background: var(--accent-fill); border-radius: 50%; padding: 4px; margin-block-start: 1px; }
.about-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.signature { font-family: var(--font-sig); font-size: 2rem; color: var(--brand-700); line-height: 1; }
.about-role { color: var(--brand-700); font-weight: 700; font-size: 1.02rem; margin-block-start: -8px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 22px 28px; }
.about-tags span { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); padding: 6px 13px; border-radius: var(--r-pill); font-size: .85rem; font-weight: 600; }

/* =========================================================
   FEATURES
   ========================================================= */
.features { background: var(--bg); }
.features-grid { grid-template-columns: repeat(4, 1fr); }
.feature { text-align: center; padding: 14px; }
.feature-ico {
  width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; margin-inline: auto; margin-block-end: 18px;
  color: var(--sky-700); background: var(--sky-50); border: 1px solid var(--sky-100);
  transition: transform .3s var(--ease);
}
.feature-ico .ico { width: 2rem; height: 2rem; }
.feature:hover .feature-ico { transform: translateY(-4px) rotate(-4deg); }
.feature h3 { font-size: 1.15rem; margin-block-end: 8px; }
.feature p { font-size: .95rem; color: var(--slate); }

/* =========================================================
   WHY PATIENTS · RATE US #1 (feature carousel)
   ========================================================= */
.whyus-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-block-end: 40px; }
.whyus-head { max-width: 560px; }
.whyus-title { font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.06; }
.whyus-title .hl { display: inline-block; background: var(--accent-fill); color: #fff; padding: 1px 14px 5px; border-radius: 12px; transform: rotate(-2deg); margin-block-start: 8px; }
[dir="rtl"] .whyus-title .hl { transform: rotate(2deg); }
.whyus-head > p { color: var(--slate); margin-block-start: 18px; font-size: 1.05rem; max-width: 48ch; }
.whyus-nav { display: flex; gap: 12px; flex: none; }
.whyus-arrow { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--card); color: var(--foreground); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.whyus-arrow:hover { background: var(--accent-fill); color: #fff; border-color: var(--accent-fill); }
.whyus-arrow.disabled { opacity: .35; pointer-events: none; }
.whyus-arrow .ico { width: 1.25rem; height: 1.25rem; }
.whyus-arrow[data-dir="prev"] .ico { transform: scaleX(-1); }
[dir="rtl"] .whyus-arrow[data-dir="prev"] .ico { transform: none; }
[dir="rtl"] .whyus-arrow[data-dir="next"] .ico { transform: scaleX(-1); }

.whyus-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 22px; scrollbar-width: none; -ms-overflow-style: none; }
.whyus-track::-webkit-scrollbar { display: none; }
.whyus-card { scroll-snap-align: start; flex: 0 0 clamp(260px, 78vw, 332px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px 28px; display: grid; gap: 13px; align-content: start; box-shadow: var(--sh-xs); }
.whyus-ico { width: 56px; height: 56px; display: grid; place-items: center; }
.whyus-ico .ico { width: 3rem; height: 3rem; }
.whyus-ico.i-1 { color: var(--accent-fill); }
.whyus-ico.i-2 { color: #FB7ACD; }
.whyus-ico.i-3 { color: #2E7FA6; }
.whyus-ico.i-4 { color: #D38A1E; }
.whyus-card h3 { font-size: 1.32rem; font-weight: 600; }
.whyus-card p { color: var(--slate); font-size: 1rem; line-height: 1.6; }

.whyus-bar { display: flex; align-items: center; gap: 14px; margin-block-start: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 15px 26px; }
.whyus-bar-ico { color: #F6B73C; flex: none; display: grid; place-items: center; }
.whyus-bar-ico .ico { width: 1.4rem; height: 1.4rem; }
.whyus-bar p { color: var(--slate); font-size: .98rem; }
.whyus-bar strong { color: var(--foreground); }
@media (max-width: 560px) { .whyus-bar { border-radius: var(--r-lg); align-items: flex-start; } }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews { background: linear-gradient(180deg, var(--bg-soft) 0%, var(--background) 100%); }
.reviews-grid { grid-template-columns: repeat(3, 1fr); }
.review {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px;
  box-shadow: var(--sh-sm); display: grid; gap: 14px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.review:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.review-quote { position: absolute; inset-block-start: 22px; inset-inline-end: 24px; color: var(--brand-100); }
.review-quote .ico { width: 2.4rem; height: 2.4rem; }
.review .stars { color: #F6B73C; display: inline-flex; gap: 2px; }
.review .stars .ico { width: 1.15rem; height: 1.15rem; }
.review blockquote { color: var(--ink); font-size: 1.02rem; line-height: 1.7; }
.review-by { display: flex; align-items: center; gap: 12px; margin-block-start: 4px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem; background: linear-gradient(135deg, var(--accent-fill), var(--accent-fill-2)); flex: none; }
.review-name strong { display: block; color: var(--navy); font-size: 1rem; }
.review-name small { color: var(--muted-foreground); font-size: .85rem; }

/* Live Google reviews block */
.reviews-live { max-width: 720px; margin-inline: auto; display: grid; gap: 18px; }
.reviews-cta {
  display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; justify-content: center; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(22px, 4vw, 34px); box-shadow: var(--sh-sm);
}
.reviews-stars { display: inline-flex; gap: 2px; color: #F6B73C; flex: none; }
.reviews-stars .ico { width: 1.35rem; height: 1.35rem; }
.reviews-cta-text { display: grid; gap: 3px; }
.reviews-cta-text strong { color: var(--foreground); font-size: 1.12rem; font-weight: 700; }
.reviews-cta-text span { color: var(--muted-foreground); font-size: .94rem; }
@media (min-width: 640px) { .reviews-cta { flex-wrap: nowrap; text-align: start; } .reviews-cta .btn { margin-inline-start: auto; white-space: nowrap; } }

/* Tilted "Real Reviews" cards */
.reviews-badge { display: flex; align-items: center; justify-content: center; gap: 10px; margin-block-end: 30px; }
.reviews-badge .reviews-stars { display: inline-flex; gap: 2px; color: #F6B73C; }
.reviews-badge .reviews-stars .ico { width: 1.25rem; height: 1.25rem; }
.reviews-badge p { color: var(--foreground); font-weight: 600; font-size: 1rem; }
.reviews-badge strong { font-size: 1.2rem; }
.reviews-badge span { color: var(--muted-foreground); font-weight: 500; }

.reviews-stack { max-width: 680px; margin-inline: auto; display: grid; gap: 16px; padding-block: 8px; }
.rcard {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 20px 22px; box-shadow: var(--sh-md); display: grid; gap: 12px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.rcard.is-accent { background: var(--primary); border-color: transparent; }
.rcard:nth-child(odd)  { transform: rotate(-1.5deg); margin-inline-end: clamp(0px, 7vw, 46px); }
.rcard:nth-child(even) { transform: rotate(1.5deg);  margin-inline-start: clamp(0px, 7vw, 46px); }
.rcard:hover { transform: rotate(0deg) translateY(-2px); box-shadow: var(--sh-lg); z-index: 2; }
.rcard-top { display: flex; align-items: center; gap: 12px; }
.rcard-av { position: relative; overflow: hidden; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .9rem; background: var(--av, var(--accent-fill)); flex: none; }
.rcard-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rcard.is-accent .rcard-av { background: #fff; color: var(--accent-fill); }
.rcard-meta { display: grid; line-height: 1.2; }
.rcard-meta strong { color: var(--foreground); font-size: 1rem; }
.rcard-meta small { color: var(--muted-foreground); font-size: .82rem; }
.rcard.is-accent .rcard-meta strong { color: #241b1e; }
.rcard.is-accent .rcard-meta small { color: #6b545a; }
.rcard-stars { margin-inline-start: auto; display: inline-flex; gap: 2px; background: #fff; padding: 6px 9px; border-radius: var(--r-pill); box-shadow: 0 3px 8px rgba(15,42,67,.12); color: #F6B73C; flex: none; }
.rcard-stars .ico { width: .95rem; height: .95rem; }
.rcard > p { color: var(--ink); font-size: .98rem; line-height: 1.6; }
.rcard.is-accent > p { color: #2c2024; }
.reviews-foot { display: flex; justify-content: center; margin-block-start: 30px; }
@media (prefers-reduced-motion: reduce) { .rcard:nth-child(odd), .rcard:nth-child(even) { transform: none; margin-inline: 0; } }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  position: relative; overflow: hidden; color: #fff;
  background:
    linear-gradient(120deg, rgba(40,43,46,.93) 0%, rgba(122,52,82,.85) 78%),
    var(--cta-img, none) center/cover no-repeat;
  background-color: var(--band);
}
.cta-inner {
  position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 26px;
  padding-block: clamp(46px, 7vw, 78px);
}
.cta-text h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.cta-text p { color: rgba(255,255,255,.86); margin-block-start: 10px; max-width: 560px; font-size: 1.05rem; }
.cta-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta-call { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 600; }
.cta-call .ico { width: 1.25rem; height: 1.25rem; color: var(--brand-200); }
.cta-call:hover { color: var(--brand-200); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.contact-info .section-title { text-align: start; margin-block: 14px 14px; }
.contact-info .section-lead { text-align: start; margin-inline: 0; }

.contact-list { display: grid; gap: 18px; margin-block: 30px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.ci-ico { display: inline-grid; place-items: center; color: var(--brand-700); flex: none; margin-block-start: 2px; }
.ci-ico .ico { width: 2rem; height: 2rem; color: var(--brand-700); }
.contact-list strong { display: block; color: var(--navy); font-size: .98rem; }
.contact-list span, .contact-list a { color: var(--slate); }
.contact-list a:hover { color: var(--brand-700); }

.socials { display: flex; gap: 10px; }
.social { width: 40px; height: 40px; display: grid; place-items: center; color: var(--brand-700); transition: transform .25s var(--ease), color .25s; }
.social:hover { transform: translateY(-3px); color: var(--accent-fill-2); }
.social .ico { width: 1.4rem; height: 1.4rem; }
.site-footer .social { color: #A9BBC9; }
.site-footer .social:hover { color: var(--brand-200); }

/* Form */
.contact-card {
  position: relative;
  background: linear-gradient(176deg, color-mix(in oklab, var(--brand-50) 70%, var(--card)), var(--bg-tint));
  border: 1px solid var(--brand-100); border-radius: var(--r-xl);
  padding: clamp(26px, 3.6vw, 44px);
}
.booking-form { display: grid; gap: 18px; accent-color: var(--brand-700); }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--brand-700); letter-spacing: .01em; }
.field label em { color: var(--muted-foreground); font-weight: 500; font-style: normal; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--brand-100); border-radius: 14px;
  background-color: var(--card); color: var(--ink); font-family: inherit; font-size: .98rem;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--brand-200); }
.field input::placeholder, .field textarea::placeholder { color: var(--brand-700); opacity: .5; }
/* Feminine rose dropdown chevron (replaces the native arrow) */
.field select {
  appearance: none; -webkit-appearance: none; padding-inline-end: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C44569' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
[dir="rtl"] .field select { background-position: left 16px center; }
:root[data-theme="dark"] .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FF9EC4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-300); background-color: var(--card);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand-300) 55%, transparent);
}
.field .error { display: none; color: var(--destructive); font-size: .82rem; font-weight: 600; }
.field.invalid input, .field.invalid select { border-color: #DC3A52; background-color: #FFF5F6; }
.field.invalid .error { display: block; }

.form-note { font-size: .82rem; color: var(--muted-foreground); text-align: center; }
.form-success {
  display: grid; justify-items: center; gap: 4px; text-align: center;
  background: #EAFBF1; border: 1px solid #B9EFCD; border-radius: 16px; padding: 20px;
}
.form-success strong { color: #137a45; }
.form-success span { color: #1c8a52; font-size: .92rem; }
.form-success .fs-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #28C76F; color: #fff; margin-block-end: 4px; }

/* Live clinic status (manual flag) + typical durations */
.clinic-status {
  margin-block: 24px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card);
}
.clinic-status[data-state="available"] { --cs-dot: var(--status-open); }
.clinic-status[data-state="busy"]      { --cs-dot: var(--status-busy); }
.clinic-status[data-state="away"],
.clinic-status[data-state="unknown"],
.clinic-status[data-state="loading"]   { --cs-dot: var(--status-away); }

.cs-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cs-head { font-size: .8rem; font-weight: 600; color: var(--muted-foreground); letter-spacing: .02em; }
.cs-updated { font-size: .76rem; color: var(--muted-foreground); white-space: nowrap; }

.cs-now { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-block-start: 11px; }
.cs-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: var(--r-pill); font-weight: 600; font-size: .95rem;
  background: var(--bg-soft); color: var(--slate);
}
.clinic-status[data-state="available"] .cs-badge { background: var(--status-open-soft); color: var(--status-open-ink); }
.clinic-status[data-state="busy"] .cs-badge { background: var(--status-busy-soft); color: var(--status-busy-ink); }
.cs-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cs-dot); position: relative; flex: none; }
.clinic-status[data-state="available"] .cs-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--cs-dot);
  animation: csPulse 2s var(--ease) infinite;
}
@keyframes csPulse { 0% { transform: scale(1); opacity: .55; } 70% { transform: scale(2.7); opacity: 0; } 100% { transform: scale(2.7); opacity: 0; } }
.cs-meta { font-size: .86rem; color: var(--slate); }

.cs-durations { margin-block-start: 16px; padding-block-start: 14px; border-block-start: 1px solid var(--line); }
.cs-dur-head { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--brand-700); margin-block-end: 11px; }
.cs-dur-head .ico { width: 1rem; height: 1rem; }
.cs-dur-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 24px; }
.cs-dur-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: .9rem; color: var(--slate); padding-block-end: 7px; border-block-end: 1px dashed var(--line); }
.cs-dur-list b { color: var(--brand-700); font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) { .cs-dur-list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .clinic-status .cs-dot::after { animation: none; } }

/* Real Google map */
.contact-map { position: relative; margin-block-start: clamp(32px, 5vw, 52px); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.contact-map iframe { width: 100%; height: clamp(300px, 40vw, 440px); border: 0; display: block; }
.contact-map-link {
  position: absolute; inset-block-end: 16px; inset-inline-start: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; line-height: 1;
  background: var(--card); color: var(--brand-700); font-weight: 600; font-size: .9rem;
  padding: 9px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: color .2s, border-color .2s;
}
.contact-map-link:hover { color: var(--accent-fill-2); border-color: var(--brand-300); }
.contact-map-link .ico { width: 1.05rem; height: 1.05rem; }
:root[data-theme="dark"] .contact-map iframe { filter: invert(0.92) hue-rotate(180deg) brightness(0.95) contrast(0.9); }

/* Contact details row: simplified strip below the map */
.contact-row {
  list-style: none; margin: 22px 0 0; padding: 22px 0 0;
  border-block-start: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; align-items: start; gap: 18px 32px;
}
.contact-row li { display: flex; align-items: center; gap: 12px; }
.contact-row > li > .ico { width: 1.5rem; height: 1.5rem; color: var(--brand-700); flex: none; }
.contact-row strong { display: block; font-size: .8rem; font-weight: 600; color: var(--muted-foreground); margin-block-end: 2px; }
.contact-row span, .contact-row a { color: var(--foreground); font-size: .93rem; }
.contact-row a { transition: color .2s; }
.contact-row a:hover { color: var(--brand-700); }
@media (max-width: 1080px) { .contact-row { grid-template-columns: 1fr 1fr; justify-content: initial; } }
@media (max-width: 680px) { .contact-row { grid-template-columns: 1fr; } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--band); color: #C7D5E0; padding-block: clamp(48px, 6vw, 70px) 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-block-end: 44px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: #C7D5E0; }
.footer-brand > p { margin-block: 16px 20px; max-width: 320px; font-size: .95rem; color: #A9BBC9; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-block-end: 16px; }
.footer-col a, .footer-contact p { display: block; color: #A9BBC9; padding-block: 6px; font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--brand-200); }
.footer-contact p { padding-block: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 22px; border-block-start: 1px solid rgba(255,255,255,.1); font-size: .86rem; color: #8DA2B3; }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.to-top {
  position: fixed; inset-block-end: 24px; inset-inline-end: 24px; z-index: 70;
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-fill); color: #fff; border: none; box-shadow: var(--sh-brand);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, visibility .3s, background .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent-fill-2); transform: translateY(-3px); }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.cards .reveal.in:nth-child(2) { transition-delay: .08s; }
.cards .reveal.in:nth-child(3) { transition-delay: .16s; }
.cards .reveal.in:nth-child(4) { transition-delay: .24s; }
.cards .reveal.in:nth-child(5) { transition-delay: .12s; }
.cards .reveal.in:nth-child(6) { transition-delay: .2s; }

/* =========================================================
   GALLERY PAGE
   ========================================================= */
.gal-hero { padding-block: clamp(46px, 7vw, 88px) clamp(26px, 4vw, 46px); text-align: center; }
.gal-hero-inner { max-width: 780px; margin-inline: auto; }
.gal-title { font-size: clamp(2.1rem, 5.4vw, 3.5rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.06; }
.gal-lead { margin: 18px auto 0; color: var(--slate); font-size: 1.08rem; max-width: 60ch; }
.gal-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-block-start: 28px; }
.gal-note { margin-block-start: 22px; text-align: center; font-size: .86rem; color: var(--muted-foreground); }

/* Before / after drag slider */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ba-case { margin: 0; }
.ba {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-soft); direction: ltr; touch-action: pan-y; user-select: none;
}
.ba-pane { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-ph { display: grid; place-items: center; }
.ba-after.ba-ph  { background: linear-gradient(150deg, var(--brand-100), var(--brand-50)); }
.ba-before.ba-ph { background: linear-gradient(150deg, var(--sky-100), var(--bg-soft)); }
.ba-ph-label { font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-700); opacity: .5; }
.ba-before.ba-ph .ba-ph-label { color: var(--sky-700); }
.ba-tag {
  position: absolute; inset-block-start: 12px; z-index: 3; font-size: .7rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: #fff; background: rgba(28,31,34,.7); padding: 4px 10px; border-radius: var(--r-pill);
}
.ba-tag-before { left: 12px; }
.ba-tag-after  { right: 12px; }
.ba-handle {
  position: absolute; inset-block: 0; left: var(--pos, 50%); z-index: 4; width: 2px; margin-left: -1px;
  background: #fff; display: grid; place-items: center; pointer-events: none;
}
.ba-handle .ico { width: 1rem; height: 1rem; color: var(--brand-700); background: #fff; padding: 8px; border-radius: 50%; box-shadow: var(--sh-md); box-sizing: content-box; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 5; -webkit-appearance: none; appearance: none; background: transparent; }
.ba:focus-within .ba-handle .ico { box-shadow: 0 0 0 3px var(--brand-300), var(--sh-md); }
.ba-cap { margin-block-start: 12px; text-align: center; font-weight: 600; color: var(--navy); }

/* Instagram & Facebook */
.gal-social { background: var(--bg-soft); }
.social-follow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 720px; margin: 6px auto 30px; }
.follow-card { display: grid; gap: 3px; padding: 22px 24px; border-radius: var(--r-lg); color: #fff; transition: transform .25s var(--ease); }
.follow-card .ico { width: 1.7rem; height: 1.7rem; margin-block-end: 6px; }
.follow-card .fc-main { font-weight: 700; font-size: 1.1rem; }
.follow-card .fc-sub { font-size: .88rem; opacity: .9; }
.follow-ig { background: linear-gradient(135deg, #C44569, #A33359); }
.follow-fb { background: linear-gradient(135deg, #2E7FA6, #1E5E7E); }
.follow-card:hover { transform: translateY(-3px); }
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.social-tile { aspect-ratio: 1 / 1; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 18px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); background: var(--card); color: var(--slate); transition: border-color .25s, color .25s, background .25s; }
.social-tile .st-net { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); }
.social-tile .st-net .ico { width: 1.5rem; height: 1.5rem; }
.social-tile .st-text { font-size: .9rem; font-weight: 600; }
.social-tile:hover { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-50); }

/* Video reviews */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-tile { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; gap: 14px; background: linear-gradient(160deg, var(--band), #16181b); color: #fff; }
.video-tile .vt-play { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #2B2F31; transition: transform .25s var(--ease); }
.video-tile .vt-play .ico { width: 1.5rem; height: 1.5rem; margin-inline-start: 3px; }
.video-tile .vt-label { font-size: .9rem; font-weight: 600; opacity: .92; }
.video-tile:hover .vt-play { transform: scale(1.08); }

/* Gallery CTA band */
.gal-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: var(--band); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); }
.gal-cta-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; color: #fff; }
.gal-cta-text p { color: rgba(255,255,255,.82); margin-block-start: 8px; }
.gal-cta-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .ba-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .ba-grid, .social-grid, .video-grid { grid-template-columns: 1fr; }
  .social-follow { grid-template-columns: 1fr; }
  .ba { aspect-ratio: 4 / 4.2; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid  { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 980px) {
  .menu-btn { display: grid; }
  .nav-links {
    position: fixed; inset-block-start: 76px; inset-inline-end: 0; z-index: 85;
    flex-direction: column; align-items: stretch; gap: 6px;
    width: min(330px, 84%); height: calc(100dvh - 76px);
    background: var(--card); padding: 22px; box-shadow: var(--sh-lg);
    transform: translateX(110%); transition: transform .35s var(--ease); overflow-y: auto;
  }
  [dir="rtl"] .nav-links { transform: translateX(-110%); }
  .nav-links.nav-open { transform: none; }
  .nav-link { padding: 13px 16px; font-size: 1.05rem; }
  .nav-cta { margin-inline-start: 0; margin-block-start: 8px; }
  body.nav-lock { overflow: hidden; }
  .nav-overlay.show { display: block; opacity: 1; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { max-width: 600px; margin-inline: auto; text-align: center; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-media { margin-inline: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; margin-block-start: 0; }
  .stat:nth-child(3)::before, .stat:nth-child(odd)::before { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 56px; }
  .about-media { max-width: 460px; margin-inline: auto; }
  .about-copy { text-align: start; }
  .contact-inner { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; text-align: start; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .services-grid, .features-grid { grid-template-columns: 1fr; }
  .card.service--feature { grid-column: auto; flex-direction: column; gap: 14px; }
  .card.service--feature .card-ico { margin-block-end: 0; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; align-items: center; gap: 10px; }
  .float-card strong { font-size: 1.05rem; }
  .fc-rating { inset-inline-start: -2%; }
  .fc-today { inset-inline-end: -2%; }
  .btn-lg { width: 100%; }
  .hero-actions { width: 100%; }
}

/* =========================================================
   MOTION PREFERENCE
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
