/*
  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;
  --white: #ffffff;
  --radius: 1rem;
  --shadow-soft: 0 6px 20px rgba(8, 35, 60, 0.06);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Syne", 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%),
    url("../assets/revista/hoja-0-frente.jpg") center 14vh / clamp(220px, 38vw, 480px) no-repeat;
  opacity: 0.07;
  filter: saturate(0.7) contrast(1.05);
}

.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: rgba(244, 248, 252, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 45, 77, 0.06);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0; gap: 1rem;
}
.header__logo {
  display: inline-flex; align-items: center;
  text-decoration: none;
}
.header__logo-img {
  height: 46px;
  width: auto;
  max-width: 180px;
  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: var(--muted);
  transition: color 0.2s, background 0.2s;
  min-height: 44px; display: inline-flex; align-items: center;
}
.header__nav a:hover { color: var(--ink); background: var(--violet-soft); }
.header__nav a.header__nav-cta {
  background: var(--violet);
  color: #fff;
}
.header__nav a.header__nav-cta:hover {
  background: var(--violet-light);
  color: #fff;
}
.header__menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; background: var(--white);
  border-radius: 0.65rem; padding: 0.5rem 0.7rem; cursor: pointer;
  box-shadow: var(--shadow-soft); 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: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(15, 45, 77, 0.08);
  box-shadow: 0 8px 20px rgba(15, 45, 77, 0.06);
}
.header__nav-mobile a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  color: var(--ink);
  min-height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(60, 67, 152, 0.06);
  border: 1px solid rgba(60, 67, 152, 0.1);
  -webkit-tap-highlight-color: transparent;
}
.header__nav-mobile a:active { background: rgba(60, 67, 152, 0.14); }
.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.22);
}
.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;
}
.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: 3rem 0 3.5rem;
}
.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 {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
}
.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: 1.5rem; }
.hero__stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hero__stats li { display: grid; }
.hero__stats strong { font-family: var(--display); font-size: 1.4rem; color: var(--navy); }
.hero__stats span { font-size: 0.82rem; color: var(--muted); font-weight: 600; }

/* 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: 1rem 1.25rem 1.25rem 1.5rem; }
.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 {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: min(68vh, 480px);
  margin: 0 auto;
}
.tech-plate--gallery .tech-plate__media img { max-height: 360px; }
.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: rgba(244, 248, 252, 0.82);
}
.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: rgba(238, 243, 248, 0.9); }
.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: 1.25rem; }
.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 */
.gallery {
  position: relative; display: grid; gap: 1rem;
  grid-template-columns: auto 1fr auto; align-items: center;
}
.gallery__track {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(15, 45, 77, 0.06);
  min-height: 300px;
}
.gallery__slide { display: none; padding: 1rem; text-align: center; }
.gallery__slide--active { display: block; animation: fadeUp 0.3s ease; }
.gallery__slide figcaption { margin-top: 0.65rem; font-weight: 600; color: var(--muted); font-size: 0.92rem; }
.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; 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 > div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0; border-bottom: 1px solid rgba(15, 45, 77, 0.08);
}
.tech-specs dt { font-weight: 600; color: var(--muted); margin: 0; }
.tech-specs dd { margin: 0; font-weight: 800; color: var(--ink); }
.tech-specs--inline > div { border-color: rgba(255, 255, 255, 0.12); }
.tech-specs--inline dt { color: #9ec5de; }
.tech-specs--inline dd { color: #fff; }
.tech-specs--cards {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem;
}
.tech-specs--cards > div {
  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;
}

/* 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: rgba(244, 248, 252, 0.9);
}
.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;
}
.lightbox__figure { margin: 0; max-width: min(96vw, 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; }
.wa-float { right: 1rem; bottom: 1rem; }
.gallery { grid-template-columns: 1fr; }
.gallery__nav { display: none; }
.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; background-size: clamp(180px, 55vw, 320px); }
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%; }
}

@media (min-width: 961px) {
  .header__nav { display: flex; }
  .header__menu-btn { display: none; }
  .revista__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .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 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .gallery__nav { display: flex; }
  .site-watermark { opacity: 0.07; background-size: clamp(220px, 38vw, 480px); }
  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: 40px; max-width: 150px; }
  .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(2rem, env(safe-area-inset-top)); }
  .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; }
  .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;
}
