/* Vogata site, v5 (November 2026): the app's own design system (design/readme.md, "v5 · Entel
   foundations"): white page, Gris 010 surfaces without borders, Gris 100 lines, black text with
   Gris 600 secondary, indigo primary, green only for progress. Barlow for titles, figures and
   buttons; Inter for the small text. No monospace, no uppercase. Every product picture on the
   site is a real capture of the app (img/app/, 1440 CSS px wide at 2x unless --cw says). */
:root {
  --bg: #ffffff;
  --surface: #f7f7f7;
  --line: #e9e9e9;
  --line-strong: #d7d7d7;
  --text: #000000;
  --muted: #66686c;
  --accent: #3d3d99;
  --accent-hover: #313178;
  --accent-subtle: #f0f0ff;
  --accent-soft: #a3a3f0;
  --accent-mid: #6a6ac2;
  --success: #22be8d;
  --radius-card: 12px;
  --radius-sm: 6px;
  --shadow-float: 0 8px 24px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-stage: 0 32px 80px rgba(35, 35, 92, 0.16), 0 2px 8px rgba(0, 0, 0, 0.06);
  --glow-blur: 120px;
  --font-display: "Barlow", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --tracking-ui: 0.005em;
  --frame: 1200px;
  --gutter: 32px;
  --measure: 720px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: var(--tracking-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--frame); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Buttons: pills, Barlow SemiBold (the app's ds/Button) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-md { height: 40px; padding: 0 18px; font-size: 16px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 18px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { border-color: var(--accent); color: var(--accent); background: rgba(255, 255, 255, 0.7); }
.btn-secondary:hover { background: var(--accent-subtle); }
.btn-white { background: #fff; color: var(--accent); }
.btn-white:hover { background: var(--accent-subtle); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: 0; color: var(--accent); text-decoration: none; }
.text-link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 4px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { height: 64px; display: flex; align-items: center; gap: 32px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1;
  letter-spacing: -0.02em; text-decoration: none; color: var(--text);
}
.brand svg { height: 22px; width: auto; flex: none; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: 0; text-decoration: none; color: var(--text); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-lang { font-weight: 600; font-size: 14px; color: var(--muted); text-decoration: none; }
.nav-lang:hover { color: var(--accent); }
.nav-login { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: 0; color: var(--accent); text-decoration: none; }
.nav-login:hover { color: var(--accent-hover); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--surface); color: var(--text); cursor: pointer; place-items: center; }
.nav-drawer { display: none; }

/* Page heads */
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; margin: 0 0 16px;
  border-radius: 999px; background: var(--accent-subtle); color: var(--accent);
  font-weight: 600; font-size: 14px;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.eyebrow { margin: 0 0 10px; font-weight: 600; font-size: 15px; color: var(--accent); }
.h1 {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance;
}
.h2 {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 3.2vw, 44px); line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance;
}
.h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1.2; letter-spacing: -0.005em; }
.lead { margin: 16px 0 0; max-width: 700px; font-size: 19px; line-height: 1.5; color: var(--muted); text-wrap: balance; }
.lead strong { color: var(--text); font-weight: 600; }
.page-head { padding: 64px 0 8px; }
.page-head.center { text-align: center; }
.page-head.center .lead { margin-left: auto; margin-right: auto; }
.section { padding: 88px 0 0; }
.section-head { max-width: 780px; margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.center .actions { justify-content: center; }

/* Hero (home) */
.hero { position: relative; padding: 14px 0 0; text-align: center; }
.glows { position: absolute; left: 0; right: 0; top: 0; bottom: -320px; overflow: hidden; pointer-events: none; z-index: 0; }
.glow { position: absolute; border-radius: 50%; filter: blur(var(--glow-blur)); }
.glow-a { width: 500px; height: 440px; background: var(--accent-soft); opacity: .5; left: calc(50% - 580px); top: 380px; }
.glow-b { width: 460px; height: 400px; background: var(--accent-mid); opacity: .28; left: calc(50% + 110px); top: 420px; }
.hero-inner { position: relative; z-index: 1; }
.hero h1 {
  margin: 0 auto; max-width: 1100px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 5.2vw, 76px); line-height: 1; letter-spacing: -0.03em; text-wrap: balance;
}
.hero .lead { margin: 16px auto 0; }
.hero .actions { justify-content: center; margin-top: 20px; }
.stage {
  position: relative; margin: 20px auto 0; max-width: 520px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-stage);
}
.stage video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #fff; }
.sound {
  position: absolute; left: 10px; top: 10px; z-index: 1;
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 5px;
  border: 0; border-radius: 999px; background: #fff; box-shadow: var(--shadow-float);
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: 0; color: var(--text);
  cursor: pointer;
}
.sound:hover { color: var(--accent); }
.sound .play { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.sound[hidden] { display: none; }

/* Pieces (home bento) */
.pieces { position: relative; z-index: 1; padding: 24px 0 0; }
.pieces .lead { margin: 8px 0 0; max-width: none; font-size: 17px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; grid-column: span 4;
  background: var(--surface); border-radius: var(--radius-card); padding: 18px 0 0 22px;
}
.card-wide { grid-column: span 8; }
.card-copy { padding-right: 22px; }
.label { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 600; font-size: 14px; color: var(--accent); }
.label svg { flex: none; }
.card h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.card p { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.peek { margin-top: auto; padding-top: 16px; }
.peek .frame {
  position: relative; overflow: hidden; background: #fff;
  border: 1px solid var(--line); border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0;
  box-shadow: var(--shadow-float); transition: transform .25s ease;
}
.card:hover .frame { transform: translateY(-3px); }

/* A real screen cropped from its capture: --x --y --w --h in its CSS px (--cw = its width) */
.crop { position: relative; overflow: hidden; aspect-ratio: var(--w) / var(--h); background: #fff; }
.crop img {
  position: absolute; max-width: none; height: auto;
  width: calc(var(--cw, 1440) / var(--w) * 100%);
  left: calc(var(--x) / var(--w) * -100%);
  top: calc(var(--y) / var(--h) * -100%);
}
.shot { margin: 0; position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-stage); }
.shot + .shot { margin-top: 16px; }

/* The 1:1, two pictures in one: the meeting with Vogata inside (the call of the approved video)
   fills the frame, then shrinks into the empty corner of the real 1:1 page. */
.duo { position: relative; aspect-ratio: 1100 / 628; overflow: hidden; background: #fff; }
.duo > .crop { position: absolute; inset: 0; opacity: 0; transition: opacity .2s ease; }
.duo.is-pip > .crop { opacity: 1; transition: opacity .7s ease .35s; }
.call {
  position: absolute; right: 3%; top: 30%; width: 33%; aspect-ratio: 1.42;
  container-type: inline-size;
  background: #16161c; border-radius: 10px; box-shadow: 0 18px 40px rgba(16, 16, 40, 0.32);
  transform-origin: 50% 50%;
  transform: translate(-92.4%, -1%) scale(2.3);
}
.call-in { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.15fr .85fr; gap: 3.6cqw; padding: 4.6cqw; }
.duo.is-pip .call { transform: none; transition: transform .9s cubic-bezier(.65, 0, .25, 1); }
.call-tile { position: relative; display: grid; place-items: center; border-radius: 3cqw; background: #26262f; }
.call-av { display: grid; place-items: center; width: 17cqw; height: 17cqw; border-radius: 50%; font-weight: 700; font-size: 6cqw; letter-spacing: 0; }
.call-name { position: absolute; left: 3.2cqw; bottom: 2.4cqw; color: #fff; font-size: 4.2cqw; line-height: 1.2; }
.call-vogata { grid-column: 1 / -1; display: flex; align-items: center; gap: 4cqw; padding: 0 5cqw; border-radius: 3cqw; background: #20203a; border: .55cqw solid #6a6ac2; }
.call-vogata svg { width: 10cqw; height: auto; flex: none; }
.call-vogata b { display: block; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 5.6cqw; line-height: 1.1; letter-spacing: 0; }
.call-vogata small { display: block; margin-top: .6cqw; color: #c9c9f5; font-size: 4cqw; line-height: 1.2; }
.wave { display: flex; align-items: center; gap: 1.1cqw; height: 7cqw; margin-left: auto; }
.wave i { display: block; width: 1.3cqw; height: 100%; border-radius: 1cqw; background: #a3a3f0; transform: scaleY(.35); animation: wave 1.1s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.call-chip {
  position: absolute; left: 50%; top: 0; z-index: 2; transform: translate(-50%, -50%);
  padding: 1.2cqw 2.8cqw; border-radius: 999px; background: #1f3b31; color: #7fe0bd;
  font-weight: 600; font-size: 3.6cqw; line-height: 1.3; white-space: nowrap;
}

/* Ruta lenses (Semana, Ciclo, Año), like the app's own tabs */
.ruta-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-right: 22px; }
.lenses { display: inline-flex; flex: none; gap: 2px; padding: 3px; border-radius: 999px; background: #fff; }
.lenses button {
  position: relative; overflow: hidden; height: 32px; padding: 0 14px;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: 0; color: var(--muted);
  transition: background-color .2s ease, color .2s ease;
}
.lenses button:hover { color: var(--accent); }
.lenses button[aria-selected="true"] { background: var(--accent-subtle); color: var(--accent); }
.lenses button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent); opacity: .35; transform: scaleX(0); transform-origin: left; }
.ruta:not(.is-still) .lenses button[aria-selected="true"]::after { animation: lens-fill 5s linear forwards; }
@keyframes lens-fill { to { transform: scaleX(1); } }
.views { display: grid; }
.view { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.view.is-on { opacity: 1; visibility: visible; transition: opacity .45s ease; }

/* Cómo funciona: acts and steps, text and its real screen side by side */
.act-head { display: flex; align-items: baseline; gap: 14px; padding-top: 72px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.act-head .n { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--accent); }
.act-head h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -0.02em; }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 48px 0 0; }
.step.flip .step-text { order: 2; }
.step-text h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.problem { margin: 14px 0 0; padding-left: 14px; border-left: 3px solid var(--line-strong); font-size: 17px; line-height: 1.5; color: var(--muted); }
.answer { margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: var(--text); }
.answer b { color: var(--accent); font-weight: 600; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--radius-sm); background: var(--accent-subtle); color: var(--accent); font-family: var(--font-sans); font-weight: 700; font-size: 12px; letter-spacing: 0; }

/* Also included: small facts in a row of lines */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.fact { border-top: 1px solid var(--line); padding: 18px 0 22px; }
.fact b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: 0; }
.fact span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }

/* Lists of points (security, about) */
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.point { border-top: 1px solid var(--line); padding: 24px 0 32px; }
.point .num { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--accent); }
.point h3 { margin: 6px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: 0; }
.point p { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* A table of the platform's layers (security) */
.layers { width: 100%; border-collapse: collapse; }
.layers th, .layers td { text-align: left; vertical-align: top; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; }
.layers th { width: 200px; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: 0; padding-right: 24px; }
.layers td { color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-card); padding: 28px; }
.plan.is-main { background: #fff; box-shadow: var(--shadow-stage); border: 1px solid var(--line); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-name { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: 0; }
.plan-for { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 18px; min-height: 60px; }
.price-figure { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price-word { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -0.02em; }
.price-unit { font-size: 15px; color: var(--muted); }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; }
.plan li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.plan li svg { flex: none; margin-top: 1px; color: var(--accent); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: var(--radius-sm); background: var(--accent-subtle); color: var(--accent); font-weight: 700; font-size: 12px; line-height: 1.2; white-space: nowrap; }
.note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.note a { color: var(--accent); font-weight: 600; text-decoration: none; }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 13px 12px; border-top: 1px solid var(--line); font-size: 15px; text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; padding-left: 0; }
.compare thead th { border-top: 0; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: 0; }
.compare td:first-child { color: var(--text); }
.compare td { color: var(--muted); }
.yes { color: var(--accent); font-weight: 700; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 0;
  font-family: var(--font-display); font-weight: 500; font-size: 21px; line-height: 1.3; letter-spacing: 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary svg { flex: none; color: var(--accent); transition: transform .15s ease; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq .answer-text { margin: 0; padding: 0 0 22px; max-width: 740px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* People (team) */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.person { background: var(--surface); border-radius: var(--radius-card); padding: 28px; }
.person-top { display: flex; align-items: center; gap: 16px; }
.person .avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; background: var(--accent-subtle); color: var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.person h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: 0; }
.person .role { margin: 2px 0 0; font-size: 15px; color: var(--muted); }
.person p { margin: 16px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.person .text-link { margin-top: 14px; font-size: 16px; }

/* Forms (contact) */
.form-card { max-width: 640px; background: var(--surface); border-radius: var(--radius-card); padding: 28px; }
.field { display: block; margin: 0 0 14px; }
.field span { display: block; margin: 0 0 6px; font-weight: 600; font-size: 13px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 2px solid transparent; border-radius: var(--radius-sm);
  background: #fff; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--text);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--accent); }
.form-status { margin: 12px 0 0; font-size: 15px; }
.form-status.ok { color: #0e7a57; }
.form-status.err { color: #b40e08; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Documents: resources and legal pages keep their own markup (doc-head, doc-page, section, wrap) */
.doc-head { padding: 56px 0 12px; }
.doc-head .wrap { max-width: calc(var(--measure) + 2 * var(--gutter)); }
.doc-head h1 { margin: 10px 0 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 3.8vw, 52px); line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
.doc-head .crumb { font-size: 14px; color: var(--muted); }
.doc-head .crumb a { color: var(--accent); font-weight: 600; text-decoration: none; }
.doc-head .doc-meta, .doc-head p { margin: 12px 0 0; font-size: 16px; color: var(--muted); }
.doc-head .eyebrow { margin: 0; }
.doc-page { padding-bottom: 24px; }
.doc-page .section { padding: 28px 0 0; }
.doc-page .wrap { max-width: calc(var(--measure) + 2 * var(--gutter)); }
.doc-page h2 { margin: 18px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; }
.doc-page h3 { margin: 26px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: 0; }
.doc-page h4 { margin: 20px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: 0; }
.doc-page p, .doc-page li { font-size: 17px; line-height: 1.7; color: #26272a; }
.doc-page p { margin: 14px 0 0; }
.doc-page ul, .doc-page ol { margin: 14px 0 0; padding-left: 22px; }
.doc-page li + li { margin-top: 6px; }
.doc-page a { color: var(--accent); font-weight: 500; text-underline-offset: 3px; }
.doc-page strong { color: var(--text); }
.doc-page blockquote { margin: 18px 0 0; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--accent-subtle); color: var(--text); }
.doc-page table { width: 100%; margin: 16px 0 0; border-collapse: collapse; font-size: 15px; }
.doc-page th, .doc-page td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); }
.doc-page th { font-weight: 600; color: var(--text); }
.doc-page td { color: #26272a; }
.doc-page code, .doc-page pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }
.doc-page pre { white-space: pre-wrap; background: var(--surface); padding: 14px 16px; border-radius: var(--radius-sm); }
.doc-page .btn { text-decoration: none; }
.doc-page .btn-primary { color: #fff; }
.doc-page .cmp-wrap { overflow-x: auto; }

/* Resources index cards (existing markup restyled lightly) */
.doc-page .res-grid, .res-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* Closing band */
.cta { position: relative; z-index: 1; padding-top: 14px; }
.cta-band {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap;
  padding: 18px 40px; border-radius: var(--radius-card); color: #fff;
  background: radial-gradient(120% 160% at 100% 0%, var(--accent-mid) 0%, var(--accent) 55%);
}
.cta-band h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.02; letter-spacing: -0.025em; }
.cta-band p { margin: 6px 0 0; font-size: 18px; color: rgba(255, 255, 255, 0.85); }
.cta-act { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cta-act .fine { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.cta-band .mark { position: absolute; right: 230px; bottom: -40px; width: 170px; height: auto; opacity: .1; pointer-events: none; }
.cta.roomy { padding-top: 96px; }
.cta.roomy .cta-band { padding: 32px 40px; }

/* Footer */
/* Footer (16/11): the links in three groups, like the current site's footer, in v5's colors. */
.footer { margin-top: 112px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; padding-top: 44px; padding-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer .brand { font-size: 20px; }
.footer .brand svg { height: 17px; }
.footer-brand small { font-size: 13px; color: var(--muted); }
.footer-programs { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.footer-programs p { margin: 0; font-size: 13px; color: var(--muted); }
.footer-programs-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.footer-programs-logos img { width: auto; height: 16px; }
.footer-programs-logos img[src$="aws.svg"] { height: 20px; }
.footer .footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-h { margin: 0 0 2px; font-size: 13px; font-weight: 600; color: var(--muted); }
.footer .footer-col a { font-size: 15px; text-decoration: none; color: var(--text); }
.footer .footer-col a:hover { color: var(--accent); }
.cta.roomy + .footer, .roomy-footer { margin-top: 56px; }

@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 16px; }
}
@media (max-width: 960px) {
  .nav-links, .nav-login, .nav-lang { display: none; }
  .nav-toggle { display: grid; }
  .nav-drawer { display: none; padding: 8px var(--gutter) 18px; border-top: 1px solid var(--line); background: #fff; }
  .nav.open .nav-drawer { display: grid; gap: 4px; }
  .nav-drawer a { padding: 12px 0; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: 0; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav-drawer a:last-child { border-bottom: 0; }
  .card, .card-wide { grid-column: 1 / -1; }
  .step, .step.flip { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .step.flip .step-text { order: 0; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .points, .facts, .people { grid-template-columns: minmax(0, 1fr); }
  .res-grid, .doc-page .res-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-act { align-items: flex-start; }
  .cta-band .mark { right: -20px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .compare-wrap { overflow-x: auto; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .nav-inner { height: 60px; gap: 12px; }
  .brand { font-size: 22px; }
  .brand svg { height: 19px; }
  .nav-cta { gap: 10px; }
  .hero { padding-top: 20px; }
  .lead { font-size: 18px; }
  .page-head { padding-top: 40px; }
  .section { padding-top: 64px; }
  .stage { margin-top: 28px; border-radius: 12px; }
  .sound { height: 34px; font-size: 13px; padding-right: 12px; gap: 8px; left: 8px; top: 8px; }
  .sound .play { width: 26px; height: 26px; }
  .glow-a { width: 320px; height: 320px; left: -120px; top: 520px; }
  .glow-b { width: 300px; height: 300px; left: auto; right: -120px; top: 600px; }
  .pieces { padding-top: 56px; }
  .ruta-head { flex-direction: column; gap: 12px; }
  .cta-band { padding: 26px 22px; }
  .layers th { width: 120px; }
  .plan { padding: 22px; }
  .faq summary { font-size: 19px; }
}
@media (max-width: 420px) {
  .nav-cta .btn-md { padding: 0 14px; font-size: 15px; }
  .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .duo > .crop, .duo.is-pip > .crop, .duo.is-pip .call, .view, .view.is-on { transition: none; }
  .ruta .lenses button::after { animation: none !important; }
  .wave i { animation: none; }
}

/* Resources index cards (markup kept from the previous site: res-grid, res-card, res-kicker) */
.res-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.doc-page .res-grid { max-width: none; }
.res-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius-card); background: var(--surface); text-decoration: none; color: var(--text); transition: background-color .2s ease; }
.res-card:hover { background: var(--accent-subtle); }
.doc-page .res-card { font-weight: 400; }
.res-kicker { font-weight: 600; font-size: 13px; color: var(--accent); }
.res-card h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.2; letter-spacing: 0; color: var(--text); }
.res-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.doc-page .section .wrap:has(.res-grid) { max-width: var(--frame); }

/* Contact form (ids, names and the script are the ones the site already had) */
.contact-form .field { margin: 0 0 14px; }
.contact-form label { display: block; margin: 0 0 6px; font-weight: 600; font-size: 13px; color: var(--muted); }
.contact-form input, .contact-form textarea {
  width: 100%; border: 0; border-bottom: 2px solid transparent; border-radius: var(--radius-sm);
  background: #fff; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--text);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-bottom-color: var(--accent); }
.contact-form .field--hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .cf-turnstile { margin: 4px 0 16px; }
.form-msg { display: none; margin: 14px 0 0; font-size: 15px; }
.form-msg.show { display: block; }
.form-msg.ok { color: #0e7a57; }
.form-msg.err { color: #b40e08; }
.form-msg a { color: inherit; font-weight: 600; }
.contact-alt { margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.contact-alt a { color: var(--accent); font-weight: 600; text-decoration: none; }
@media (max-width: 960px) { .res-grid { grid-template-columns: minmax(0, 1fr); } }

/* Long leads read better without balanced lines; only the page and hero leads balance. */
.lead { text-wrap: pretty; }
.hero .lead, .page-head .lead { text-wrap: balance; }
.section-head .lead + .lead { margin-top: 14px; }
/* The resources index lines its title up with its cards. */
.doc-head.wide .wrap { max-width: var(--frame); }

/* Cómo funciona: each step is its title and how the team works, in one calm paragraph. */
.step-text .answer { margin-top: 14px; font-size: 18px; line-height: 1.6; color: #3c3d41; }

/* Home, second screen: Ruta across the frame, then the four pieces; one line of text each. */
.showcase { position: relative; z-index: 1; padding: 36px 0 0; }
.card-full { grid-column: auto; padding: 20px 0 0 24px; }
.card-line { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; color: var(--text); }
.card-line svg { flex: none; color: var(--accent); }
.card-full .ruta-head { align-items: center; padding-right: 24px; }
.card-full .peek { padding-top: 18px; }
.bento4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.bento4 .card { grid-column: auto; padding: 20px 0 0 20px; }
.bento4 .card-line { font-size: 18px; padding-right: 16px; }
.bento4 .peek { padding-top: 16px; }
/* The closing band says only the brand */
.cta-brand { display: flex; align-items: center; gap: 14px; margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 4vw, 52px); line-height: 1; letter-spacing: -0.03em; color: #fff; }
.cta-brand svg { height: .85em; width: auto; flex: none; }
@media (max-width: 1080px) { .bento4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .bento4 { grid-template-columns: minmax(0, 1fr); }
  .card-full .ruta-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .showcase { padding-top: 48px; }
}

/* The brand in the closing band wins over the band's paragraph size. */
.cta-band .cta-brand { font-size: clamp(36px, 4vw, 52px); color: #fff; margin: 0; }
/* The 1:1 picture can take its frame's shape and the call's starting place from the page. */
.duo { aspect-ratio: var(--ar, 1100 / 628); }
.duo .call { transform: var(--t, translate(-92.4%, -1%) scale(2.3)); }
.duo.is-pip .call { transform: none; }

/* Ruta across the frame (12/11): the line and its lenses on top, the route below at the scale it has
   in the app. The picture is a wider capture, never a magnified one. */
.card-full { display: flex; flex-direction: column; padding: 20px 0 0 24px; }
.card-full .ruta-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-right: 24px; }
.card-full .peek { margin-top: 0; padding-top: 18px; }
@media (max-width: 760px) {
  .card-full { padding: 18px 0 0 18px; }
  .card-full .ruta-head { flex-direction: column; align-items: flex-start; gap: 12px; padding-right: 18px; }
}

/* Home (12/11): one message per screen, paced like kapso.com. The hero fills the first screen and
   each section below opens with its own two-tone title, with room above it. */
@media (min-width: 761px) { .hero { min-height: calc(100vh - 65px); min-height: calc(100svh - 65px); } }
.sec { position: relative; z-index: 1; padding-top: 160px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.sec-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -0.03em; color: var(--text); }
.sec .lenses { background: var(--surface); }
.sec .card-full { padding: 24px 0 0 24px; }
.sec .card-full .peek { padding-top: 0; }
.sec .bento4 { margin-top: 0; }
.sec + .cta { padding-top: 160px; }
@media (max-width: 760px) {
  .sec { padding-top: 96px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
  .sec .card-full { padding: 18px 0 0 18px; }
  .sec + .cta { padding-top: 96px; }
}
/* The hero's glow fades out below the hero instead of ending in a straight edge over the next section. */
.glows { -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent); mask-image: linear-gradient(to bottom, #000 75%, transparent); }

/* Home (12/11): each piece gets its own block, its title on one side and its screen on the other,
   alternating sides. */
/* The title column fits the longest title line in two lines (470 px at 52 px). */
.feat { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 56px; align-items: center; }
.feat-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 470px); }
@media (max-width: 1080px) { .feat { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .feat-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.feat-flip .feat-card { order: -1; }
.feat .card { grid-column: auto; }
.feat .sec-title { text-wrap: balance; }
.feat-card { padding: 28px 0 0 28px; }
.feat-card .peek { margin-top: 0; padding-top: 0; }
@media (max-width: 760px) {
  .feat, .feat-flip { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .feat-flip .feat-card { order: 0; }
  .feat-card { padding: 18px 0 0 18px; }
}

/* The hero fills the first screen with its content centered, a little above the middle, as
   kapso.com does on any screen height. The glow sits in the same box, so it stays behind the video. */
.hero-body { position: relative; }
@media (min-width: 761px) {
  .hero { display: flex; flex-direction: column; justify-content: center; padding-bottom: 4vh; }
}

/* Home (13/11): the process in one screen, its steps on the left and each step's real screen on the
   right, turning on its own like kapso.com's "Integrate this afternoon". */
.sec-sub { margin: 14px 0 0; max-width: 640px; font-size: 18px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.proceso-body { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; align-items: start; }
.pasos { display: flex; flex-direction: column; gap: 6px; }
.pasos button {
  position: relative; display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 16px 18px 18px;
  border: 0; border-radius: 12px; background: transparent; text-align: left; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; color: var(--muted);
}
.pasos button:hover { color: var(--text); }
.pasos button[aria-selected="true"] { background: var(--surface); color: var(--text); }
.paso-n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin-top: -1px; border-radius: 50%; background: var(--surface); color: var(--muted); font-size: 15px; font-weight: 700; }
.pasos button[aria-selected="true"] .paso-n { background: var(--accent); color: #fff; }
.pasos button::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--accent); opacity: .35; transform: scaleX(0); transform-origin: left; }
[data-rota]:not(.is-still) .pasos button[aria-selected="true"]::after { animation: lens-fill 5s linear forwards; }
.proceso-card { grid-column: auto; padding: 28px 0 0 28px; }
.proceso-card .peek { margin-top: 0; padding-top: 0; }
.garantias { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.garantia { background: var(--surface); border-radius: var(--radius-card); padding: 24px; }
.garantia h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.garantia p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.ia-link { margin-top: 22px; }
@media (max-width: 1080px) { .proceso-body { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
@media (max-width: 760px) {
  .garantias { grid-template-columns: minmax(0, 1fr); }
  .pasos button { font-size: 17px; padding: 12px 14px 14px; }
  .proceso-card { padding: 18px 0 0 18px; }
}
@media (prefers-reduced-motion: reduce) { .pasos button::after { animation: none !important; } }

/* Home (16/11): the line under each block's title. */
.feat-text .sec-sub { max-width: 440px; }

/* "Cómo funciona" in the menu scrolls to the home section under the video, its title clear of the sticky menu. */
#como-funciona { scroll-margin-top: 112px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Home (17/11): the questions and three guides close the home. The questions sit next to their title,
   like the blocks above; the guides are cards, as the guarantees. */
.faq-feat { align-items: start; }
.faq-feat .faq { max-width: none; }
.guias { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guia { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-card); padding: 24px; color: var(--text); text-decoration: none; }
.guia h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; transition: color .15s ease; }
.guia p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.guia:hover h3 { color: var(--accent); }
.guia:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.guias-link { margin-top: 22px; }
@media (max-width: 760px) { .guias { grid-template-columns: minmax(0, 1fr); } }
