/* =====================================================================
   Cero Admin — landing page styles
   Visual language modelled on the original agency site: pill nav,
   centred display headlines, orange accent, rounded cards, dark
   featured card, dark footer.
   ===================================================================== */

/* Self-hosted fonts (SIL Open Font License, see assets/fonts/) */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "DM Sans", "Inter", system-ui, sans-serif;

  --ink: #1a1a1a;
  --ink-2: #525252;
  --ink-3: #7a7a7a;
  --muted: #a9a9a9;
  --line: #ebebeb;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --card: #ffffff;
  --dark: #191919;
  --dark-2: #050505;
  --accent: #ff4222;        /* vermilion: fills, icons, glow, accent text on dark */
  --accent-2: #e62000;      /* hover state */
  --accent-text: #e62000;   /* small accent text on light backgrounds (4.6:1) */
  --accent-soft: #ffece8;
  --warn: #f2b705;          /* alerts / pending, kept apart from the brand accent */
  --ok: #1d9b57;
  --white: #ffffff;

  --radius: 16px;
  --radius-lg: 24px;
  --container: 1160px;

  --shadow-pill:
    rgba(93, 94, 94, 0.10) 0 0 0 1px,
    rgba(70, 71, 74, 0.03) 0 1px 1px -0.5px,
    rgba(69, 70, 74, 0.04) 0 2px 2px -1px,
    rgba(66, 68, 71, 0.04) 0 3px 3px -1.5px,
    rgba(42, 51, 70, 0.03) 0 5px 5px -2.5px,
    rgba(62, 64, 66, 0.03) 0 10px 10px -5px,
    rgba(58, 59, 61, 0.03) 0 24px 24px -8px;
  --shadow-btn: rgba(0, 0, 0, 0.25) 0 1px 2px 0, rgba(0, 0, 0, 0.10) 0 10px 20px 0;
  --shadow-card: rgba(0, 0, 0, 0.04) 0 1px 2px, rgba(0, 0, 0, 0.06) 0 8px 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.center { display: flex; justify-content: center; }
.accent { color: var(--accent-text); }
.eyebrow { display: inline-block; color: var(--accent-text); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 48px; padding: 0 28px; border-radius: 50px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-dark { background: var(--ink); color: var(--white); box-shadow: var(--shadow-btn); }
.btn-dark:hover { background: #000; }
.btn-light { background: var(--white); color: var(--ink); box-shadow: var(--shadow-btn); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1px #cfcfcf; background: var(--bg-soft); }
.btn-accent { background: var(--accent); color: var(--white); border-radius: 12px; height: 50px; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; white-space: normal; }
.btn-accent:hover { background: var(--accent-2); }
.btn-sm { height: 48px; padding: 0 24px; }
.btn-icon { padding-left: 8px; height: 56px; padding-right: 32px; white-space: normal; text-align: left; }
.btn-ico {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--accent); color: var(--white);
}

/* ---------- Navigation ---------- */
.nav-wrap { position: fixed; inset: 20px 0 auto; z-index: 50; display: flex; flex-direction: column; align-items: center; padding: 0 20px; pointer-events: none; }
.nav {
  pointer-events: auto;
  width: min(var(--container), 100%);
  display: flex; align-items: center; gap: 32px;
  padding: 8px 8px 8px 44px; border-radius: 60px;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-pill);
}
.logo { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.logo-dot { color: var(--accent); }
.logo.light { color: var(--white); }
.nav-links { display: flex; gap: 24px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang-wrap { position: relative; }
.lang {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 40px;
  font-size: 12px; font-weight: 700; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); background: var(--white);
}
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; padding: 6px;
  border-radius: 14px; background: var(--white); box-shadow: var(--shadow-pill);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.lang-wrap.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.lang-menu a:hover { background: var(--bg-soft); }
.flag { width: 16px; height: 11px; border-radius: 2px; flex: none; }
.flag-en { background: linear-gradient(#3c3b6e, #3c3b6e) 0 0 / 42% 55% no-repeat, repeating-linear-gradient(#b22234 0 1.6px, #fff 1.6px 3.2px); }
.flag-es { background: linear-gradient(#c60b1e 0 25%, #ffc400 25% 75%, #c60b1e 75%); }

.burger { display: none; width: 48px; height: 48px; border-radius: 50%; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  pointer-events: auto; display: none; flex-direction: column; gap: 4px;
  width: min(var(--container), 100%); margin-top: 8px; padding: 12px; border-radius: 24px;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px); box-shadow: var(--shadow-pill);
}
.mobile-menu.open { display: flex; }
.mobile-menu > a:not(.btn) { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; font-weight: 500; }
.mobile-menu > a:not(.btn):hover { background: var(--bg-soft); }
.mobile-menu .btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 180px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0 0 auto; height: 900px; z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(0, 0, 0, 0.06), transparent 70%),
    linear-gradient(180deg, #f3f3f3 0%, #ffffff 60%);
}
.hero-inner { text-align: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; max-width: 1000px; margin-inline: auto; color: var(--ink); }
.hero-sub { margin-top: 28px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; font-weight: 500; color: var(--ink-2); max-width: 820px; margin-inline: auto; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 18px 8px 10px; border-radius: 40px;
  background: rgba(255, 255, 255, 0.7); box-shadow: var(--shadow-pill); font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.check { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); position: relative; flex: none; }
.check::after { content: ""; position: absolute; left: 9px; top: 6px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 36px; }
.under-cta { margin: 18px auto 0; max-width: 560px; font-size: 14px; color: var(--ink-3); }

/* Hero motion piece (five scenes, driven by js/main.js) */
.showcase {
  position: relative; margin-top: 64px; border-radius: var(--radius-lg); overflow: hidden;
  background: #0b0b0b; aspect-ratio: 16 / 9; box-shadow: var(--shadow-card);
}
.motion { container-type: inline-size; isolation: isolate; color: #fff; }
.mo-glow { position: absolute; inset: -12%; z-index: -1; background: radial-gradient(38% 48% at 74% 30%, rgba(255, 66, 34, .48), transparent 70%), radial-gradient(34% 44% at 14% 86%, rgba(255, 255, 255, .07), transparent 70%); animation: mo-drift 11s ease-in-out infinite alternate; }
.mo-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 4.5cqi 4.5cqi; -webkit-mask-image: radial-gradient(70% 75% at 50% 45%, #000, transparent); mask-image: radial-gradient(70% 75% at 50% 45%, #000, transparent); }
@keyframes mo-drift { to { transform: translate(-7%, 5%) scale(1.1); } }

.mo-scene { position: absolute; inset: 0; padding: 5.2cqi 6cqi 8.5cqi; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
.mo-scene.on { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.mo-scene.leaving { opacity: 0; }

/* entrance vocabulary: hidden until the scene is .on, then staggered by --i */
.mo-a { opacity: 0; transition: none; }
.mo-pop { transform: scale(.55) translateY(2cqi); }
.mo-slam { transform: scale(1.75); }
.mo-rise { transform: translateY(3cqi); }
.mo-drop { transform: translateY(-9cqi) rotate(-8deg); }
.mo-scene.on .mo-a { opacity: 1; transform: none; transition: opacity .4s ease, transform .7s cubic-bezier(.2, 1.45, .35, 1); transition-delay: calc(var(--b, 0ms) + var(--i, 0) * var(--s, 90ms)); }
.mo-scene.on .mo-slam { transition: opacity .25s ease, transform .5s cubic-bezier(.15, 1.25, .3, 1); transition-delay: calc(var(--b, 0ms) + var(--i, 0) * var(--s, 90ms)); }

.mo-tag { display: inline-flex; align-items: center; gap: .9cqi; padding: .7cqi 1.5cqi; border-radius: 99px; background: rgba(255,255,255,.09); font-size: max(11px, 1.35cqi); font-weight: 600; color: #e2e2e2; }
.mo-tag::before { content: ""; width: .85cqi; height: .85cqi; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 .45cqi rgba(255, 66, 34, .28); animation: mo-blink 1s steps(2) infinite; }
@keyframes mo-blink { 50% { opacity: .25; } }
.mo-title { margin-top: 1.6cqi; font-family: var(--font-display); font-weight: 800; font-size: 4.3cqi; line-height: 1.04; letter-spacing: -.035em; max-width: 64cqi; }

/* Scene 1 */
.mo-words { margin-top: 2.4cqi; display: flex; flex-direction: column; }
.mo-word { font-family: var(--font-display); font-weight: 800; font-size: 7.2cqi; line-height: .98; letter-spacing: -.045em; transform-origin: left center; }
.mo-word:last-child { color: var(--accent); }
.mo-line { position: absolute; left: 6cqi; bottom: 8.5cqi; max-width: 38cqi; font-size: 1.85cqi; line-height: 1.35; color: #bdbdbd; }
.mo-line b { color: #fff; }
.mo-pile { position: absolute; right: 4cqi; top: 6cqi; width: 48cqi; height: 38cqi; }
.mo-slot { position: absolute; animation: mo-wobble 1.3s ease-in-out infinite alternate; }
.mo-slot:nth-child(1) { left: 6%;  top: 4%;  rotate: -7deg; }
.mo-slot:nth-child(2) { left: 42%; top: 12%; rotate: 5deg;  animation-delay: -.4s; }
.mo-slot:nth-child(3) { left: 14%; top: 33%; rotate: 3deg;  animation-delay: -.9s; }
.mo-slot:nth-child(4) { left: 52%; top: 44%; rotate: -6deg; animation-delay: -.2s; }
.mo-slot:nth-child(5) { left: 2%;  top: 63%; rotate: -3deg; animation-delay: -.7s; }
.mo-slot:nth-child(6) { left: 40%; top: 76%; rotate: 7deg;  animation-delay: -1.1s; }
@keyframes mo-wobble { to { translate: .5cqi -.6cqi; } }
.mo-card { display: flex; align-items: center; gap: 1cqi; padding: 1.1cqi 1.6cqi 1.1cqi 1.1cqi; border-radius: 1.1cqi; background: #fff; color: var(--ink); font-weight: 600; font-size: max(10px, 1.55cqi); white-space: nowrap; box-shadow: 0 1.2cqi 3cqi rgba(0,0,0,.5); }
.mo-ic { width: 2.6cqi; height: 2.6cqi; border-radius: .7cqi; flex: none; background: #f2f2f2 center / 62% no-repeat; }
.mo-ic-doc { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff4222' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zM8 13h8v2H8zm0 4h8v2H8z'/%3E%3C/svg%3E"); background-color: #ffece8; }
.mo-ic-mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231a1a1a' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E"); }
.mo-ic-sheet { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231d9b57' d='M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zM5 9h4v3H5zm0 5h4v5H5zm6 5v-5h8v5zm8-7h-8V9h8z'/%3E%3C/svg%3E"); background-color: #e6f6ec; }
.mo-ic-bank { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232a7bd8' d='M12 2 2 7v2h20V7zM4 11v7h3v-7zm6.5 0v7h3v-7zM17 11v7h3v-7zM2 20h20v2H2z'/%3E%3C/svg%3E"); background-color: #e7f0fc; }

/* Scene 2 */
.mo-lanes { position: relative; margin-top: 3cqi; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8cqi; }
.mo-lane { min-height: 21cqi; padding: 1.5cqi; border-radius: 1.5cqi; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); display: flex; flex-direction: column; gap: 1cqi; }
.mo-lane-h { display: flex; align-items: center; gap: .8cqi; font-weight: 700; font-size: max(11px, 1.45cqi); letter-spacing: .06em; text-transform: uppercase; color: #9a9a9a; margin-bottom: .4cqi; }
.mo-lane-h::before { content: ""; width: .9cqi; height: .9cqi; border-radius: 50%; background: #6b6b6b; }
.mo-lane:first-of-type { background: rgba(255, 66, 34, .14); box-shadow: inset 0 0 0 1px rgba(255, 66, 34, .55), 0 0 6cqi rgba(255, 66, 34, .25); }
.mo-lane:first-of-type .mo-lane-h { color: #ffb3a6; }
.mo-lane:first-of-type .mo-lane-h::before { background: var(--accent); box-shadow: 0 0 1.2cqi var(--accent); }
.mo-chip { padding: 1cqi 1.3cqi; border-radius: 1cqi; background: #fff; color: var(--ink); font-weight: 600; font-size: max(10px, 1.5cqi); box-shadow: 0 .8cqi 2cqi rgba(0,0,0,.35); }
.mo-lane:nth-of-type(1) .mo-chip { --b: 1250ms; --s: 160ms; }
.mo-lane:nth-of-type(2) .mo-chip { --b: 1800ms; --s: 160ms; }
.mo-lane:nth-of-type(3) .mo-chip { --b: 2300ms; background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.mo-scan { position: absolute; top: -1.5cqi; bottom: -1.5cqi; left: 0; width: 1.2cqi; border-radius: 1cqi; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 4cqi 1cqi rgba(255, 66, 34, .55); opacity: 0; z-index: 2; pointer-events: none; }
.mo-scene.on .mo-scan { animation: mo-scan 1.15s .6s cubic-bezier(.55, 0, .35, 1) both; }
@keyframes mo-scan { 0% { left: -2%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* Scene 3 */
.mo-s3-grid { margin-top: 3cqi; display: grid; grid-template-columns: 1.45fr 1fr; gap: 3cqi; align-items: start; }
.mo-flow { display: flex; flex-direction: column; gap: 1.2cqi; }
.mo-row { display: flex; align-items: center; gap: 1.3cqi; padding: 1.25cqi 1.6cqi; border-radius: 1.2cqi; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); font-size: max(11px, 1.65cqi); font-weight: 500; color: #ededed; }
.mo-check { position: relative; width: 2.4cqi; height: 2.4cqi; border-radius: 50%; flex: none; background: rgba(255,255,255,.12); }
.mo-check::after { content: ""; position: absolute; left: 34%; top: 20%; width: 26%; height: 44%; border: solid #fff; border-width: 0 .32cqi .32cqi 0; rotate: 45deg; opacity: 0; }
.mo-scene.on .mo-check { animation: mo-checked .45s cubic-bezier(.2, 1.6, .4, 1) both; animation-delay: calc(var(--b, 0ms) + var(--i, 0) * var(--s, 90ms) + 380ms); }
.mo-scene.on .mo-check::after { animation: mo-tick .2s ease both; animation-delay: calc(var(--b, 0ms) + var(--i, 0) * var(--s, 90ms) + 520ms); }
@keyframes mo-checked { 0% { scale: .4; background: rgba(255,255,255,.12); } 100% { scale: 1; background: #1fb866; } }
@keyframes mo-tick { to { opacity: 1; } }
.mo-approve { position: relative; align-self: flex-start; margin-top: .6cqi; padding: 1.3cqi 2.6cqi; border-radius: 99px; background: #fff; color: var(--ink); font-weight: 700; font-size: max(11px, 1.6cqi); }
.mo-scene.on .mo-approve { animation: mo-approved .25s 3.55s ease both; }
.mo-approve::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(255, 66, 34, .7); }
.mo-scene.on .mo-approve::after { animation: mo-ring .7s 3.55s ease-out both; }
@keyframes mo-approved { to { background: var(--accent); color: #fff; } }
@keyframes mo-ring { to { box-shadow: 0 0 0 2.4cqi rgba(255, 66, 34, 0); } }
.mo-cursor { position: absolute; right: -1.2cqi; bottom: -2.2cqi; width: 2.8cqi; height: 2.8cqi; opacity: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' stroke='%231a1a1a' stroke-width='1.5' d='M5 3l14 8-6 1.5L10 19z'/%3E%3C/svg%3E") center / contain no-repeat; }
.mo-scene.on .mo-cursor { animation: mo-cursor 1.3s 2.55s cubic-bezier(.3, .8, .3, 1) both; }
@keyframes mo-cursor { 0% { opacity: 0; translate: 9cqi 7cqi; } 60% { opacity: 1; translate: 0 0; scale: 1; } 75% { scale: .8; } 90%, 100% { opacity: 1; translate: 0 0; scale: 1; } }
.mo-counter { padding: 2.4cqi; border-radius: 1.8cqi; background: var(--accent); box-shadow: 0 2cqi 6cqi rgba(255, 66, 34, .45); }
.mo-counter > span { font-size: max(11px, 1.5cqi); font-weight: 600; opacity: .85; }
.mo-counter strong { display: block; margin-top: .6cqi; font-family: var(--font-display); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.mo-counter b { font-size: 10cqi; font-variant-numeric: tabular-nums; }
.mo-counter em { font-style: normal; font-size: 2.6cqi; letter-spacing: 0; }
.mo-bar { margin-top: 1.8cqi; height: .9cqi; border-radius: 1cqi; background: rgba(255,255,255,.3); overflow: hidden; }
.mo-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: #fff; }
.mo-scene.on .mo-bar i { animation: mo-bar 1.4s .9s cubic-bezier(.3, .7, .3, 1) both; }
@keyframes mo-bar { to { width: 82%; } }

/* Scene 4 */
.mo-s4 { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.mo-flash { position: absolute; inset: 0; background: var(--accent); translate: -101% 0; z-index: -1; }
.mo-scene.on .mo-flash { animation: mo-flash .75s cubic-bezier(.7, 0, .3, 1) both; }
@keyframes mo-flash { 0% { translate: -101% 0; } 45% { translate: 0 0; } 100% { translate: 101% 0; } }
.mo-big { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 800; font-size: 10.5cqi; line-height: .95; letter-spacing: -.05em; }
.mo-big span { display: block; }
.mo-hot { color: var(--accent); }
.mo-sub { margin-top: 2.6cqi; max-width: 56cqi; font-size: 2cqi; color: #cfcfcf; }

/* Scene 5 */
.mo-s5 { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.mo-logo { font-family: var(--font-display); font-weight: 800; font-size: 9cqi; letter-spacing: -.05em; line-height: 1; }
.mo-logo span { color: var(--accent); }
.mo-cta-title { margin-top: 2.2cqi; font-family: var(--font-display); font-weight: 700; font-size: 3.4cqi; letter-spacing: -.03em; max-width: 60cqi; line-height: 1.1; }
.mo-cta { position: relative; margin-top: 3.4cqi; display: inline-flex; align-items: center; gap: 1cqi; padding: 1.6cqi 3.2cqi; border-radius: 99px; background: var(--accent); color: #fff; font-weight: 700; font-size: max(12px, 1.9cqi); box-shadow: 0 1.6cqi 4cqi rgba(255, 66, 34, .5); }
.mo-scene.on .mo-cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: mo-pulse 1.6s 1.6s ease-out infinite; }
@keyframes mo-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 66, 34, .6); } 100% { box-shadow: 0 0 0 2.6cqi rgba(255, 66, 34, 0); } }

/* Controls */
.mo-ui { position: absolute; left: 6cqi; right: 6cqi; bottom: 3cqi; display: flex; align-items: center; gap: 1.6cqi; z-index: 3; }
.mo-toggle { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(255,255,255,.12); }
.mo-toggle:hover { background: rgba(255,255,255,.22); }
.mo-toggle i { width: 9px; height: 11px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.mo-toggle[data-state="paused"] i { width: 10px; height: 12px; border: 0; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); margin-left: 2px; }
.mo-segs { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.mo-seg { height: 18px; display: flex; align-items: center; }
.mo-seg i { display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; position: relative; }
.mo-seg i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.mo-seg.done i::after { transform: scaleX(1); }
.mo-seg.now i::after { animation: mo-fill var(--d, 4s) linear forwards; }
@keyframes mo-fill { to { transform: scaleX(1); } }
.motion.paused *, .motion.paused *::before, .motion.paused *::after { animation-play-state: paused !important; }
.motion.static .mo-scene, .motion.static .mo-a { transition: none !important; }
.motion.static *, .motion.static *::before, .motion.static *::after { animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
.no-js .mo-s5, .no-js .mo-s5 .mo-a { opacity: 1; visibility: visible; transform: none; }
.no-js .mo-ui { display: none; }

/* Motion layout on narrow containers (phones) */
@container (max-width: 600px) {
  .mo-scene { padding: 7cqi 6cqi 15cqi; }
  .mo-tag { font-size: 3.2cqi; padding: 1.4cqi 3cqi; gap: 1.8cqi; }
  .mo-tag::before { width: 1.8cqi; height: 1.8cqi; }
  .mo-title { font-size: 7.6cqi; max-width: none; margin-top: 3cqi; }
  .mo-words { margin-top: 4cqi; }
  .mo-word { font-size: 11.2cqi; }
  .mo-line { display: none; }
  .mo-pile { left: 3cqi; right: auto; top: auto; bottom: 19cqi; width: 94cqi; height: 36cqi; }
  .mo-card { font-size: 3.1cqi; padding: 1.7cqi 2.6cqi 1.7cqi 1.7cqi; gap: 1.8cqi; border-radius: 2cqi; }
  .mo-ic { width: 5.6cqi; height: 5.6cqi; border-radius: 1.4cqi; }
  .mo-s2 .mo-tag { display: none; }
  .mo-s2 .mo-title { margin-top: 0; }
  .mo-lanes { grid-template-columns: 1fr; gap: 2.2cqi; margin-top: 3.6cqi; }
  .mo-lane { min-height: 0; padding: 2.2cqi 2.4cqi; border-radius: 3cqi; flex-direction: row; flex-wrap: wrap; gap: 1.6cqi; }
  .mo-lane-h { width: 100%; font-size: 3cqi; margin-bottom: 0; }
  .mo-lane-h::before { width: 1.8cqi; height: 1.8cqi; }
  .mo-chip { font-size: 3.2cqi; padding: 1.5cqi 2.4cqi; border-radius: 2cqi; }
  .mo-scan { top: 0; bottom: 0; width: 2.4cqi; }
  .mo-s3-grid { grid-template-columns: 1fr; gap: 3.4cqi; margin-top: 4cqi; }
  .mo-flow { gap: 2cqi; }
  .mo-row { font-size: 3.4cqi; padding: 2.4cqi 3cqi; border-radius: 2.4cqi; gap: 2.6cqi; }
  .mo-check { width: 4.8cqi; height: 4.8cqi; }
  .mo-check::after { border-width: 0 .6cqi .6cqi 0; }
  .mo-approve { display: none; }
  .mo-counter { padding: 3.6cqi; border-radius: 3.4cqi; display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .mo-counter > span { font-size: 3.4cqi; }
  .mo-counter strong { margin-top: 0; }
  .mo-counter b { font-size: 13cqi; }
  .mo-counter em { font-size: 4.4cqi; }
  .mo-bar { grid-column: 1 / -1; height: 1.6cqi; margin-top: 2.4cqi; }
  .mo-big { font-size: 15cqi; }
  .mo-sub { font-size: 4.2cqi; max-width: none; margin-top: 5cqi; }
  .mo-logo { font-size: 17cqi; }
  .mo-cta-title { font-size: 7.4cqi; max-width: none; margin-top: 4cqi; }
  .mo-cta { font-size: 3.8cqi; padding: 3.4cqi 5.6cqi; margin-top: 6cqi; gap: 2cqi; }
  .mo-ui { bottom: 5cqi; gap: 3cqi; }
}

/* ---------- Sections ---------- */
.section { padding: 120px 0 0; }
.section-title { text-align: center; font-size: clamp(32px, 4vw, 56px); line-height: 1.08; letter-spacing: -0.015em; max-width: 900px; margin-inline: auto; }
.section-sub { text-align: center; max-width: 680px; margin: 20px auto 0; color: var(--ink-2); font-size: 17px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-pill); overflow: hidden; }

/* Problem */
.problem-grid { margin-top: 48px; }
.card.problem { padding: 32px; background: #fafafa; }
.card.problem .num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.card.problem p { margin-top: 20px; font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--ink); }

/* How it works */
.steps-grid { margin-top: 48px; }
.step { padding: 32px 32px 0; display: flex; flex-direction: column; background: #fafafa; }
.step-label { color: var(--accent-text); font-weight: 700; font-size: 14px; }
.step h3 { margin-top: 10px; font-size: 22px; }
.step p { margin-top: 12px; color: var(--ink-2); flex: 1; }
.step-art { position: relative; margin-top: 28px; height: 170px; border-radius: 14px 14px 0 0; padding: 22px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; }
.art-inbox { background: radial-gradient(70% 90% at 30% 10%, #6a3fd6, #2a1a5c 70%); }
.art-bank { background: radial-gradient(70% 90% at 50% 0%, #d8f3ff, #2a7bd8 95%); }
.art-approve { background: radial-gradient(70% 90% at 70% 0%, #ffd3c6, #ff4222 90%); }
.chip { padding: 8px 12px; border-radius: 30px; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 12px; font-weight: 600; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); }
.step-art .chip:first-child { width: 100%; justify-self: stretch; text-align: center; }

/* Includes */
.includes-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 48px; }
.card.feature { grid-column: span 2; padding: 32px; }
.card.feature:nth-child(n + 4) { grid-column: span 3; }
.feature-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.card.feature h3 { margin-top: 22px; font-size: 20px; }
.card.feature p { margin-top: 10px; color: var(--ink-2); }

/* Why */
.why-card { border-radius: var(--radius-lg); background: var(--dark-2); color: #fff; padding: 64px; box-shadow: var(--shadow-card); }
.why-card h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; max-width: 720px; }
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; margin-top: 40px; }
.why-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; color: #d8d8d8; line-height: 1.45; }
.why-list .check { margin-top: 1px; }

/* Pricing */
.pricing-grid { margin-top: 48px; align-items: stretch; }
.pricing-grid.grid-2 { max-width: 880px; margin-inline: auto; }
.price-card { border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-pill); display: flex; flex-direction: column; }
.price-card.light { background: #fafafa; }
.price-card.dark { background: var(--dark-2); color: var(--white); }
.price-card h3 { font-size: 22px; }
.price-card.dark h3 { color: var(--accent); }
.price { margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: 40px; letter-spacing: -0.02em; line-height: 1; }
.price span { font-size: 15px; font-weight: 500; color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.price-note { margin-top: 10px; font-size: 14px; color: var(--ink-2); min-height: 42px; }
.price-card.dark .price-note { color: #a9a9a9; }
.price-head .btn { margin-top: 22px; width: 100%; }
.features { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--ink-2); }
.price-card.dark .features { border-color: rgba(255, 255, 255, 0.12); color: #d8d8d8; }
.features li { display: flex; gap: 10px; }
.features li::before { content: "✓"; color: var(--accent); font-weight: 700; flex: none; }
.pricing-note { margin-top: 24px; text-align: center; font-size: 13px; color: var(--ink-3); }
.pricing-guarantee { margin: 14px auto 0; max-width: 720px; text-align: center; font-size: 14px; color: var(--ink-2); }
.pricing-guarantee strong { color: var(--accent-text); }

/* Compatible */
.compat .container { text-align: center; }
.compat-text { margin: 14px auto 0; max-width: 760px; font-size: 19px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.compat-chips { margin-top: 28px; }

/* Security */
.security-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 48px; }
.card.secure { grid-column: span 2; padding: 24px; display: flex; gap: 14px; align-items: flex-start; background: #fafafa; }
.card.secure:nth-child(n + 4) { grid-column: span 3; }
.shield { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: #fff; flex: none; }
.card.secure p { font-weight: 500; line-height: 1.4; padding-top: 6px; }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: var(--radius); background: #fafafa; box-shadow: var(--shadow-pill); padding: 0 24px; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--ink); border-radius: 2px; }
.faq-plus::before { width: 12px; height: 2px; }
.faq-plus::after { width: 2px; height: 12px; transition: transform .2s; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus { background: var(--accent); box-shadow: none; }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: #fff; }
.faq-item p { padding: 0 0 22px; color: var(--ink-2); max-width: 680px; }

/* Audit / close: booking */
.audit { padding-bottom: 120px; }
/* Legal pages */
.legal-page { padding: 150px 0 100px; }
.legal-inner { max-width: 760px; }
.legal-back { display: inline-block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 28px; }
.legal-back:hover { color: var(--ink); }
.legal-page h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05; }
.legal-updated { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.legal-body { margin-top: 40px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.legal-body h2 { margin: 44px 0 14px; font-size: 22px; line-height: 1.25; color: var(--ink); }
.legal-body p + p { margin-top: 14px; }
.legal-body ul { margin: 14px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; list-style: disc; }
.legal-body ul + p { margin-top: 14px; }
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--accent-text); text-decoration: underline; }
@media (max-width: 560px) { .legal-page { padding: 120px 0 72px; } .legal-body { font-size: 15px; } }

.notfound { min-height: 70vh; }
.notfound-text { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 560px; }
.notfound-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.notfound-home { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.notfound-en { margin-top: 40px; font-size: 14px; color: var(--ink-3); }
.notfound-en a { color: var(--accent-text); text-decoration: underline; }

.audit-card { border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-pill); padding: 56px; }
.audit-copy { max-width: 720px; }
.audit-copy h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; }
.audit-copy p { margin-top: 18px; font-size: 17px; color: var(--ink-2); }
.audit-card { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.audit-next { margin-top: 28px; padding: 0; list-style: none; counter-reset: next; display: flex; flex-direction: column; gap: 14px; }
.audit-next li { counter-increment: next; position: relative; padding-left: 40px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.audit-next li::before { content: counter(next); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 13px; }
.audit-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.audit-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.audit-form .wide { grid-column: 1 / -1; }
.audit-form input { font: inherit; font-size: 15px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.audit-form input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.audit-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { margin-top: 6px; }
.form-foot .btn { width: 100%; justify-content: center; }
.consent { margin-top: 12px; font-size: 11px; color: var(--ink-3); }
.consent a { text-decoration: underline; }
.form-status { margin-top: 8px; font-size: 14px; color: var(--ok); min-height: 1.2em; }
.form-status.error { color: #c0392b; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #d0d0d0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 56px 0 44px; }
.footer-brand p { margin-top: 14px; font-size: 14px; color: #8f8f8f; max-width: 320px; }
.footer-contact strong { display: block; color: #fff; font-size: 14px; }
.footer-contact a { font-size: 14px; color: #bdbdbd; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.footer-cities { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 0 0 36px; font-size: 12px; color: #8f8f8f; }
.footer-cities a:hover { color: #fff; }
.footer-legal { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0 36px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 12px; color: #8f8f8f; }
.legal-links { display: flex; gap: 20px; }
.legal-links a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr; }
  .includes-grid, .security-grid { grid-template-columns: 1fr 1fr; }
  .card.feature, .card.feature:nth-child(n + 4), .card.secure, .card.secure:nth-child(n + 4) { grid-column: span 1; }
  .why-card { padding: 44px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .audit-card { padding: 40px; }
  .audit-card { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 820px) {
  .nav-links, .lang-wrap, .nav-right .btn { display: none; }
  .burger { display: flex; }
  .nav { padding: 8px 8px 8px 28px; }
  .hero { padding-top: 140px; }
  .section { padding-top: 90px; }
  .showcase { aspect-ratio: 4 / 3; }
  .includes-grid, .security-grid { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .footer-cities { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 0 0 36px; font-size: 12px; color: #8f8f8f; }
.footer-cities a:hover { color: #fff; }
.footer-legal { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .showcase { aspect-ratio: 4 / 5; }
  .hero-cta .btn { width: 100%; max-width: 420px; }
  .btn-icon { height: auto; min-height: 60px; padding-block: 10px; }
  .price-card { padding: 28px; }
  .why-card { padding: 32px 24px; }
  .audit-card { padding: 28px 22px; }
  .audit-form { grid-template-columns: 1fr; }
  .step { padding-inline: 24px; }
}
