/* =====================================================================
   Dr. Lama Ghassan — "Porcelain Light" design system
   Bright, clean and modern: porcelain-white and ice-aqua surfaces, soft
   aqua→mint mesh light, white glass cards with luminous teal hairlines,
   generous whitespace and smooth micro-interactions. No dark sections.
   ===================================================================== */

:root {
  /* palette */
  --bg: #f6f9fb;
  --paper: #ffffff;
  --ice: #eef7f9;
  --ice-2: #e1f2f5;
  --ink: #0e2433;
  --ink-2: #26404f;
  --mist: #5d7383;
  --mist-2: #8396a3;
  --line: rgba(14, 36, 51, 0.08);
  --line-2: rgba(14, 36, 51, 0.14);
  --teal: #0ea5b5;
  --teal-600: #0b8f9d;
  --teal-700: #087584;
  --aqua: #3fd0dc;
  --mint: #6fdfc2;
  --sky-50: #f0fbfc;
  --sky-100: #d9f3f6;
  --sky-200: #b3e7ee;
  --open: #22c58b;
  --star: #ffb547;

  /* gradients */
  --grad: linear-gradient(120deg, #0a8b9a 0%, #10a9b8 50%, #27bfae 100%);
  --grad-soft: linear-gradient(120deg, #3fd0dc 0%, #6fdfc2 100%);
  --grad-text: linear-gradient(100deg, #087584 0%, #0ea5b5 48%, #21b89c 100%);
  --grad-tint: linear-gradient(150deg, #e3f6f8 0%, #f3fbfb 55%, #e9f8f2 100%);
  --mesh:
    radial-gradient(45% 55% at 86% 34%, rgba(63, 208, 220, 0.28), transparent 70%),
    radial-gradient(40% 50% at 6% 74%, rgba(111, 223, 194, 0.24), transparent 70%),
    radial-gradient(30% 40% at 48% 40%, rgba(140, 200, 255, 0.14), transparent 70%),
    var(--bg);
  --hair: linear-gradient(140deg, rgba(14, 165, 181, 0.55), rgba(111, 223, 194, 0.25) 35%, rgba(255, 255, 255, 0) 60%, rgba(14, 165, 181, 0.35));
  --tint-teal: brightness(0) saturate(100%) invert(48%) sepia(83%) saturate(520%) hue-rotate(143deg) brightness(92%);

  /* type */
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-caps: "JetBrains Mono", ui-monospace, monospace;
  --caps-spacing: 0.2em;

  /* shape */
  --radius-s: 14px;
  --radius-m: 22px;
  --radius-l: 32px;

  --shadow-xs: 0 1px 2px rgba(14, 36, 51, 0.05);
  --shadow-card: 0 1px 2px rgba(14, 36, 51, 0.04), 0 18px 40px -22px rgba(14, 70, 90, 0.22);
  --shadow-soft: 0 40px 80px -40px rgba(14, 70, 90, 0.35);
  --shadow-teal: 0 14px 34px -12px rgba(14, 165, 181, 0.55);
  --glow: 0 0 0 1px rgba(14, 165, 181, 0.22), 0 30px 60px -26px rgba(14, 165, 181, 0.45);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
}

[dir="rtl"] {
  --font-display: "Readex Pro", "IBM Plex Sans Arabic", sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Readex Pro", sans-serif;
  --font-caps: "Readex Pro", sans-serif;
  --caps-spacing: 0;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
section, .ph, .h-hero, .h-ribbon { overflow-x: clip; }
.lm-footer { overflow: hidden; }
[dir="rtl"] body { font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; line-height: 1.14; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--sky-200); color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 10vw, 132px); position: relative; }
.flip-rtl { display: inline-block; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* Section surfaces: alternate porcelain, white and ice so every band feels distinct */
.h-about, .h-train, .h-ba, .a-intro, .a-creds, .a-journey, .c-section { background: var(--paper); }
.h-treat, .h-high, .s-list, .p-section, .a-treat { background: var(--bg) !important; }
.h-why, .h-hours, .h-reviews, .a-approach { background: var(--mesh); }

/* Faint dotted texture on porcelain bands */
.h-treat::before, .h-high::before, .s-list::before, .p-section::before, .a-treat::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(14, 117, 132, 0.12) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 80%);
  mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 80%);
}
.h-treat > *, .h-high > *, .s-list > *, .p-section > *, .a-treat > * { position: relative; }

/* Scroll progress (added by js/site.js) */
.lm-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 1200; pointer-events: none; }
.lm-progress span { display: block; height: 100%; width: 100%; background: var(--grad-soft); transform-origin: left; transform: scaleX(var(--p, 0)); border-radius: 0 3px 3px 0; }
[dir="rtl"] .lm-progress span { transform-origin: right; }

/* Gradient hairline border shared by glass cards */
.h-treat__item::before, .h-tile::before, .s-card::before, .a-cert::before, .a-step::before,
.p-ticket::after, .c-form::before, .h-board::before, .a-id::before, .h-hero__proof::before,
.h-why__col::before, .a-tcard::before, .p-benefits::before, .a-pillar::after, .h-review::after, .c-tip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--hair);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.5s var(--ease);
  z-index: 2;
}

/* Spotlight that follows the pointer (vars set by js/site.js) */
.h-tile, .s-card, .a-pillar, .h-review, .p-ticket, .a-cert, .a-step, .h-why__col, .a-tcard, .h-treat__item, .c-form, .c-tip {
  --mx: -400px; --my: -400px;
}

/* ---------- Typography helpers ---------- */
.eyebrow, .h-hours__intro span, .a-chip-title, .a-journey__lead, .script-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--sky-200);
  box-shadow: var(--shadow-xs);
  font-family: var(--font-caps);
  font-size: 0.7rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: var(--caps-spacing);
  text-transform: uppercase;
  color: var(--teal-700);
  width: fit-content;
}
[dir="rtl"] .eyebrow, [dir="rtl"] .script-kicker, [dir="rtl"] .h-hours__intro span, [dir="rtl"] .a-chip-title, [dir="rtl"] .a-journey__lead { padding: 7px 10px 7px 14px; font-size: 0.9rem; }
.eyebrow::before, .script-kicker::before, .h-hours__intro span::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-soft);
  box-shadow: 0 0 0 4px rgba(63, 208, 220, 0.18);
  flex-shrink: 0;
}
.eyebrow i { display: none; }
.eyebrow--center { justify-content: center; margin-inline: auto; }
.a-chip-title, .a-journey__lead { background: transparent; border: 0; box-shadow: none; padding: 0; }

.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
}
.display em, .display .accent, .display span {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[dir="rtl"] .display { line-height: 1.35; letter-spacing: 0; }
.script-kicker { display: flex; margin-bottom: 18px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(120%); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.88rem; }
.btn-sky, .h-hero .btn-light { background: var(--grad); color: var(--paper); box-shadow: var(--shadow-teal); }
.btn-sky:hover, .h-hero .btn-light:hover { box-shadow: 0 20px 44px -14px rgba(14, 165, 181, 0.75); }
.btn-ink { background: var(--teal-700); color: var(--paper); box-shadow: 0 14px 30px -16px rgba(8, 117, 132, 0.8); }
.btn-ink:hover { background: var(--teal-600); box-shadow: 0 18px 40px -16px rgba(8, 117, 132, 0.9); }
.btn-light { background: var(--paper); color: var(--teal-700); box-shadow: 0 18px 40px -18px rgba(14, 36, 51, 0.35); }
.btn-light:hover { box-shadow: 0 22px 50px -18px rgba(14, 36, 51, 0.45); }
.btn-outline, .btn-outline-light { border-color: var(--line-2); color: var(--ink); background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(8px); }
.btn-outline:hover, .btn-outline-light:hover { border-color: var(--teal); color: var(--teal-700); box-shadow: 0 0 0 4px rgba(14, 165, 181, 0.1); }
.btn-outline i.fa-whatsapp, .btn-outline-light i.fa-whatsapp { color: #1fb760; }
.btn .arrow, .h-hero__cta .btn-light .arrow { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.22); margin-inline-end: -16px; transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .btn:hover .arrow { transform: translateX(-4px); }

/* ---------- Reveal on scroll (uses translate so hover transforms stay free) ---------- */
html.js [data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition-property: opacity, translate, filter, transform, box-shadow, background-color, border-color, color;
  transition-duration: 0.9s, 0.9s, 0.9s, 0.45s, 0.45s, 0.45s, 0.45s, 0.45s;
  transition-timing-function: var(--ease);
  transition-delay: var(--d, 0s), var(--d, 0s), var(--d, 0s), 0s, 0s, 0s, 0s, 0s;
}
html.js [data-reveal].is-in { opacity: 1; translate: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; translate: none; filter: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* =====================================================================
   HEADER — floating white glass capsule
   ===================================================================== */
.lm-header { position: fixed; inset-inline: 0; top: 14px; z-index: 1000; padding-inline: var(--gutter); pointer-events: none; }
.lm-header__bar {
  pointer-events: auto;
  position: relative;
  max-width: calc(var(--wrap) - 2 * var(--gutter) + 40px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 70px;
  padding-inline: 20px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px) saturate(1.8);
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 20px 50px -28px rgba(14, 70, 90, 0.35), 0 0 0 1px rgba(14, 36, 51, 0.04);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.lm-header.is-scrolled .lm-header__bar { background: rgba(255, 255, 255, 0.9); box-shadow: 0 24px 50px -24px rgba(14, 70, 90, 0.4), 0 0 0 1px rgba(14, 36, 51, 0.06); }
.lm-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lm-brand img { height: 44px; width: auto; }
.lm-brand__copy { display: flex; flex-direction: column; line-height: 1.2; border-inline-start: 1px solid var(--line-2); padding-inline-start: 12px; }
.lm-brand__copy strong { font-family: var(--font-display); font-size: 1.04rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.lm-brand__copy small { font-family: var(--font-caps); font-size: 0.58rem; letter-spacing: var(--caps-spacing); text-transform: uppercase; color: var(--teal-700); }
[dir="rtl"] .lm-brand__copy strong { letter-spacing: 0; }
[dir="rtl"] .lm-brand__copy small { font-size: 0.76rem; }
.lm-menu { display: flex; align-items: center; flex: 1; gap: 18px; }
.lm-nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; padding: 5px; border-radius: 999px; background: rgba(14, 36, 51, 0.04); }
.lm-nav .nav-link { position: relative; padding: 9px 18px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); transition: color 0.3s, background 0.3s, box-shadow 0.3s; }
.lm-nav .nav-link:hover { color: var(--teal-700); background: var(--paper); }
.lm-nav .nav-link.active { color: var(--paper); background: var(--grad); box-shadow: 0 8px 20px -8px rgba(14, 165, 181, 0.8); }
.navbar-actions { display: flex; align-items: center; gap: 10px; }
.lm-burger { display: none; margin-inline-start: auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); cursor: pointer; position: relative; box-shadow: var(--shadow-xs); }
.lm-burger span, .lm-burger::before, .lm-burger::after { content: ""; position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.35s var(--ease), opacity 0.35s; }
.lm-burger::before { top: 17px; }
.lm-burger span { top: 23px; }
.lm-burger::after { top: 29px; }
.lm-header.is-open .lm-burger::before { transform: translateY(6px) rotate(45deg); }
.lm-header.is-open .lm-burger span { opacity: 0; }
.lm-header.is-open .lm-burger::after { transform: translateY(-6px) rotate(-45deg); }

/* Language dropdown (built by js/i18n.js) */
.lang-dropdown { position: relative; }
.lang-toggle { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font-size: 0.86rem; font-weight: 600; cursor: pointer; transition: border-color 0.3s, box-shadow 0.3s; }
.lang-toggle:hover { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14, 165, 181, 0.1); }
.lang-flag img { width: 22px; height: 15px; border-radius: 3px; object-fit: cover; }
.lang-chevron svg { width: 10px; height: 6px; display: block; transition: transform 0.3s; }
.lang-dropdown.open .lang-chevron svg { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 12px); inset-inline-end: 0; min-width: 190px; padding: 8px; border-radius: 18px; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(18px); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(14, 70, 90, 0.4); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all 0.3s var(--ease); z-index: 10; }
.lang-dropdown.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 0.9rem; }
.lang-menu a:hover { background: var(--sky-50); }
.lang-menu a.active { color: var(--teal-700); font-weight: 700; background: var(--sky-50); }
.lang-check { margin-inline-start: auto; color: var(--teal); }

@media (max-width: 1080px) { .lm-brand__copy { display: none; } }
@media (max-width: 991px) {
  .lm-header__bar { border-radius: 28px; flex-wrap: wrap; padding-inline: 16px 10px; min-height: 64px; }
  .lm-brand__copy { display: flex; }
  .lm-burger { display: block; }
  .lm-menu { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 14px; padding: 12px 6px 16px; border-top: 1px solid var(--line); }
  .lm-header.is-open .lm-menu { display: flex; }
  .lm-header.is-open .lm-header__bar { background: rgba(255, 255, 255, 0.97); }
  .lm-nav { flex-direction: column; align-items: stretch; margin: 0; border-radius: 20px; }
  .lm-nav .nav-link { padding: 13px 16px; font-size: 1.02rem; }
  .navbar-actions { justify-content: space-between; }
  .lang-menu { inset-inline-end: auto; inset-inline-start: 0; }
}
@media (max-width: 420px) { .lm-brand__copy small { display: none; } }

/* =====================================================================
   PAGE HEAD (inner pages) — bright mesh with arched portrait
   ===================================================================== */
.ph {
  position: relative;
  background: var(--mesh);
  padding: 150px 0 0;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(14, 117, 132, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 117, 132, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 30% 40%, #000 20%, transparent 75%);
}
.ph__sig { position: absolute; inset-inline-end: -6%; top: 50px; width: min(820px, 80vw); opacity: 0.07; z-index: -1; pointer-events: none; filter: var(--tint-teal); }
.ph__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end; }
.ph__copy { padding-bottom: clamp(70px, 9vw, 120px); }
.ph__copy::before {
  content: "";
  display: block;
  width: 56px; height: 6px;
  border-radius: 6px;
  background: var(--grad-soft);
  margin-bottom: 28px;
}
.ph h1 {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(100deg, var(--ink) 20%, var(--teal-700) 70%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}
[dir="rtl"] .ph h1 { line-height: 1.3; letter-spacing: 0; }
.crumbs { margin-top: 30px; }
.crumbs ol { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line); box-shadow: var(--shadow-card); backdrop-filter: blur(10px); font-family: var(--font-caps); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); }
[dir="rtl"] .crumbs ol { font-size: 0.92rem; letter-spacing: 0; }
.crumbs li[aria-current] { color: var(--teal-700); font-weight: 600; }
.crumbs li + li::before { content: "/"; margin-inline-end: 12px; color: var(--mist-2); }
.crumbs a:hover { color: var(--teal-700); }
.ph__visual { position: relative; align-self: end; justify-self: center; isolation: isolate; }
.ph__visual::before { content: ""; position: absolute; z-index: -1; inset: 8% -8% 0; border-radius: 999px 999px 0 0; background: var(--grad-soft); opacity: 0.35; filter: blur(2px); }
.ph__visual::after { content: ""; position: absolute; z-index: 3; inset: -10px -10px 0; border-radius: 999px 999px 0 0; border: 1px dashed rgba(14, 165, 181, 0.4); border-bottom: 0; pointer-events: none; animation: lm-breathe 6s ease-in-out infinite; }
@keyframes lm-breathe { 50% { inset: -18px -18px 0; opacity: 0.6; } }
.ph__visual img {
  width: min(380px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px 0 0;
  border: 6px solid var(--paper);
  border-bottom: 0;
  box-shadow: 0 -10px 60px -20px rgba(14, 165, 181, 0.45);
  background: linear-gradient(180deg, var(--sky-100), var(--paper)) !important;
}
.ph__visual--wide img { aspect-ratio: 5 / 4; width: min(460px, 100%); border-radius: 40px 40px 0 0; }
.ph__visual--wide::before, .ph__visual--wide::after { border-radius: 48px 48px 0 0; }
.ph__wave { display: none; }
@media (max-width: 860px) {
  .ph { padding-top: 124px; }
  .ph__grid { grid-template-columns: 1fr; }
  .ph__copy { padding-bottom: 30px; }
  .ph__visual img { width: min(300px, 78vw); }
}

.lm-top {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 22px;
  z-index: 900;
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--grad);
  color: var(--paper);
  box-shadow: var(--shadow-teal);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all 0.4s var(--ease);
}
.lm-top:hover { transform: translateY(-3px); }
.lm-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* =====================================================================
   HOME — "Porcelain Light" v3: same palette, richer depth and motion
   ===================================================================== */
.page-index .h-treat, .page-index .h-high { background: var(--paper) !important; }
.page-index .h-train, .page-index .h-ba { background: var(--bg); }
.page-index .section { padding-block: clamp(84px, 10vw, 140px); }
.page-index .display { font-size: clamp(2.4rem, 5vw, 4.3rem); letter-spacing: -0.045em; }
[dir="rtl"] .page-index .display { letter-spacing: 0; }

/* ---- 1. Hero: framed stage, orbit rings, floating glass ---- */
.h-hero { position: relative; padding: 104px clamp(10px, 1.4vw, 20px) 0; background: var(--paper); overflow: visible; }
.h-hero::before, .h-hero::after { content: none; }
.h-hero__stage {
  position: relative;
  max-width: 1600px;
  margin-inline: auto;
  border-radius: clamp(28px, 3vw, 48px);
  background:
    radial-gradient(55% 70% at 78% 40%, rgba(63, 208, 220, 0.34), transparent 70%),
    radial-gradient(45% 60% at 0% 100%, rgba(111, 223, 194, 0.3), transparent 70%),
    radial-gradient(40% 50% at 40% 0%, rgba(140, 200, 255, 0.16), transparent 70%),
    linear-gradient(180deg, var(--sky-50), var(--ice));
  border: 1px solid var(--sky-100);
  box-shadow: inset 0 1px 0 var(--paper), 0 40px 90px -60px rgba(14, 70, 90, 0.45);
  overflow: hidden;
  isolation: isolate;
}
.h-hero__stage::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(14, 117, 132, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 117, 132, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 80% at 35% 40%, #000 10%, transparent 78%);
  mask-image: radial-gradient(70% 80% at 35% 40%, #000 10%, transparent 78%);
}
.h-hero__stage::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(14, 165, 181, 0.4), transparent); }
.h-hero__glow { position: absolute; width: 680px; height: 680px; inset-inline-end: -140px; top: -220px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(63, 208, 220, 0.5), rgba(111, 223, 194, 0.36), rgba(140, 200, 255, 0.3), rgba(63, 208, 220, 0.5)); -webkit-mask-image: radial-gradient(closest-side, #000, rgba(0, 0, 0, 0.35) 55%, transparent); mask-image: radial-gradient(closest-side, #000, rgba(0, 0, 0, 0.35) 55%, transparent); opacity: 0.7; z-index: -3; animation: lm-drift 18s ease-in-out infinite alternate; }
.h-hero__glow--2 { width: 520px; height: 520px; inset-inline: -160px auto; top: auto; bottom: -260px; opacity: 0.5; animation-duration: 22s; animation-direction: alternate-reverse; }
@keyframes lm-drift { to { transform: translate(-80px, 60px) rotate(40deg) scale(1.08); } }
.h-hero__sig { position: absolute; inset-inline-start: -3%; bottom: 4%; width: min(1100px, 110vw); opacity: 0.07; z-index: -1; pointer-events: none; }
.h-hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 20px; align-items: stretch; min-height: min(840px, calc(100vh - 120px)); }
.h-hero__copy { display: flex; flex-direction: column; justify-content: center; padding-block: clamp(60px, 8vw, 110px); position: relative; z-index: 2; }
.h-hero__kicker {
  display: inline-flex; align-items: center; gap: 12px; width: fit-content;
  padding-block: 6px; padding-inline: 6px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--sky-200);
  box-shadow: var(--shadow-card);
  font-family: var(--font-caps); font-size: 0.7rem; letter-spacing: var(--caps-spacing); text-transform: uppercase; color: var(--teal-700);
}
[dir="rtl"] .h-hero__kicker { font-size: 0.92rem; padding-inline: 18px 6px; }
.h-hero__kicker i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--paper); font-size: 0.78rem; box-shadow: 0 0 0 4px rgba(63, 208, 220, 0.2); }
.h-hero h1 { margin-top: 28px; font-family: var(--font-display); font-weight: 600; font-size: clamp(3.6rem, 8.8vw, 8.2rem); line-height: 0.92; letter-spacing: -0.065em; color: var(--ink); }
.h-hero h1 span {
  position: relative; display: inline-block;
  background: linear-gradient(100deg, #087584, #0ea5b5, #3fd0dc, #21b89c, #087584);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.1em; padding-inline-end: 0.04em;
  animation: lm-shimmer 9s ease-in-out infinite alternate;
}
.h-hero h1 span::after { content: ""; position: absolute; inset-inline: 0.04em 0.1em; bottom: 0.02em; height: 0.09em; border-radius: 99px; background: var(--grad-soft); opacity: 0.55; transform-origin: left; animation: lm-line 1.4s 0.6s var(--ease) both; }
[dir="rtl"] .h-hero h1 span::after { transform-origin: right; }
@keyframes lm-line { from { transform: scaleX(0); } }
@keyframes lm-shimmer { to { background-position: 100% 0; } }
[dir="rtl"] .h-hero h1 { line-height: 1.25; letter-spacing: 0; }
.h-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.h-hero__tags span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-card); color: var(--ink-2); font-size: 0.86rem; font-weight: 700; }
.h-hero__tags span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-soft); box-shadow: 0 0 0 3px rgba(63, 208, 220, 0.2); }
.h-hero__tags span:nth-child(2) { background: var(--grad); color: var(--paper); border-color: transparent; box-shadow: var(--shadow-teal); }
.h-hero__tags span:nth-child(2)::before { background: var(--paper); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3); }
.h-hero__desc { margin-top: 24px; max-width: 46ch; font-size: 1.14rem; color: var(--mist); }
.h-hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.h-hero__cta .btn { min-height: 58px; padding-inline: 30px; font-size: 1rem; }
.h-hero__trust { margin-top: 38px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.h-hero__faces { display: flex; }
.h-hero__faces span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 3px solid var(--paper); background: var(--sky-100); color: var(--teal-700); font-size: 0.8rem; margin-inline-start: -12px; box-shadow: var(--shadow-xs); }
.h-hero__faces span:first-child { margin-inline-start: 0; }
.h-hero__faces span:nth-child(2) { background: var(--sky-200); }
.h-hero__faces span:nth-child(3) { background: #d3f3ea; }
.h-hero__faces .is-plus { background: var(--grad); color: var(--paper); }
.h-hero__rating { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.h-hero__stars { color: var(--star); font-size: 0.78rem; display: flex; gap: 2px; }
.h-hero__rating strong { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.h-hero__rating .fa-google { color: var(--teal); }

.h-hero__visual { position: relative; display: flex; align-items: flex-end; justify-content: center; isolation: isolate; min-height: 620px; transform-style: preserve-3d; transition: transform 0.6s var(--ease); }
.h-hero__orbit { position: absolute; left: 50%; top: 52%; width: min(660px, 118%); aspect-ratio: 1; translate: -50% -50%; z-index: -2; pointer-events: none; }
.h-hero__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(14, 165, 181, 0.22); animation: lm-spin 40s linear infinite; }
.h-hero__ring--1 { inset: 0; }
.h-hero__ring--2 { inset: 12%; border-style: dashed; border-color: rgba(14, 165, 181, 0.35); animation-duration: 28s; animation-direction: reverse; }
.h-hero__ring--3 { inset: 25%; background: radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 70%); border-color: rgba(255, 255, 255, 0.9); animation: none; }
.h-hero__ring b { position: absolute; top: -7px; left: calc(50% - 7px); width: 14px; height: 14px; border-radius: 50%; background: var(--grad-soft); box-shadow: 0 0 0 5px rgba(63, 208, 220, 0.2), 0 0 24px rgba(63, 208, 220, 0.8); }
.h-hero__ring b + b { top: auto; bottom: -5px; left: calc(30% - 5px); width: 10px; height: 10px; background: var(--paper); box-shadow: 0 0 0 4px rgba(14, 165, 181, 0.25); }
.h-hero__ring--2 b { top: 50%; left: -6px; width: 12px; height: 12px; }
@keyframes lm-spin { to { transform: rotate(360deg); } }
@keyframes lm-float { 50% { translate: 0 -12px; } }
.h-hero__halo { position: absolute; bottom: -18%; left: 50%; translate: -50% 0; width: min(520px, 96%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(60% 60% at 35% 25%, rgba(255, 255, 255, 0.85), transparent 60%), var(--grad-soft); box-shadow: 0 -40px 100px -30px rgba(14, 165, 181, 0.55), inset 0 0 0 10px rgba(255, 255, 255, 0.45); z-index: -1; }
.h-hero__doctor { position: relative; width: min(450px, 86%); height: auto; filter: drop-shadow(0 30px 40px rgba(14, 70, 90, 0.28)); }
.h-hero__badge { position: absolute; top: 14%; inset-inline-end: 4%; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px); box-shadow: 0 24px 50px -24px rgba(14, 70, 90, 0.5); animation: lm-float 6s ease-in-out infinite; }
.h-hero__badge i { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--paper); font-size: 1.3rem; box-shadow: var(--shadow-teal); }
.h-hero__badge-ring { position: absolute; inset: 8px; border-radius: 50%; border: 2px dashed rgba(14, 165, 181, 0.45); animation: lm-spin 16s linear infinite; }
.h-hero__proof { position: absolute; bottom: 48px; inset-inline-start: -36px; width: 270px; padding: 20px; border-radius: 26px; background: rgba(255, 255, 255, 0.84); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 30px 60px -30px rgba(14, 70, 90, 0.5); animation: lm-float 7s ease-in-out infinite; z-index: 3; }
.h-hero__proof::before { opacity: 1; }
.h-hero__proof-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--font-caps); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
[dir="rtl"] .h-hero__proof-head { font-size: 0.84rem; letter-spacing: 0; }
.h-hero__proof-head i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(34, 197, 139, 0.12); color: var(--open); }
.h-hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-block: 16px; }
.h-hero__stats > div + div { padding-inline-start: 12px; border-inline-start: 1px solid var(--line); }
.h-hero__stats strong { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .h-hero__stats strong { font-size: 1.8rem; white-space: nowrap; }
.h-hero__stats span { font-size: 0.78rem; color: var(--mist); line-height: 1.35; display: block; margin-top: 6px; }
.h-hero__loc { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--sky-50); border: 1px solid var(--sky-100); font-size: 0.86rem; font-weight: 700; color: var(--teal-700); }
.h-hero__chip { position: absolute; z-index: 3; top: 44%; inset-inline-end: -6px; display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(14px); box-shadow: 0 20px 44px -22px rgba(14, 70, 90, 0.5); font-weight: 700; font-size: 0.88rem; color: var(--ink); animation: lm-float 8s 1s ease-in-out infinite; }
[dir="rtl"] .h-hero__chip { padding: 8px 8px 8px 18px; }
.h-hero__chip i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-50); color: var(--teal); border: 1px solid var(--sky-100); }
.h-hero__scroll { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; z-index: 3; }
.h-hero__mouse { display: block; width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(14, 117, 132, 0.45); position: relative; }
.h-hero__mouse::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--teal); animation: lm-wheel 1.8s var(--ease) infinite; }
@keyframes lm-wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Ribbon: tilted gradient band */
.h-ribbon { position: relative; z-index: 2; overflow: visible !important; background: transparent; padding-block: 56px 30px; direction: ltr; border: 0; }
.h-ribbon::before { content: ""; position: absolute; left: -5%; right: -5%; top: 50%; height: 64px; margin-top: -18px; background: var(--sky-100); rotate: 2.2deg; z-index: -1; }
.h-ribbon::after { content: none; }
.h-ribbon__track { display: flex; width: max-content; padding-block: 18px; background: var(--grad); box-shadow: var(--shadow-teal); rotate: -1.6deg; margin-inline: -3%; animation: lm-marquee 42s linear infinite; }
.h-ribbon:hover .h-ribbon__track { animation-play-state: paused; }
.h-ribbon__group { display: flex; align-items: center; }
.h-ribbon__item { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(1.2rem, 2.2vw, 1.75rem); white-space: nowrap; padding-inline: 30px; color: var(--paper); }
.h-ribbon__item:nth-child(4n + 3) { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.85); background: none; }
[dir="rtl"] .h-ribbon__item { letter-spacing: 0; }
.h-ribbon__star { width: 12px; height: 12px; border-radius: 4px; transform: rotate(45deg); background: var(--paper); flex-shrink: 0; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25); }
@keyframes lm-marquee { to { transform: translateX(-50%); } }
@media (max-width: 991px) {
  .h-hero { padding-top: 96px; }
  .h-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .h-hero__copy { padding-block: 44px 10px; }
  .h-hero__visual { min-height: 540px; margin-top: 10px; }
  .h-hero__proof { inset-inline-start: 0; bottom: 24px; width: 240px; }
  .h-hero__chip { inset-inline-end: 0; top: 30%; }
  .h-hero__scroll { display: none; }
}
@media (max-width: 480px) {
  .h-hero__visual { min-height: 470px; }
  .h-hero__proof { width: 214px; padding: 16px; bottom: 16px; }
  .h-hero__stats strong { font-size: 1.8rem; }
  .h-hero__badge { width: 84px; height: 84px; top: 6%; }
  .h-hero__badge i { width: 42px; height: 42px; font-size: 1rem; }
  .h-hero__chip { font-size: 0.78rem; top: 34%; }
  .h-hero__cta .btn { flex: 1 1 auto; }
}

/* ---- 2. About: layered arch portrait + editorial copy ---- */
.h-about { isolation: isolate; }
.h-about::before { content: ""; position: absolute; inset-inline-start: -10%; top: 10%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(63, 208, 220, 0.16), transparent 65%); z-index: -1; pointer-events: none; }
.h-about__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.h-about__visual { position: relative; padding: 0 50px 60px 0; isolation: isolate; }
[dir="rtl"] .h-about__visual { padding: 0 0 60px 50px; }
.h-about__frame { position: relative; border-radius: 260px 260px 40px 40px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-soft); border: 10px solid var(--paper); }
.h-about__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.h-about__visual:hover .h-about__frame img { transform: scale(1.05); }
.h-about__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 117, 132, 0.62), transparent 45%); }
.h-about__sig { position: absolute; z-index: 2; bottom: 110px; inset-inline-start: 9%; width: 62%; opacity: 0.95; pointer-events: none; }
.h-about__outline { position: absolute; top: 34px; bottom: 26px; inset-inline: 34px 16px; border-radius: 280px 280px 50px 50px; z-index: -1; background: var(--grad-tint); border: 1px dashed rgba(14, 165, 181, 0.45); translate: 22px 0; }
[dir="rtl"] .h-about__outline { translate: -22px 0; }
.h-about__visual::before { content: ""; position: absolute; z-index: -2; width: 150px; height: 150px; inset-inline-start: -30px; top: 40px; background-image: radial-gradient(rgba(14, 117, 132, 0.35) 1.4px, transparent 1.6px); background-size: 16px 16px; }
.h-about__call { position: absolute; z-index: 3; inset-inline-end: 0; top: 18%; display: flex; align-items: center; gap: 12px; padding-block: 10px; padding-inline: 10px 20px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 24px 50px -20px rgba(14, 70, 90, 0.45); transition: transform 0.4s var(--ease), box-shadow 0.4s; animation: lm-float 8s ease-in-out infinite; }
.h-about__call:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.h-about__call-icon { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: var(--paper); display: grid; place-items: center; box-shadow: var(--shadow-teal); }
.h-about__call-icon::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(14, 165, 181, 0.4); animation: lm-ping 2.2s var(--ease) infinite; }
@keyframes lm-ping { 0% { transform: scale(0.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.h-about__call small { display: block; font-family: var(--font-caps); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); }
[dir="rtl"] .h-about__call small { font-size: 0.8rem; letter-spacing: 0; }
.h-about__call strong { display: block; font-weight: 800; direction: ltr; unicode-bidi: plaintext; text-align: start; }
.h-about__stat { position: absolute; z-index: 3; bottom: 0; inset-inline-end: 0; display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-radius: 26px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px); box-shadow: 0 30px 60px -30px rgba(14, 70, 90, 0.5); border: 1px solid var(--sky-100); }
.h-about__stat strong { font-family: var(--font-display); font-size: 3rem; font-weight: 700; letter-spacing: -0.05em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-about__stat span { font-size: 0.86rem; color: var(--mist); max-width: 9ch; line-height: 1.35; font-weight: 600; }
.h-about__caption { position: absolute; z-index: 3; inset-inline-start: -40px; top: 40%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font-family: var(--font-caps); font-size: 0.64rem; letter-spacing: var(--caps-spacing); text-transform: uppercase; color: var(--teal-700); }
.h-about__text .display { margin-block: 20px 28px; }
.h-about__lead { font-size: 1.16rem; line-height: 1.8; color: var(--ink-2); }
.h-about__body { margin-top: 26px; color: var(--ink-2); padding: 26px 28px 26px 64px; border-radius: 24px; background: var(--grad-tint); border: 1px solid var(--sky-100); position: relative; }
[dir="rtl"] .h-about__body { padding: 26px 64px 26px 28px; }
.h-about__body::before { content: "\201C"; position: absolute; top: 10px; inset-inline-start: 18px; font-family: var(--font-display); font-weight: 700; font-size: 4rem; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-about__creds { display: grid; grid-template-columns: 1fr; margin-block: 30px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; }
.h-about__cred { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 18px 22px; transition: background-color 0.4s var(--ease); }
.h-about__cred + .h-about__cred { border-top: 1px solid var(--line); }
.h-about__cred:hover { background: var(--sky-50); }
.h-about__cred i { grid-row: span 2; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--sky-50); color: var(--teal); font-size: 1.05rem; border: 1px solid var(--sky-100); transition: all 0.4s var(--ease); }
.h-about__cred:hover i { background: var(--grad); color: var(--paper); border-color: transparent; box-shadow: var(--shadow-teal); transform: rotate(-8deg); }
.h-about__cred strong { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.h-about__cred span { font-size: 0.86rem; color: var(--mist); line-height: 1.45; }
.h-about__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 991px) {
  .h-about__grid { grid-template-columns: 1fr; }
  .h-about__visual { max-width: 480px; margin-inline: auto; width: 100%; padding: 0 24px 50px 0; }
  [dir="rtl"] .h-about__visual { padding: 0 0 50px 24px; }
  .h-about__caption { display: none; }
}
@media (max-width: 480px) { .h-about__stat { padding: 14px 18px; } .h-about__stat strong { font-size: 2.3rem; } .h-about__call { top: 8%; } .h-about__body { padding: 22px 22px 22px 54px; } [dir="rtl"] .h-about__body { padding: 22px 54px 22px 22px; } }

/* ---- 3. Treatments: image-led bento with glass captions ---- */
.h-treat__head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.h-treat__head .display { margin-top: 18px; }
.h-treat__aside { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.h-treat__aside p { color: var(--mist); font-size: 1.06rem; }
.h-treat__list { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 16px; }
.h-treat__item { position: relative; display: block; padding: 0; border-radius: 30px; overflow: hidden; background: var(--sky-100); box-shadow: var(--shadow-card); isolation: isolate; }
.h-treat__item::before { z-index: 4; }
.h-treat__item:hover { transform: translateY(-8px); box-shadow: var(--glow); }
.h-treat__item:hover::before { opacity: 1; }
.h-treat__img { position: absolute; inset: 0; margin: 0; border-radius: 0; aspect-ratio: auto; z-index: -1; background: var(--sky-100); }
.h-treat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.h-treat__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 117, 132, 0.35), transparent 50%); }
.h-treat__item:hover .h-treat__img img { transform: scale(1.08); }
.h-treat__item > div:not(.h-treat__img) { position: absolute; inset-inline: 10px; bottom: 10px; padding: 16px 18px; border-radius: 22px; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 16px 34px -20px rgba(14, 70, 90, 0.5); transition: background-color 0.4s; }
.h-treat__item h3 { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.h-treat__item p { font-size: 0.86rem; color: var(--mist); line-height: 1.5; display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.5s var(--ease), opacity 0.4s, margin 0.5s var(--ease); }
.h-treat__item:hover p, .h-treat__item:focus-within p { grid-template-rows: 1fr; opacity: 1; margin-top: 6px; }
@supports not (grid-template-rows: 0fr) { .h-treat__item p { opacity: 1; } }
.h-treat__item p { overflow: hidden; }
.h-treat__num { position: absolute; z-index: 3; top: 16px; inset-inline-start: 16px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); font-family: var(--font-caps); font-size: 0.74rem; color: var(--teal-700); font-weight: 600; box-shadow: var(--shadow-xs); }
.h-treat__go { position: absolute; z-index: 3; top: 14px; inset-inline-end: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); color: var(--teal-700); transition: all 0.4s var(--ease); }
.h-treat__go span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.h-treat__item:hover .h-treat__go { background: var(--grad); color: var(--paper); transform: rotate(-45deg); box-shadow: var(--shadow-teal); }
[dir="rtl"] .h-treat__item:hover .h-treat__go { transform: rotate(45deg); }
.h-treat__go::after { content: ""; position: absolute; inset: -400px; z-index: 4; }
.h-treat__item--xl { grid-column: span 2; grid-row: span 2; }
.h-treat__item--xl > div:not(.h-treat__img) { inset-inline: 16px; bottom: 16px; padding: 26px 28px; max-width: 460px; }
.h-treat__item--xl h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.035em; }
.h-treat__item--xl p { grid-template-rows: 1fr; opacity: 1; margin-top: 10px; font-size: 1rem; }
.h-treat__item--xl .h-treat__num { font-size: 0.9rem; padding: 7px 14px; top: 22px; inset-inline-start: 22px; }
.h-treat__item--xl .h-treat__go { width: 58px; height: 58px; top: 20px; inset-inline-end: 20px; background: var(--grad); color: var(--paper); box-shadow: var(--shadow-teal); }
.h-treat__item--wide { grid-column: span 2; }
.h-treat__item--wide p { grid-template-rows: 1fr; opacity: 1; margin-top: 6px; }
@media (hover: none) { .h-treat__item p { grid-template-rows: 1fr; opacity: 1; margin-top: 6px; } }
@media (max-width: 1100px) { .h-treat__list { grid-template-columns: repeat(3, 1fr); } .h-treat__item--wide { grid-column: span 1; } }
@media (max-width: 860px) {
  .h-treat__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .h-treat__list { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 320px); grid-auto-rows: 400px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 6px var(--gutter) 26px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
  .h-treat__list::-webkit-scrollbar { display: none; }
  .h-treat__item, .h-treat__item--xl, .h-treat__item--wide { grid-column: auto; grid-row: auto; scroll-snap-align: start; }
  .h-treat__item--xl > div:not(.h-treat__img) { padding: 18px 20px; inset-inline: 10px; bottom: 10px; }
  .h-treat__item--xl h3 { font-size: 1.3rem; }
  .h-treat__item--xl p { font-size: 0.88rem; }
  html.js .h-treat__item[data-reveal] { opacity: 1; translate: none; filter: none; }
}

/* ---- 4. Why: one luminous glass panel, four columns ---- */
.h-why { isolation: isolate; background: var(--mesh); }
.h-why__sig { position: absolute; inset-inline-end: -6%; top: 2%; width: 700px; opacity: 0.08; pointer-events: none; z-index: -1; }
.h-why__head { text-align: center; margin-bottom: 64px; position: relative; display: flex; flex-direction: column; align-items: center; }
.h-why__head::after { content: ""; width: 70px; height: 4px; border-radius: 4px; background: var(--grad-soft); margin-top: 26px; }
.h-why__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 36px; background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-soft); overflow: hidden; }
.h-why__col { position: relative; padding: 44px 32px 40px; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(63, 208, 220, 0.18), transparent 50%); overflow: hidden; transition: background-color 0.5s var(--ease); }
.h-why__col + .h-why__col { border-inline-start: 1px solid var(--line); }
.h-why__col::before { inset: 0 0 auto 0; height: 4px; padding: 0; border-radius: 0; -webkit-mask: none; mask: none; background: var(--grad); opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
[dir="rtl"] .h-why__col::before { transform-origin: right; }
.h-why__col:hover::before { transform: scaleX(1); }
.h-why__col:hover { background-color: rgba(255, 255, 255, 0.7); }
.h-why__num { position: absolute; bottom: -18px; inset-inline-end: 14px; font-family: var(--font-display); font-size: 7rem; line-height: 1; font-weight: 700; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px var(--sky-200); transition: -webkit-text-stroke-color 0.4s, transform 0.6s var(--ease); pointer-events: none; }
.h-why__col:hover .h-why__num { -webkit-text-stroke-color: var(--teal); transform: translateY(-8px); }
.h-why__icon { position: relative; width: 66px; height: 66px; border-radius: 22px; display: grid; place-items: center; background: var(--grad); color: var(--paper); font-size: 1.35rem; margin-bottom: 30px; box-shadow: var(--shadow-teal); transition: transform 0.5s var(--ease); }
.h-why__icon::after { content: ""; position: absolute; inset: -8px; border-radius: 28px; border: 1px dashed rgba(14, 165, 181, 0.45); }
.h-why__col:hover .h-why__icon { transform: rotate(-8deg) scale(1.06); }
.h-why__col h3 { font-family: var(--font-display); font-size: 1.32rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.h-why__col p { position: relative; color: var(--mist); font-size: 0.95rem; margin-bottom: 8px; }
.h-why__col p strong { display: inline-block; color: var(--teal-700); font-weight: 700; padding: 3px 10px; border-radius: 8px; background: var(--sky-50); font-size: 0.86rem; }
@media (max-width: 991px) { .h-why__grid { grid-template-columns: 1fr 1fr; } .h-why__col:nth-child(3) { border-inline-start: 0; } .h-why__col:nth-child(n + 3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .h-why__grid { grid-template-columns: 1fr; } .h-why__col + .h-why__col { border-inline-start: 0; border-top: 1px solid var(--line); } .h-why__col { padding: 34px 26px; } }

/* ---- 5. Training: arched photo + scroll-filled timeline ---- */
.h-train__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.h-train__aside { position: sticky; top: 120px; }
.h-train__aside .display { margin-bottom: 34px; }
.h-train__photo { position: relative; width: min(390px, 100%); isolation: isolate; }
.h-train__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 210px 210px 34px 34px; border: 10px solid var(--paper); box-shadow: var(--shadow-soft); }
.h-train__photo::before { content: ""; position: absolute; inset: -18px; border-radius: 228px 228px 50px 50px; background: var(--grad-tint); border: 1px dashed rgba(14, 165, 181, 0.45); z-index: -1; }
.h-train__photo::after { content: ""; position: absolute; z-index: -1; top: 30px; inset-inline-end: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--grad-soft); filter: blur(2px); opacity: 0.6; animation: lm-float 7s ease-in-out infinite; }
.h-train__badge { position: absolute; z-index: 3; bottom: 34px; inset-inline-start: -24px; display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); box-shadow: 0 24px 50px -22px rgba(14, 70, 90, 0.5); font-weight: 700; font-size: 0.92rem; animation: lm-float 8s ease-in-out infinite; }
[dir="rtl"] .h-train__badge { padding: 10px 10px 10px 20px; }
.h-train__badge i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--paper); box-shadow: var(--shadow-teal); }
.h-train__line { --fill: 0; position: relative; padding-inline-start: 72px; counter-reset: step; }
.h-train__line::before, .h-train__line::after { content: ""; position: absolute; top: 24px; bottom: 24px; inset-inline-start: 27px; width: 3px; border-radius: 3px; background: var(--sky-100); }
.h-train__line::after { background: linear-gradient(var(--teal), var(--mint)); transform-origin: top; transform: scaleY(var(--fill)); box-shadow: 0 0 14px rgba(63, 208, 220, 0.6); transition: transform 0.2s linear; }
.h-train__step { counter-increment: step; position: relative; padding: 26px 28px 26px 28px; margin-bottom: 16px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; }
.h-train__step::after { content: "0" counter(step); position: absolute; top: 14px; inset-inline-end: 22px; font-family: var(--font-caps); font-size: 0.8rem; color: var(--sky-200); font-weight: 600; transition: color 0.4s; }
.h-train__step:hover { transform: translateX(8px); box-shadow: var(--glow); border-color: var(--sky-200); }
[dir="rtl"] .h-train__step:hover { transform: translateX(-8px); }
.h-train__step.is-lit::after { color: var(--teal); }
.h-train__step:last-child { margin-bottom: 0; }
.h-train__dot { position: absolute; inset-inline-start: -72px; top: 22px; z-index: 2; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--sky-200); color: var(--teal); font-size: 1rem; box-shadow: 0 0 0 6px var(--bg); transition: all 0.5s var(--ease); }
.h-train__step { overflow: visible; }
.h-train__step.is-lit .h-train__dot, .h-train__step:hover .h-train__dot { background: var(--grad); color: var(--paper); border-color: transparent; box-shadow: 0 0 0 6px var(--bg), var(--shadow-teal); }
.h-train__step h3 { font-family: var(--font-display); font-size: 1.24rem; letter-spacing: -0.02em; margin-bottom: 8px; padding-inline-end: 30px; }
.h-train__step p { color: var(--mist); font-size: 0.95rem; }
@media (max-width: 860px) { .h-train__grid { grid-template-columns: 1fr; } .h-train__aside { position: static; } .h-train__badge { inset-inline-start: 0; } .h-train__line { padding-inline-start: 64px; } .h-train__dot { inset-inline-start: -64px; width: 48px; height: 48px; } .h-train__line::before, .h-train__line::after { inset-inline-start: 23px; } .h-train__step { padding: 22px; } }

/* ---- 6. Highlights: bento with numbered tiles ---- */
.h-high__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 52px; flex-wrap: wrap; }
.h-high__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: tile; }
.h-tile { counter-increment: tile; position: relative; padding: 28px; border-radius: 30px; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(63, 208, 220, 0.18), transparent 50%), var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 26px; overflow: hidden; min-height: 220px; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background-color 0.5s; }
.h-tile::after { content: "0" counter(tile); position: absolute; top: 24px; inset-inline-end: 26px; font-family: var(--font-caps); font-size: 0.78rem; font-weight: 600; color: var(--mist-2); }
.h-tile:hover { transform: translateY(-6px); box-shadow: var(--glow); background-color: var(--paper); }
.h-tile:hover::before { opacity: 1; }
.h-tile i { font-size: 1.2rem; color: var(--teal); width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--sky-100); box-shadow: var(--shadow-xs); flex-shrink: 0; transition: all 0.5s var(--ease); }
.h-tile:hover i { background: var(--grad); color: var(--paper); border-color: transparent; box-shadow: var(--shadow-teal); transform: rotate(-8deg); }
.h-tile h3 { font-family: var(--font-display); font-size: 1.16rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; line-height: 1.3; }
.h-tile p { font-size: 0.9rem; color: var(--mist); line-height: 1.55; }
.h-tile--hero { grid-column: span 2; grid-row: span 2; padding: 38px; border: 0; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.35), transparent 50%), radial-gradient(70% 70% at 90% 0%, rgba(111, 223, 194, 0.7), transparent 60%), var(--grad); box-shadow: var(--shadow-teal); }
.h-tile--hero::before { opacity: 0; }
.h-tile--hero i { background: rgba(255, 255, 255, 0.2); color: var(--paper); width: 84px; height: 84px; font-size: 2rem; border-radius: 26px; border: 1px solid rgba(255, 255, 255, 0.4); backdrop-filter: blur(8px); }
.h-tile--hero:hover i { background: var(--paper); color: var(--teal); }
.h-tile--hero h3 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -0.045em; line-height: 1.02; color: var(--paper); }
[dir="rtl"] .h-tile--hero h3 { line-height: 1.35; letter-spacing: 0; }
.h-tile--hero p { color: rgba(255, 255, 255, 0.88); font-size: 1.06rem; }
.h-tile--hero::after { content: "ESCD"; top: auto; bottom: -0.16em; right: -0.04em; font-family: var(--font-display); font-size: clamp(6rem, 13vw, 11rem); font-weight: 700; letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35); line-height: 1; pointer-events: none; direction: ltr; }
[dir="rtl"] .h-tile--hero::after { right: auto; left: -0.04em; }
.h-tile--hero > div { position: relative; z-index: 1; max-width: 26ch; }
.h-tile--ink { background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.7), transparent 50%), linear-gradient(160deg, var(--sky-100), #e3f7ef); border-color: transparent; }
.h-tile--wide { grid-column: span 2; flex-direction: row; align-items: center; justify-content: flex-start; }
.h-tile--full { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.7), transparent 50%), linear-gradient(90deg, var(--sky-50), #e8f8f1); border-color: var(--sky-100); }
@media (max-width: 991px) { .h-high__grid { grid-template-columns: 1fr 1fr; } .h-tile--full { grid-column: 1 / -1; } }
@media (max-width: 560px) { .h-high__grid { grid-template-columns: 1fr; } .h-tile--hero, .h-tile--wide, .h-tile--full { grid-column: auto; grid-row: auto; } .h-tile--wide, .h-tile--full { flex-direction: column; align-items: flex-start; } .h-tile--hero { min-height: 340px; padding: 30px; } }

/* ---- 7. Hours: live status + board ---- */
.h-hours { background: var(--mesh); }
.h-hours__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.h-hours__intro h2 { margin-block: 18px 20px; }
.h-hours__intro p { color: var(--mist); font-size: 1.06rem; }
.h-live { margin-top: 30px; display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 22px; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(14px); border: 1px solid var(--sky-100); box-shadow: var(--shadow-card); width: fit-content; min-width: 280px; }
.h-live[hidden] { display: none; }
.h-live__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--open); box-shadow: 0 0 0 6px rgba(34, 197, 139, 0.15); animation: lm-pulse 2.4s infinite; flex-shrink: 0; }
.h-live.is-closed .h-live__dot { background: var(--mist-2); box-shadow: 0 0 0 6px rgba(131, 150, 163, 0.15); animation: none; }
.h-live strong { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); line-height: 1.2; }
.h-live span { display: block; font-family: var(--font-caps); font-size: 0.8rem; color: var(--mist); direction: ltr; unicode-bidi: plaintext; text-align: start; }
.h-live > i { margin-inline-start: auto; color: var(--teal); font-size: 1.3rem; }
.h-board { position: relative; border-radius: var(--radius-l); background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(16px); overflow: hidden; box-shadow: var(--shadow-soft); }
.h-board::before { opacity: 1; }
.h-board__row { position: relative; display: grid; grid-template-columns: 1fr; gap: 20px; padding: 34px 36px; transition: background-color 0.4s; }
.h-board__row .btn { justify-self: start; min-height: 48px; }
.h-board__info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.h-board__row + .h-board__row { border-top: 1px dashed var(--line-2); }
.h-board__row--closed { background: rgba(246, 249, 251, 0.75); }
.h-board__row.is-today { background: linear-gradient(90deg, rgba(217, 243, 246, 0.7), rgba(255, 255, 255, 0)); }
.h-board__row.is-today::after { content: ""; position: absolute; inset-block: 24px; inset-inline-start: 0; width: 4px; border-radius: 0 4px 4px 0; background: var(--grad); }
[dir="rtl"] .h-board__row.is-today { background: linear-gradient(-90deg, rgba(217, 243, 246, 0.7), rgba(255, 255, 255, 0)); }
.h-board__day { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.h-board__today { padding: 4px 12px; border-radius: 999px; background: var(--grad); color: var(--paper); font-family: var(--font-caps); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
[dir="rtl"] .h-board__today { font-size: 0.8rem; letter-spacing: 0; }
.h-board__status { width: 12px; height: 12px; border-radius: 50%; background: var(--open); box-shadow: 0 0 0 6px rgba(34, 197, 139, 0.15); flex-shrink: 0; animation: lm-pulse 2.4s infinite; }
.h-board__row--closed .h-board__status { background: var(--mist-2); box-shadow: 0 0 0 6px rgba(131, 150, 163, 0.15); animation: none; }
@keyframes lm-pulse { 50% { box-shadow: 0 0 0 12px rgba(34, 197, 139, 0.05); } }
.h-board__day h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 600; letter-spacing: -0.03em; }
.h-board__info p { font-size: 0.9rem; color: var(--mist); line-height: 1.6; }
.h-board__info i { color: var(--teal); }
.h-board__info strong { color: var(--ink); font-weight: 700; margin-inline-end: 4px; }
.h-board__info .time { display: block; margin-top: 6px; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: 1.24rem; color: var(--teal-700); direction: ltr; unicode-bidi: plaintext; text-align: start; white-space: nowrap; }
@media (max-width: 991px) { .h-hours__grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .h-board__row { padding: 26px; } .h-board__info { grid-template-columns: 1fr; } .h-board__info .time { white-space: normal; } .h-live { width: 100%; min-width: 0; } }

/* ---- 8. Before / After ---- */
.h-ba__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.h-ba__text .display { margin-block: 18px 22px; }
.h-ba__text > p { color: var(--mist); font-size: 1.08rem; }
.h-ba__note { margin-top: 30px; display: flex; gap: 14px; padding: 18px 20px; border-radius: 18px; background: var(--paper); border: 1px solid var(--sky-100); box-shadow: var(--shadow-card); color: var(--ink-2); font-size: 0.88rem; line-height: 1.6; }
.h-ba__note i { color: var(--teal); margin-top: 4px; }
.h-ba__figure { margin: 0; position: relative; isolation: isolate; }
.h-ba__figure::before { content: ""; position: absolute; inset: -18px; border-radius: calc(var(--radius-l) + 18px); background: var(--grad-tint); border: 1px dashed rgba(14, 165, 181, 0.45); z-index: -1; }
.h-ba__figure::after { content: ""; position: absolute; z-index: -2; width: 70%; aspect-ratio: 1; inset-inline-end: -14%; top: -12%; border-radius: 50%; background: radial-gradient(circle, rgba(63, 208, 220, 0.35), transparent 65%); filter: blur(20px); }
.before-after-slider { position: relative; overflow: hidden; border-radius: var(--radius-l); aspect-ratio: 800 / 912; max-height: 660px; width: 100%; direction: ltr; box-shadow: var(--shadow-soft); user-select: none; touch-action: pan-y; border: 8px solid var(--paper); }
.before-after-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.before-after-reveal { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--reveal, 50%)) 0 0); }
.before-after-label { position: absolute; top: 18px; z-index: 3; padding: 8px 16px; border-radius: 999px; font-family: var(--font-caps); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; backdrop-filter: blur(10px); }
.before-label { left: 18px; background: rgba(255, 255, 255, 0.92); color: var(--ink); }
.after-label { right: 18px; background: var(--grad); color: var(--paper); }
.before-after-range { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.before-after-handle { position: absolute; z-index: 4; top: 0; bottom: 0; left: var(--reveal, 50%); width: 3px; margin-left: -1.5px; background: var(--paper); box-shadow: 0 0 14px rgba(14, 36, 51, 0.25); pointer-events: none; }
.before-after-handle i { position: absolute; top: 50%; left: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--paper); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.45), 0 12px 30px rgba(14, 36, 51, 0.25); }
@media (max-width: 991px) { .h-ba__grid { grid-template-columns: 1fr; } }

/* ---- 9. Reviews: featured quote + score card + moving wall ---- */
.h-reviews { background: var(--mesh); }
.h-reviews__head { text-align: center; margin-bottom: 60px; display: flex; flex-direction: column; align-items: center; }
.h-reviews__top { display: grid; grid-template-columns: 1.6fr 0.9fr; gap: 16px; margin-bottom: 16px; }
.h-review { position: relative; padding: 34px 30px 30px; border-radius: 28px; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(63, 208, 220, 0.14), transparent 50%), rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); box-shadow: var(--shadow-card); }
.h-review::before { content: "\201C"; position: absolute; top: 4px; inset-inline-end: 26px; font-family: var(--font-display); font-weight: 700; font-size: 5.5rem; line-height: 1; background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.55; }
.h-review__stars { color: var(--star); font-size: 0.82rem; display: flex; gap: 3px; margin-bottom: 16px; }
.h-review__quote { font-size: 1rem; line-height: 1.75; font-weight: 500; color: var(--ink-2); }
[dir="rtl"] .h-review__quote { font-size: 1.04rem; line-height: 1.95; }
.h-review__who { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.h-review__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-50); color: var(--teal); flex-shrink: 0; border: 1px solid var(--sky-100); }
.h-review__name { font-family: var(--font-display); font-weight: 600; display: block; line-height: 1.2; color: var(--ink); }
.h-review__role { font-size: 0.78rem; color: var(--mist); }
.h-review--feature { padding: 54px 52px 44px; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.6), transparent 50%), radial-gradient(80% 70% at 100% 0%, rgba(63, 208, 220, 0.4), transparent 60%), var(--grad-tint); display: flex; flex-direction: column; justify-content: space-between; }
.h-review--feature::after { opacity: 1; }
.h-review--feature::before { font-size: 10rem; top: -14px; opacity: 1; }
.h-review--feature .h-review__stars { font-size: 1rem; }
.h-review--feature .h-review__quote { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.45; letter-spacing: -0.02em; color: var(--ink); max-width: 36ch; }
[dir="rtl"] .h-review--feature .h-review__quote { font-size: 1.3rem; letter-spacing: 0; line-height: 1.9; }
.h-review--feature .h-review__avatar { background: var(--grad); color: var(--paper); border: 0; width: 54px; height: 54px; }
.h-score { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 34px; border-radius: 28px; background: var(--paper); box-shadow: var(--shadow-card); border: 1px solid var(--sky-100); overflow: hidden; }
.h-score__g { position: absolute; top: 26px; inset-inline-end: 26px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-50); color: var(--teal); font-size: 1.2rem; }
.h-score__num { font-family: var(--font-display); font-size: 5rem; font-weight: 700; letter-spacing: -0.06em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-score__stars { color: var(--star); display: flex; gap: 4px; font-size: 1.1rem; }
.h-score__label { font-size: 0.86rem; color: var(--mist); font-weight: 600; }
.h-score__bars { width: 100%; display: grid; gap: 8px; margin-block: 8px 14px; }
.h-score__bars span { position: relative; height: 7px; border-radius: 7px; background: var(--sky-50); overflow: hidden; }
.h-score__bars span::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w); border-radius: inherit; background: var(--grad-soft); }
.h-score .btn { margin-top: auto; }
.h-reviews__marquee { position: relative; overflow: hidden; padding-block: 10px 20px; margin-inline: calc(-1 * var(--gutter)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); direction: ltr; }
.h-reviews__track { display: flex; gap: 16px; width: max-content; animation: lm-marquee 50s linear infinite; padding-inline: 8px; }
.h-reviews__marquee:hover .h-reviews__track { animation-play-state: paused; }
.h-reviews__track .h-review { width: 400px; flex-shrink: 0; }
[dir="rtl"] .h-reviews__track .h-review { direction: rtl; }
.h-reviews__track .h-review:hover { transform: translateY(-6px); box-shadow: var(--glow); }
@media (max-width: 991px) { .h-reviews__top { grid-template-columns: 1fr; } .h-review--feature { padding: 44px 32px 34px; } }
@media (max-width: 600px) { .h-reviews__track .h-review { width: 300px; padding: 28px 24px; } .h-review--feature::before { font-size: 7rem; } .h-score__num { font-size: 4rem; } }

/* Shared tilt target */
[data-tilt] { will-change: transform; }

/* =====================================================================
   ABOUT PAGE
   ===================================================================== */
.a-intro__top { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; padding-bottom: 40px; border-bottom: 1px solid var(--line); margin-bottom: 50px; position: relative; }
.a-intro__top::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -2px; width: 140px; height: 3px; border-radius: 3px; background: var(--grad-soft); }
.a-intro__top .display { margin-top: 16px; font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
.a-intro__tag { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: var(--grad); color: var(--paper); font-weight: 700; box-shadow: var(--shadow-teal); }
.a-intro__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.a-intro__media { position: relative; isolation: isolate; position: sticky; top: 110px; }
.a-intro__media::before { content: ""; position: absolute; z-index: -1; inset: -14px -14px 40px; border-radius: 230px 230px 44px 44px; background: var(--grad-tint); border: 1px dashed rgba(14, 165, 181, 0.4); }
.a-intro__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 220px 220px 32px 32px; border: 8px solid var(--paper); box-shadow: var(--shadow-soft); }
.a-intro__stats { display: grid; gap: 12px; margin-top: -70px; position: relative; padding-inline: 20px; }
.a-stat { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 22px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); box-shadow: var(--shadow-card); border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.a-stat:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.a-stat--sky { background: var(--grad); color: var(--paper); border: 0; box-shadow: var(--shadow-teal); }
.a-stat--sky h3 { color: var(--paper); }
.a-stat__icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--sky-50); color: var(--teal); flex-shrink: 0; }
.a-stat--sky .a-stat__icon { background: rgba(255, 255, 255, 0.22); color: var(--paper); }
.a-stat h3 { font-family: var(--font-display); font-size: 1.16rem; font-weight: 700; letter-spacing: -0.02em; direction: ltr; unicode-bidi: plaintext; text-align: start; }
.a-stat span { font-size: 0.84rem; opacity: 0.85; }
.a-intro__subtitle { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 22px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-intro__text p { color: var(--mist); margin-bottom: 18px; }
.a-intro__text p.a-dropcap { color: var(--ink-2); font-size: 1.1rem; }
.a-intro__text p.a-dropcap::first-letter { float: inline-start; font-family: var(--font-display); font-size: 4.2rem; line-height: 0.85; padding-inline-end: 14px; padding-top: 6px; font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-intro__text p.a-quote { position: relative; font-family: var(--font-display); font-size: 1.34rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.45; padding: 28px 30px 28px 34px; border-radius: 24px; background: var(--grad-tint); color: var(--ink); margin-block: 28px; border: 1px solid var(--sky-100); }
.a-intro__text p.a-quote::before { content: ""; position: absolute; inset-block: 22px; inset-inline-start: 0; width: 4px; border-radius: 4px; background: var(--grad-soft); }
[dir="rtl"] .a-intro__text p.a-quote { font-size: 1.2rem; line-height: 1.9; letter-spacing: 0; padding: 28px 34px 28px 30px; }
.a-chip-title { margin-bottom: 14px; }
.a-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.a-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 0.88rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-xs); transition: all 0.3s; }
.a-chips span i { color: var(--teal); font-size: 0.78rem; }
.a-chips span:hover { border-color: var(--teal); color: var(--teal-700); box-shadow: 0 0 0 4px rgba(14, 165, 181, 0.1); transform: translateY(-2px); }
@media (max-width: 900px) { .a-intro__grid, .a-intro__top { grid-template-columns: 1fr; } .a-intro__media { max-width: 440px; position: relative; top: 0; } }

.a-approach { isolation: isolate; }
.a-approach__head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: 56px; }
.a-approach__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.a-pillar { position: relative; min-height: 340px; padding: 30px 26px; border-radius: 28px; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(63, 208, 220, 0.18), transparent 50%), rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); box-shadow: var(--shadow-card); display: flex; flex-direction: column; overflow: hidden; }
.a-pillar::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--grad-soft); transform: scaleX(0.25); transform-origin: left; transition: transform 0.7s var(--ease); }
[dir="rtl"] .a-pillar::before { transform-origin: right; }
.a-pillar:hover { transform: translateY(-8px); box-shadow: var(--glow); }
.a-pillar:hover::before { transform: scaleX(1); }
.a-pillar:hover::after { opacity: 1; }
.a-pillar i { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.3rem; color: var(--paper); background: var(--grad); box-shadow: var(--shadow-teal); }
.a-pillar h3 { font-family: var(--font-display); font-size: 1.36rem; letter-spacing: -0.02em; margin-block: auto 14px; padding-top: 56px; }
.a-pillar p { color: var(--mist); font-size: 0.92rem; margin-bottom: 6px; }
.a-pillar p strong { color: var(--teal-700); font-weight: 700; }
@media (max-width: 991px) { .a-approach__grid { grid-template-columns: 1fr 1fr; } .a-approach__head { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .a-approach__grid { grid-template-columns: 1fr; } .a-pillar { min-height: 0; } }

.a-creds__head { text-align: center; margin-bottom: 56px; display: flex; flex-direction: column; align-items: center; }
.a-creds__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.a-cert { position: relative; padding: 34px 22px 28px; text-align: center; border-radius: 28px; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(63, 208, 220, 0.16), transparent 50%), var(--paper); box-shadow: var(--shadow-card); }
.a-cert:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.a-cert:hover::before { opacity: 1; }
.a-cert__seal { width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; color: var(--teal); background: var(--sky-50); box-shadow: 0 0 0 8px rgba(63, 208, 220, 0.1); font-size: 1.3rem; transition: all 0.45s var(--ease); }
.a-cert:hover .a-cert__seal { background: var(--grad); color: var(--paper); box-shadow: 0 0 0 8px rgba(63, 208, 220, 0.18), var(--shadow-teal); }
.a-cert h3 { font-family: var(--font-display); font-size: 1.08rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.a-cert p { font-size: 0.86rem; color: var(--mist); line-height: 1.55; }
@media (max-width: 1100px) { .a-creds__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .a-creds__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .a-creds__grid { grid-template-columns: 1fr; } }

.a-treat__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.a-treat__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.a-tcard { position: relative; padding: 34px 30px; border-radius: 28px; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(63, 208, 220, 0.16), transparent 50%), var(--paper); box-shadow: var(--shadow-card); overflow: hidden; }
.a-tcard__glyph { position: absolute; inset-inline-end: -10px; bottom: -18px; font-size: 6.5rem; color: rgba(14, 165, 181, 0.07); transition: color 0.5s, transform 0.7s var(--ease); }
.a-tcard:hover { background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.6), transparent 50%), var(--grad-tint); transform: translateY(-6px); box-shadow: var(--glow); }
.a-tcard:hover::before { opacity: 1; }
.a-tcard:hover .a-tcard__glyph { color: rgba(14, 165, 181, 0.2); transform: rotate(-12deg) scale(1.1); }
.a-tcard__num { font-family: var(--font-caps); color: var(--teal-700); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 28px; display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--sky-50); border: 1px solid var(--sky-100); }
.a-tcard h3 { position: relative; font-family: var(--font-display); font-size: 1.26rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.a-tcard p { position: relative; color: var(--mist); font-size: 0.92rem; max-width: 32ch; }
@media (max-width: 900px) { .a-treat__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .a-treat__grid { grid-template-columns: 1fr; } }

.a-journey__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.a-journey__head { margin-bottom: 40px; }
.a-journey__lead { color: var(--teal-700); margin-bottom: 22px; }
.a-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; counter-reset: step; }
.a-step { position: relative; padding: 28px 26px; border-radius: 24px; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(63, 208, 220, 0.16), transparent 50%), var(--bg); box-shadow: var(--shadow-xs); border: 1px solid var(--line); }
.a-step:nth-child(4n + 2), .a-step:nth-child(4n + 3) { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.6), transparent 50%), var(--grad-tint); }
.a-step:hover { transform: translateY(-5px); box-shadow: var(--glow); }
.a-step:hover::before { opacity: 1; }
.a-step__tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: var(--paper); font-family: var(--font-caps); font-size: 0.7rem; letter-spacing: 0.1em; margin-bottom: 16px; font-weight: 600; }
[dir="rtl"] .a-step__tag { font-size: 0.82rem; letter-spacing: 0; }
.a-step h3 { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.a-step p { font-size: 0.9rem; color: var(--mist); line-height: 1.65; }
.a-id { position: sticky; top: 110px; border-radius: var(--radius-l); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-soft); }
.a-id::before { opacity: 1; }
.a-id__top { position: relative; padding: 34px 30px 28px; background: radial-gradient(80% 100% at 100% 0%, rgba(63, 208, 220, 0.45), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(111, 223, 194, 0.35), transparent 60%), var(--ice); overflow: hidden; border-bottom: 1px solid var(--line); }
.a-id__top img { position: absolute; inset-inline-end: -30px; top: -10px; width: 260px; opacity: 0.14; filter: var(--tint-teal); }
.a-id__top h3 { position: relative; font-family: var(--font-display); font-size: 1.7rem; letter-spacing: -0.03em; }
.a-id__top p { position: relative; font-size: 0.9rem; color: var(--ink-2); margin-top: 6px; }
.a-id__rows { padding: 12px 30px 26px; }
.a-id__row { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.a-id__row:last-child { border-bottom: 0; }
.a-id__row i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--sky-50); color: var(--teal); font-size: 0.85rem; }
.a-id__row p:first-child { font-family: var(--font-caps); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); }
[dir="rtl"] .a-id__row p:first-child { font-size: 0.84rem; letter-spacing: 0; }
.a-id__row p:last-child { font-size: 0.96rem; line-height: 1.5; color: var(--ink); font-weight: 600; }
@media (max-width: 991px) { .a-journey__grid { grid-template-columns: 1fr; } .a-id { position: static; } }
@media (max-width: 560px) { .a-steps { grid-template-columns: 1fr; } }

/* =====================================================================
   SERVICE PAGE
   ===================================================================== */
.s-intro { text-align: center; max-width: 820px; margin: 0 auto 70px; display: flex; flex-direction: column; align-items: center; }
.s-intro .display { margin-block: 18px 22px; }
.s-intro .display span { display: block; }
.s-intro p { color: var(--mist); font-size: 1.08rem; }
/* Service cards — "Square Atelier" tiles: full-bleed square photo, crop-mark frame,
   giant outline index, content rises on hover/focus, Read More turns the tile into a reading panel. */
.s-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; counter-reset: none; }
.s-card { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 0; overflow: hidden; isolation: isolate; background: var(--ink); box-shadow: 0 30px 60px -40px rgba(14, 36, 51, 0.6); transition: box-shadow 0.6s var(--ease), translate 0.6s var(--ease); }
.s-card:hover, .s-card:focus-within { translate: 0 -6px; box-shadow: 0 44px 80px -40px rgba(8, 117, 132, 0.75); transform: none; }
/* crop-mark corners instead of the shared hairline */
.s-card::before { inset: 16px; padding: 0; border-radius: 0; opacity: 0.85; z-index: 3; -webkit-mask: none; mask: none;
  background:
    linear-gradient(var(--aqua), var(--aqua)) top left / 22px 2px no-repeat, linear-gradient(var(--aqua), var(--aqua)) top left / 2px 22px no-repeat,
    linear-gradient(var(--aqua), var(--aqua)) top right / 22px 2px no-repeat, linear-gradient(var(--aqua), var(--aqua)) top right / 2px 22px no-repeat,
    linear-gradient(var(--aqua), var(--aqua)) bottom left / 22px 2px no-repeat, linear-gradient(var(--aqua), var(--aqua)) bottom left / 2px 22px no-repeat,
    linear-gradient(var(--aqua), var(--aqua)) bottom right / 22px 2px no-repeat, linear-gradient(var(--aqua), var(--aqua)) bottom right / 2px 22px no-repeat;
  transition: inset 0.6s var(--ease), opacity 0.5s; }
.s-card:hover::before, .s-card:focus-within::before { inset: 10px; opacity: 1; }
.s-card__media { position: absolute; inset: 0; margin: 0; border-radius: 0; aspect-ratio: auto; overflow: hidden; z-index: 0; }
.s-card__media div { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.02); filter: saturate(0.85); transition: transform 1.2s var(--ease), filter 0.8s var(--ease); }
.s-card__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; transition: opacity 0.6s var(--ease);
  background: linear-gradient(180deg, rgba(14, 36, 51, 0.05) 0%, rgba(14, 36, 51, 0.15) 40%, rgba(14, 36, 51, 0.88) 100%); }
.s-card__media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.6s var(--ease);
  background: linear-gradient(180deg, rgba(8, 117, 132, 0.35) 0%, rgba(14, 36, 51, 0.94) 72%); }
.s-card:hover .s-card__media div, .s-card:focus-within .s-card__media div { transform: scale(1.1); filter: saturate(1.05); }
.s-card:hover .s-card__media::before, .s-card:focus-within .s-card__media::before { opacity: 1; }
.s-card__num { position: absolute; z-index: 2; top: 26px; inset-inline-end: 30px; inset-inline-start: auto; min-width: 0; height: auto; padding: 0; border-radius: 0; display: block; background: none; backdrop-filter: none; box-shadow: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.75); transition: color 0.6s var(--ease), -webkit-text-stroke-color 0.6s; }
.s-card:hover .s-card__num, .s-card:focus-within .s-card__num { color: var(--aqua); -webkit-text-stroke-color: var(--aqua); }
.s-card__body { position: absolute; z-index: 4; inset-inline: 0; bottom: 0; top: auto; padding: 30px 32px 30px; display: flex; flex-direction: column; gap: 12px; color: var(--paper); max-height: 100%; overflow: hidden; transition: background 0.5s var(--ease); }
.s-card__body h3 { font-family: var(--font-display); font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.15; letter-spacing: -0.025em; color: var(--paper); }
.s-card__rule { width: 36px; height: 2px; border-radius: 0; background: var(--aqua); transition: width 0.7s var(--ease); }
.s-card:hover .s-card__rule, .s-card:focus-within .s-card__rule { width: 96px; }
.s-card__body > p, .s-card .s-more { max-height: 0; opacity: 0; translate: 0 14px; transition: max-height 0.7s var(--ease), opacity 0.5s var(--ease), translate 0.6s var(--ease); }
.s-card__body > p { color: rgba(255, 255, 255, 0.82); font-size: 0.93rem; line-height: 1.65; }
.s-card:hover .s-card__body > p, .s-card:focus-within .s-card__body > p, .s-card:hover .s-more, .s-card:focus-within .s-more { max-height: 14em; opacity: 1; translate: none; }
.s-more { margin-top: 4px; border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 14px; }
.s-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-caps); font-weight: 600; font-size: 0.74rem; letter-spacing: var(--caps-spacing); text-transform: uppercase; color: var(--paper); }
.s-more summary::-webkit-details-marker { display: none; }
.s-more summary::after { content: "+"; width: 34px; height: 34px; border-radius: 0; display: grid; place-items: center; background: var(--aqua); color: var(--ink); border: 0; font-family: var(--font-body); font-size: 1.2rem; font-weight: 600; transition: transform 0.45s var(--ease), background 0.4s; }
.s-more summary:hover::after { background: var(--mint); }
.s-more summary:focus-visible { outline: 2px solid var(--aqua); outline-offset: 4px; }
.s-more[open] summary::after { content: "\00d7"; background: var(--paper); }
.s-more p { margin-top: 14px; font-size: 0.9rem; line-height: 1.75; color: rgba(255, 255, 255, 0.88); animation: lm-fade 0.5s var(--ease); }
/* Read More open: the whole square becomes a reading panel */
.s-card:has(.s-more[open]) .s-card__body { top: 0; justify-content: flex-end; overflow-y: auto; background: rgba(14, 36, 51, 0.9); backdrop-filter: blur(6px); scrollbar-width: thin; }
.s-card:has(.s-more[open]) .s-card__body > p, .s-card:has(.s-more[open]) .s-more { max-height: none; opacity: 1; translate: none; }
.s-card:has(.s-more[open]) .s-card__body { justify-content: flex-start; padding-top: 34px; }
.s-card:has(.s-more[open]) .s-card__num { opacity: 0; }
@keyframes lm-fade { from { opacity: 0; transform: translateY(-6px); } }
/* Touch screens have no hover: keep the summary visible */
@media (hover: none), (max-width: 640px) {
  .s-card__body > p, .s-card .s-more { max-height: none; opacity: 1; translate: none; }
  .s-card__body > p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .s-card:has(.s-more[open]) .s-card__body > p { display: block; }
  .s-card__media::after { background: linear-gradient(180deg, rgba(14, 36, 51, 0.05) 20%, rgba(14, 36, 51, 0.92) 100%); }
}
@media (max-width: 1100px) { .s-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .s-grid { grid-template-columns: 1fr; gap: 16px; } .s-card__body { padding: 26px 26px; } }
@media (prefers-reduced-motion: reduce) { .s-card, .s-card * , .s-card::before { transition: none !important; } }

.s-cta { padding-bottom: clamp(80px, 10vw, 132px); background: var(--bg); }
.s-cta__box { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; padding: clamp(40px, 6vw, 80px); border-radius: var(--radius-l); background: radial-gradient(60% 90% at 100% 0%, rgba(111, 223, 194, 0.6), transparent 60%), var(--grad); color: var(--paper); box-shadow: 0 50px 100px -50px rgba(14, 165, 181, 0.8); }
.s-cta__box::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(70% 90% at 80% 20%, #000, transparent 80%); mask-image: radial-gradient(70% 90% at 80% 20%, #000, transparent 80%); }
.s-cta__box img { position: absolute; inset-inline-end: -60px; bottom: -40px; width: 620px; opacity: 0.16; z-index: -1; }
.s-cta__box h3 { font-family: var(--font-display); font-size: clamp(2rem, 3.8vw, 3.1rem); letter-spacing: -0.04em; line-height: 1.08; color: var(--paper); }
[dir="rtl"] .s-cta__box h3 { line-height: 1.4; letter-spacing: 0; }
.s-cta__box p { color: rgba(255, 255, 255, 0.9); margin-top: 18px; }
.s-cta__action { justify-self: end; }
@media (max-width: 860px) { .s-cta__box { grid-template-columns: 1fr; } .s-cta__action { justify-self: start; } }

/* =====================================================================
   APPOINTMENT PAGE
   ===================================================================== */
.p-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 60px; }
.p-intro p { color: var(--mist); font-size: 1.06rem; }
.p-options { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.p-ticket { position: relative; border-radius: var(--radius-l); background: radial-gradient(420px circle at var(--mx) var(--my), rgba(63, 208, 220, 0.14), transparent 50%), var(--paper); box-shadow: var(--shadow-card); display: flex; flex-direction: column; overflow: hidden; }
.p-ticket:hover { box-shadow: var(--glow); transform: translateY(-4px); }
.p-ticket__head { position: relative; padding: 36px 36px 30px; border-bottom: 2px dashed var(--line-2); }
.p-ticket__head::before, .p-ticket__head::after { content: ""; position: absolute; bottom: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); }
.p-ticket__head::before { left: -12px; }
.p-ticket__head::after { right: -12px; }
.p-ticket__num { position: absolute; inset-inline-end: 30px; top: 16px; font-family: var(--font-display); font-size: 6rem; font-weight: 700; letter-spacing: -0.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--sky-200); }
.p-ticket__badge { position: relative; display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--sky-50); color: var(--teal-700); border: 1px solid var(--sky-100); font-family: var(--font-caps); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
[dir="rtl"] .p-ticket__badge { font-size: 0.84rem; letter-spacing: 0; }
.p-ticket h2 { position: relative; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.15rem); letter-spacing: -0.03em; display: flex; align-items: center; gap: 14px; }
[dir="rtl"] .p-ticket h2 { letter-spacing: 0; }
.p-ticket h2 i { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--sky-50); color: var(--teal); font-size: 1.1rem; flex-shrink: 0; }
.p-ticket__head p { position: relative; color: var(--mist); margin-top: 10px; }
.p-ticket__feats { padding: 30px 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; flex: 1; }
.p-feat { display: flex; gap: 14px; }
.p-feat i { color: var(--teal); margin-top: 6px; }
.p-feat h4 { font-family: var(--font-display); font-size: 0.98rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.p-feat p { font-size: 0.86rem; color: var(--mist); line-height: 1.55; }
.p-ticket__actions { padding: 0 36px 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.p-ticket__actions .btn { flex: 1; min-width: 200px; }
.p-ticket__actions .ltr { direction: ltr; unicode-bidi: plaintext; }
.p-ticket--rec { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.6), transparent 50%), radial-gradient(80% 60% at 100% 0%, rgba(63, 208, 220, 0.35), transparent 60%), var(--grad-tint); box-shadow: 0 40px 90px -40px rgba(14, 165, 181, 0.6); }
.p-ticket--rec::after { opacity: 1; }
.p-ticket--rec .p-ticket__head::before, .p-ticket--rec .p-ticket__head::after { background: var(--bg); }
.p-ticket--rec .p-ticket__badge { background: var(--grad); color: var(--paper); border-color: transparent; }
.p-ticket--rec h2 i { background: var(--grad); color: var(--paper); box-shadow: var(--shadow-teal); }
.p-ticket--rec .p-feat i.fa-whatsapp { color: #1fb760; }
.p-benefits { position: relative; margin-top: clamp(60px, 8vw, 100px); border-radius: var(--radius-l); background: var(--paper); box-shadow: var(--shadow-card); padding: clamp(30px, 5vw, 56px); }
.p-benefits h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.15rem); letter-spacing: -0.03em; display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
[dir="rtl"] .p-benefits h3 { letter-spacing: 0; }
.p-benefits h3 i { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--grad); color: var(--paper); font-size: 1rem; box-shadow: var(--shadow-teal); }
.p-benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.p-benefit { padding: 22px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s, background 0.4s; }
.p-benefit:hover { transform: translateY(-4px); background: var(--paper); box-shadow: var(--glow); }
.p-benefit h4 { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }
.p-benefit h4 i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-50); color: var(--teal); border: 1px solid var(--sky-100); }
.p-benefit p { font-size: 0.88rem; color: var(--mist); }
@media (max-width: 991px) { .p-intro, .p-options { grid-template-columns: 1fr; } .p-benefits__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .p-ticket__feats { grid-template-columns: 1fr; padding-inline: 26px; } .p-ticket__head, .p-ticket__actions { padding-inline: 26px; } .p-benefits__grid { grid-template-columns: 1fr; } .p-ticket__num { font-size: 4.4rem; } }

/* =====================================================================
   CONTACT PAGE
   ===================================================================== */
.c-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.c-form { position: relative; overflow: hidden; isolation: isolate; padding: clamp(30px, 5vw, 56px); border-radius: var(--radius-l); background: radial-gradient(500px circle at var(--mx) var(--my), rgba(63, 208, 220, 0.14), transparent 50%), radial-gradient(70% 50% at 100% 0%, rgba(63, 208, 220, 0.25), transparent 60%), var(--paper); box-shadow: var(--shadow-soft); }
.c-form::before { opacity: 1; }
.c-form__sig { position: absolute; inset-inline-end: -40px; top: -10px; width: 380px; opacity: 0.08; z-index: -1; filter: var(--tint-teal); }
.c-form h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -0.04em; margin-bottom: 10px; }
[dir="rtl"] .c-form h2 { letter-spacing: 0; }
.c-form > p { color: var(--mist); margin-bottom: 32px; }
.c-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.c-field { display: flex; flex-direction: column; gap: 8px; }
.c-field--full { grid-column: 1 / -1; }
.c-field label { font-size: 0.86rem; font-weight: 700; color: var(--ink-2); }
.c-field label span { color: var(--teal); }
.c-field input, .c-field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 15px 18px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  color-scheme: light;
}
.c-field textarea { min-height: 140px; resize: vertical; }
.c-field input::placeholder, .c-field textarea::placeholder { color: var(--mist-2); }
.c-field input:hover, .c-field textarea:hover { border-color: var(--sky-200); }
.c-field input:focus, .c-field textarea:focus { outline: none; border-color: var(--teal); background: var(--paper); box-shadow: 0 0 0 4px rgba(14, 165, 181, 0.14); }
.c-submit { grid-column: 1 / -1; margin-top: 6px; width: 100%; min-height: 58px; font-size: 1.02rem; }
.c-tip { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px; margin-bottom: 12px; border-radius: 24px; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(63, 208, 220, 0.14), transparent 50%), var(--paper); box-shadow: var(--shadow-card); }
.c-tip:hover { transform: translateY(-4px); box-shadow: var(--glow); }
.c-tip:hover::before { opacity: 1; }
.c-tip__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--sky-50); color: var(--teal); font-size: 1.1rem; position: relative; border: 1px solid var(--sky-100); }
.c-tip__icon b { position: absolute; top: -7px; inset-inline-end: -7px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: var(--paper); font-family: var(--font-caps); font-size: 0.7rem; display: grid; place-items: center; font-weight: 600; box-shadow: 0 0 0 3px var(--paper); }
.c-tip h3 { font-family: var(--font-display); font-size: 1.14rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.c-tip p { color: var(--mist); font-size: 0.92rem; }
@media (max-width: 991px) { .c-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .c-fields { grid-template-columns: 1fr; } }

.appo11 {
  position: fixed;
  z-index: 2000;
  left: 50%;
  bottom: 30px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 20px 60px -20px rgba(14, 70, 90, 0.45);
  transform: translate(-50%, 30px);
  opacity: 0; visibility: hidden;
  transition: all 0.4s var(--ease);
}
.appo11.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.appo11.error i { color: #e5484d; }
.appo11.success i { color: var(--open); }
.appo11 p { margin: 0; }

/* =====================================================================
   FOOTER — dark ink, four columns + framed clinic card + bottom bar
   ===================================================================== */
.lm-footer {
  --ft-muted: rgba(255, 255, 255, 0.6); --ft-soft: rgba(255, 255, 255, 0.82); --ft-line: rgba(255, 255, 255, 0.09);
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: clamp(64px, 6.5vw, 92px);
  background:
    radial-gradient(45% 70% at 0% 0%, rgba(14, 165, 181, 0.16), transparent 70%),
    radial-gradient(35% 60% at 100% 100%, rgba(111, 223, 194, 0.07), transparent 70%),
    linear-gradient(180deg, #102937 0%, #0a1b26 100%);
  color: var(--ft-muted); font-size: 0.92rem; line-height: 1.7;
}
.lm-footer::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: min(30%, 520px); height: 3px; background: var(--grad-soft); }
.lm-footer::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }

.lm-footer__grid { display: grid; grid-template-columns: 1.55fr 0.95fr 0.7fr 1.25fr; gap: clamp(28px, 3.4vw, 52px); align-items: start; }

/* brand column */
.lm-footer__brand { display: inline-block; }
.lm-footer__logo { width: 196px; height: auto; margin-bottom: 26px; filter: brightness(0) invert(1); opacity: 0.95; }
.lm-footer h5.lm-footer__title { margin: 0 0 6px; font-family: var(--font-display); font-size: clamp(1.4rem, 1.8vw, 1.7rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--paper); }
.lm-footer__role { margin: 0 0 14px; color: var(--mint); font-weight: 600; font-size: 0.95rem; }
.lm-footer__creds { margin: 0; color: var(--ft-soft); font-size: 0.9rem; line-height: 1.75; }
.lm-footer__reach { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
@media (min-width: 992px) { .lm-footer__reach { flex-wrap: nowrap; } }
.lm-footer__call, .lm-footer__sq {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2); color: var(--paper); background: rgba(255, 255, 255, 0.02);
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.lm-footer__call { padding-inline: 16px; white-space: nowrap; font-weight: 700; font-size: 0.92rem; direction: ltr; }
.lm-footer__call i { color: var(--mint); font-size: 0.85rem; }
.lm-footer__sq { width: 46px; }
.lm-footer__call:hover, .lm-footer__sq:hover { background: var(--grad); border-color: transparent; color: var(--paper); transform: translateY(-2px); }
.lm-footer__call:hover i { color: var(--paper); }

/* link columns */
.lm-footer h5 { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin: 6px 0 24px; font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; color: var(--paper); }
.lm-footer h5::after { content: ""; width: 30px; height: 2px; background: var(--grad-soft); }
.lm-footer h5.lm-footer__title::after { display: none; }
.lm-footer__links { display: grid; gap: 4px; }
.lm-footer__links a { display: inline-flex; align-items: center; gap: 0; width: fit-content; padding-block: 5px; color: var(--ft-muted); transition: color 0.3s, gap 0.3s var(--ease); }
.lm-footer__links a::before { content: ""; width: 0; height: 1px; background: var(--mint); transition: width 0.3s var(--ease); }
.lm-footer__links a:hover { color: var(--paper); gap: 8px; }
.lm-footer__links a:hover::before { width: 12px; }

/* framed clinic card */
.lm-footer__card { position: relative; padding: 26px 26px 28px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--ft-line); border-top: 2px solid var(--teal); }
.lm-footer__eyebrow { display: block; margin-bottom: 8px; font-family: var(--font-caps); font-size: 0.7rem; font-weight: 600; letter-spacing: var(--caps-spacing); text-transform: uppercase; color: var(--mint); }
.lm-footer__card h5 { margin: 0 0 22px; }
.lm-footer__info { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.lm-footer__info li { display: flex; gap: 14px; align-items: flex-start; }
.lm-footer__ico { flex: none; width: 36px; height: 36px; display: grid; place-items: center; background: rgba(111, 223, 194, 0.1); border: 1px solid rgba(111, 223, 194, 0.18); color: var(--mint); font-size: 0.9rem; }
.lm-footer__info strong { display: block; color: var(--paper); font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; line-height: 1.45; }
.lm-footer__info span:not(.lm-footer__ico) { display: block; margin-top: 3px; color: var(--ft-muted); font-size: 0.82rem; line-height: 1.55; }
.lm-footer__book { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--mint); font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; transition: gap 0.3s var(--ease), color 0.3s; }
.lm-footer__book:hover { gap: 16px; color: var(--paper); }
[dir="rtl"] .lm-footer__book i { transform: scaleX(-1); }

/* bottom bar */
.lm-footer__bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-top: clamp(48px, 6vw, 76px); padding-block: 22px; border-top: 1px solid var(--ft-line); font-size: 0.84rem; color: rgba(255, 255, 255, 0.5); }
.lm-footer__credit { justify-self: end; }
.lm-footer__credit a { margin-inline-start: 6px; color: var(--paper); font-weight: 600; }
.lm-footer__credit a:hover { color: var(--mint); }
.lm-footer__langs { display: inline-flex; border: 1px solid rgba(255, 255, 255, 0.16); }
.lm-footer__langs a { min-width: 42px; height: 32px; padding-inline: 10px; display: grid; place-items: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ft-muted); transition: background 0.3s, color 0.3s; }
.lm-footer__langs a + a { border-inline-start: 1px solid rgba(255, 255, 255, 0.16); }
.lm-footer__langs a:hover { color: var(--paper); }
.lm-footer__langs a.is-active { background: var(--grad-soft); color: var(--ink); }

@media (max-width: 991px) {
  .lm-footer__grid { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .lm-footer__about, .lm-footer__card { grid-column: 1 / -1; }
  .lm-footer__card { max-width: 560px; }
}
@media (max-width: 1400px) and (min-width: 601px) { .lm-footer__bottom { padding-inline-end: 78px; } }
@media (max-width: 600px) {
  .lm-footer__grid { column-gap: 20px; }
  .lm-footer__card { padding: 22px 20px 24px; }
  .lm-footer__bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .lm-footer__credit { justify-self: center; }
  .lm-footer__langs { order: -1; }
  .lm-footer__bottom { padding-bottom: 86px; }
}

/* back-to-top — square with crop-mark corners */
.lm-top { border-radius: 2px; }
.lm-top::before {
  content: ""; position: absolute; inset: -7px; pointer-events: none;
  --c: var(--teal); --l: 12px; --w: 1.5px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) top left / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) top right / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--l);
  background-repeat: no-repeat; transition: inset 0.3s var(--ease);
}
.lm-top:hover::before { inset: -10px; }

