/* =========================================================
   Atlas Technology Systems — shared design system
   Brand: valley at dusk. Indigo night, marigold for actions and city
   lights, Atlas green (from the [A] logo) for checks and the network.
   One family: Archivo, used across widths.
   ========================================================= */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2-variations'),
       url('/assets/fonts/archivo-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: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('/assets/fonts/archivo-latin-ext.woff2') format('woff2-variations'),
       url('/assets/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Night */
  --dusk-950: #0E0B22;
  --dusk-900: #141031;
  --dusk-800: #1A1638;
  --dusk-700: #231E49;
  --dusk-600: #302A5E;
  --dusk-500: #4A4386;
  --dusk-300: #ADA7D6;
  --dusk-200: #D2CEEA;
  --dusk-50:  #F6F4FF;
  /* Day */
  --haze: #F4F2FA;
  --paper: #FFFFFF;
  --ink: #17142E;
  --ink-2: #4A4669;
  --line: #E3DFEF;
  --line-strong: #CBC5E2;
  /* Light */
  --brand: #00E38C;
  --brand-hi: #3DF0AC;
  --brand-deep: #00B86E;
  --brand-text: #007A50;
  --gold: #FFB547;
  --gold-hi: #FFC870;
  --gold-text: #8F5300;
  --pool: var(--brand);
  --pool-text: var(--brand-text);
  --coral: #FF7A59;

  --font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 26px;
  --shadow-1: 0 1px 2px rgba(23, 20, 46, .06), 0 10px 28px -14px rgba(23, 20, 46, .22);
  --shadow-2: 0 2px 6px rgba(23, 20, 46, .07), 0 30px 60px -24px rgba(23, 20, 46, .34);

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --band: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--haze);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@media (max-width: 640px) { body { font-size: 1rem; } }

img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.05; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--gold); color: var(--dusk-900); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-light :focus-visible, .band--haze :focus-visible, .band--paper :focus-visible { outline-color: var(--dusk-500); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  padding: 10px 16px; border-radius: var(--r-s);
  background: var(--gold); color: var(--dusk-900); font-weight: 700; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-stretch: 122%;
  font-weight: 820;
  font-size: clamp(2.55rem, 6.6vw, 5.9rem);
  line-height: .96;
  letter-spacing: -.028em;
}
.h2 {
  font-stretch: 116%;
  font-weight: 790;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.022em;
}
.h3 {
  font-stretch: 108%;
  font-weight: 720;
  font-size: 1.32rem;
  line-height: 1.18;
  letter-spacing: -.01em;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.55; max-width: 62ch; }
.muted { color: var(--ink-2); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-stretch: 92%; font-weight: 650; font-size: .95rem; letter-spacing: .005em;
  color: var(--ink-2);
}
.kicker::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .55; }

/* ---------- Bands ---------- */
.band { position: relative; padding-block: var(--band); }
.band--dusk { background: var(--dusk-800); color: var(--dusk-50); }
.band--night { background: var(--dusk-900); color: var(--dusk-50); }
.band--haze { background: var(--haze); }
.band--paper { background: var(--paper); }
.band--dusk .muted, .band--night .muted { color: var(--dusk-300); }
.band--dusk .kicker, .band--night .kicker { color: var(--dusk-300); }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.section-head .lead { margin: 0; }
.section-head--split {
  max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 24px 64px;
}
@media (max-width: 860px) { .section-head--split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold); --btn-fg: var(--dusk-900); --btn-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 12px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-stretch: 104%; font-weight: 700; font-size: 1rem; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease), border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { box-shadow: 0 10px 30px -12px rgba(255, 181, 71, .65); }
.btn--primary:hover { --btn-bg: var(--gold-hi); box-shadow: 0 16px 36px -14px rgba(255, 181, 71, .8); }
.btn--ghost { --btn-bg: rgba(246, 244, 255, .06); --btn-fg: var(--dusk-50); --btn-bd: rgba(246, 244, 255, .22); }
.btn--ghost:hover { --btn-bg: rgba(246, 244, 255, .12); --btn-bd: rgba(246, 244, 255, .4); }
.btn--dusk { --btn-bg: var(--dusk-800); --btn-fg: var(--dusk-50); box-shadow: 0 12px 28px -16px rgba(26, 22, 56, .7); }
.btn--dusk:hover { --btn-bg: var(--dusk-700); }
.btn--line { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--line:hover { --btn-bd: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .94rem; border-radius: 10px; }
.btn--block { width: 100%; }

.text-link {
  color: inherit; font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color .2s;
}
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--dusk-50);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.site-header.is-solid {
  background: rgba(20, 16, 49, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(246, 244, 255, .07);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand svg { width: 40px; height: 40px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(246, 244, 255, .14); }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font-stretch: 122%; font-weight: 850; font-size: 1.28rem; letter-spacing: -.02em; }
.brand-word small { font-stretch: 86%; font-weight: 600; font-size: .7rem; letter-spacing: .06em; color: var(--dusk-300); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 10px;
  background: none; border: 0; cursor: pointer;
  color: var(--dusk-200); text-decoration: none; font-weight: 600; font-size: .96rem; font-stretch: 100%;
  transition: color .2s, background-color .2s;
}
.nav > a:hover, .nav-drop > button:hover, .nav-drop.is-open > button { color: var(--dusk-50); background: rgba(246, 244, 255, .07); }
.nav > a[aria-current="page"] { color: var(--dusk-50); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav-drop.is-open > button svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: -8px; width: 320px; padding: 8px;
  border-radius: var(--r-m); background: var(--dusk-700);
  box-shadow: 0 0 0 1px rgba(246, 244, 255, .08), 0 30px 60px -20px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
}
.nav-drop.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
.nav-menu a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--dusk-50); }
.nav-menu a:hover { background: rgba(246, 244, 255, .07); }
.nav-menu b { font-weight: 650; font-size: .98rem; }
.nav-menu span { font-size: .84rem; color: var(--dusk-300); line-height: 1.35; }

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

.lang-switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 10px;
  background: rgba(246, 244, 255, .07); box-shadow: inset 0 0 0 1px rgba(246, 244, 255, .12);
}
.lang-switch::before {
  content: ''; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 7px;
  background: var(--dusk-50); transition: transform .3s var(--ease);
}
html[lang="es"] .lang-switch::before { transform: translateX(100%); }
.lang-switch button {
  position: relative; z-index: 1; min-width: 40px; min-height: 34px; padding: 0 8px; border: 0; background: none; cursor: pointer;
  font-weight: 700; font-size: .82rem; font-stretch: 110%; letter-spacing: .02em; color: var(--dusk-300); transition: color .25s;
}
.lang-switch button[aria-pressed="true"] { color: var(--dusk-900); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; cursor: pointer;
  background: rgba(246, 244, 255, .07); box-shadow: inset 0 0 0 1px rgba(246, 244, 255, .12);
  align-items: center; justify-content: center;
}
.menu-toggle span { position: relative; width: 18px; height: 2px; border-radius: 2px; background: var(--dusk-50); transition: background .2s; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--dusk-50);
  transition: transform .3s var(--ease);
}
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

@media (max-width: 1060px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
}

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  padding: 18px var(--gutter) 120px; overflow-y: auto;
  background: var(--dusk-900); color: var(--dusk-50);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
.mobile-nav a { display: flex; align-items: center; min-height: 52px; text-decoration: none; font-stretch: 112%; font-weight: 700; font-size: 1.35rem; border-bottom: 1px solid rgba(246, 244, 255, .08); }
.mobile-nav .mobile-nav__sub a { font-stretch: 100%; font-weight: 550; font-size: 1.05rem; color: var(--dusk-200); padding-left: 14px; min-height: 46px; }
.mobile-nav .btn { margin-top: 24px; width: 100%; font-size: 1.05rem; border-bottom: 0; }
body.nav-open { overflow: hidden; }

/* ---------- Reveal (gentle, headings + blocks only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal[data-delay="1"] { transition-delay: .08s; }
  .js .reveal[data-delay="2"] { transition-delay: .16s; }
  .js .reveal[data-delay="3"] { transition-delay: .24s; }
}

/* ---------- Checks ---------- */
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: color-mix(in srgb, var(--pool) 22%, transparent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.4' fill='none' stroke='%23007A50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.band--dusk .ticks li::before, .band--night .ticks li::before, .on-dusk .ticks li::before {
  background: color-mix(in srgb, var(--pool) 18%, transparent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.4' fill='none' stroke='%2300E38C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}

/* ---------- Price menu (dotted leaders, like a menu board) ---------- */
.price-menu { list-style: none; display: grid; }
.price-menu li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.price-menu li:first-child { padding-top: 0; }
.price-menu li:last-child { border-bottom: 0; }
.price-row { display: flex; align-items: baseline; gap: 14px; }
.price-row .name { font-stretch: 106%; font-weight: 700; font-size: 1.12rem; }
.price-row .dots { flex: 1; min-width: 24px; border-bottom: 2px dotted var(--line-strong); transform: translateY(-5px); }
.price-row .amt { font-stretch: 112%; font-weight: 800; font-size: 1.12rem; white-space: nowrap; }
.price-row .amt small { font-weight: 600; font-size: .82em; color: var(--ink-2); }
.price-menu .desc { margin: 6px 0 0; color: var(--ink-2); max-width: 64ch; font-size: .98rem; }
.price-menu .tag {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 6px; vertical-align: 2px;
  background: color-mix(in srgb, var(--pool) 18%, white); color: var(--pool-text); font-size: .74rem; font-weight: 700; font-stretch: 100%;
}
@media (max-width: 560px) {
  .price-row { flex-wrap: wrap; gap: 2px 10px; }
  .price-row .dots { display: none; }
  .price-row .amt { flex-basis: 100%; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-stretch: 106%; font-weight: 700; font-size: 1.12rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color .25s, transform .35s var(--ease);
}
.faq summary .plus::before, .faq summary .plus::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--ink);
  transform: translate(-50%, -50%); transition: transform .35s var(--ease), background-color .25s;
}
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .plus { background: var(--dusk-800); transform: rotate(180deg); }
.faq details[open] summary .plus::before { background: var(--dusk-50); }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); background: var(--dusk-50); }
.faq .answer { overflow: hidden; }
.faq .answer > div { padding: 0 56px 24px 0; color: var(--ink-2); max-width: 70ch; }
.faq .answer a { color: var(--ink); font-weight: 650; }
@media (max-width: 560px) { .faq .answer > div { padding-right: 0; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field label { font-weight: 650; font-size: .92rem; }
.field label .opt { font-weight: 500; opacity: .7; }
.input {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink);
  font-size: 1rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.input::placeholder { color: #8C88A8; }
.input:hover { border-color: #ADA6CC; }
.input:focus { outline: none; border-color: var(--dusk-500); box-shadow: 0 0 0 4px rgba(74, 67, 134, .16); }
select.input {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%2317142E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
}
textarea.input { min-height: 132px; resize: vertical; }
.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--dusk-950); color: var(--dusk-200); padding: clamp(64px, 8vw, 104px) 0 calc(36px + env(safe-area-inset-bottom)); overflow: hidden; }
.site-footer .ridge { position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none; opacity: .9; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-grid h2 { font-size: .98rem; font-weight: 700; color: var(--dusk-50); margin-bottom: 16px; font-stretch: 104%; }
.footer-grid a { color: var(--dusk-200); text-decoration: none; }
.footer-grid a:hover { color: var(--dusk-50); text-decoration: underline; text-underline-offset: 3px; }
.footer-list { list-style: none; display: grid; gap: 10px; font-size: .96rem; }
.footer-about p { max-width: 36ch; color: var(--dusk-300); margin-top: 18px; }
.footer-contact { display: grid; gap: 6px; margin-top: 18px; font-weight: 600; }
.footer-contact a { color: var(--dusk-50) !important; }
.footer-base {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(246, 244, 255, .08);
  font-size: .88rem; color: var(--dusk-300);
}
.footer-base nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-base a, .footer-base button { color: var(--dusk-300); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.footer-base a:hover, .footer-base button:hover { color: var(--dusk-50); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(20, 16, 49, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 -1px 0 rgba(246, 244, 255, .08);
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { flex: 1; min-height: 48px; font-size: .98rem; }
@media (max-width: 760px) {
  .mobile-bar { display: flex; }
  .site-footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
}

/* =========================================================
   Inner pages (service pages, legal)
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(64px, 8vw, 112px);
  background: var(--dusk-800); color: var(--dusk-50);
}
.page-hero .topo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .55; }
.page-hero::after {
  content: ''; position: absolute; inset: auto -10% -60% 30%; height: 120%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 181, 71, .16), transparent 70%);
}
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: .9rem; color: var(--dusk-300); }
.crumbs a { color: var(--dusk-200); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs span[aria-hidden] { opacity: .5; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { margin: 24px 0 0; color: var(--dusk-200); }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.page-hero .note { margin: 22px 0 0; font-size: .94rem; color: var(--dusk-300); }

.facts {
  position: relative; z-index: 2; margin-top: -48px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-radius: var(--r-l); background: var(--paper); box-shadow: var(--shadow-2);
}
.facts > div { padding: 28px 30px; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts strong { display: block; font-stretch: 116%; font-weight: 820; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.02em; line-height: 1.05; }
.facts span { display: block; margin-top: 8px; color: var(--ink-2); font-size: .96rem; line-height: 1.45; }
@media (max-width: 760px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .facts > div { padding: 22px 24px; }
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feature-grid article { padding: 32px 32px 34px 0; border-bottom: 1px solid var(--line); }
.feature-grid article:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.feature-grid h3 { margin-bottom: 10px; }
.feature-grid p { margin: 0; color: var(--ink-2); }
.feature-grid .ico {
  width: 44px; height: 44px; margin-bottom: 20px; border-radius: 12px; display: grid; place-items: center;
  background: var(--dusk-800); color: var(--gold);
}
.feature-grid .ico svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid article, .feature-grid article:not(:nth-child(3n+1)) { padding: 28px 24px 30px 0; border-left: 0; }
  .feature-grid article:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-grid article, .feature-grid article:nth-child(2n) { padding: 26px 0; border-left: 0; }
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: minmax(0, 1fr); } }

.prose { max-width: 66ch; }
.prose h2 { margin-bottom: 20px; }
.prose p { color: var(--ink-2); }
.prose p strong { color: var(--ink); }
.prose a { color: var(--ink); font-weight: 650; text-underline-offset: 3px; }

.panel {
  border-radius: var(--r-l); background: var(--paper); padding: clamp(26px, 3.4vw, 40px);
  box-shadow: var(--shadow-1); border: 1px solid var(--line);
}
.panel--dusk { background: var(--dusk-800); color: var(--dusk-50); border-color: transparent; box-shadow: var(--shadow-2); }
.panel--dusk .muted { color: var(--dusk-300); }
.panel h3 { margin-bottom: 8px; }
.big-price { font-stretch: 120%; font-weight: 850; font-size: clamp(2.6rem, 5vw, 3.6rem); letter-spacing: -.03em; line-height: 1; }
.big-price small { font-size: .38em; font-weight: 650; letter-spacing: 0; color: var(--dusk-300); }
.fine { font-size: .9rem; color: var(--ink-2); }
.panel--dusk .fine { color: var(--dusk-300); }

.steps { list-style: none; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 30px 64px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-strong);
  font-stretch: 112%; font-weight: 800; font-size: .98rem;
}
.steps li::after { content: ''; position: absolute; left: 19px; top: 44px; bottom: 6px; width: 2px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.12rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related a {
  display: grid; gap: 8px; padding: 26px; border-radius: var(--r-m); text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s;
}
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); border-color: var(--line-strong); }
.related b { font-stretch: 108%; font-size: 1.1rem; }
.related span { color: var(--ink-2); font-size: .96rem; }
.related em { font-style: normal; font-weight: 700; color: var(--gold-text); font-size: .92rem; margin-top: 4px; }
@media (max-width: 860px) { .related { grid-template-columns: minmax(0, 1fr); } }

.areas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.areas span { padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }

.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-l); background: var(--dusk-800); color: var(--dusk-50);
  padding: clamp(36px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 28px 48px; align-items: center;
}
.cta-band .topo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .5; }
.cta-band p { margin: 14px 0 0; color: var(--dusk-200); max-width: 56ch; }
.cta-band .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

.legal { max-width: 760px; }
.legal h2 { font-stretch: 108%; font-size: 1.35rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; margin-bottom: 1em; }
.legal a { color: var(--ink); font-weight: 600; }

/* =========================================================
   Shared components: offers, tabs, plans, phone mockups
   ========================================================= */
.offer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  padding: 18px 22px; margin-bottom: 40px; border-radius: var(--r-m);
  background: var(--dusk-800); color: var(--dusk-50);
}
.offer-badge { padding: 6px 11px; border-radius: 8px; background: var(--gold); color: var(--dusk-900); font-weight: 750; font-size: .84rem; white-space: nowrap; }
.offer p { flex: 1; min-width: 240px; margin: 0; color: var(--dusk-200); }
.offer .text-link { color: var(--gold); }

.tabs {
  position: relative; display: inline-flex; gap: 2px; max-width: 100%; margin-bottom: 28px; padding: 5px;
  border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] {
  position: relative; z-index: 1; min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: none; cursor: pointer;
  font-weight: 650; font-size: .98rem; color: var(--ink-2); white-space: nowrap; transition: color .3s;
}
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { color: var(--dusk-50); }
.tab-ink {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: var(--w, 0); border-radius: 10px;
  background: var(--dusk-800); transform: translateX(var(--x, 0)); transition: transform .45s var(--ease), width .45s var(--ease);
}
@media (prefers-reduced-motion: no-preference) {
  .tab-panel.is-shown { animation: panel .5s var(--ease) both; }
}
@keyframes panel { from { opacity: 0; transform: translateY(10px); } }
.tab-panel:focus-visible { outline-offset: 8px; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; padding-top: 14px; }
.plans--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 940px; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 36px); border-radius: var(--r-l); background: var(--paper); border: 1px solid var(--line); }
.plan-name { font-stretch: 114%; font-weight: 820; font-size: 1.5rem; letter-spacing: -.012em; }
.plan-for { margin: 8px 0 0; color: var(--ink-2); min-height: 3.1em; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 22px 0 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.plan-price b { font-stretch: 120%; font-weight: 850; font-size: clamp(2.4rem, 3.6vw, 3.05rem); letter-spacing: -.03em; line-height: 1; }
.plan-price span, .plan-price small { color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.plan .ticks { flex: 1; align-content: start; margin: 24px 0 30px; font-size: .98rem; }
.plan--feature { background: var(--dusk-800); color: var(--dusk-50); border-color: transparent; box-shadow: var(--shadow-2); }
.plan--feature .plan-for, .plan--feature .plan-price span, .plan--feature .plan-price small { color: var(--dusk-300); }
.plan--feature .plan-price { border-color: rgba(246, 244, 255, .12); }
.plan--feature .ticks li::before {
  background: rgba(0, 227, 140, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.4' fill='none' stroke='%2300E38C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.plan-flag { position: absolute; top: -14px; left: 28px; padding: 6px 13px; border-radius: 999px; background: var(--gold); color: var(--dusk-900); font-weight: 750; font-size: .8rem; box-shadow: 0 8px 20px -8px rgba(255, 181, 71, .8); }
.plans-note { margin: 24px 0 0; max-width: 80ch; color: var(--ink-2); font-size: .98rem; }
.plans-note b { color: var(--ink); }
.menu-card { max-width: 940px; padding: clamp(26px, 3.6vw, 44px); border-radius: var(--r-l); background: var(--paper); border: 1px solid var(--line); }
.always-free { margin: 44px 0 0; padding-top: 24px; border-top: 1px dashed var(--line-strong); color: var(--ink-2); }
.always-free b { color: var(--ink); }
@media (max-width: 960px) {
  .plans, .plans--two { grid-template-columns: 1fr; max-width: 560px; gap: 28px; }
  .plan-for { min-height: 0; }
}


.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 34px); }
.phone { display: grid; gap: 18px; text-decoration: none; color: inherit; }
.phone-frame {
  position: relative; display: block; aspect-ratio: 9 / 19; padding: 9px; border-radius: 38px;
  background: linear-gradient(160deg, #3D3672 0%, #1B1640 60%, #120E2B 100%);
  box-shadow: inset 0 0 0 1px rgba(246, 244, 255, .16), 0 50px 80px -40px rgba(0, 0, 0, .85);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.phone-frame::before { content: ''; position: absolute; z-index: 2; top: 17px; left: 50%; width: 30%; height: 17px; border-radius: 10px; background: #0E0B22; transform: translateX(-50%); }
.phone-screen { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 30px; background: #fff; }
.phone-screen img { width: 100%; height: auto; transition: transform 5.5s cubic-bezier(.45, .05, .3, 1); }
.phone:hover .phone-frame, .phone:focus-visible .phone-frame { transform: translateY(-8px); }
.phone:hover .phone-screen img, .phone:focus-visible .phone-screen img { transform: translateY(-44%); }
@media (prefers-reduced-motion: no-preference) {
  .phones.is-in .phone .phone-screen img { animation: peek 6.5s cubic-bezier(.45, .05, .3, 1) both; }
  .phones.is-in .phone:nth-child(2) .phone-screen img { animation-delay: .35s; }
  .phones.is-in .phone:nth-child(3) .phone-screen img { animation-delay: .7s; }
  .phones.is-in .phone:nth-child(4) .phone-screen img { animation-delay: 1.05s; }
  .phones.is-in .phone:hover .phone-screen img { animation: none; }
}
@keyframes peek { 0%, 8% { transform: translateY(0); } 50%, 58% { transform: translateY(-30%); } 100% { transform: translateY(0); } }
.phone-meta { display: grid; gap: 2px; padding-left: 4px; }
.phone-meta b { font-stretch: 106%; font-weight: 700; font-size: 1.04rem; }
.phone-meta span { color: var(--dusk-300); font-size: .92rem; }
@media (max-width: 900px) {
  .phones {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(200px, 56%);
    overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 18px;
    scrollbar-width: none;
  }
  .phones::-webkit-scrollbar { display: none; }
  .phone { scroll-snap-align: start; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Inner page helpers ---------- */
.page-hero .display { font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
html[lang="es"] .page-hero .display { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
.band--tight-top { padding-top: clamp(56px, 7vw, 96px); }
.after-facts { padding-top: clamp(64px, 8vw, 112px); }
.panel .ticks { margin: 22px 0 26px; }
.panel .btn { margin-top: 4px; }
.panel-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin: 14px 0 0; }
.panel-price small { font-size: 1rem; font-weight: 600; color: var(--dusk-300); }
.panel:not(.panel--dusk) .panel-price small { color: var(--ink-2); }
.panel--dusk .ticks li::before {
  background: rgba(0, 227, 140, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.4' fill='none' stroke='%2300E38C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.stack { display: grid; gap: 20px; }
.callout { border-radius: var(--r-m); padding: 18px 20px; background: var(--haze); border: 1px solid var(--line); color: var(--ink-2); font-size: .96rem; }
.callout b { color: var(--ink); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 18px; justify-items: start; }
.faq-side p { margin: 0; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } .faq-side { position: static; } }
.band--dusk .section-head .lead { color: var(--dusk-200); }
.btn--block { white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; }
@media (max-width: 760px) { .mobile-bar .btn { padding: 0 12px; min-width: 0; font-size: .95rem; } }
