/* flipala.es: modo claro. Naranja del logotipo (#DE8925), azul marino/grafito para textos. */
@font-face { font-family: 'Jakarta'; src: url('/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/assets/fonts/plus-jakarta-sans-latin-wght-italic.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --brand: #F08A1C;          /* fondo de botones e iconos (logo #DE8925, algo más luminoso) */
  --brand-strong: #DE7A10;
  --brand-logo: #DE8925;
  --brand-text: #A9550A;     /* naranja para texto sobre blanco (≥ 4,5:1) */
  --brand-display: #C2650A;  /* naranja para títulos y precios grandes (≥ 3:1) */
  --brand-soft: #FFF3E6;
  --brand-line: #FBD3A8;
  --ink: #18222F;            /* azul marino/grafito: títulos y texto sobre naranja */
  --ink-2: #3D4955;          /* gris del logotipo */
  --muted: #5B6675;
  --line: #E5E8EE;
  --bg: #FFFFFF;
  --surface: #F6F7F9;
  --surface-2: #EEF1F5;
  --ok: #1E7A46; --ok-bg: #E6F5EC;
  --beta: #6A3FB5; --beta-bg: #F0EAFB;
  --prep: #1F5FA8; --prep-bg: #E7F0FB;
  --soon: #5B6675; --soon-bg: #EEF1F5;
  --ask: #8A4B00; --ask-bg: #FFF1DC;
  --err: #B42318; --err-bg: #FEF0EE;
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(24,34,47,.05), 0 6px 20px rgba(24,34,47,.06);
  --shadow-lg: 0 2px 4px rgba(24,34,47,.06), 0 18px 40px rgba(24,34,47,.10);
  --wrap: 1200px;
  --head: 'Jakarta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; font-style: italic; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; font-style: italic; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center .actions { justify-content: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.accent { color: var(--brand-display); }
h1 .accent, h2 .accent { color: var(--brand-display); }
.ic { width: 22px; height: 22px; flex: none; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 34px; height: 34px; }
.ic-xl { width: 64px; height: 64px; }

/* ---------- Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 12px; border: 2px solid transparent; font: 700 15px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--ink); box-shadow: 0 6px 16px rgba(240,138,28,.28); }
.btn-primary:hover { background: var(--brand-strong); color: var(--ink); box-shadow: 0 8px 22px rgba(240,138,28,.36); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--surface); color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-danger { background: var(--err); color: #fff; }
.btn-lg { min-height: 52px; padding: 12px 24px; font-size: 16px; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-text); text-decoration: none; }
.link-arrow:hover { color: var(--ink); }

/* ---------- Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 150px; height: auto; }
.brand-pill { background: var(--brand); color: var(--ink); font: italic 800 14px/1 var(--head); padding: 6px 10px; border-radius: 999px; }
.nav { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; background: none; color: var(--ink); font: 600 15px/1 var(--body); text-decoration: none; border-radius: 10px; cursor: pointer; }
.nav-link:hover, .nav-link[aria-current="page"], .nav-link[aria-expanded="true"] { background: var(--surface); color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--brand-text); }
.has-sub { position: relative; }
.sub { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 330px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); display: none; }
.has-sub.open .sub { display: block; animation: drop .16s ease; }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } }
.sub a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.sub a:hover, .sub a[aria-current="page"] { background: var(--brand-soft); }
.sub .ic { color: var(--brand-strong); margin-top: 2px; }
.sub strong { display: block; font-size: 15px; }
.sub small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1040px) {
  .site-header { backdrop-filter: none; background: #fff; }
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 72px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 32px; overflow-y: auto; display: none; margin: 0; }
  .nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 17px; }
  .sub { position: static; box-shadow: none; border: 0; padding: 0 0 8px 8px; min-width: 0; }
  .nav-cta { margin-top: 12px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Bloques */
.section { padding: 64px 0; }
.section-soft { background: var(--surface); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head p { color: var(--muted); margin: 0; }
.sec-head h2 { margin-bottom: .2em; }
.kicker { font: 700 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 640px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
a.card { color: inherit; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand-line); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.ic-wrap { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-strong); flex: none; }
.ic-wrap.ic-ai { background: #FFF0E4; color: #E0701A; }
.ic-wrap.ic-acc { background: #E6F5EC; color: #1E7A46; }
.ic-wrap.ic-ev { background: #F0EAFB; color: #6A3FB5; }
.ic-wrap.ic-big { width: 80px; height: 80px; border-radius: 24px; }
.ic-wrap.ok { background: var(--ok-bg); color: var(--ok); margin: 0 auto 16px; }
.note { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .9rem; margin-top: 18px; }
.note .ic { margin-top: 3px; }
.ticks, .crosses, .plain { list-style: none; margin: 0; padding: 0; }
.ticks li, .crosses li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; }
.ticks .ic { color: var(--brand-strong); margin-top: 4px; }
.crosses .ic { color: var(--err); margin-top: 4px; }
.plain li { display: flex; gap: 8px; align-items: center; padding: 4px 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-soft); color: var(--ink); font-weight: 700; padding: 8px 14px; border-radius: 999px; }
.chip .ic { color: var(--brand-strong); }

.badge { display: inline-block; font: 700 11px/1 var(--body); letter-spacing: .03em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; vertical-align: middle; white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-beta { background: var(--beta-bg); color: var(--beta); }
.badge-prep { background: var(--prep-bg); color: var(--prep); }
.badge-soon { background: var(--soon-bg); color: var(--soon); }
.badge-ask { background: var(--ask-bg); color: var(--ask); }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin: 0 0 18px; }
.alert-err { background: var(--err-bg); color: var(--err); border: 1px solid #F6C9C3; }
.alert-info { background: var(--prep-bg); color: #163F70; border: 1px solid #C9DCF3; }
.alert-ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #BFE5CD; }
.alert .ic { margin-top: 3px; }

/* ---------- Hero */
.hero { position: relative; padding: 48px 0 28px; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -10%; top: -20%; width: 60%; height: 120%; background: radial-gradient(closest-side, #FFE7CF 0%, rgba(255,231,207,0) 100%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero-art { margin: 0; }
.hero-art img { width: 100%; border-radius: 20px; }
.hero-art figcaption { font-size: 12px; color: var(--muted); text-align: right; margin-top: 6px; }
.checks-inline { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 22px 0 0; font-size: 14px; font-weight: 500; }
.checks-inline li { display: flex; align-items: center; gap: 6px; }
.checks-inline .ic { color: var(--brand-strong); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 28px; } }
.page-hero { padding: 56px 20px 24px; }
.page-hero.hero-grid { display: grid; }
.page-hero .lead { margin-bottom: 0; }
.page-hero h1 { max-width: 900px; }
.sector-hero { padding: 36px 0 24px; background: linear-gradient(180deg, #fff 0%, #FFF8F0 100%); }
.hero-photo img { box-shadow: var(--shadow-lg); }
.hero-tile { max-width: 440px; justify-self: end; width: 100%; }
.tile-photo { width: 100%; border-radius: 12px; aspect-ratio: 215 / 96; object-fit: cover; }
.tile-icon { display: flex; align-items: center; justify-content: center; height: 140px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); }
.tile-title { font: italic 800 1.1rem/1.2 var(--head); margin: 16px 0 8px; }
.tile-mods { list-style: none; margin: 0; padding: 0; }
.tile-mods li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.tile-mods li span:not(.badge) { flex: 1; }
.tile-mods .ic { color: var(--brand-strong); }
@media (max-width: 900px) { .hero-tile { justify-self: stretch; max-width: none; } }

/* ---------- Banda de módulos */
.mod-band { list-style: none; margin: 0; padding: 10px; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; }
.mod-band a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 14px 6px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.25; transition: background-color .15s ease; }
.mod-band a:hover { background: var(--brand-soft); }
.mod-band .ic { width: 30px; height: 30px; color: var(--brand-strong); }
@media (max-width: 1000px) { .mod-band { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { .mod-band a { font-size: 13px; } }

/* ---------- Sectores */
.sector-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sector-card { position: relative; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.sector-card img, .sector-ph { width: 100%; aspect-ratio: 215 / 96; object-fit: cover; }
.sector-ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #FFF3E6, #FFE4C7); color: var(--brand-strong); }
.sector-body { display: flex; flex-direction: column; padding: 14px 44px 16px 16px; }
.sector-body strong { font: italic 800 1.05rem/1.2 var(--head); }
.sector-body small { color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 4px; }
.sector-go { position: absolute; right: 16px; bottom: 18px; color: var(--ink); }
@media (max-width: 1000px) { .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sector-grid { grid-template-columns: 1fr; } }

/* ---------- Pilares, beneficios, extras */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar h3 { margin-top: 16px; font-size: 1.2rem; }
.pillar p { color: var(--ink-2); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.feature-card { display: flex; gap: 18px; align-items: flex-start; }
.feature-card h3 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.feature-card p { margin: 0; color: var(--ink-2); }
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.benefit h3 { margin-top: 14px; }
.benefit p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .benefits { grid-template-columns: 1fr; } }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.extra { display: flex; gap: 16px; align-items: center; border: 0; }
.extra h3 { margin-bottom: 4px; }
.extra p { margin: 0 0 6px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.extra .go { margin-left: auto; border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px; width: 32px; height: 32px; }
.extra-ai { background: linear-gradient(135deg, #FFF1E3, #FFE6CC); }
.extra-ai .ic-wrap { background: var(--brand); color: #fff; border-radius: 999px; }
.extra-acc { background: linear-gradient(135deg, #EAF7EF, #DDF1E5); }
.extra-acc .ic-wrap { background: #2E9A5B; color: #fff; border-radius: 999px; }
.extra-ev { background: linear-gradient(135deg, #F3EEFC, #E9E0FA); }
.extra-ev .ic-wrap { background: #7B52C7; color: #fff; border-radius: 999px; }
@media (max-width: 960px) { .extras { grid-template-columns: 1fr; } }

/* ---------- Precios */
.price { display: inline-flex; align-items: baseline; gap: 2px; flex-wrap: wrap; color: var(--brand-text); font-weight: 700; }
.price .from { font-size: 13px; color: var(--muted); font-weight: 600; margin-right: 4px; }
.price .amount { font: 800 1.35rem/1 var(--head); color: var(--brand-display); }
.price .unit { font-size: 14px; color: var(--brand-text); }
.price .vat { font-size: 12px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.price-big .amount { font-size: 2.6rem; }
.price-big .unit { font-size: 1.1rem; }
.amount-custom { font-style: italic; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan h3 { font-size: 1.4rem; margin-bottom: 2px; }
.plan .muted { margin-bottom: 14px; }
.plan .price { padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.plan .ticks { flex: 1; margin-bottom: 20px; }
.plan-hl { border: 2px solid var(--brand); background: linear-gradient(180deg, #FFF6EC 0%, #fff 45%); box-shadow: 0 10px 30px rgba(240,138,28,.18); }
.plan-flag { position: absolute; top: 16px; right: 16px; background: var(--brand); color: var(--ink); font: 700 12px/1 var(--body); padding: 6px 10px; border-radius: 999px; }
@media (max-width: 1040px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plans-reco { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: center; }
.plans-reco .plans { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (max-width: 900px) { .plans-reco { grid-template-columns: 1fr; } }
.addon-list { list-style: none; margin: 0; padding: 8px 20px; }
.addon-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.addon-row:last-child { border-bottom: 0; }
.addon-row small { display: block; color: var(--muted); }
.addon-row .price { justify-content: flex-end; text-align: right; flex: none; }
@media (max-width: 560px) { .addon-row { flex-direction: column; align-items: flex-start; } .addon-row .price { justify-content: flex-start; } }

/* ---------- Módulos */
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.mod-card { display: flex; flex-direction: column; gap: 10px; }
.mod-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.mod-head { display: flex; gap: 14px; align-items: center; }
.mod-head h3 { margin: 0 0 4px; }
.mod-card .ticks { font-size: 14px; }
.mod-compact { padding: 18px; }
.group-title { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: var(--brand); color: var(--ink); font: 800 15px/1 var(--head); font-style: normal; flex: none; }
.pill-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill-nav a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; background: #fff; }
.pill-nav a:hover { border-color: var(--brand); background: var(--brand-soft); }
.problem-solution .card h2 { font-size: 1.4rem; }
.card-accent { border-color: var(--brand-line); background: linear-gradient(180deg, #FFF8F0, #fff); }
.silvia-card { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; max-width: 320px; justify-self: center; padding: 32px; }
.silvia-card strong { font: italic 800 1.6rem/1 var(--head); margin-top: 8px; }
.wave { color: var(--brand); }
.eco { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 24px 0 8px; }
.eco-node { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 120px; font-weight: 700; }
.eco-node .ic { color: var(--beta); width: 30px; height: 30px; }
.eco-sep { color: var(--muted); }

/* ---------- Configurador */
.cfg { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.cfg-steps { display: grid; gap: 18px; }
.cfg-step { margin: 0; min-width: 0; }
.cfg-step legend { display: flex; align-items: center; gap: 10px; font: italic 800 1.2rem/1.2 var(--head); padding: 0; float: left; width: 100%; margin-bottom: 4px; }
.cfg-step legend + * { clear: both; }
.cfg-step > p { clear: both; margin: 4px 0 14px; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.opt-grid-sm { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-body { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.opt-pill .opt-body { flex-direction: row; align-items: center; gap: 8px; font-weight: 600; padding: 12px 14px; }
.opt-pill .ic { color: var(--brand-strong); }
.opt-body small { color: var(--muted); line-height: 1.35; }
.opt-body .price .amount { font-size: 1.1rem; }
.opt-body .badge { align-self: flex-start; }
.opt:hover .opt-body { border-color: var(--brand-line); }
.opt input:checked + .opt-body { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(240,138,28,.15); }
.opt input:focus-visible + .opt-body { outline: 3px solid var(--brand); outline-offset: 2px; }
.opt.is-reco .opt-body { border-style: dashed; border-color: var(--brand); }
.reco { font-size: 12px; font-weight: 700; color: var(--brand-text); }
.cfg-summary { position: sticky; top: 92px; }
.cfg-summary h2 { font-size: 1.3rem; }
.sum-lines { list-style: none; margin: 0 0 12px; padding: 0; font-size: 14px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.sum-lines li span:last-child { font-weight: 700; white-space: nowrap; }
.sum-totals { margin: 0 0 12px; }
.sum-totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.sum-totals dt { color: var(--muted); }
.sum-totals dd { margin: 0; font-weight: 700; }
.sum-total { border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 10px !important; }
.sum-total dt { color: var(--ink); font-weight: 700; }
.sum-total dd { font: 800 1.5rem/1 var(--head); color: var(--brand-display); }
@media (max-width: 980px) { .cfg { grid-template-columns: 1fr; } .cfg-summary { position: static; } }

/* ---------- Formularios */
.form-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
.contact-side { display: grid; gap: 18px; }
.steps { margin: 0; padding-left: 20px; }
.steps li { padding: 6px 0; }
.steps strong, .steps span { display: block; }
.steps span { color: var(--muted); font-size: 15px; }
.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; padding: 0; }
.req { color: var(--err); }
input, select, textarea { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: #fff; border: 1.5px solid #CFD5DE; border-radius: 10px; padding: 11px 12px; min-height: 46px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(240,138,28,.2); }
[aria-invalid="true"] { border-color: var(--err); }
.field-err { display: block; color: var(--err); font-size: 14px; margin-top: 4px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 16px; }
.check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; accent-color: var(--brand-strong); flex: none; padding: 0; }
.consent { font-size: 14px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-opt { position: relative; cursor: pointer; font-weight: 600 !important; margin: 0 !important; }
.seg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg-opt span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; }
.seg-opt input:checked + span { border-color: var(--brand); background: var(--brand-soft); }
.seg-opt input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.lead-form .grid-2 { gap: 0 16px; }

/* ---------- Llamada final (oscura, puntual, inspirada en la referencia secundaria) */
.cta-band { background: radial-gradient(120% 140% at 85% 20%, #2A3A52 0%, #121A26 60%); color: #fff; padding: 56px 0; margin-top: 24px; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #D5DBE4; font-size: 1.1rem; }
.cta-band img { border-radius: 16px; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Migas, pie, textos */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 16px 0 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: 6px; }
.crumbs a { color: var(--muted); display: inline-flex; }
.crumbs + .page-hero, .crumbs + .sector-hero { padding-top: 20px; }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 0; padding: 48px 0 24px; font-size: 15px; }
.cta-band + .site-footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font: 700 14px/1 var(--body); font-style: normal; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { padding: 4px 0; }
.footer-grid a { color: var(--ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.footer-grid a.btn { color: var(--ink); }
.footer-grid a:hover { color: var(--brand-text); }
.footer-brand p { color: var(--ink-2); max-width: 320px; }
.footer-brand img { width: 170px; margin-bottom: 14px; mix-blend-mode: multiply; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 18px; color: var(--muted); font-size: 14px; }
.footer-legal p { margin: 0; }
.footer-legal ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.footer-legal a { color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.prose { padding-bottom: 64px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; font-style: normal; }
.prose ul { padding-left: 20px; }
mark.pending { background: var(--ask-bg); color: var(--ask); padding: 0 4px; border-radius: 4px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--surface); font-weight: 700; }
.table-wrap { overflow-x: auto; max-width: 100%; }
.prose { overflow-wrap: anywhere; }
