/* ==========================================================================
   Pescadería El Galeón — estilos (diseño "En ruta")
   Identidad tomada de su camioneta de reparto: blanco, azul rey, azul marino y verde lima.
   ========================================================================== */

:root {
  --navy: #080056;
  --navy-2: #15249B;
  --royal: #1F48B4;
  --royal-2: #2C5FE0;
  --lime: #8ED13D;
  --lime-2: #B8EE6E;
  --lime-3: #5EAE2C;
  --wa: #25D366;

  --ink: #0B1033;
  --text: #3B4569;
  --mute: #566086;
  --line: #E3EAF6;
  --ice: #EEF3FF;
  --ice-2: #F0F5FF;

  /* Textura de escamas */
  --scales: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='14'><g fill='none' stroke='%231F48B4' stroke-width='1.1' stroke-linecap='round'><path d='M2 12.5A13 13 0 0 1 22 12.5'/><path d='M-10 5.5A13 13 0 0 1 10 5.5'/><path d='M14 5.5A13 13 0 0 1 34 5.5'/></g></svg>");

  --r: 26px;
  --r-sm: 16px;
  --r-lg: 34px;
  --shadow: 0 34px 60px -30px rgba(8, 0, 86, .45);
  --shadow-sm: 0 24px 46px -32px rgba(8, 0, 86, .6);

  --font-d: "Bricolage Grotesque", system-ui, sans-serif;
  --font-b: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 92px;
  --header-h-s: 74px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 1060px) { :root { --header-h: 72px; --header-h-s: 66px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h-s) + 30px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-d); color: var(--navy); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--royal-2); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; padding: 12px 18px; border-radius: 12px; background: var(--lime); color: var(--navy); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
main { overflow-x: clip; }
.sec { position: relative; padding-block: clamp(64px, 8vw, 104px); }
.sec--ice { background: linear-gradient(180deg, var(--ice-2) 0%, #fff 100%); }
.sec--ice-rev { background: linear-gradient(180deg, #fff 0%, var(--ice-2) 100%); }
.sec--ice-mid { background: linear-gradient(180deg, #fff 0%, var(--ice-2) 50%, #fff 100%); }
.sec--tight-top { padding-top: clamp(44px, 5vw, 64px); }

/* ---------- Textura de escamas (fondos blancos) ---------- */
.scales {
  position: absolute;
  left: 0;
  top: 0;
  width: 640px;
  height: 460px;
  background: var(--scales) 0 0 / 24px 14px;
  opacity: .22;
  -webkit-mask-image: radial-gradient(75% 75% at 0% 0%, #000, transparent 72%);
  mask-image: radial-gradient(75% 75% at 0% 0%, #000, transparent 72%);
  pointer-events: none;
}
.has-scales { isolation: isolate; }
.has-scales::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(640px, 75%);
  height: min(460px, 80%);
  background: var(--scales) 0 0 / 24px 14px;
  opacity: .18;
  pointer-events: none;
}
.has-scales--tr::before { top: 0; right: 0; -webkit-mask-image: radial-gradient(75% 75% at 100% 0%, #000, transparent 72%); mask-image: radial-gradient(75% 75% at 100% 0%, #000, transparent 72%); }
.has-scales--tl::before { top: 0; left: 0; -webkit-mask-image: radial-gradient(75% 75% at 0% 0%, #000, transparent 72%); mask-image: radial-gradient(75% 75% at 0% 0%, #000, transparent 72%); }
.has-scales--bl::before { bottom: 0; left: 0; -webkit-mask-image: radial-gradient(75% 75% at 0% 100%, #000, transparent 72%); mask-image: radial-gradient(75% 75% at 0% 100%, #000, transparent 72%); }
.has-scales--br::before { bottom: 0; right: 0; -webkit-mask-image: radial-gradient(75% 75% at 100% 100%, #000, transparent 72%); mask-image: radial-gradient(75% 75% at 100% 100%, #000, transparent 72%); }

/* ---------- Tipografía ---------- */
.h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); font-weight: 800; line-height: .98; letter-spacing: -.04em; }
.h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); font-weight: 800; line-height: 1.02; }
.h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.19rem); line-height: 1.6; color: var(--mute); max-width: 52ch; }
.h2 + .lead { margin-top: 20px; }
.h1 + .lead { margin-top: 30px; }
.hl { position: relative; color: var(--royal); white-space: nowrap; }
.hl svg { position: absolute; left: -2%; bottom: -.17em; width: 104%; height: .28em; overflow: visible; }
.band .hl, .cta-card .hl { color: var(--lime-2); }
.tx-lime { color: var(--lime-2); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 26px -16px rgba(8, 0, 86, .55);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
  color: #2A3260;
}
.eyebrow:not(:has(i)) { padding-left: 12px; }
.eyebrow > .icon { flex: none; width: 17px; height: 17px; margin-right: -2px; color: var(--royal); }
.eyebrow i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(142, 209, 61, .25); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 44px); }
.sec-head > div { max-width: 700px; }
.sec-head p { margin: 12px 0 0; font-size: 1.06rem; color: var(--mute); }
.sec-head--center { justify-content: center; text-align: center; }
.sec-head--center > div { margin-inline: auto; }
.band .sec-head p { color: #C5CEF2; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 20px; height: 20px; }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 18px 34px -16px rgba(8, 0, 86, .75); }
.btn-navy .icon { color: var(--lime); }
.btn-navy:hover { background: #13107A; }
.btn-lime { background: var(--lime); color: var(--navy); box-shadow: 0 12px 26px -12px rgba(110, 190, 40, .95); }
.btn-lime:hover { background: var(--lime-2); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-sm { min-height: 46px; padding: 0 20px; border-radius: 14px; font-size: .95rem; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--royal); text-decoration: none; }
.link .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.link:hover .icon { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 32px; }

/* ---------- Elementos gráficos ---------- */
.swoosh { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; pointer-events: none; }
.band-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tile { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--ice); color: var(--royal); }
.tile .icon { width: 22px; height: 22px; }
.tile--lime { background: var(--lime); color: var(--navy); }

/* Tarjeta "Así llega tu pedido" */
.track { position: absolute; z-index: 4; width: min(330px, 92%); padding: 20px 22px 18px; border-radius: 24px; background: #fff; box-shadow: 0 34px 60px -28px rgba(8, 0, 86, .55); }
.track .th { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; }
.track .th b { font-family: var(--font-d); font-size: 1.25rem; letter-spacing: -.02em; color: var(--navy); }
.track .th span { display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--ice); color: var(--royal); font-size: .75rem; font-weight: 700; white-space: nowrap; }
.track .th span .icon { width: 14px; height: 14px; }
.track li { position: relative; display: flex; gap: 14px; padding-bottom: 14px; }
.track li:last-child { padding-bottom: 0; }
.track li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 2px; width: 2px; background: #DCE4F5; }
.track li.done::before { background: var(--lime); }
.track li:last-child::before { display: none; }
.track li > i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; border: 2px solid #DCE4F5; background: #fff; color: var(--navy); }
.track li > i .icon { width: 14px; height: 14px; }
.track li.done > i { background: var(--lime); border-color: var(--lime); }
.track li.on > i { border-color: var(--royal-2); box-shadow: 0 0 0 5px rgba(44, 95, 224, .18); }
.track li.on > i::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--royal-2); }
.track b { display: block; font-size: .95rem; line-height: 1.3; color: var(--ink); }
.track small { font-size: .82rem; line-height: 1.3; color: var(--mute); }

.stat-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 20px 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.stat-chip b { font-family: var(--font-d); font-size: 2.5rem; line-height: 1; letter-spacing: -.03em; color: var(--lime-2); }
.stat-chip small { font-size: .875rem; line-height: 1.3; opacity: .92; }
.stat-chip--light { background: #fff; border-color: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.stat-chip--light b { color: var(--royal); }
.stat-chip--light small { color: var(--mute); opacity: 1; }

.cut { filter: drop-shadow(0 30px 26px rgba(4, 0, 50, .32)); }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 50; isolation: isolate; background: #fff; box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 14px 30px -24px rgba(8, 0, 86, .5); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.is-scrolled .header-inner { height: var(--header-h-s); }
.brand { position: relative; z-index: 2; flex: none; }
.brand img { width: auto; height: 62px; transition: height .3s var(--ease); }
.is-scrolled .brand img { height: 52px; }
.main-nav { margin-left: 32px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border: 0;
  background: none;
  font-weight: 600;
  font-size: 1rem;
  color: #2A3260;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s;
}
.nav-link:hover { color: var(--royal); }
.nav-link[aria-current="page"], .nav-link.is-current { color: var(--royal); }
.nav-link[aria-current="page"]::after, .nav-link.is-current::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px; background: var(--lime); }
.nav-link .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.has-sub.is-open .nav-link .icon { transform: rotate(180deg); }

.subnav {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 540px;
  padding: 14px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 40px 70px -30px rgba(8, 0, 86, .45), 0 0 0 1px var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .2s, transform .25s var(--ease), visibility 0s linear .25s;
}
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-sub.is-open .subnav, .has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .25s var(--ease); }
.subnav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.subnav-grid a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; text-decoration: none; transition: background-color .2s; }
.subnav-grid a:hover, .subnav-grid a[aria-current="page"] { background: var(--ice); }
.sn-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--ice); color: var(--royal); transition: background-color .2s, color .2s; }
.sn-ico .icon { width: 22px; height: 22px; }
.subnav-grid a:hover .sn-ico, .subnav-grid a[aria-current="page"] .sn-ico { background: var(--navy); color: var(--lime); }
.subnav-grid strong { display: block; font-family: var(--font-d); font-size: 1.02rem; letter-spacing: -.01em; color: var(--navy); line-height: 1.15; }
.subnav-grid small { font-size: .8rem; color: var(--mute); }
.subnav-all { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 12px 16px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; }
.subnav-all .icon { color: var(--lime); }

.header-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.tel { display: flex; align-items: center; gap: 10px; font-size: .8rem; line-height: 1.25; color: var(--mute); text-decoration: none; }
.tel b { display: block; font-size: 1rem; color: var(--ink); }
.tel i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--ice); color: var(--royal); }
.tel i .icon { width: 20px; height: 20px; }
.main-nav .nav-extra { display: none; }

.nav-toggle { position: relative; z-index: 2; display: none; width: 48px; height: 48px; margin-left: 8px; border: 0; border-radius: 14px; background: var(--ice); color: var(--navy); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), background-color .2s; }
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: rotate(45deg); }
.nav-open .nav-toggle span::after { transform: rotate(-45deg); }

@media (max-width: 1180px) { .header-actions .tel { display: none; } }
@media (max-width: 1060px) {
  .brand img, .is-scrolled .brand img { height: 50px; }
  .nav-toggle { display: inline-block; }
  .header-actions .header-cta { display: none; }
  .main-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    bottom: 0;
    z-index: 1;
    margin: 0;
    padding: 18px var(--gutter) 200px;
    overflow-y: auto;
    background:
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 180' preserveAspectRatio='none'><path d='M0 150C140 150 240 110 300 70 340 44 370 28 400 22V8C366 16 334 32 292 60 230 102 136 136 0 136Z' fill='%238ED13D'/><path d='M0 180V160C146 160 248 120 310 80 348 56 376 40 400 34V180Z' fill='%23080056'/></svg>") bottom / 100% 170px no-repeat,
      linear-gradient(180deg, #fff 0%, var(--ice-2) 100%);
    background-attachment: local, local;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s linear .4s;
  }
  .is-scrolled .main-nav { top: var(--header-h-s); }
  .nav-open .main-nav { transform: none; visibility: visible; transition: transform .4s var(--ease); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { justify-content: space-between; width: 100%; padding: 14px 2px; font-family: var(--font-d); font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
  .nav-link .icon { width: 24px; height: 24px; }
  .nav-link[aria-current="page"]::after, .nav-link.is-current::after { left: 2px; right: auto; width: 34px; bottom: 8px; }
  .subnav, .has-sub:hover .subnav, .has-sub:focus-within .subnav { position: static; display: none; width: auto; padding: 0 0 12px; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: none; }
  .has-sub.is-open .subnav { display: block; transform: none; }
  .subnav::before { display: none; }
  .subnav-grid { grid-template-columns: 1fr; }
  .main-nav .nav-extra { display: grid; gap: 14px; margin-top: 26px; }
  .main-nav .nav-extra .btn { justify-self: start; }
  .nav-open body { overflow: hidden; }
}
@media (max-width: 420px) { .sn-ico { width: 38px; height: 38px; } }
/* Pantallas muy angostas: las columnas no se estiran por su contenido y los botones pueden ocupar dos renglones */
.hero-grid > *, .page-hero-grid > * { min-width: 0; }
@media (max-width: 400px) {
  .btn { gap: 8px; padding: 12px 14px; font-size: .94rem; white-space: normal; text-align: center; line-height: 1.25; }
  .btn .icon { flex: none; }
}

/* ---------- Portada de Inicio (jerarquía mayor) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--ice-2) 100%); }
.hero > .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; min-height: 690px; padding-top: 62px; }
.hero-copy { max-width: 590px; padding-bottom: 150px; }
.hero-copy .h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); }
.trust { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 38px; font-size: .875rem; font-weight: 600; color: #2A3260; }
.trust li { display: flex; align-items: center; gap: 9px; }
.trust i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ice); color: var(--royal); }
.trust i .icon { width: 16px; height: 16px; }
.hero-art { position: relative; min-height: 600px; }
.hero-art .cinta { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art .art-main { position: absolute; top: 14px; right: -44px; width: min(680px, 120%); transform: rotate(-11deg); }
.hero-art .art-side { position: absolute; top: 306px; left: 25%; width: 44%; max-width: 260px; transform: rotate(12deg); filter: drop-shadow(0 26px 22px rgba(4, 0, 40, .45)); }

@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; padding-top: 44px; }
  .hero-copy { max-width: 640px; padding-bottom: 36px; }
  .hero-art { width: min(100%, 600px); min-height: 0; height: 500px; margin-inline: auto; }
  .hero .swoosh { height: 500px; }
  .hero-art .art-main { right: -24px; width: min(620px, 108%); }
  .hero-art .art-side { top: 250px; left: 32%; width: 38%; max-width: 230px; }
}
@media (max-width: 560px) {
  .hl { white-space: normal; background: linear-gradient(var(--lime), var(--lime)) 0 94% / 100% .12em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .hl svg { display: none; }
  .scales { width: 100%; height: 320px; }
  /* En teléfono, las imágenes van arriba del título sobre una cinta diagonal lima y azul; el texto queda en blanco debajo */
  /* La portada termina en un borde recto, esquinas apenas redondeadas, filo lima y sombra ligera, que la separa de la sección siguiente */
  .hero .swoosh { display: none; }
  .hero { z-index: 2; background: #fff; border-bottom: 6px solid var(--lime); border-radius: 0 0 20px 20px; box-shadow: 0 20px 30px -22px rgba(8, 0, 86, .55); }
  .hero-copy { padding-bottom: 48px; }
  .hero + .sec { margin-top: -24px; padding-top: 88px; }
  /* El alto del arte sigue al ancho de la pantalla (340 px a 390 px de ancho) para que la cinta no se estire en pantallas angostas */
  .hero .scales { height: min(340px, 87vw); }
  .hero-grid { padding-top: 4px; }
  .hero-art { order: -1; width: auto; height: min(340px, 87vw); margin: 0 calc(-1 * var(--gutter)) 8px; }
  .hero-art .cinta { display: block; }
  .hero-copy > .h1:first-child { margin-top: 22px; }
  .hero-art .art-main { z-index: 1; top: 10%; left: 4%; right: auto; width: 84%; transform: rotate(-17deg); }
  .hero-art .art-side { z-index: 1; top: 49%; left: auto; right: 5%; width: 40%; }
  .trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 30px; font-size: .78rem; line-height: 1.25; text-align: center; }
  .trust li { flex-direction: column; gap: 6px; }
  .stat-chip b { font-size: 2rem; }
  .actions .btn { flex: 1 1 100%; }
}

/* ---------- Portada de páginas interiores ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--ice-2) 100%); }
.page-hero > .container { position: relative; z-index: 2; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; min-height: 470px; padding-top: 52px; }
.page-hero-copy { padding-bottom: 160px; }
.page-hero--short .page-hero-grid { min-height: 470px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; font-size: .9rem; font-weight: 600; color: var(--mute); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #A6B3D3; }
.crumbs a { color: var(--royal); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.meta-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.meta-chips li { display: flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px; background: #fff; box-shadow: 0 10px 26px -18px rgba(8, 0, 86, .6); font-weight: 600; color: #2A3260; }
.meta-chips b { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 9px; border-radius: 999px; background: var(--lime); color: var(--navy); font-family: var(--font-d); font-size: 1.05rem; }
/* El arte se ajusta al alto que marcan los textos */
.page-art { position: relative; min-height: 0; }
.page-art .cut-main { position: absolute; top: 2%; right: -10px; width: min(500px, 100%); max-width: none; height: auto; max-height: 66%; object-fit: contain; transform: rotate(-8deg); }
.page-art .cut-side { position: absolute; bottom: 15%; left: 2%; width: 40%; max-width: 210px; height: auto; max-height: 44%; object-fit: contain; transform: rotate(10deg); }
.page-art .stat-chip { right: 0; bottom: 14%; }
.page-art .track { right: 0; top: 0; }
.page-art .cut-float { position: absolute; left: 0; bottom: 13%; width: 40%; max-width: 220px; height: auto; transform: rotate(-12deg); }
.art-photos .ph-main { position: absolute; top: 0; right: 0; width: 86%; max-height: 74%; aspect-ratio: 3 / 2; margin: 0; overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow); }
.art-photos .ph-small { position: absolute; left: 0; bottom: 16%; width: 46%; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; border: 6px solid #fff; border-radius: 22px; box-shadow: var(--shadow); }
.art-photos img { width: 100%; height: 100%; object-fit: cover; }
.art-photos .stat-chip { right: 4%; bottom: 14%; }
@media (max-width: 980px) { .page-art .stat-chip { background: rgba(4, 0, 50, .82); border-color: rgba(255, 255, 255, .22); } }

.sheet { position: relative; z-index: 3; margin-top: -56px; border-radius: 44px 44px 0 0; background: #fff; }
.sheet--ice { background: linear-gradient(180deg, #fff 0, var(--ice-2) 520px, #fff 100%); }

@media (max-width: 980px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 0; min-height: 0; padding-top: 40px; }
  .page-hero-copy { padding-bottom: 30px; }
  .page-art { width: min(100%, 560px); min-height: 0; height: 380px; margin-inline: auto; margin-bottom: 40px; }
  .page-hero .swoosh { height: 370px; }
  .sheet { margin-top: -40px; border-radius: 32px 32px 0 0; }
}
@media (max-width: 560px) {
  .page-art { height: 300px; }
  .page-hero .swoosh { height: 310px; }
  .page-art .cut-main { width: 100%; max-height: 64%; right: 0; }
  .page-art .cut-side { bottom: 16%; width: 38%; }
  .page-art .track { left: 0; right: auto; width: 270px; transform: scale(.86); transform-origin: 0 0; }
  .page-art .cut-float { left: auto; right: 0; bottom: 14%; width: 44%; }
}
/* ---------- Banda azul ---------- */
.band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(180deg, rgba(4, 0, 40, 0) 0%, rgba(4, 0, 40, .42) 100%), linear-gradient(90deg, #2554CF 0%, var(--navy-2) 45%, var(--navy) 100%); }
.band > .container { position: relative; }
.band h2, .band h3 { color: #fff; }
.band .lead { color: #C5CEF2; }
.band-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.nums { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: 34px; }
.nums b { display: block; font-family: var(--font-d); font-size: clamp(2.6rem, 4.6vw, 3.4rem); line-height: 1; letter-spacing: -.04em; color: #fff; }
.nums b em { font-style: normal; color: var(--lime); }
.nums small { display: block; margin-top: 8px; font-size: .94rem; color: #C5CEF2; }
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.clients li { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.clients b { font-size: 1.06rem; line-height: 1.2; }
@media (max-width: 980px) { .band-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .clients { grid-template-columns: 1fr 1fr; } }

/* ---------- Tarjetas de categoría y de producto ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ccard { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; color: inherit; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
a.ccard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ccard-media { position: relative; height: 230px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(60% 60% at 50% 55%, #fff 0%, #E7EEFF 100%); }
.ccard-media::before { content: ""; position: absolute; left: -30px; right: -30px; bottom: 18px; height: 34px; background: linear-gradient(90deg, var(--royal-2), var(--navy)); transform: rotate(-8deg); border-top: 8px solid var(--lime); box-shadow: 0 -8px 0 #fff; }
.ccard-media img { position: relative; width: auto; max-width: 78%; max-height: 176px; filter: drop-shadow(0 20px 18px rgba(4, 0, 40, .35)); transition: transform .5s var(--ease); }
a.ccard:hover .ccard-media img { transform: scale(1.06) rotate(-2deg); }
.ccard-media--photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; filter: none; }
.ccard-media--photo::before { z-index: 1; }
.ccard-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.ccard h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.025em; }
.ccard p { margin: 6px 0 0; font-size: .9rem; line-height: 1.45; color: var(--mute); }
.ccard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; }
.pill { padding: 6px 12px; border-radius: 999px; background: var(--ice); color: var(--royal); font-size: .8rem; font-weight: 700; line-height: 1.2; }
.go { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--lime); transition: transform .3s var(--ease); }
.go .icon { width: 20px; height: 20px; }
a.ccard:hover .go { transform: translateX(3px); }
.ccard--cta { padding: 26px; color: #fff; background: linear-gradient(160deg, #2554CF 0%, var(--navy) 100%); }
.ccard--cta > :not(.band-lines) { position: relative; }
.ccard--cta h3 { color: #fff; font-size: 1.75rem; line-height: 1.05; }
.ccard--cta p { color: #C9D1F4; font-size: .98rem; }
.ccard--cta > .btn { margin-top: auto; }
.ccard--cta > p + .btn { margin-top: 26px; }

/* Productos con foto */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard { scroll-margin-top: calc(var(--header-h-s) + 24px); }
.pcard .ccard-media { height: 210px; }
.pcard .ccard-media img { max-height: 158px; }
.pcard:target, .tcard:target { box-shadow: 0 0 0 3px var(--lime), var(--shadow); }
.pcard h3 { font-size: 1.28rem; }
.pcard-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font-weight: 700; font-size: .95rem; color: var(--royal); text-decoration: none; }
.pcard-wa .icon { width: 19px; height: 19px; color: #1AA64F; }
.pcard-wa:hover { color: var(--navy); }

/* Productos sin foto: solo nombre y descripción */
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.tcard { display: flex; flex-direction: column; padding: 18px 20px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm), inset 4px 0 0 var(--lime); scroll-margin-top: calc(var(--header-h-s) + 24px); }
.tcard .pcard-wa { align-self: flex-start; padding-top: 12px; }
.tcard h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.tcard p { margin: 6px 0 0; font-size: .9rem; line-height: 1.45; color: var(--mute); }
.grid-note { margin: 30px 0 0; text-align: center; color: var(--mute); }
.grid-note a { font-weight: 700; color: var(--royal); }

@media (max-width: 1100px) { .cards, .pgrid, .tgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .cards, .pgrid, .tgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .cards, .pgrid { gap: 12px; }
  .tgrid { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
  .ccard-media, .pcard .ccard-media { height: 150px; }
  .ccard-media::before { bottom: 12px; height: 24px; border-top-width: 6px; }
  .ccard-media img, .pcard .ccard-media img { max-height: 110px; }
  .ccard-body { padding: 14px 14px 16px; }
  .ccard h3, .pcard h3 { font-size: 1.08rem; }
  .ccard p { display: none; }
  .pcard p { display: block; font-size: .82rem; }
  .pill { font-size: .72rem; padding: 5px 9px; }
  .go { width: 34px; height: 34px; border-radius: 10px; }
  .ccard--cta { grid-column: 1 / -1; padding: 22px; }
  .ccard--cta p { display: block; }
  .pcard-wa { font-size: .85rem; }
  .tcard { padding: 14px 16px 16px; }
}

/* ---------- Quiénes somos (Inicio) ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-art { position: relative; min-height: 520px; }
.about-art .ph-main { position: absolute; left: 0; top: 0; width: 86%; aspect-ratio: 4 / 3.3; margin: 0; overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow); }
.about-art .ph-small { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; border: 6px solid #fff; border-radius: 22px; box-shadow: var(--shadow); }
.about-art img { width: 100%; height: 100%; object-fit: cover; }
.about-art .stat-chip { left: 18px; bottom: 26px; }
.features { display: grid; gap: 16px; margin: 28px 0 34px; }
.features li { display: flex; gap: 16px; align-items: flex-start; }
.features h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.features p { margin: 4px 0 0; font-size: .97rem; line-height: 1.5; color: var(--mute); }
@media (max-width: 980px) {
  .about { grid-template-columns: 1fr; }
  .about-art { width: min(100%, 600px); min-height: 0; aspect-ratio: 1 / .82; }
}

/* ---------- Para tu negocio (Inicio) ---------- */
.biz { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.biz-art { position: relative; height: 470px; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(60% 60% at 50% 45%, #fff 0%, #E3ECFF 100%); box-shadow: var(--shadow-sm); }
.biz-art::before { content: ""; position: absolute; left: -60px; right: -60px; bottom: 70px; height: 64px; background: linear-gradient(90deg, var(--royal-2), var(--navy)); transform: rotate(-8deg); border-top: 12px solid var(--lime); box-shadow: 0 -12px 0 #fff; }
.biz-art img { position: absolute; height: auto; filter: drop-shadow(0 24px 22px rgba(4, 0, 50, .35)); }
.biz-art .a1 { left: 6%; top: 12%; width: 50%; transform: rotate(-8deg); }
.biz-art .a2 { right: 4%; top: 6%; width: 40%; transform: rotate(10deg); }
.biz-art .a3 { left: 34%; top: 40%; width: 40%; transform: rotate(-4deg); }
.biz-art .stat-chip { left: 22px; bottom: 22px; }
.biz-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 30px 0 34px; }
.biz-list li { display: flex; gap: 14px; align-items: flex-start; }
.biz-list h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.biz-list p { margin: 4px 0 0; font-size: .93rem; line-height: 1.45; color: var(--mute); }
@media (max-width: 980px) { .biz { grid-template-columns: 1fr; } .biz-art { width: min(100%, 600px); height: 400px; } }
@media (max-width: 560px) { .biz-art { height: 300px; } .biz-list { grid-template-columns: 1fr; } .biz-art .stat-chip { left: 14px; bottom: 14px; } }
/* ---------- Carrusel de fotos ---------- */
.marquee { position: relative; }
.marquee-view { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-view::-webkit-scrollbar { display: none; }
.marquee-view.is-drag { cursor: grabbing; -webkit-user-select: none; user-select: none; }
.marquee-view:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.marquee-track { display: flex; gap: 18px; width: max-content; padding: 4px 0 16px; }
.mq-btn { position: absolute; top: calc(50% - 6px); z-index: 2; display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow); cursor: pointer; transform: translateY(-50%); transition: background .2s, transform .2s; }
.mq-btn:hover { background: var(--lime); }
.mq-btn:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; }
.mq-btn .icon { width: 22px; height: 22px; }
.mq-prev { left: 24px; }
.mq-next { right: 24px; }
@media (max-width: 560px) { .mq-btn { width: 40px; height: 40px; } .mq-btn .icon { width: 18px; height: 18px; } .mq-prev { left: 10px; } .mq-next { right: 10px; } }
.marquee figure { position: relative; flex: none; width: clamp(200px, 22vw, 290px); aspect-ratio: 4 / 3; margin: 0; overflow: hidden; border-radius: 22px; background: #E7E3EB; box-shadow: var(--shadow-sm); }
.marquee img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.marquee figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--navy); font-size: .8rem; font-weight: 700; }

/* ---------- Llamado a la acción ---------- */
.cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 30px; padding: clamp(36px, 5vw, 64px); border-radius: var(--r-lg); color: #fff; background: linear-gradient(120deg, #2554CF 0%, var(--navy-2) 50%, var(--navy) 100%); box-shadow: var(--shadow); }
.cta-card > :not(.band-lines) { position: relative; }
.cta-card h2 { color: #fff; }
.cta-card p { margin: 16px 0 0; max-width: 46ch; font-size: 1.1rem; color: #C9D1F4; }
.cta-card .actions { margin-top: 30px; }
.cta-card .cta-art { position: relative; height: 100%; min-height: 320px; }
.cta-card .cta-art img { position: absolute; right: -24px; top: 50%; width: min(470px, 120%); max-width: none; height: auto; max-height: 340px; object-fit: contain; transform: translateY(-50%) rotate(-8deg); filter: drop-shadow(0 30px 26px rgba(0, 0, 30, .55)); }
@media (max-width: 860px) {
  .cta-card { grid-template-columns: 1fr; }
  .cta-card .cta-art { min-height: 260px; }
  .cta-card .cta-art img { right: auto; left: 50%; width: min(400px, 96%); max-height: 250px; transform: translate(-50%, -50%) rotate(-8deg); }
}
@media (max-width: 560px) { .cta-card .actions .btn { flex: 1 1 100%; } .cta-card .cta-art { min-height: 220px; } .cta-card .cta-art img { max-height: 210px; } }

/* ---------- Nosotros ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split + .split { margin-top: clamp(64px, 8vw, 100px); }
.split--rev > :first-child { order: 2; }
.story-photo { position: relative; margin: 0; }
.story-photo .ph { overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3.1; box-shadow: var(--shadow); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-photo .stat-chip { left: 18px; bottom: 18px; }
.story-photo .cut-peek { position: absolute; right: -34px; bottom: -54px; width: 34%; height: auto; transform: rotate(-10deg); }
.mini-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.mini-stats li { padding: 14px 18px; border-radius: 18px; background: var(--ice); color: #2A3260; font-weight: 600; line-height: 1.25; }
.mini-stats b { display: block; font-family: var(--font-d); font-size: 2rem; letter-spacing: -.03em; color: var(--royal); line-height: 1; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--r); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.mv-card h3 { margin: 22px 0 12px; font-size: clamp(1.8rem, 3vw, 2.3rem); }
.mv-card p { margin: 0; font-size: 1.08rem; line-height: 1.6; color: #D2D9F6; }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value { padding: 26px 22px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.value:hover { transform: translateY(-5px); }
.value h3 { margin-top: 18px; font-size: 1.3rem; }
.value p { margin: 6px 0 0; font-size: .93rem; line-height: 1.5; color: var(--mute); }
.strengths { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.strengths-aside { position: sticky; top: calc(var(--header-h-s) + 30px); }
.strengths-art { position: relative; height: 300px; margin-top: 34px; border-radius: var(--r); overflow: hidden; background: radial-gradient(60% 60% at 50% 55%, #fff 0%, #E7EEFF 100%); }
.strengths-art::before { content: ""; position: absolute; left: -40px; right: -40px; bottom: 34px; height: 44px; background: linear-gradient(90deg, var(--royal-2), var(--navy)); transform: rotate(-7deg); border-top: 10px solid var(--lime); box-shadow: 0 -10px 0 #fff; }
.strengths-art img { position: absolute; left: 50%; top: 46%; width: 70%; transform: translate(-50%, -50%) rotate(-6deg); }
.slist li { display: grid; grid-template-columns: auto 1fr; gap: 4px 22px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.slist li:first-child { padding-top: 0; }
.slist .n { grid-row: span 2; font-family: var(--font-d); font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--royal); }
.slist .n::after { content: ""; display: block; width: 26px; height: 4px; margin-top: 10px; border-radius: 4px; background: var(--lime); }
.slist h3 { font-size: 1.45rem; }
.slist p { margin: 6px 0 0; color: var(--mute); }
.brand-block { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.brand-card { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 360px; width: 100%; margin: 0 auto; border-radius: 40px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.brand-card::before { content: ""; position: absolute; left: -40px; right: -40px; bottom: 30px; height: 40px; background: linear-gradient(90deg, var(--royal-2), var(--navy)); transform: rotate(-8deg); border-top: 9px solid var(--lime); box-shadow: 0 -9px 0 #fff; }
.brand-card img { position: relative; width: 52%; margin-bottom: 40px; }
.brand-photo { margin: 30px 0 0; overflow: hidden; border-radius: 22px; aspect-ratio: 16 / 9; box-shadow: var(--shadow-sm); }
.brand-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1080px) { .values { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) {
  .split, .strengths, .brand-block, .mv-grid { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .strengths-aside { position: static; }
  .story-photo .cut-peek { right: -6px; width: 38%; }
}
@media (max-width: 640px) { .values { grid-template-columns: 1fr 1fr; } .value:last-child { grid-column: 1 / -1; } }

/* ---------- Productos: índice del catálogo ---------- */
.index-grid { columns: 3 260px; column-gap: clamp(28px, 4vw, 56px); }
.igroup { break-inside: avoid; margin: 0 0 38px; }
.igroup h3 { padding-bottom: 12px; border-bottom: 2px solid var(--lime); }
.igroup h3 a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: #fff; font-size: 1.3rem; text-decoration: none; }
.igroup h3 a:hover { color: var(--lime-2); }
.igroup h3 small { font-family: var(--font-b); font-size: .85rem; font-weight: 600; letter-spacing: 0; color: #AFC0F0; white-space: nowrap; }
.igroup li a { display: block; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #DCE3FF; font-size: .98rem; line-height: 1.35; text-decoration: none; transition: color .2s, padding-left .2s; }
.igroup li a:hover { padding-left: 6px; color: var(--lime-2); }

/* ---------- Navegación entre categorías ---------- */
.pn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pn { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 180px; padding: 28px 30px; border-radius: var(--r); background: linear-gradient(120deg, #2554CF 0%, var(--navy) 100%); color: #fff; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.pn:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pn > .band-lines { opacity: .9; }
.pn small { position: relative; display: flex; align-items: center; gap: 8px; color: var(--lime-2); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pn small .icon { width: 16px; height: 16px; }
.pn strong { position: relative; display: block; margin-top: 8px; font-family: var(--font-d); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.05; letter-spacing: -.03em; }
.pn img { position: relative; flex: none; width: 36%; max-width: 190px; max-height: 140px; object-fit: contain; filter: drop-shadow(0 18px 16px rgba(0, 0, 30, .55)); transform: rotate(-8deg); }
.pn--next { flex-direction: row-reverse; text-align: right; }
.pn--next small { justify-content: flex-end; }
@media (max-width: 700px) { .pn-grid { grid-template-columns: 1fr; } .pn { min-height: 140px; } }

/* ---------- Galería de cada categoría ---------- */
.masonry { columns: 4 240px; column-gap: 16px; }
.g-item { position: relative; display: block; width: 100%; margin: 0 0 16px; padding: 0; overflow: hidden; border: 0; border-radius: 20px; background: #E7E3EB; cursor: zoom-in; break-inside: avoid; box-shadow: var(--shadow-sm); }
.g-item img { width: 100%; transition: transform .7s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item .chip-label { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--navy); font-size: .8rem; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.g-item:hover .chip-label, .g-item:focus-visible .chip-label { opacity: 1; transform: none; }
.g-zoom { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--navy); color: var(--lime); opacity: 0; transform: scale(.85); transition: opacity .3s, transform .3s; }
.g-zoom .icon { width: 18px; height: 18px; }
.g-item:hover .g-zoom { opacity: 1; transform: none; }
@media (hover: none) { .g-item .chip-label { opacity: 1; transform: none; } }
@media (max-width: 520px) { .masonry { columns: 2; column-gap: 10px; } .g-item { margin-bottom: 10px; border-radius: 14px; } .g-item .chip-label { left: 8px; bottom: 8px; padding: 4px 9px; font-size: .7rem; } }

.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 72px 16px 56px; background: rgba(5, 0, 50, .94); opacity: 0; transition: opacity .3s; }
.lightbox.is-open { opacity: 1; }
.lb-figure { margin: 0; text-align: center; }
.lb-figure img { max-width: min(92vw, 1400px); max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); margin: 0 auto; border-radius: 18px; object-fit: contain; background: #E7E3EB; }
.lb-caption { margin-top: 16px; color: #fff; font-weight: 600; }
.lb-count { margin-left: 10px; color: #A9B4E0; font-weight: 500; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 16px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background-color .2s, color .2s; }
.lb-btn:hover { background: var(--lime); color: var(--navy); }
.lb-btn .icon { width: 26px; height: 26px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } }
.lb-open body { overflow: hidden; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 32px); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
.contact-card h2 { font-size: 1.55rem; font-weight: 800; letter-spacing: -.025em; }
.contact-card p { margin: 0; line-height: 1.5; color: var(--mute); }
.contact-lines { display: grid; gap: 10px; margin-top: auto; }
.contact-line { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--ice); color: var(--ink); font-weight: 600; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; transition: background-color .2s; }
.contact-line:hover { background: #E1E9FB; }
.contact-line .icon { color: var(--royal); }
.contact-line .icon.wa { color: #1AA64F; }
.contact-line small { display: block; font-size: .8rem; font-weight: 500; color: var(--mute); }
.contact-card--featured { grid-row: span 2; overflow: hidden; color: #fff; background: linear-gradient(160deg, #2554CF 0%, var(--navy) 100%); }
.contact-card--featured > :not(.band-lines) { position: relative; }
.contact-card--featured h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.4rem); }
.contact-card--featured p { color: #C9D1F4; font-size: 1.05rem; }
.contact-card--featured .contact-line { background: rgba(255, 255, 255, .1); color: #fff; }
.contact-card--featured .contact-line:hover { background: rgba(255, 255, 255, .16); }
.contact-card--featured .contact-line .icon { color: var(--lime); }
.contact-card--featured .contact-line small { color: #AAB6E4; }
.contact-card--featured .cut-peek { width: 92%; max-width: 330px; height: auto; margin: 10px -46px 14px auto; transform: rotate(-8deg); filter: drop-shadow(0 22px 18px rgba(0, 0, 30, .5)); }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } .contact-card--featured { grid-row: auto; grid-column: 1 / -1; } .contact-card--featured .cut-peek { display: none; } }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } .contact-card--featured { grid-column: auto; } }

.location { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.address-card { display: flex; gap: 16px; align-items: flex-start; margin: 26px 0 0; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.address-card p { margin: 0; line-height: 1.55; color: #D2D9F6; }
.address-card strong { display: block; margin-bottom: 4px; font-size: 1.1rem; color: #fff; }
.map-card { padding: 10px; border-radius: 30px; background: #fff; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .7); }
.map-wrap { position: relative; min-height: 440px; overflow: hidden; border-radius: 22px; background: var(--ice); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .location { grid-template-columns: 1fr; } .map-wrap { min-height: 360px; } }

/* ---------- Pie de página ---------- */
.site-footer { position: relative; overflow: hidden; color: #B9C1EA; background: linear-gradient(180deg, #0A0870 0%, var(--navy) 30%, #05003A 100%); }
.footer-swoosh { display: block; width: 100%; height: clamp(70px, 9vw, 120px); }
.footer-swoosh .fs-top { fill: #fff; }
.end-band + .site-footer .fs-top { fill: transparent; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr 1.15fr 1.15fr; gap: clamp(26px, 3vw, 44px); padding: clamp(20px, 3vw, 36px) 0 clamp(40px, 5vw, 60px); }
.footer-logo { width: auto; height: 96px; margin-bottom: 18px; }
.footer-about p { max-width: 32ch; }
.site-footer h2 { margin-bottom: 18px; font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #B9C1EA; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--lime-2); }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.footer-contact .icon { margin-top: 2px; color: var(--lime); }
.footer-contact a { color: #fff; text-decoration: none; overflow-wrap: break-word; }
.footer-contact a:hover { color: var(--lime-2); }
.footer-contact small { display: block; font-size: .82rem; color: #8F98CB; }
.site-footer .link { margin-top: 18px; color: var(--lime-2); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.social a:hover { background: var(--lime); color: var(--navy); transform: translateY(-3px); }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; font-weight: 700; text-decoration: none; }
.footer-bottom a:hover { color: var(--lime-2); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :last-child { grid-column: 1 / -1; } .footer-bottom { padding-bottom: 96px; } }
@media (max-width: 440px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 16px 30px -12px rgba(18, 140, 70, .75); transition: transform .3s var(--ease), opacity .3s; }
.wa-float::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--wa); border-radius: 50%; animation: pulse 2.6s ease-out infinite; }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-tip { position: absolute; right: 74px; top: 50%; padding: 9px 14px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); color: var(--navy); font-size: .9rem; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(8px, -50%); transition: opacity .3s, transform .3s var(--ease); }
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: translate(0, -50%); }
.nav-open .wa-float, .lb-open .wa-float { opacity: 0; visibility: hidden; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.65); opacity: 0; } }
@media (max-width: 600px) { .wa-float { right: 14px; bottom: 14px; width: 56px; height: 56px; } .wa-tip { display: none; } }

/* ---------- 404 ---------- */
.notfound .big { display: block; margin-bottom: 8px; font-family: var(--font-d); font-size: clamp(4.5rem, 12vw, 7.5rem); font-weight: 800; line-height: .85; letter-spacing: -.05em; color: var(--royal); }

/* ---------- Animaciones de entrada ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Nosotros: en pantallas muy angostas, un valor por renglón */
@media (max-width: 400px) { .values { grid-template-columns: 1fr; } }
/* Banda de Inicio: columnas que no se estiran y clientes en un renglón cada uno en pantallas muy angostas */
.band-grid > * { min-width: 0; }
@media (max-width: 340px) { .clients { grid-template-columns: 1fr; } .nums { gap: 18px 24px; } }
/* Tarjetas de categoría en pantallas muy angostas: la tarjeta entera es el enlace, así que la flecha se oculta para que quepa la pastilla */
@media (max-width: 340px) { .ccard-foot .go { display: none; } }
