/* DII — sistema visual 2026 (alineado con el Catálogo Oficial) */

:root {
  --navy: #082255;
  --navy-900: #051634;
  --navy-700: #1c3261;
  --blue: #09428f;
  --royal: #2563eb;
  --royal-600: #1d4fd1;
  --sky: #93c5fd;
  --ink: #0b1630;
  --text: #24304d;
  --muted: #5d6987;
  --line: #e2e7f0;
  --surface: #f6f7fb;
  --white: #ffffff;
  --wa: #25d366;

  --f-display: 'Anton', 'Arial Narrow', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(80px, 11vw, 150px);
  --r: 4px;
  --hd: 76px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; }
.sec--navy :focus-visible, .ft :focus-visible, .fin-mask :focus-visible, .mnav :focus-visible, .phero :focus-visible, .sacc :focus-visible, .stile:focus-visible { outline-color: var(--sky); }
::selection { background: var(--royal); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografía ---------- */
.display, h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
  letter-spacing: .005em;
}
h1 { font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: .96; }
h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.04; }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.05; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 46ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--royal); margin: 0 0 18px;
}
.eyebrow--light { color: var(--sky); }
.idx { font-variant-numeric: tabular-nums; color: var(--muted); }

/* Revelado de texto por líneas */
.line { display: block; overflow: hidden; padding: .14em 0 .1em; margin: -.14em 0 -.1em; }
.line > span { display: inline-block; }

/* ---------- Botones ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 24px;
  font-size: 14px; font-weight: 700; letter-spacing: .02em;
  border-radius: var(--r); border: 1.5px solid transparent;
  white-space: nowrap;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .arr { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn--royal { background: var(--royal); color: #fff; }
.btn--royal::before { background: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy::before { background: var(--royal); }
.btn--line { border-color: var(--navy); color: var(--navy); }
.btn--line::before { background: var(--navy); }
.btn--line:hover { color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--navy); border-color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white::before { background: var(--sky); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 13px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px; color: var(--navy);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 4px;
  transition: background-size .5s var(--ease), color .3s;
}
.link-arrow:hover { background-size: 100% 1.5px; color: var(--royal); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar { height: 4px; background: var(--blue); position: relative; z-index: 60; }
.hd {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .5s var(--ease), border-color .3s;
}
.hd.is-scrolled { border-bottom-color: var(--line); }
.hd.is-hidden { transform: translateY(-100%); }
.hd__in { height: var(--hd); display: flex; align-items: center; gap: 32px; }
.hd__logo img { height: 40px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav a {
  position: relative; font-size: 14px; font-weight: 600; color: var(--text);
  padding: 6px 0; transition: color .3s;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--royal);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--navy); }
.hd__cta { display: flex; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy); transition: transform .45s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 45; background: var(--navy);
  padding: calc(var(--hd) + 40px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-in-out);
  visibility: hidden;
}
.menu-open .mnav { clip-path: inset(0 0 0 0); visibility: visible; }
.mnav ul { list-style: none; margin: 0; padding: 0; }
.mnav li { overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.1); }
.mnav li a {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--f-display); text-transform: uppercase; color: #fff;
  font-size: clamp(2rem, 9vw, 3rem); line-height: 1.25; padding: 6px 0;
  transform: translateY(100%); transition: transform .7s var(--ease);
}
.mnav li a small { font-family: var(--f-body); font-size: 12px; color: var(--sky); letter-spacing: .15em; }
.menu-open .mnav li a { transform: none; }
.menu-open .mnav li:nth-child(2) a { transition-delay: .05s; }
.menu-open .mnav li:nth-child(3) a { transition-delay: .1s; }
.menu-open .mnav li:nth-child(4) a { transition-delay: .15s; }
.menu-open .mnav li:nth-child(5) a { transition-delay: .2s; }
.menu-open .mnav li:nth-child(6) a { transition-delay: .25s; }
.menu-open .mnav li:nth-child(7) a { transition-delay: .3s; }
.mnav__foot { color: rgba(255,255,255,.7); font-size: 14px; display: grid; gap: 6px; }
.mnav__foot a { color: #fff; font-weight: 600; }
.menu-open .hd { background: transparent; backdrop-filter: none; border-color: transparent; }
.menu-open .hd__logo img { filter: brightness(0) invert(1); }
.menu-open .burger span { background: #fff; }
body.menu-open { overflow: hidden; }

@media (max-width: 1060px) {
  .nav, .hd__cta { display: none; }
  .burger { display: block; }
}

/* ---------- Secciones ---------- */
.sec { padding: var(--sec) 0; position: relative; }
.sec--surface { background: var(--surface); }
.sec--navy { background: var(--navy); color: rgba(255,255,255,.78); }
.sec--navy h2, .sec--navy h3 { color: #fff; }
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px);
}
.sec-head .lead { justify-self: end; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } .sec-head .lead { justify-self: start; } }

.rule { height: 1px; background: var(--line); transform-origin: left; }
.sec--navy .rule { background: rgba(255,255,255,.14); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { padding-bottom: 24px; }
.hero__chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: #fff; border-radius: var(--r);
  padding: 7px 12px 7px 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 28px; transition: background .3s;
}
.hero__chip b { background: var(--royal); padding: 3px 7px; border-radius: 2px; letter-spacing: .1em; }
.hero__chip:hover { background: var(--royal); }
.hero__chip:hover b { background: var(--navy); }
.hero h1 { margin-bottom: 28px; }
.hero h1 .accent { color: var(--royal); }
.hero .lead { margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: flex; gap: 32px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__facts div { display: grid; }
.hero__facts strong { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; color: var(--navy); line-height: 1.1; }
.hero__facts span { font-size: 13px; color: var(--muted); }

.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; height: clamp(380px, 46vw, 600px); }
.mosaic__t { position: relative; overflow: hidden; border-radius: var(--r); background: var(--surface); }
.mosaic__t img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.mosaic__t:hover img { transform: scale(1.04); }
.is-loaded .mosaic__t img { transform: scale(1); }
.mosaic__t--big { grid-row: span 2; }
.mosaic__t--royal {
  background: var(--royal); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
}
.mosaic__t--royal strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 6vw, 5rem); line-height: .9; }
.mosaic__t--royal span { font-size: 14px; font-weight: 600; line-height: 1.3; max-width: 14ch; margin-top: 8px; }
.mosaic__t figcaption {
  position: absolute; left: 10px; bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(8,34,85,.82); color: #fff; padding: 5px 8px; border-radius: 2px;
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease);
}
.mosaic__t:hover figcaption { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .mosaic { height: auto; grid-template-rows: repeat(2, 170px); }
}
@media (max-width: 560px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 140px); }
  .mosaic__t--big { grid-row: span 1; }
  .hero__facts { gap: 20px; flex-wrap: wrap; }
}

/* ---------- Marquesina ---------- */
.ticker { background: var(--navy); color: #fff; overflow: hidden; margin-top: clamp(48px, 7vw, 88px); }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: flex; align-items: center; gap: 28px; padding: 22px 14px 22px 28px;
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: .04em; white-space: nowrap;
}
.ticker__item::after { content: ''; width: 8px; height: 8px; background: var(--royal); transform: rotate(45deg); }
.ticker__item:nth-child(3n+2) { color: var(--sky); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Quiénes somos ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); }
.about__statement { font-family: var(--f-display); text-transform: uppercase; color: var(--navy); font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.02; }
.about__statement em { font-style: normal; color: var(--royal); }
.about__body { display: grid; gap: 28px; align-content: start; }
.about__body > p { color: var(--muted); font-size: 17px; }
.defs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.defs div { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.defs div:nth-child(odd) { border-right: 1px solid var(--line); }
.defs div:nth-child(even) { padding-left: 22px; }
.defs b { display: block; color: var(--navy); font-size: 15px; margin-bottom: 4px; }
.defs span { font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .defs { grid-template-columns: 1fr; } .defs div:nth-child(odd) { border-right: 0; } .defs div:nth-child(even) { padding-left: 0; } }

/* ---------- Sectores ---------- */
.sector {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line);
}
.sector:last-child { border-bottom: 1px solid var(--line); }
.sector--flip .sector__media { order: -1; }
.sector__num {
  font-family: var(--f-display); font-size: clamp(5rem, 11vw, 9rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px var(--royal); display: block; margin-bottom: 18px;
}
.sector h3 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: .95; margin-bottom: 18px; }
.sector__desc { color: var(--muted); max-width: 44ch; margin-bottom: 26px; }
.sector__list { list-style: none; padding: 0; margin: 0 0 30px; columns: 2; column-gap: 28px; }
.sector__list li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.sector__list a {
  display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 14px; font-weight: 500; color: var(--text);
  transition: color .25s, padding .4s var(--ease);
}
.sector__list a span { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.sector__list a:hover { color: var(--royal); padding-left: 6px; }
.sector__media { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; border-radius: var(--r); }
.sector__media img { width: 100%; height: 118%; object-fit: cover; }
.sector__tag {
  position: absolute; top: 16px; left: 16px; background: #fff; color: var(--navy);
  font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; border-radius: 2px;
}
@media (max-width: 860px) {
  .sector { grid-template-columns: 1fr; }
  .sector--flip .sector__media { order: 0; }
}
@media (max-width: 480px) { .sector__list { columns: 1; } }

/* ---------- Carrusel de productos ---------- */
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.rail-ctrl { display: flex; gap: 8px; }
.rail-ctrl button {
  width: 52px; height: 52px; border: 1.5px solid var(--navy); border-radius: var(--r); color: var(--navy);
  display: grid; place-items: center; transition: background .3s, color .3s, opacity .3s;
}
.rail-ctrl button:hover { background: var(--navy); color: #fff; }
.rail-ctrl button:disabled { opacity: .3; pointer-events: none; }
.rail-ctrl svg { width: 20px; height: 20px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 26vw, 320px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--gutter) 8px; margin: 0 calc(-1 * var(--gutter));
  scroll-padding: 0 var(--gutter); cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging a { pointer-events: none; }
@media (min-width: 1320px) { .rail { padding-left: calc((100vw - var(--wrap)) / 2 + var(--gutter)); margin-left: calc((var(--wrap) - 100vw) / 2 - var(--gutter)); } }
.pcard { scroll-snap-align: start; display: block; color: var(--text); }
.pcard__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--surface); margin-bottom: 16px; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); -webkit-user-drag: none; }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__sec { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--royal); }
.pcard__name {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  font-family: var(--f-display); text-transform: uppercase; color: var(--navy); font-size: 1.35rem; line-height: 1.1; margin-top: 6px;
}
.pcard__name svg { width: 18px; height: 18px; flex: none; color: var(--royal); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .45s var(--ease); }
.pcard:hover .pcard__name svg { opacity: 1; transform: none; }
.rail-progress { height: 2px; background: var(--line); margin-top: 28px; position: relative; overflow: hidden; }
.rail-progress i { position: absolute; inset: 0 auto 0 0; width: 20%; background: var(--navy); transition: transform .2s linear; }

/* ---------- Ventajas ---------- */
.adv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.adv__item {
  display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px;
  background: var(--surface); border-radius: var(--r); padding: 26px 28px;
  position: relative; overflow: hidden;
}
.adv__item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--royal); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.adv__item:hover::before { transform: scaleY(1); transform-origin: top; }
.sec--surface .adv__item, .sec--surface .custom-grid div:not(.is-royal) { background: #fff; }
.adv__n { grid-row: span 2; font-family: var(--f-display); font-size: 2rem; line-height: 1; color: var(--royal); }
.adv__item b { color: var(--navy); font-size: 17px; }
.adv__item p { font-size: 15px; color: var(--muted); line-height: 1.55; }
@media (max-width: 760px) { .adv { grid-template-columns: 1fr; } }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--navy); color: rgba(255,255,255,.75); border-radius: var(--r);
  margin-top: 12px; overflow: hidden;
}
.stats > div { padding: clamp(24px, 3vw, 40px); border-right: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.stats > div:nth-child(3n) { border-right: 0; }
.stats > div:nth-child(n+4) { border-bottom: 0; }
.stats strong { display: block; font-family: var(--f-display); font-weight: 400; color: #fff; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stats strong.sky { color: var(--sky); }
.stats span { font-size: 14px; }
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.1); }
  .stats > div:nth-child(2n) { border-right: 0; }
  .stats > div:nth-child(n+4) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .stats > div:nth-child(n+5) { border-bottom: 0; }
}

/* ---------- Catálogo oficial ---------- */
.catalog { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.catalog__cover { perspective: 1400px; position: relative; }
.catalog__book {
  position: relative; transform: rotateY(-14deg) rotateX(4deg); transform-style: preserve-3d;
  transition: transform 1s var(--ease); border-radius: 2px 6px 6px 2px;
  box-shadow: 30px 40px 60px -20px rgba(5,22,52,.55), 0 2px 0 rgba(0,0,0,.05);
}
.catalog__book::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 14px; background: linear-gradient(90deg, rgba(0,0,0,.18), transparent); border-radius: 2px 0 0 2px; }
.catalog__cover:hover .catalog__book { transform: rotateY(-4deg) rotateX(1deg) translateY(-6px); }
.catalog__book img { border-radius: 2px 6px 6px 2px; }
.catalog__badge {
  position: absolute; right: -10px; top: 8%; background: var(--royal); color: #fff; padding: 14px 16px;
  font-family: var(--f-display); text-transform: uppercase; font-size: 1.1rem; line-height: 1.05; border-radius: var(--r);
  box-shadow: 0 10px 30px -10px rgba(37,99,235,.7);
}
.catalog__badge small { display: block; font-family: var(--f-body); font-size: 11px; font-weight: 600; letter-spacing: .1em; opacity: .85; }
.sec--navy .catalog h2 { margin-bottom: 20px; }
.catalog__meta { display: flex; flex-wrap: wrap; gap: 0; margin: 32px 0 36px; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.catalog__meta div { flex: 1 1 110px; padding: 18px 18px 18px 0; }
.catalog__meta div + div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.14); }
.catalog__meta strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 2rem; color: #fff; line-height: 1.1; }
.catalog__meta span { font-size: 13px; }
.catalog__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .catalog { grid-template-columns: 1fr; } .catalog__cover { max-width: 380px; } }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.step { position: relative; padding-top: 28px; }
.step::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--navy); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 1.1s var(--ease); }
.step.is-in::before { --p: 1; }
.step__n { font-family: var(--f-display); font-size: 3.4rem; line-height: 1; color: var(--royal); margin-bottom: 14px; display: block; }
.step b { display: block; color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.custom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: clamp(48px, 6vw, 72px); }
.custom-grid div { background: var(--surface); border-radius: var(--r); padding: 22px 24px; }
.custom-grid b { display: block; color: var(--navy); margin-bottom: 4px; }
.custom-grid span { font-size: 14px; color: var(--muted); }
.custom-grid .is-royal { background: var(--royal); }
.custom-grid .is-royal b, .custom-grid .is-royal span { color: #fff; }
@media (max-width: 860px) { .steps, .custom-grid { grid-template-columns: 1fr; } }

/* ---------- Contacto (contraportada) ---------- */
.contact-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 48px; }
.contact-top h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .92; }
.ccards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ccard {
  display: block; background: var(--navy-700); border-top: 3px solid var(--royal); border-radius: 0 0 var(--r) var(--r);
  padding: 20px 22px 22px; color: #fff; transition: background .35s, transform .5s var(--ease);
}
a.ccard:hover { background: var(--royal); transform: translateY(-4px); }
.ccard small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); margin-bottom: 8px; }
a.ccard:hover small { color: #fff; }
.ccard strong { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 700; letter-spacing: -.005em; }
.ccard--white { background: #fff; color: var(--navy); }
.ccard--white small { color: var(--royal); }
@media (max-width: 960px) { .ccards { grid-template-columns: repeat(2, 1fr); } .contact-top { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ccards { grid-template-columns: 1fr; } }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: clamp(56px, 7vw, 90px); }
.strip div { aspect-ratio: 1; overflow: hidden; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.strip div:hover img { transform: scale(1.06); }

/* ---------- Encabezado de página interior ---------- */
.phero { position: relative; background: var(--navy); color: rgba(255,255,255,.8); overflow: hidden; padding: clamp(72px, 10vw, 130px) 0 clamp(56px, 7vw, 90px); }
.phero__bg { position: absolute; inset: 0; }
.phero__bg img { width: 100%; height: 115%; object-fit: cover; opacity: .28; }
.phero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 20%, rgba(8,34,85,.55)); }
.phero .wrap { position: relative; }
.phero h1 { color: #fff; font-size: clamp(2.8rem, 7vw, 6rem); margin-bottom: 20px; }
.phero .lead { color: rgba(255,255,255,.75); }
.crumbs { display: flex; gap: 8px; font-size: 13px; margin-bottom: 26px; color: rgba(255,255,255,.6); }
.crumbs a:hover { color: #fff; }

/* ---------- Página catálogo ---------- */
.toc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.toc__col h3 { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 3px solid var(--navy); margin-bottom: 4px; font-size: 1.5rem; }
.toc__col h3 span { color: var(--royal); }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; transition: color .25s, padding .4s var(--ease); }
.toc a span { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }
.toc a:hover { color: var(--royal); padding-left: 6px; }
@media (max-width: 860px) { .toc { grid-template-columns: 1fr; } }

.pages { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 22vw, 270px); gap: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.pages::-webkit-scrollbar { display: none; }
.pages a { scroll-snap-align: start; display: block; }
.pages figure { margin: 0; }
.pages img { border-radius: 2px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -22px rgba(8,34,85,.45); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.pages a:hover img { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 28px 50px -22px rgba(8,34,85,.55); }
.pages figcaption { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding-top: 12px; }
.pages figcaption b { color: var(--navy); font-weight: 700; }

/* ---------- Footer ---------- */
.ft { background: var(--navy-900); color: rgba(255,255,255,.66); padding: clamp(64px, 8vw, 100px) 0 0; font-size: 14px; }
.ft__top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; }
.ft__logo img { height: 46px; width: auto; margin-bottom: 20px; }
.ft__brand p { max-width: 30ch; margin-bottom: 22px; }
.ft h4 { font-family: var(--f-body); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--sky); margin: 0 0 16px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft a { transition: color .25s; }
.ft a:hover { color: #fff; }
.ft__social { display: flex; gap: 8px; }
.ft__social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--r); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.ft__social a:hover { background: var(--royal); border-color: var(--royal); }
.ft__social svg { width: 18px; height: 18px; }
.ft__big {
  font-family: var(--f-display); text-transform: uppercase; color: rgba(255,255,255,.06);
  font-size: clamp(1.2rem, 6vw, 5.3rem); line-height: 1.1; white-space: nowrap; letter-spacing: .01em;
  user-select: none; margin: 0; padding-top: .04em; overflow: hidden;
}
.ft__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; letter-spacing: .04em; }
.ft__bottom b { color: var(--sky); font-weight: 700; letter-spacing: .2em; }
@media (max-width: 860px) { .ft__top { grid-template-columns: 1fr 1fr; } .ft__brand { grid-column: 1 / -1; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: flex; align-items: center; gap: 0; height: 54px; padding: 0 15px;
  background: var(--wa); color: #fff; border-radius: var(--r);
  box-shadow: 0 10px 24px -10px rgba(5,22,52,.5);
  font-weight: 700; font-size: 14px; overflow: hidden;
  transition: gap .45s var(--ease), transform .4s var(--ease);
}
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease); }
.wa-float:hover { gap: 10px; transform: translateY(-2px); }
.wa-float:hover span { max-width: 160px; }

/* ---------- Animaciones de entrada ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-in-out); transition-delay: var(--d, 0s); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"] img { transform: scale(1.15); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="clip"].is-in img { transform: scale(1); }
.js [data-reveal="lines"] { opacity: 1; transform: none; }
.js [data-reveal="lines"] .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js [data-reveal="lines"] .line:nth-child(2) > span { transition-delay: .08s; }
.js [data-reveal="lines"] .line:nth-child(3) > span { transition-delay: .16s; }
.js [data-reveal="lines"] .line:nth-child(4) > span { transition-delay: .24s; }
.js [data-reveal="lines"].is-in .line > span { transform: none; }
.js [data-reveal="rule"] { opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-in-out); }
.js [data-reveal="rule"].is-in { transform: scaleX(1); }

.js .mosaic__t { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-in-out); transition-delay: var(--d, 0s); }
.js.is-loaded .mosaic__t { clip-path: inset(0 0 0 0); }

/* Parallax ligado al scroll (navegadores compatibles) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .plx img { animation: plx linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes plx { from { transform: translateY(-8%); } to { transform: translateY(0%); } }
    .js [data-reveal="clip"].plx img { transition: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .ticker__track { animation: none; }
}

/* ==========================================================================
   Páginas interiores
   ========================================================================== */

/* ---------- Bloques de texto ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.split--wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
@media (max-width: 860px) { .split, .split--wide { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 18px; color: var(--muted); font-size: 17px; }
.prose strong { color: var(--navy); }

/* Misión / visión */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mv__card { border-radius: var(--r); padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; }
.mv__card h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 16px; }
.mv__card p { font-size: 16px; line-height: 1.65; }
.mv__card--navy { background: var(--navy); color: rgba(255,255,255,.82); }
.mv__card--navy h3 { color: #fff; }
.mv__card--surface { background: var(--surface); color: var(--muted); }
.mv__card::after { content: attr(data-n); position: absolute; right: 20px; bottom: -.18em; font-family: var(--f-display); font-size: 9rem; line-height: 1; opacity: .07; color: currentColor; }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--surface); color: var(--navy); font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: var(--r); }
.sec--surface .chips span { background: #fff; }
.values { display: grid; grid-template-columns: auto 1fr; gap: 20px 32px; align-items: center; margin-top: 12px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values > b { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; color: var(--navy); font-size: 1.5rem; }
@media (max-width: 640px) { .values { grid-template-columns: 1fr; } }

/* Lista numerada en columnas */
.nlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.nlist > div { border-top: 1px solid var(--line); padding-top: 22px; }
.nlist span { display: block; font-family: var(--f-display); color: var(--royal); font-size: 1.1rem; margin-bottom: 14px; }
.nlist b { display: block; color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.nlist p { color: var(--muted); font-size: 15px; }
.sec--navy .nlist > div { border-color: rgba(255,255,255,.14); }
.sec--navy .nlist b { color: #fff; }
.sec--navy .nlist p { color: rgba(255,255,255,.7); }
.sec--navy .nlist span { color: var(--sky); }
@media (max-width: 860px) { .nlist { grid-template-columns: 1fr; } }

/* Franja de cierre */
.closing { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.closing h2 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 16ch; }
.closing p { color: rgba(255,255,255,.75); max-width: 44ch; margin-top: 16px; }
.closing__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Filtros ---------- */
.filters { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; padding: 16px 16px 18px; font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap;
  transition: color .25s;
}
.tab sup { font-size: 11px; font-weight: 700; color: var(--royal); margin-left: 4px; }
.tab::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: var(--navy); transform: scaleX(0); transition: transform .45s var(--ease); }
.tab:hover { color: var(--navy); }
.tab.is-active { color: var(--navy); }
.tab.is-active::after { transform: scaleX(1); }
.search { position: relative; flex: 0 1 300px; margin-bottom: 8px; }
.search input {
  width: 100%; height: 46px; border: 1.5px solid var(--line); border-radius: var(--r); padding: 0 14px 0 42px;
  font: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .25s;
}
.search input:focus { outline: none; border-color: var(--royal); }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
@media (max-width: 700px) { .search { flex-basis: 100%; } }

/* ---------- Rejilla de productos ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } }
.pgrid .pcard__img { aspect-ratio: 4 / 3.4; }
.pgrid .pcard__name { font-size: 1.2rem; }
.pgrid .pcard.is-hidden { display: none; }
.pgrid .pcard.is-entering { animation: cardIn .6s var(--ease) both; animation-delay: var(--i, 0s); }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }
.pcard__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pcard__meta small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.empty { padding: 60px 0; text-align: center; color: var(--muted); display: none; }
.empty.is-on { display: block; }

/* ---------- Ficha de producto ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.pd__media { position: sticky; top: calc(var(--hd) + 24px); }
.pd__img { aspect-ratio: 4 / 3.4; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.pd__img img { width: 100%; height: 100%; object-fit: cover; }
.pd__badges { display: flex; gap: 8px; margin-top: 12px; }
.pd__badges span { font-size: 12px; font-weight: 700; padding: 7px 10px; border-radius: 2px; background: var(--surface); color: var(--navy); }
.pd__info h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; margin-bottom: 22px; }
.pd__desc { font-size: 17px; color: var(--muted); line-height: 1.65; margin-bottom: 32px; }
.pd__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.pd__block { margin-bottom: 12px; border-radius: var(--r); padding: 26px 28px; }
.pd__block h2 { font-family: var(--f-body); font-size: 11px; font-weight: 800; letter-spacing: .18em; color: var(--royal); margin-bottom: 14px; }
.pd__block ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pd__block li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; line-height: 1.45; }
.pd__block li::before { content: ''; width: 8px; height: 8px; margin-top: 7px; background: var(--royal); }
.pd__block--surface { background: var(--surface); color: var(--text); }
.pd__block--navy { background: var(--navy); color: rgba(255,255,255,.85); }
.pd__block--navy h2 { color: var(--sky); }
.pd__block--navy li::before { background: var(--sky); }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; } .pd__media { position: static; } }
.crumbs--dark { color: var(--muted); margin-bottom: 32px; flex-wrap: wrap; }
.crumbs--dark a:hover { color: var(--royal); }
.crumbs--dark [aria-current] { color: var(--navy); font-weight: 600; }

/* ---------- Formularios ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--r); padding: 13px 14px; transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23082255' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.field .error, .field input.error, .field select.error, .field textarea.error { border-color: #dc2626; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-note, .form-status { font-size: 13px; color: var(--muted); max-width: 52ch; }
.form-status:empty { display: none; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 44px); }
.sec--surface .form-card { border-color: transparent; }
.checks { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; color: var(--navy); font-weight: 600; font-size: 15px; }
.checks li::before { content: ''; width: 20px; height: 20px; flex: none; border-radius: 2px; background: var(--royal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Datos de contacto */
.clist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.clist a, .clist div { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.clist small { grid-column: 1 / -1; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--royal); }
.clist strong { font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--navy); letter-spacing: -.01em; }
.clist em { font-style: normal; font-size: 13px; color: var(--muted); align-self: center; }
.clist a svg { width: 20px; height: 20px; color: var(--navy); align-self: center; transition: transform .45s var(--ease); }
.clist a:hover svg { transform: translateX(4px); }
.clist a:hover strong { color: var(--royal); }

/* ---------- Blog ---------- */
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
@media (max-width: 960px) { .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .bgrid { grid-template-columns: 1fr; } }
.bcard { display: grid; gap: 14px; align-content: start; }
.bcard.is-hidden { display: none; }
.bcard__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); background: var(--surface); }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bcard:hover .bcard__img img { transform: scale(1.05); }
.bcard__meta { display: flex; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bcard__meta b { color: var(--royal); }
.bcard h2 { font-size: 1.55rem; line-height: 1.05; }
.bcard p { color: var(--muted); font-size: 15px; }
.bcard__soon { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Estado vacío ---------- */
.empty-state { border: 1.5px dashed var(--line); border-radius: var(--r); padding: clamp(40px, 7vw, 90px) clamp(24px, 5vw, 60px); display: grid; justify-items: start; gap: 18px; }
.empty-state h2 { font-size: clamp(2rem, 4vw, 3rem); }
.empty-state p { color: var(--muted); max-width: 50ch; }
.sec--surface .mv__card--surface { background: #fff; }
@media (max-width: 760px) { .pcard__meta small { display: none; } .pcard__sec { letter-spacing: .1em; } }

/* ---------- Textura de la portada ---------- */
:root {
  --weave-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cg fill='%23082255'%3E%3Crect x='1' y='2' width='9' height='3' rx='.5'/%3E%3Crect x='1' y='6.5' width='9' height='3' rx='.5'/%3E%3Crect x='13' y='1' width='3' height='9' rx='.5'/%3E%3Crect x='17.5' y='1' width='3' height='9' rx='.5'/%3E%3Crect x='2' y='12' width='3' height='9' rx='.5'/%3E%3Crect x='6.5' y='12' width='3' height='9' rx='.5'/%3E%3Crect x='12' y='13' width='9' height='3' rx='.5'/%3E%3Crect x='12' y='17.5' width='9' height='3' rx='.5'/%3E%3C/g%3E%3C/svg%3E");
  --weave-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cg fill='%23ffffff' fill-opacity='.07'%3E%3Crect x='1' y='2' width='9' height='3' rx='.5'/%3E%3Crect x='1' y='6.5' width='9' height='3' rx='.5'/%3E%3Crect x='13' y='1' width='3' height='9' rx='.5'/%3E%3Crect x='17.5' y='1' width='3' height='9' rx='.5'/%3E%3Crect x='2' y='12' width='3' height='9' rx='.5'/%3E%3Crect x='6.5' y='12' width='3' height='9' rx='.5'/%3E%3Crect x='12' y='13' width='9' height='3' rx='.5'/%3E%3Crect x='12' y='17.5' width='9' height='3' rx='.5'/%3E%3C/g%3E%3C/svg%3E");
}
.hero { position: relative; isolation: isolate; background: linear-gradient(180deg, #fff 0%, var(--surface) 100%); }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--weave-navy); background-size: 22px 22px; opacity: .07;
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 78% 42%, #000 0%, rgba(0,0,0,.55) 45%, transparent 80%);
          mask-image: radial-gradient(ellipse 60% 75% at 78% 42%, #000 0%, rgba(0,0,0,.55) 45%, transparent 80%);
}
.mosaic { position: relative; isolation: isolate; }
.mosaic::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  top: 14%; bottom: -10%; left: 38%; right: calc(-1 * (100vw - 100%));
  background: var(--weave-white) 0 0 / 22px 22px, var(--navy);
  border-radius: var(--r) 0 0 var(--r);
}
.js .mosaic::before { transform: scaleX(0); transform-origin: right; transition: transform 1.3s var(--ease-in-out) .1s; }
.js.is-loaded .mosaic::before { transform: none; }
@media (max-width: 960px) {
  .mosaic::before { top: 20%; bottom: -24px; left: 30%; }
}

/* ==========================================================================
   Más fotografía (v2)
   ========================================================================== */

/* Encabezados de página: foto visible, azul solo detrás del texto */
.phero { min-height: clamp(460px, 64vh, 660px); display: flex; align-items: flex-end; }
.phero .wrap { width: 100%; }
.phero__bg img { opacity: 1; }
.phero__bg::after {
  background:
    linear-gradient(90deg, rgba(8,34,85,.94) 0%, rgba(8,34,85,.8) 32%, rgba(8,34,85,.38) 64%, rgba(8,34,85,.08) 100%),
    linear-gradient(0deg, rgba(5,22,52,.5) 0%, transparent 40%);
}
@media (max-width: 760px) {
  .phero__bg::after { background: linear-gradient(0deg, rgba(8,34,85,.95) 10%, rgba(8,34,85,.6) 60%, rgba(8,34,85,.35) 100%); }
}

/* Foto al lado del texto */
.media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--surface); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 4.6; }
.media--wide { aspect-ratio: 16 / 10; }
.media__tag {
  position: absolute; left: 16px; bottom: 16px; background: #fff; color: var(--navy);
  font-size: 12px; font-weight: 700; padding: 8px 12px; border-radius: 2px; max-width: calc(100% - 32px);
}
.media__tag b { color: var(--royal); }

/* Franja de foto entre secciones */
.band { position: relative; height: clamp(280px, 42vw, 560px); overflow: hidden; }
.band img { width: 100%; height: 120%; object-fit: cover; }
.band__label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) clamp(24px, 4vw, 48px);
  background: linear-gradient(0deg, rgba(5,22,52,.7), transparent);
  color: #fff; padding-top: 120px;
}
.band__label .wrap { padding: 0; }
.band__label p { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 2.8rem); line-height: 1.04; max-width: 30ch; }

/* Cierre con foto de fondo */
.closing-photo { position: relative; overflow: hidden; isolation: isolate; }
.closing-photo__bg { position: absolute; inset: 0; z-index: -1; }
.closing-photo__bg img { width: 100%; height: 120%; object-fit: cover; }
.closing-photo__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,34,85,.95) 0%, rgba(8,34,85,.82) 45%, rgba(8,34,85,.55) 100%); }
.closing-photo .strip { margin-top: clamp(64px, 8vw, 110px); }

/* Tarjetas de sector con foto */
.sector-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stile { position: relative; display: block; aspect-ratio: 4 / 3.2; overflow: hidden; border-radius: var(--r); color: #fff; }
.stile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.stile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,22,52,.85) 0%, rgba(5,22,52,.1) 60%); transition: background .4s; }
.stile:hover img { transform: scale(1.06); }
.stile:hover::after { background: linear-gradient(0deg, rgba(37,99,235,.85) 0%, rgba(37,99,235,.15) 65%); }
.stile__txt { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.stile__txt > span > span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); display: block; margin-bottom: 6px; }
.stile:hover .stile__txt > span > span { color: #fff; }
.stile__txt b { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; }
.stile__txt svg { width: 22px; height: 22px; flex: none; transition: transform .45s var(--ease); }
.stile:hover .stile__txt svg { transform: translateX(4px); }
@media (max-width: 760px) { .sector-tiles { grid-template-columns: 1fr; } .stile { aspect-ratio: 16 / 9; } }

/* Pasos con foto */
.step__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); margin-bottom: 22px; }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.step:hover .step__img img { transform: scale(1.05); }
.steps--img .step { padding-top: 0; }
.steps--img .step::before { top: auto; bottom: -18px; }

/* Índice del catálogo con foto por sector */
.toc__img { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); margin-bottom: 18px; }
.toc__img img { width: 100%; height: 100%; object-fit: cover; }
.media.plx img, .toc__img img { height: 116%; }

/* ==========================================================================
   Finales de página (cada página cierra distinto)
   ========================================================================== */
.fin { position: relative; overflow: hidden; }

/* Inicio: palabra con foto dentro */
.fin-mask { background: var(--navy-900); color: rgba(255,255,255,.75); padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 110px); }
.fin-mask__word {
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(3rem, 22vw, 17.5rem); line-height: .86;
  margin: 0 0 clamp(28px, 4vw, 52px); letter-spacing: -.005em; white-space: nowrap;
  background-size: cover; background-position: 0% 40%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.28);
  animation: maskPan 16s ease-in-out infinite alternate;
}
@keyframes maskPan { to { background-position: 100% 65%; } }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .fin-mask__word { color: #fff; } }
.fin-mask__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 44px; }
.fin-mask__row p { font-size: 17px; max-width: 46ch; }
.fin-mask__row .eyebrow { margin-bottom: 0; }
@media (max-width: 760px) { .fin-mask__row { grid-template-columns: 1fr; } }

/* Nosotros: manifiesto */
.fin-manifesto { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.fin-manifesto blockquote { margin: 0 0 32px; position: relative; font-family: var(--f-display); text-transform: uppercase; color: var(--navy); font-size: clamp(2.3rem, 4.8vw, 4.2rem); line-height: 1.04; }
.fin-manifesto blockquote { padding-top: .62em; }
.fin-manifesto blockquote::before { content: '“'; position: absolute; top: -.08em; left: -.03em; color: var(--royal); font-size: 2em; line-height: 1; }
.fin-manifesto blockquote em { font-style: normal; color: var(--royal); }
.fin-manifesto cite { display: flex; align-items: center; gap: 12px; font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 36px; }
.fin-manifesto cite::before { content: ''; width: 40px; height: 2px; background: var(--royal); }
.fin-manifesto__img { position: relative; }
.fin-manifesto__img::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; background: var(--royal); border-radius: var(--r); }
.fin-manifesto__img .media { position: relative; }
@media (max-width: 860px) { .fin-manifesto { grid-template-columns: 1fr; } .fin-manifesto__img { margin-right: 22px; } }

/* Productos: paneles de sector que se expanden */
.sacc { display: flex; gap: 8px; height: clamp(440px, 60vh, 580px); }
.sacc__p { position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: var(--r); color: #fff; transition: flex .9s var(--ease); outline: none; }
.sacc__p > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease); }
.sacc__p::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,22,52,.92) 0%, rgba(5,22,52,.35) 55%, rgba(5,22,52,.15) 100%); transition: background .6s; }
.sacc__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 36px); }
.sacc__n { font-family: var(--f-display); font-size: 1.1rem; color: var(--sky); white-space: nowrap; }
.sacc__body h3 { color: #fff; font-size: clamp(1.5rem, 2.3vw, 2.6rem); margin: 6px 0 0; white-space: nowrap; }
.sacc__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .8s var(--ease), opacity .5s; }
.sacc__more > div { overflow: hidden; }
.sacc__more p { font-size: 15px; color: rgba(255,255,255,.8); margin: 14px 0 16px; max-width: 42ch; }
.sacc__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.sacc__tags span { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 2px; background: rgba(255,255,255,.14); }
.sacc__p.is-open, .sacc:hover .sacc__p:hover, .sacc__p:focus-within { flex: 2.7; }
.sacc:hover .sacc__p.is-open:not(:hover), .sacc:focus-within .sacc__p.is-open:not(:focus-within) { flex: 1; }
.sacc__p.is-open .sacc__more, .sacc:hover .sacc__p:hover .sacc__more, .sacc__p:focus-within .sacc__more { grid-template-rows: 1fr; opacity: 1; }
.sacc:hover .sacc__p.is-open:not(:hover) .sacc__more, .sacc:focus-within .sacc__p.is-open:not(:focus-within) .sacc__more { grid-template-rows: 0fr; opacity: 0; }
.sacc__p.is-open > img, .sacc__p:hover > img { transform: scale(1); }
@media (max-width: 860px) {
  .sacc { flex-direction: column; height: auto; }
  .sacc__p { flex: none !important; height: auto; min-height: 340px; display: flex; align-items: flex-end; }
  .sacc__body { position: relative; padding-top: 150px; }
  .sacc__more { grid-template-rows: 1fr !important; opacity: 1 !important; }
  .sacc__body h3 { white-space: normal; }
}

/* Ficha: cotización rápida */
.qq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.qq h2 { color: #fff; }
.qq__lead { color: rgba(255,255,255,.75); margin-top: 20px; max-width: 40ch; }
.qq__form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; background: var(--navy-700); padding: clamp(20px, 3vw, 32px); border-radius: var(--r); border-top: 3px solid var(--royal); }
.qq__form label { display: grid; gap: 8px; min-width: 0; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.qq__form input { width: 100%; min-width: 0; font: inherit; font-size: 15px; color: #fff; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.16); border-radius: var(--r); padding: 13px 14px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.qq__form input::placeholder { color: rgba(255,255,255,.62); }
.qq__form input:focus { outline: none; border-color: var(--sky); }
.qq__form .btn { grid-column: 1 / -1; justify-content: center; }
.qq__form small { grid-column: 1 / -1; font-size: 12px; color: rgba(255,255,255,.55); text-transform: none; letter-spacing: 0; font-weight: 500; }
@media (max-width: 860px) { .qq { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .qq__form { grid-template-columns: 1fr; } }

/* Catálogo: páginas en abanico */
.fin-fan { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.fan { position: relative; height: clamp(360px, 44vw, 540px); }
.fan img { position: absolute; top: 4%; left: 30%; width: 40%; border-radius: 2px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); transition: transform 1.2s var(--ease); transform-origin: 50% 110%; }
.fan img:nth-child(2) { z-index: 2; }
.fan.is-in img:nth-child(1) { transform: rotate(-12deg) translateX(-34%); }
.fan.is-in img:nth-child(3) { transform: rotate(12deg) translateX(34%); }
.fan.is-in img:nth-child(2) { transform: translateY(-4%); }
.fan:hover img:nth-child(1) { transform: rotate(-16deg) translateX(-46%); }
.fan:hover img:nth-child(3) { transform: rotate(16deg) translateX(46%); }
.fan:hover img:nth-child(2) { transform: translateY(-8%) scale(1.03); }
.fin-fan .catalog__actions { margin-top: 32px; }
@media (max-width: 860px) {
  .fin-fan { grid-template-columns: 1fr; }
  .fan { height: clamp(300px, 92vw, 460px); }
  .fan img { width: 46%; left: 27%; top: 6%; }
  .fan.is-in img:nth-child(1) { transform: rotate(-11deg) translateX(-52%); }
  .fan.is-in img:nth-child(3) { transform: rotate(11deg) translateX(52%); }
}

/* A la medida: preguntas frecuentes */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 18px; font-weight: 700; color: var(--navy); cursor: pointer; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 36px; height: 36px; border: 1.5px solid var(--line); border-radius: var(--r); color: var(--royal);
  background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
  transition: background-size .35s var(--ease), background-color .3s, color .3s, border-color .3s; }
.faq summary:hover { color: var(--royal); }
.faq details[open] summary::after { background-color: var(--royal); color: #fff; border-color: var(--royal); background-size: 12px 2px, 2px 0; }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 60ch; animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* Compromisos: anillo de 24 h */
.pledge { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.ring { position: relative; width: clamp(200px, 24vw, 280px); aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .ring__bg { stroke: rgba(255,255,255,.1); }
.ring .ring__ticks { stroke: rgba(255,255,255,.35); stroke-width: 6; stroke-dasharray: .6 3.4; opacity: 0; transition: opacity 1s .9s; }
.ring.is-in .ring__ticks { opacity: 1; }
.ring .ring__fg { stroke: var(--sky); stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2.2s var(--ease-in-out) .2s; }
.ring.is-in .ring__fg { stroke-dashoffset: 0; }
.ring__txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring__txt strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(3.4rem, 6vw, 4.8rem); line-height: 1; color: #fff; }
.ring__txt span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-top: 6px; }
.pledge h2 { color: #fff; }
.pledge p { color: rgba(255,255,255,.75); max-width: 48ch; margin: 20px 0 32px; }
@media (max-width: 760px) { .pledge { grid-template-columns: 1fr; justify-items: start; } }

/* Contacto: horario en vivo */
.hours { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); background: var(--navy); color: rgba(255,255,255,.75); border-radius: var(--r); overflow: hidden; }
.hours__now { padding: clamp(28px, 4vw, 52px); border-right: 1px solid rgba(255,255,255,.1); }
.hours__status { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); }
.hours__dot { width: 10px; height: 10px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 0 rgba(245,158,11,.6); }
.hours.is-open .hours__dot { background: var(--wa); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.hours__clock { font-family: var(--f-display); color: #fff; font-size: clamp(4rem, 10vw, 7.5rem); line-height: 1; margin: 22px 0 6px; font-variant-numeric: tabular-nums; }
.hours__clock small { font-size: .32em; color: var(--sky); margin-left: 10px; letter-spacing: .06em; }
.hours__msg { font-size: 16px; max-width: 40ch; margin-bottom: 28px; }
.hours__week { list-style: none; margin: 0; padding: clamp(28px, 4vw, 52px); display: grid; gap: 0; align-content: center; }
.hours__week li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 15px; }
.hours__week li.is-today { color: #fff; font-weight: 700; }
.hours__week li.is-today::before { content: 'Hoy'; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--sky); padding: 3px 7px; border-radius: 2px; margin-right: auto; margin-left: 10px; order: 2; align-self: center; }
.hours__week li span:first-child { order: 1; }
.hours__week li span:last-child { order: 3; }
@media (max-width: 860px) { .hours { grid-template-columns: 1fr; } .hours__now { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); } }

/* Blog: sugerir un tema */
.suggest { text-align: left; }
.suggest h2 { color: #fff; max-width: 18ch; }
.suggest__bar { display: flex; gap: 8px; margin-top: 36px; background: #fff; border-radius: var(--r); padding: 8px; max-width: 820px; }
.suggest__bar input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: clamp(16px, 1.6vw, 20px); color: var(--ink); padding: 12px 14px; background: transparent; }
.suggest__bar input:focus { outline: none; }
.suggest__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.suggest__chips button { font-size: 13px; font-weight: 600; color: #fff; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); transition: background .3s, border-color .3s; }
.suggest__chips button:hover { background: rgba(255,255,255,.1); border-color: #fff; }
@media (max-width: 560px) { .suggest__bar { flex-direction: column; } }
.sec--navy.fin { background: var(--navy); }
.sec--navy.fin::before { content: ''; position: absolute; inset: 0; background: var(--weave-white) 0 0 / 22px 22px; opacity: .45; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%); mask-image: linear-gradient(90deg, transparent 0%, #000 70%); }
.sec--navy.fin > .wrap { position: relative; }
