/* ==========================================================================
   Mobilus psichologas · style.css
   Tokens first, then base, layout, components, motion, responsive.
   ========================================================================== */

/* Self-hosted fonts (Lithuanian subset, WOFF2). No third-party requests. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/cormorant-garamond-500.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/cormorant-garamond-600.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/cormorant-garamond-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-sans-3-400.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/source-sans-3-600.woff2") format("woff2"); }

:root {
  --paper: #FBF7F2;
  --panel: #F3ECE4;
  --card: #FFFDFA;
  --ink: #1E2733;
  --muted: #5B6470;
  --dusk: #C9826B;
  --dusk-deep: #B06D57;
  --dusk-soft: #F1D9CF;
  --sky: #7B98B8;
  --sky-soft: #DCE6F0;
  --line: #E6DCD0;
  --shadow: 0 10px 30px rgba(60, 40, 30, 0.10);
  --shadow-lift: 0 22px 50px rgba(60, 40, 30, 0.16);
  --blob-1: #F2C4B0;
  --blob-2: #B9CDE3;
  --blob-3: #F7E3C8;
  --on-dusk: #1E2733;
  --link: #9A5A45;
  --radius: 14px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
  color-scheme: light;
}


:root[data-theme="dark"] {
  --paper: #151A22;
  --panel: #1C2330;
  --card: #232C3A;
  --ink: #EEE8E0;
  --muted: #A8B0BA;
  --dusk: #E39C84;
  --dusk-deep: #F0B39E;
  --dusk-soft: #3A2C29;
  --sky: #93AECB;
  --sky-soft: #24303F;
  --line: #2C3542;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 22px 50px rgba(0, 0, 0, 0.5);
  --blob-1: #6E3F35;
  --blob-2: #2E4560;
  --blob-3: #5A4530;
  --on-dusk: #1E2733;
  --link: #F0B39E;
  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
strong, b { font-weight: 600; }
[hidden] { display: none !important; }


img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); letter-spacing: -0.005em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.55rem; }

p { margin: 0 0 1rem; }

ul, ol { margin: 0; padding: 0; }

::selection { background: var(--dusk-soft); color: var(--ink); }

:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 16px; top: -60px;
  background: var(--ink); color: var(--paper);
  padding: 10px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { top: 16px; }

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--link);
  margin-bottom: 14px;
}

.section { padding: 96px 0; }
.section-panel { background: var(--panel); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-intro { color: var(--muted); font-size: 1.15rem; margin-top: 16px; }
.section-link { margin-top: 36px; font-weight: 600; }
.section-link a { border-bottom: 1px solid currentColor; }
.section-link a:hover { text-decoration: none; border-bottom-width: 2px; }
.trust-box {
  display: flex; align-items: center; gap: 16px; margin: 36px auto 0; max-width: 640px;
  padding: 20px 24px; border-radius: var(--radius);
  background: var(--dusk-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--dusk) 35%, var(--line));
}
.trust-box svg { flex: none; color: var(--dusk-deep); }
.trust-box p { margin: 0; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--dusk); color: var(--on-dusk); box-shadow: 0 8px 20px rgba(201, 130, 107, 0.28); }
.btn-primary:hover { background: var(--dusk-deep); box-shadow: 0 12px 26px rgba(201, 130, 107, 0.38); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--dusk); color: var(--link); }
.btn-small { padding: 10px 18px; font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
  transition: height .3s var(--ease);
}
.site-header.scrolled .header-inner { height: 62px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-text { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: 0.01em; white-space: nowrap; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, var(--dusk) 0 56%, transparent 57%),
              linear-gradient(to bottom, transparent 0 62%, var(--sky) 62% 72%, transparent 72%);
  background-color: var(--dusk-soft);
  flex: none;
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: ""; position: absolute; left: 4px; right: 4px; top: 15px; height: 2px;
  background: var(--paper); border-radius: 2px; opacity: .9;
}

.nav { display: flex; gap: 6px; }
.nav a {
  color: var(--ink); font-weight: 600; font-size: 0.95rem;
  padding: 8px 12px; border-radius: 999px; position: relative;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav a:hover { text-decoration: none; background: var(--panel); }
.nav a.active { color: var(--link); }
.nav a.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px;
  background: var(--dusk); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  cursor: pointer; position: relative; display: grid; place-items: center;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.theme-toggle:hover { border-color: var(--dusk); transform: rotate(15deg); }
.theme-toggle svg { position: absolute; transition: transform .45s var(--ease), opacity .3s var(--ease); color: var(--ink); }
/* light mode shows the moon (what you switch to); dark mode shows the sun */
.theme-toggle .icon-moon { transform: scale(1) rotate(0); opacity: 1; }
.theme-toggle .icon-sun { transform: scale(.4) rotate(90deg); opacity: 0; color: var(--dusk); }
:root[data-theme="dark"] .theme-toggle .icon-moon { transform: scale(.4) rotate(-90deg); opacity: 0; }
:root[data-theme="dark"] .theme-toggle .icon-sun { transform: scale(1) rotate(0); opacity: 1; }

.menu-toggle {
  display: none; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--card); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  isolation: isolate;
}

.atmosphere {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  --mx: 0; --my: 0;
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85;
  will-change: transform;
  transform: translate(calc(var(--mx) * 1px), calc(var(--my) * 1px));
}
.blob-1 { width: 620px; height: 620px; background: var(--blob-1); top: -220px; right: -120px; animation: drift1 22s ease-in-out infinite alternate; }
.blob-2 { width: 520px; height: 520px; background: var(--blob-2); bottom: -240px; right: 22%; animation: drift2 26s ease-in-out infinite alternate; }
.blob-3 { width: 460px; height: 460px; background: var(--blob-3); top: 30%; left: -200px; animation: drift3 30s ease-in-out infinite alternate; }

@keyframes drift1 { from { translate: 0 0; } to { translate: -60px 50px; } }
@keyframes drift2 { from { translate: 0 0; } to { translate: 70px -40px; } }
@keyframes drift3 { from { translate: 0 0; } to { translate: 50px 60px; } }

.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}

.hero-copy { animation: fade-up .9s var(--ease) both; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-copy h1 { margin-bottom: 20px; font-size: clamp(2.4rem, 4.8vw, 3.7rem); }
.lede { font-size: 1.25rem; color: var(--muted); max-width: 58ch; margin-bottom: 30px; }
.hero .lede { font-size: 1.12rem; line-height: 1.55; max-width: 60ch; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-proof { color: var(--muted); font-size: 0.95rem; margin: 0; }
.hero-proof a { color: var(--ink); font-weight: 600; }

.hero-visual { animation: fade-up 1.1s var(--ease) .15s both; position: relative; }
.portrait-frame {
  position: relative;
  border-radius: 200px 200px 22px 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 5;
  max-width: 420px;
  margin: 0 auto;
  background: var(--dusk-soft);
}
.portrait-frame::before {
  content: ""; position: absolute; inset: -14px; border-radius: inherit; z-index: -1;
  background: linear-gradient(160deg, var(--blob-1), var(--blob-2));
  filter: blur(30px); opacity: .5;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.portrait-caption {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; display: flex; flex-direction: column; align-items: center;
  box-shadow: var(--shadow); white-space: nowrap;
}
.caption-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.1; }
.caption-title { font-size: 0.8rem; color: var(--muted); }

@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Stats strip
   -------------------------------------------------------------------------- */

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 30px 24px; text-align: center; border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat-num {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 2.7rem; line-height: 1; color: var(--dusk-deep);
  font-variant-numeric: tabular-nums; margin-bottom: 6px;
}
.stat-text { font-size: 2.4rem; letter-spacing: .04em; }
.stat-label { color: var(--muted); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Cards, lists
   -------------------------------------------------------------------------- */

.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  transform-style: preserve-3d;
}
.card:hover { box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--dusk) 40%, var(--line)); }
.card h3 { margin-bottom: 12px; }
.card > p { color: var(--muted); }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--dusk-soft); color: var(--dusk-deep); margin-bottom: 20px;
}

.check-list { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--dusk-soft);
}
.check-list li::after {
  content: ""; position: absolute; left: 5px; top: 11px; width: 6px; height: 3px;
  border-left: 2px solid var(--dusk-deep); border-bottom: 2px solid var(--dusk-deep); transform: rotate(-45deg);
}

.dot-list { list-style: none; display: grid; gap: 8px; margin: 18px 0 26px; color: var(--muted); }
.dot-list li { padding-left: 18px; position: relative; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--dusk); }

/* Quote section */
.quote-section { padding: 0 0 96px; }
.quote-box {
  position: relative; margin: 0 auto; max-width: 820px; text-align: center;
  padding: 56px 48px 44px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--dusk-soft), var(--sky-soft));
  border: 1px solid var(--line);
}
.quote-mark {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--dusk); color: var(--on-dusk); box-shadow: var(--shadow);
}
.quote-box p {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.3; margin-bottom: 12px;
}
.quote-box cite { font-style: normal; color: var(--muted); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding: 32px 28px 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--dusk); color: var(--on-dusk); font-family: var(--font-display); font-weight: 600; font-size: 1.4rem;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }

/* Prices */
.price-cards { max-width: 860px; margin: 0 auto; }
.price-card { display: flex; flex-direction: column; }
.price-format { font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 3rem; line-height: 1; margin-bottom: 4px; color: var(--ink); }
.price-from { font-size: 1.2rem; font-weight: 500; color: var(--muted); margin-right: 4px; }
.price-card .btn { align-self: flex-start; margin-top: auto; }

/* Single price box */
.price-single { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; padding: 40px 44px; }
.price-main { display: flex; flex-direction: column; align-items: flex-start; }
.price-single .price { margin-bottom: 8px; font-size: 3.6rem; }
.price-sub { color: var(--muted); margin-bottom: 22px; max-width: 30ch; }
.price-formats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-left: 1px solid var(--line); padding-left: 40px; }
.price-option h3 { font-size: 1.35rem; margin-bottom: 8px; }
.price-option .dot-list { margin: 0; gap: 6px; font-size: .97rem; }
@media (max-width: 1024px) {
  .price-single { grid-template-columns: 1fr; gap: 28px; }
  .price-formats { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
}
@media (max-width: 700px) {
  .price-single { padding: 26px; }
  .price-formats { grid-template-columns: 1fr; gap: 18px; }
  .price-main .btn { align-self: stretch; justify-content: center; }
}

/* Methods */
.methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--line); }
.method { padding: 26px 0; border-bottom: 1px solid var(--line); }
.method h3 { font-size: 1.35rem; margin-bottom: 8px; }
.method p { color: var(--muted); margin: 0; }

/* Groups */
.groups-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.groups-grid .btn { margin-top: 8px; }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  font-size: .95rem; transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.pill-list li:hover { transform: translateY(-2px); border-color: var(--dusk); }

/* Testimonials */
.t-reach { text-align: center; color: var(--muted); font-size: 1.02rem; line-height: 1.7; max-width: 62ch; margin: -6px auto 36px; }
.t-reach-item { white-space: nowrap; color: var(--ink); font-weight: 600; }
.t-reach-item .flag { margin: 0 6px 0 2px; vertical-align: -1px; }
.t-countries-box {
  display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 20px 32px; align-items: center;
  padding: 22px 26px; margin: -4px 0 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.t-countries-title { margin: 0 0 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; color: var(--ink); }
.t-countries-note { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.t-countries { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
/* Country chips: staggered entrance when the card scrolls into view, gentle lift on hover */
.js .t-countries .t-tag { opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .55s var(--ease), transform .55s var(--ease), background .25s var(--ease), border-color .25s var(--ease); }
.js .t-countries-box.in .t-tag { opacity: 1; transform: none; }
.t-countries .t-tag:nth-child(1) { transition-delay: .05s; }
.t-countries .t-tag:nth-child(2) { transition-delay: .12s; }
.t-countries .t-tag:nth-child(3) { transition-delay: .19s; }
.t-countries .t-tag:nth-child(4) { transition-delay: .26s; }
.t-countries .t-tag:nth-child(5) { transition-delay: .33s; }
.t-countries .t-tag:nth-child(6) { transition-delay: .40s; }
.t-countries .t-tag:nth-child(7) { transition-delay: .47s; }
.js .t-countries-box.in .t-tag:hover { transform: translateY(-3px); transition-delay: 0s; background: var(--dusk-soft); border-color: color-mix(in srgb, var(--dusk) 45%, var(--line)); }
.t-countries .t-tag .flag { transition: transform .3s var(--ease); }
.t-countries .t-tag:hover .flag { transform: scale(1.15); }
.t-countries .t-tag { font-size: .88rem; padding: 7px 13px; gap: 8px; }
.flag { display: inline-block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.1); flex: none; }
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
.testimonial {
  margin: 0; padding: 26px 28px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  position: relative; display: flex; flex-direction: column; gap: 0; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--dusk) 40%, var(--line)); }
.testimonial::before {
  content: "\201E"; position: absolute; top: 34px; right: 26px; font-family: var(--font-display);
  font-size: 5rem; line-height: 1; color: var(--dusk); opacity: .28; pointer-events: none;
}
.t-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 56px 18px 0; }
.t-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .01em; line-height: 1.3;
}
.t-tag svg { flex: none; color: var(--dusk-deep); }
.t-tag-place { background: var(--card); color: var(--ink); }
.testimonial blockquote { margin: 0; flex: 1; }
.testimonial .t-excerpt { font-family: var(--font-display); font-size: 1.32rem; line-height: 1.42; margin: 0 0 22px; }
.t-full p { color: var(--ink); font-size: 1.04rem; line-height: 1.65; margin: 0 0 14px; }
.t-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.t-who { display: flex; align-items: center; gap: 12px; margin: 0; }
.t-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em;
  background: var(--dusk-soft); color: var(--ink);
}
.testimonial:nth-child(even) .t-avatar { background: var(--sky-soft); }
.t-name { display: flex; flex-direction: column; font-weight: 600; color: var(--ink); line-height: 1.25; }
.t-meta { color: var(--muted); font-weight: 400; font-size: .88rem; }
.t-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--link); font: inherit; font-size: .9rem; font-weight: 600; line-height: 1.2;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.t-toggle:hover { background: var(--dusk-soft); border-color: color-mix(in srgb, var(--dusk) 50%, var(--line)); color: var(--dusk-deep); }
.t-toggle svg { transition: transform .25s var(--ease); }
.t-toggle:hover svg { transform: translate(1px, -1px); }

/* Testimonial dialog */
.t-modal {
  border: 0; padding: 0; margin: auto; background: var(--card); color: var(--ink); border-radius: 20px;
  width: min(92vw, 680px); max-width: 100%; max-height: min(85vh, 85dvh); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.t-modal::backdrop { background: rgba(10, 14, 20, .72); }
.t-modal[open] { animation: tmIn .3s var(--ease); }
@keyframes tmIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.t-modal-inner { display: flex; flex-direction: column; max-height: min(85vh, 85dvh); }
.t-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 22px 8px 30px; }
.t-modal-head .t-tags { margin: 6px 0 0; }
.t-modal-close {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--ink);
  font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background .25s var(--ease), transform .25s var(--ease);
}
.t-modal-close:hover { background: var(--dusk-soft); transform: rotate(90deg); }
.t-modal-body { overflow-y: auto; padding: 10px 30px 8px; overscroll-behavior: contain; }
.t-modal-body p:first-child { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.42; margin-bottom: 18px; }
.t-modal-who { padding: 16px 30px 24px; border-top: 1px solid var(--line); }
.t-modal-who .t-who { margin: 0; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 100px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.25;
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--link); }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--dusk); border-bottom: 2px solid var(--dusk);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-body { overflow: hidden; }
.faq-body p { color: var(--muted); padding-bottom: 20px; margin: 0; max-width: 60ch; }

/* Contact */
.contact { background: linear-gradient(160deg, var(--dusk-soft), var(--sky-soft)); border-top: 1px solid var(--line); }
.contact .contact-card { background: var(--card); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.contact-card {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
a.contact-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--dusk); }
.contact-label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-value { font-weight: 600; font-size: 1.1rem; overflow-wrap: anywhere; text-align: right; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-nav { display: flex; gap: 18px; }
.footer-nav a { color: var(--ink); font-weight: 600; }
.footer-muted { color: var(--muted); font-size: .92rem; }
.footer-copy { margin: 0; }
.footer-copy a { font-weight: 600; }

/* Consent pill */
.consent {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 8px 8px 16px; box-shadow: var(--shadow-lift);
  font-size: .88rem; max-width: calc(100vw - 32px);
  animation: fade-up .5s var(--ease) both;
}
.consent p { margin: 0; color: var(--muted); }
.consent-actions { display: flex; gap: 6px; }
.consent-btn {
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
}
.consent-yes { background: var(--dusk); border-color: var(--dusk); color: var(--on-dusk); }

/* --------------------------------------------------------------------------
   Motion: reveal on scroll (only when JS is present; hero never reveals)
   -------------------------------------------------------------------------- */

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .blob { animation: none; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive (first pass; full mobile pass comes after homepage sign-off)
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 24px 20px; gap: 4px;
    box-shadow: var(--shadow);
  }
  .nav.open a { padding: 12px 10px; font-size: 1.05rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy h1 { max-width: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .methods { grid-template-columns: 1fr; }
  .groups-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-grid .section-head { position: static; }
  .cards-3 { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  body { font-size: 1rem; }
  .section { padding: 64px 0; }
  .brand-text { font-size: 1.15rem; }
  .btn-small span { display: none; }
  .btn-small { padding: 10px 12px; }
  .cards-2 { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .hero { padding: 40px 0 64px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .portrait-frame { max-width: 320px; border-radius: 160px 160px 18px 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 12px; }
  .stat-num { font-size: 2.2rem; }
  .contact-card { flex-direction: column; align-items: flex-start; gap: 4px; }
  .contact-value { text-align: left; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .quote-section { padding-bottom: 64px; }
  .quote-box { padding: 44px 24px 32px; }
  .trust-box { flex-direction: column; text-align: center; }
  .blob { filter: blur(50px); }
}

/* --------------------------------------------------------------------------
   Subpages: page hero, facts, education, experience, trainings, certificates
   -------------------------------------------------------------------------- */

.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 64px 0 56px; }
.page-hero .atmosphere .blob { opacity: .6; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lede { margin-bottom: 26px; }
.page-hero-copy { animation: fade-up .9s var(--ease) both; }
.page-hero-visual { animation: fade-up 1.1s var(--ease) .15s both; }
.portrait-small { max-width: 340px; }
.alt-name { color: var(--muted); font-size: .95rem; margin: 0; }

.facts { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; max-width: 560px; }
.facts li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: .95rem;
}
.facts svg { flex: none; color: var(--dusk-deep); }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.prose { max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }
.topics { display: flex; flex-direction: column; justify-content: center; padding: 26px 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.topics .eyebrow { margin-bottom: 14px; }
.pill-list-compact { gap: 8px; }
.pill-list-compact li { padding: 7px 13px; font-size: .9rem; }
.topics-note { color: var(--muted); font-size: .92rem; margin: 16px 0 0; }
.topics-note a { font-weight: 600; }
.footer-copy a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.prose p { color: var(--muted); font-size: 1.1rem; }
.prose p strong { color: var(--ink); }

.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.edu-card { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; }
.edu-card img { border-radius: 8px; border: 1px solid var(--line); }
.edu-year { color: var(--dusk-deep); font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; line-height: 1; margin-bottom: 6px; }
.edu-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.edu-card p { color: var(--muted); margin: 0; font-size: .98rem; }

.exp-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 32px 0; }
.exp-list li { padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; display: flex; gap: 12px; align-items: flex-start; }
.exp-list svg { flex: none; color: var(--dusk-deep); margin-top: 2px; }
.exp-list li.exp-current { border-color: color-mix(in srgb, var(--dusk) 45%, var(--line)); background: var(--dusk-soft); }
.exp-meta { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }

.train-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 40px; }
.train-summary div { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-align: center; }
.train-summary .stat-num { font-size: 2.2rem; }
.train-group { margin-bottom: 36px; }
.train-group h3 { font-size: 1.45rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.train-list { list-style: none; display: grid; gap: 12px; }
.train-list li { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: baseline; }
.train-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--muted); font-size: .85rem; font-weight: 600;
  white-space: nowrap; transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.train-link:hover { text-decoration: none; color: var(--on-dusk); background: var(--dusk); border-color: var(--dusk); transform: translateY(-1px); }
.train-year { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--dusk-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.train-body { display: block; }
.train-body strong { display: block; font-weight: 600; }
.train-meta { display: block; color: var(--muted); font-size: .95rem; }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert {
  position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--card);
  border: 1px solid var(--line); aspect-ratio: 4 / 3; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); text-decoration: none; }
.cert img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cert-year {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px;
  background: var(--paper); color: var(--ink); font-size: .78rem; font-weight: 600; border: 1px solid var(--line);
}
.cert-hint { color: var(--muted); font-size: .95rem; margin-top: 18px; }

.cta-band { padding: 0 0 96px; }
.cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 40px 44px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--dusk-soft), var(--sky-soft)); border: 1px solid var(--line);
}
.cta-box h2 { font-size: 1.9rem; margin-bottom: 6px; }
.cta-box p { color: var(--muted); margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contact page */
.contact-page .contact-cards { grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-page .contact-card { flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px; }
.contact-page .contact-value { text-align: left; font-size: 1.3rem; font-family: var(--font-display); font-weight: 600; }
.contact-page .contact-note { color: var(--muted); font-size: .92rem; font-weight: 400; }
.write-box { padding: 28px 30px; border-radius: var(--radius); background: var(--dusk-soft); border: 1px solid color-mix(in srgb, var(--dusk) 35%, var(--line)); }
.write-box .write-title { font-size: 1.4rem; margin-bottom: 10px; }
.write-box ol { padding-left: 20px; display: grid; gap: 6px; }
.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.format { padding: 22px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.format h3 { font-size: 1.3rem; margin-bottom: 6px; }
.format p { color: var(--muted); margin: 0; font-size: .98rem; }

/* 404 */
.notfound { padding: 96px 0 120px; text-align: center; }
.notfound h1 { margin-bottom: 14px; }
.notfound p { color: var(--muted); font-size: 1.15rem; max-width: 48ch; margin: 0 auto 28px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center;
  background: rgba(10, 14, 20, .88); padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 80vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #fff; }
.lightbox-caption { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: #EEE8E0; font-size: .95rem; max-width: 80vw; text-align: center; }
.lightbox-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font-size: 1.4rem; cursor: pointer;
}
.lightbox-btn:hover { background: rgba(255,255,255,.22); }
.lightbox-prev { left: 20px; } .lightbox-next { right: 20px; }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font-size: 1.3rem; cursor: pointer; }
body.no-scroll { overflow: hidden; position: fixed; width: 100%; }
body.no-scroll .consent { display: none; }

@media (max-width: 1024px) {
  .page-hero-grid, .intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .train-summary { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .facts { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .train-list li { grid-template-columns: 1fr; gap: 6px; }
  .train-link { justify-self: start; }
  .edu-card { grid-template-columns: 1fr; }
  .edu-card .cert { max-width: 280px; }
  .contact-page .contact-cards, .formats { grid-template-columns: 1fr; }
  .cta-box { padding: 28px 24px; }
  .cta-actions .btn { flex: 1 1 100%; justify-content: center; }
  .lightbox-btn { width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
}

/* --------------------------------------------------------------------------
   Mobile pass (2026-09-20): touch targets, header height, hero length,
   consent bar, lightbox controls, sticky-hover fix, motion budget
   -------------------------------------------------------------------------- */

/* Hover styles only where a real hover exists; touch devices keep the resting state */
@media (hover: none) {
  .card:hover { transform: none; box-shadow: var(--shadow); border-color: var(--line); }
  .pill-list li:hover { transform: none; border-color: var(--line); }
  .cert:hover { transform: none; box-shadow: var(--shadow); }
  a.contact-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
  .theme-toggle:hover { transform: none; border-color: var(--line); }
  .train-link:hover { color: var(--muted); background: var(--card); border-color: var(--line); transform: none; }
  .testimonial:hover { transform: none; box-shadow: var(--shadow); border-color: var(--line); }
  .js .t-countries-box.in .t-tag:hover { transform: none; background: var(--card); border-color: var(--line); }
  .t-countries .t-tag:hover .flag { transform: none; }
  .t-toggle:hover { background: var(--card); border-color: var(--line); color: var(--link); }
  .t-toggle:hover svg { transform: none; }
  .t-modal-close:hover { transform: none; background: var(--panel); }
  .btn-primary:hover { background: var(--dusk); }
  .btn-ghost:hover { border-color: var(--line); color: var(--ink); }
}

/* 44px minimum tap targets on touch screens */
@media (pointer: coarse) {
  .theme-toggle, .menu-toggle { width: 44px; height: 44px; }
  .btn-small { min-height: 44px; min-width: 44px; padding: 10px 14px; }
  .t-toggle { min-height: 44px; padding: 10px 16px; }
  .t-modal-close { width: 46px; height: 46px; }
  .train-link { padding: 11px 16px; font-size: .9rem; }
  .footer-nav a { padding: 10px 4px; display: inline-block; }
  .consent-btn { padding: 10px 16px; font-size: .9rem; }
  .faq summary { padding-top: 18px; padding-bottom: 18px; }
  .nav.open a { padding: 14px 10px; }
}

@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .site-header.scrolled .header-inner { height: 58px; }
  .btn-small { padding: 10px 13px; border-radius: 50%; }
  .hero { padding: 28px 0 56px; }
  .hero-copy .eyebrow { font-size: .75rem; letter-spacing: .12em; margin-bottom: 14px; }
  .hero .lede { font-size: 1.02rem; line-height: 1.55; margin-bottom: 22px; }
  .hero-actions { margin-bottom: 16px; }
  .hero-proof { font-size: .9rem; }
  .portrait-frame { max-width: 260px; border-radius: 130px 130px 16px 16px; }
  .portrait-caption { bottom: -14px; padding: 8px 14px; }
  .caption-name { font-size: 1.05rem; }
  .blob { animation: none; }
  .train-summary { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .train-summary div { padding: 14px 6px; }
  .train-summary .stat-num { font-size: 1.6rem; }
  .train-summary .stat-label { font-size: .82rem; line-height: 1.25; display: block; }
  .consent {
    left: 0; right: 0; bottom: 0; max-width: none; border-radius: 16px 16px 0 0;
    padding: 12px 16px; justify-content: space-between; box-shadow: 0 -10px 30px rgba(60, 40, 30, 0.12);
  }
  .consent p { font-size: .9rem; line-height: 1.35; }
  .testimonials { grid-template-columns: 1fr; gap: 16px; }
  .testimonial { padding: 22px 20px 20px; }
  .testimonial::before { font-size: 4rem; top: 22px; right: 18px; }
  .t-tags { margin-right: 44px; }
  .t-reach { font-size: .98rem; margin-bottom: 26px; }
  .t-countries-box { grid-template-columns: 1fr; gap: 14px; padding: 18px 18px; margin-bottom: 24px; }
  .t-countries { gap: 6px; }
  .t-modal { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .t-modal-inner { max-height: 92dvh; }
  .t-modal-head { padding: 16px 14px 6px 20px; }
  .t-modal-body { padding: 8px 20px; }
  .t-modal-body p:first-child { font-size: 1.2rem; }
  .t-modal-who { padding: 14px 20px 22px; }
  .lightbox { padding: 12px; }
  .lightbox img { max-height: 72vh; max-width: 96vw; }
  .lightbox-caption { bottom: 14px; font-size: .8rem; max-width: 66vw; line-height: 1.3; }
  .lightbox-btn { top: auto; bottom: 10px; transform: none; width: 44px; height: 44px; }
  .lightbox-prev { left: 12px; } .lightbox-next { right: 12px; }
  .lightbox-close { width: 44px; height: 44px; top: 12px; right: 12px; }
}

@media (max-width: 360px) {
  .brand-text { font-size: 1.05rem; }
  .header-actions { gap: 6px; }
  .hero-copy h1 { font-size: 2.15rem; }
}

/* Mobile pass, round 2 */
a, button, summary, .cert, .contact-card { -webkit-tap-highlight-color: transparent; }
@media (pointer: coarse) {
  .btn:active, .train-link:active, .contact-card:active, .cert:active, .consent-btn:active { transform: scale(.97); }
  .theme-toggle:active, .menu-toggle:active { transform: scale(.94); }
  .faq summary:active { color: var(--dusk-deep); }
}
@media (max-width: 1024px) {
  .nav.open { max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
}
@media (max-width: 700px) {
  .lightbox img { touch-action: pinch-zoom; }
  .hero-copy .eyebrow .eyebrow-tail { display: none; }
  .steps { gap: 14px; }
  .step { padding: 24px 22px 22px; }
  .step-num { width: 38px; height: 38px; font-size: 1.2rem; margin-bottom: 12px; }
  .section-head { margin-bottom: 30px; }
  .methods .method { padding: 20px 0; }
  .cards-2, .cards-3 { gap: 16px; }
  .train-group { margin-bottom: 26px; }
  .footer-nav { gap: 10px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: 20px 0 36px; }
  .hero-grid { gap: 24px; }
  .portrait-frame { max-width: 220px; }
}

/* Legal page */
.page-hero-narrow .page-hero-copy { max-width: 68ch; }
.legal-body { max-width: 72ch; }
.legal-body h2 { font-size: 1.55rem; margin: 40px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { padding-left: 20px; margin: 0 0 14px; }
.legal-body li { margin-bottom: 6px; }
.legal-body li strong, .legal-body p strong { color: var(--ink); }
.legal-body p a, .legal-body li a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal-body p a:hover, .legal-body li a:hover { color: var(--dusk-deep); }
.legal-meta { font-size: .95rem; }
.cookie-box { margin: 20px 0 8px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.cookie-box p { margin: 0; }

/* Reach notes (bottom-right cards) */
.reach { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.reach-card {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; max-width: min(360px, calc(100vw - 32px));
  padding: 12px 14px 12px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lift);
  opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.reach-card.in { opacity: 1; transform: none; }
.reach-flag { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--panel); display: inline-flex; align-items: center; justify-content: center; }
.reach-flag svg { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.reach-text { display: flex; flex-direction: column; gap: 2px; font-size: .92rem; line-height: 1.3; color: var(--muted); }
.reach-text strong { color: var(--ink); font-weight: 600; }
.reach-close { position: relative; flex: none; width: 36px; height: 36px; margin-left: 2px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 1.25rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.reach-close:hover { background: var(--panel); color: var(--ink); }
.reach-ring { position: absolute; inset: 0; width: 36px; height: 36px; transform: rotate(-90deg); pointer-events: none; }
.reach-ring circle { fill: none; stroke-width: 2.5; }
.reach-ring-track { stroke: var(--line); }
.reach-ring-bar { stroke: var(--dusk); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.reach-card.in .reach-ring-bar { animation: reachRing var(--reach-ms, 8000ms) linear forwards; }
.reach-card.paused .reach-ring-bar { animation-play-state: paused; }
@keyframes reachRing { to { stroke-dashoffset: 100; } }
@media (max-width: 700px) {
  .reach { left: 12px; right: 12px; bottom: 12px; align-items: stretch; }
  .reach-card { max-width: none; }
  body:has(.consent:not([hidden])) .reach { bottom: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  .t-modal[open] { animation: none; }
  .js .t-countries .t-tag { opacity: 1; transform: none; transition: none; }
  .reach-card { transition: none; }
  .reach-card.in .reach-ring-bar { animation: none; opacity: 0; }
  .testimonial, .t-toggle, .t-toggle svg, .t-modal-close { transition: none; }
  .testimonial:hover { transform: none; }
}
