/* =========================================================
   Beauty Hightech by Yuli Raver - Brand Stylesheet (Brandbook)
   Brandbook palette: Navy #002148 / Blue #2D6999 / Light Blue #6DACDE
   Silver #B9BCC5 / Slate #5C6383 / Taupe #C4B3A8 · Font: Rubik
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --navy: #002148;
  --navy-soft: #0B3160;
  --navy-700: #14406F;
  --ink: #001A38;

  --blue: #2D6999;
  --blue-deep: #1E5079;
  --blue-dark: #143B5C;
  --blue-light: #6DACDE;
  --silver: #B9BCC5;
  --silver-deep: #98A1B0;
  --slate: #5C6383;
  --taupe: #C4B3A8;

  --mist: #E9EEF3;
  --paper: #F5F8FA;
  --surface: #FFFFFF;

  --line: #DCE4EC;
  --line-soft: #E8EEF3;

  --text: #16233A;
  --muted: #63708A;
  --muted-light: #A3ACBE;

  --emerald: #25D366;
  --emerald-dark: #1faa52;
  --star: #E2B43C;

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(0, 33, 72, 0.06);
  --shadow: 0 16px 44px rgba(0, 33, 72, 0.10);
  --shadow-lg: 0 30px 80px rgba(0, 33, 72, 0.18);
  --shadow-blue: 0 16px 40px rgba(45, 105, 153, 0.32);
  --shadow-wa: 0 14px 34px rgba(37, 211, 102, 0.40);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 0.22s var(--ease);
  --t: 0.4s var(--ease);

  --container: 1200px;
  --header-h: 84px;

  --font-display: "Rubik", "Assistant", system-ui, sans-serif;
  --font-hero: "Rubik", "Assistant", system-ui, sans-serif;
  --font-latin: "Rubik", system-ui, sans-serif;
  --font-brand: "Cormorant Garamond", Georgia, serif;
  --font-body: "Rubik", "Assistant", system-ui, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }
body {
  font-family: var(--font-body); color: var(--text); background: var(--paper);
  line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; font-weight: 600; letter-spacing: -0.2px; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; }
::selection { background: var(--blue); color: #fff; }

.lat { font-family: var(--font-latin); font-weight: 500; letter-spacing: 0.2px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip-link { position: absolute; right: -9999px; top: 8px; z-index: 1200; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: var(--r-sm); }
.skip-link:focus { right: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 5px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--r-pill); font-weight: 700; font-family: var(--font-body);
  letter-spacing: 0.2px; white-space: nowrap; font-size: 1rem;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  will-change: transform; position: relative; overflow: hidden;
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }

.btn--primary { background: linear-gradient(135deg, var(--blue-light), var(--blue) 55%, var(--blue-deep)); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { box-shadow: 0 20px 48px rgba(45,105,153,0.5); }
.btn--wa { background: var(--emerald); color: #fff; box-shadow: var(--shadow-wa); }
.btn--wa:hover { background: var(--emerald-dark); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-soft); }
.btn--ghost { background: transparent; color: var(--navy); border: 1.6px solid var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { background: rgba(255,255,255,0.06); color: #fff; border: 1.5px solid rgba(185,188,197,0.55); }
.btn--ghost-light:hover { background: rgba(185,188,197,0.18); border-color: var(--silver); }
.btn--sm { padding: 11px 20px; font-size: 0.94rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 1000; height: var(--header-h);
  display: flex; align-items: center; background: rgba(245, 248, 250, 0.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: height var(--t), background var(--t), box-shadow var(--t), border-color var(--t);
}
.header.is-scrolled { height: 68px; background: rgba(245, 248, 250, 0.95); box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand__logo { height: 58px; width: auto; max-width: min(340px, 46vw); object-fit: contain; transition: height var(--t); }
.brand__logo--light { filter: brightness(0) invert(1); opacity: 0.95; height: 64px; }
.header.is-scrolled .brand__logo { height: 46px; }
.brand__mark { width: 52px; height: 52px; object-fit: contain; transition: width var(--t), height var(--t); }
.brand__mark--light { filter: brightness(0) invert(1); opacity: 0.92; }
.header.is-scrolled .brand__mark { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-brand); font-weight: 700; font-size: 1.42rem; color: var(--navy); letter-spacing: 0.4px; }
.brand__sub { font-size: 0.72rem; color: var(--muted); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 9px 14px; border-radius: var(--r-pill); color: var(--text); font-weight: 600; font-size: 0.98rem; transition: color var(--t-fast); }
.nav__link::after { content: ""; position: absolute; inset-block-end: 4px; inset-inline: 50%; width: 0; height: 2px; background: var(--blue); border-radius: 2px; transform: translateX(50%); transition: width var(--t-fast); }
.nav__link:hover { color: var(--blue); }
.nav__link:hover::after, .nav__link.is-active::after { width: 22px; }
.nav__link.is-active { color: var(--blue); }

.nav__item { position: relative; }
.nav__menu {
  position: absolute; inset-block-start: calc(100% + 6px); inset-inline-end: 0; min-width: 250px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 8px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast); z-index: 20;
}
.nav__item:hover .nav__menu, .nav__item.is-open .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a { padding: 10px 14px; border-radius: var(--r-sm); font-weight: 600; font-size: 0.96rem; color: var(--text); transition: background var(--t-fast), color var(--t-fast); }
.nav__menu a:hover { background: var(--mist); color: var(--blue); }
.nav__toggle-sub { font-weight: 600; font-size: 0.98rem; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: var(--r-sm); position: relative; }
.nav-toggle span { position: absolute; inset-inline: 12px; height: 2.5px; border-radius: 3px; background: var(--navy); transition: transform var(--t), opacity var(--t-fast), top var(--t); }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; isolation: isolate; min-height: 76svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 76px; overflow: hidden; color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: -4; background: radial-gradient(1200px 700px at 78% -10%, rgba(45,105,153,0.40), transparent 60%), radial-gradient(900px 600px at 0% 110%, rgba(185,188,197,0.20), transparent 55%), linear-gradient(140deg, #002148 0%, #0B3160 50%, #123A63 100%); }
.hero__video { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.66; }
.hero__scrim { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(0,33,72,0.42) 0%, rgba(0,33,72,0.72) 62%, rgba(0,33,72,0.90) 100%), linear-gradient(0deg, rgba(0,33,72,0.55), transparent 40%); }
.hero__grain { position: absolute; inset: 0; z-index: -1; opacity: 0.45; background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1.4px); background-size: 24px 24px; mask-image: radial-gradient(80% 80% at 70% 30%, #000, transparent); -webkit-mask-image: radial-gradient(80% 80% at 70% 30%, #000, transparent); }
.orb { position: absolute; border-radius: 50%; z-index: -1; filter: blur(2px); opacity: 0.5; pointer-events: none; }
.orb--1 { width: 12px; height: 12px; background: var(--silver); top: 24%; inset-inline-start: 12%; animation: float1 9s ease-in-out infinite; }
.orb--2 { width: 8px; height: 8px; background: var(--blue-light); top: 64%; inset-inline-start: 22%; animation: float2 11s ease-in-out infinite; }
.orb--3 { width: 16px; height: 16px; background: rgba(185,188,197,0.7); top: 38%; inset-inline-start: 40%; animation: float1 13s ease-in-out infinite reverse; }
.orb--4 { width: 6px; height: 6px; background: #fff; top: 78%; inset-inline-start: 8%; animation: float2 8s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }
@keyframes float2 { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(20px) translateX(10px); } }

.hero__inner { width: 100%; }
.hero__content { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px; border-radius: var(--r-pill); margin-bottom: 24px; background: rgba(255,255,255,0.06); border: 1px solid rgba(185,188,197,0.45); color: var(--silver); font-weight: 700; font-size: 0.84rem; letter-spacing: 1px; backdrop-filter: blur(6px); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-light); }
.hero__title { font-family: var(--font-hero); font-weight: 400; font-size: clamp(2.5rem, 6.4vw, 4.6rem); line-height: 1.08; letter-spacing: -0.5px; text-shadow: 0 6px 40px rgba(0,0,0,0.4); }
.hero__title .accent { background: linear-gradient(120deg, #A8D4F5, var(--blue-light) 45%, #D7E4F0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 22px; font-size: clamp(1.05rem, 2.1vw, 1.28rem); color: #E6ECF4; max-width: 640px; font-weight: 400; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 56vh; padding: calc(var(--header-h) + 60px) 0 54px; overflow: hidden; color: #fff; }
.page-hero--tall { min-height: 78vh; align-items: center; }
.page-hero__bg { position: absolute; inset: 0; z-index: -4; background: linear-gradient(140deg, #002148, #0B3160 60%, #123A63); }
.page-hero__media { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; opacity: 0.30; filter: blur(3px) saturate(0.85); transform: scale(1.06); }
.page-hero__scrim { position: absolute; inset: 0; z-index: -2; background: linear-gradient(0deg, rgba(0,33,72,0.92), rgba(0,33,72,0.45) 60%, rgba(0,33,72,0.6)); }
.page-hero__inner { width: 100%; max-width: 820px; }
.page-hero .eyebrow { color: var(--silver); }
.page-hero__title { font-family: var(--font-hero); font-weight: 400; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.1; }
.page-hero__title .accent { color: var(--silver); }
.page-hero__sub { margin-top: 16px; font-size: clamp(1rem, 2vw, 1.2rem); color: #E6ECF4; max-width: 620px; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.86rem; color: var(--silver); margin-bottom: 16px; opacity: 0.9; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy); color: var(--silver); overflow: hidden; border-block: 1px solid rgba(185,188,197,0.20); padding: 16px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee__track span { font-family: var(--font-latin); font-size: 1.25rem; font-weight: 600; letter-spacing: 4px; padding-inline: 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.marquee__track span::after { content: "✦"; color: var(--blue-light); font-size: 0.8rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(68px, 9vw, 120px) 0; position: relative; }
.section--soft { background: var(--mist); }
.section--paper { background: var(--paper); }
.section--dark { background: radial-gradient(900px 500px at 88% 0%, rgba(45,105,153,0.22), transparent 55%), linear-gradient(165deg, #002148, #0B3160); color: #fff; }
.section--dark .section__lead { color: #C3CEDD; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(42px, 5vw, 64px); }
.section__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-family: var(--font-body); letter-spacing: 3px; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 14px; }
.section--dark .section__eyebrow { color: var(--silver); }
.section__eyebrow::before, .section__eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.6; }
.section__title { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -0.5px; }
.section__title .accent { color: var(--blue); }
.section--dark .section__title .accent { color: var(--silver); }
.section__lead { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }
.section__lead--lg { font-size: clamp(1.2rem, 2.4vw, 1.45rem); font-weight: 500; color: var(--text); }
.section--dark .section__lead--lg { color: #E6ECF4; }
.section__cta { text-align: center; margin-top: 50px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.85fr 1fr; gap: 56px; align-items: center; }
.about__media { position: relative; }
.about__photo { width: 100%; border-radius: var(--r-xl); object-fit: cover; aspect-ratio: 3 / 4; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.about__frame { position: absolute; inset: -16px -16px auto auto; width: 70%; height: 70%; border: 1.5px solid var(--blue); border-radius: var(--r-xl); z-index: 0; }
.about__badge { position: absolute; inset-block-end: 22px; inset-inline-start: -22px; z-index: 2; background: var(--surface); border-radius: var(--r); padding: 16px 22px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); }
.about__badge svg { color: var(--blue); flex: none; }
.about__badge b { font-family: var(--font-display); font-size: 1.05rem; display: block; }
.about__badge span { font-size: 0.82rem; color: var(--muted); }
.about__text { text-align: center; }
.about__text .section__eyebrow, .about__text .section__title { text-align: center; }
.about__text .stats { justify-content: center; }
.about__text .about__p--accent { justify-content: center; }
.about__title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 8px; }
.about__sign { font-family: var(--font-latin); font-size: 1.5rem; color: var(--blue); margin-bottom: 18px; }
.about__p { color: #3A465C; font-size: 1.06rem; margin-bottom: 16px; }
.about__quote { margin: 24px 0; padding: 16px 22px; border-inline-start: 3px solid var(--blue); background: var(--mist); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); }
.stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.stat { flex: 1; min-width: 120px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 16px; text-align: center; box-shadow: var(--shadow-sm); }
.stat__num { font-family: var(--font-hero); font-size: 2rem; color: var(--navy); line-height: 1; }
.stat__num .plus { color: var(--blue); }
.stat__label { font-size: 0.86rem; color: var(--muted); margin-top: 6px; }

/* ---------- Device cards (home) ---------- */
.dcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.dcards--treat { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 1040px; margin-inline: auto; }
.dcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.dcard:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.dcard__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(160deg, #fff, var(--mist)); padding: 0; }
.dcard__media img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--t); }
.dcard:hover .dcard__media img { transform: scale(1.06); }
.dcard__media--icon { display: grid; place-items: center; color: #fff; background: radial-gradient(120% 120% at 20% 10%, var(--blue-light), var(--blue-deep) 75%); }
.dcard__media--icon svg { width: 52px; height: 52px; transition: transform var(--t); }
.dcard:hover .dcard__media--icon svg { transform: scale(1.08) rotate(-4deg); }
.dcard__tag { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; background: rgba(0,33,72,0.72); color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 1px; padding: 5px 12px; border-radius: var(--r-pill); backdrop-filter: blur(6px); }
.dcard__hover { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(45,105,153,0.55); color: #fff; font-weight: 800; opacity: 0; transition: opacity var(--t); backdrop-filter: blur(2px); }
.dcard:hover .dcard__hover { opacity: 1; }
.dcard__hover span { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #fff; padding: 10px 20px; border-radius: var(--r-pill); }
.dcard__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.dcard__code { font-family: var(--font-latin); font-size: 1.1rem; color: var(--blue); font-weight: 700; }
.dcard__title { font-size: 1.24rem; color: var(--navy); margin: 2px 0 8px; }
.dcard__text { color: var(--muted); font-size: 0.96rem; flex: 1; }
.dcard__btn { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--blue-deep); font-weight: 700; font-size: 0.95rem; transition: color var(--t-fast); }
.dcard__btn .arrow-c { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--blue-deep); transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast); }
.dcard:hover .dcard__btn { color: var(--blue); }
.dcard:hover .dcard__btn .arrow-c { background: linear-gradient(135deg, var(--blue-light), var(--blue-deep)); color: #fff; transform: translateX(-4px); }
.subhead { text-align: center; font-family: var(--font-display); color: var(--navy); font-size: 1.3rem; margin: 54px 0 22px; }

/* ---------- Apollo hub / tech ---------- */
.apollo__intro { display: grid; grid-template-columns: 1fr 0.9fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.apollo__media { position: relative; }
.apollo__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.apollo__text { color: #C3CEDD; font-size: 1.08rem; margin-bottom: 24px; }
.tech-chips { display: grid; gap: 14px; }
.tech-chip { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: rgba(255,255,255,0.04); border: 1px solid rgba(185,188,197,0.25); border-radius: var(--r); transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast); }
.tech-chip:hover { transform: translateX(-6px); border-color: var(--silver); background: rgba(185,188,197,0.08); }
.tech-chip__ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue-light), var(--blue-deep)); }
.tech-chip b { font-family: var(--font-latin); font-size: 1.3rem; color: #fff; display: block; }
.tech-chip span { font-size: 0.92rem; color: #C3CEDD; }

.handles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.handle { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--t), border-color var(--t), box-shadow var(--t); display: flex; flex-direction: column; }
.handle:hover { transform: translateY(-8px); border-color: transparent; box-shadow: var(--shadow-lg); }
.handle__img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--mist); }
.handle__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t); }
.handle:hover .handle__img img { transform: scale(1.05); }
.handle__body { padding: 18px 18px 22px; }
.handle__code { font-family: var(--font-latin); font-size: 1.5rem; color: var(--blue); }
.handle__role { font-size: 0.82rem; color: var(--blue-deep); font-weight: 700; margin-bottom: 8px; }
.handle__desc { font-size: 0.92rem; color: var(--muted); }
.handle__link { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; font-size: 0.9rem; transition: gap var(--t-fast); }
.handle__link:hover { gap: 11px; }

/* ---------- Device page ---------- */
.dev-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.dev-hero__media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; background: linear-gradient(160deg, #fff, var(--mist)); padding: 0; border: 1px solid var(--line); }
.dev-hero__media img { width: 100%; height: 100%; object-fit: contain; }
.dev-hero__media--icon { display: grid; place-items: center; color: #fff; background: radial-gradient(120% 120% at 20% 10%, var(--blue-light), var(--blue-deep) 75%); }
.dev-hero__media--icon .media-icon svg { width: 96px; height: 96px; }
.dev-hero .section__eyebrow, .dev-hero .section__title { text-align: start; }
.dev-hero__code { font-family: var(--font-latin); font-size: 1.6rem; color: var(--blue); font-weight: 700; }
.dev-hero__title { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 4px 0 12px; }
.dev-hero__tag { color: #3A465C; font-size: 1.12rem; margin-bottom: 20px; }
.dev-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.dev-tag { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: var(--r-pill); background: var(--mist); color: var(--blue-deep); font-weight: 600; font-size: 0.9rem; }
.dev-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.dev-body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 10px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.info-card h3 svg { color: var(--blue); }
.ilist { display: grid; gap: 12px; }
.ilist li { display: flex; gap: 12px; align-items: flex-start; color: #3A465C; }
.ilist svg { color: var(--blue); flex: none; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 16px; border-radius: var(--r-pill); font-weight: 600; font-size: 0.94rem; background: var(--mist); border: 1px solid var(--line); color: var(--blue-deep); }

.dev-ba { margin-top: 44px; }
.dev-ba__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.dev-ba__item { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); cursor: zoom-in; }
.dev-ba__item img { width: 100%; display: block; }
.dev-ba__soon { border: 1.6px dashed var(--silver-deep); border-radius: var(--r-xl); padding: clamp(38px,6vw,66px) 30px; text-align: center; background: linear-gradient(180deg, var(--surface), var(--mist)); max-width: 720px; margin-inline: auto; }
.dev-ba__soon .soon-ic { width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; color: var(--blue-deep); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.dev-ba__soon b { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); margin-bottom: 8px; }
.dev-ba__soon p { color: var(--muted); max-width: 470px; margin: 0 auto 24px; }

/* pricing placeholder (custom devices) */
.price-cta { background: linear-gradient(150deg, #002148, #0B3160); color: #fff; border-radius: var(--r-xl); padding: clamp(30px, 5vw, 54px); text-align: center; border: 1px solid rgba(185,188,197,0.22); }
.price-cta h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; }
.price-cta p { color: #C3CEDD; max-width: 560px; margin: 0 auto 24px; }

/* ---------- Before/After gallery + lightbox ---------- */
.ba-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.ba-copy .section__eyebrow, .ba-copy .section__title { text-align: start; }
.ba-copy__list { margin: 22px 0; display: grid; gap: 12px; }
.ba-copy__list li { display: flex; gap: 12px; align-items: flex-start; color: #3A465C; }
.ba-copy__list svg { color: var(--blue); flex: none; margin-top: 4px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.gallery__item { position: relative; border-radius: var(--r); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 5; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption { position: absolute; inset-block-end: 0; inset-inline: 0; padding: 40px 18px 16px; color: #fff; font-weight: 700; font-size: 1.1rem; line-height: 1.3; background: linear-gradient(to top, rgba(0,33,72,0.88), transparent); }
.apollo__media img, .dev-hero__media img { display: block; }

.lightbox { position: fixed; inset: 0; z-index: 1300; display: none; place-items: center; background: rgba(0,26,56,0.93); backdrop-filter: blur(6px); padding: 30px; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; inset-block-start: 22px; inset-inline-end: 26px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; font-size: 1.6rem; line-height: 1; border: 1px solid rgba(255,255,255,0.2); }

/* ---------- Pricing (laser) ---------- */
.price-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 34px; }
.price-tab { padding: 12px 32px; border-radius: var(--r-pill); font-weight: 700; font-size: 1rem; border: 1.5px solid var(--line); color: var(--muted); background: var(--surface); transition: all var(--t-fast); }
.price-tab.is-active { background: linear-gradient(135deg, var(--blue-light), var(--blue-deep)); color: #fff; border-color: transparent; box-shadow: var(--shadow-blue); }
.price-panel { display: none; }
.price-panel.is-active { display: block; animation: fadeUp 0.5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.price-table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th { background: var(--navy); color: var(--silver); font-family: var(--font-display); font-weight: 400; padding: 16px 20px; text-align: start; font-size: 1.05rem; letter-spacing: 0.3px; }
.price-table thead th:not(:first-child) { text-align: center; }
.price-table tbody td { padding: 13px 20px; border-block-start: 1px solid var(--line-soft); font-size: 0.98rem; }
.price-table tbody td:first-child { font-weight: 600; color: var(--navy); }
.price-table tbody td:not(:first-child) { text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; }
.price-table tbody tr { transition: background var(--t-fast); }
.price-table tbody tr:nth-child(even) { background: var(--paper); }
.price-table tbody tr:hover { background: rgba(185,188,197,0.20); }
.price-table .full-row td { font-weight: 800; color: var(--blue-deep); background: rgba(185,188,197,0.22); }
.price-note { margin-top: 14px; font-size: 0.88rem; color: var(--muted); text-align: center; }

/* ---------- Academy ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm); }
.fact__ic { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue-light), var(--blue-deep)); }
.fact b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); margin-bottom: 4px; }
.fact span { font-size: 0.92rem; color: var(--muted); }

.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.path__step { position: relative; display: block; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 24px 26px; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.path__step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-light); }
.path__step::before { counter-increment: step; content: "0" counter(step); position: absolute; inset-block-start: 16px; inset-inline-start: 18px; font-family: var(--font-hero); font-size: 1.6rem; color: var(--silver-deep); }
.path__step h3 { font-size: 1.16rem; color: var(--navy); margin: 34px 0 8px; }
.path__step p { color: var(--muted); font-size: 0.95rem; }

.course { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 28px 30px; margin-bottom: 22px; scroll-margin-top: calc(var(--header-h) + 20px); }
.course__head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.course__thumb-btn { position: relative; flex: none; padding: 0; border: 0; background: none; cursor: zoom-in; line-height: 0; border-radius: var(--r); }
/* The posters are 9:16; bias the square crop onto the illustration, not the logo bar. */
.course__thumb { display: block; width: 104px; height: 104px; border-radius: var(--r); object-fit: cover; object-position: center 16%; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform var(--t-fast), box-shadow var(--t-fast); }
.course__thumb-btn:hover .course__thumb { transform: translateY(-2px); box-shadow: var(--shadow); }
.course__thumb-zoom {
  position: absolute; inset-block-end: 6px; inset-inline-end: 6px; width: 24px; height: 24px;
  display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: rgba(0,33,72,0.72); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.28);
}
.certificate__img[data-full] { cursor: zoom-in; }
/* Brief cue that the form was filled in for the course that was clicked. */
.academy-form__card.is-highlighted { box-shadow: 0 0 0 3px var(--blue-light), var(--shadow-lg); transition: box-shadow var(--t); }
.course__num { display: inline-block; font-family: var(--font-body); font-weight: 700; letter-spacing: 2px; font-size: 0.8rem; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.course__title { font-size: clamp(1.3rem, 2.6vw, 1.6rem); color: var(--navy); margin-bottom: 4px; }
.course__sub { color: var(--muted); font-size: 0.98rem; }
.course__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; }
.course__cols h4 { font-family: var(--font-body); font-weight: 800; color: var(--blue-deep); font-size: 0.95rem; margin-bottom: 8px; }
.course__cols ul { display: grid; gap: 7px; }
.course__cols li { position: relative; padding-inline-start: 18px; color: #3A465C; font-size: 0.95rem; }
.course__cols li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light); }
.course__who { margin-top: 16px; font-size: 0.92rem; color: var(--muted); font-style: normal; }
.course .btn--sm { margin-top: 18px; }

.structure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.struct { background: rgba(255,255,255,0.04); border: 1px solid rgba(185,188,197,0.25); border-radius: var(--r-lg); padding: 28px 22px; transition: transform var(--t), background var(--t), border-color var(--t); }
.struct:hover { transform: translateY(-6px); background: rgba(185,188,197,0.08); border-color: var(--silver); }
.struct__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue-light), var(--blue-deep)); margin-bottom: 16px; }
.struct__step { font-family: var(--font-body); font-weight: 800; color: var(--silver); font-size: 0.82rem; letter-spacing: 1px; }
.struct h3 { color: #fff; font-size: 1.14rem; margin: 4px 0; }
.struct .dur { color: var(--silver-deep); font-size: 0.86rem; margin-bottom: 8px; }
.struct p { color: #C3CEDD; font-size: 0.92rem; }

.certificate { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 46px; align-items: center; }
.certificate__img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.certificate__img img { width: 100%; display: block; }
.certificate .section__eyebrow, .certificate .section__title { text-align: start; }

/* ---------- Academy teaser (home) ---------- */
.academy-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(34px, 5vw, 64px); color: #fff; background: radial-gradient(700px 400px at 12% 20%, rgba(45,105,153,0.35), transparent 60%), linear-gradient(135deg, #002148, #0B3160); border: 1px solid rgba(185,188,197,0.25); display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; }
.academy-band__tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: var(--r-pill); background: rgba(185,188,197,0.14); color: var(--silver); font-weight: 700; font-size: 0.82rem; letter-spacing: 1px; margin-bottom: 16px; }
.academy-band__title { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 14px; }
.academy-band__text { color: #C3CEDD; font-size: 1.05rem; }
.academy-band__cta { display: grid; gap: 12px; }

/* ---------- Why / features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { text-align: center; padding: 32px 22px; border-radius: var(--r-lg); background: rgba(255,255,255,0.04); border: 1px solid rgba(185,188,197,0.22); transition: transform var(--t), background var(--t), border-color var(--t); }
.feature:hover { transform: translateY(-8px); background: rgba(185,188,197,0.07); border-color: var(--silver); }
.feature__icon { width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue-light), var(--blue-deep)); box-shadow: var(--shadow-blue); }
.feature__title { font-size: 1.22rem; color: #fff; margin-bottom: 8px; }
.feature__text { color: #C3CEDD; font-size: 0.96rem; }
.philosophy { text-align: center; max-width: 760px; margin: 56px auto 0; }
.philosophy p { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--silver); line-height: 1.5; }

/* ---------- Reviews ---------- */
.stars { fill: var(--star); }
.reviews__summary { display: inline-flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; justify-content: center; margin-top: 22px; padding: 14px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.reviews__score { font-family: var(--font-hero); font-weight: 400; font-size: 1.7rem; color: var(--navy); }
.reviews__by { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t); }
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review__avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.review__id { display: flex; flex-direction: column; line-height: 1.25; margin-inline-end: auto; min-width: 0; }
.review__name { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.06rem; }
.review__meta { font-size: 0.82rem; color: var(--muted); }
.review__g { flex: none; }
.review .stars { width: 104px; height: 20px; margin-bottom: 12px; }
.review__text { color: #3A465C; font-size: 1rem; line-height: 1.75; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0; align-items: stretch; border-radius: var(--r-xl); overflow: hidden; border: 1px solid rgba(185,188,197,0.28); box-shadow: var(--shadow-lg); background: rgba(255,255,255,0.03); }
.contact__intro { padding: clamp(28px, 4vw, 50px); }
.contact__intro .section__eyebrow, .contact__intro .section__title { text-align: start; }
.contact__list { margin: 26px 0; display: grid; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 14px; font-size: 1.04rem; }
.contact__list a:hover { color: var(--silver); }
.contact__ic { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: var(--silver); background: rgba(255,255,255,0.06); border: 1px solid rgba(185,188,197,0.3); }
.contact__quick { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.contact__socials { display: flex; gap: 12px; }
.contact__loc { margin-top: 22px; display: flex; align-items: center; gap: 14px; text-align: start; padding: 15px 18px; border-radius: var(--r); color: #E9EEF5; background: rgba(255,255,255,0.05); border: 1px solid rgba(185,188,197,0.3); transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast); }
.contact__loc:hover { transform: translateY(-2px); background: rgba(185,188,197,0.10); border-color: var(--silver); }
.contact__loc svg { color: var(--silver); flex: none; }
.contact__loc b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.02rem; }
.contact__loc span { font-size: 0.84rem; color: var(--muted-light); }
.contact__loc .arrow { margin-inline-start: auto; color: var(--silver); }
.contact__form { background: linear-gradient(165deg, var(--paper), var(--mist)); border-radius: 0; padding: clamp(28px, 4vw, 50px); box-shadow: none; color: var(--text); border-inline-start: 1px solid rgba(185,188,197,0.32); position: relative; }
.contact__form::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px; background: linear-gradient(90deg, var(--blue-light), var(--blue-deep)); }
.contact__form-title { font-size: 1.5rem; color: var(--navy); margin-bottom: 4px; }
.contact__form-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-family: var(--font-body); margin-bottom: 7px; color: var(--navy); font-size: 0.96rem; letter-spacing: 0.2px; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border-radius: var(--r-sm); border: 1.6px solid var(--line); background: var(--surface); color: var(--text); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-light); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(45,105,153,0.16); }
.field textarea { resize: vertical; min-height: 100px; }
.field input.is-invalid, .field textarea.is-invalid { border-color: #d9534f; box-shadow: 0 0 0 4px rgba(217,83,79,0.12); }
.field__error { color: #c9302c; font-size: 0.92rem; margin-bottom: 12px; font-weight: 600; }
.contact__note { margin-top: 12px; font-size: 0.85rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #C3CEDD; padding-top: 60px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: var(--silver); }
.footer__brand .brand__mark { border-color: rgba(255,255,255,0.15); }
.footer__about { margin-top: 16px; max-width: 340px; font-size: 0.96rem; color: #93A0B5; }
.footer__col h4 { font-family: var(--font-display); color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a, .footer__col li { color: #AEB9CC; font-size: 0.96rem; transition: color var(--t-fast); }
.footer__col a:hover { color: var(--silver); }
.footer__social { display: flex; gap: 12px; margin-top: 16px; }
.social { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast); }
.social:hover { transform: translateY(-3px); background: var(--blue); color: #fff; }
.footer__bar { padding: 22px 0; text-align: center; font-size: 0.88rem; color: #8794AB; }
.footer__credit { color: var(--silver); font-weight: 800; letter-spacing: 0.4px; transition: color var(--t-fast); }
.footer__credit:hover { color: #fff; }

/* ---------- Floating actions ---------- */
.fab-wa { position: fixed; inset-block-end: 26px; inset-inline-start: 26px; z-index: 900; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--emerald); color: #fff; box-shadow: var(--shadow-wa); transition: transform var(--t-fast); }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa__pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--emerald); z-index: -1; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.6; } 70% { transform: scale(1.7); opacity: 0; } 100% { opacity: 0; } }
.fab-stack { display: none; }
.fab { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px rgba(0,33,72,0.28); transition: transform var(--t-fast); }
.fab:active { transform: scale(0.94); }
.fab--wa { background: var(--emerald); }
.fab--book { background: linear-gradient(135deg, var(--blue-light), var(--blue-deep)); color: #fff; }
.fab__pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--emerald); z-index: -1; animation: pulse 2.2s ease-out infinite; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.dcards .reveal, .features .reveal, .reviews .reveal, .handles .reveal, .gallery .reveal, .tech-chips .reveal, .facts .reveal, .path .reveal, .structure .reveal { transition-delay: var(--d, 0s); }

/* ---------- Nav mega menu (technology) ---------- */
.nav__menu--wide { min-width: 320px; }
.nav__menu-item { display: flex; flex-direction: column; gap: 1px; padding: 11px 14px !important; }
.nav__menu-name { font-family: var(--font-latin); font-weight: 700; font-size: 1.06rem; color: var(--navy); letter-spacing: 0.3px; }
.nav__menu-item:hover .nav__menu-name { color: var(--blue); }
.nav__menu-role { font-size: 0.83rem; color: var(--muted); font-weight: 500; }
.nav__menu-all { margin-top: 6px; border-top: 1px solid var(--line-soft); border-radius: 0 0 var(--r-sm) var(--r-sm) !important; color: var(--blue) !important; font-weight: 800 !important; text-align: center; }
/* ---------- Technology quick index ---------- */
.tech-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tech-index__item {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  min-height: 118px; padding: 20px 22px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.tech-index__item::before {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 3px;
  background: linear-gradient(180deg, var(--blue-light), var(--blue-deep));
  transform: scaleY(0); transform-origin: top; transition: transform var(--t);
}
.tech-index__item:hover { transform: translateY(-4px); border-color: var(--blue-light); box-shadow: var(--shadow); }
.tech-index__item:hover::before { transform: scaleY(1); }
.tech-index__num {
  position: absolute; inset-block-start: 14px; inset-inline-end: 18px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; color: var(--silver-deep);
  transition: color var(--t-fast);
}
.tech-index__item:hover .tech-index__num { color: var(--blue-light); }
.tech-index__name {
  font-family: var(--font-latin); font-weight: 600; font-size: 1.12rem; line-height: 1.25;
  color: var(--navy); padding-inline-end: 30px; transition: color var(--t-fast);
}
.tech-index__item:hover .tech-index__name { color: var(--blue); }
.tech-index__role { font-size: 0.85rem; line-height: 1.4; color: var(--muted); }

/* ---------- Showcase rows (technology hub) ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 62px); align-items: center; }
.showcase--flip .showcase__media { order: 2; }
.showcase__media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(160deg, #fff, var(--mist)); aspect-ratio: 1 / 1; border: 1px solid var(--line); padding: 0; }
.showcase__media img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--t); }
.showcase__media:hover img { transform: scale(1.03); }
.showcase__index { position: absolute; inset-block-start: 16px; inset-inline-start: 18px; font-family: var(--font-hero); font-size: 1.5rem; color: #fff; background: rgba(0,33,72,0.6); backdrop-filter: blur(6px); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.showcase__title { font-size: clamp(1.9rem, 4.2vw, 2.9rem); color: var(--navy); line-height: 1.1; }
.showcase__title .lat { font-family: var(--font-latin); }
.showcase__name { color: var(--blue); font-weight: 700; margin: 6px 0 14px; font-size: 1.02rem; }
.showcase__text { color: #3A465C; font-size: 1.08rem; margin-bottom: 18px; }
.showcase__list { display: grid; gap: 10px; margin-bottom: 20px; }
.showcase__list li { display: flex; gap: 11px; align-items: flex-start; color: #3A465C; font-size: 1rem; }
.showcase__list svg { color: var(--blue); flex: none; margin-top: 4px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tag { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: var(--r-pill); font-size: 0.85rem; font-weight: 700; background: var(--mist); color: var(--muted); border: 1px solid var(--line); }
.tag--tech { font-family: var(--font-latin); font-size: 0.95rem; letter-spacing: 0.3px; background: rgba(45,105,153,0.10); color: var(--blue-deep); border-color: rgba(45,105,153,0.22); }

/* ---------- Specs ---------- */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.spec { background: rgba(255,255,255,0.04); border: 1px solid rgba(185,188,197,0.22); border-radius: var(--r-lg); padding: 24px 22px; transition: transform var(--t), background var(--t), border-color var(--t); }
.spec:hover { transform: translateY(-6px); background: rgba(185,188,197,0.08); border-color: var(--silver); }
.spec__k { display: block; font-weight: 800; font-size: 0.82rem; letter-spacing: 2px; text-transform: uppercase; color: var(--silver); margin-bottom: 8px; }
.spec__v { display: block; color: #E6ECF4; font-size: 1.02rem; line-height: 1.6; }

/* ---------- Device gallery ---------- */
.dev-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.dev-gallery__item { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, #fff, var(--mist)); box-shadow: var(--shadow-sm); cursor: zoom-in; aspect-ratio: 1 / 1; padding: 0; }
.dev-gallery__item img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--t); }
.dev-gallery__item:hover img { transform: scale(1.05); }

.chip--tech { font-family: var(--font-latin); background: rgba(45,105,153,0.10); color: var(--blue-deep); border-color: rgba(45,105,153,0.22); }

/* dark-section variant of the device card */
.dcard--dark { background: rgba(255,255,255,0.04); border-color: rgba(185,188,197,0.22); }
.dcard--dark .dcard__title { color: #fff; }
.dcard--dark .dcard__text { color: #C3CEDD; }
.dcard--dark .dcard__code { color: var(--silver); }
.dcard--dark .dcard__btn { border-top-color: rgba(185,188,197,0.20); color: var(--silver); }
.dcard--dark .dcard__btn .arrow-c { background: rgba(185,188,197,0.14); color: var(--silver); }
.dcard--dark:hover { border-color: var(--silver); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .handles { grid-template-columns: repeat(3, 1fr); }
  .tech-index { grid-template-columns: repeat(3, 1fr); }
  .features, .facts, .structure, .path { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .about { grid-template-columns: 1fr; gap: 60px; }
  .about__media { max-width: 440px; margin-inline: auto; }
  .apollo__intro, .dev-hero, .dev-body, .ba-wrap, .certificate, .showcase { grid-template-columns: 1fr; gap: 34px; }
  .showcase--flip .showcase__media { order: 0; }
  .academy-band { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .nav { position: fixed; inset-block-start: var(--header-h); inset-inline: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 16px 20px 26px; background: rgba(245,248,250,0.98); backdrop-filter: blur(16px); box-shadow: var(--shadow); border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform var(--t); opacity: 0; pointer-events: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__link { padding: 13px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); }
  .nav__link::after { display: none; }
  .nav__item { border-bottom: 1px solid var(--line-soft); }
  .nav__toggle-sub { width: 100%; justify-content: space-between; }
  .nav__menu, .nav__menu--wide { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px; display: none; background: transparent; }
  .nav__item.is-open .nav__menu { display: grid; }
  .nav__menu-item { padding: 10px 14px !important; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); }
  .nav__menu-all { background: var(--mist); border: 1px solid var(--line); margin-top: 4px; border-radius: var(--r-sm) !important; }
  .nav-toggle { display: block; }
  .header__actions .btn { display: none; }
  /* Mobile: logo on the left, hamburger on the right. */
  .header__inner { flex-direction: row-reverse; }

  .handles, .features, .structure, .path, .specs, .dev-gallery { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fact { padding: 18px 14px; }
  .fact__ic { width: 46px; height: 46px; margin-bottom: 10px; }
  .fact b { font-size: 0.96rem; }
  .fact span { font-size: 0.85rem; }
  .tech-index { grid-template-columns: 1fr 1fr; }
  .tech-index__item { min-height: 96px; padding: 15px 16px; }
  .tech-index__name { font-size: 1rem; padding-inline-end: 26px; }
  .tech-index__role { font-size: 0.79rem; }
  .showcase__index { width: 44px; height: 44px; font-size: 1.2rem; }
  .reviews__summary { flex-direction: column; gap: 8px; }
  .price-table thead th, .price-table tbody td { padding: 11px 12px; font-size: 0.9rem; }
  .price-tab { padding: 11px 22px; }
  .course__cols { grid-template-columns: 1fr; }
  .course { padding: 22px 20px; }
  .course__thumb { width: 82px; height: 82px; }
  .academy-form__card { padding: 26px 20px; }

  .hero { padding-bottom: 120px; }
  .hero__sub { margin-top: 16px; }
  .hero__cta { flex-direction: column; align-items: stretch; margin-top: 54px; gap: 16px; }
  .hero__cta .btn { width: 100%; padding-block: 17px; }
  .about__badge { inset-inline-start: 50%; transform: translateX(50%); inset-block-end: -22px; }
  .contact__form { border-inline-start: 0; border-top: 1px solid rgba(185,188,197,0.32); }

  .fab-stack { display: flex; flex-direction: column; gap: 12px; position: fixed; left: 16px; bottom: 18px; z-index: 950; }
  .fab-wa { display: none; }
}
@media (max-width: 420px) {
  .brand__sub { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .stats, .about__text .stats { display: flex; flex-wrap: nowrap; gap: 8px; justify-content: normal; }
  .stat { flex: 1 1 0; min-width: 0; padding: 12px 6px; }
  .stat__num { font-size: 1.3rem; }
  .stat__label { font-size: 0.72rem; margin-top: 4px; line-height: 1.25; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- About accent line ---------- */
.about__p--accent { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; padding: 16px 20px; border-radius: var(--r); background: var(--mist); border-inline-start: 3px solid var(--blue); color: var(--navy); font-weight: 600; }

/* ---------- Device note (safety / after-care) ---------- */
.dev-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 15px 18px; border-radius: var(--r); background: rgba(45,105,153,0.07); border: 1px solid rgba(45,105,153,0.20); color: var(--navy); font-size: 0.95rem; }
.dev-note svg { flex: none; color: var(--blue); margin-top: 2px; }

/* ---------- Carousel (home: results + technology) ---------- */
.carousel { position: relative; --per-view: 4; --gap: 20px; }
.carousel__track {
  display: flex; gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px 12px; margin-inline: -2px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  scroll-snap-align: start;
}
.carousel--results { --per-view: 3; }
/* Before/after cards are square, finished designs: show them whole, never cropped. */
.carousel--results .gallery__item { aspect-ratio: 1 / 1; }
.carousel--reviews { --per-view: 3; }
.carousel--gallery { --per-view: 3; }

.carousel__nav {
  position: absolute; inset-block-start: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); color: var(--navy); border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), opacity var(--t-fast);
}
.carousel__nav:hover { background: var(--blue); color: #fff; border-color: transparent; }
.carousel__nav--prev { inset-inline-start: -18px; }
.carousel__nav--next { inset-inline-end: -18px; }
.carousel__nav[disabled] { opacity: 0; pointer-events: none; }
.section--dark .carousel__nav { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(185,188,197,0.30); }
.section--dark .carousel__nav:hover { background: var(--blue-light); color: var(--navy); }

.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.carousel__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); border: 0; padding: 0; transition: width var(--t-fast), background var(--t-fast); }
.carousel__dot.is-active { width: 26px; border-radius: var(--r-pill); background: var(--blue); }
.section--dark .carousel__dot { background: rgba(185,188,197,0.35); }
.section--dark .carousel__dot.is-active { background: var(--blue-light); }

@media (max-width: 1100px) { .carousel { --per-view: 3; } .carousel--results, .carousel--reviews, .carousel--gallery { --per-view: 2; } }
@media (max-width: 860px)  { .carousel { --per-view: 2; } }
@media (max-width: 620px)  {
  .carousel, .carousel--results, .carousel--reviews, .carousel--gallery { --per-view: 1.15; --gap: 14px; }
  .carousel__nav { display: none; }
  .carousel__track { padding-inline-end: 18px; }
}

/* ---------- Contact modal (device pages: know exactly where a click came from) ---------- */
.cmodal { position: fixed; inset: 0; z-index: 1400; display: none; place-items: center; padding: 20px; }
.cmodal.is-open { display: grid; }
.cmodal__backdrop { position: absolute; inset: 0; background: rgba(0,26,56,0.55); backdrop-filter: blur(4px); }
.cmodal__box {
  position: relative; width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto;
  background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  padding: clamp(26px, 4vw, 38px); animation: cmodalIn 0.28s var(--ease);
}
@keyframes cmodalIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.cmodal__close { position: absolute; inset-block-start: 14px; inset-inline-end: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--mist); color: var(--navy); font-size: 1.4rem; line-height: 1; transition: background var(--t-fast); }
.cmodal__close:hover { background: var(--line); }
.cmodal__title { font-size: 1.4rem; color: var(--navy); margin-bottom: 6px; padding-inline-end: 40px; }
.cmodal__device { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--mist); color: var(--blue-deep); font-weight: 700; font-size: 0.92rem; margin-bottom: 20px; }
@media (max-width: 480px) { .cmodal__box { padding: 24px 20px; } }

/* ---------- Academy dedicated lead form (distinct from the home "contact" block) ---------- */
.academy-form { max-width: 620px; margin-inline: auto; text-align: center; }
.academy-form__intro { margin-bottom: 30px; }
.academy-form__card { position: relative; background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 40px; text-align: start; overflow: hidden; }
.academy-form__card::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 4px; background: linear-gradient(90deg, var(--blue-light), var(--blue-deep)); }

/* ---------- Small stat pill under a section lead (e.g. "200 students") ---------- */
.stat-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 18px; border-radius: var(--r-pill); background: var(--mist); color: var(--blue-deep); font-weight: 700; font-size: 0.95rem; }
.section--dark .stat-pill { background: rgba(255,255,255,0.08); color: var(--sage); }
.carousel--gallery { margin-top: 40px; }

/* ---------- Services page: price, notes, CTA, secondary image ---------- */
.svc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 18px; }
.svc-price__amount { font-family: var(--font-hero); font-size: 1.55rem; color: var(--navy); line-height: 1; }
.svc-price__note { font-size: 0.9rem; color: var(--muted); }
.svc-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--mist); border-inline-start: 3px solid var(--silver); color: #3A465C; font-size: 0.95rem; line-height: 1.6; }
.svc-note--warn { background: rgba(45,105,153,0.08); border-inline-start-color: var(--blue); color: var(--blue-deep); font-weight: 600; }
.svc-note--warn svg { color: var(--blue); flex: none; margin-top: 3px; }
.svc-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- Services picker: photo tiles that jump to each service ---------- */
.svc-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.svc-nav__item {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  background: var(--navy); isolation: isolate;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.svc-nav__item img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease); z-index: -2;
}
.svc-nav__item::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0,33,72,0.92) 0%, rgba(0,33,72,0.55) 42%, rgba(0,33,72,0.10) 72%);
  transition: opacity var(--t-fast);
}
.svc-nav__item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue-light); }
.svc-nav__item:hover img { transform: scale(1.07); }
.svc-nav__num {
  position: absolute; inset-block-start: 13px; inset-inline-end: 15px;
  font-family: var(--font-hero); font-size: 0.82rem; letter-spacing: 1px; color: #fff;
  background: rgba(0,33,72,0.5); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.22);
  padding: 4px 10px; border-radius: var(--r-pill);
}
.svc-nav__flag {
  position: absolute; inset-block-start: 13px; inset-inline-start: 15px;
  font-size: 0.76rem; font-weight: 700; color: var(--navy); background: var(--blue-light);
  padding: 5px 12px; border-radius: var(--r-pill);
}
.svc-nav__body {
  position: absolute; inset-block-end: 0; inset-inline: 0; display: grid; gap: 3px;
  padding: 16px 17px 15px; color: #fff;
}
.svc-nav__cat { font-size: 0.76rem; font-weight: 700; letter-spacing: 1.4px; color: var(--blue-light); }
.svc-nav__name { font-weight: 700; font-size: 1.06rem; line-height: 1.28; }
.svc-nav__go {
  position: absolute; inset-block-end: 15px; inset-inline-end: 15px; width: 30px; height: 30px;
  display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.26);
  opacity: 0; transform: translateX(6px); transition: opacity var(--t-fast), transform var(--t-fast);
}
.svc-nav__item:hover .svc-nav__go { opacity: 1; transform: none; }
.svc-nav__item--start { border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(109,172,222,0.22), var(--shadow-sm); }
.svc-nav__item--start .svc-nav__body { padding-block-end: 17px; }

/* ---------- Practitioner block (who performs a medical service) ---------- */
.practitioner {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 46px); align-items: center;
  margin-top: 44px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-xl);
  background: radial-gradient(700px 380px at 88% 0%, rgba(45,105,153,0.20), transparent 58%), linear-gradient(165deg, #002148, #0B3160);
  color: #fff; box-shadow: var(--shadow-lg);
}
.practitioner__media { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(185,188,197,0.28); box-shadow: var(--shadow); }
.practitioner__media img { width: 100%; display: block; }
.practitioner__eyebrow { display: block; color: var(--silver); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 10px; }
.practitioner__title { font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; line-height: 1.15; margin-bottom: 14px; }
.practitioner__text { color: #C3CEDD; font-size: 1.04rem; margin-bottom: 20px; }
.practitioner__points { display: grid; gap: 10px; }
.practitioner__points li { display: flex; gap: 11px; align-items: flex-start; color: #E6ECF4; font-size: 1rem; }
.practitioner__points svg { color: var(--blue-light); flex: none; margin-top: 4px; }

/* These two components are defined after the shared Responsive block, so they
   carry their own breakpoints. */
@media (max-width: 1080px) {
  .svc-nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .practitioner { grid-template-columns: 1fr; text-align: center; }
  .practitioner__media { max-width: 330px; margin-inline: auto; }
  .practitioner__points { justify-items: center; }
  .practitioner__points li { text-align: start; }
}
@media (max-width: 760px) {
  /* 2 up, with the entry-point tile spanning the row so 9 tiles stay even. */
  .svc-nav { gap: 12px; margin-top: 34px; }
  .svc-nav__item { aspect-ratio: 1 / 1; }
  .svc-nav__item--start { grid-column: span 2; aspect-ratio: 16 / 9; }
  .svc-nav__body { padding: 13px 13px 12px; }
  .svc-nav__name { font-size: 0.97rem; }
  .svc-nav__cat { font-size: 0.7rem; letter-spacing: 1px; }
  .svc-nav__go { display: none; }
}

/* =========================================================
   Legal pages (privacy / terms / accessibility)
   ========================================================= */
.page-hero--legal { min-height: 46vh; }
.legal { max-width: 860px; margin-inline: auto; }
.legal__meta { display: inline-block; font-size: 0.88rem; color: var(--muted); background: var(--mist); border: 1px solid var(--line); padding: 7px 16px; border-radius: var(--r-pill); margin-bottom: 34px; }
.legal h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--navy); margin: 34px 0 12px; line-height: 1.3; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.06rem; color: var(--blue-deep); margin: 20px 0 8px; }
.legal p { color: #3A465C; margin-bottom: 14px; }
.legal strong { color: var(--navy); }
.legal ul { display: grid; gap: 9px; margin: 0 0 18px; padding-inline-start: 0; list-style: none; }
.legal li { position: relative; color: #3A465C; padding-inline-start: 20px; }
.legal li::before { content: ""; position: absolute; inset-inline-start: 4px; inset-block-start: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light); }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--blue-deep); }
.legal__contact li::before { display: none; }
.legal__contact li { padding-inline-start: 0; }
.legal__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); }

.footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 26px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__legal a { font-size: 0.9rem; }

/* =========================================================
   Accessibility widget + display modes (IS 5568)
   ========================================================= */
.a11y { position: fixed; inset-block-end: 26px; left: 26px; z-index: 960; }
.a11y__btn {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 10px 24px rgba(0,33,72,0.32); cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast);
}
.a11y__btn:hover { transform: scale(1.06); background: var(--blue-deep); }
.a11y__panel {
  position: absolute; inset-block-end: calc(100% + 12px); left: 0;
  width: 296px; max-width: calc(100vw - 32px); padding: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.a11y__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.a11y__title { font-size: 1.06rem; color: var(--navy); }
.a11y__close { background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 4px; }
.a11y__close:hover { color: var(--navy); }
.a11y__size { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; margin-bottom: 12px; background: var(--mist); border-radius: var(--r-sm); }
.a11y__size-label { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.a11y__size-ctl { display: flex; align-items: center; gap: 8px; }
.a11y__step { width: 32px; height: 32px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--navy); font-weight: 700; font-size: 0.86rem; cursor: pointer; }
.a11y__step:hover { border-color: var(--blue); color: var(--blue); }
.a11y__size-val { min-width: 44px; text-align: center; font-size: 0.85rem; color: var(--muted); }
.a11y__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y__opt {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 74px; padding: 10px 6px; text-align: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--navy); font-size: 0.82rem; font-weight: 600; line-height: 1.25;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.a11y__opt svg { color: var(--blue); }
.a11y__opt:hover { border-color: var(--blue-light); background: var(--mist); }
.a11y__opt[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.a11y__opt[aria-pressed="true"] svg { color: var(--blue-light); }
.a11y__opt--reset { grid-column: span 2; flex-direction: row; min-height: 0; padding: 11px; }
.a11y__statement { display: block; margin-top: 12px; text-align: center; font-size: 0.86rem; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* Mobile: keep clear of the WhatsApp stack, which sits on the other side. */
@media (max-width: 760px) {
  .a11y { inset-block-end: 18px; left: auto; right: 16px; }
  .a11y__panel { left: auto; right: 0; }
}

/* ---- Display modes applied to <html> ---- */
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; font-weight: 700; }
html.a11y-readable, html.a11y-readable body, html.a11y-readable * { font-family: Arial, "Assistant", system-ui, sans-serif !important; letter-spacing: normal !important; }
html.a11y-nomotion *, html.a11y-nomotion *::before, html.a11y-nomotion *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
html.a11y-nomotion .reveal { opacity: 1 !important; transform: none !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42' viewBox='0 0 24 24'%3E%3Cpath fill='%23002148' stroke='%23ffffff' stroke-width='1.2' d='m6 3 12 8-5 1.2L16 19l-2.4 1-3-6.6L6 17V3Z'/%3E%3C/svg%3E") 4 2, auto !important; }

html.a11y-contrast body { background: #000 !important; color: #fff !important; }
html.a11y-contrast .section, html.a11y-contrast .hero, html.a11y-contrast .page-hero,
html.a11y-contrast .footer, html.a11y-contrast .header, html.a11y-contrast .feature,
html.a11y-contrast .stat, html.a11y-contrast .course, html.a11y-contrast .review,
html.a11y-contrast .fact, html.a11y-contrast .struct, html.a11y-contrast .dcard,
html.a11y-contrast .svc-note, html.a11y-contrast .legal, html.a11y-contrast .a11y__panel,
html.a11y-contrast .cmodal__box, html.a11y-contrast .academy-form__card,
html.a11y-contrast .contact__form, html.a11y-contrast .practitioner,
html.a11y-contrast .tech-index__item, html.a11y-contrast .about__quote,
html.a11y-contrast .about__p--accent, html.a11y-contrast .marquee {
  background: #000 !important; color: #fff !important;
}
html.a11y-contrast h1, html.a11y-contrast h2, html.a11y-contrast h3, html.a11y-contrast h4,
html.a11y-contrast p, html.a11y-contrast span, html.a11y-contrast li, html.a11y-contrast td,
html.a11y-contrast th, html.a11y-contrast label, html.a11y-contrast strong, html.a11y-contrast b,
html.a11y-contrast div, html.a11y-contrast figcaption, html.a11y-contrast blockquote { color: #fff !important; }
html.a11y-contrast a, html.a11y-contrast .accent, html.a11y-contrast .section__eyebrow { color: #ffd400 !important; }
html.a11y-contrast .btn, html.a11y-contrast button, html.a11y-contrast input,
html.a11y-contrast select, html.a11y-contrast textarea {
  background: #000 !important; color: #ffd400 !important; border: 2px solid #ffd400 !important; box-shadow: none !important;
}
html.a11y-contrast img, html.a11y-contrast video { filter: grayscale(35%) contrast(1.15); }
/* The brand lockup is dark artwork: force it to white so it stays visible. */
html.a11y-contrast .brand__logo { filter: brightness(0) invert(1) !important; }
html.a11y-contrast .hero__scrim, html.a11y-contrast .page-hero__scrim,
html.a11y-contrast .hero__bg, html.a11y-contrast .page-hero__bg,
html.a11y-contrast .hero__grain, html.a11y-contrast .orb { display: none !important; }
html.a11y-contrast :focus-visible { outline: 3px solid #ffd400 !important; outline-offset: 3px; }

/* =========================================================
   Results album: full-screen browser for every before/after card
   ========================================================= */
.album { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 24px; }
.album[hidden] { display: none; }
.album__backdrop { position: absolute; inset: 0; background: rgba(0,15,33,0.72); backdrop-filter: blur(6px); }
.album__panel {
  position: relative; width: min(1180px, 100%); max-height: calc(100vh - 48px);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  animation: albumIn 0.28s var(--ease);
}
@keyframes albumIn { from { opacity: 0; transform: translateY(16px) scale(0.985); } to { opacity: 1; transform: none; } }

.album__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 22px 26px 16px; border-bottom: 1px solid var(--line); background: var(--surface);
}
.album__title { font-size: clamp(1.3rem, 2.6vw, 1.75rem); color: var(--navy); line-height: 1.2; }
.album__sub { margin-top: 4px; font-size: 0.92rem; color: var(--muted); }
.album__close {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--navy);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.album__close:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Wraps where there is room; scrolls sideways on narrow screens so the chips
   never eat the vertical space the grid needs. */
.album__filters {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 26px;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.album__chip {
  flex: none; padding: 8px 16px; border-radius: var(--r-pill); cursor: pointer; white-space: nowrap;
  border: 1px solid var(--line); background: var(--paper); color: var(--slate);
  font-size: 0.88rem; font-weight: 600; font-family: var(--font-body);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.album__chip:hover { border-color: var(--blue-light); color: var(--blue); }
.album__chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.album__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 22px 26px; overflow-y: auto; overscroll-behavior: contain; flex: 1;
}
.album__item {
  display: flex; flex-direction: column; gap: 9px; padding: 0; cursor: zoom-in;
  background: none; border: 0; text-align: start; font-family: var(--font-body);
}
.album__thumb {
  display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 1 / 1;
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.album__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.album__item:hover .album__thumb { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-light); }
.album__label { font-size: 0.86rem; font-weight: 600; color: var(--navy); line-height: 1.35; }
.album__item[hidden] { display: none; }
.album__empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--muted); }
.album__note {
  flex: none; padding: 12px 26px; font-size: 0.82rem; color: var(--muted); text-align: center;
  background: var(--surface); border-top: 1px solid var(--line);
}

/* ---- Single-image viewer on top of the album ---- */
.album__viewer {
  position: absolute; inset: 0; z-index: 2; display: grid;
  grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 20px; background: rgba(0,15,33,0.94);
}
.album__viewer[hidden] { display: none; }
.album__stage { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; margin: 0; }
.album__stage img {
  max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: var(--surface);
}
.album__caption { display: flex; align-items: center; gap: 10px; color: #E6ECF4; font-size: 0.95rem; text-align: center; }
/* "4 / 26" is a number pair: keep it LTR so RTL does not reorder it to "26 / 4". */
.album__caption span:first-child { color: var(--blue-light); font-weight: 700; direction: ltr; unicode-bidi: isolate; }
.album__arrow, .album__viewer-close {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; color: #fff; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28); transition: background var(--t-fast), color var(--t-fast);
}
.album__arrow:hover, .album__viewer-close:hover { background: var(--blue-light); color: var(--navy); }
.album__arrow[disabled] { opacity: 0.32; cursor: default; }
.album__arrow[disabled]:hover { background: rgba(255,255,255,0.12); color: #fff; }
.album__viewer-close { position: absolute; inset-block-start: 18px; inset-inline-end: 18px; z-index: 3; }

@media (max-width: 1100px) {
  .album__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .album { padding: 0; }
  .album__panel { width: 100%; max-height: 100vh; height: 100dvh; border-radius: 0; }
  .album__head { padding: 16px 18px 12px; }
  .album__filters { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; padding: 12px 18px; scrollbar-width: thin; }
  .album__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 16px 18px; }
  .album__label { font-size: 0.79rem; }
  .album__note { padding: 10px 18px; font-size: 0.76rem; }
  /* Viewer: image fills the screen, controls sit below it as big tap targets. */
  .album__viewer { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: 14px; gap: 10px; }
  .album__stage { grid-row: 1; justify-content: center; }
  .album__stage img { max-height: calc(100dvh - 190px); }
  .album__arrow { width: 52px; height: 52px; }
  .album__arrow--prev { grid-row: 2; justify-self: start; }
  .album__arrow--next { grid-row: 2; justify-self: end; }
  .album__viewer-close { inset-block-start: 12px; inset-inline-end: 12px; width: 42px; height: 42px; }
  .album__caption { font-size: 0.86rem; flex-direction: column; gap: 3px; }
}

/* Album inherits the high-contrast accessibility mode. */
html.a11y-contrast .album__panel, html.a11y-contrast .album__head,
html.a11y-contrast .album__filters, html.a11y-contrast .album__chip,
html.a11y-contrast .album__thumb { background: #000 !important; color: #fff !important; }
html.a11y-contrast .album__chip.is-active { background: #ffd400 !important; color: #000 !important; }
