/* =========================================================
   DISMAPP — Estilos del sitio
   Colores de marca tomados del logo: rojo #FF0000 · azul #000066
   ========================================================= */

:root {
  --red: #ff0000;
  --red-600: #dc0000;
  --red-50: #fff1f1;
  --navy: #000066;
  --navy-900: #00003d;
  --navy-600: #1a1aa6;

  --ink: #0d0f3a;
  --text: #3b3f63;
  --muted: #676c92;
  --line: rgba(0, 0, 102, 0.08);

  --cool: #eef1ff;
  --warm: #fff1f1;

  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 6px 18px -10px rgba(0, 0, 102, 0.22);
  --shadow: 0 24px 50px -24px rgba(0, 0, 102, 0.35);
  --shadow-red: 0 14px 30px -12px rgba(255, 0, 0, 0.5);

  --font-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: 16px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
}

p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid rgba(255, 0, 0, 0.55); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-fill { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ---------- Tipografía utilitaria ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }

.text-grad {
  background: linear-gradient(95deg, var(--red) 0%, #ff5a5a 55%, var(--red) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-grad-navy {
  background: linear-gradient(95deg, var(--navy) 0%, #3a3ad6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 40ch; }
.lead-sm { font-size: clamp(0.95rem, 1.1vw, 1.02rem); max-width: 62ch; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 0.98rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .i, .btn .i-fill { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(135deg, #ff2b2b, var(--red-600)); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { box-shadow: 0 18px 36px -12px rgba(255, 0, 0, 0.6); }
.btn-navy { background: linear-gradient(135deg, var(--navy-600), var(--navy)); color: #fff; box-shadow: 0 14px 28px -14px rgba(0, 0, 102, 0.7); }
.btn-ghost { background: #fff; color: var(--navy); border-color: rgba(0, 0, 102, 0.16); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.45); }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 14px 28px -14px rgba(37, 211, 102, 0.8); }
.btn-wa:hover { background: #1fbd5a; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.link-arrow .i { transition: transform 0.25s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 102, 0.3); border-color: var(--line); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand img { height: 38px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font-weight: 500; font-size: 0.96rem; color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover { background: var(--cool); }
.nav-link.is-active { color: var(--red); }
.nav-link .i { width: 16px; height: 16px; transition: transform 0.25s; }
.nav-cta { margin-left: 10px; padding: 11px 20px; }

.has-dropdown { position: relative; }
.has-dropdown:hover > .nav-link .i, .has-dropdown:focus-within > .nav-link .i { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  width: 290px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; align-items: flex-start; gap: 12px; padding: 10px 14px; border-radius: 14px; transition: background 0.2s; }
.dropdown a::before { content: ""; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--red); flex: none; }
.dropdown a:hover { background: var(--cool); }
.dropdown strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--ink); line-height: 1.2; }
.dropdown span { font-size: 0.82rem; color: var(--muted); }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; position: relative; flex: none;
}
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform 0.3s, opacity 0.3s, top 0.3s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .menu-toggle { display: inline-block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 20px var(--gutter) 32px; overflow-y: auto;
    background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--cool) 100%);
    border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { font-size: 1.15rem; padding: 14px 12px; border-radius: 14px; }
  .nav-link .i { display: none; }
  .dropdown {
    position: static; width: auto; padding: 0 0 8px 8px; transform: none;
    opacity: 1; visibility: visible; box-shadow: none; border: 0; background: transparent;
  }
  .dropdown::before { display: none; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { transform: none; }
  .nav-cta { margin: 16px 0 0; padding: 16px 24px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .wa-float { opacity: 0; pointer-events: none; }
}

/* ---------- Secciones y fondos degradados ---------- */
.section { position: relative; padding: clamp(64px, 8vw, 104px) 0; overflow: hidden; isolation: isolate; }
.section.tight { padding-top: 0; }

.bg-hero {
  background:
    radial-gradient(46% 60% at 90% 45%, rgba(58, 58, 214, 0.12), transparent 70%),
    radial-gradient(36% 45% at 4% 60%, rgba(255, 0, 0, 0.08), transparent 70%),
    linear-gradient(180deg, #fff 0%, #fff 100%);
}
.bg-to-cool   { background: linear-gradient(180deg, #fff 0%, var(--cool) 100%); }
.bg-from-cool { background: linear-gradient(180deg, var(--cool) 0%, #fff 100%); }
.bg-to-warm   { background: linear-gradient(180deg, #fff 0%, var(--warm) 100%); }
.bg-from-warm { background: linear-gradient(180deg, var(--warm) 0%, #fff 100%); }
.bg-cool-warm { background: linear-gradient(180deg, var(--cool) 0%, #fff 50%, var(--warm) 100%); }
.bg-wave      { background: linear-gradient(180deg, #fff 0%, var(--cool) 22%, #fff 50%, var(--warm) 78%, #fff 100%); }

.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.blob-red  { background: rgba(255, 90, 90, 0.22); }
.blob-blue { background: rgba(80, 90, 255, 0.18); }

.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 800; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Hero (inicio) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(20px, 3.5vw, 44px) 0 clamp(32px, 4.5vw, 56px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 0.9rem; font-weight: 500; color: var(--ink);
}
.pill b { padding: 5px 12px; border-radius: 999px; background: linear-gradient(135deg, #ff2b2b, var(--red-600)); color: #fff; font-size: 0.82rem; font-weight: 700; }

.hero h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); font-weight: 800; margin: 18px 0 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* El círculo se ajusta a la altura de la pantalla para que el hero quepa completo */
.hero-visual {
  position: relative; width: 100%; aspect-ratio: 1; margin-inline: auto;
  max-width: 520px;
  max-width: clamp(300px, calc(100svh - var(--header-h) - 116px), 520px);
}
.hero-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(0, 0, 102, 0.16); animation: spin 80s linear infinite; }
.hero-circle {
  position: absolute; inset: 9%; border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #ff6a6a 0%, var(--red) 55%, #cf0000 100%);
  box-shadow: 0 50px 90px -40px rgba(255, 0, 0, 0.7);
}
.hero-circle .logo-arrow { position: absolute; width: 38%; left: 31%; top: 22%; opacity: 0.16; }
.hero-swap { position: absolute; inset: 2% 0 0; }
.hero-swap img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 34px 30px rgba(0, 0, 50, 0.35));
  opacity: 0; transform: translateY(16px) scale(0.98);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.hero-swap img.is-active { opacity: 1; transform: none; animation: float 7s ease-in-out infinite; }

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.95); border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-card .num { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; line-height: 1; color: var(--navy); }
.float-card .lbl { font-size: 0.85rem; line-height: 1.25; color: var(--muted); font-weight: 500; }
.float-card .lbl b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1rem; }
.fc-1 { left: -4%; bottom: 12%; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquesina ---------- */
.marquee { overflow: hidden; padding: 26px 0; background: #fff; border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-item {
  display: flex; align-items: center; gap: 44px; padding-right: 44px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.6rem, 3.4vw, 2.8rem); letter-spacing: -0.01em; line-height: 1.1;
  color: var(--navy);
}
/* Solo contorno: el trazo se pinta debajo y el relleno blanco encima tapa las líneas internas de la fuente */
.marquee-item:nth-child(even) { color: #fff; -webkit-text-stroke: 3px var(--navy); paint-order: stroke fill; letter-spacing: 0.03em; }
.marquee-item::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--red); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tarjetas de producto ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.products-grid.three { grid-template-columns: repeat(3, 1fr); }

.product-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product-card .media { aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(160deg, #f4f6ff, #fff3f3); }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.product-card:hover .media img { transform: scale(1.07); }
.product-card .body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 22px 22px 24px; }
.product-card .num { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; color: var(--red); }
.product-card h3 { font-size: 1.3rem; margin: 0; }
.product-card p { font-size: 0.94rem; color: var(--muted); margin: 0; }
.product-card .more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.ico-circle { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--cool); color: var(--navy); transition: background 0.3s, color 0.3s, transform 0.3s var(--ease); }
.ico-circle .i { width: 18px; height: 18px; }
.product-card:hover .ico-circle { background: var(--red); color: #fff; transform: rotate(-45deg); }
.product-card .stretched::after { content: ""; position: absolute; inset: 0; }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.years { display: flex; align-items: center; gap: 18px; margin: 4px 0 18px; }
.years .n {
  font-family: var(--font-display); font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  font-size: clamp(6.5rem, 13vw, 10.5rem);
  padding: 0.06em 0.08em 0.04em 0; margin: -0.08em 0 -0.06em;   /* espacio para que el degradado no recorte los números */
  background: linear-gradient(160deg, var(--red) 10%, #ff6262 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.years .t { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; color: var(--ink); line-height: 1.15; }
.years .t span { display: block; font-weight: 400; color: var(--muted); font-size: 0.75em; margin-top: 6px; }
.about-grid h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; }

.features { display: grid; gap: 12px; margin-top: 26px; }
.feature {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm);
}
.feature .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--cool); color: var(--navy); flex: none; }
.feature strong { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }

.collage { position: relative; padding: 0 0 56px 56px; }
.collage .main { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow); }
.collage .sub {
  position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 1; object-fit: cover;
  border-radius: 24px; border: 6px solid #fff; box-shadow: var(--shadow);
}
.collage .tagline {
  position: absolute; right: 24px; top: -20px; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow);
  font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 0.95rem;
}
.collage .tagline .dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.18); }

/* ---------- Galería tipo bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 24px; }
/* Marco blanco + línea fina + sombra para que se note dónde termina cada imagen */
.bento .tile {
  box-shadow:
    0 0 0 5px #fff,
    0 0 0 6px rgba(0, 0, 102, 0.16),
    0 20px 36px -18px rgba(0, 0, 102, 0.55);
}
.tile { position: relative; display: block; overflow: hidden; border-radius: 22px; background: #f2f3f8; cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.tile:hover img { transform: scale(1.07); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 60, 0.35)); opacity: 0; transition: opacity 0.35s; }
.tile:hover::after { opacity: 1; }
.tile .tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.94);
  font-size: 0.78rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm);
}
.tile.w2 { grid-column: span 2; }
.tile.h2 { grid-row: span 2; }
.tile.contain img { object-fit: contain; padding: 14px; }
.tile.grad { background: linear-gradient(160deg, var(--cool), #ffe9e9); }

/* ---------- CTA ---------- */
.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 32px;
  padding: clamp(36px, 6vw, 72px); border-radius: 36px; color: #fff;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(255, 0, 0, 0.6), transparent 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 50%, var(--navy-600) 100%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 102, 0.7);
}
.cta-card h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
.cta-card p { color: rgba(255, 255, 255, 0.8); font-size: 1.08rem; margin: 0; max-width: 44ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-card .logo-arrow { position: absolute; z-index: -1; right: -40px; bottom: -70px; width: 320px; opacity: 0.08; transform: rotate(18deg); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 72px 0 28px; color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 60%, #0b0b8c 100%);
}
.site-footer .logo-arrow { position: absolute; z-index: -1; left: -80px; top: -60px; width: 300px; opacity: 0.05; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 1.4fr; gap: 40px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; margin-top: 3px; color: #ff6b6b; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.88rem;
}
.footer-bottom .credit a {
  color: #fff; font-weight: 600;
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px;
}
.footer-bottom .credit a:hover { text-decoration-color: #ff6b6b; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 16px 30px -10px rgba(37, 211, 102, 0.75);
  transition: transform 0.25s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #25d366; animation: pulse 2.6s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .i-fill { width: 30px; height: 30px; }
.wa-float .tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%);
  padding: 8px 14px; border-radius: 12px; background: #fff; color: var(--ink); white-space: nowrap;
  font-size: 0.88rem; font-weight: 600; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: 0.25s;
}
.wa-float:hover .tip { opacity: 1; transform: translate(0, -50%); }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Páginas internas ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); }
.page-hero.center { text-align: center; }
.page-hero.center .lead { margin-inline: auto; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; margin-bottom: 16px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 0.88rem; color: var(--muted); }
.page-hero.center .breadcrumb { justify-content: center; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .i { width: 14px; height: 14px; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }


.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 0.88rem; font-weight: 600; color: var(--navy); transition: transform 0.2s, border-color 0.2s;
}
.chip .i { width: 16px; height: 16px; }
.chip.red { background: var(--red-50); border-color: rgba(255, 0, 0, 0.14); color: var(--red-600); }
a.chip:hover { transform: translateY(-2px); border-color: rgba(0, 0, 102, 0.25); }

/* Filas de la página Productos */
.prow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; padding: 36px 0; }
.prow + .prow { margin-top: clamp(24px, 4vw, 48px); }
.prow:nth-child(even) .prow-media { order: 2; }
.prow-media { position: relative; isolation: isolate; }
.prow-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow); }
.prow-media::before {
  content: ""; position: absolute; z-index: -1; left: -18px; top: -18px; width: 58%; height: 62%;
  border-radius: 32px; background: linear-gradient(135deg, #dfe3ff, var(--cool));
}
.prow:nth-child(even) .prow-media::before { left: auto; top: auto; right: -18px; bottom: -18px; background: linear-gradient(135deg, #ffe0e0, var(--warm)); }
.big-num {
  font-family: var(--font-display); font-size: clamp(3.6rem, 7vw, 5.4rem); font-weight: 800; line-height: 1.05; margin-bottom: 4px;
  background: linear-gradient(180deg, rgba(0, 0, 102, 0.22), rgba(0, 0, 102, 0.05));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.prow h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; }
.prow p { font-size: 1.06rem; color: var(--muted); max-width: 46ch; }
.prow .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Detalle de producto */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.pd-grid .lead { max-width: 46ch; }
.pd-media { position: relative; isolation: isolate; padding: 0 22px 22px 0; }
.pd-media .frame { overflow: hidden; border-radius: 32px; aspect-ratio: 1; background: #fff; box-shadow: var(--shadow); }
.pd-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.pd-media::before {
  content: ""; position: absolute; z-index: -1; right: 0; bottom: 0; width: 72%; height: 72%;
  border-radius: 36px; background: linear-gradient(135deg, #ff3b3b, #ff8a8a);
}
.pd-media .badge {
  position: absolute; left: -14px; bottom: 54px; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px; background: #fff; box-shadow: var(--shadow);
  font-family: var(--font-display); font-weight: 600; color: var(--ink); animation: float 6s ease-in-out infinite;
}
.pd-media .badge .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--cool); color: var(--navy); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step {
  position: relative; padding: 32px 22px 28px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-sm);
}
.step .ico {
  position: relative; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 24px;
  display: grid; place-items: center; color: var(--navy);
  background: linear-gradient(140deg, var(--cool), #fff);
  box-shadow: inset 0 0 0 1px var(--line);
}
.step .ico .i { width: 34px; height: 34px; stroke-width: 1.7; }
.step .n {
  position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff;
  font-size: 0.8rem; font-weight: 700; box-shadow: var(--shadow-red);
}
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { font-size: 0.93rem; color: var(--muted); margin: 0; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 70px; right: -22px; width: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--red) 0 5px, transparent 5px 9px);
}

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.spec {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(28px, 4vw, 40px); border-radius: 30px; color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
  box-shadow: var(--shadow);
}
.spec.red { background: linear-gradient(135deg, #ff2b2b 0%, #c80000 100%); box-shadow: 0 30px 60px -30px rgba(255, 0, 0, 0.7); }
.spec h3 { color: rgba(255, 255, 255, 0.75); font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.spec .big { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.spec .big span {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1;
  padding: 12px 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22);
}
.spec .big .plus { background: none; border: 0; padding: 0; opacity: 0.6; }
.spec p { margin: 18px 0 0; color: rgba(255, 255, 255, 0.82); }
.spec .logo-arrow { position: absolute; z-index: -1; right: -30px; bottom: -40px; width: 180px; opacity: 0.1; transform: rotate(16deg); }

.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.hl { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.hl .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red-50); color: var(--red); }
.hl h3 { font-size: 1.05rem; margin: 0; line-height: 1.25; }

.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.option { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-sm); text-align: center; }
.option h3 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.option .pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.option .pair > div { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px; border-radius: 20px; background: linear-gradient(160deg, var(--cool), #fff); font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.option .pair > div:last-child { background: linear-gradient(160deg, var(--warm), #fff); }
.option .pair .i { width: 30px; height: 30px; stroke-width: 1.7; color: var(--navy); }
.option .pair > div:last-child .i { color: var(--red); }
.option .or { font-size: 0.8rem; font-weight: 600; color: var(--muted); }

/* Contacto: tarjetas a la izquierda, mapa a la derecha */
.contact-layout { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr); gap: 28px; align-items: stretch; }
.contact-layout .info-cards { grid-auto-rows: 1fr; }
.contact-layout .map { height: auto; min-height: 440px; }

.info-cards { display: grid; gap: 14px; }
.info-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
a.info-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.info-card .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; flex: none; background: linear-gradient(135deg, #ff3030, var(--red-600)); }
.info-card .ico.navy { background: linear-gradient(135deg, var(--navy-600), var(--navy)); }
.info-card .ico.wa { background: #25d366; }
.info-card .ico .i, .info-card .ico .i-fill { width: 24px; height: 24px; }
.info-card small { display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.info-card strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.info-card .txt { min-width: 0; }
.info-card .go {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding-left: 8px;
  font-size: 0.86rem; font-weight: 600; color: var(--navy); white-space: nowrap;
}
.info-card .go .i { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
a.info-card:hover .go .i { transform: translateX(3px); }

.map { overflow: hidden; border-radius: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); height: clamp(320px, 40vw, 440px); background: var(--cool); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px;
  background: rgba(0, 0, 35, 0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1200px, 100%); max-height: 86vh; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); background: #fff; }
.lightbox-close {
  position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--navy); cursor: pointer;
}

/* ---------- Animaciones de entrada ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="left"] { transform: translateX(-30px); }
.js [data-reveal="right"] { transform: translateX(30px); }
.js [data-reveal="zoom"] { transform: scale(0.94); }
[data-delay="1"] { transition-delay: 0.1s !important; }
[data-delay="2"] { transition-delay: 0.2s !important; }
[data-delay="3"] { transition-delay: 0.3s !important; }
[data-delay="4"] { transition-delay: 0.4s !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid, .about-grid, .pd-grid, .prow, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 28px; }
  .hero-visual { max-width: 420px; max-width: min(420px, 46svh); }
  .contact-layout .map { min-height: 340px; }
  .prow:nth-child(even) .prow-media { order: 0; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps:not(.three) .step:nth-child(2)::after { display: none; }
  .specs, .options { grid-template-columns: 1fr; }
  .steps.three { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .steps.three .step { padding: 26px 14px 22px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 20px; }
  .products-grid.three { grid-template-columns: repeat(2, 1fr); }
  .collage { padding: 0 0 40px 32px; }
}

@media (max-width: 560px) {
  .brand img { height: 32px; }
  .hero h1 { margin: 14px 0 12px; }
  .hero .lead { font-size: 0.94rem; }
  .hero-actions { margin-top: 22px; gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; padding: 13px 16px; font-size: 0.94rem; }
  .prow .actions .btn { flex: 1 1 auto; }
  .hero-visual { max-width: 340px; max-width: min(340px, 50svh); }
  .hero-swap { inset: -6% -3% -2%; }   /* botellas un poco más grandes dentro del círculo */
  .page-hero h1 { font-size: clamp(1.9rem, 8.6vw, 2.4rem); }
  .prow h2 { font-size: clamp(1.6rem, 7.6vw, 1.9rem); }
  .float-card { padding: 10px 14px; gap: 10px; border-radius: 16px; }
  .float-card .num { font-size: 1.8rem; }
  .float-card .lbl { font-size: 0.78rem; }
  .fc-1 { left: 0; bottom: 4%; }
  .products-grid, .products-grid.three { grid-template-columns: 1fr; }
  .steps, .steps.three { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .highlights { grid-template-columns: 1fr; }
  .bento { grid-auto-rows: 150px; gap: 14px; }
  .bento .tile { box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(0, 0, 102, 0.16), 0 14px 26px -14px rgba(0, 0, 102, 0.55); }
  .tile { border-radius: 16px; }
  .tile .tag { left: 8px; bottom: 8px; font-size: 0.7rem; padding: 5px 10px; }
  .info-card .go { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .collage .tagline { right: 10px; top: -16px; font-size: 0.82rem; }
  .pd-media .badge { left: 0; }
  .option .pair { grid-template-columns: 1fr; }
  .wa-float { right: 14px; bottom: 14px; width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
