/* Akkurat Solutions: sitio v3 (2026-09-22)
   Varias páginas, elegante, poco texto, vidrio sobre fotografía.
   Radios: botones y barra en píldora; paneles 20px. Un solo acento: cobre. */

@font-face {
  font-family: "Host Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fuentes/host-grotesk-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: "Host Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fuentes/host-grotesk-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 {
  --navy: #1E1B3A;            /* Midnight Blue, manual de marca */
  --navy-deep: #110E24;
  --copper: #C97D3D;          /* Copper, único acento */
  --copper-soft: #E6A874;
  --silver: #C7CCD6;
  --ink: #F4F2EE;             /* texto principal */
  --ink-2: rgba(244, 242, 238, .76);
  --ink-3: rgba(244, 242, 238, .58);
  --line: rgba(255, 255, 255, .16);

  /* vidrio */
  --glass-fill: rgba(22, 19, 48, .46);
  --glass-sheen: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .03) 40%, rgba(255, 255, 255, 0));
  --glass-edge: rgba(255, 255, 255, .17);
  --glass-blur: blur(14px) saturate(140%);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .20), 0 30px 70px -30px rgba(6, 4, 18, .75);

  --r-panel: 20px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --sans: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--navy-deep); color-scheme: dark; }
body {
  min-height: 100dvh;
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--copper); color: var(--navy-deep); }
:focus-visible { outline: 2px solid var(--copper-soft); outline-offset: 3px; border-radius: 6px; }

/* ---------- Transiciones entre páginas ---------- */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .45s; animation-timing-function: var(--ease-out); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }

/* ---------- Fondo fotográfico ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; view-transition-name: fondo; background: var(--navy-deep); }
.bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--focus, 50% 50%);
  filter: saturate(.9) contrast(1.02);
  animation: settle 1.8s var(--ease-out) both;
}
.bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(17, 14, 36, .85) 0, rgba(17, 14, 36, 0) 180px),
    linear-gradient(var(--shade-dir, 20deg), rgba(17, 14, 36, .92) 0%, rgba(17, 14, 36, .55) 45%, rgba(17, 14, 36, .18) 100%),
    rgba(30, 27, 58, .18);
}
@keyframes settle { from { transform: scale(1.05); } to { transform: none; } }

/* ---------- Vidrio ---------- */
.glass {
  background: var(--glass-sheen), var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(22, 19, 48, .94); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: rgba(22, 19, 48, .96); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Barra de navegación flotante ---------- */
.nav {
  position: fixed; z-index: 10; top: 18px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 2 * var(--gutter)), 760px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  view-transition-name: barra;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 22px; height: auto; }
.brand span { font-weight: 600; font-size: 13px; letter-spacing: .32em; }
.nav ul { display: flex; list-style: none; gap: 2px; }
.nav li a {
  display: block; padding: 9px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: color .2s ease, background-color .2s ease;
}
.nav li a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .10); }
@media (hover: hover) and (pointer: fine) {
  .nav li a:hover { color: var(--ink); }
}

/* ---------- Estructura de página ---------- */
.page {
  min-height: 100dvh;
  display: grid; grid-template-rows: 1fr auto;
  padding: 120px var(--gutter) 24px;
  max-width: 1360px; margin: 0 auto;
}
.stage { display: grid; align-content: end; gap: 28px; padding-bottom: 40px; }

h1 {
  font-weight: 300; letter-spacing: -.035em; line-height: .98;
  font-size: clamp(46px, 7vw, 96px);
  text-wrap: balance;
}
h1 .dot {
  display: inline-block; width: .14em; height: .14em; margin-left: .05em;
  border-radius: 50%; background: var(--copper); vertical-align: baseline;
}
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; color: var(--ink-2); max-width: 34ch; text-wrap: pretty; }

.panel { border-radius: var(--r-panel); padding: clamp(24px, 3vw, 40px); view-transition-name: panel; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content; white-space: nowrap;
  padding: 14px 22px; border-radius: 999px;
  background: var(--ink); color: var(--navy-deep);
  font: 600 15px/1 var(--sans);
  transition: transform .16s var(--ease-out), background-color .2s ease;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #fff; }
  .btn:hover svg { transform: translateX(3px); }
}

/* Pie */
.foot { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 13px; color: var(--ink-3); padding-top: 18px; border-top: 1px solid var(--line); }
.foot span:first-child { color: var(--ink-2); }

/* ---------- Secciones debajo de la primera pantalla ---------- */
.page { grid-template-rows: auto; }
.stage { min-height: calc(100dvh - 210px); }
.more { padding: 72px 0; display: grid; gap: 32px; }
.more h2 { font-weight: 300; letter-spacing: -.025em; line-height: 1.08; font-size: clamp(30px, 3.6vw, 50px); text-wrap: balance; max-width: 20ch; }
.more h3 { font-weight: 500; font-size: 20px; letter-spacing: -.01em; margin-bottom: 8px; }
.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 40px 64px; }
.panel.flat { display: grid; gap: 22px; view-transition-name: none; }
.does li b { font-weight: 500; color: var(--ink); }
.does li { color: var(--ink-2); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--glass-edge); }
@media (hover: hover) and (pointer: fine) { .btn.ghost:hover { background: rgba(255, 255, 255, .08); } }
.founder { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 40px 64px; }
.photo { aspect-ratio: 4 / 5; border-radius: var(--r-panel); display: grid; place-items: center; border-style: dashed; max-width: 420px; width: 100%; }
.photo span { color: var(--ink-3); font-size: 14px; }
.founder-text { display: grid; gap: 24px; }
.founder blockquote p { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; font-weight: 300; color: var(--ink); max-width: 38ch; }
.founder blockquote em { font-style: italic; }
.founder blockquote footer { margin-top: 18px; color: var(--ink-3); font-size: 15px; }
.duo { grid-template-columns: 1fr 1fr; gap: 32px 48px; }
.duo p { color: var(--ink-2); font-size: 17px; line-height: 1.5; }

/* ---------- Páginas largas (SpurOS) ---------- */
.depth { position: relative; }
.depth::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1; background: linear-gradient(180deg, rgba(17, 14, 36, 0) 0, rgba(17, 14, 36, .82) 240px, rgba(17, 14, 36, .9) 100%); }
.prose { display: grid; gap: 18px; font-size: 17.5px; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.asks { font-size: 19px; font-weight: 300; color: var(--ink); line-height: 1.5; }
.evidence { max-width: 860px; }
.evidence b { color: var(--copper-soft); font-weight: 500; }
.evidence p { color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.evidence .src { font-size: 13.5px; color: var(--ink-3); }
.steps { list-style: none; counter-reset: paso; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: paso; padding-top: 18px; border-top: 1px solid var(--glass-edge); color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.steps li::before { content: counter(paso); display: block; font-size: 34px; font-weight: 300; color: var(--copper-soft); line-height: 1; margin-bottom: 14px; }
.steps li b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 6px; font-size: 17px; }
.trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.trio p { color: var(--ink-2); font-size: 16.5px; line-height: 1.5; }
.close { justify-items: start; padding-bottom: 96px; }

/* ---------- Inicio ---------- */
.home .stage { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); align-items: end; gap: 40px 64px; }
.home .intro { display: grid; gap: 24px; }
.doors { display: grid; gap: 12px; view-transition-name: panel; }
.door {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 20px;
  padding: 22px 24px; border-radius: var(--r-panel);
  transition: transform .2s var(--ease-out), border-color .2s ease;
}
.door b { font-weight: 500; font-size: 26px; letter-spacing: -.02em; }
.door p { grid-column: 1; color: var(--ink-2); font-size: 15.5px; }
.door svg { grid-row: 1 / span 2; grid-column: 2; width: 22px; height: 22px; color: var(--copper-soft); transition: transform .2s var(--ease-out); }
.door:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) {
  .door:hover { border-color: rgba(255, 255, 255, .34); }
  .door:hover svg { transform: translateX(4px); }
}

/* ---------- Páginas de producto ---------- */
.product .panel { max-width: 600px; display: grid; gap: 22px; }
.product.right .panel { justify-self: end; }
.product h1 { font-size: clamp(52px, 7vw, 96px); }
.product .for { color: var(--ink-2); font-size: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.does { list-style: none; display: grid; }
.does li { font-size: 16.5px; line-height: 1.45; padding: 13px 0; border-top: 1px solid var(--line); }

/* ---------- Empresa ---------- */
.company .stage { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 40px 64px; }
.company .left { display: grid; gap: 36px; }
.creed { font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; line-height: 1.3; letter-spacing: -.01em; color: var(--ink-2); }
.creed strong { font-weight: 500; color: var(--ink); }
.company .panel { display: grid; gap: 18px; font-size: 16.5px; color: var(--ink-2); }
.company .panel p strong { color: var(--ink); font-weight: 500; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; font-size: 14.5px; padding-top: 18px; border-top: 1px solid var(--line); }
.facts dt { color: var(--ink-3); }
.facts dd { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Contacto ---------- */
.contact .stage { max-width: 760px; }
.contact .panel { display: grid; gap: 22px; }
.mail {
  font-size: clamp(20px, 2.6vw, 32px); font-weight: 400; letter-spacing: -.01em; width: fit-content;
  text-decoration: underline 1px var(--copper); text-underline-offset: .32em;
  overflow-wrap: anywhere; transition: color .2s ease;
}
@media (hover: hover) and (pointer: fine) { .mail:hover { color: var(--copper-soft); } }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  @view-transition { navigation: none; }
}

/* ---------- Pantallas pequeñas ---------- */
@media (max-width: 900px) {
  .home .stage, .company .stage, .split, .founder, .duo { grid-template-columns: 1fr; }
  .more { padding: 48px 0; }
  .product.right .panel { justify-self: start; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .page { padding-top: 96px; }
  .nav { top: 10px; padding: 6px 6px 6px 14px; gap: 8px; }
  .brand span { display: none; }
  .nav li a { padding: 8px 10px; font-size: 13.5px; }
  .stage { padding-bottom: 24px; gap: 22px; }
  .door { padding: 18px 20px; }
  .door b { font-size: 22px; }
  .mail { font-size: clamp(15px, 4.3vw, 20px); }
}
@media (max-width: 380px) {
  .nav li a { padding: 8px 7px; font-size: 13px; }
}
.panel.flat .does li:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 900px) { .photo { max-width: 280px; } }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .trio { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }
.product .depth .panel { max-width: none; }
.product .depth .evidence { max-width: 860px; }
.medida { gap: 22px; }
.prose-sm { color: var(--ink-2); font-size: 16.5px; line-height: 1.55; max-width: 52ch; }
.does li b { font-weight: 500; }

/* Menú de celular: la barra completa no cabe con 5 enlaces */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; background: rgba(255, 255, 255, .10); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: rgba(255, 255, 255, .18); }
.menu ul { position: absolute; right: 0; top: calc(100% + 10px); display: grid; gap: 2px; min-width: 200px; padding: 8px; border-radius: 18px; list-style: none; }
.menu ul a { display: block; padding: 12px 14px; font-size: 15px; }
@media (max-width: 620px) {
  .nav .links { display: none; }
  .menu { display: block; }
  .brand span { display: inline; }
}
/* dentro de la barra el desenfoque no funciona (el padre ya es vidrio): fondo casi opaco */
.menu ul.glass { background: var(--glass-sheen), rgba(22, 19, 48, .96); }

/* ---------- Formulario de contacto ---------- */
.contacto { max-width: 820px; }
.form { display: grid; gap: 22px; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.campo { display: grid; gap: 8px; }
.campo > span, .tipo legend { font-size: 14px; font-weight: 500; color: var(--ink); }
.campo i { font-style: normal; color: var(--ink-3); font-weight: 400; }
.campo input, .campo textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink);
  background: rgba(10, 8, 26, .45); border: 1px solid var(--glass-edge); border-radius: 12px;
  padding: 12px 14px; transition: border-color .2s ease, background-color .2s ease;
}
.campo textarea { resize: vertical; min-height: 130px; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--copper-soft); background: rgba(10, 8, 26, .6); }
.tipo { border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tipo legend { margin-bottom: 10px; }
.opcion { position: relative; }
.opcion input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opcion span { display: block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--glass-edge); font-size: 14.5px; color: var(--ink-2); transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.opcion input:checked + span { color: var(--ink); border-color: var(--copper-soft); background: rgba(201, 125, 61, .16); }
.opcion input:focus-visible + span { outline: 2px solid var(--copper-soft); outline-offset: 3px; }
.tipo .otro { display: none; flex-basis: 100%; margin-top: 6px; }
.tipo:has(input[value="otro"]:checked) .otro { display: grid; }
.trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.acepto { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.acepto input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--copper); }
.acepto a, .foot a { color: var(--ink); text-decoration: underline 1px var(--copper); text-underline-offset: .2em; }
@media (max-width: 620px) { .campos { grid-template-columns: 1fr; } }

/* ---------- Páginas de lectura (política de datos) ---------- */
.lectura { max-width: 72ch; margin: 0 auto; padding: 140px var(--gutter) 64px; }
.lectura .caja { background: rgba(17, 14, 36, .88); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(24px, 4vw, 56px); }
.lectura h1 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 14px; }
.lectura .fecha { color: var(--ink-3); font-size: 14px; margin-bottom: 32px; }
.lectura h2 { font-weight: 500; font-size: 21px; letter-spacing: -.01em; margin: 36px 0 12px; }
.lectura p, .lectura li { color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }
.lectura p + p { margin-top: 12px; }
.lectura ul, .lectura ol { padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.lectura strong { color: var(--ink); font-weight: 500; }
.lectura a { color: var(--ink); text-decoration: underline 1px var(--copper); text-underline-offset: .2em; }
.lectura .foot { margin-top: 40px; }

/* =====================================================================
   2026-10-01 · Lo aprendido de SAP: el vidrio solo donde hay foto detrás,
   abajo superficies sólidas, y una escena por capas en las páginas de producto.
   ===================================================================== */

/* Abajo de la primera pantalla el fondo ya es sólido: ahí el vidrio no tenía nada que desenfocar */
.depth::before { background: linear-gradient(180deg, rgba(17, 14, 36, 0) 0, var(--navy-deep) 260px, var(--navy-deep) 100%); }
.panel.glass.flat {
  background: var(--solid); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-solid);
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
}
:root { --solid: #1A1734; --solid-hover: #211D42; --r-solid: 6px; --ok: #9FD8B5; }

/* Fondo con la sombra a la izquierda, para el texto sin panel */
.bg.izquierda::after {
  background:
    linear-gradient(90deg, rgba(17, 14, 36, .94) 0%, rgba(17, 14, 36, .72) 38%, rgba(17, 14, 36, .18) 70%, rgba(17, 14, 36, .10) 100%),
    linear-gradient(0deg, rgba(17, 14, 36, .9) 0, rgba(17, 14, 36, 0) 220px);
}

/* Héroe de producto: texto sobre la foto y, al lado, la escena */
.heroe-escena { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; align-content: center; gap: 48px; }
.intro-producto { display: grid; gap: 26px; max-width: 560px; }
.intro-producto h1 { font-weight: 400; font-size: clamp(60px, 7.4vw, 108px); }
.intro-producto .lead { color: var(--ink); font-weight: 300; font-size: clamp(21px, 1.9vw, 26px); max-width: 30ch; }
.intro-producto .does li:last-child { border-bottom: 1px solid var(--line); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.cta .para { font-size: 14px; color: var(--ink-3); max-width: 34ch; }

/* La escena: capas que entran una tras otra, una sola vez */
.escena { position: relative; height: 540px; max-width: 560px; width: 100%; justify-self: end; }
.escena > * { position: absolute; }
.tarjeta {
  border-radius: 12px; padding: 18px 20px; display: grid; gap: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02) 60%), rgba(22, 19, 48, .46);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 18px 50px rgba(8, 6, 20, .45), inset 0 1px 0 rgba(255, 255, 255, .10);
  font-size: 14px;
}
.tarjeta b { font-size: 15px; font-weight: 600; }
.tarjeta small { font-size: 13px; color: rgba(244, 242, 238, .66); }
.tarjeta .fila { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .10); }
.tarjeta .cabeza { display: flex; justify-content: space-between; align-items: baseline; }
.doc { display: flex; align-items: center; gap: 12px; }
.doc i { width: 38px; height: 46px; border-radius: 4px; flex-shrink: 0; position: relative; background: rgba(244, 242, 238, .92) repeating-linear-gradient(180deg, transparent 0 9px, #C7CCD6 9px 11px) 7px 1px / 24px 28px no-repeat; }
.doc i::after { content: "PDF"; position: absolute; left: 6px; bottom: 6px; padding: 1px 4px; border-radius: 2px; background: var(--copper); color: #fff; font: 700 8px/1.2 var(--sans); font-style: normal; }
.doc span { display: grid; gap: 2px; }
.barra { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.barra::after { content: ""; display: block; height: 100%; background: var(--copper); transform-origin: left center; animation: llenar 1.1s cubic-bezier(.65, 0, .35, 1) 1s both; }
.listo { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(244, 242, 238, .8); }
.ok { width: 16px; height: 16px; color: var(--ok); flex-shrink: 0; }
.aviso { display: flex; gap: 14px; align-items: flex-start; }
.aviso > svg { width: 34px; height: 34px; padding: 8px; border-radius: 9px; flex-shrink: 0; color: #E6B98F; background: rgba(201, 125, 61, .22); border: 1px solid rgba(201, 125, 61, .6); }
.aviso span { display: grid; gap: 3px; }
.sello { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; background: rgba(23, 90, 52, .9); border: 1px solid rgba(159, 216, 181, .35); box-shadow: 0 10px 30px rgba(8, 6, 20, .4); }
.sello .ok { color: #fff; }
.linea { width: auto; height: auto; overflow: visible; }
.linea path { stroke: rgba(244, 242, 238, .8); stroke-width: 1.6; stroke-linecap: round; fill: none; stroke-dasharray: 240; }
.linea circle { fill: var(--copper); }

.capa { animation: entrar .9s var(--ease-out) both; }
.capa.de-lado { animation-name: deLado; }
.capa.crece { animation-name: crecer; }
.marca { animation: marcar .45s cubic-bezier(.34, 1.56, .64, 1) both; }
.linea.capa { animation: crecer .01s linear both; }
.linea.capa path { animation: trazar .8s ease-out both; animation-delay: inherit; }
@keyframes entrar { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes deLado { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes crecer { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes marcar { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes llenar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes trazar { from { stroke-dashoffset: 240; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .capa, .marca, .linea path, .barra::after { opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; }
}

/* Celdas: tres columnas separadas por una línea fina */
.celdas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-solid); overflow: hidden; }
.celdas > div { display: grid; align-content: start; gap: 10px; padding: 32px; background: var(--solid); }
.celdas h3 { margin: 0; font-size: 18px; font-weight: 600; }
.celdas p { color: var(--ink-2); font-size: 16px; line-height: 1.6; }

/* Reglas: tarjetas sólidas con filo cobre */
.reglas { display: grid; gap: 16px; }
.reglas .fila3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.reglas .fila2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.regla { display: grid; align-content: start; gap: 14px; padding: 30px 28px 32px; border-radius: var(--r-solid); background: var(--solid); border: 1px solid rgba(255, 255, 255, .08); border-top: 2px solid var(--copper); transition: transform .25s var(--ease-out), background-color .25s ease; }
.regla svg { width: 28px; height: 28px; color: #E6B98F; }
.more .regla h3 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 600; }
.regla p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
@media (hover: hover) and (pointer: fine) { .regla:hover { transform: translateY(-3px); background: var(--solid-hover); } }
.encabezado { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 72px; align-items: end; }
.encabezado p { color: var(--ink-2); font-size: 17px; }

/* El portal con la marca del cliente (ilustración) */
.portal { border-radius: 10px; overflow: hidden; background: #F4F2EE; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 70px rgba(4, 3, 12, .55); }
.portal .barra-nav { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--navy); }
.portal .puntos { display: flex; gap: 6px; }
.portal .puntos i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.portal .direccion { flex-grow: 1; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 7px; background: rgba(255, 255, 255, .08); font-size: 13px; color: rgba(244, 242, 238, .85); }
.portal .direccion b { font-weight: 600; color: #fff; }
.portal .direccion svg { width: 13px; height: 13px; color: var(--ok); }
.portal .cuerpo { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 300px; }
.portal .lado { display: grid; align-content: start; gap: 12px; padding: 20px 16px; background: #E9E6EF; }
.portal .logo { display: grid; place-items: center; height: 40px; border-radius: 6px; border: 1.5px dashed #8A86A0; color: #5B5770; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.portal .raya { height: 9px; border-radius: 5px; background: #C9C5D6; }
.portal .centro { display: grid; align-content: start; gap: 14px; padding: 22px 24px; }
.portal .titulo-falso { height: 14px; width: 42%; border-radius: 6px; background: var(--navy); }
.portal .kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.portal .kpis i { height: 70px; border-radius: 6px; background: #fff; border: 1px solid #DDD9E6; border-top: 3px solid #2F6FD6; }
.portal .tabla { display: grid; gap: 10px; padding: 14px; min-height: 110px; align-content: start; border-radius: 6px; background: #fff; border: 1px solid #DDD9E6; }
.portal .tabla i { height: 8px; border-radius: 4px; background: #E3E0EA; }

/* Preguntas frecuentes */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { padding: 14px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--copper); transition: transform .25s var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 8px 0 6px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }

@media (max-width: 900px) {
  .heroe-escena { grid-template-columns: 1fr; gap: 36px; }
  .escena { height: auto !important; display: grid; gap: 14px; justify-self: stretch; max-width: none; }
  .escena > * { position: relative !important; inset: auto !important; width: auto !important; }
  .escena .linea { display: none; }
  .escena .sello { justify-self: start; }
  .celdas, .reglas .fila3, .reglas .fila2, .encabezado { grid-template-columns: 1fr; }
  .bg.izquierda::after { background: linear-gradient(180deg, rgba(17, 14, 36, .55) 0, rgba(17, 14, 36, .86) 300px, rgba(17, 14, 36, .94) 100%); }
}
@media (max-width: 620px) {
  .portal .cuerpo { grid-template-columns: 96px minmax(0, 1fr); }
  .portal .centro { padding: 16px; }
  .portal .logo { font-size: 9px; letter-spacing: .06em; white-space: nowrap; }
}
/* GleisOS: estados de la flota y la marca de «no cumple» */
.estado { display: flex; align-items: center; gap: 10px; }
.estado i { width: 8px; height: 8px; border-radius: 50%; }
.ok.no { color: #E6B98F; }
/* Foto del fundador (fondo recortado sobre el azul de la marca) */
img.photo.foto-real { object-fit: cover; height: auto; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 70px -30px rgba(6, 4, 18, .8); }
/* El botón «Enviar» se ve apagado hasta que se acepta la política. Sigue siendo clicable a propósito:
   si alguien lo presiona sin marcar la casilla, el navegador le dice qué falta (un botón deshabilitado no explica nada). */
.form button[type="submit"] { transition: opacity .2s ease, filter .2s ease, transform .16s var(--ease-out), background-color .2s ease; }
.form:has(input[name="consentimiento"]:not(:checked)) button[type="submit"] { opacity: .42; filter: saturate(.5); }
