/* ═══════════════════════════════════════════════════════════
   FUCEREP — HOME NUEVA (versión de prueba)
   Solo la usa index-nuevo.html. Se carga después de styles.css
   y todo cuelga de body.hn, así que no afecta a las demás páginas.
   Paleta de marca: #ffb200 · #ff8000 · #80ff00 · #4dff00 · #0e0e0e
   ═══════════════════════════════════════════════════════════ */

/* ─── TOKENS ────────────────────────────────────────────── */
.hn {
  --hn-bg: #fcfaf4;
  --hn-band: #f6f1e3;
  --hn-surface: #ffffff;
  --hn-ink: #0e0e0e;
  --hn-text: #3a3731;
  --hn-muted: #6b665c;
  --hn-line: rgba(14, 14, 14, .08);
  --hn-line-strong: rgba(14, 14, 14, .16);
  --hn-orange-text: #b85400;  /* naranja de marca oscurecido: texto chico con contraste AA */
  --hn-dark: #13110c;

  --hn-grad: linear-gradient(135deg, #ffb200 0%, #ff8000 100%);
  --hn-grad-brand: linear-gradient(115deg, #ff8000 0%, #ffb200 45%, #80ff00 100%);
  --hn-amber-soft: #fff0c7;
  --hn-orange-soft: #ffe2c2;
  --hn-lime-soft: #e3fcc4;

  --hn-r-sm: 14px;
  --hn-r: 20px;
  --hn-r-lg: 28px;
  --hn-r-xl: 36px;

  --hn-shadow-sm: 0 1px 2px rgba(48, 32, 0, .05), 0 6px 16px -8px rgba(48, 32, 0, .12);
  --hn-shadow: 0 2px 6px rgba(48, 32, 0, .04), 0 22px 44px -22px rgba(48, 32, 0, .28);
  --hn-shadow-lg: 0 4px 10px rgba(48, 32, 0, .04), 0 40px 80px -32px rgba(48, 32, 0, .38);

  --hn-ease: cubic-bezier(.16, 1, .3, 1);

  background: var(--hn-bg);
  color: var(--hn-ink);
}
/* El fondo con degradé fijo de styles.css se reemplaza por uno liso;
   el color vive en el hero y en los bloques. */
body.hn::after { display: none; }

/* ─── BASE ──────────────────────────────────────────────── */
.hn-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hn-i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.hn-section { position: relative; padding: clamp(64px, 8vw, 104px) 0; }
.hn-section--band {
  background: var(--hn-band);
  border-top: 1px solid var(--hn-line);
  border-bottom: 1px solid var(--hn-line);
}

.hn-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.hn-head__text { max-width: 680px; }
.hn-kicker {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--hn-orange-text);
}
.hn-kicker::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--hn-grad);
}
.hn-h2 {
  margin: 0;
  font-family: var(--font); font-weight: 700;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem);
  line-height: 1.04; letter-spacing: -.04em;
  color: var(--hn-ink);
}
.hn-sub { margin: 14px 0 0; font-size: 1.08rem; line-height: 1.6; color: var(--hn-text); }

.hn-more {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 18px; border-radius: 999px;
  border: 1px solid var(--hn-line-strong); background: var(--hn-surface);
  color: var(--hn-ink); font-weight: 600; font-size: .92rem; text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s;
}
.hn-more .hn-i { width: 16px; height: 16px; transition: transform .3s var(--hn-ease); }
.hn-more:hover { background: var(--hn-ink); border-color: var(--hn-ink); color: #fff; }
.hn-more:hover .hn-i { transform: translateX(3px); }

/* ─── BOTONES ───────────────────────────────────────────── */
.hn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font); font-size: .98rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: transform .3s var(--hn-ease), box-shadow .3s var(--hn-ease), background-color .2s, border-color .2s, color .2s;
}
.hn-btn .hn-i { width: 18px; height: 18px; }
.hn-btn--primary {
  padding-right: 8px;
  background: var(--hn-ink); color: #fff;
  box-shadow: 0 14px 28px -14px rgba(14, 14, 14, .6);
}
.hn-btn__arrow {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--hn-grad); color: var(--hn-ink);
  transition: transform .3s var(--hn-ease);
}
.hn-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -16px rgba(14, 14, 14, .65); }
.hn-btn--primary:hover .hn-btn__arrow { transform: translateX(3px); }
.hn-btn--ghost { background: var(--hn-surface); color: var(--hn-ink); border-color: var(--hn-line-strong); }
.hn-btn--ghost:hover { border-color: var(--hn-ink); transform: translateY(-2px); box-shadow: var(--hn-shadow-sm); }

/* ─── HERO ──────────────────────────────────────────────── */
.hn-hero {
  position: relative; overflow: clip;
  padding: clamp(40px, 6vw, 76px) 0 clamp(48px, 6vw, 80px);
}
.hn-hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(640px 460px at 84% 14%, rgba(255, 178, 0, .30), transparent 70%),
    radial-gradient(520px 420px at 98% 64%, rgba(128, 255, 0, .18), transparent 70%),
    radial-gradient(560px 420px at 4% -6%, rgba(255, 128, 0, .10), transparent 70%);
}
/* Trama de puntos muy sutil, se desvanece hacia los bordes */
.hn-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(14, 14, 14, .10) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 35%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 70% 35%, #000 10%, transparent 75%);
  opacity: .55;
}
.hn-hero > .container { position: relative; z-index: 1; }

.hn-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}

.hn-eyebrow {
  display: flex; width: fit-content; align-items: center; gap: 10px;
  margin: 0 0 28px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .85); border: 1px solid var(--hn-line);
  box-shadow: var(--hn-shadow-sm);
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--hn-text);
}
.hn-eyebrow__dot {
  width: 8px; height: 8px; flex: none; border-radius: 50%;
  background: #4dff00; box-shadow: 0 0 0 4px rgba(128, 255, 0, .28);
}

.hn-hero__title { margin: 0; display: grid; width: fit-content; max-width: 100%; justify-items: end; line-height: 1; }
.hn-hero__word {
  display: block;
  font-size: clamp(4rem, 2.6rem + 5.4vw, 8rem);
  width: 3.76em; max-width: 100%;
}
.hn-hero__word svg { display: block; width: 100%; height: auto; overflow: visible; }
.hn-hero__coop {
  margin-top: -.12em; margin-right: .2em;
  font-family: var(--brand-font); font-weight: 900;
  font-size: clamp(1.5rem, 1rem + 1.7vw, 2.5rem); letter-spacing: -.01em; line-height: 1;
  color: var(--hn-ink);
}
.hn-hero__lead {
  margin: 28px 0 0; max-width: 32em;
  font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem); line-height: 1.6;
  color: var(--hn-text);
}
.hn-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hn-trust {
  list-style: none; margin: 34px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 12px 24px;
}
.hn-trust li {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .92rem; font-weight: 600; color: var(--hn-text);
}
.hn-trust__ico {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: var(--hn-surface); border: 1px solid var(--hn-line); color: var(--hn-ink);
}
.hn-trust__ico .hn-i { width: 16px; height: 16px; }

/* ─── CARRUSEL DE AVISOS (mismo JS: notice-carousel.js) ─── */
.hn-hero__media { position: relative; }
.hn-carousel-wrap { --hn-tilt: 3.5deg; position: relative; max-width: 500px; margin-left: auto; }
/* Tarjeta de color que asoma detrás del carrusel */
.hn-carousel-wrap::before {
  content: ""; position: absolute; z-index: 0;
  inset: 30px -18px -18px 30px;
  border-radius: calc(var(--hn-r-xl) + 4px);
  background: var(--hn-grad-brand);
  transform: rotate(var(--hn-tilt));
}
.hn #efucerep.hero__card {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  max-height: none; padding: 12px;
  background: var(--hn-surface);
  border: 1px solid var(--hn-line);
  border-radius: var(--hn-r-xl);
  box-shadow: var(--hn-shadow-lg);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  overflow: hidden;
}
.hn #efucerep .noticeCarousel__items { min-height: auto; align-items: center; }
.hn #efucerep .noticeCarousel__items > .notice { max-height: none; overflow: visible; }
/* Todos los avisos comparten la misma celda: la tarjeta toma el alto del aviso
   más alto y no cambia de tamaño al rotar (la página no "salta"). */
.hn #efucerep.hero__card[data-mode="carousel"] .noticeCarousel__items > .notice {
  position: relative; inset: auto; grid-area: 1 / 1;
}
.hn #efucerep .notice:not(.notice--image) { padding: 18px 16px 8px; }

/* Avisos con imagen: las piezas son cuadradas (1254×1254) */
.hn #efucerep.hero__card[data-mode="carousel"] .notice--image { height: auto; overflow: hidden; }
.hn #efucerep .notice--image .noticeMedia {
  min-height: 0; height: auto; aspect-ratio: 1 / 1;
  margin: 0; padding: 0; border: 0;
  border-radius: calc(var(--hn-r-xl) - 12px);
  background: #f4f1e8;
}
.hn #efucerep .notice--image .noticeMedia img { width: 100%; height: 100%; object-fit: cover; }

/* Avisos de texto: ajustes finos sobre los estilos base */
.hn #efucerep .badge__k { color: var(--hn-orange-text); }
.hn #efucerep .mini { color: var(--hn-text); }
.hn #efucerep .newsItem { border: 1px solid var(--hn-line); background: #faf7ef; border-radius: var(--hn-r-sm); }
.hn #efucerep .btn {
  border-radius: 999px; background: var(--hn-ink); color: #fff; box-shadow: none;
}
.hn #efucerep .btn::before { display: none; }
.hn #efucerep .btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -12px rgba(14, 14, 14, .6); }
.hn #efucerep .btn--ghost { background: var(--hn-surface); color: var(--hn-ink); border: 1px solid var(--hn-line-strong); }

/* Controles */
.hn #efucerep .noticeCarousel__nav {
  gap: 6px; margin-top: 10px; padding: 2px;
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.hn #efucerep .noticeCarousel__btn {
  width: 40px; height: 40px;
  border: 1px solid var(--hn-line-strong); background: var(--hn-surface); color: var(--hn-ink);
  font-size: 20px; line-height: 1;
  transition: background-color .2s, color .2s, border-color .2s;
}
.hn #efucerep .noticeCarousel__btn:hover {
  transform: none; box-shadow: none;
  background: var(--hn-ink); border-color: var(--hn-ink); color: #fff;
}
.hn #efucerep .noticeCarousel__toggle { font-size: 12px; }
.hn #efucerep .noticeCarousel__dot::before { background: rgba(14, 14, 14, .18); }
.hn #efucerep .noticeCarousel__dot[aria-selected="true"]::before { width: 28px; background: var(--hn-grad); }
.hn #efucerep .noticeCarousel__count { border: 0; background: var(--hn-band); color: var(--hn-text); }
/* Barra de progreso del autoplay (el JS la crea y le asigna la animación noticeProgress) */
.hn #efucerep .noticeCarousel__progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--hn-grad-brand);
  transform: scaleX(0); transform-origin: left center;
  pointer-events: none;
}
@keyframes noticeProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ─── BENTO: cifras, accesos y aviso de seguridad ──────── */
.hn-bento {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px;
  margin-top: clamp(44px, 6vw, 72px);
}

.hn-stats {
  grid-column: span 5;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center;
  padding: 28px 10px; border-radius: var(--hn-r-lg);
  background: var(--hn-dark); color: #fff;
}
.hn-stats::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(280px 190px at 0% 0%, rgba(255, 178, 0, .32), transparent 70%),
    radial-gradient(280px 190px at 100% 100%, rgba(128, 255, 0, .22), transparent 70%);
}
.hn-stat { padding: 4px 12px; text-align: center; }
.hn-stat + .hn-stat { border-left: 1px solid rgba(255, 255, 255, .12); }
.hn-stat b {
  display: block;
  font-family: var(--brand-font); font-weight: 900;
  font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.6rem); line-height: 1; letter-spacing: -.03em;
  background: linear-gradient(120deg, #ffb200 10%, #80ff00 95%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hn-stat span {
  display: block; margin-top: 10px;
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.hn-quick {
  grid-column: span 7;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.hn-quick__item {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 22px;
  min-height: 128px; padding: 18px;
  border-radius: var(--hn-r); background: var(--hn-surface); border: 1px solid var(--hn-line);
  box-shadow: var(--hn-shadow-sm);
  color: var(--hn-ink); font-size: .95rem; font-weight: 700; letter-spacing: -.01em; text-decoration: none;
  transition: transform .35s var(--hn-ease), box-shadow .35s var(--hn-ease), border-color .2s;
}
.hn-quick__ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--hn-r-sm);
  background: var(--hn-amber-soft); color: var(--hn-ink);
  transition: background-color .25s, color .25s;
}
.hn-quick__item--lime .hn-quick__ico { background: var(--hn-lime-soft); }
.hn-quick__item--orange .hn-quick__ico { background: var(--hn-orange-soft); }
.hn-quick__item--ink .hn-quick__ico { background: #efece4; }
.hn-quick__go {
  position: absolute; top: 18px; right: 16px; width: 18px; height: 18px;
  color: var(--hn-muted);
  transition: transform .35s var(--hn-ease), color .2s;
}
.hn-quick__item:hover { transform: translateY(-3px); box-shadow: var(--hn-shadow); border-color: var(--hn-line-strong); }
.hn-quick__item:hover .hn-quick__go { color: var(--hn-ink); transform: translate(2px, -2px); }
.hn-quick__item--amber:hover .hn-quick__ico { background: #ffb200; }
.hn-quick__item--lime:hover .hn-quick__ico { background: #80ff00; }
.hn-quick__item--orange:hover .hn-quick__ico { background: #ff8000; }
.hn-quick__item--ink:hover .hn-quick__ico { background: var(--hn-ink); color: #fff; }

.hn-tip {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px 14px 14px; border-radius: var(--hn-r);
  background: #fff6dd; border: 1px solid rgba(255, 178, 0, .45);
}
.hn-tip__ico {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--hn-grad); color: var(--hn-ink);
}
.hn-tip p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--hn-text); }
.hn-tip a {
  color: var(--hn-ink); font-weight: 700; white-space: nowrap;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px;
  text-decoration-color: rgba(255, 128, 0, .7);
}
.hn-tip a .hn-i { width: 16px; height: 16px; vertical-align: -3px; }

/* ─── DESTACADOS ────────────────────────────────────────── */
.hn-feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch;
  overflow: hidden;
  border-radius: var(--hn-r-xl); background: var(--hn-surface); border: 1px solid var(--hn-line);
  box-shadow: var(--hn-shadow);
}
.hn-feature__media {
  display: block; padding: clamp(16px, 2.4vw, 28px);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 178, 0, .38), transparent 60%),
    radial-gradient(120% 90% at 100% 100%, rgba(128, 255, 0, .30), transparent 60%),
    #fff7e3;
}
.hn-feature__media img {
  display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: calc(var(--hn-r-xl) - 14px);
  box-shadow: 0 24px 48px -24px rgba(48, 32, 0, .45);
  transition: transform .6s var(--hn-ease);
}
.hn-feature__media:hover img { transform: scale(1.02); }
.hn-feature__body {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px;
  padding: clamp(28px, 4.5vw, 64px);
}
.hn-tag {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: 999px;
  background: var(--hn-amber-soft); color: #7a3f00;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.hn-feature__title {
  margin: 0;
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.9rem); font-weight: 700; line-height: 1.05; letter-spacing: -.04em;
}
.hn-feature__body p { margin: 0; max-width: 44ch; font-size: 1.08rem; line-height: 1.6; color: var(--hn-text); }
.hn-feature__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

/* Avisos: riesgo de tipo de cambio + comunicado */
.hn-notices { display: grid; gap: 16px; margin-top: clamp(24px, 3vw, 32px); }
.hn-notice {
  display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  gap: 18px clamp(24px, 4vw, 56px);
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--hn-r-lg); background: var(--hn-surface); border: 1px solid var(--hn-line);
}
.hn-notice__side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hn-notice__ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--hn-r-sm);
  background: var(--hn-amber-soft); color: var(--hn-ink);
}
.hn-notice--letter .hn-notice__ico { background: var(--hn-lime-soft); }
.hn-notice__title { margin: 0; font-size: 1.2rem; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.hn-notice__date { margin: 0; font-size: .86rem; color: var(--hn-muted); }
.hn-notice__body { max-width: 78ch; }
.hn-notice__body p { margin: 0 0 12px; font-size: .95rem; line-height: 1.7; color: var(--hn-text); }
.hn-notice__body p:last-child { margin-bottom: 0; }
.hn-notice__body strong { color: var(--hn-ink); }
.hn-notice__body a {
  color: var(--hn-ink); font-weight: 600; overflow-wrap: anywhere;
  text-decoration: underline; text-decoration-color: rgba(255, 128, 0, .7); text-underline-offset: 3px;
}
.hn-notice__body .hn-notice__sign { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hn-line); }

/* ─── PERSONAS ──────────────────────────────────────────── */
.hn-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hn-product {
  --hn-accent: #ffb200; --hn-accent-soft: rgba(255, 178, 0, .28);
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: clamp(26px, 3vw, 36px);
  border-radius: var(--hn-r-xl); background: var(--hn-surface); border: 1px solid var(--hn-line);
  box-shadow: var(--hn-shadow-sm);
  transition: transform .4s var(--hn-ease), box-shadow .4s var(--hn-ease), border-color .25s;
}
.hn-product--lime { --hn-accent: #80ff00; --hn-accent-soft: rgba(128, 255, 0, .26); }
.hn-product--orange { --hn-accent: #ff8000; --hn-accent-soft: rgba(255, 128, 0, .22); }
.hn-product::before {
  content: ""; position: absolute; z-index: -1;
  width: 260px; height: 260px; right: -100px; top: -100px; border-radius: 50%;
  background: radial-gradient(circle, var(--hn-accent-soft) 0%, transparent 70%);
  transition: transform .6s var(--hn-ease);
}
.hn-product__ico {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 10px;
  border-radius: 18px; background: var(--hn-accent); color: var(--hn-ink);
}
.hn-product__ico .hn-i { width: 26px; height: 26px; }
.hn-product h3 { margin: 0; font-size: 1.45rem; font-weight: 700; letter-spacing: -.03em; }
.hn-product p { margin: 0; flex: 1; font-size: 1rem; line-height: 1.65; color: var(--hn-text); }
.hn-product:hover { transform: translateY(-4px); box-shadow: var(--hn-shadow); border-color: var(--hn-line-strong); }
.hn-product:hover::before { transform: scale(1.3); }

.hn-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 10px;
  color: var(--hn-ink); font-weight: 700; font-size: .98rem; text-decoration: none;
}
.hn-link__arrow {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--hn-line-strong);
  transition: background-color .25s, border-color .25s, color .25s, transform .35s var(--hn-ease);
}
.hn-link__arrow .hn-i { width: 16px; height: 16px; }
.hn-product:hover .hn-link__arrow { background: var(--hn-ink); border-color: var(--hn-ink); color: #fff; transform: translateX(3px); }

/* Toda la tarjeta es clickeable, pero el link sigue siendo solo el texto del CTA */
.hn-stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--hn-r-xl); }
.hn-product:has(.hn-stretch:focus-visible),
.hn-biz:has(.hn-stretch:focus-visible) { outline: 3px solid rgba(255, 128, 0, .65); outline-offset: 3px; }

/* ─── EMPRESAS ──────────────────────────────────────────── */
.hn-biz {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--hn-r-xl); background: var(--hn-dark); color: #fff;
  box-shadow: var(--hn-shadow-lg);
}
.hn-biz::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(560px 380px at 100% 0%, rgba(255, 178, 0, .26), transparent 70%),
    radial-gradient(520px 380px at 0% 100%, rgba(128, 255, 0, .16), transparent 70%);
  transition: opacity .4s;
}
.hn-biz__main { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hn-biz__ico {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 4px;
  border-radius: 18px; background: var(--hn-grad); color: var(--hn-ink);
}
.hn-biz__ico .hn-i { width: 28px; height: 28px; }
.hn-biz__tag { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ffb200; }
.hn-biz h3 {
  margin: 0; color: #fff;
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); font-weight: 700; line-height: 1.06; letter-spacing: -.04em;
}
.hn-biz p { margin: 0; max-width: 52ch; font-size: 1.05rem; line-height: 1.65; color: rgba(255, 255, 255, .74); }
.hn-biz__cta {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 12px;
  min-height: 52px; padding: 0 8px 0 24px; border-radius: 999px;
  background: var(--hn-grad); color: var(--hn-ink);
  font-weight: 700; font-size: .98rem; text-decoration: none;
  transition: box-shadow .3s var(--hn-ease);
}
.hn-biz__cta .hn-btn__arrow { background: var(--hn-ink); color: #fff; }
.hn-biz:hover .hn-biz__cta { box-shadow: 0 16px 32px -14px rgba(255, 128, 0, .8); }
.hn-biz:hover .hn-btn__arrow { transform: translateX(3px); }
.hn-biz__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.hn-biz__list li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 20px; border-radius: var(--hn-r);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .10);
  font-size: .98rem; font-weight: 600; line-height: 1.4; color: rgba(255, 255, 255, .92);
}
.hn-biz__check {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(128, 255, 0, .14); color: #80ff00;
}
.hn-biz__check .hn-i { width: 16px; height: 16px; stroke-width: 2.4; }

/* ─── INSTITUCIONAL ─────────────────────────────────────── */
.hn-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.hn-pillar { position: relative; padding-top: 28px; border-top: 1px solid var(--hn-line-strong); }
.hn-pillar::before {
  content: ""; position: absolute; left: 0; top: -2px;
  width: 56px; height: 3px; border-radius: 3px;
  background: var(--hn-grad);
  transition: width .6s var(--hn-ease);
}
.hn-pillar:hover::before { width: 100%; }
.hn-pillar__num {
  display: block; margin-bottom: 18px;
  font-family: var(--brand-font); font-weight: 900; font-size: 3.4rem; line-height: 1; letter-spacing: -.05em;
  background: var(--hn-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  user-select: none;
}
.hn-pillar h3 { margin: 0 0 12px; font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; }
.hn-pillar p { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--hn-text); }

/* ─── CONTACTO ──────────────────────────────────────────── */
.hn-contact {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--hn-r-xl);
  background: var(--hn-grad); color: var(--hn-ink);
}
.hn-contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(640px 420px at 0% 0%, rgba(255, 255, 255, .45), transparent 62%),
    radial-gradient(560px 400px at 100% 100%, rgba(255, 96, 0, .30), transparent 66%);
}
.hn-contact__head { margin-bottom: clamp(24px, 3vw, 36px); }
.hn-contact__head .hn-sub { margin: 0; color: rgba(14, 14, 14, .78); font-weight: 600; }
.hn-kicker--ink { color: var(--hn-ink); }
.hn-kicker--ink::before { background: var(--hn-ink); }

.hn-contact__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hn-ccard {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(22px, 2.6vw, 30px); border-radius: var(--hn-r-lg);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 44px -26px rgba(90, 40, 0, .5);
}
.hn-ccard h3 {
  display: flex; align-items: center; gap: 12px; margin: 0 0 4px;
  font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em;
}
.hn-ccard__ico {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: var(--hn-ink); color: #ffb200;
}
.hn-ccard__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hn-ccard__list a {
  display: flex; align-items: center; gap: 12px; padding: 8px 0;
  color: var(--hn-ink); font-weight: 600; text-decoration: none;
}
.hn-ccard__list a span { overflow-wrap: break-word; min-width: 0; }
.hn-ccard__list a .hn-i { width: 18px; height: 18px; color: var(--hn-orange-text); }
.hn-ccard__list a:hover span { text-decoration: underline; text-decoration-color: rgba(255, 128, 0, .8); text-underline-offset: 3px; }
.hn-hours { margin: 0; display: grid; gap: 10px; }
.hn-hours div {
  display: flex; justify-content: space-between; gap: 12px;
  padding-bottom: 10px; border-bottom: 1px dashed var(--hn-line-strong);
}
.hn-hours dt { margin: 0; color: var(--hn-text); }
.hn-hours dd { margin: 0; font-weight: 700; color: var(--hn-ink); white-space: nowrap; }
.hn-ccard__note { margin: 4px 0 0; font-size: .9rem; color: var(--hn-muted); }
.hn-ccard__note a {
  color: var(--hn-ink); font-weight: 700;
  text-decoration: underline; text-decoration-color: rgba(255, 128, 0, .8); text-underline-offset: 3px;
}

/* ─── MOVIMIENTO ────────────────────────────────────────── */
@keyframes hnIn {
  from { opacity: 0; translate: 0 18px; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes hnPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(128, 255, 0, .28); }
  50%      { box-shadow: 0 0 0 8px rgba(128, 255, 0, .08); }
}
@keyframes hnFloat {
  0%, 100% { transform: rotate(var(--hn-tilt)) translateY(0); }
  50%      { transform: rotate(calc(var(--hn-tilt) - 1.5deg)) translateY(-6px); }
}

@media (prefers-reduced-motion: no-preference) {
  .hn-hero__copy > * { animation: hnIn .9s var(--hn-ease) both; }
  .hn-hero__copy > :nth-child(2) { animation-delay: .06s; }
  .hn-hero__copy > :nth-child(3) { animation-delay: .12s; }
  .hn-hero__copy > :nth-child(4) { animation-delay: .18s; }
  .hn-hero__copy > :nth-child(5) { animation-delay: .24s; }
  .hn-bento > * { animation: hnIn .9s var(--hn-ease) both; }
  .hn-bento > :nth-child(1) { animation-delay: .28s; }
  .hn-bento > :nth-child(2) { animation-delay: .34s; }
  .hn-bento > :nth-child(3) { animation-delay: .40s; }
  .hn-eyebrow__dot { animation: hnPulse 2.6s ease-in-out infinite; }
  .hn-carousel-wrap::before { animation: hnFloat 10s ease-in-out infinite; }

  /* Aparición al hacer scroll: solo si home-nuevo.js activó .hn-motion */
  .hn-motion [data-hn-reveal] { opacity: 0; }
  .hn-motion [data-hn-reveal].is-in { animation: hnIn .9s var(--hn-ease) both; animation-delay: var(--hn-delay, 0s); }
  .hn-products > :nth-child(2),
  .hn-pillars > :nth-child(2) { --hn-delay: .08s; }
  .hn-products > :nth-child(3),
  .hn-pillars > :nth-child(3) { --hn-delay: .16s; }
  .hn-notices > :nth-child(2) { --hn-delay: .06s; }
}

@media print {
  .hn-motion [data-hn-reveal] { opacity: 1 !important; animation: none !important; }
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1180px) {
  .hn-stats { grid-column: span 6; }
  .hn-quick { grid-column: span 6; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn-quick__item { min-height: 0; flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; padding: 14px 44px 14px 14px; }
  .hn-quick__go { top: 50%; margin-top: -9px; }
  .hn-quick__item:hover .hn-quick__go { transform: translate(2px, -2px); }
}

@media (max-width: 980px) {
  .hn-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hn-carousel-wrap { margin: 0 auto; width: 100%; max-width: 520px; }
  .hn-biz { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .hn-stats, .hn-quick { grid-column: 1 / -1; }
  .hn-feature { grid-template-columns: minmax(0, 1fr); }
  .hn-feature__media { display: grid; place-items: center; }
  .hn-feature__media img { max-width: 420px; }
  .hn-notice { grid-template-columns: minmax(0, 1fr); }
  .hn-notice__side { flex-direction: row; align-items: center; flex-wrap: wrap; column-gap: 14px; row-gap: 4px; }
  .hn-notice__date { flex-basis: 100%; }
  .hn-products, .hn-pillars { grid-template-columns: minmax(0, 1fr); }
  .hn-contact__cards { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .hn-eyebrow { font-size: .62rem; letter-spacing: .06em; padding: 7px 12px 7px 10px; }
  .hn-hero__word { font-size: clamp(3.4rem, 17vw, 4.6rem); }
  .hn-hero__actions .hn-btn { flex: 1 1 100%; }
  .hn-trust { gap: 10px 18px; }
  .hn-carousel-wrap { --hn-tilt: 2.5deg; }
  .hn-carousel-wrap::before { inset: 18px -8px -10px 18px; }
  .hn #efucerep.hero__card { padding: 10px; border-radius: var(--hn-r-lg); }
  .hn #efucerep .notice--image .noticeMedia { border-radius: calc(var(--hn-r-lg) - 10px); }
  .hn #efucerep .noticeCarousel__nav { gap: 2px; }
  .hn #efucerep .noticeCarousel__dot { width: 26px; }
  /* Avisos de texto más compactos: así su alto queda cerca del de las imágenes
     cuadradas y la tarjeta no deja espacio vacío */
  .hn #efucerep .notice:not(.notice--image) { padding: 10px 8px 4px; }
  .hn #efucerep .badge { gap: 12px; margin-bottom: 8px; }
  .hn #efucerep .ring { width: 44px; height: 44px; flex-basis: 44px; }
  .hn #efucerep .ring::after { inset: 7px; }
  .hn #efucerep .mini { margin-top: 6px; font-size: .86rem; }
  .hn #efucerep .sep { margin: 12px 0 10px; }
  .hn #efucerep .info { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; font-size: .86rem; }
  .hn #efucerep .info__col h2 { font-size: .72rem; }
  .hn #efucerep .newsHead { margin-bottom: 8px; }
  .hn #efucerep .newsList { gap: 8px; margin-top: 10px; }
  .hn #efucerep .newsItem { padding: 10px 12px; }
  .hn #efucerep .newsTitle { font-size: .9rem; }
  .hn #efucerep .newsText { font-size: .82rem; }
  .hn #efucerep .actions { gap: 8px; }
  .hn #efucerep .btn--small { padding: 9px 12px; font-size: .84rem; }
  .hn-stats { padding: 22px 4px; }
  .hn-stat { padding: 2px 6px; }
  .hn-stat span { font-size: .62rem; letter-spacing: .1em; }
  .hn-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hn-quick__item { flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px; font-size: .92rem; }
  .hn-quick__go { top: 16px; margin-top: 0; }
  .hn-tip { align-items: flex-start; }
  .hn-tip a { white-space: normal; }
  .hn-biz__list { grid-template-columns: minmax(0, 1fr); }
  .hn-biz__list li { flex-direction: row; align-items: center; padding: 14px 16px; }
  .hn-biz__cta { width: 100%; justify-content: space-between; }
  .hn-feature__actions .hn-btn { flex: 1 1 100%; }
  .hn-contact { padding: 28px 18px 18px; }
  .hn-ccard { padding: 20px 18px; }
  .hn-head { align-items: flex-start; }
}
