/*
  OUBE Landing | Estilos sitio público
  BEM · mobile-first · patrón módulos y piñones
*/

:root {
  --bg: #f4f6fc;
  --ink: #0c1b2e;
  --muted: #5a7088;
  --cyan: #12b5e5;
  --cyan-dark: #0a8eb8;
  --violet: #3c4398;
  --violet-light: #7b4bb7;
  --violet-soft: rgba(60, 67, 152, 0.12);
  --violet-glow: rgba(123, 75, 183, 0.18);
  --navy: #0f2d4d;
  --navy-deep: #081a2e;
  --grad-oube: linear-gradient(90deg, var(--navy-deep) 0%, #13406a 48%, var(--cyan-dark) 100%);
  --grad-header: linear-gradient(
    90deg,
    #f0f8fc 0%,
    #d8eef8 14%,
    #a8d9ef 30%,
    #5eb8d8 48%,
    #24789a 64%,
    #13406a 80%,
    var(--navy-deep) 100%
  );
  --white: #ffffff;
  --radius: 1rem;
  --shadow-soft: 0 6px 20px rgba(8, 35, 60, 0.06);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Syne", system-ui, -apple-system, "Segoe UI", sans-serif;
  --plate-border: rgba(15, 45, 77, 0.1);
  /* Patrones SVG — módulos (ladrillo) y piñones Z10 */
  --pat-modulo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='50' viewBox='0 0 96 50'%3E%3Cg fill='none' stroke='%230f2d4d' stroke-width='0.85' opacity='0.09'%3E%3Crect x='1' y='2' width='28' height='15' rx='2.5'/%3E%3Crect x='33' y='2' width='28' height='15' rx='2.5'/%3E%3Crect x='65' y='2' width='28' height='15' rx='2.5'/%3E%3Crect x='17' y='26' width='28' height='15' rx='2.5'/%3E%3Crect x='49' y='26' width='28' height='15' rx='2.5'/%3E%3Crect x='81' y='26' width='14' height='15' rx='2.5'/%3E%3C/g%3E%3Cg fill='%2312b5e5' opacity='0.05'%3E%3Ccircle cx='15' cy='9.5' r='2.2'/%3E%3Ccircle cx='47' cy='9.5' r='2.2'/%3E%3Ccircle cx='79' cy='9.5' r='2.2'/%3E%3Ccircle cx='31' cy='33.5' r='2.2'/%3E%3Ccircle cx='63' cy='33.5' r='2.2'/%3E%3C/g%3E%3C/svg%3E");
  --pat-modulo-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='38' viewBox='0 0 72 38'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.75' opacity='0.14'%3E%3Crect x='1' y='1' width='21' height='11' rx='2'/%3E%3Crect x='25' y='1' width='21' height='11' rx='2'/%3E%3Crect x='49' y='1' width='21' height='11' rx='2'/%3E%3Crect x='13' y='19' width='21' height='11' rx='2'/%3E%3Crect x='37' y='19' width='21' height='11' rx='2'/%3E%3Crect x='61' y='19' width='10' height='11' rx='2'/%3E%3C/g%3E%3C/svg%3E");
  --pat-pinon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360'%3E%3Cg fill='none' stroke='%230a8eb8' stroke-width='0.9' opacity='0.07' transform='translate(180,180)'%3E%3Ccircle r='52'/%3E%3Ccircle r='38'/%3E%3Ccircle r='14'/%3E%3Crect x='-7' y='-7' width='14' height='14' rx='1.5'/%3E%3Cline x1='0' y1='-58' x2='0' y2='-68'/%3E%3Cline x1='0' y1='58' x2='0' y2='68'/%3E%3Cline x1='-58' y1='0' x2='-68' y2='0'/%3E%3Cline x1='58' y1='0' x2='68' y2='0'/%3E%3Cline x1='41' y1='-41' x2='48' y2='-48'/%3E%3Cline x1='41' y1='41' x2='48' y2='48'/%3E%3Cline x1='-41' y1='41' x2='-48' y2='48'/%3E%3Cline x1='-41' y1='-41' x2='-48' y2='-48'/%3E%3Cline x1='15' y1='-55' x2='18' y2='-64'/%3E%3Cline x1='-15' y1='-55' x2='-18' y2='-64'/%3E%3Cline x1='55' y1='-15' x2='64' y2='-18'/%3E%3Cline x1='55' y1='15' x2='64' y2='18'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    var(--pat-modulo),
    var(--pat-pinon),
    radial-gradient(ellipse 55% 40% at 88% 8%, var(--violet-glow), transparent 70%),
    radial-gradient(ellipse 45% 35% at 4% 92%, var(--violet-soft), transparent 72%),
    var(--pat-pinon);
  background-size: 96px 50px, 400px 400px, auto, auto, 340px 340px;
  background-position: 0 0, calc(100% + 80px) 12vh, 0 0, 0 0, -140px calc(100% - 180px);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  padding-bottom: env(safe-area-inset-bottom);
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); line-height: 1.15; }
p { margin: 0; }
.wrap { width: min(1140px, calc(100% - 2rem)); margin-inline: auto; }
.wrap--wide { width: min(1320px, calc(100% - 1.5rem)); margin-inline: auto; }
.header, main, .footer { position: relative; z-index: 1; width: 100%; max-width: 100%; }
main { overflow-x: hidden; }

/* Marca de agua — hoja 0 portada, no interfiere con contenido */
.site-watermark {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 22%, rgba(255, 255, 255, 0.55), transparent 72%);
  opacity: 0.07;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 0.5rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(123, 75, 183, 0.45);
  outline-offset: 3px;
}

/* Header */
.header {
  position: sticky; top: 0; z-index: 40;
  background: var(--grad-header);
  border-bottom: 1px solid rgba(15, 45, 77, 0.12);
  box-shadow: 0 4px 20px rgba(8, 35, 60, 0.18);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0; gap: 1rem;
  min-height: clamp(96px, 14vw, 132px);
}
.header__logo {
  display: inline-flex; align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.header__logo-img {
  height: clamp(104px, 16vw, 144px);
  width: auto;
  max-width: min(480px, 78vw);
  object-fit: contain;
  object-position: left center;
}
.header__nav { display: none; gap: 0.25rem; align-items: center; }
.header__nav a {
  text-decoration: none; font-weight: 600; font-size: 0.92rem;
  padding: 0.5rem 0.85rem; border-radius: 999px; color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s, background 0.2s;
  min-height: 44px; display: inline-flex; align-items: center;
}
.header__nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.14); }
.header__nav a.header__nav-cta {
  background: linear-gradient(135deg, var(--violet), var(--violet-light));
  color: #fff;
  box-shadow: 0 4px 14px rgba(60, 67, 152, 0.35);
}
.header__nav a.header__nav-cta:hover {
  background: linear-gradient(135deg, #4a52a8, #8b55c4);
  color: #fff;
}
.header__menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 0.65rem; padding: 0.5rem 0.7rem; cursor: pointer;
  box-shadow: 0 4px 12px rgba(8, 35, 60, 0.2);
  min-width: 44px; min-height: 44px;
}
.header__nav-mobile {
  display: grid;
  gap: 0.5rem;
  padding: 0.75rem max(1rem, env(safe-area-inset-left)) 1rem max(1rem, env(safe-area-inset-right));
  background: linear-gradient(180deg, #d8eef8 0%, #3d8fad 42%, #13406a 72%, var(--navy-deep) 100%);
  border-bottom: 1px solid rgba(15, 45, 77, 0.14);
  box-shadow: 0 8px 20px rgba(8, 35, 60, 0.2);
}
.header__nav-mobile a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  color: #fff;
  min-height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(8, 26, 46, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-tap-highlight-color: transparent;
}
.header__nav-mobile a:active { background: rgba(8, 26, 46, 0.42); }
.header__nav-mobile a[href="#contacto"] {
  background: linear-gradient(135deg, var(--violet), var(--violet-light));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(60, 67, 152, 0.35);
}
.header__nav-mobile[hidden] { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  text-decoration: none; font-weight: 700; border-radius: 999px;
  padding: 0.75rem 1.25rem; border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  min-height: 44px; cursor: pointer; font-family: inherit; font-size: 1rem;
  text-align: center;
  line-height: 1.25;
}
.btn i[class*="fa-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125em;
  flex-shrink: 0;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: linear-gradient(135deg, var(--violet), var(--violet-light)); color: #fff; box-shadow: 0 8px 20px rgba(60, 67, 152, 0.28); }
.btn--mail { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(15, 45, 77, 0.2); }
.btn--ghost { background: rgba(255, 255, 255, 0.92); color: var(--navy); border-color: rgba(15, 45, 77, 0.12); }
.btn--lg { padding: 0.9rem 1.5rem; }

/* Hero */
.hero {
  padding: 1.5rem 0 1.25rem;
  background-color: rgba(244, 248, 252, 0.72);
  background-image: var(--pat-modulo);
  background-size: 96px 50px;
  background-repeat: repeat;
}
.hero--compact .hero__copy { padding: clamp(1.1rem, 2.5vw, 1.75rem); }
.hero--compact .hero__lead { margin-bottom: 1rem; font-size: 1rem; }
.hero--compact h1 { font-size: clamp(1.65rem, 4.5vw, 2.6rem); margin-bottom: 0.75rem; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
.hero__copy {
  width: 100%;
  max-width: none;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 45, 77, 0.06);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--cyan-dark); background: rgba(18, 181, 229, 0.1);
  padding: 0.4rem 0.8rem; border-radius: 999px; margin: 0 0.4rem 0.75rem 0;
}
.hero__badge--ship { background: var(--violet-soft); color: var(--violet); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; color: var(--navy-deep); }
.hero h1 em { font-style: normal; color: var(--violet-light); }
.hero__lead { font-size: 1.05rem; color: var(--muted); max-width: 72ch; margin-bottom: 1.25rem; }

/* WhatsApp flotante — burbuja de mensaje */
.wa-float {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.wa-float__bubble {
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.7rem 0.95rem;
  border-radius: 1rem 1rem 0.35rem 1rem;
  box-shadow: 0 8px 24px rgba(60, 67, 152, 0.16);
  border: 1px solid rgba(60, 67, 152, 0.12);
  white-space: nowrap;
  flex-shrink: 0;
  animation: waBubbleIn 0.5s ease;
}
.wa-float__btn {
  position: relative;
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: 50% 50% 50% 14%;
  background: #fff;
  box-shadow: 0 12px 28px rgba(60, 67, 152, 0.22);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waFloatBtn 2.8s ease-in-out infinite;
  border: 2px solid rgba(60, 67, 152, 0.1);
}
.wa-float:hover .wa-float__btn {
  transform: scale(1.06);
  box-shadow: 0 14px 32px rgba(123, 75, 183, 0.28);
}
.wa-float__btn img,
.wa-float__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
}
@keyframes waFloatBtn {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes waBubbleIn {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: none; }
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0; }

/* Selector de cotización — menú dentro del botón */
.quote-picker {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 100%;
}
.quote-picker--stack { width: 100%; }
.quote-picker__toggle {
  position: relative;
  width: 100%;
  justify-content: center;
  padding-inline: 2.35rem;
  gap: 0.5rem;
}
.quote-picker__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 0 1 auto;
  min-width: 0;
  text-align: center;
}
.quote-picker__label i[class*="fa-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125em;
  flex-shrink: 0;
  line-height: 1;
}
.quote-picker__chevron {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.82rem;
  opacity: 0.85;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}
.quote-picker--open .quote-picker__chevron { transform: translateY(-50%) rotate(180deg); }
.quote-picker__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 50;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(60, 67, 152, 0.14);
  border-radius: 0.85rem;
  box-shadow: 0 14px 32px rgba(8, 35, 60, 0.16);
  animation: fadeUp 0.2s ease;
}
.quote-picker__menu[hidden] { display: none; }
.quote-picker__item {
  display: block;
  padding: 0.72rem 0.9rem;
  border-radius: 0.6rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s ease;
}
.quote-picker__item:hover,
.quote-picker__item:focus-visible {
  background: var(--violet-soft);
  color: var(--violet);
}
.quote-picker__item--wa { color: var(--violet); }
.quote-picker__item--mail { color: var(--navy); }

.quote-picker--float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 60;
  width: auto;
}
.quote-picker__menu--float {
  bottom: calc(100% + 0.5rem);
  top: auto;
  left: auto;
  right: 0;
  min-width: min(280px, calc(100vw - 2rem));
}
.quote-picker--float .wa-float {
  position: static;
  right: auto;
  bottom: auto;
}

/* Plano técnico — contenedor de imagen */
.tech-plate {
  position: relative;
  padding: 1.25rem 1.5rem 1.5rem 1.75rem;
  background-color: rgba(255, 255, 255, 0.55);
  background-image: var(--pat-modulo);
  background-size: 72px 38px;
  border: 1px solid var(--plate-border);
  border-radius: var(--radius);
}
.tech-plate--gallery { padding: 0.75rem; }
.tech-plate--gallery .tech-plate__media { text-align: center; }
.tech-plate__guides {
  position: absolute;
  inset: 0.5rem 0.5rem auto auto;
  width: 2.5rem;
  height: 2.5rem;
  pointer-events: none;
}
.tech-plate__dim {
  position: absolute;
  background: rgba(18, 181, 229, 0.35);
}
.tech-plate__dim--h {
  top: 0.35rem; left: 0;
  width: 100%; height: 1px;
}
.tech-plate__dim--h::before,
.tech-plate__dim--h::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 1px; height: 7px;
  background: rgba(18, 181, 229, 0.45);
}
.tech-plate__dim--h::before { left: 0; }
.tech-plate__dim--h::after { right: 0; }
.tech-plate__dim--v {
  top: 0; left: 0.35rem;
  width: 1px; height: 100%;
}
.tech-plate__dim--v::before,
.tech-plate__dim--v::after {
  content: "";
  position: absolute;
  left: -3px;
  width: 7px; height: 1px;
  background: rgba(18, 181, 229, 0.45);
}
.tech-plate__dim--v::before { top: 0; }
.tech-plate__dim--v::after { bottom: 0; }
.tech-plate__cota {
  position: absolute;
  top: -0.15rem; right: -0.1rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(10, 142, 184, 0.75);
  font-variant-numeric: tabular-nums;
}
.tech-plate__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}
.tech-plate__media img,
.tech-plate__media picture {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: min(68vh, 480px);
  margin: 0 auto;
}
.tech-plate--gallery .tech-plate__media img,
.tech-plate--gallery .tech-plate__media picture {
  max-height: min(36vh, 300px);
  margin-inline: auto;
}
.tech-plate__zoom {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  font-size: 0.72rem;
  color: rgba(15, 45, 77, 0.45);
  opacity: 0;
  transition: opacity 0.2s;
}
.tech-plate__media:hover .tech-plate__zoom,
.tech-plate__media:focus-visible .tech-plate__zoom { opacity: 1; }

/* Líneas guía desde texto hacia imagen (revista) */
.revista__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}
.revista__layout--solo-text { grid-template-columns: 1fr; max-width: 640px; }
.revista__layout .tech-plate::after {
  content: "";
  position: absolute;
  top: 42%;
  right: -1.75rem;
  width: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(18, 181, 229, 0.5), transparent);
  pointer-events: none;
}
.revista__layout .revista__text::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  left: -1rem;
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(180deg, rgba(18, 181, 229, 0.45), transparent);
  pointer-events: none;
}
.revista__text { position: relative; }

/* Shipping banner */
.shipping-banner {
  padding: 1.25rem 0;
  background: rgba(244, 246, 252, 0.92);
  border-block: 1px solid rgba(60, 67, 152, 0.12);
}
.shipping-banner__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
.shipping-banner__icon { margin: 0 auto; }
.shipping-banner__inner .btn { width: 100%; }
.shipping-banner__icon {
  width: 52px; height: 52px; border-radius: 1rem;
  display: grid; place-items: center; font-size: 1.4rem;
  background: linear-gradient(135deg, var(--violet), var(--violet-light)); color: #fff;
}
.shipping-banner__title { font-size: 1.15rem; margin-bottom: 0.2rem; }
.shipping-banner__text { color: var(--muted); font-size: 0.95rem; max-width: 58ch; }

/* Sections */
.section {
  padding: 4rem 0;
  background-color: rgba(244, 248, 252, 0.88);
  background-image: var(--pat-modulo);
  background-size: 96px 50px;
  background-repeat: repeat;
}
.section--product { padding: 2rem 0; }
.section--gallery { padding-top: 1.25rem; }
.section--lazy { content-visibility: auto; contain-intrinsic-size: auto 500px; }
.section-head--compact { margin-bottom: 1rem; }
.section-head--compact h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.section-head--compact .section-desc { margin-top: 0.45rem; }
.section--dark {
  background: linear-gradient(160deg, rgba(8, 26, 46, 0.97), rgba(15, 45, 77, 0.96));
  color: #e8f2fa;
}
.section--dark h2 { color: #fff; }
.section--dark .tech-plate {
  background-color: rgba(255, 255, 255, 0.04);
  background-image: var(--pat-modulo-light);
  background-size: 60px 32px;
  border-color: rgba(255, 255, 255, 0.1);
}
.section--muted {
  background-color: rgba(238, 243, 248, 0.92);
  background-image: var(--pat-modulo);
  background-size: 96px 50px;
  background-repeat: repeat;
}
.eyebrow { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--violet); margin-bottom: 0.5rem; }
.eyebrow--light { color: #7dd3f0; }
.section-head { margin-bottom: 2rem; }
.section-head--center { text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-desc { color: var(--muted); margin-top: 0.6rem; max-width: 58ch; }
.section-desc--light { color: #9ec5de; }
.section-head--center .section-desc { margin-inline: auto; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.product-card {
  grid-column: span 3;
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 45, 77, 0.05);
  display: grid; align-content: start; gap: 0.65rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(8, 35, 60, 0.08); }
.product-card--featured { grid-column: span 6; background: rgba(255, 255, 255, 0.92); }
.product-card--accent { grid-column: span 6; background: linear-gradient(135deg, var(--navy), #1a4a6e); color: #e8f2fa; }
.product-card--accent h3 { color: #fff; }
.product-card--accent p { color: rgba(255, 255, 255, 0.9); }
.product-card--accent .product-card__icon { background: rgba(255, 255, 255, 0.12); color: #7dd3f0; }
.product-card__icon {
  width: 48px; height: 48px; border-radius: 0.85rem;
  display: grid; place-items: center;
  background: rgba(18, 181, 229, 0.12); color: var(--cyan-dark); font-size: 1.2rem;
}
.product-card h3 { font-size: 1.15rem; }
.product-card p { color: var(--muted); font-size: 0.95rem; }
.product-card.product-card--accent p,
.product-card--accent p {
  color: rgba(232, 244, 252, 0.96);
  line-height: 1.55;
}
.spec-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.spec-chips li {
  font-size: 0.78rem; font-weight: 700; padding: 0.25rem 0.55rem;
  border-radius: 999px; background: rgba(18, 181, 229, 0.1); color: var(--cyan-dark);
}

/* Revista */
.revista__tabs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.85rem; }
.revista__tab {
  border: none; cursor: pointer; font-family: var(--font); font-weight: 700;
  padding: 0.55rem 1rem; border-radius: 999px; min-height: 44px;
  background: rgba(255, 255, 255, 0.08); color: #b8d4e8;
  display: inline-flex; align-items: center; justify-content: center;
}
.revista__tab--active { background: var(--cyan); color: var(--navy-deep); }
.revista__panel { display: none; animation: fadeUp 0.35s ease; }
.revista__panel--active { display: block; }
.revista__text h3 { font-size: 1.25rem; margin: 0 0 0.65rem; color: #fff; }
.revista__text h4 { font-size: 0.95rem; margin: 1rem 0 0.4rem; color: #7dd3f0; }
.revista__text p { color: #c5dceb; margin-bottom: 0.65rem; font-size: 0.95rem; }
.revista__list { margin: 0 0 0.75rem; padding-left: 1.2rem; color: #d4e6f4; }
.revista__list li { margin-bottom: 0.25rem; }
.revista__note { font-size: 0.82rem; color: #8eb5cc; font-style: italic; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.check-list li {
  padding-left: 1.6rem; position: relative; font-weight: 600; color: var(--navy);
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--cyan-dark); font-weight: 800;
}
.check-list--light li { color: #d4e6f4; }
.check-list--light li::before { color: #7dd3f0; }

/* Gallery — 3 imágenes visibles, centradas */
.gallery {
  position: relative;
  display: grid;
  gap: 0.5rem 0.65rem;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: min(1100px, 100%);
  margin: 0 auto;
}
.gallery__track {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 45, 77, 0.06);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(0.35rem, 1.2vw, 0.85rem);
  padding: clamp(0.45rem, 1vw, 0.85rem);
  width: 100%;
  min-height: 0;
}
.gallery__slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 0.2rem;
  text-align: center;
  scroll-snap-align: center;
  transition: opacity 0.25s ease, box-shadow 0.25s ease;
  opacity: 0.88;
}
.gallery__slide--active {
  opacity: 1;
  animation: fadeUp 0.3s ease;
}
.gallery__slide--active .tech-plate--gallery {
  box-shadow: 0 8px 22px rgba(15, 45, 77, 0.14);
}
.gallery__slide .tech-plate--gallery {
  width: 100%;
  margin: 0 auto;
}
.gallery__slide figcaption {
  margin-top: 0.45rem;
  font-weight: 600;
  color: var(--muted);
  font-size: clamp(0.68rem, 2vw, 0.92rem);
  line-height: 1.25;
}
.gallery__nav {
  width: 44px; height: 44px; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.95); color: var(--navy); cursor: pointer;
  box-shadow: var(--shadow-soft); display: grid; place-items: center;
  border: 1px solid rgba(15, 45, 77, 0.08);
}
.gallery__nav:hover { background: var(--cyan); color: #fff; }
.gallery__dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}
.gallery__dot {
  width: 10px; height: 10px; border-radius: 50%; border: none; padding: 0;
  background: #c5d6e4; cursor: pointer; min-width: 44px; min-height: 10px;
  background-clip: content-box;
}
.gallery__dot--active { background: var(--cyan-dark); background-clip: border-box; }

/* Tech tabs */
.tech-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; flex-wrap: wrap; justify-content: center; }
.tech-tabs__btn {
  border: none; cursor: pointer; font-family: var(--font); font-weight: 700;
  padding: 0.55rem 1.1rem; border-radius: 999px; min-height: 44px;
  background: rgba(255, 255, 255, 0.9); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
}
.tech-tabs__btn--active { background: var(--navy); color: #fff; }
.tech-panel { display: none; }
.tech-panel--active { display: block; animation: fadeUp 0.35s ease; }

.tech-specs { display: grid; gap: 0.5rem; margin: 0; }
.tech-specs__row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0; border-bottom: 1px solid rgba(15, 45, 77, 0.08);
}
.tech-specs__term { font-weight: 600; color: var(--muted); margin: 0; }
.tech-specs__value { margin: 0; font-weight: 800; color: var(--ink); }
.tech-specs--inline .tech-specs__row { border-color: rgba(255, 255, 255, 0.12); }
.tech-specs--inline .tech-specs__term { color: #9ec5de; }
.tech-specs--inline .tech-specs__value { color: #fff; }
.tech-specs--cards {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem;
}
.tech-specs--cards .tech-specs__row {
  background: rgba(255, 255, 255, 0.92); border-radius: 0.85rem; padding: 0.85rem 1rem;
  border: 1px solid rgba(15, 45, 77, 0.06);
  flex-direction: column; align-items: flex-start; gap: 0.2rem;
  border-bottom: none;
}

/* CTA */
.cta-section { padding-bottom: 4.5rem; background: transparent; }
.cta-box {
  background: linear-gradient(135deg, var(--navy-deep), #13406a 50%, var(--cyan-dark));
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 1.5rem 1.15rem;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
  box-shadow: 0 12px 36px rgba(8, 35, 60, 0.18);
}
.cta-box .eyebrow { color: #7dd3f0; }
.cta-box h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0.35rem 0; }
.cta-box__name { font-size: 1.1rem; font-weight: 700; margin-top: 0.5rem; }
.cta-box__loc, .cta-box__contact { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; margin-top: 0.35rem; }
.cta-box__contact a { color: #fff; }
.cta-box__actions { display: grid; gap: 0.65rem; min-width: 0; width: 100%; }
.cta-box__actions .btn { width: 100%; }

/* Footer */
.footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(15, 45, 77, 0.08);
  background-color: rgba(244, 248, 252, 0.92);
  background-image: var(--pat-modulo);
  background-size: 96px 50px;
  background-repeat: repeat;
}
.footer__inner { text-align: center; color: var(--muted); font-size: 0.9rem; display: grid; gap: 0.5rem; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.25rem;
  margin-top: 0.35rem;
}
.footer__legal a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}
.footer__legal a:hover { color: var(--cyan-dark); text-decoration: underline; }

/* Páginas legales */
.legal-page { padding: 3rem 0 4rem; }
.legal-page h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.5rem; color: var(--navy-deep); }
.legal-page__updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.legal-page section { margin-bottom: 1.75rem; }
.legal-page h2 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--navy); }
.legal-page p, .legal-page li { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.5rem; }
.legal-page ul { padding-left: 1.2rem; }
.legal-back { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1.5rem; font-weight: 600; text-decoration: none; color: var(--cyan-dark); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(4, 14, 28, 0.92);
  display: grid; place-items: center; padding: 1.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 44px; height: 44px; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.15); color: #fff; cursor: pointer; font-size: 1.2rem;
  z-index: 2;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  z-index: 2;
  display: grid;
  place-items: center;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__nav--prev { left: max(0.75rem, env(safe-area-inset-left)); }
.lightbox__nav--next { right: max(0.75rem, env(safe-area-inset-right)); }
.lightbox__nav[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(92vw, 1100px); text-align: center; }
.lightbox__img {
  max-width: 100%; max-height: 85vh; width: auto; height: auto;
  object-fit: contain; margin: 0 auto;
}
.lightbox__caption { color: #c5dceb; margin-top: 0.75rem; font-size: 0.95rem; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.wa-float__bubble { display: none; }
.gallery__nav { display: flex; flex-shrink: 0; }
.product-card, .product-card--featured, .product-card--accent { grid-column: span 12; }
.revista__layout .tech-plate::after,
.revista__layout .revista__text::before { display: none; }
.site-watermark { opacity: 0.05; }
body {
  background-size: 80px 42px, 280px 280px, 240px 240px;
  background-position: 0 0, calc(100% + 40px) 8vh, -100px calc(100% - 120px);
}

@media (min-width: 768px) {
  .shipping-banner__inner {
    grid-template-columns: auto 1fr auto;
    text-align: left;
    gap: 1.25rem;
  }
  .shipping-banner__icon { margin: 0; }
  .shipping-banner__inner .btn { width: auto; }
  .cta-box {
    grid-template-columns: 1fr auto;
    text-align: left;
    padding: 2.5rem;
    gap: 2rem;
  }
  .cta-box__actions { min-width: 240px; width: auto; }
  .cta-box__actions .btn { width: 100%; }
  .gallery__track { gap: 1rem; padding: 0.85rem 1rem; }
  .tech-plate--gallery .tech-plate__media img,
  .tech-plate--gallery .tech-plate__media picture {
    max-height: min(40vh, 340px);
  }
}

@media (min-width: 961px) {
  .header__nav { display: flex; }
  .header__menu-btn { display: none; }
  .revista__layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .revista__layout .tech-plate::after,
  .revista__layout .revista__text::before { display: block; }
  .wa-float__bubble { display: block; }
  .wa-float { right: 1.25rem; bottom: 1.25rem; }
  .gallery__nav { display: flex; }
  .site-watermark { opacity: 0.07; }
  body {
    background-size: 96px 50px, 400px 400px, 340px 340px;
    background-position: 0 0, calc(100% + 80px) 12vh, -140px calc(100% - 180px);
  }
}

@media (max-width: 767px) {
  .header__inner {
    width: calc(100% - 2rem);
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  .header__logo-img { height: 96px; max-width: min(440px, 72vw); }
  .header__inner { align-items: center; min-height: 96px; }
  .header__nav-mobile {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  .hero { padding-top: max(1.25rem, env(safe-area-inset-top)); }
  .section--gallery { padding-top: 1rem; }
  .section--gallery .wrap {
    width: min(1140px, calc(100% - 1.25rem));
  }
  .gallery {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    gap: 0.65rem;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    justify-items: center;
  }
  .gallery__track {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    overflow: visible;
    gap: 0.4rem;
    padding: 0.5rem;
    place-items: center;
  }
  .gallery__nav--prev {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }
  .gallery__dots {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    width: auto;
  }
  .gallery__nav--next {
    grid-column: 3;
    grid-row: 2;
    justify-self: center;
  }
  .gallery__slide {
    opacity: 1;
    padding: 0.1rem;
    justify-content: center;
    align-items: center;
  }
  .gallery__slide .tech-plate--gallery {
    width: 100%;
    margin-inline: auto;
  }
  .gallery__nav { width: 40px; height: 40px; }
  .tech-plate--gallery { padding: 0.5rem; }
  .tech-plate--gallery .tech-plate__media {
    min-height: 72px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .tech-plate--gallery .tech-plate__media img,
  .tech-plate--gallery .tech-plate__media picture {
    width: 100%;
    height: auto;
    max-height: none;
    min-height: 72px;
    object-fit: contain;
    margin-inline: auto;
  }
  .hero__grid { width: 100%; }
  .hero__copy { padding: 1.25rem; backdrop-filter: none; background: rgba(255, 255, 255, 0.95); }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { justify-content: space-between; gap: 0.75rem; }
  .section--product { padding: 1.75rem 0; }
  .tech-specs--cards { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
  .wa-float {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    max-width: calc(100% - 1.5rem);
  }
  .wa-float__bubble {
    white-space: normal;
    max-width: min(200px, 52vw);
    font-size: 0.82rem;
    padding: 0.55rem 0.75rem;
  }
  .wa-float__btn { width: 56px; height: 56px; }
  .revista__tabs, .tech-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    overflow: visible;
    flex-wrap: unset;
  }
  .revista__tab, .tech-tabs__btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .gallery__nav { gap: 0.35rem; }
  .footer__legal { flex-direction: column; align-items: center; gap: 0.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery__slide--active, .revista__panel--active, .tech-panel--active { animation: none; }
  .wa-float__btn { animation: none; }
}

.install-banner {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: min(420px, 92vw);
  padding: 0.75rem 1rem;
  background: var(--navy-deep);
  color: #e8f0fa;
  border-radius: 1rem;
  box-shadow: 0 12px 28px rgba(60, 67, 152, 0.35);
  font-size: 0.9rem;
}
.install-banner__btn {
  border: none;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, var(--violet-light), var(--violet));
  color: #fff;
  min-height: 36px;
}
.install-banner__close {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  min-width: 36px;
  min-height: 36px;
}
