/* =========================================================
   UniDentArt — All-on-X landing
   ========================================================= */

:root {
  /* Brand (taken from unidentart.md) */
  --blue: #1e84b5;
  --blue-600: #186f99;
  --blue-100: #dcefff;
  --navy: #0e384c;
  --navy-900: #08202d;
  --ice: #eff8ff;
  --muted: #527282;
  --ink: #0b2a39;
  --line: #d4e6f2;
  --white: #fff;
  --wa: #25d366;
  --wa-600: #1ea952;
  --danger: #d64545;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --text-sm: 0.875rem;
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --h1: clamp(2.2rem, 1.3rem + 3.6vw, 4rem);
  --h2: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  --h3: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);

  --space-section: clamp(4rem, 3rem + 4vw, 7.5rem);
  --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 8px rgb(14 56 76 / 0.06);
  --shadow: 0 12px 32px -12px rgb(14 56 76 / 0.22);
  --shadow-lg: 0 30px 60px -24px rgb(8 32 45 / 0.45);

  --card-pad: clamp(1.2rem, 0.95rem + 0.8vw, 1.6rem);
  --card-title: 1.06rem;
  --card-text: 0.94rem;
  --badge: 42px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 280ms;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.6em; color: var(--navy); letter-spacing: -0.02em; }
h1 { font-size: var(--h1); font-weight: 800; }
h2 { font-size: var(--h2); font-weight: 700; }
h3 { font-size: var(--h3); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ol, ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico-sm { width: 0.9em; height: 0.9em; }
.ico-lg { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--ice); color: var(--blue); margin-bottom: 16px; }
.flip { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.95em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap;
  transition: transform var(--dur) var(--ease), background-color var(--dur), box-shadow var(--dur), color var(--dur), border-color var(--dur);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 0.65em 1.2em; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px -10px rgb(30 132 181 / 0.8); }
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 14px 30px -10px rgb(30 132 181 / 0.9); }
.btn-primary .ico { transition: transform var(--dur) var(--ease); }
.btn-primary:hover .ico { transform: translateX(3px); }
.btn-ghost-light { color: var(--white); border-color: rgb(255 255 255 / 0.45); background: rgb(255 255 255 / 0.06); }
.btn-ghost-light:hover { border-color: var(--white); background: rgb(255 255 255 / 0.14); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--ice); }
.btn-wa { background: var(--wa); color: #06331a; }
.btn-wa:hover { background: #3ee07c; }
.btn-outline { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.link-arrow { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-head); font-weight: 700; color: var(--blue); text-decoration: none; }
.link-arrow .ico { transition: transform var(--dur) var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #8fd0f0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color var(--dur), box-shadow var(--dur), height var(--dur);
}
.site-header.is-scrolled { background: rgb(14 56 76 / 0.96); backdrop-filter: blur(10px); box-shadow: 0 8px 30px -12px rgb(0 0 0 / 0.35); --header-h: 66px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo { height: 40px; width: auto; }
.main-nav { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.main-nav a { color: rgb(255 255 255 / 0.86); text-decoration: none; font-weight: 600; font-size: 0.94rem; position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #8fd0f0; transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-weight: 700; font-size: 0.92rem; }
.header-phone:hover { color: #8fd0f0; }

.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.3); background: rgb(255 255 255 / 0.06); color: var(--white);
  font-weight: 700; font-size: 0.85rem; transition: background-color var(--dur), border-color var(--dur);
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: rgb(255 255 255 / 0.16); border-color: rgb(255 255 255 / 0.6); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 180ms, transform 180ms var(--ease), visibility 180ms;
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  width: 100%; text-align: left; padding: 9px 12px; border: 0; border-radius: 9px; background: none;
  color: var(--navy); font-weight: 600; font-size: 0.92rem;
}
.lang-menu button:hover { background: var(--ice); }
.lang-menu button[aria-selected="true"] { background: var(--blue-100); color: var(--blue-600); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: rgb(255 255 255 / 0.1); border-radius: 12px; padding: 12px 11px; }
.burger span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur); }
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--white);
  padding: calc(var(--header-h) + clamp(2rem, 4.5vw, 4rem)) 0 clamp(5.5rem, 8vw, 7.5rem);
  background: var(--navy-900);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(8 32 45 / 0.9) 0%, rgb(8 32 45 / 0.8) 38%, rgb(8 32 45 / 0.45) 58%, rgb(8 32 45 / 0.25) 100%),
    linear-gradient(0deg, rgb(8 32 45 / 0.6) 0%, transparent 30%, transparent 80%, rgb(8 32 45 / 0.55) 100%);
}
.hero::after { /* soft grain for depth */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.07; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
/* Before / after labels on the background halves */
.hero-tag {
  position: absolute; top: 50%; z-index: 0; writing-mode: vertical-rl;
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  padding: 14px 7px; border-radius: 999px; color: var(--white); backdrop-filter: blur(6px);
}
.hero-tag--before { left: 18px; transform: translateY(-50%) rotate(180deg); background: rgb(8 32 45 / 0.55); border: 1px solid rgb(255 255 255 / 0.2); }
.hero-tag--after { right: 18px; transform: translateY(-50%); background: rgb(30 132 181 / 0.85); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 1.25rem + 2.3vw, 3.1rem); line-height: 1.12; margin-bottom: 0.5em; text-wrap: balance; }
.hero h1 .hl { color: #6cc3ee; white-space: nowrap; }
.hero-lead { font-size: clamp(0.98rem, 0.94rem + 0.2vw, 1.08rem); color: rgb(255 255 255 / 0.82); max-width: 34em; margin-bottom: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }

.hero-media { position: relative; }
.hero-media::before { /* accent frame offset */
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid rgb(108 195 238 / 0.45); border-radius: var(--radius-lg);
}
.yt {
  position: relative; display: block; width: 100%; aspect-ratio: 5 / 4; padding: 0; border: 0;
  border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-lg);
}
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.yt:hover img { transform: scale(1.03); }
.yt-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 84px; height: 84px; border-radius: 50%; border: 0;
  background: rgb(255 255 255 / 0.95); color: var(--blue);
  display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgb(255 255 255 / 0.18);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}
.yt-play svg { width: 34px; height: 34px; margin-left: 4px; }
.yt:hover .yt-play { transform: scale(1.08); box-shadow: 0 0 0 16px rgb(255 255 255 / 0.2); }
.yt-play::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgb(255 255 255 / 0.6); animation: pulse 2.4s var(--ease) infinite; }
.yt-caption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 3rem 1.5rem 1.25rem; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--white);
  background: linear-gradient(transparent, rgb(0 0 0 / 0.75)); pointer-events: none;
}
@keyframes pulse { 0% { transform: scale(0.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- Shared card surface (every card uses the same look) ---------- */
.quick-card, .ind-card, .step, .bento-card, .rev, .member {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur);
}
.quick-card:hover, .ind-card:hover, .step:hover, .bento-card:hover, .member:hover {
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue);
}
/* Shared number badge */
.quick-num, .ind-n, .step-n, .abroad-steps li::before {
  width: var(--badge); height: var(--badge); border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--ice); color: var(--blue); font-family: var(--font-head); font-weight: 800; font-size: 0.9rem;
}

/* ---------- Quick cards ---------- */
.quick { position: relative; z-index: 2; margin-top: clamp(-4.5rem, -5vw, -3rem); }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quick-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: var(--card-pad); text-decoration: none; box-shadow: var(--shadow);
}
.quick-title { font-family: var(--font-head); font-weight: 700; font-size: var(--card-title); color: var(--navy); line-height: 1.3; }
.quick-card .ico { color: var(--blue); transition: transform var(--dur) var(--ease); }
.quick-card:hover .ico { transform: translateX(4px); }
.quick-card--accent { background: var(--blue); border-color: var(--blue); }
.quick-card--accent .quick-title, .quick-card--accent .ico { color: var(--white); }
.quick-card--accent .quick-num { background: rgb(255 255 255 / 0.18); color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: var(--space-section) 0; }
.section--ice { background: var(--ice); }
.section--navy { background: var(--navy); color: rgb(255 255 255 / 0.86); position: relative; isolation: isolate; }
.section--navy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 10% 0%, rgb(30 132 181 / 0.35), transparent 70%), radial-gradient(40% 50% at 100% 100%, rgb(30 132 181 / 0.22), transparent 70%); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { text-wrap: balance; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head--light .section-sub { color: rgb(255 255 255 / 0.72); }
.section-sub { font-size: var(--text-lg); color: var(--muted); margin: 0.2rem 0 0; max-width: 46em; }
.strip-title, .team-title { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem); color: var(--navy); margin: clamp(3rem, 6vw, 4.5rem) 0 1.25rem; }
.center-cta { display: flex; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.ba { margin: 0; }
.ba figcaption { margin-top: 12px; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.ba-frame { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); user-select: none; background: #e8eef2; }
.ba-frame > img, .ba-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--white); translate: -50% 0; pointer-events: none; box-shadow: 0 0 12px rgb(0 0 0 / 0.3); }
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; translate: -50% -50%;
  border-radius: 50%; background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e84b5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m9 6-6 6 6 6M15 6l6 6-6 6'/></svg>") center / 24px no-repeat;
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.25);
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; touch-action: pan-y; }
.ba-range:focus-visible ~ .ba-handle::after, .ba-frame:focus-within .ba-handle::after { outline: 3px solid var(--blue); outline-offset: 2px; }
.ba-tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; background: rgb(8 32 45 / 0.72); color: var(--white); backdrop-filter: blur(6px); pointer-events: none; }
.ba-tag--l { left: 14px; }
.ba-tag--r { right: 14px; background: var(--blue); }

.strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 26vw, 300px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--blue) var(--ice); }
.strip-item { scroll-snap-align: start; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ice); }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.strip-item:hover img { transform: scale(1.06); }

/* ---------- Split (about) ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-copy > p:not(.eyebrow) { color: var(--muted); font-size: var(--text-lg); }
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 28px; margin-top: 2rem; }
.benefits li { display: flex; gap: 14px; }
.benefits strong { display: block; font-family: var(--font-head); font-size: var(--card-title); color: var(--navy); margin-bottom: 4px; line-height: 1.3; }
.benefits p { margin: 0; font-size: var(--card-text); color: var(--muted); }
.benefit-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--white); color: var(--blue); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.benefit-ico svg { width: 24px; height: 24px; }

.stack { position: relative; padding: 0 0 12% 14%; }
.stack-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.stack-sub { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--ice); box-shadow: var(--shadow-lg); }
.stack-badge { position: absolute; right: -10px; top: 12%; background: var(--navy); color: var(--white); padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 190px; }
.stack-badge strong { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1; color: #6cc3ee; margin-bottom: 4px; }
.stack-badge span { font-size: 0.85rem; line-height: 1.35; display: block; }

/* ---------- Indications ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: ind; }
.ind-card { position: relative; padding: var(--card-pad); }
.ind-card p { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: var(--card-title); color: var(--navy); line-height: 1.4; }
.ind-n { margin-bottom: 16px; }
.ind-card--cta { background: var(--ice); border-style: dashed; border-color: var(--blue); box-shadow: none; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.ind-card--cta p { font-family: var(--font-body); font-weight: 500; font-size: var(--card-text); color: var(--ink); }

/* ---------- Band ---------- */
.band { background: linear-gradient(110deg, var(--blue) 0%, #1a6f9a 55%, var(--navy) 100%); color: var(--white); padding: clamp(2.5rem, 5vw, 4rem) 0; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 50px solid rgb(255 255 255 / 0.06); }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; z-index: 1; }
.band h2 { color: var(--white); margin-bottom: 0.35em; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.band p { margin: 0; color: rgb(255 255 255 / 0.85); max-width: 40em; }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* ---------- Doctor ---------- */
.doc { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.doc-media { position: relative; padding-right: 22%; padding-bottom: 8%; }
.doc-portrait { width: 100%; aspect-ratio: 600 / 616; object-fit: cover; border-radius: var(--radius-lg); background: #eceff1; box-shadow: var(--shadow); }
.doc-action { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--white); box-shadow: var(--shadow-lg); }
.doc-role { font-family: var(--font-head); font-weight: 600; color: var(--blue); margin-top: -0.3em; }
.doc-copy > p:not(.eyebrow):not(.doc-role) { color: var(--muted); font-size: var(--text-lg); }
.checks { display: grid; gap: 10px; margin: 1.4rem 0 2rem; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks .ico { color: var(--white); background: var(--blue); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 1px; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.member { display: flex; gap: 16px; align-items: center; padding: 14px; }
.member img { width: 96px; height: 96px; object-fit: cover; object-position: top; border-radius: 14px; flex: none; background: #e3e8eb; }
.member h4 { margin: 0 0 4px; font-size: var(--card-title); }
.member-role { margin: 0; font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.member-exp { margin: 6px 0 0; font-size: 0.8rem; font-weight: 700; color: var(--blue); }
.cert { padding: 0; border: 0; border-radius: 14px; overflow: hidden; flex: none; width: 96px; height: 96px; background: var(--ice); }
.cert img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.cert:hover img { transform: scale(1.08); }

/* ---------- Videos ---------- */
.vid-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 16px; align-items: stretch; }
.vid {
  position: relative; display: block; padding: 0; border: 0; overflow: hidden; border-radius: var(--radius);
  background: #000; aspect-ratio: 9 / 16; text-align: left; color: var(--white);
  box-shadow: 0 20px 40px -20px rgb(0 0 0 / 0.6);
}
.vid--wide { aspect-ratio: auto; }
.vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 700ms var(--ease), opacity var(--dur); }
.vid:hover img { transform: scale(1.05); opacity: 1; }
.vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(0 0 0 / 0.8)); }
.vid-play { position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%; width: 62px; height: 62px; border-radius: 50%; background: rgb(255 255 255 / 0.92); color: var(--blue); display: grid; place-items: center; transition: transform var(--dur) var(--ease); }
.vid-play svg { width: 26px; height: 26px; margin-left: 3px; }
.vid:hover .vid-play { transform: scale(1.1); }
.vid-label { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; }
.vid-label strong { font-family: var(--font-head); font-size: 1rem; line-height: 1.25; }
.vid-label small { color: rgb(255 255 255 / 0.7); font-weight: 600; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.step { display: flex; flex-direction: column; overflow: hidden; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.step-body { padding: var(--card-pad); padding-top: calc(var(--card-pad) + 8px); position: relative; flex: 1; }
.step-n { position: absolute; top: calc(var(--badge) / -2); left: var(--card-pad); background: var(--blue); color: var(--white); box-shadow: 0 8px 18px -6px rgb(30 132 181 / 0.7); }
.step h3 { margin: 0.4rem 0 0.4em; font-size: var(--card-title); }
.step p { margin: 0; font-size: var(--card-text); color: var(--muted); }

/* ---------- Bento (why) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-areas: "a a w2 b" "a a w3 b" "w5 w5 w6 w6"; grid-auto-rows: minmax(200px, auto); gap: 16px; }
.bento-card { padding: var(--card-pad); }
.bento-card h3 { font-size: var(--card-title); margin-bottom: 0.4em; }
.bento-card p { margin: 0; font-size: var(--card-text); color: var(--muted); }
.bento-card--photo { position: relative; padding: 0; overflow: hidden; min-height: 300px; border: 0; }
.bento-a { grid-area: a; }
.bento-b { grid-area: b; }
.bento-w2 { grid-area: w2; }
.bento-w3 { grid-area: w3; }
.bento-w5 { grid-area: w5; }
.bento-w6 { grid-area: w6; }
.bento-card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.bento-card--photo:hover img { transform: scale(1.04); }
.bento-overlay { position: absolute; inset: auto 0 0; padding: 4rem var(--card-pad) var(--card-pad); background: linear-gradient(transparent, rgb(8 32 45 / 0.92) 55%); color: rgb(255 255 255 / 0.85); }
.bento-overlay h3 { color: var(--white); }
.bento-overlay p { color: rgb(255 255 255 / 0.8); }
.bento-overlay .ico-lg { color: #6cc3ee; background: rgb(255 255 255 / 0.12); }

/* ---------- Abroad ---------- */
.abroad { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.abroad-copy > p:not(.eyebrow) { color: var(--muted); font-size: var(--text-lg); }
.abroad-steps { counter-reset: s; display: grid; gap: 4px; margin: 1.6rem 0 2rem; }
.abroad-steps li { counter-increment: s; position: relative; min-height: calc(var(--badge) + 1.8rem); padding: 0.9rem 0 0.9rem calc(var(--badge) + 16px); border-bottom: 1px solid var(--line); }
.abroad-steps li::before { content: counter(s); position: absolute; left: 0; top: 0.9rem; }
.abroad-steps strong { display: block; font-family: var(--font-head); font-size: var(--card-title); color: var(--navy); }
.abroad-steps span { font-size: var(--card-text); color: var(--muted); }
.quote { margin: 0; padding: 1.25rem 1.5rem; border-left: 4px solid var(--blue); background: var(--ice); border-radius: 0 var(--radius) var(--radius) 0; }
.quote p { margin: 0 0 0.5em; font-style: italic; color: var(--navy); }
.quote cite { font-style: normal; font-weight: 700; font-size: 0.9rem; color: var(--blue); }
.abroad-media { position: relative; justify-self: center; width: min(360px, 100%); }
.vid--phone { width: 100%; border-radius: 34px; border: 8px solid var(--navy); box-shadow: var(--shadow-lg); }
.abroad-badge { position: absolute; left: -40px; bottom: 60px; display: flex; gap: 10px; align-items: center; max-width: 250px; padding: 12px 16px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow-lg); font-size: 0.85rem; font-weight: 700; color: var(--navy); line-height: 1.35; }
.abroad-badge .ico { color: var(--blue); width: 26px; height: 26px; }

/* ---------- Reviews ---------- */
.rev-nav { display: flex; gap: 10px; }
.round-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); display: grid; place-items: center; transition: background-color var(--dur), color var(--dur), border-color var(--dur); }
.round-btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.rev-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; }
.rev-track::-webkit-scrollbar { display: none; }
.rev { scroll-snap-align: start; display: flex; flex-direction: column; padding: var(--card-pad); }
.rev p { flex: 1; color: var(--ink); }
.rev footer { font-family: var(--font-head); font-weight: 700; color: var(--navy); padding-top: 1rem; border-top: 1px solid var(--line); }
.stars { display: flex; gap: 3px; color: #f5b301; margin-bottom: 1rem; }
.stars svg { width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-side > p:not(.eyebrow) { color: var(--muted); }
.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; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 1.25rem 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ice) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e84b5' stroke-width='2.4' stroke-linecap='round'><path d='M12 5v14M5 12h14'/></svg>") center / 16px no-repeat; transition: transform var(--dur) var(--ease), background-color var(--dur); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--blue-100); }
.faq summary:hover { color: var(--blue); }
.faq details p { margin: 0 0 1.25rem; color: var(--muted); max-width: 60ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.contact-grid > *, .hero-grid > *, .split > *, .doc > *, .abroad > *, .faq-wrap > * { min-width: 0; }
.contact-sub { color: rgb(255 255 255 / 0.75); font-size: var(--text-lg); }
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 16px; margin-top: 1.75rem; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 0.85rem; font-weight: 700; color: rgb(255 255 255 / 0.85); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: 12px; border: 1.5px solid rgb(255 255 255 / 0.16);
  background: rgb(255 255 255 / 0.06); color: var(--white); font: inherit; font-size: 1rem;
  transition: border-color var(--dur), background-color var(--dur);
}
.field input::placeholder, .field textarea::placeholder { color: rgb(255 255 255 / 0.4); }
.field input:focus, .field textarea:focus { outline: none; border-color: #6cc3ee; background: rgb(255 255 255 / 0.1); }
.field textarea { resize: vertical; min-height: 96px; }
.field-err { display: none; color: #ff9d9d; font-size: 0.8rem; font-weight: 600; }
.field.is-invalid .field-err { display: block; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff9d9d; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 0.5rem 1rem; border-radius: 999px; border: 1.5px solid rgb(255 255 255 / 0.2); font-size: 0.88rem; font-weight: 600; color: rgb(255 255 255 / 0.85); transition: all var(--dur); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid #6cc3ee; outline-offset: 2px; }
.upload { display: flex; align-items: center; gap: 14px; padding: 1rem 1.1rem; border: 1.5px dashed rgb(108 195 238 / 0.6); border-radius: 14px; cursor: pointer; background: rgb(30 132 181 / 0.08); transition: background-color var(--dur), border-color var(--dur); }
.upload:hover { background: rgb(30 132 181 / 0.16); border-color: #6cc3ee; }
.upload .ico { width: 28px; height: 28px; color: #6cc3ee; }
.upload-text { display: flex; flex-direction: column; }
.upload-text strong { color: var(--white); font-size: 0.93rem; }
.upload-text small { color: rgb(255 255 255 / 0.6); font-weight: 500; }
.upload-name { margin-left: auto; font-size: 0.82rem; color: #8fd0f0; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#f-file:focus-visible + .field-err, .field:focus-within .upload { border-color: #6cc3ee; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; font-weight: 500 !important; color: rgb(255 255 255 / 0.75) !important; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.is-ok { color: #7ee2a8; }
.form-status.is-err { color: #ff9d9d; }
.form.is-sending button[type="submit"] { opacity: 0.7; pointer-events: none; }

.contact-info { display: grid; gap: 16px; }
.info-card { padding: 1.75rem; border-radius: var(--radius-lg); background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg); }
.info-logo { height: 42px; width: auto; margin-bottom: 1.25rem; }
.info-list { display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; min-width: 0; overflow-wrap: anywhere; }
.info-list .ico { color: var(--blue); margin-top: 3px; }
.info-list a { text-decoration: none; font-weight: 700; color: var(--navy); }
.info-list a:hover { color: var(--blue); }
.messengers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 1.4rem; }
.msg { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0.7rem 0.4rem; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 0.85rem; color: var(--white); transition: transform var(--dur) var(--ease), filter var(--dur); }
.msg svg { width: 18px; height: 18px; }
.msg:hover { transform: translateY(-2px); filter: brightness(1.08); }
.msg--wa { background: var(--wa-600); }
.msg--vb { background: #7360f2; }
.msg--tg { background: #229ed9; }
.map { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: #dfe9ef; box-shadow: var(--shadow-lg); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgb(255 255 255 / 0.6); padding: 3rem 0 6rem; font-size: 0.88rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 3rem; align-items: center; }
.footer-inner img { height: 36px; width: auto; }
.footer-disclaimer { margin: 0; max-width: 60ch; }
.footer-social { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-social a { color: rgb(255 255 255 / 0.8); text-decoration: none; font-weight: 600; }
.footer-social a:hover { color: var(--white); }
.footer-copy { grid-column: 1 / -1; margin: 0; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.1); }

/* ---------- Floating / mobile ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: var(--white); display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgb(37 211 102 / 0.7); transition: transform var(--dur) var(--ease); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.08); }
.mobile-bar { display: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgb(4 18 26 / 0.88); backdrop-filter: blur(6px); animation: fade 200ms ease; }
.modal-body { position: relative; max-width: min(1100px, 100%); max-height: calc(100vh - 32px); animation: pop 300ms var(--ease); }
.modal-content video, .modal-content img { max-height: calc(100vh - 32px); max-width: 100%; width: auto; border-radius: var(--radius); background: #000; }
.modal-content iframe { display: block; width: min(1100px, calc(100vw - 32px), calc((100vh - 32px) * 16 / 9)); aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); background: #000; }
.modal-close { position: absolute; top: -14px; right: -14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow); }
.modal-close svg { width: 22px; height: 22px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0.96) translateY(10px); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-phone span { display: none; }
  .vid-grid { grid-template-columns: repeat(3, 1fr); }
  .vid--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

/* Tablet: single-column layouts, horizontal carousels */
@media (max-width: 1020px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0;
    padding: 12px var(--gutter) 24px; background: var(--navy); box-shadow: 0 20px 30px -10px rgb(0 0 0 / 0.4);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 200ms, transform 200ms var(--ease), visibility 200ms;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / 0.08); font-size: 1.05rem; }
  .main-nav a::after { display: none; }
  .site-header.menu-open { background: var(--navy); }

  /* Hero: title → video → note & buttons → trust */
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { justify-self: start; }
  .hero-media { order: 4; width: 100%; max-width: 640px; margin-top: 1.5rem; }
  .hero-ctas { order: 5; }
  .hero-tag { display: none; }

  .split, .doc, .abroad, .faq-wrap, .contact-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-card { grid-template-columns: 1fr auto; }
  .quick-num { display: none; }
  .band-inner { flex-direction: column; align-items: flex-start; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-areas: "a a" "w2 w3" "b w5" "b w6"; }
  .bento-a { min-height: 340px; }
  .faq-side { position: static; }
  .doc-media, .split-media { max-width: 560px; }
  .abroad-badge { left: -16px; }
  .footer-inner { grid-template-columns: 1fr; }

  /* Steps, reviews and the photo strip become full-bleed swipe carousels */
  .steps, .rev-track, .strip {
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter);
  }
  .steps::-webkit-scrollbar, .strip::-webkit-scrollbar { display: none; }
  .steps { grid-auto-columns: minmax(250px, 42%); }
  .step { scroll-snap-align: start; }
  .rev-track { grid-auto-columns: calc((100% - 2 * var(--gutter) - 16px) / 2); }
}

/* Phone */
@media (max-width: 640px) {
  :root {
    --header-h: 62px;
    --card-title: 1rem;
    --card-text: 0.9rem;
    --badge: 38px;
    --space-section: 3.75rem;
  }
  body { padding-bottom: 64px; }
  .brand-logo { height: 32px; }
  .header-cta { display: none; }
  .header-actions { gap: 8px; }
  .lang-btn { padding: 7px 10px; }
  .header-phone { width: 40px; height: 40px; justify-content: center; border-radius: 50%; background: rgb(255 255 255 / 0.1); }

  .hero { padding: calc(var(--header-h) + 1.75rem) 0 4.5rem; }
  .hero::before { background: linear-gradient(180deg, rgb(8 32 45 / 0.92) 0%, rgb(8 32 45 / 0.8) 45%, rgb(8 32 45 / 0.45) 75%, rgb(8 32 45 / 0.75) 100%); }
  .hero-media::before { display: none; }
  .yt { aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .yt-play { width: 68px; height: 68px; }
  .yt-play svg { width: 28px; height: 28px; }
  .yt-caption { font-size: 0.9rem; padding: 2.5rem 1rem 1rem; }
  .hero-ctas { margin-top: 1.25rem; }
  .hero-ctas .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; }

  .quick { margin-top: -2.5rem; }
  .quick-grid { grid-template-columns: 1fr; gap: 10px; }
  .quick-card { padding: 14px 16px; gap: 12px; grid-template-columns: auto 1fr auto; }
  .quick-num { display: grid; }

  .section-head { margin-bottom: 1.75rem; }
  .section-sub { font-size: 1rem; }
  .split-copy > p:not(.eyebrow), .doc-copy > p:not(.eyebrow):not(.doc-role), .abroad-copy > p:not(.eyebrow) { font-size: 1rem; }
  .center-cta .btn { width: 100%; }

  .ba-grid { grid-template-columns: 1fr; }
  .ba-frame { border-radius: var(--radius); }
  .strip { grid-auto-columns: 72%; }

  .benefits { grid-template-columns: 1fr; gap: 18px; margin-top: 1.5rem; }
  .stack { padding: 0 0 14% 10%; }
  .stack-badge { right: 0; padding: 12px 14px; max-width: 160px; }
  .stack-badge strong { font-size: 1.6rem; }

  .ind-grid { gap: 10px; }
  .ind-card { padding: 14px; }
  .ind-n { margin-bottom: 10px; }

  .band-actions, .band-actions .btn { width: 100%; }

  .doc-media { padding-right: 18%; }
  .checks { margin: 1.1rem 0 1.5rem; }
  .doc-copy .btn { width: 100%; }
  .team-grid { grid-template-columns: 1fr; gap: 10px; }
  .member img, .cert { width: 80px; height: 80px; }

  .vid-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .vid-grid .vid:last-child { display: none; }
  .vid-grid .vid:nth-child(2), .vid-grid .vid:nth-child(3) { aspect-ratio: 9 / 14; }
  .vid-play { width: 52px; height: 52px; }
  .vid-label strong { font-size: 0.9rem; }

  .steps { grid-auto-columns: 80%; }

  .bento { gap: 10px; grid-template-areas: "a a" "w2 w3" "b b" "w5 w6"; grid-auto-rows: auto; }
  .bento-card { padding: 14px; }
  .bento-card .ico-lg { width: 42px; height: 42px; padding: 10px; margin-bottom: 12px; }
  .bento-a { min-height: 300px; }
  .bento-b { min-height: 280px; }
  .bento-overlay { padding: 3.5rem 16px 16px; }

  .abroad-media { width: min(270px, 80%); }
  .vid--phone { border-width: 6px; border-radius: 28px; }
  .abroad-badge { left: 50%; right: auto; bottom: -18px; translate: -50% 0; width: max-content; max-width: 88vw; }

  .rev-track { grid-auto-columns: 86%; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .rev-nav { display: none; }

  .faq summary { font-size: 0.98rem; padding: 1rem 0; }

  .form { grid-template-columns: 1fr; gap: 14px; }
  .chips { gap: 6px; }
  .chip span { padding: 0.45rem 0.85rem; font-size: 0.84rem; }
  .upload { flex-wrap: wrap; }
  .upload-name { margin-left: 42px; max-width: 100%; }
  .info-card { padding: 1.25rem; border-radius: var(--radius); }
  .messengers { gap: 6px; }
  .map { aspect-ratio: 4 / 3; border-radius: var(--radius); }

  .modal { padding: 8px; }
  .modal-close { top: -52px; right: 0; }

  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; inset: auto 0 0; z-index: 45;
    background: var(--white); box-shadow: 0 -8px 24px rgb(14 56 76 / 0.12); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 48px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 0.9rem; color: var(--navy); background: var(--ice); }
  .mobile-bar svg { width: 20px; height: 20px; }
  .mobile-bar .mobile-bar-wa { background: var(--wa); color: #06331a; }
  .mobile-bar .mobile-bar-cta { background: var(--blue); color: var(--white); font-family: var(--font-head); }
  .site-footer { padding-bottom: 2.5rem; }
}

/* Very small phones */
@media (max-width: 380px) {
  .ind-grid { grid-template-columns: 1fr; }
  .bento { grid-template-areas: "a" "w2" "w3" "b" "w5" "w6"; grid-template-columns: 1fr; }
  .lang-btn .ico:first-child { display: none; }
  .msg { font-size: 0.78rem; gap: 4px; }
  .msg svg { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
