/* INA, Inteligencia de Negocio Automotriz. Hoja de estilos de la landing (Fase 1). */
:root {
  --navy: #00205B;      /* azul INA */
  --abyss: #001233;     /* fondo profundo */
  --cyan: #00A0E3;      /* acento de la flecha del logo */
  --cyan-ink: #0077B0;  /* cian con contraste suficiente sobre fondo claro */
  --ice: #E6F4FB;
  --paper: #F7F9FC;
  --ink: #0B1B3F;
  --muted: #4A5B7A;
  --line: #D5DEEA;
  --line-dark: rgba(255,255,255,.14);
  --on-dark: #C9D6EA;
  --signal: #EF4444;

  --font: "Archivo", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wide: 118%;         /* anchura de los títulos (Archivo es variable en anchura) */
  --r: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-stretch: var(--wide); line-height: 1.08; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-solid { background: var(--cyan); color: var(--abyss); }
.btn-solid:hover { background: #fff; }
.btn-line { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-line:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-line-dark { border-color: var(--navy); color: var(--navy); }
.btn-line-dark:hover { background: var(--navy); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.85); backdrop-filter: blur(10px); } }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,32,91,.5); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.35rem; font-stretch: 125%; font-weight: 850; letter-spacing: .02em; }
.brand-text span { font-size: .72rem; color: var(--muted); font-weight: 500; }
#menu { list-style: none; display: flex; align-items: center; gap: 26px; }
#menu a:not(.btn) { text-decoration: none; font-weight: 550; color: var(--ink); font-size: .98rem; }
#menu a:not(.btn):hover { color: var(--cyan-ink); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--navy); margin: 0 auto; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Portada ---------- */
.hero { background: var(--abyss); color: #fff; padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 56px); overflow: hidden; position: relative; }
.hero::before { /* arco que retoma el trazo del logo */
  content: ""; position: absolute; width: 1100px; height: 1100px; right: -420px; top: -520px; border-radius: 50%;
  border: 2px solid rgba(0,160,227,.22); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 820; text-wrap: balance; }
.lead { margin-top: 22px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--on-dark); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.screen { margin: 0; background: #0A1B3D; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.screen-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #0E2147; border-bottom: 1px solid rgba(255,255,255,.08); }
.screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.22); }
.screen-bar span { margin-left: 8px; font-size: .78rem; color: #9FB3D1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen video { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; background: #0A1B3D; }
.screen figcaption { padding: 10px 14px 11px; border-top: 1px solid rgba(255,255,255,.08); line-height: 1.35; }
.screen figcaption strong { display: block; color: #EAF2FB; font-size: .95rem; font-weight: 650; }
.screen figcaption small { display: block; margin-top: 2px; color: #7F93B3; font-size: .68rem; letter-spacing: .01em; }
.vid-wrap { position: relative; }

.creds { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(40px, 6vw, 72px) 0 0; border-top: 1px solid var(--line-dark); }
.creds div { padding: 20px 20px 0 0; }
.creds div + div { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.creds dt { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; font-stretch: 125%; color: #fff; line-height: 1.1; }
.creds dd { margin: 4px 0 0; color: var(--on-dark); font-size: .95rem; }
.networks { margin-top: 28px; color: var(--on-dark); font-size: .98rem; }
.networks strong { color: #fff; font-weight: 650; }

/* ---------- Banda de Seúl ---------- */
.seoul { background: var(--cyan); color: var(--abyss); }
.seoul-row { display: flex; align-items: center; gap: clamp(16px, 4vw, 48px); padding-top: 22px; padding-bottom: 22px; }
.seoul-big { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 850; font-stretch: 125%; white-space: nowrap; line-height: 1; }
.seoul-text { font-size: 1.05rem; max-width: 52em; }

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 800; color: var(--navy); text-wrap: balance; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }

/* ---------- Selector de ejes (elemento central) ---------- */
.ejes { background: #fff; }
.axis-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.axis-tabs button { position: relative; text-align: left; background: none; border: 0; cursor: pointer; font: inherit; color: var(--muted);
  padding: 18px 20px 22px 0; display: flex; flex-direction: column; gap: 6px; transition: color .2s; }
.axis-tabs button + button { padding-left: 20px; border-left: 1px solid var(--line); }
.axis-n { font-size: .9rem; font-weight: 600; }
.axis-name { font-size: clamp(1.1rem, 1.9vw, 1.6rem); font-weight: 780; font-stretch: 112%; line-height: 1.12; }
.axis-tabs button:hover { color: var(--navy); }
.axis-tabs button[aria-selected="true"] { color: var(--navy); }
.axis-tabs button[aria-selected="true"] .axis-n { color: var(--cyan-ink); }
.axis-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: transparent; }
.axis-tabs button + button .axis-progress { left: 20px; }
.axis-tabs button[aria-selected="true"] .axis-progress { background: var(--ice); }
.axis-progress i { display: block; height: 100%; width: 0; background: var(--cyan); }
.axis-tabs button[aria-selected="true"] .axis-progress i { width: var(--p, 100%); }

.axis-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 56px); padding-top: clamp(28px, 4vw, 44px); align-items: start; }
.axis-panel[hidden] { display: none; }
.axis-panel { grid-column: 1; grid-row: 1; }
.screen.axis-screen { grid-column: 2; grid-row: 1; position: sticky; top: 92px; }
.axis-panel.entering .axis-text { animation: axisIn .45s cubic-bezier(.2,.7,.2,1); }
@keyframes axisIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.axis-text h3 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); font-weight: 760; color: var(--ink); text-wrap: balance; }
.axis-promise { margin-top: 14px; font-size: 1.12rem; color: var(--ink); }
.services { list-style: none; margin-top: 22px; display: grid; gap: 16px; }
.services li { padding-left: 18px; border-left: 3px solid var(--ice); color: var(--muted); }
.services strong { display: block; color: var(--navy); font-weight: 680; margin-bottom: 2px; }
.gains { margin-top: 24px; padding: 18px 20px; background: var(--ice); border-radius: var(--r); }
.gains p { font-weight: 650; color: var(--navy); font-size: .98rem; }
.gains ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gains li { background: #fff; border: 1px solid #BFE3F5; color: var(--navy); border-radius: 999px; padding: 4px 12px; font-size: .9rem; font-weight: 550; }

.thiel { margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; }
.thiel p { flex: 1 1 520px; font-size: clamp(1.25rem, 2.3vw, 1.9rem); font-weight: 650; font-stretch: 110%; line-height: 1.25; color: var(--navy); text-wrap: balance; }
.thiel p::before { content: "“"; color: var(--cyan); }
.thiel p::after { content: "”"; color: var(--cyan); }
.thiel span { color: var(--muted); font-size: .95rem; }

.gated { margin-top: clamp(40px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  padding: 24px 28px; border-radius: var(--r); background: var(--navy); color: #fff; }
.gated p { max-width: 46em; color: var(--on-dark); }

/* ---------- Método ---------- */
.metodo { background: var(--paper); }
.steps { list-style: none; counter-reset: paso; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps li { counter-increment: paso; padding: 0 22px 0 0; position: relative; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(paso); display: block; font-size: 2.6rem; font-weight: 850; font-stretch: 125%; color: var(--cyan); line-height: 1; margin-bottom: 14px; }
.steps h3 { font-size: 1.2rem; font-weight: 720; color: var(--navy); font-stretch: 105%; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.steps .tag { display: block; width: fit-content; margin-top: 8px; padding: 2px 10px; border-radius: 999px; background: var(--ice); color: var(--cyan-ink); font-size: .78rem; font-weight: 700; font-stretch: 100%; white-space: nowrap; }
.steps .fine { margin-top: 10px; font-size: .82rem; line-height: 1.45; color: var(--muted); }
.kpi-list { margin: 10px 0 0; display: grid; gap: 8px; }
.kpi-list dt { font-weight: 700; color: var(--navy); }
.kpi-list dd { margin: 0; }

/* ---------- Carlos ---------- */
.carlos { background: #fff; }
.carlos-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.carlos-photo img { width: 100%; border-radius: 14px; background: #E9ECF1; }
.carlos-text h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 820; color: var(--navy); }
.carlos-role { margin-top: 8px; color: var(--cyan-ink); font-weight: 600; }
.carlos-text > p:not(.carlos-role) { margin-top: 18px; color: var(--muted); max-width: 36em; font-size: 1.08rem; }
.carlos-text .btn { margin-top: 26px; }

/* ---------- Formulario ---------- */
.propuesta { background: var(--abyss); color: #fff; }
.form-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form-intro { position: sticky; top: 100px; }
.form-intro h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 820; text-wrap: balance; }
.form-intro p { margin-top: 16px; color: var(--on-dark); }
.form-intro .form-note { font-size: .95rem; padding-left: 14px; border-left: 3px solid var(--cyan); }
.direct { list-style: none; margin-top: 26px; display: grid; gap: 8px; }
.direct a { color: #fff; font-weight: 600; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); word-break: break-word; }

.form { background: #fff; color: var(--ink); border-radius: 14px; padding: clamp(20px, 3vw, 36px); }
fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
legend { font-weight: 750; font-stretch: 110%; color: var(--navy); font-size: 1.1rem; margin-bottom: 10px; padding: 0; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 14px; }
.field { margin-bottom: 12px; min-width: 0; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan-ink); box-shadow: 0 0 0 3px rgba(0,160,227,.25); background: #fff; }
.field.invalid input, .field.invalid select { border-color: var(--signal); background: #FFF5F5; }
.checks { display: grid; gap: 6px; margin-bottom: 14px; }
.checks.invalid { outline: 2px solid var(--signal); outline-offset: 6px; border-radius: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.consent { margin: 4px 0 18px; font-size: .9rem; color: var(--muted); }
.consent.invalid { color: var(--signal); }
.consent a { color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 12px; min-height: 1.5em; font-size: .95rem; }
.form-msg.ok { color: #0F7A3D; font-weight: 600; }
.form-msg.err { color: #B91C1C; font-weight: 600; }

/* ---------- Pie ---------- */
.site-footer { background: #fff; color: var(--ink); padding: clamp(48px, 6vw, 72px) 0 0; border-top: 1px solid var(--line); }
.brands h2 { font-size: 1.05rem; font-weight: 650; color: var(--muted); font-stretch: 100%; }
.brand-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-list li { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 4px; padding: 22px 20px 22px 0; min-height: 110px; }
.brand-list li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.brand-list img { width: auto; margin-bottom: 8px; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.brand-list .logo-gm { height: 48px; }
.brand-list .logo-maresa { height: 36px; }
.brand-list .logo-kia { height: 24px; margin-top: 12px; margin-bottom: 20px; }
@media (hover: none) { .brand-list img { filter: none; opacity: 1; } }
.brand-list li:hover img { filter: none; opacity: 1; }
.brand-word { font-size: 1.35rem; font-weight: 800; font-stretch: 112%; color: var(--navy); line-height: 1.1; }
.brand-meta { color: var(--muted); font-size: .92rem; }
.brand-count:empty { display: none; }
.brand-count { font-size: .92rem; color: var(--cyan-ink); font-weight: 650; }
.footer-grid { display: grid; grid-template-columns: auto 1fr; gap: 24px 56px; align-items: center; margin-top: 40px; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 120px; }
.footer-brand p { color: var(--muted); max-width: 16em; }
.footer-contact { list-style: none; display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 32px; justify-self: end; }
.footer-contact a { color: var(--navy); text-decoration: none; font-weight: 550; word-break: break-word; }
.footer-contact a:hover { text-decoration: underline; }
.footer-contact li { color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* ---------- Página de privacidad ---------- */
.doc { max-width: 760px; padding-top: 56px; padding-bottom: 80px; }
.doc h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--navy); font-weight: 800; }
.doc h2 { font-size: 1.2rem; color: var(--navy); margin-top: 32px; font-stretch: 105%; }
.doc p, .doc li { margin-top: 10px; color: var(--muted); }
.doc ul { padding-left: 1.2em; }

/* ---------- Adaptación a pantallas ---------- */
@media (max-width: 1000px) {
  .hero-grid, .axis-body, .carlos-grid, .form-grid { grid-template-columns: 1fr; }
  .axis-body { display: block; }
  .screen.axis-screen { position: relative; top: auto; margin-top: 32px; }
  .form-intro { position: static; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .creds { grid-template-columns: 1fr 1fr; }
  .creds div:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact { justify-self: start; }
  .carlos-photo { max-width: 460px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  #menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px; display: none; }
  #menu.open { display: flex; }
  #menu li a:not(.btn) { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  #menu .btn { margin-top: 14px; width: 100%; }
}
@media (max-width: 1100px) { .footer-contact { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .brand-text span { display: none; }
  .axis-tabs { grid-template-columns: 1fr; border-bottom: 0; }
  .axis-tabs button, .axis-tabs button + button { padding: 14px 0 16px; border-left: 0; border-bottom: 1px solid var(--line); }
  .axis-tabs button + button .axis-progress { left: 0; }
  .row-2, .row-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 0; border-left: 0; }
  .brand-list { grid-template-columns: 1fr; }
  .brand-list li, .brand-list li + li { padding: 16px 0; border-left: 0; min-height: 0; }
  .brand-list li + li { border-top: 1px solid var(--line); }
  .footer-contact { grid-template-columns: 1fr; }
  .footer-brand { flex-direction: column; align-items: flex-start; }
  .seoul-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .gated { padding: 22px; }
  .gated .btn { width: 100%; }
}
@media (max-width: 420px) {
  .creds { grid-template-columns: 1fr; }
  .creds div, .creds div + div { padding-left: 0; border-left: 0; }
  .creds div + div { border-top: 1px solid var(--line-dark); margin-top: 16px; }
  .hero-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Control de pausa de los videos ---------- */
.screen { position: relative; }
.vid-toggle { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,18,51,.72); cursor: pointer; display: grid; place-items: center; }
.vid-toggle::before { content: ""; width: 12px; height: 13px; border-left: 4px solid #fff; border-right: 4px solid #fff; box-sizing: border-box; }
.vid-toggle[data-state="paused"]::before { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.vid-toggle:hover { background: var(--navy); }

/* ---------- Firma del pie (estilo firma INA) ---------- */
.sig { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 0; margin-top: 0;
  padding-bottom: 22px; position: relative; }
.sig::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; border-radius: 999px;
  background: linear-gradient(90deg, var(--navy), #1E88E5 70%, var(--cyan)); }
.sig-logo { width: 112px; height: auto; margin-right: 28px; }
.sig-id { padding: 4px 32px 4px 24px; border-left: 4px solid; border-image: linear-gradient(180deg, #1E88E5, var(--navy)) 1; }
.sig-name { font-size: 1.6rem; font-weight: 800; font-stretch: 112%; letter-spacing: .04em; color: var(--navy); line-height: 1.1; }
.sig-firm { margin-top: 6px; color: #1565C0; font-weight: 700; }
.sig-firm::after { content: ""; display: block; width: 100%; max-width: 280px; height: 3px; margin-top: 12px; background: linear-gradient(90deg, var(--navy), #1E88E5); }
.sig-tag { margin-top: 10px; color: var(--muted); line-height: 1.35; }
.sig-tag strong { display: block; color: var(--navy); }
.sig-contact { list-style: none; display: grid; grid-template-columns: 1fr; gap: 10px; padding-left: 32px; border-left: 1px solid var(--line); min-width: 0; }
.sig-contact li { display: flex; align-items: center; gap: 12px; color: var(--ink); min-width: 0; }
.sig-contact a { color: var(--ink); text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.sig-contact a:hover { color: #1565C0; text-decoration: underline; }
.sig-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, #1E88E5, var(--navy) 75%); }
.sig-ic svg { width: 18px; height: 18px; }
@media (max-width: 1150px) {
  .sig { grid-template-columns: auto minmax(0, 1fr); row-gap: 24px; }
  .sig-contact { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 32px; padding-left: 0; border-left: 0; }
}
@media (max-width: 680px) {
  .sig { grid-template-columns: 1fr; }
  .sig-logo { width: 96px; margin: 0 0 4px; }
  .sig-id { padding: 2px 0 2px 16px; }
  .sig-contact { grid-template-columns: 1fr; }
  .sig-contact a, .sig-contact span:not(.sig-ic) { font-size: .9rem; }
}

/* ---------- Derechos de autor ---------- */
.copyright { margin-top: clamp(40px, 5vw, 56px); background: #1B202B; padding: 26px var(--gutter); text-align: center; }
.copyright p { color: #A9B4C8; font-size: 1.05rem; }
@media (max-width: 680px) { .copyright p { font-size: .9rem; } }
.brands { margin-top: clamp(40px, 5vw, 56px); }

/* ---------- Apps INA en uso ---------- */
.apps { background: var(--abyss); color: #fff; }
.apps .section-head h2 { color: #fff; }
.apps .section-head p { color: var(--on-dark); }
.apps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); align-items: start; }
.app-card .app-desc { padding: 0 14px 14px; color: #9FB3D1; font-size: .92rem; }
@media (max-width: 860px) { .apps-grid { grid-template-columns: 1fr; } }

/* ---------- Ejes como botones seleccionables ---------- */
.axis-tabs { gap: 14px; border-bottom: 0; }
.axis-tabs button, .axis-tabs button + button {
  padding: 18px 20px 22px; border: 2px solid var(--line); border-left: 2px solid var(--line); border-radius: 14px;
  background: var(--paper); color: var(--navy); overflow: hidden; text-align: left;
  box-shadow: 0 2px 0 rgba(0,32,91,.06); transition: border-color .2s, background-color .2s, color .2s, transform .15s, box-shadow .2s; }
.axis-tabs button:hover { border-color: var(--cyan); background: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px -14px rgba(0,32,91,.45); }
.axis-tabs button:active { transform: translateY(0); }
.axis-tabs .axis-n { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan-ink); }
.axis-tabs .axis-name { color: inherit; }
.axis-tabs button::after { content: "Ver servicio"; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; width: fit-content;
  padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 650; font-stretch: 100%;
  background: #fff; border: 1px solid var(--line); color: var(--navy); }
.axis-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 14px 28px -16px rgba(0,32,91,.8); }
.axis-tabs button[aria-selected="true"] .axis-n { color: #7FD3F5; }
.axis-tabs button[aria-selected="true"]::after { content: "Seleccionado"; background: var(--cyan); border-color: var(--cyan); color: var(--abyss); }
.axis-tabs .axis-progress, .axis-tabs button + button .axis-progress { left: 0; right: 0; bottom: 0; height: 5px; }
.axis-tabs button[aria-selected="true"] .axis-progress { background: rgba(255,255,255,.15); }
@media (max-width: 680px) {
  .axis-tabs { gap: 10px; }
  .axis-tabs button, .axis-tabs button + button { padding: 14px 16px 18px; border: 2px solid var(--line); }
  .axis-tabs button[aria-selected="true"] { border-color: var(--navy); }
}

/* ---------- Confirmación de solicitud ---------- */
.form-thanks { text-align: center; padding: clamp(24px, 4vw, 48px) clamp(8px, 2vw, 24px); outline: none; }
.thanks-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--ice); }
.thanks-mark::before { content: ""; width: 26px; height: 14px; border-left: 4px solid var(--cyan-ink); border-bottom: 4px solid var(--cyan-ink); transform: rotate(-45deg) translate(2px, -3px); }
.form-thanks h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; color: var(--navy); text-wrap: balance; }
.form-thanks p { margin: 14px auto 0; max-width: 34em; color: var(--muted); font-size: 1.05rem; }
.form-thanks .thanks-note { font-size: .82rem; }
.form-thanks .btn { margin-top: 24px; }

[hidden] { display: none !important; }
.brand-list .logo-byd { height: 20px; margin-top: 14px; margin-bottom: 22px; }
@media (max-width: 1000px) and (min-width: 681px) { .brand-list { grid-template-columns: repeat(2, 1fr); } .brand-list li:nth-child(3) { padding-left: 0; border-left: 0; } .brand-list li:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Ajustes finales de composición ---------- */
.hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.hero h1 { font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1.06; }
.ejes .section-head { max-width: 960px; }
.ejes .section-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.brand-list .logo-byd { opacity: 1; filter: none; }
@media (max-width: 680px) {
  .brand-list { grid-template-columns: 1fr 1fr; }
  .brand-list li, .brand-list li + li { padding: 16px 12px 16px 0; border-left: 0; border-top: 0; }
  .brand-list li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
  .brand-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
