/* =========================================================
   KONFIA FINANCIAL — Inicio (ES)
   Layout: navy cinematic hero → white/tint content bands → navy calculator band → navy CTA → navy footer.
   Single brand theme (navy · gold · white), chosen deliberately.
   ========================================================= */
:root {
  /* Color */
  --navy-950: #031a2f;   /* logo background */
  --navy-900: #06223d;
  --navy-800: #0c2f52;
  --navy-700: #16406b;
  --gold: #f5b51c;       /* logo ring */
  --gold-deep: #d99a06;
  --gold-soft: #fdf1cf;
  --white: #ffffff;
  --paper: #f4f6fa;      /* tint band, blue-biased neutral */
  --line: #dfe5ee;
  --ink: #0d2138;
  --ink-2: #4a5c74;
  --ink-3: #7486a0;
  --on-navy: #e8eef7;
  --on-navy-2: #a9b8cc;
  --ok: #1f8a5b;
  --err: #c0392b;

  /* Type */
  --f-display: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;

  /* Shape & motion */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow-1: 0 1px 2px rgba(3, 26, 47, .06), 0 6px 18px rgba(3, 26, 47, .06);
  --shadow-2: 0 18px 48px rgba(3, 26, 47, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--navy-950); }
body.modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow-gold { color: var(--gold); }
.h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.85rem, 1.3rem + 2vw, 2.6rem); line-height: 1.15; color: var(--navy-950); letter-spacing: -.01em; }
.h2--light { color: var(--white); }
.lead { color: var(--ink-2); font-size: 1.06rem; max-width: 62ch; }
.gold { color: var(--gold); }
.fine { font-size: .82rem; color: var(--ink-3); }
.center { text-align: center; margin-inline: auto; }
.section-head { display: grid; gap: 12px; margin-bottom: 44px; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: 0 22px; border-radius: 10px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn .ico { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--navy-950); box-shadow: 0 6px 18px rgba(245, 181, 28, .28); }
.btn-gold:hover { background: #ffc43a; box-shadow: 0 10px 26px rgba(245, 181, 28, .38); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: var(--white); }
.btn-navy { background: var(--navy-950); color: var(--white); }
.btn-navy:hover { background: var(--navy-800); }
.btn-outline { background: var(--white); color: var(--navy-950); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy-700); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.02rem; }
.btn-block { width: 100%; white-space: normal; text-align: center; padding-block: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-solid { background: rgba(3, 26, 47, .94); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { width: 150px; height: auto; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav > a {
  position: relative; padding: 8px 12px; color: var(--on-navy); text-decoration: none; font-weight: 600; font-size: .93rem; border-radius: 8px;
}
.main-nav > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav > a:hover::after, .main-nav > a.is-active::after { transform: scaleX(1); }
.main-nav > a.is-active { color: var(--white); }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; gap: 2px; color: var(--on-navy-2); font-size: .85rem; font-weight: 700; }
.lang-btn { background: none; border: 0; padding: 6px 4px; cursor: pointer; color: var(--on-navy-2); font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.lang-btn.is-on { color: var(--gold); }
.lang-btn:hover { color: var(--white); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .ico { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(820px, 92vh);
  display: flex; align-items: center;
  background: var(--navy-950); color: var(--white);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-bottom: 120px;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity 1.4s ease; }
.hero-video.is-on { opacity: 1; }
.hero.has-video .hero-canvas { opacity: 0; transition: opacity 1.4s ease; }
.hero-canvas { transition: opacity 1.4s ease; }

/* Herramienta de revisión del video */
.hero-tool {
  position: absolute; z-index: 3; right: max(20px, env(safe-area-inset-right, 0px)); top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end;
  padding: 8px 8px 8px 14px; border-radius: 12px; border: 1px dashed rgba(245, 181, 28, .7);
  background: rgba(3, 26, 47, .55); backdrop-filter: blur(8px); color: var(--on-navy); font-size: .8rem; font-weight: 600;
}
.hero-tool-label { display: inline-flex; align-items: center; gap: 8px; }
.hero-tool-label .ico { color: var(--gold); }
.media-btn, .media-chip {
  position: relative; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 700; white-space: nowrap;
}
.media-btn { background: var(--gold); color: var(--navy-950); border-radius: 8px; padding: 8px 12px; font-size: .8rem; }
.media-btn:hover { background: #ffc43a; }
.media-btn input, .media-chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.media-btn:focus-within, .media-chip:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
body.review-off [data-review] { display: none !important; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 26, 47, .92) 0%, rgba(3, 26, 47, .72) 38%, rgba(3, 26, 47, .2) 75%, rgba(3, 26, 47, .35) 100%),
    linear-gradient(180deg, rgba(3, 26, 47, .55) 0%, rgba(3, 26, 47, 0) 22%, rgba(3, 26, 47, 0) 70%, rgba(3, 26, 47, .85) 100%);
}
.hero-inner { position: relative; padding-block: 48px; }
.hero-title {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(2.35rem, 1.2rem + 4.4vw, 4.5rem); line-height: 1.04; letter-spacing: -.02em;
  max-width: 14ch; margin: 18px 0 22px;
}
.hero-title span { display: block; }
.hero-lead { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); color: var(--on-navy); max-width: 46ch; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); max-width: 760px; }
.hero-trust li { display: flex; align-items: center; gap: 10px; font-size: .86rem; line-height: 1.3; color: var(--on-navy); }
.hero-trust .ico { width: 28px; height: 28px; color: var(--gold); }

.hero-anim { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 150ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Highlights ---------- */
.highlights { position: relative; z-index: 2; margin-top: -78px; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hl-card {
  background: var(--white); border-radius: var(--r-lg); padding: 28px 26px; box-shadow: var(--shadow-2);
  display: grid; gap: 10px; align-content: start; border: 1px solid var(--line);
}
.hl-card p { color: var(--ink-2); font-size: .95rem; }
.hl-card--navy { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: var(--white); border-color: transparent; }
.hl-card--navy p { color: var(--on-navy-2); }
.hl-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-deep); }
.hl-card--navy .hl-icon { background: rgba(245, 181, 28, .14); color: var(--gold); }
.hl-icon .ico { width: 26px; height: 26px; }
.hl-title { font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; line-height: 1.15; margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section--tint { background: var(--paper); }

/* Requisitos */
.req-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 22px; }
.req-item {
  display: grid; gap: 4px; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white);
  transition: border-color .2s, transform .2s var(--ease);
}
.req-item:hover { border-color: var(--gold); transform: translateY(-2px); }
.req-icon { color: var(--navy-800); margin-bottom: 10px; }
.req-icon .ico { width: 34px; height: 34px; stroke-width: 1.5; }
.req-item strong { font-size: 1.12rem; color: var(--navy-950); }
.req-item span:last-child { color: var(--ink-2); font-size: .92rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: calc(16.66% + 28px); right: calc(16.66% + 28px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
}
.step { position: relative; display: grid; gap: 10px; justify-items: center; text-align: center; padding: 0 12px; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-950); color: var(--gold); font-family: var(--f-display); font-weight: 700; font-size: 1.5rem;
  box-shadow: 0 0 0 8px var(--paper);
}
.step h3 { font-size: 1.2rem; color: var(--navy-950); margin-top: 8px; }
.step p { color: var(--ink-2); max-width: 34ch; }

/* ---------- Calculator band ---------- */
.calc-band {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(245, 181, 28, .10), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--white);
  padding-block: clamp(64px, 8vw, 104px);
}
.calc-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.calc-intro { display: grid; gap: 16px; }
.calc-intro > p { color: var(--on-navy); max-width: 46ch; }
.checks { display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--ink-2); }
.checks .ico { color: var(--gold-deep); margin-top: .15em; }
.checks--light li { color: var(--on-navy); font-size: 1rem; }
.checks--light .ico { color: var(--gold); }

.calc-card { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); display: grid; gap: 18px; min-width: 0; }
.calc-row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc-label { font-weight: 700; font-size: .9rem; color: var(--navy-950); display: inline-flex; align-items: center; gap: 6px; padding: 0; }
.calc-amount { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.4rem); color: var(--navy-950); font-variant-numeric: tabular-nums; }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: var(--line); outline: none; margin: 0; cursor: pointer;
  background-image: linear-gradient(var(--gold), var(--gold)); background-repeat: no-repeat; background-size: var(--fill, 3%) 100%; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy-950); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--navy-950), 0 4px 10px rgba(3, 26, 47, .3); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--navy-950); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--navy-950); }
.range:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; }
.range-scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-3); margin-top: -8px; font-variant-numeric: tabular-nums; }

.calc-options { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.seg-group { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: grid; place-items: center; min-height: 48px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; color: var(--navy-950);
  font-variant-numeric: tabular-nums; line-height: 1.1; transition: background-color .15s, border-color .15s, color .15s; text-align: center;
}
.seg small { display: block; font-size: .68rem; font-weight: 500; color: var(--ink-3); }
.seg input:checked + span { background: var(--navy-950); border-color: var(--navy-950); color: var(--white); }
.seg input:checked + span small { color: var(--on-navy-2); }
.seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.seg label:hover span { border-color: var(--navy-700); }
.tip { background: none; border: 0; padding: 0; color: var(--ink-3); cursor: pointer; display: inline-grid; }
.tip .ico { width: 16px; height: 16px; }
.tip-text { font-size: .8rem; color: var(--ink-2); background: var(--paper); border-radius: 8px; padding: 8px 10px; }

.calc-results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calc-results > div { padding: 14px 8px; display: grid; gap: 2px; min-width: 0; }
.calc-results > div + div { border-left: 1px solid var(--line); }
.calc-results dt { font-size: .72rem; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; line-height: 1.25; }
.calc-results dd { margin: 0; font-weight: 800; font-size: 1.2rem; color: var(--navy-950); font-variant-numeric: tabular-nums; }
.calc-results .is-key dd { color: var(--gold-deep); }

.scenarios { margin-top: 48px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-lg); padding: 22px clamp(16px, 3vw, 28px); }
.scenarios-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.scenarios-head h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); }
.scenarios-head h3 span { color: var(--gold); font-variant-numeric: tabular-nums; }
.tag-example { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--navy-950); background: var(--gold); border-radius: 99px; padding: 4px 10px; }
.scn-table-wrap { overflow-x: auto; }
.scn-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 520px; }
.scn-table th, .scn-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.scn-table th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--on-navy-2); font-weight: 600; }
.scn-table td { color: var(--on-navy); }
.scn-table tbody tr:last-child td { border-bottom: 0; }
.scn-table tr.is-selected td { color: var(--white); font-weight: 700; background: rgba(245, 181, 28, .1); }
.scn-table tr.is-selected td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.scn-table .scn-name small { display: block; font-size: .74rem; color: var(--on-navy-2); font-weight: 500; }
.calc-disclaimer { display: flex; gap: 10px; margin-top: 18px; font-size: .8rem; color: var(--on-navy-2); max-width: 100ch; }
.calc-disclaimer .ico { color: var(--gold); margin-top: .15em; }

/* ---------- Options ---------- */
.opt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.opt-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 22px; display: grid; gap: 12px; align-content: start; background: var(--white); transition: box-shadow .2s, transform .2s var(--ease); }
.opt-card:hover { box-shadow: var(--shadow-1); transform: translateY(-3px); }
.opt-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-deep); display: grid; place-items: center; }
.opt-icon .ico { width: 24px; height: 24px; }
.opt-card h3 { font-size: 1.1rem; color: var(--navy-950); line-height: 1.3; }
.opt-card abbr { text-decoration: none; color: var(--ink-3); font-weight: 600; }
.opt-card p { color: var(--ink-2); font-size: .94rem; }
.uses { margin-top: 64px; display: grid; gap: 22px; }
.uses-title { text-align: center; }
.uses-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.uses-grid li { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 22px 10px; border-radius: var(--r-md); background: var(--paper); font-weight: 600; font-size: .9rem; color: var(--navy-950); line-height: 1.3; }
.uses-grid .ico { width: 30px; height: 30px; color: var(--navy-800); stroke-width: 1.5; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ind-card { background: var(--white); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s var(--ease); }
.ind-card:hover { box-shadow: var(--shadow-1); transform: translateY(-3px); }
.ind-media {
  position: relative; overflow: hidden;
  aspect-ratio: 5 / 4; max-width: 100%; display: grid; place-items: center; color: var(--gold);
  background:
    radial-gradient(circle at 75% 30%, rgba(245, 181, 28, .22), transparent 45%),
    linear-gradient(140deg, var(--navy-700), var(--navy-950));
  background-size: cover; background-position: center;
}
.ind-media .ico { width: 44px; height: 44px; stroke-width: 1.3; }
.ind-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ind-card:hover .ind-media img { transform: scale(1.05); }
.ind-media.has-photo .ind-placeholder, .ind-media.has-photo .ind-slot { display: none; }
.ind-media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(3, 26, 47, .35)); pointer-events: none; }
.ind-slot {
  position: absolute; top: 12px; left: 12px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--on-navy); border: 1px dashed rgba(255, 255, 255, .45); border-radius: 6px; padding: 3px 8px;
}
.media-chip {
  position: absolute; z-index: 2; right: 8px; bottom: 8px; background: rgba(255, 255, 255, .92); color: var(--navy-950);
  border-radius: 99px; padding: 5px 10px; font-size: .72rem; box-shadow: 0 4px 12px rgba(3, 26, 47, .25);
}
.media-chip:hover { background: var(--white); }
.ind-body { padding: 14px 14px 16px; display: grid; gap: 4px; }
.ind-body h3 { font-size: .98rem; line-height: 1.3; color: var(--navy-950); }
.ind-body p { font-size: .84rem; line-height: 1.45; color: var(--ink-2); }

/* ---------- Why ---------- */
.why-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.why-intro { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.intermediary { display: flex; gap: 14px; padding: 18px; border-radius: var(--r-md); background: var(--gold-soft); color: var(--ink); font-size: .92rem; }
.intermediary .ico { width: 30px; height: 30px; color: var(--gold-deep); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.why-grid li { display: grid; gap: 8px; align-content: start; }
.why-icon { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--navy-950); display: grid; place-items: center; }
.why-icon .ico { width: 22px; height: 22px; }
.why-grid h3 { font-size: 1.08rem; color: var(--navy-950); }
.why-grid p { color: var(--ink-2); font-size: .94rem; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-layout .section-head { margin-bottom: 0; justify-items: start; }
.faq-list { display: grid; gap: 12px; min-width: 0; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s; }
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-weight: 700; color: var(--navy-950); font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { color: var(--gold-deep); transition: transform .25s var(--ease); }
.faq-item[open] summary .ico { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; color: var(--ink-2); max-width: 68ch; }

/* ---------- CTA ---------- */
.cta-final { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); color: var(--white); padding-block: clamp(64px, 8vw, 100px); }
.cta-ring {
  position: absolute; z-index: -1; right: -120px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%) rotate(-20deg); border-radius: 50%;
  background: conic-gradient(from 200deg, #ffd25a, var(--gold), #c98a00, var(--gold), #ffd25a);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%); mask: radial-gradient(circle, transparent 54%, #000 55%);
  opacity: .22;
}
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); line-height: 1.1; margin-bottom: 14px; }
.cta-title .gold { display: block; }
.cta-inner p { color: var(--on-navy); max-width: 50ch; }
.cta-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; }
.cta-checks li { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: .94rem; }
.cta-checks .ico { color: var(--gold); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-navy-2); padding-top: 64px; padding-bottom: env(safe-area-inset-bottom, 0px); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(var(--fcols, 4), 1fr); gap: 32px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand img { width: 160px; }
.footer-brand p { max-width: 34ch; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; color: var(--on-navy); transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--gold); color: var(--gold); }
.social .ico { width: 18px; height: 18px; }
.footer-col { display: grid; gap: 9px; align-content: start; }
.footer-col h3 { color: var(--white); font-size: .95rem; margin-bottom: 4px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.contact { display: flex; gap: 8px; align-items: flex-start; }
.contact .ico { color: var(--gold); width: 18px; height: 18px; margin-top: .2em; }
.footer-legal { margin-top: 48px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 18px; font-size: .8rem; }
.footer-legal > p { max-width: 110ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lang--footer .lang-btn { font-size: .8rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 18, 33, .7); backdrop-filter: blur(4px); animation: fade .25s both; }
.modal-dialog {
  position: relative; width: min(640px, 100%); max-height: 100%; overflow-y: auto; background: var(--white); color: var(--ink);
  border-radius: var(--r-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-2); animation: pop .35s var(--ease) both;
  overscroll-behavior: contain;
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; display: grid; place-items: center; color: var(--navy-950); }
.modal-close:hover { background: var(--line); }
.modal-head { display: grid; gap: 8px; margin-bottom: 22px; }
.modal-logo { width: 120px; margin-bottom: 6px; }
.modal-head h2 { font-family: var(--f-display); font-weight: 600; font-size: 1.8rem; color: var(--navy-950); }
.modal-head > p { color: var(--ink-2); }
.demo-note { display: flex; gap: 8px; align-items: center; font-size: .82rem; font-weight: 600; color: #7a5300; background: var(--gold-soft); border: 1px solid #f3dc9a; border-radius: 8px; padding: 8px 12px; }
.demo-note .ico { color: var(--gold-deep); width: 18px; height: 18px; }
.progress { height: 6px; border-radius: 99px; background: var(--paper); overflow: hidden; margin-top: 10px; }
.progress-bar { display: block; height: 100%; width: 50%; background: var(--gold); border-radius: inherit; transition: width .35s var(--ease); }
.step-label { font-size: .8rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .pref-label { font-weight: 700; font-size: .88rem; color: var(--navy-950); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input::placeholder { color: #a3b0c2; }
.field input:focus, .field select:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(245, 181, 28, .35); }
.err { display: none; font-size: .8rem; color: var(--err); font-weight: 600; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--err); }
.field.is-invalid .err { display: block; }
.pills { display: flex; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pills span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 99px; font-weight: 600; font-size: .92rem; }
.pills input:checked + span { background: var(--navy-950); color: var(--white); border-color: var(--navy-950); }
.pills input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--navy-950); flex: none; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; flex-wrap: wrap; }
.form-secure { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 14px; font-size: .8rem; color: var(--ink-3); }
.form-secure .ico { width: 16px; height: 16px; }

.form-done { display: grid; gap: 14px; justify-items: center; text-align: center; padding-block: 10px; }
.done-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy-950); }
.done-icon .ico { width: 32px; height: 32px; stroke-width: 2.4; }
.form-done h3 { font-family: var(--f-display); font-size: 1.5rem; color: var(--navy-950); }
.form-done p { color: var(--ink-2); max-width: 46ch; }
.done-summary { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; text-align: left; background: var(--paper); border-radius: var(--r-md); padding: 16px 18px; margin: 4px 0 8px; font-size: .88rem; }
.done-summary dt { color: var(--ink-3); font-weight: 600; }
.done-summary dd { margin: 0; color: var(--ink); font-weight: 600; min-width: 0; overflow-wrap: anywhere; }

/* ---------- Review note & toast ---------- */
.review-note {
  position: fixed; z-index: 40; left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  max-width: min(420px, calc(100% - 32px)); display: flex; gap: 10px; align-items: flex-start;
  background: var(--white); color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 12px 12px 12px 16px;
  box-shadow: var(--shadow-2); font-size: .8rem; line-height: 1.45;
}
.review-note button { background: none; border: 0; cursor: pointer; color: var(--ink-3); padding: 2px; display: grid; }
.toast {
  position: fixed; z-index: 120; left: 50%; bottom: max(24px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--navy-950); color: var(--white); padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow-2); font-weight: 600; font-size: .92rem;
  max-width: calc(100% - 32px); text-align: center; animation: pop .3s var(--ease) both;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav > a { padding: 8px 8px; font-size: .88rem; }
  .main-nav > a::after { left: 8px; right: 8px; }
  .opt-grid { grid-template-columns: repeat(2, 1fr); }
  .uses-grid { grid-template-columns: repeat(3, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    background: var(--navy-950); padding: 8px max(20px, env(safe-area-inset-right, 0px)) 24px max(20px, env(safe-area-inset-left, 0px));
    border-top: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
  .main-nav > a::after { display: none; }
  .main-nav > a.is-active { color: var(--gold); }
  .nav-mobile-extra { display: block; padding-top: 18px; }
  .header-actions { margin-left: auto; }
  .site-header.menu-open { background: var(--navy-950); }
  .highlight-grid { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-layout, .why-layout, .faq-layout, .cta-inner { grid-template-columns: minmax(0, 1fr); }
  .calc-layout > *, .why-layout > *, .faq-layout > *, .cta-inner > * { min-width: 0; }
  .why-intro { position: static; }
  .cta-actions { justify-content: flex-start; }
}
@media (max-width: 720px) {
  body:not(.review-off) .hero-inner { padding-top: 96px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--gold) 0 8px, transparent 8px 16px); }
  .step { grid-template-columns: 56px 1fr; justify-items: start; text-align: left; column-gap: 18px; row-gap: 4px; padding: 0; }
  .step-num { grid-row: span 2; }
  .step h3 { margin-top: 12px; }
  .calc-results { grid-template-columns: 1fr 1fr; }
  .calc-results > div:nth-child(3) { border-left: 0; }
  .calc-results > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .calc-options { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand img { width: 124px; }
  .header-actions { gap: 8px; }
  .hero { padding-bottom: 100px; }
  .hero-tool { left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); justify-content: space-between; flex-wrap: nowrap; }
  .hero-tool-label > span { font-size: .74rem; }
  .hero-buttons .btn { width: 100%; }
  .hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .req-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .uses-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-actions .btn { width: 100%; }
  .form-actions .btn { flex: 1; }
  .review-note { right: max(16px, env(safe-area-inset-right, 0px)); max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

/* =========================================================
   WordPress
   ========================================================= */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 200; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: var(--gold); color: var(--navy-950); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.admin-bar { --wpbar: 32px; }
.admin-bar .site-header { top: var(--wpbar); }
.admin-bar .main-nav { top: calc(var(--header-h) + var(--wpbar)); }
@media (max-width: 782px) { .admin-bar { --wpbar: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } .admin-bar { --wpbar: 0px; } }

/* Páginas interiores */
body:not(.home) .site-header { background: var(--navy-950); }
.page-hero { background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); color: var(--white); padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 56px); padding-bottom: 56px; }
.page-hero h1 { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1.1; }
.page-body { padding-block: clamp(48px, 6vw, 80px); }
.entry-content { max-width: 760px; font-size: 1.05rem; color: var(--ink); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { font-family: var(--f-display); color: var(--navy-950); line-height: 1.2; margin-top: 1.6em; }
.entry-content h2 { font-size: 1.8rem; } .entry-content h3 { font-size: 1.35rem; }
.entry-content a { color: var(--navy-700); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; list-style: revert; }
.entry-content img { border-radius: var(--r-md); }
.alignwide { max-width: 1100px; } .alignfull { max-width: none; }

/* Mensaje de error del formulario */
.form-error { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: #fdecea; color: var(--err); font-weight: 600; font-size: .88rem; border: 1px solid #f5c6c1; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   Páginas interiores (Financiamiento · Industrias · Compara · Nosotros · Afiliados)
   ========================================================= */
.field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(245, 181, 28, .35); }

/* Encabezado interior */
.inner-hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--white);
  background: radial-gradient(800px 420px at 85% 20%, rgba(245, 181, 28, .12), transparent 60%), linear-gradient(120deg, var(--navy-950), var(--navy-800));
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 48px); padding-bottom: 64px;
}
.inner-hero-ring { right: -160px; top: 55%; width: 560px; height: 560px; opacity: .14; }
.inner-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.inner-hero-grid > * { min-width: 0; }
.inner-hero-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.1rem, 1.2rem + 3.2vw, 3.6rem); line-height: 1.06; letter-spacing: -.015em; margin: 16px 0 18px; }
.inner-hero-title .gold { display: block; }
.inner-hero .hero-buttons { margin-top: 28px; }
.inner-hero-photo { margin: 0; justify-self: end; position: relative; width: min(100%, 380px); }
.inner-hero-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: 24px; opacity: .7; }
.inner-hero-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); max-width: 100%; }
.inner-hero-photo--square img { aspect-ratio: 1 / 1; }
.inner-hero-photo--wide { width: min(100%, 520px); }
.inner-hero-photo--wide img { aspect-ratio: 16 / 7; object-position: center 35%; }

/* Montos y plazos */
.ramp { position: relative; max-width: 980px; margin: 8px auto 0; padding: 0 24px 40px; }
.ramp-svg { display: block; width: 100%; height: 170px; }
.ramp-stops { position: absolute; top: 0; bottom: 0; left: 24px; right: 24px; }
.ramp-stops li { position: absolute; width: 0; height: 0; left: calc(2% + var(--i) * 19.2%); top: calc(140px - var(--i) * 22px); }
.ramp-stops li::before { content: ""; position: absolute; left: -1px; top: 0; width: 2px; height: calc(30px + var(--i) * 22px); background: var(--line); }
.ramp-dot { position: absolute; width: 18px; height: 18px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--navy-950); box-shadow: 0 0 0 5px var(--white); }
.ramp-stops li.is-gold .ramp-dot { background: var(--gold); }
.ramp-label { position: absolute; top: calc(38px + var(--i) * 22px); transform: translateX(-50%); font-weight: 700; color: var(--navy-950); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .95rem; }
.term-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.term-strip > div { display: grid; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); }
.term-strip strong { color: var(--navy-950); }
.term-strip span { color: var(--ink-2); font-size: .94rem; }

/* Tipos de financiamiento (versión completa) */
.opt-grid--full { grid-template-columns: repeat(2, 1fr); }
.opt-how { font-size: .9rem !important; background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.opt-how strong { color: var(--navy-950); }
.uses-h2 { display: block; }

/* Requisitos: banda navy */
.req-band { background: var(--navy-950); color: var(--white); padding-block: clamp(48px, 6vw, 72px); }
.req-band-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); text-align: center; margin-bottom: 32px; }
.req-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.req-band-grid li { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 22px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-md); }
.req-band-grid .ico { width: 34px; height: 34px; color: var(--gold); stroke-width: 1.5; margin-bottom: 6px; }
.req-band-grid strong { font-size: 1.08rem; }
.req-band-grid span { color: var(--on-navy-2); font-size: .9rem; }
.req-band-note { text-align: center; color: var(--on-navy-2); font-size: .82rem; margin-top: 20px; }

/* Industrias: tarjetas detalladas */
.ind-grid--detailed { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ind-grid--detailed .ind-body { padding: 20px 22px 22px; }
.ind-grid--detailed .ind-body h3 { font-size: 1.15rem; }
.ind-grid--detailed .ind-body p { font-size: .92rem; }
.ind-details { margin-top: 10px; }
.ind-details summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--gold-deep); font-size: .92rem; }
.ind-details summary::-webkit-details-marker { display: none; }
.ind-details summary .ico { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.ind-details[open] summary .ico { transform: rotate(90deg); }
.ind-details-label { font-size: .74rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3) !important; margin: 14px 0 8px; }
.ind-details .btn { margin-top: 14px; }
.other-ind-inner { display: grid; justify-items: center; text-align: center; gap: 14px; }
.other-ind-inner .btn { margin-top: 8px; }

/* Compara */
.cmp-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); }
.cmp-table { width: 100%; min-width: 620px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cmp-table th, .cmp-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp-table thead th { background: var(--navy-950); color: var(--white); font-size: .92rem; }
.cmp-table thead th small { display: block; font-weight: 500; color: var(--on-navy-2); font-size: .78rem; }
.cmp-table thead th:first-child, .cmp-table tbody th { text-align: left; }
.cmp-table tbody th { color: var(--navy-950); font-weight: 700; background: var(--paper); width: 22%; }
.cmp-table tbody td { color: var(--ink); font-weight: 600; }
.cmp-table td small { display: block; font-weight: 500; color: var(--ink-3); font-size: .78rem; }
.cmp-table tbody tr:last-child > * { border-bottom: 0; }
.cmp-note { margin-top: 14px; }
.read-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.read-grid li { display: grid; gap: 8px; align-content: start; }
.read-grid h3 { font-size: 1.05rem; color: var(--navy-950); }
.read-grid p { color: var(--ink-2); font-size: .94rem; }

/* Nosotros */
.story-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.story-grid > * { min-width: 0; }
.story-text { display: grid; gap: 16px; }
.story-text p:not(.eyebrow) { color: var(--ink-2); font-size: 1.06rem; max-width: 62ch; }
.story-side { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.quote { margin: 0; background: var(--gold-soft); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 14px; }
.quote-mark { width: 40px; height: 30px; fill: var(--gold); }
.quote p { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.35; color: var(--navy-950); }
.quote footer { font-size: .9rem; color: var(--ink-2); }
.story-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.story-facts li { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; display: grid; gap: 2px; }
.story-facts strong { font-family: var(--f-display); font-size: 1.7rem; color: var(--navy-950); }
.story-facts span { font-size: .88rem; color: var(--ink-2); }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; max-width: 900px; margin-inline: auto; }
.diff-grid li { display: grid; justify-items: center; text-align: center; gap: 12px; font-weight: 700; color: var(--navy-950); line-height: 1.35; }
.diff-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--navy-950); }
.diff-icon .ico { width: 28px; height: 28px; stroke-width: 1.5; }
.diff-note { margin-top: 28px; }

/* Afiliados */
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.partner-grid li { align-items: center; }
.partner-grid li { display: flex; flex-direction: column; text-align: center; align-items: center; gap: 12px; padding: 20px 14px; border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 700; color: var(--navy-950); line-height: 1.3; }
.partner-grid .diff-icon { width: 52px; height: 52px; flex: none; }
.partner-grid .diff-icon .ico { width: 24px; height: 24px; }

/* Banda CTA (con o sin foto) */
.cta-inner { grid-template-columns: 1fr !important; }
.cta-final--photo .cta-inner { grid-template-columns: auto 1fr !important; gap: clamp(28px, 5vw, 64px); }
.cta-copy { display: grid; gap: 0; min-width: 0; }
.cta-actions { justify-content: flex-start !important; margin-top: 28px; }
.cta-photo { margin: 0; position: relative; width: clamp(180px, 22vw, 280px); }
.cta-photo::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--gold); opacity: .7; }
.cta-photo img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; max-width: 100%; }

@media (max-width: 1080px) {
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .read-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .inner-hero-grid, .story-grid { grid-template-columns: minmax(0, 1fr); }
  .inner-hero-photo { justify-self: start; width: min(100%, 320px); }
  .inner-hero-photo--wide { width: min(100%, 460px); }
  .story-side { position: static; }
  .ind-grid--detailed { grid-template-columns: repeat(2, 1fr); }
  .req-band-grid { grid-template-columns: repeat(2, 1fr); }
  .term-strip { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .opt-grid--full { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-final--photo .cta-inner { grid-template-columns: 1fr !important; }
  .cta-photo { width: 160px; }
  .ramp-label { font-size: .74rem; }
  .ramp { padding-inline: 14px; } .ramp-stops { left: 14px; right: 14px; }
}
@media (max-width: 560px) {
  .ind-grid--detailed { grid-template-columns: 1fr; }
  .read-grid { grid-template-columns: 1fr; }
  .partner-grid { gap: 10px; } .partner-grid li { padding: 16px 10px; font-size: .9rem; }
  .inner-hero .hero-buttons .btn { width: 100%; }
  .inner-hero-photo { width: min(100%, 260px); } .inner-hero-photo--wide { width: 100%; }
}

/* =========================================================
   Elementor: los bloques de Konfia ocupan todo el ancho, sin márgenes extra
   ========================================================= */
.e-con.konfia-row, .elementor-section.konfia-row {
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px; --content-width: 100%; --width: 100%;
  padding: 0 !important; gap: 0 !important; max-width: none !important; margin: 0 !important;
}
.e-con.konfia-row > .e-con-inner { max-width: none !important; padding: 0 !important; gap: 0 !important; }
.elementor-element[class*="elementor-widget-konfia-"] { margin: 0 !important; width: 100% !important; max-width: none !important; --widget-spacing: 0; }
.elementor-element[class*="elementor-widget-konfia-"] > .elementor-widget-container { margin: 0 !important; padding: 0 !important; }
.konfia-w { width: 100%; font-family: var(--f-body); color: var(--ink); line-height: 1.6; }
.elementor .konfia-w img { max-width: 100%; }
.elementor .konfia-w .ind-media img { height: 100%; width: 100%; object-fit: cover; }
.elementor .konfia-w .inner-hero-photo img { border-radius: 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.elementor .konfia-w .cta-photo img { border-radius: 50%; }
.konfia-w .story-body { display: grid; gap: 16px; }
.konfia-w .story-body p { color: var(--ink-2); font-size: 1.06rem; max-width: 62ch; margin: 0; }
.konfia-w .h2, .konfia-w .hero-title, .konfia-w .inner-hero-title, .konfia-w .hl-title, .konfia-w .cta-title,
.konfia-w .req-band-title, .konfia-w .calc-amount, .konfia-w .step-num { font-family: var(--f-display); }
/* Páginas generales hechas con Elementor: dejan espacio para el encabezado fijo */
.konfia-el-page { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
/* Color sólido de respaldo para las bandas oscuras (por si Elementor retrasa las imágenes de fondo) */
.calc-band, .cta-final, .inner-hero, .req-band, .hero { background-color: var(--navy-950); }
.hl-card--navy { background-color: var(--navy-900); }

/* Política de privacidad */
.entry-content h2 { font-size: 1.4rem; }
.konfia-contact-list { list-style: none !important; padding: 18px 20px !important; background: var(--paper); border-radius: var(--r-md); display: grid; gap: 4px; }
.check a { color: var(--navy-700); text-decoration: underline; text-decoration-color: var(--gold); }

/* ---------- Floating contact buttons (WhatsApp / email) ---------- */
.contact-float {
  position: fixed; z-index: 45; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.cf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; min-width: 56px; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: .95rem; box-shadow: 0 8px 24px rgba(3, 26, 47, .28); transition: transform .2s ease, box-shadow .2s ease;
}
.cf-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(3, 26, 47, .34); }
.cf-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.cf-wa { background: #25d366; color: #fff; padding: 0 22px 0 16px; }
.cf-wa .ico { width: 28px; height: 28px; }
.cf-mail { background: var(--navy-900); color: #fff; width: 48px; height: 48px; min-height: 48px; min-width: 48px; border: 2px solid var(--gold); }
.cf-mail .ico { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .cf-wa { padding: 0; width: 58px; }
  .cf-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
body.modal-open .contact-float { display: none; }
@media print { .contact-float { display: none; } }

/* ---------- HubSpot form inside the apply modal ---------- */
#applyModal[data-ext-form] .progress, #applyModal[data-ext-form] .step-label,
#applyModal[data-ext-form] #applyForm, #applyModal[data-ext-form] #formDone,
#partnerModal[data-ext-form] #partnerForm, #partnerModal[data-ext-form] #partnerDone { display: none !important; }
.hs-embed { margin-top: 8px; }
.hs-form-frame { min-height: 0; }
.hs-form-frame iframe { width: 100% !important; border: 0; }
.hs-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 40px 0; color: var(--ink-2); font-weight: 600; }
.hs-spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--gold); animation: hsspin .8s linear infinite; }
@keyframes hsspin { to { transform: rotate(360deg); } }
.hs-fallback { padding: 16px 0; text-align: center; color: var(--ink-2); }
.hs-fallback-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hs-embed .form-secure { margin-top: 16px; }

/* ---------- Hero title sizes (long headlines get a wider, smaller layout) ---------- */
.hero-title--medium { font-size: clamp(2.1rem, 1.1rem + 3.2vw, 3.6rem); max-width: 21ch; }
.hero-title--small { font-size: clamp(1.9rem, 1rem + 2.6vw, 3rem); max-width: 25ch; }
.hero-title--medium + .hero-lead, .hero-title--small + .hero-lead { max-width: 58ch; }

/* ---------- “Descubre tus opciones” (cuestionario que reemplaza a la calculadora) ---------- */
.quiz-card { align-content: start; min-height: 440px; gap: 16px; }
.quiz-count { font-size: .8rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.quiz-progress { margin-top: 8px; }
.quiz-step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 14px; }
.quiz-q { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); line-height: 1.25; color: var(--navy-950); padding: 0; margin-bottom: 14px; outline: none; }
.quiz-opts { display: grid; gap: 10px; }
.quiz-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 54px;
  padding: 12px 18px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--white);
  font: inherit; font-weight: 600; font-size: 1rem; color: var(--ink); text-align: left; cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease), transform .15s var(--ease);
}
.quiz-opt .ico { width: 18px; height: 18px; color: var(--ink-3); flex: none; transition: transform .15s var(--ease), color .15s var(--ease); }
.quiz-opt:hover { border-color: var(--gold); background: #fffaf0; }
.quiz-opt:hover .ico { color: var(--gold-deep); transform: translateX(3px); }
.quiz-opt:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.quiz-opt.is-picked { border-color: var(--gold); background: var(--gold-soft); }
.quiz-opt.is-picked .ico { color: var(--gold-deep); }
.quiz-nav { min-height: 24px; }
.quiz-back { background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 600; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.quiz-back:hover { color: var(--navy-950); text-decoration: underline; }
.quiz-result { display: grid; gap: 14px; }
.quiz-r-title { font-family: var(--f-display); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); line-height: 1.25; color: var(--navy-950); outline: none; }
.quiz-r-lead { color: var(--ink-2); }
.quiz-types { display: grid; gap: 10px; }
.quiz-type { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--paper); border-radius: var(--r-md); border: 1px solid var(--line); }
.quiz-type strong { display: block; color: var(--navy-950); font-size: 1rem; }
.quiz-type small { display: block; color: var(--ink-2); font-size: .88rem; line-height: 1.45; margin-top: 2px; }
.quiz-type-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-deep); }
.quiz-type-ico .ico { width: 20px; height: 20px; }
.quiz-note { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; font-weight: 600; color: var(--ok); }
.quiz-note[data-note="none"] { color: var(--ink-2); }
.quiz-note .ico { flex: none; margin-top: .15em; }
.quiz-next { font-size: .95rem; color: var(--ink); }
.quiz-actions { display: grid; gap: 10px; }
.btn-wa { background: #25d366; color: #fff; border-color: #25d366; }
.btn-wa:hover { background: #1fb457; border-color: #1fb457; color: #fff; }
.btn-wa .ico { width: 20px; height: 20px; }
.quiz-restart { justify-self: center; }
.quiz-fine { text-align: center; }
.anchor-alias { position: absolute; }
@media (max-width: 640px) { .quiz-card { min-height: 0; } }

/* ---------- Tabla comparativa sin cifras ---------- */
.cmp-table td { vertical-align: top; }

/* ---------- GoHighLevel form inside popups ---------- */
.ghl-embed { margin-top: 8px; }
.ghl-frame { display: block; width: 100%; height: 700px; border: 0; border-radius: var(--r-sm); }
.ghl-frame:not([src]) { height: 0; }

.cmp-table td.cmp-how { font-weight: 400; font-size: .92rem; line-height: 1.5; color: var(--ink-2); text-align: left; max-width: 32ch; }

/* ---------- Paso de contacto del cuestionario ---------- */
.quiz-contact { gap: 12px; }
.quiz-contact .quiz-q { margin-bottom: 0; }
.quiz-contact-lead { color: var(--ink-2); margin-top: -4px; }
.quiz-contact .check-field { margin-top: 2px; }
.quiz-contact .btn-block { margin-top: 4px; }
.quiz-safe { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .82rem; color: var(--ink-3); }
.quiz-safe .ico { width: 15px; height: 15px; }
.quiz-contact .check { font-weight: 400; }
