/* =========================================================
   IBN v4 · aspecto inspirado en partners.tourist.com
   Helvetica Neue en negritas con interletra cerrada, títulos de sección en mayúsculas,
   naranja para la acción, verde azulado y durazno para los paneles, esquinas grandes.
   El logotipo de IBN va siempre sin alterar, sobre blanco.
   ========================================================= */
:root {
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hand: "Gochi Hand", "Comic Sans MS", cursive;

  --ink: #0f1416;
  --text: #333333;
  --text-2: rgba(51, 51, 51, 0.78);
  --muted: #777777;
  --white: #ffffff;

  --orange: #ff5722;
  --orange-h: #ec4a17;
  --orange-ink: #c2410c;
  --orange-soft: #fff0e8;
  --teal: #1abc9c;
  --teal-2: #1a8e7e;
  --teal-deep: #0e5e4f;
  --teal-band: #17a589;
  --teal-tint: rgba(26, 188, 156, 0.15);
  --gold: #f5a623;

  --peach: #fef6ea;
  --mint: #eef8f4;
  --grey: #f6f7f8;
  --grey-2: #f1f3f4;
  --line: rgba(0, 0, 0, 0.07);
  --line-2: rgba(0, 0, 0, 0.14);

  --r-btn: 12px;
  --r-card: 20px;
  --r-box: 24px;
  --r-hero: 32px;
  --r-panel: 40px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(15, 20, 22, 0.07);
  --glow: 0 8px 24px rgba(255, 87, 34, 0.35);

  --container: 1216px;
  --gutter: clamp(16px, 4vw, 32px);
  --sec: clamp(56px, 7vw, 96px);
  --nav-h: 80px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 72px); overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--white); color: var(--text); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); font-weight: 700; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.04em; text-transform: uppercase; text-wrap: balance; }
h3 { font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.ico { flex: none; width: 1.15em; height: 1.15em; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: var(--r-btn); background: var(--ink); color: var(--white); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.muted { color: var(--muted); }
.center { margin-top: 44px; text-align: center; }
.link { color: var(--orange-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { color: var(--orange); }
.link--icon { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.link--icon:hover { text-decoration: underline; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 28px; border: 0; border-radius: var(--r-btn);
  background: var(--orange); color: var(--white);
  font: 600 15px/1.2 var(--font); letter-spacing: -0.01em; text-align: center;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { background: var(--orange-h); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 16px; height: 16px; }
.btn--caps { text-transform: uppercase; font-weight: 700; letter-spacing: -0.02em; }
.btn--lg { min-height: 56px; padding: 18px 56px; font-size: 16px; }
.btn--sm { min-height: 44px; padding: 12px 20px; font-size: 13px; }
.btn--glow { box-shadow: var(--glow); }
.btn--block { width: 100%; }
.btn--teal { background: var(--teal-2); box-shadow: 0 6px 18px -6px rgba(26, 142, 126, 0.5); }
.btn--teal:hover { background: var(--teal-deep); }
.btn--soft, .btn--ghost { background: rgba(51, 51, 51, 0.08); color: var(--text); }
.btn--soft:hover, .btn--ghost:hover { background: rgba(51, 51, 51, 0.14); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.chip .ico { width: 14px; height: 14px; }
.chip--dark { background: rgba(0, 0, 0, 0.38); color: var(--white); text-transform: uppercase; letter-spacing: 0.04em; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip--line { border: 1px solid var(--line-2); color: var(--text); font-weight: 600; }
.chip--line .ico { color: var(--teal-2); }

/* ---------- Menú ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.nav__in { display: flex; align-items: center; gap: 32px; height: var(--nav-h); }
.nav__logo img { width: auto; height: 50px; }
.nav__links { margin-left: auto; }
.nav__links ul { display: flex; gap: 4px; }
.nav__links a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--text); font-size: 14px; font-weight: 500; transition: color .15s, background-color .15s; }
.nav__links a:hover { background: var(--grey); color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--orange-ink); font-weight: 700; }
.nav__actions { display: flex; gap: 10px; }
.nav__menu { display: none; margin-left: auto; }
.nav__menu summary { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-btn); background: var(--grey); list-style: none; cursor: pointer; }
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__menu summary .ico { width: 22px; height: 22px; }
.nav__sheet { position: absolute; top: calc(100% - 4px); left: var(--gutter); right: var(--gutter); display: grid; gap: 10px; padding: 12px 16px 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow); }
.nav__sheet ul { margin-bottom: 6px; }
.nav__sheet li + li { border-top: 1px solid var(--line); }
.nav__sheet ul a { display: block; padding: 14px 4px; color: var(--ink); font-size: 17px; font-weight: 600; }
.nav__sheet ul a[aria-current="page"] { color: var(--orange-ink); }

/* ---------- Portada ---------- */
.hero { padding-top: 8px; }
.hero__card { position: relative; isolation: isolate; display: grid; place-items: center; min-height: clamp(560px, calc(100vh - var(--nav-h) - 24px), 680px); overflow: hidden; border-radius: var(--r-hero); background: var(--ink); }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(10, 14, 16, 0.62), rgba(10, 14, 16, 0.38) 75%), linear-gradient(180deg, rgba(10, 14, 16, 0.25), rgba(10, 14, 16, 0.45)); }
.hero__body { display: flex; flex-direction: column; align-items: center; max-width: 1100px; padding: 56px 24px; color: var(--white); text-align: center; }
.hero h1 { margin: 22px 0 18px; color: var(--white); font-size: clamp(34px, 4.4vw, 58px); }
.hero .hl { color: var(--gold); }
.hero__lead { max-width: 54ch; margin-bottom: 30px; color: rgba(255, 255, 255, 0.9); font-size: 18px; line-height: 1.4; letter-spacing: -0.01em; }
.hero__checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; color: rgba(255, 255, 255, 0.9); font-size: 13px; }
.hero__checks li { display: inline-flex; align-items: center; gap: 6px; }
.hero__checks .ico { width: 14px; height: 14px; color: var(--teal); stroke-width: 3; }
.hero__stats { display: inline-flex; flex-wrap: wrap; justify-content: center; margin-top: 26px; padding: 10px 8px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; background: rgba(0, 0, 0, 0.42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; }
.hero__stats li { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; }
.hero__stats li + li { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.hero__stats .ico { width: 15px; height: 15px; opacity: 0.85; }

/* ---------- Secciones ---------- */
.sec { padding-block: var(--sec); }
.sec--s { padding-block: clamp(40px, 5vw, 64px); }
.sec--line { border-top: 1px solid var(--line); }
.sechead { max-width: 860px; margin: 0 auto 48px; text-align: center; }
.sechead p { max-width: 60ch; margin: 14px auto 0; color: var(--text-2); font-size: 17px; }

/* Dos formas */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.way { display: flex; flex-direction: column; padding: clamp(24px, 3.4vw, 40px); border: 1px solid; border-radius: var(--r-hero); }
.way--mint { border-color: rgba(26, 188, 156, 0.2); background: linear-gradient(180deg, #e7f6f0, #f6fbf9 70%); }
.way__head { display: flex; align-items: center; gap: 12px; }
.way__num { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 2px solid; border-radius: 50%; background: var(--white); font-weight: 700; }
.way--mint .way__num { border-color: var(--teal); color: var(--teal-2); }
.seal { flex: none; margin-left: auto; color: var(--teal-deep); transform: rotate(-8deg); }
.seal__disc { fill: var(--white); }
.seal__ring { fill: none; stroke: currentColor; }
.seal text { font-family: var(--font); fill: currentColor; }
.seal__arc { font-size: 7.6px; font-weight: 700; letter-spacing: 0.04em; }
.seal__star { font-size: 7px; }
.seal__mark { font-size: 24px; font-weight: 800; letter-spacing: 0.02em; }
.seal__sub { font-size: 9px; font-weight: 600; }
.way__lead { margin: 14px 0 24px; color: var(--text-2); font-size: 15px; }
.way__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; margin-bottom: 28px; }
.way > .btn { align-self: flex-start; margin-top: auto; }
.way__foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; text-align: center; }
.way--mint .way__foot { color: var(--teal-deep); }

.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.checks .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--teal-tint); color: var(--teal-2); stroke-width: 3; }

.mock { padding: 14px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.mock__bar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mock__bar img { width: auto; height: 22px; }
.mock__bar span { color: var(--muted); font-size: 11px; }
.mock__t { margin: 12px 0 8px; color: var(--ink); font-size: 14px; font-weight: 700; }
.mock__chips { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.mock__chips span { padding: 4px 8px; border-radius: 999px; background: var(--grey-2); font-size: 10px; font-weight: 600; }
.mock__chips .is-on { background: var(--teal-2); color: var(--white); }
.mock__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mock__item { display: grid; gap: 2px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; }
.mock__img { display: block; height: 72px; overflow: hidden; margin-bottom: 4px; padding: 6px; border-radius: 8px; background: var(--grey); }
.mock__img img { width: 100%; height: 100%; max-width: none; object-fit: contain; }
.mock__item b { color: var(--ink); font-size: 10px; line-height: 1.2; }
.mock__item small { color: var(--muted); font-size: 9px; }


.note { display: flex; align-items: center; gap: 12px; max-width: 780px; margin: 32px auto 0; padding: 16px 20px; border-radius: 16px; background: var(--grey); color: var(--text-2); font-size: 14px; }
.note .ico { color: var(--orange); }
.note b { color: var(--ink); }

/* Cómo trabajamos */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.how li { position: relative; text-align: center; }
.how li:not(:last-child)::after { content: ""; position: absolute; top: 86px; left: calc(50% + 92px); width: calc(100% - 184px + 32px); border-top: 2px dashed #ffbfa8; }
.how__art { position: relative; display: grid; place-items: center; height: 172px; margin-bottom: 22px; }
.how__art::before, .how__art::after { content: ""; position: absolute; width: 86px; height: 86px; border-radius: 22px; }
.how__art::before { transform: translate(-56px, 10px) rotate(-12deg); }
.how__art::after { transform: translate(56px, 10px) rotate(12deg); }
.how__art--teal::before, .how__art--teal::after { background: var(--teal-tint); }
.how__art--orange::before, .how__art--orange::after { background: var(--orange-soft); }
.how__art--gold::before, .how__art--gold::after { background: #fdf1d8; }
.how__card { position: relative; z-index: 1; display: grid; place-items: center; width: 108px; height: 108px; border-radius: 26px; background: var(--white); box-shadow: var(--shadow); transform: rotate(-4deg); }
.how__card .ico { width: 44px; height: 44px; stroke-width: 1.6; }
.how__art--teal .ico { color: var(--teal-2); }
.how__art--orange .ico { color: var(--orange); }
.how__art--gold .ico { color: #c98500; }
.how h3 { font-size: 20px; }
.how p { max-width: 30ch; margin: 8px auto 0; color: var(--text-2); font-size: 15px; }

/* Panel durazno con pestañas verticales */
.panel { padding: clamp(40px, 6vw, 80px) clamp(16px, 4.5vw, 60px); border-radius: var(--r-panel); }
.panel--peach { background: var(--peach); }
.lines { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px; align-items: start; }
.lines__tabs, .tour__list { display: grid; gap: 10px; margin: 0; }
.lines__tabs button, .tour__list button {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--white); color: var(--text);
  font-size: 15px; font-weight: 600; line-height: 1.25; text-align: left; letter-spacing: -0.01em;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.lines__tabs button:hover, .tour__list button:hover { border-color: rgba(255, 87, 34, 0.4); }
.lines__ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--orange-soft); color: var(--orange); }
.lines__ico .ico { width: 18px; height: 18px; }
.lines__name { flex: 1; }
.lines__tabs button > .ico { width: 16px; height: 16px; color: var(--muted); }
.lines__tabs [aria-selected="true"], .tour__list [aria-selected="true"] { border-color: var(--orange); background: var(--orange); color: var(--white); box-shadow: 0 10px 24px -10px rgba(255, 87, 34, 0.7); }
.lines__tabs [aria-selected="true"] .lines__ico { background: rgba(255, 255, 255, 0.2); color: var(--white); }
.lines__tabs [aria-selected="true"] > .ico { color: var(--white); }
.lines__pane { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-box); background: var(--white); box-shadow: var(--shadow); }
.lines__pane[hidden], .tour [role="tabpanel"][hidden] { display: none; }
.lines__top { display: flex; gap: 16px; align-items: flex-start; }
.lines__badge { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--orange-soft); color: var(--orange); }
.lines__top p { margin-top: 4px; color: var(--text-2); font-size: 15px; }
.lines__mid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; margin: 24px 0; }
.lines__pic { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 16px; border-radius: 16px; background: var(--grey); }
.lines__pic img { width: 100%; height: 100%; object-fit: contain; }
.lines__list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line-2); font-size: 15px; }
.lines__list li:first-child { padding-top: 0; }
.lines__tick { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-tint); color: var(--teal-2); }
.lines__tick .ico { width: 13px; height: 13px; stroke-width: 3; }
.lines__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.lines__stats div { padding: 14px 10px; border: 1px solid var(--line); border-radius: 14px; text-align: center; }
.lines__stats b { display: block; color: var(--teal-2); font-size: 20px; letter-spacing: -0.02em; }
.lines__stats span { color: var(--muted); font-size: 12px; }

/* Tres pasos con número grande */
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.split-head p { color: var(--text-2); font-size: 17px; }
/* Cotizar es fácil: banda compacta */
.sec--easy { padding-block: clamp(24px, 3vw, 40px); }
.easy { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.4fr); gap: clamp(20px, 3vw, 40px); align-items: center; padding: 22px clamp(20px, 2.6vw, 32px); border-radius: var(--r-box); background: var(--grey); }
.easy__head h2 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.02em; }
.easy__head p { margin-top: 6px; color: var(--text-2); font-size: 14px; }
.easy__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.easy__steps li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--white); }
.easy__n { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-ink); font-size: 14px; font-weight: 700; }
.easy__steps h3 { font-size: 15px; line-height: 1.3; }
.easy__steps p { margin-top: 2px; color: var(--text-2); font-size: 13px; line-height: 1.45; }

/* Tabla comparativa */
.compare { padding: clamp(12px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--r-panel); background: #f8f9fa; }
.compare__scroll { overflow-x: auto; border-radius: var(--r-card); }
.compare table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: var(--r-card); background: var(--white); font-size: 15px; }
.compare th, .compare td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare tr:last-child > * { border-bottom: 0; }
.compare thead th { color: var(--ink); font-size: 15px; font-weight: 700; }
.compare thead th:first-child { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.compare tbody th { color: var(--ink); font-size: 14px; font-weight: 600; text-align: left; }
.compare td { color: var(--text-2); }
.compare .is-pick { background: rgba(26, 188, 156, 0.08); color: var(--teal-deep); font-weight: 600; }
.compare thead .is-pick { background: var(--teal); color: var(--white); }
.badge { display: block; width: max-content; margin: 0 auto 8px; padding: 3px 10px; border-radius: 999px; background: var(--orange); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.yes { display: inline-flex; align-items: center; gap: 4px; color: var(--teal-2); font-weight: 600; }
.yes .ico { width: 15px; height: 15px; stroke-width: 3; }


/* Banda final */
.cta { margin-top: var(--sec); background: var(--teal-band); color: var(--white); }
.cta__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; padding-block: clamp(56px, 7vw, 80px); }
.cta h2 { color: var(--white); }
.cta__text p { max-width: 52ch; margin-top: 16px; color: var(--white); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.cta__act p { margin-top: 14px; color: var(--white); font-size: 15px; font-weight: 600; text-align: center; }
.cta__act a:not(.btn) { color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
main:has(> .cta:last-child) + .foot { border-top: 0; }

/* ---------- Pie ---------- */
.foot { padding: 48px 0 28px; border-top: 1px solid var(--line); background: var(--white); }
.foot__grid { display: block; }
.foot__logo img { width: auto; height: 60px; }
.foot__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.foot__brand p { color: var(--text-2); font-size: 14px; }
.foot__legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; letter-spacing: 0.06em; text-align: center; text-transform: uppercase; }

/* =========================================================
   Páginas interiores
   ========================================================= */
.banner { padding-top: 8px; }
.banner__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-panel); background: linear-gradient(135deg, var(--mint), #f7fbfa 55%, var(--peach)); }
.banner--text .banner__in { grid-template-columns: minmax(0, 1fr); }
.banner--text .banner__text { max-width: 760px; }
.banner .lead { max-width: 52ch; margin-top: 18px; color: var(--text-2); font-size: 18px; line-height: 1.45; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a:hover { color: var(--orange-ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

.well { min-width: 0; }
.well__frame { padding: 14px; border: 1px solid var(--line); border-radius: var(--r-box); background: var(--white); box-shadow: var(--shadow); }
.well__card { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; padding: 20px; border-radius: 16px; background: var(--grey); }
.well__card img { width: 100%; height: 100%; object-fit: contain; transition: opacity .16s; }
.well__card--photo { padding: 0; }
.well__card--photo img { object-fit: cover; }
.well figcaption { margin-top: 14px; }
.well figcaption b { display: block; color: var(--ink); font-size: 16px; }
.well figcaption span { display: block; margin-top: 2px; color: var(--text-2); font-size: 14px; }

.headblock { margin-bottom: 36px; }
.headblock--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.headblock .lead { color: var(--text-2); font-size: 17px; }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.split__text > p { color: var(--text-2); font-size: 17px; }
.split__text > p + p { margin-top: 16px; }
.split__text h2 + * { margin-top: 24px; }
.split__text .checks { margin-top: 24px; }

.tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tally div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 28px 20px; border: 1px solid var(--line-2); border-radius: var(--r-card); text-align: center; }
.tally dd { color: var(--teal-2); font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.03em; }
.tally dt { color: var(--muted); font-size: 13px; }

.tour { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px; align-items: start; padding: clamp(20px, 4vw, 48px); border-radius: var(--r-panel); background: var(--peach); }
.tour__pane { padding: clamp(24px, 4vw, 44px); border-radius: var(--r-box); background: var(--white); box-shadow: var(--shadow); }
.tour__pane h3 { margin-bottom: 14px; color: var(--orange-ink); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.tour__pane p { color: var(--ink); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; letter-spacing: -0.01em; }

/* Rejilla de productos */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid a { display: block; height: 100%; }
.grid a .well__frame { transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.grid a:hover .well__frame { border-color: rgba(255, 87, 34, 0.45); transform: translateY(-3px); }
.grid a:hover figcaption b { color: var(--orange-ink); }

/* Sub-menú de modelos */
.subnav { position: sticky; top: var(--nav-h); z-index: 40; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.subnav ul { display: flex; gap: 8px; padding-block: 12px; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--grey); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color .2s, color .2s; }
.subnav a:hover { background: var(--grey-2); }
.subnav a.is-active { background: var(--orange); color: var(--white); }

/* Bloques de producto */
.block__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: start; }
.block--flip .gallery { order: 2; }
.block h2 { font-size: clamp(28px, 3vw, 40px); }
.block__note { display: inline-block; margin: 14px 0 20px; padding: 6px 12px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-deep); font-size: 13px; font-weight: 600; }
.block__text > p { color: var(--text-2); font-size: 17px; }
.block__text > p + * , .block__text .checks { margin-top: 24px; }
.more summary { margin-top: 16px; color: var(--orange-ink); font-weight: 600; cursor: pointer; }
.more p { margin-top: 12px; color: var(--text-2); }
.spec { width: 100%; margin-top: 24px; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.spec thead th { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.spec tbody th { color: var(--ink); font-weight: 600; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gallery__thumbs button { width: 76px; height: 76px; padding: 6px; border: 2px solid transparent; border-radius: 14px; background: var(--grey); transition: border-color .2s; }
.gallery__thumbs button:hover { border-color: var(--line-2); }
.gallery__thumbs [aria-pressed="true"] { border-color: var(--orange); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }

/* Índice de líneas (accesorios) */
.index { display: grid; gap: 12px; }
.index__row { display: grid; grid-template-columns: 64px minmax(0, 1.2fr) minmax(0, 2fr) auto auto; gap: 20px; align-items: center; padding: 12px 20px 12px 12px; border: 1px solid var(--line); border-radius: var(--r-card); transition: border-color .2s, background-color .2s; }
.index__row:hover { border-color: rgba(255, 87, 34, 0.45); background: #fffaf7; }
.index__thumb { display: grid; place-items: center; width: 64px; height: 64px; padding: 6px; border-radius: 12px; background: var(--grey); }
.index__thumb img { width: 100%; height: 100%; object-fit: contain; }
.index__thumb--photo { padding: 0; overflow: hidden; }
.index__thumb--photo img { object-fit: cover; }
.index__name { color: var(--ink); font-weight: 700; }
.index__fact { color: var(--text-2); font-size: 14px; }
.index__cat { padding: 4px 10px; border-radius: 999px; background: var(--grey); font-size: 12px; font-weight: 600; }
.index__go { color: var(--orange-ink); font-size: 14px; font-weight: 700; }

/* Catálogos */
.dots { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.dots button { min-height: 44px; padding: 10px 20px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); font-size: 14px; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.dots button:hover { border-color: var(--orange); }
.dots [aria-pressed="true"] { border-color: var(--orange); background: var(--orange); color: var(--white); }
.catlist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.catlist li { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 18px; border: 1px solid var(--line); border-radius: var(--r-box); background: var(--white); transition: border-color .2s, transform .25s var(--ease); }
.catlist li:hover { border-color: rgba(255, 87, 34, 0.45); transform: translateY(-3px); }
.catlist li[hidden] { display: none; }
.catlist__cover { display: grid; place-items: center; aspect-ratio: 4 / 5; margin-bottom: 6px; padding: 14px; border-radius: 16px; background: var(--grey); }
.catlist__cover img { width: 100%; height: 100%; object-fit: contain; }
.catlist__t { color: var(--ink); font-weight: 700; line-height: 1.3; }
.catlist__c { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-deep); font-size: 12px; font-weight: 600; }
.catlist .link { margin-top: auto; padding-top: 6px; }


/* Contacto */
.contact { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 28px; align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; padding: clamp(20px, 3.5vw, 36px); border: 1px solid var(--line); border-radius: var(--r-hero); background: var(--white); box-shadow: var(--shadow); }
.field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: var(--r-btn); background: var(--white); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(0, 0, 0, 0.28); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px var(--teal-tint); }
.field [aria-invalid="true"] { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.field--full { grid-column: 1 / -1; }
.field__err { margin-top: 6px; color: var(--orange-ink); font-size: 13px; font-weight: 600; }
.field__err:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input, .field .check input { width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; padding: 0; border: 0; accent-color: var(--orange); box-shadow: none; }
.check a { color: var(--orange-ink); text-decoration: underline; }
.form .actions { margin-top: 4px; }
.form .btn[aria-busy="true"] { opacity: 0.7; }
.hp { position: absolute; left: -9999px; }
.form__status { font-size: 15px; }
.form__status:empty { display: none; }
.form__status.is-ok, .form__status.is-error { padding: 14px 16px; border-radius: var(--r-btn); }
.form__status.is-ok { background: var(--teal-tint); color: var(--teal-deep); font-weight: 600; }
.form__status.is-error { background: var(--orange-soft); color: var(--orange-ink); font-weight: 600; }
.contactcard { padding: 8px 24px; border-radius: var(--r-hero); background: var(--mint); }
.contactcard dl > div { padding: 20px 0; }
.contactcard dl > div + div { border-top: 1px solid rgba(26, 142, 126, 0.18); }
.contactcard dt { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 700; }
.contactcard dt .ico { color: var(--teal-2); }
.contactcard dd { display: grid; gap: 4px; margin-top: 8px; color: var(--text-2); font-size: 15px; }
.contactcard a:hover { color: var(--orange-ink); text-decoration: underline; }

/* Aviso de privacidad */
.doc { max-width: 860px; }
.clause { margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); }
.clause summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; color: var(--ink); font-size: 17px; font-weight: 600; list-style: none; cursor: pointer; }
.clause summary::-webkit-details-marker { display: none; }
.clause summary::after { content: "+"; color: var(--muted); font-size: 24px; font-weight: 400; line-height: 1; transition: transform .25s var(--ease); }
.clause[open] summary::after { color: var(--orange); transform: rotate(45deg); }
.clause[open] { background: var(--grey); }
.clause:not([open]) .clause__body { display: none; }
.clause__body { padding: 0 22px 22px; color: var(--text-2); }
.clause__body p + p, .clause__body ul { margin-top: 12px; }
.clause__body ul { padding-left: 20px; list-style: disc; }
.clause__full { color: var(--ink); font-weight: 600; }

/* ---------- Responsivo ---------- */
@media (max-width: 1140px) {
  .nav__links a { padding: 10px 10px; }
  .nav__tel { display: none; }
}
@media (max-width: 980px) {
  .ways, .split-head, .cta__in, .banner__in, .block__in, .split, .split--even, .contact, .headblock--split { grid-template-columns: minmax(0, 1fr); }
  .nav__links, .nav__actions { display: none; }
  .nav__menu { display: block; }
  .lines, .tour { grid-template-columns: minmax(0, 1fr); }
  .lines__tabs, .tour__list { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: thin; }
  .lines__tabs button, .tour__list button { width: auto; min-height: 52px; white-space: nowrap; }
  .lines__tabs button > .ico { display: none; }
  .how { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .how li:not(:last-child)::after { display: none; }
  .easy, .easy__steps { grid-template-columns: minmax(0, 1fr); }
  .grid, .catlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tally { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .block--flip .gallery { order: 0; }
  .index__row { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .index__fact, .index__cat { display: none; }
}
@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  .nav__logo img { height: 42px; }
  .hero__card { min-height: 0; border-radius: var(--r-box); }
  .hero__body { padding: 44px 18px; }
  .hero__lead { font-size: 16px; }
  .btn--lg { width: 100%; padding-inline: 24px; }
  .hero__stats { border-radius: 18px; }
  .hero__stats li { padding: 4px 10px; }
  .hero__stats li + li { border-left: 0; }
  .way__body, .lines__mid { grid-template-columns: minmax(0, 1fr); }
  .seal { width: 84px; height: 84px; }
  .way > .btn { align-self: stretch; }
  .lines__stats b { font-size: 16px; }
  .panel, .compare, .tour, .banner__in { border-radius: var(--r-box); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .catlist { grid-template-columns: minmax(0, 1fr); }
  .note { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* La entrada de las páginas interiores es una caja dentro del ancho del contenedor */
.banner .banner__in { width: calc(100% - 2 * var(--gutter)); max-width: var(--container); margin-inline: auto; }
.block__text .checks + p { margin-top: 20px; }
.field .check { display: flex; margin-bottom: 0; color: var(--text); font-size: 15px; font-weight: 400; }

/* ---------- Banner superior: carrusel de ibn.com.mx ---------- */
.slider { padding-top: 8px; }
.slider__frame { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-hero); background: var(--grey); }
.slider__track { display: flex; transition: transform .7s var(--ease); }
.slider__slide { flex: 0 0 100%; }
.slider__slide a { display: block; }
.slider__slide img { width: 100%; aspect-ratio: 1500 / 630; object-fit: cover; }
.slider__arrow { position: absolute; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--ink); box-shadow: var(--shadow); transition: background-color .2s, transform .2s var(--ease); }
.slider__arrow:hover { background: var(--white); transform: scale(1.06); }
.slider__arrow .ico { width: 20px; height: 20px; }
.slider__arrow--prev { right: 68px; }
.slider__arrow--prev .ico { transform: scaleX(-1); }
.slider__arrow--next { right: 16px; }
.slider__bar { position: absolute; left: 50%; bottom: 14px; display: flex; align-items: center; gap: 6px; padding: 4px 8px 4px 4px; border-radius: 999px; background: rgba(15, 20, 22, 0.42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transform: translateX(-50%); }
.slider__dots { display: flex; align-items: center; }
.slider__dots button { position: relative; width: 28px; height: 28px; padding: 0; border: 0; background: none; }
.slider__dots button::before { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); transform: translate(-50%, -50%); transition: width .3s var(--ease), background-color .3s; }
.slider__dots [aria-current="true"]::before { width: 22px; background: var(--white); }
.slider__pause { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.slider__pause-i { width: 8px; height: 10px; border-inline: 3px solid var(--white); }
.slider__pause[aria-pressed="true"] .slider__pause-i { width: 0; height: 0; margin-left: 2px; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--white); }
.slider__frame:not(.is-ready) .slider__arrow, .slider__frame:not(.is-ready) .slider__bar { display: none; }
.slider + .hero { padding-top: 24px; }
@media (max-width: 640px) {
  .slider__frame { border-radius: var(--r-card); }
  .slider__arrow { display: none !important; }
  .slider__bar { bottom: 6px; padding: 2px 6px 2px 2px; }
  .slider__dots button, .slider__pause { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) { .slider__track { transition: none; } }

/* Tarjeta ancha del equipo EBP (home) */
.way--wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.way--wide .way__head { margin-bottom: 24px; }
.way--wide .way__head h3 { font-size: clamp(22px, 2.2vw, 28px); }
.way--wide .checks { margin-bottom: 32px; }
.way--wide .checks li { font-size: 16px; }
.way--wide .mock { padding: 20px; }
.way--wide .mock__img { height: clamp(90px, 11vw, 140px); }
.way--wide .mock__item b { font-size: 12px; }
.way--wide .mock__item small { font-size: 11px; }
@media (max-width: 980px) { .way--wide { grid-template-columns: minmax(0, 1fr); } }

/* Banner inferior: la foto de la empresa a media altura, texto a la izquierda y acción a la derecha */
.hero--low { padding-top: 0; }
.hero--low .hero__card { min-height: 0; }
.hero--low .hero__body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: center; width: 100%; max-width: none; padding: clamp(28px, 4vw, 48px) clamp(20px, 4.5vw, 56px); text-align: left; }
.hero__title { margin: 16px 0 12px; color: var(--white); font-size: clamp(26px, 3vw, 40px); line-height: 1.08; letter-spacing: -0.035em; text-transform: none; }
.hero--low .hero__lead { max-width: 52ch; margin: 0; font-size: 16px; }
.hero--low .hero__act { display: grid; gap: 16px; justify-items: start; }
.hero--low .hero__checks { flex-direction: column; justify-content: flex-start; gap: 6px; margin: 0; }
.hero--low .hero__stats { margin: 0; }
@media (max-width: 860px) {
  .hero--low .hero__body { grid-template-columns: minmax(0, 1fr); }
}
.field--short input { max-width: 140px; }
