/* Dominio Público — hoja de estilos principal
   Sistema: Josefin Sans (titulares) + Manrope (lectura) · naranja #FF4500 · grafito #2B2B2B */

@font-face { font-family: "Josefin Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/josefin-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Josefin Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/josefin-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }

:root {
  --brand: #FF4500;        /* isotipo, acentos, titulares grandes */
  --action: #C93600;       /* botones y enlaces: 5,2:1 con blanco y ≥4,5:1 en todos los fondos claros */
  --action-hover: #A82D00;
  --action-press: #8F2600;
  --ink: #2B2B2B;
  --ink-2: #4A4A4A;
  --gray: #6B6B6B;
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --band: #F1EFEA;
  --line: #E6E4DF;
  --line-strong: #D9D6CF;
  --dark: #1F1F1F;
  --dark-2: #2B2B2B;
  --on-dark-muted: #D6D6D6;
  --brand-on-dark: #FF8A5C;
  --error: #B71C1C;
  --radius-card: 22px;
  --radius-field: 12px;
  --display: "Josefin Sans", "Futura", "Century Gothic", sans-serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 24px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--text); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--action); text-underline-offset: 3px; }
a:hover { color: var(--action-hover); }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }

/* ---------- Tipografía ---------- */
.display { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5.6vw, 80px); line-height: 1.03; letter-spacing: -0.01em; }
.display-md { font-size: clamp(36px, 4.8vw, 66px); }
.accent { color: var(--brand); }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 54px); line-height: 1.06; }
.h2-sm { font-size: clamp(28px, 3.2vw, 44px); }
.h3 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.1; }
.h4 { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.15; }
.h5 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.lead { margin-top: 26px; max-width: 580px; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); flex: none; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; }
.kicker-light { color: var(--brand-on-dark); }
.note { margin-top: 20px; font-size: 14px; color: var(--gray); }
.on-dark { color: #fff; }
.on-dark-muted { color: var(--on-dark-muted); margin-top: 16px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font-family: var(--text); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--action); color: #fff; }
.btn-primary:hover { background: var(--action-hover); color: #fff; }
.btn-primary:active { background: var(--action-press); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: #FFE3D6; color: var(--dark); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--line); color: #8A8A8A; border-color: var(--line); cursor: not-allowed; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.more { font-weight: 700; color: var(--action); text-decoration: none; }
.more:hover { color: var(--action-hover); text-decoration: underline; }

/* ---------- Encabezado ---------- */
.site-header { position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #333; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-main { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: .02em; color: #333; }
.brand-sub { font-family: var(--display); font-weight: 400; font-size: 11px; letter-spacing: .62em; color: var(--gray); margin-top: 5px; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.main-nav ul { list-style: none; padding: 0; }
.navlink { display: inline-block; padding: 10px 4px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.navlink:hover, .navlink.is-current { color: var(--action); }

/* Menú móvil (sin JavaScript el menú queda visible debajo del logo) */
.main-nav { width: 100%; }
.js .main-nav { display: none; }
.js .main-nav.is-open { display: block; }
.header-row { flex-wrap: wrap; }
.main-nav > ul { display: flex; flex-direction: column; gap: 2px; padding: 8px 0 16px; }
.main-nav .sub { padding-left: 16px; }
.main-nav .sub a { display: block; padding: 8px 4px; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.main-nav .btn { margin-top: 10px; }

@media (min-width: 1000px) {
  .header-row { flex-wrap: nowrap; }
  .nav-toggle { display: none; }
  .main-nav, .js .main-nav { display: block; width: auto; }
  .main-nav > ul { flex-direction: row; align-items: center; gap: 22px; padding: 0; }
  .main-nav .btn { margin-top: 0; }
  .has-sub { position: relative; }
  .main-nav .sub { position: absolute; top: 100%; left: -16px; min-width: 300px; padding: 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .main-nav .sub a { padding: 10px 12px; border-radius: 10px; }
  .main-nav .sub a:hover { background: var(--band); color: var(--ink); }
}

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: clamp(24px, 5vw, 56px); padding-bottom: clamp(64px, 8vw, 96px); }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero-visual { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-mark { width: 100%; max-width: 340px; overflow: visible; }
.hero-dot { transition: cx .45s var(--ease), cy .45s var(--ease); }
.hero-caption { min-height: 54px; max-width: 420px; text-align: center; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 460px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 640px) { .hero-mark { max-width: 220px; } }

/* ---------- Marcas ---------- */
.brands { background: #222; color: #fff; padding-block: 44px; }
.brands-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 56px; }
.brands-title { font-family: var(--text); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #BDBDBD; max-width: 220px; line-height: 1.5; }
.brands-list { flex: 1 1 560px; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 28px; align-items: center; }
.brands-list img { width: 100%; height: 44px; object-fit: contain; filter: grayscale(1) brightness(1.75); opacity: .85; transition: filter .3s, opacity .3s; }
.brands-list img:hover { filter: none; opacity: 1; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(72px, 9vw, 112px); }
.section-tight { padding-block: 24px clamp(56px, 7vw, 96px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 44px; }
.section-head p { max-width: 440px; color: var(--ink-2); }
.section-head .h2 + p { margin-top: 12px; }
.section-lead { max-width: 640px; margin: 12px 0 44px; }
.band { background: var(--band); padding-block: clamp(72px, 9vw, 104px); }
.band .h2 { margin-bottom: 48px; }
.band-white { background: var(--surface); border-block: 1.5px solid var(--line); }
.band-white .h2 { margin-bottom: 0; }
.band-dark { background: var(--dark); color: #fff; }
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split > div { flex: 1 1 360px; }
.split > ul { flex: 1 1 520px; }

.grid-2, .grid-3 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.grid-tight { margin-top: 40px; gap: 20px; }

.card { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-card); transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--ink); transform: translateY(-3px); }
.card-flat:hover { transform: none; border-color: var(--line); }
.card-flat { padding: 28px; }
.card-flat .h5 { margin-bottom: 8px; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 3px solid var(--action); outline-offset: 3px; }
.service-card { padding: clamp(28px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.service-num { font-family: var(--display); font-weight: 700; color: var(--action); display: flex; align-items: center; gap: 12px; }
.badge { font-family: var(--text); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--brand); color: var(--dark); padding: 4px 10px; border-radius: 999px; }
.ticks { padding-left: 20px; }
.ticks li + li { margin-top: 2px; }
.service-card .more { margin-top: auto; padding-top: 6px; }
.card-dark { background: var(--dark-2); border-color: var(--dark-2); color: #fff; }
.card-dark:hover { border-color: var(--brand); }
.card-dark .muted { color: var(--on-dark-muted); }
.card-dark .service-num { color: var(--brand-on-dark); }
.card-dark .more { color: var(--brand-on-dark); }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 40px 32px; }
.section .steps { margin-top: 44px; }
.steps li { border-top: 2px solid var(--ink); padding-top: 22px; }
.step-num { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--action); }
.steps h3 { font-size: 21px; margin: 14px 0 8px; }
.steps p { color: var(--ink-2); }

.project-card { overflow: hidden; }
.project-media { aspect-ratio: 4 / 3; background: var(--band); display: grid; place-items: center; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-placeholder { opacity: .35; }
.project-body { padding: 22px 26px 28px; }
.project-body .h4 { margin-bottom: 8px; }

.panel { border: 1.5px solid var(--line); border-radius: 28px; background: var(--surface); padding: clamp(28px, 5vw, 64px); }
.panel-lead { max-width: 620px; margin: 16px 0 36px; }
.panel .btn { margin-top: 32px; }
.panel.empty { text-align: center; color: var(--ink-2); }
.plan { background: var(--bg); border-radius: 18px; padding: 28px; }
.plan h3 { font-size: 21px; margin-bottom: 10px; }
.plan p { color: var(--ink-2); }

.about-teaser { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding-top: 0; }
.about-teaser > div { flex: 1 1 420px; }
.about-teaser .h2 { margin-bottom: 14px; }
.about-teaser .more { display: inline-block; margin-top: 18px; }
.year { font-family: var(--display); font-weight: 700; font-size: clamp(96px, 14vw, 200px); line-height: .9; color: var(--brand); }

/* ---------- Llamado final ---------- */
.cta-band { background: var(--dark); color: #fff; padding-block: clamp(72px, 9vw, 104px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.cta-copy { flex: 1 1 440px; }
.cta-copy p { margin-top: 20px; max-width: 480px; color: var(--on-dark-muted); font-size: 19px; }
.cta-box { flex: 1 1 400px; background: var(--dark-2); border-radius: 24px; padding: clamp(24px, 3vw, 36px); }
.cta-box h3 { font-family: var(--display); font-size: 28px; margin-bottom: 20px; }
.cta-options { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.opt { display: flex; align-items: center; min-height: 52px; padding: 10px 18px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.3); color: #fff; font-weight: 600; text-decoration: none; transition: border-color .2s, background .2s; }
.opt:hover { border-color: #fff; background: rgba(255,255,255,.06); color: #fff; }
.cta-alt { margin-top: 22px; font-size: 15px; color: var(--on-dark-muted); }
.cta-alt a { color: var(--brand-on-dark); }

/* ---------- Páginas interiores ---------- */
.crumbs { padding-top: 6px; font-size: 14px; color: var(--gray); }
.crumbs a { color: var(--gray); }
.page-hero { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.page-hero-split > div { flex: 1 1 520px; min-width: 0; }
.chat-demo { flex: 1 1 340px; max-width: 440px; margin: 0; background: #EDEAE4; border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 84%; padding: 12px 16px; font-size: 15px; line-height: 1.45; }
.bubble.in { align-self: flex-start; background: #fff; border-radius: 18px 18px 18px 4px; }
.bubble.out { align-self: flex-end; background: var(--ink); color: #fff; border-radius: 18px 18px 4px 18px; }
.chat-demo figcaption { text-align: center; font-size: 13px; color: var(--ink-2); }

.flow { list-style: none; padding: 0; margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; counter-reset: flow; }
.flow-step { position: relative; background: var(--bg); border: 1.5px solid var(--line); border-radius: 18px; padding: 22px; }
.flow-step h3 { font-size: 19px; margin: 8px 0 6px; }
.flow-step p { font-size: 15px; color: var(--ink-2); }
.flow-tag { font-size: 13px; font-weight: 700; color: var(--action); }
.flow-step.is-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.flow-step.is-dark p { color: var(--on-dark-muted); }
.flow-step.is-dark .flow-tag { color: var(--brand-on-dark); }

.control-list, .cases { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px 32px; }
.control-list h3 { font-size: 19px; color: var(--brand-on-dark); margin-bottom: 6px; }
.control-list p { color: var(--on-dark-muted); }
.cases h3 { font-size: 20px; margin-bottom: 6px; }
.cases p { color: var(--ink-2); }
.cases li { border-top: 2px solid var(--ink); padding-top: 18px; }

.faq { margin-top: 32px; }
.faq details { border-top: 1.5px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1.5px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--action); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--ink-2); }

.other-services { list-style: none; padding: 0; margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.other-services a { display: flex; gap: 14px; align-items: center; padding: 20px 22px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); font-weight: 700; text-decoration: none; }
.other-services a:hover { border-color: var(--ink); }
.other-services span { font-family: var(--display); color: var(--action); }

.cover { margin-top: 0; margin-bottom: 0; }
.cover img { width: 100%; border-radius: var(--radius-card); }
.prose { font-size: 18px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-family: var(--display); font-size: clamp(26px, 3vw, 34px); margin-top: 40px; }
.prose h3 { font-size: 21px; margin-top: 32px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }

.about-hero { display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: center; }
.about-hero > div { flex: 1 1 480px; }
.team-placeholder { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.team-placeholder span { width: 56px; height: 56px; border-radius: 50%; background: var(--line); }
.thanks { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0; }
.thanks svg { margin-bottom: 28px; }
.thanks h1 { margin-bottom: 0; }
.thanks .lead { margin-inline: auto; }
.thanks .actions { justify-content: center; }
.debug { text-align: left; white-space: pre-wrap; background: #fff; border: 1px solid var(--line); padding: 16px; border-radius: 12px; font-size: 13px; margin-top: 32px; max-width: 100%; overflow: auto; }

/* ---------- Formularios ---------- */
label { display: block; font-weight: 700; font-size: 15px; margin: 18px 0 8px; }
.optional { font-weight: 500; color: var(--gray); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="url"], input[type="number"], input[type="datetime-local"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-field); border: 1.5px solid var(--line-strong); background: var(--surface); font-weight: 500; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(214, 58, 0, .35); }
[aria-invalid="true"] { border-color: #C62828 !important; border-width: 2px; }
.field-error { color: var(--error); font-size: 14px; font-weight: 600; margin-top: 6px; }
.form-alert { background: #FDECEA; color: var(--error); border-radius: 12px; padding: 14px 18px; font-weight: 600; margin-bottom: 18px; }
.hint { font-size: 14px; color: var(--gray); margin-top: 8px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: 15px; line-height: 1.5; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--action); }

.quote-hero { padding-bottom: 24px; }
.quote-wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-bottom: clamp(72px, 9vw, 112px); }
.quote-form { flex: 1 1 560px; min-width: 0; background: var(--surface); border: 1.5px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); }
.quote-aside { flex: 1 1 260px; padding-top: 8px; }
.quote-aside .h5 { margin-bottom: 8px; }
.quote-aside .footer-list { margin-top: 16px; }
.quote-progress { display: none; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--action); margin-bottom: 6px; }
.js .quote-progress { display: block; }
.quote-step { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.quote-step legend { padding: 0; margin-bottom: 8px; }
.js .quote-step { display: none; }
.js .quote-step.is-active { display: block; }
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; margin-top: 16px; }
.option-card { margin: 0; position: relative; }
.option-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option-card span { display: flex; align-items: center; min-height: 56px; padding: 12px 18px; border: 1.5px solid var(--line-strong); border-radius: 14px; font-weight: 600; background: var(--surface); transition: border-color .2s, background .2s, color .2s; }
.option-card input:hover + span { border-color: var(--ink); }
.option-card input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.option-card input:focus-visible + span { outline: 3px solid var(--action); outline-offset: 3px; }
.quote-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.quote-nav [data-quote-submit], .quote-nav [data-quote-next] { margin-left: auto; }

/* ---------- Pie ---------- */
.site-footer { border-top: 1.5px solid var(--line); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; }
.footer-brand p { margin-top: 14px; color: var(--ink-2); font-size: 15px; }
.footer-title { font-family: var(--text); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); margin-bottom: 12px; }
.footer-list { list-style: none; padding: 0; font-size: 15px; }
.footer-list li + li { margin-top: 6px; }
.footer-list a { color: var(--ink); text-decoration: none; }
.footer-list a:hover { color: var(--action); text-decoration: underline; }
.footer-bottom { padding-block: 32px 96px; font-size: 14px; color: var(--gray); }

/* ---------- Asistente ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.2); transition: transform .2s; }
.fab:hover { transform: scale(1.06); }
.assistant { position: fixed; z-index: 50; right: 20px; bottom: 96px; width: min(400px, calc(100vw - 24px)); height: min(640px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--bg); border: 1.5px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.assistant[hidden] { display: none; }
@media (max-width: 520px) { .assistant { right: 12px; bottom: 88px; height: calc(100vh - 104px); } }
.assistant-head { display: flex; align-items: center; gap: 12px; padding: 14px 10px 14px 18px; background: var(--dark); color: #fff; }
.assistant-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; }
.assistant-title { flex: 1; display: flex; flex-direction: column; line-height: 1.3; font-size: 15px; }
.assistant-title span { font-size: 12px; color: #BDBDBD; }
.assistant-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.assistant-close:hover { background: rgba(255,255,255,.12); }
.assistant-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 11px 15px; font-size: 15px; line-height: 1.45; white-space: pre-line; }
.msg-bot { align-self: flex-start; background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px 18px 18px 4px; }
.msg-user { align-self: flex-end; background: var(--ink); color: #fff; border-radius: 18px 18px 4px 18px; }
.msg-typing { color: var(--gray); }
.assistant-foot { border-top: 1.5px solid var(--line); background: var(--surface); padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 10px; max-height: 60%; overflow-y: auto; }
.assistant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.assistant-options:empty { display: none; }
.qr { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; }
.qr:hover { background: var(--ink); color: #fff; }
.assistant-lead label:not(.check) { margin: 6px 0 6px; font-size: 13px; }
.assistant-lead input[type="text"] { min-height: 46px; font-size: 15px; }
.assistant-lead .check { font-size: 13px; margin: 10px 0; }
.assistant-lead .check input { width: 20px; height: 20px; }
.assistant-error { color: var(--error); font-size: 13px; font-weight: 600; min-height: 0; }
.assistant-error:empty { display: none; }
.assistant-lead .btn { margin-top: 6px; min-height: 48px; }
.assistant-ask { display: flex; gap: 8px; }
.assistant-ask input { min-height: 46px; font-size: 15px; border-radius: 999px; padding: 10px 18px; }
.assistant-send { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: var(--action); color: #fff; display: grid; place-items: center; cursor: pointer; }
.assistant-send:hover { background: var(--action-hover); }
.assistant-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--gray); }
.assistant-meta a { font-weight: 700; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .card:hover { transform: none; }
}
