/* ===================================================
   ERIKA RONDÓN — AGUA PURA MIAMI
   Diseño: Premium White Mode · Temática Agua / Miami
   Tipografía: Hanken Grotesk (300,400) + Inter (200,300)
   Prohibido: bold 700, semibold 600, medium 500
   Mínimo: 14px
   =================================================== */

/* --- VARIABLES ---------------------------------------- */
:root {
  /* Fondos — White mode */
  --bg:      #FFFFFF;
  --bg2:     #F4F9FD;
  --bg3:     #EBF5FC;
  --bg4:     #DFF0FA;

  /* Azul agua */
  --w50:   #E0F4FB;
  --w100:  #B3E5F6;
  --w200:  #80D3F0;
  --w300:  #4DC1E9;
  --w400:  #26B2E4;
  --w500:  #0096C7;
  --w600:  #0077B6;
  --w700:  #005F8F;
  --w800:  #004A72;
  --w900:  #003559;
  --rgb:   0, 150, 199;

  /* Cristal / Aqua */
  --crystal:      #48CAE4;
  --crystal-lt:   #90E0EF;
  --crystal-pale: #CAF0F8;
  --crystal-rgb:  72, 202, 228;

  /* Gradiente agua (paleta principal de acento) */
  --grad-water: linear-gradient(135deg, #005F8F 0%, #0096C7 40%, #48CAE4 80%, #90E0EF 100%);

  /* Texto — Dark para fondo blanco */
  --text:       #0A1628;
  --text-sub:   #3D5A72;
  --text-muted: #6B8CA4;

  /* Tipografía */
  --f-title: 'Hanken Grotesk', system-ui, sans-serif;
  --f-body:  'Inter', system-ui, sans-serif;

  /* Espaciado */
  --section-py: 96px;
  --container:  1160px;
  --radius:     18px;
  --radius-sm:  10px;

  /* Alturas del header fijo */
  --marquee-h: 38px;
  --navbar-h:  118px;
  --header-h:  calc(var(--marquee-h) + var(--navbar-h));
}

/* --- RESET -------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }

/* --- UTILIDADES --------------------------------------- */
.section-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--w600);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 6px 16px;
  border: 1px solid rgba(var(--rgb), 0.22);
  border-radius: 100px;
  background: rgba(var(--rgb), 0.05);
}
.section-title {
  font-family: var(--f-title);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.section-subtitle {
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 200;
  color: var(--text-sub);
  max-width: 520px;
  margin: 0 auto;
}

/* Glass card — light mode */
.glass-card {
  background: var(--bg);
  border: 1px solid rgba(var(--rgb), 0.18);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(var(--rgb), 0.07), 0 1px 4px rgba(var(--rgb), 0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.glass-card:hover {
  border-color: rgba(var(--rgb), 0.35);
  box-shadow: 0 10px 40px rgba(var(--rgb), 0.14), 0 2px 8px rgba(var(--rgb), 0.08);
}

/* Botones */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-title);
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--w700), var(--w600), var(--w500), var(--w400), var(--w500));
  background-size: 200% 200%;
  animation: grad-shift 5s ease infinite;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--rgb), 0.42);
}
.btn-primary.btn-full { width: 100%; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-title);
  font-size: 15px;
  font-weight: 400;
  color: var(--w600);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(var(--rgb), 0.35);
  background: rgba(var(--rgb), 0.04);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-outline:hover {
  background: rgba(var(--rgb), 0.1);
  border-color: rgba(var(--rgb), 0.6);
  transform: translateY(-2px);
  color: var(--w700);
}
.btn-outline.btn-sm { padding: 10px 20px; font-size: 14px; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.5s; }

/* --- SITE HEADER (marquee + navbar juntos) ------------ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

/* --- MARQUEE BAR ------------------------------------- */
.marquee-bar {
  height: var(--marquee-h);
  background: var(--grad-water);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.marquee-bar-inner {
  width: 100%;
  max-width: var(--container);
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 100%;
}
.marquee-promo {
  flex: 0 0 58%;
  overflow: hidden;
  position: relative;
  padding-right: 28px;
}
.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}
.marquee-bar:hover .marquee-inner {
  animation-play-state: paused;
}
.marquee-items {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.marquee-item {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.95);
  padding: 0 20px;
}
.marquee-dot {
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  padding: 0 2px;
  flex-shrink: 0;
}
.marquee-contacts {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding: 0 20px 0 32px;
  border-left: 1px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.12);
}
.marquee-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 300;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.18);
  transition: color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}
.marquee-contact-link:hover { opacity: 0.85; }

/* --- NAVBAR ------------------------------------------- */
.navbar {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(80px) saturate(480%) brightness(1.10);
  -webkit-backdrop-filter: blur(80px) saturate(480%) brightness(1.10);
  border-bottom: 1px solid rgba(255,255,255,0.85);
  box-shadow:
    0 2px 24px rgba(var(--rgb), 0.08),
    inset 0 1px 0 rgba(255,255,255,0.98),
    inset 0 -1px 0 rgba(var(--rgb), 0.1);
  padding: 12px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(90px) saturate(540%) brightness(1.06);
  -webkit-backdrop-filter: blur(90px) saturate(540%) brightness(1.06);
  box-shadow:
    0 4px 36px rgba(var(--rgb), 0.12),
    inset 0 1px 0 rgba(255,255,255,0.99),
    inset 0 -1px 0 rgba(var(--rgb), 0.14);
}
.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-decoration: none;
}
.nav-logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 10px rgba(0,150,199,0.45))
    drop-shadow(0 2px 8px rgba(0,0,0,0.12));
}
.nav-slogan {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 200;
  color: var(--w600);
  letter-spacing: 0.08em;
  font-style: italic;
  text-shadow: 0 0 14px rgba(0,150,199,0.65), 0 0 28px rgba(72,202,228,0.35);
  white-space: nowrap;
}
.nav-brand-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  padding-left: 14px;
  border-left: 1px solid rgba(var(--rgb), 0.22);
}
.nav-brand-name {
  font-family: var(--f-title);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--w800) 0%, var(--w500) 50%, var(--crystal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.nav-brand-name:hover { opacity: 0.8; }
.nav-brand-sub {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 200;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-family: var(--f-title);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--w600);
  transition: opacity 0.2s ease;
  position: relative;
}
/* Degradado en links <a> y en el span de texto dentro de <button> */
a.nav-link,
.nav-drop-trigger .nav-grad-text {
  background: linear-gradient(135deg, var(--w800) 0%, var(--w500) 50%, var(--crystal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--w500);
  transition: width 0.3s ease;
}
.nav-link:hover { opacity: 0.75; }
.nav-link:hover::after { width: 100%; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-toggle {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border: 1px solid rgba(var(--rgb), 0.2);
  border-radius: 6px;
  transition: all 0.2s ease;
}
.lang-toggle:hover {
  border-color: rgba(var(--rgb), 0.45);
  color: var(--text-sub);
}
#langActive {
  color: var(--w500);
  font-weight: 400;
}
.lang-sep { margin: 0 2px; opacity: 0.4; }
.nav-link.nav-drop-trigger { font-size: 11px; }
.btn-nav-cta {
  font-family: var(--f-title);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--w600);
  padding: 8px 18px;
  border: 1px solid rgba(var(--rgb), 0.3);
  border-radius: 8px;
  background: rgba(var(--rgb), 0.04);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-nav-cta:hover {
  background: rgba(var(--rgb), 0.1);
  border-color: rgba(var(--rgb), 0.55);
  color: var(--w700);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text-sub);
  border-radius: 1px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* --- HERO --------------------------------------------- */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg-glow {
  position: absolute;
  top: 20%; right: 8%;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(var(--rgb), 0.05) 0%, transparent 65%);
  pointer-events: none;
}
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(var(--rgb), 0.4);
  animation: float-particle linear infinite;
}
.hero-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 64px;
  display: grid;
  grid-template-columns: 1fr 580px;
  gap: 32px;
  align-items: center;
  width: 100%;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--w600);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  padding: 7px 16px;
  border: 1px solid rgba(var(--rgb), 0.28);
  border-radius: 100px;
  background: rgba(var(--rgb), 0.06);
  width: fit-content;
}
.hero-title {
  font-family: var(--f-title);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: var(--text);
}
.title-line { display: block; }
.title-accent { color: var(--w500); }
.hero-subtitle {
  font-family: var(--f-body);
  font-size: 17px;
  font-weight: 200;
  color: var(--text-sub);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hero-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-sub);
}

/* Water visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.water-visual {
  position: relative;
  width: 320px;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.water-ring-1, .water-ring-2, .water-ring-3 {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--rgb), 0.3);
  animation: ring-expand 4s ease-out infinite;
}
.water-ring-1 { width: 220px; height: 220px; animation-delay: 0s; }
.water-ring-2 { width: 300px; height: 300px; animation-delay: 1.3s; border-color: rgba(var(--rgb), 0.18); }
.water-ring-3 { width: 380px; height: 380px; animation-delay: 2.6s; border-color: rgba(var(--rgb), 0.1); }
.water-drop-wrap {
  position: relative;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 8px 28px rgba(var(--rgb), 0.22));
}

/* Data chips */
.data-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--w600);
  padding: 6px 14px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(var(--rgb), 0.2);
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(var(--rgb), 0.12);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.chip-1 { top: 30px; right: -20px; animation: float 5s 0.5s ease-in-out infinite; }
.chip-2 { top: 130px; left: -30px; animation: float 5.5s 1s ease-in-out infinite; }
.chip-3 { bottom: 60px; right: -10px; animation: float 6s 1.5s ease-in-out infinite; }

/* --- STATS BAR (franja agua) -------------------------- */
.stats-bar {
  background: var(--grad-water);
}
.stats-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: nowrap;
  gap: 0;
  overflow: hidden;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  padding: 28px 10px;
  text-align: center;
  gap: 6px;
}
.stat-location-item {
  flex-direction: row;
  gap: 8px;
}
.stat-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat-number {
  font-family: var(--f-title);
  font-size: 32px;
  font-weight: 400;
  color: #fff;
  line-height: 1;
}
.stat-suffix {
  font-family: var(--f-title);
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
}
.stat-label {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 200;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.03em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

/* --- SOBRE ERIKA -------------------------------------- */
.about-section {
  padding: var(--section-py) 0;
  background-color: var(--bg);
  position: relative;
}
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/ER_website_analista_de_agua_2.png');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center -250px;
  opacity: 0.9;
  z-index: 0;
}
.about-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  z-index: 1;
}
.about-section > .section-container {
  position: relative;
  z-index: 2;
}
.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 72px;
  align-items: center;
}
.about-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg3);
  border: 1px solid rgba(var(--rgb), 0.14);
  box-shadow: 0 8px 40px rgba(var(--rgb), 0.1);
}
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.about-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  color: var(--text-muted);
}
.placeholder-text {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 200;
  color: var(--text-muted);
}
.cert-chip {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--w600);
  padding: 8px 16px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(var(--rgb), 0.22);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(var(--rgb), 0.12);
  white-space: nowrap;
}
.about-content-col {
  padding-top: 8px;
}
.about-text {
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.75;
}
.about-checklist {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
}
.about-check-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
}

/* --- PRODUCTOS ---------------------------------------- */
.products-section {
  padding: var(--section-py) 0;
  background: var(--bg2);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Flip Cards */
.flip-card {
  height: 400px;
  perspective: 1100px;
  cursor: pointer;
}
.flip-card-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%; height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  overflow: hidden;
}
.flip-card-front {
  background: var(--front-grad);
}
.card-front-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 28px;
  text-align: center;
  gap: 16px;
  background: rgba(0,0,0,0.08);
}
.card-icon {
  opacity: 0.95;
  transition: transform 0.3s ease;
}
.flip-card:hover .card-icon { transform: scale(1.05); }
.card-front-title {
  font-family: var(--f-title);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.01em;
}
.card-hint {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 200;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}
.flip-card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 28px;
  gap: 12px;
  background: var(--bg);
  border: 1px solid rgba(var(--rgb), 0.18);
  box-shadow: 0 4px 24px rgba(var(--rgb), 0.07);
}
.card-back-icon { opacity: 0.8; }
.card-back-title {
  font-family: var(--f-title);
  font-size: 17px;
  font-weight: 400;
  color: var(--text);
}
.card-back-desc {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 200;
  color: var(--text-sub);
  line-height: 1.65;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}
.tag {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--w600);
  padding: 4px 10px;
  border: 1px solid rgba(var(--rgb), 0.25);
  border-radius: 100px;
  background: rgba(var(--rgb), 0.05);
  letter-spacing: 0.02em;
}

/* Imagen de producto en tarjeta flip — cover para llenar sin bordes vacíos */
.card-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  border-radius: inherit;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Ósmosis Inversa: imagen centrada verticalmente */
#producto-ro .card-img img {
  object-position: center center;
}
.flip-card:hover .card-img img {
  transform: scale(1.06);
}
/* Overlay inferior para que el título sea legible sobre la imagen */
.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(1, 18, 50, 0.80) 0%,
    rgba(0, 60, 130, 0.35) 40%,
    rgba(0, 20, 60, 0.08) 70%,
    transparent 100%
  );
}
/* Título del frente sobre el gradiente inferior */
.card-img ~ .card-front-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: auto;
  background: none;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 14px 20px 22px;
  text-align: left;
  gap: 4px;
  z-index: 1;
}
.card-img ~ .card-front-content .card-front-title {
  font-size: 17px;
}
.card-img ~ .card-front-content .card-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.60);
}

/* --- BENEFICIOS --------------------------------------- */
.benefits-section {
  padding: var(--section-py) 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.benefits-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0.50;
}
.benefits-overlay {
  position: absolute;
  inset: 0;
  background: rgba(235,247,255,0.30);
  z-index: 1;
}
.benefits-section .section-container {
  position: relative;
  z-index: 2;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.benefit-card:hover { transform: translateY(-4px); }
.benefit-icon-wrap {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--rgb), 0.07);
  border: 1px solid rgba(var(--rgb), 0.15);
  border-radius: 10px;
}
.benefit-title {
  font-family: var(--f-title);
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
}
.benefit-desc {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 200;
  color: var(--text-sub);
  line-height: 1.65;
}

/* --- MARCAS ------------------------------------------- */
.brands-section {
  padding: var(--section-py) 0;
  background: var(--bg2);
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.brand-card {
  padding: 20px 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.brand-logo-wrap {
  height: 175px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.brand-logo-img {
  max-height: 175px;
  max-width: 481px;
  width: auto;
  object-fit: contain;
}
.brand-name {
  font-family: var(--f-title);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand-desc {
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 200;
  color: var(--text-sub);
  line-height: 1.75;
}
.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.brand-tag {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--w600);
  padding: 5px 12px;
  border: 1px solid rgba(var(--rgb), 0.25);
  border-radius: 100px;
  background: rgba(var(--rgb), 0.05);
}

/* --- TESTIMONIOS -------------------------------------- */
.testimonials-section {
  padding: var(--section-py) 0;
  background: var(--bg);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial-stars {
  display: flex;
  gap: 4px;
}
.testimonial-text {
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 200;
  color: var(--text-sub);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(var(--rgb), 0.07);
  border: 1px solid rgba(var(--rgb), 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-name {
  display: block;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
}
.testimonial-loc {
  display: block;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 200;
  color: var(--text-muted);
}

/* --- CARRUSEL DE CLIENTES (testimonios) --------------- */
.testimonials-carousel-wrap {
  margin-top: 56px;
  overflow: hidden;
  position: relative;
}
.testimonials-carousel-wrap::before,
.testimonials-carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.testimonials-carousel-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.testimonials-carousel-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}
.testimonials-carousel-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: tcarousel-scroll 24s linear infinite;
}
.testimonials-carousel-track:hover {
  animation-play-state: paused;
}
.tcarousel-item {
  flex-shrink: 0;
  width: 260px;
  background: var(--bg);
  border: 1px solid rgba(var(--rgb), 0.18);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(var(--rgb), 0.07), 0 1px 4px rgba(var(--rgb), 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.tcarousel-item:hover {
  border-color: rgba(var(--rgb), 0.35);
  box-shadow: 0 10px 40px rgba(var(--rgb), 0.14);
  transform: translateY(-3px);
}
.tcarousel-img-rect {
  width: 100%;
  height: 155px;
  background: rgba(var(--rgb), 0.04);
  border-bottom: 1px dashed rgba(var(--rgb), 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.tcarousel-img-rect img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tcarousel-img-rect svg { opacity: 0.28; }
.tcarousel-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tcarousel-stars {
  display: flex;
  gap: 3px;
}
.tcarousel-quote {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 200;
  color: var(--text-sub);
  line-height: 1.65;
  font-style: italic;
}
.tcarousel-author {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
  padding-top: 4px;
  border-top: 1px solid rgba(var(--rgb), 0.09);
}

@keyframes tcarousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- testimonial-recommend badge ---------------------- */
.testimonial-recommend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px 14px 5px 10px;
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 300;
  color: #7A5A00;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: linear-gradient(135deg,
    rgba(255,250,220,0.97) 0%,
    rgba(255,255,255,0.99) 42%,
    rgba(232,248,255,0.96) 100%);
  border-radius: 30px;
  border: 1px solid rgba(212,175,55,0.36);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.92),
    0 1px 8px rgba(212,175,55,0.14),
    0 1px 3px rgba(0,0,0,0.04);
}
.recommend-icon {
  color: rgba(176,132,12,0.82);
  flex-shrink: 0;
}

/* --- testimonial-avatar con foto ---------------------- */
.testimonial-avatar--photo {
  overflow: hidden;
  background: none;
}
.testimonial-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* --- carrusel pequeño (Análisis) ---------------------- */
.tcarousel-item--sm {
  width: 130px;
}
.tcarousel-img-rect--sm {
  height: 78px;
}
.tcarousel-track--sm {
  animation: tcarousel-scroll 18s linear infinite;
}

/* --- carrusel ventas (Familias) ----------------------- */
.tcarousel-item--venta {
  width: 220px;
}
.tcarousel-img-rect--venta {
  height: 160px;
}
.tcarousel-track--ventas {
  animation: tcarousel-scroll 30s linear infinite;
}
.tcarousel-venta-label {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-sub);
  text-align: center;
  padding: 8px 0 10px;
  letter-spacing: 0.03em;
}

/* --- títulos de sección carrusel ---------------------- */
.carousel-section-header {
  margin-top: 40px;
  margin-bottom: 20px;
}
.carousel-section-title {
  font-family: var(--f-title);
  font-size: 18px;
  font-weight: 300;
  color: var(--text-sub);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

/* --- CONTACTO ----------------------------------------- */
.contact-section {
  padding: var(--section-py) 0;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.contact-glow {
  position: absolute;
  bottom: -10%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(var(--rgb), 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: start;
}
.contact-info-col { padding-top: 8px; }
.contact-intro {
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 200;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(var(--rgb), 0.15);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  color: inherit;
}
.contact-method:hover {
  border-color: rgba(var(--rgb), 0.35);
  box-shadow: 0 4px 16px rgba(var(--rgb), 0.08);
}
.contact-method-icon {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--rgb), 0.07);
  border-radius: 9px;
  flex-shrink: 0;
}
.method-label {
  display: block;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 200;
  color: var(--text-muted);
  margin-bottom: 2px;
  letter-spacing: 0.04em;
}
.method-value {
  display: block;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
}

/* Contact form */
.contact-form-col {
  padding: 36px 32px;
}
.form-title {
  font-family: var(--f-title);
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 24px;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-sub);
  letter-spacing: 0.02em;
}
.form-input, .form-select, .form-textarea {
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 200;
  color: var(--text);
  background: var(--bg);
  border: 1px solid rgba(var(--rgb), 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-muted);
  font-weight: 200;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(var(--rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--rgb), 0.08);
}
.form-select {
  cursor: pointer;
  color: var(--text-sub);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236B8CA4' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-select option { background: var(--bg); color: var(--text); }
.form-textarea { resize: none; }
.form-note {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 200;
  color: var(--text-muted);
  text-align: center;
  margin-top: -6px;
}

/* --- FOOTER ------------------------------------------- */
.footer {
  position: relative;
  overflow: hidden;
  border-top: none;
}
.footer-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: calc(100% + 80px); /* extra height para ocultar watermark inferior */
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  pointer-events: none;
}
.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 12, 35, 0.46);
  z-index: 1;
}
.footer-line {
  position: relative;
  z-index: 2;
  height: 3px;
  background: var(--grad-water);
}
.footer-container {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
.footer-logo-img {
  width: 225px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255,255,255,0.35)) drop-shadow(0 0 6px rgba(0,150,199,0.4));
}
.footer-eslogan {
  font-family: var(--f-title);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5), 0 0 14px rgba(0,150,199,0.4);
}
.footer-brand-text {
  font-family: var(--f-title);
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
}
.footer-tagline {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 200;
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
  margin-bottom: 20px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--w700) 0%, var(--w500) 55%, var(--crystal) 100%);
  color: #ffffff;
  border: none;
  transition: all 0.25s ease;
}
.social-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.18);
  box-shadow: 0 6px 18px rgba(0,150,199,0.45);
}
.footer-col-title {
  font-family: var(--f-title);
  font-size: 13px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.35);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 200;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s ease;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.footer-link:hover { color: #ffffff; }
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 200;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.footer-contact-row svg { flex-shrink: 0; margin-top: 2px; }
.footer-contact-row svg path { stroke: rgba(255,255,255,0.70); }
.footer-schedule {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 200;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.footer-schedule svg { flex-shrink: 0; margin-top: 2px; }
.footer-schedule svg path,
.footer-schedule svg circle { stroke: rgba(255,255,255,0.70); }

/* Footer inferior — todo en una sola línea */
.footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0 10px;
  padding: 16px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
  white-space: nowrap;
}
.footer-sep {
  color: rgba(255,255,255,0.28);
  font-size: 10px;
  flex-shrink: 0;
}
.footer-copy {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 200;
  color: rgba(255,255,255,0.55);
  flex-shrink: 0;
}
.footer-credit {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 200;
  color: rgba(255,255,255,0.55);
  flex-shrink: 0;
}
.footer-credit-link {
  color: var(--crystal);
  transition: color 0.2s ease;
}
.footer-credit-link:hover { color: #ffffff; }
.footer-legal-sep {
  color: rgba(255,255,255,0.28);
  font-size: 10px;
  flex-shrink: 0;
}
.footer-legal-link {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 200;
  color: rgba(255,255,255,0.50);
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.footer-legal-link:hover { color: rgba(255,255,255,0.9); }

/* --- ANIMACIONES -------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  45%       { transform: translateY(-18px); }
  75%       { transform: translateY(-9px); }
}
@keyframes ring-expand {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}
@keyframes float-particle {
  0%   { transform: translate(0, 100vh); opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.2; }
  100% { transform: translate(var(--tx, 40px), -100px); opacity: 0; }
}
@keyframes grad-shift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- HERO SHOWCASE ------------------------------------ */
.hero-showcase {
  position: relative;
  width: 580px;
  height: 620px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

/* Morphing background blob */
.showcase-blob {
  position: absolute;
  width: 440px;
  height: 440px;
  background: radial-gradient(ellipse at 38% 38%,
    rgba(72,202,228,0.18) 0%,
    rgba(0,150,199,0.10) 38%,
    rgba(0,77,130,0.05) 68%,
    transparent 100%
  );
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  animation: blob-morph 14s ease-in-out infinite;
  pointer-events: none;
}
@keyframes blob-morph {
  0%,100% { border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%; transform: scale(1) rotate(0deg); }
  25%      { border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; transform: scale(1.06) rotate(2deg); }
  50%      { border-radius: 55% 45% 60% 40% / 40% 60% 45% 55%; transform: scale(0.97) rotate(-1.5deg); }
  75%      { border-radius: 40% 60% 45% 55% / 55% 45% 60% 40%; transform: scale(1.04) rotate(1deg); }
}

/* Showcase pulsing rings */
.showcase-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--rgb), 0.22);
  animation: ring-expand 5s ease-out infinite;
  pointer-events: none;
}
.s-ring-1 { width: 320px; height: 320px; animation-delay: 0s; }
.s-ring-2 { width: 470px; height: 470px; animation-delay: 2.5s; border-color: rgba(var(--rgb), 0.12); }

/* SVG water waves */
.showcase-waves {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
}
.s-wave-1 { animation: wave-drift-1 9s ease-in-out infinite; }
.s-wave-2 { animation: wave-drift-2 12s ease-in-out infinite; }
.s-wave-3 { animation: wave-drift-1 15s 2s ease-in-out infinite; }
@keyframes wave-drift-1 {
  0%,100% { transform: translateX(0) translateY(0); }
  50%      { transform: translateX(14px) translateY(-9px); }
}
@keyframes wave-drift-2 {
  0%,100% { transform: translateX(0) translateY(0); }
  50%      { transform: translateX(-11px) translateY(11px); }
}

/* Product container base */
.product-card-showcase {
  position: absolute;
  will-change: transform;
}
.product-float-inner {
  will-change: transform;
}
.product-card-showcase img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Whole House — main product (left-center) */
.product-wh {
  left: -30px;
  top: 50%;
  transform: translateY(-55%);
  width: 300px;
  z-index: 3;
  filter:
    drop-shadow(0 32px 64px rgba(0,150,199,0.22))
    drop-shadow(0 8px 20px rgba(0,150,199,0.14));
}
.product-wh .product-float-inner {
  animation: float-wh 10s ease-in-out infinite;
}
@keyframes float-wh {
  0%,100% { transform: translateY(0); }
  30%      { transform: translateY(-24px); }
  65%      { transform: translateY(-10px); }
}

/* Reverse Osmosis — secondary product (right-bottom) */
.product-ro {
  right: -10px;
  bottom: 60px;
  width: 285px;
  z-index: 4;
  filter:
    drop-shadow(0 20px 44px rgba(72,202,228,0.28))
    drop-shadow(0 6px 14px rgba(0,150,199,0.16));
}
.product-ro .product-float-inner {
  animation: float-ro 8s 1.5s ease-in-out infinite;
}
@keyframes float-ro {
  0%,100% { transform: rotate(0deg) translateY(0); }
  40%      { transform: rotate(0deg) translateY(-20px); }
  70%      { transform: rotate(0deg) translateY(-8px); }
}

/* Ground glow under products */
.product-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}
.product-glow-wh {
  width: 180px; height: 70px;
  bottom: -18px; left: 50%;
  transform: translateX(-50%);
  background: rgba(0,150,199,0.2);
}
.product-glow-ro {
  width: 100px; height: 45px;
  bottom: -14px; left: 50%;
  transform: translateX(-50%);
  background: rgba(72,202,228,0.22);
}
@keyframes glow-pulse {
  0%,100% { opacity: 0.55; transform: translateX(-50%) scaleX(1); }
  50%      { opacity: 0.9; transform: translateX(-50%) scaleX(1.12); }
}

/* Floating info badges */
.showcase-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(var(--rgb), 0.18);
  border-radius: 100px;
  box-shadow:
    0 8px 24px rgba(var(--rgb), 0.12),
    0 2px 6px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.9);
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  white-space: nowrap;
  z-index: 5;
  backdrop-filter: blur(14px);
}
.s-badge-1 { top: 18px; right: 22px; animation: float 5.5s 0s ease-in-out infinite; }
.s-badge-2 { top: 85px; left: -15px; animation: float 6.5s 1s ease-in-out infinite; }
.s-badge-3 { bottom: 115px; left: 0; animation: float 6s 2s ease-in-out infinite; }
.s-badge-4 { bottom: 28px; right: 12px; animation: float 5s 0.7s ease-in-out infinite; }

/* Bubble particles (generated by JS) */
.showcase-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: 50%;
}
.showcase-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.55), rgba(72,202,228,0.25));
  border: 1px solid rgba(72,202,228,0.25);
  animation: bubble-rise linear infinite;
}
@keyframes bubble-rise {
  0%   { transform: translateY(0) scale(1); opacity: 0.55; }
  80%  { opacity: 0.3; }
  100% { transform: translateY(-520px) scale(0.2); opacity: 0; }
}

/* Responsive hero showcase */
@media (max-width: 1023px) {
  .hero-showcase { width: 360px; height: 420px; }
  .product-wh { width: 210px; left: -5px; }
  .product-ro { width: 130px; right: 0; bottom: 35px; }
  .s-badge-2, .s-badge-3 { display: none; }
  .s-ring-1 { width: 230px; height: 230px; }
  .s-ring-2 { width: 330px; height: 330px; }
  .showcase-blob { width: 300px; height: 300px; }
  .showcase-video-drop { width: 240px; height: 290px; }
}
@media (max-width: 767px) {
  /* Showcase mobile: altura ajustada para que todo el hero quepa en 560px */
  .hero-showcase {
    position: relative;
    width: 100%;
    height: 130px;
    flex-shrink: 0;
    overflow: hidden;
    margin-top: 20px;   /* + gap:10px = 30px de respiración arriba */
    margin-bottom: 10px; /* espacio extra bajo el showcase */
  }
  .showcase-video-drop {
    width: 104px; height: 130px;
    left: 50%; top: 0;
    transform: translateX(-50%);
  }
  .showcase-blob { width: 150px; height: 150px; }
  .s-ring-1 { width: 120px; height: 120px; }
  .s-ring-2 { display: none; }
  .product-wh {
    left: 2%; top: 50%;
    transform: translateY(-50%);
    width: 100px;
  }
  .product-ro {
    right: 2%; bottom: 8px;
    width: 65px;
  }
  /* 4 badges visibles: s-badge-1 bajado 50px para evitar solapamiento con s-badge-2 */
  .s-badge-1 {
    top: 55px; left: 5px;           /* "99% Agua Pura" — bajado 50px */
    font-size: 10px; padding: 4px 8px; gap: 4px;
  }
  .s-badge-2 {
    display: flex;
    top: 5px; right: 5px;           /* "Certificado NSF" — esquina superior derecha */
    font-size: 10px; padding: 4px 8px; gap: 4px;
  }
  .s-badge-3 {
    display: flex;
    bottom: 5px; left: 5px;         /* "Instalación incluida" — esquina inferior izquierda */
    font-size: 10px; padding: 4px 8px; gap: 4px;
  }
  .s-badge-4 {
    bottom: 5px; right: 5px;        /* "Garantía de por vida" — esquina inferior derecha */
    font-size: 10px; padding: 4px 8px; gap: 4px;
  }
  .showcase-waves { display: none; }
  .showcase-particles { display: none; }
  .product-glow { display: none; }
}

/* --- RESPONSIVE --------------------------------------- */

/* Tablet */
@media (max-width: 1023px) {
  :root { --section-py: 72px; }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-ctas { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-visual { order: -1; }
  .water-visual { width: 260px; height: 300px; }
  .water-ring-1 { width: 180px; height: 180px; }
  .water-ring-2 { width: 250px; height: 250px; }
  .water-ring-3 { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrapper { max-width: 320px; margin: 0 auto; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-col { max-width: 560px; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-brand-col { grid-column: 1 / -1; }

  .marquee-contacts { gap: 14px; }
  .marquee-item { font-size: 13px; }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --section-py: 56px;
    --navbar-h: 185px; /* margen seguro sobre la altura real del navbar mobile */
  }

  /* ── HEADER MOBILE: layout stacked, sin hamburger ── */
  .nav-container {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 16px 10px;
  }
  /* Fila 1: Logo + Erika Rondón centrados */
  .nav-logo {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }
  .nav-logo-img { height: 40px; }
  .nav-slogan { font-size: 9px; }
  .nav-brand-group {
    padding-left: 10px;
    border-left: 1px solid rgba(var(--rgb), 0.18);
    gap: 1px;
  }
  .nav-brand-name { font-size: 12px; letter-spacing: 0.1em; }
  .nav-brand-sub { font-size: 9px; white-space: nowrap; }

  /* Fila 2: Opciones del menú centradas en una línea */
  .nav-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    width: 100%;
    position: static;
    background: none;
    backdrop-filter: none;
    padding: 0;
    border: none;
    box-shadow: none;
    border-top: 1px solid rgba(var(--rgb), 0.10);
    padding-top: 6px;
  }
  .nav-link {
    font-size: 9px !important;
    letter-spacing: 0.04em;
    padding: 4px 7px;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
  }
  .nav-link::after { display: none; }
  .nav-item-drop { position: relative; }

  /* Fila 3: CTA centrado */
  .nav-actions {
    width: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(var(--rgb), 0.10);
    padding-top: 6px;
  }
  .btn-nav-cta {
    display: flex;
    font-size: 11px;
    padding: 7px 20px;
    letter-spacing: 0.05em;
    width: auto;
  }
  .hamburger { display: none; }

  .marquee-contacts {
    display: flex;
    flex: 0 0 auto;
    padding: 0 10px 0 14px;
    background: none;
    border-left: 1px solid rgba(255,255,255,0.22);
    gap: 0;
  }
  .marquee-contact-link { display: none; }
  .marquee-promo { flex: 1 1 auto; }
  .marquee-lang-toggle {
    font-size: 13px;
    font-weight: 400;
    padding: 5px 12px;
    background: rgba(255,255,255,0.22);
    border: 2px solid rgba(255,255,255,0.85);
    border-radius: 5px;
    letter-spacing: 0.1em;
    margin-left: 0;
    box-shadow: 0 0 10px rgba(255,255,255,0.2);
  }
  .gcal-wrapper { height: 500px; }

  /* Hero slider: altura garantizada para mostrar todo el contenido + showcase */
  /* Hero: permitir que el slider sea más alto que el viewport en phones pequeños */
  .hero { overflow: visible; }
  .hero-slider {
    height: max(calc(100svh - var(--header-h)), 560px);
    overflow: visible;
  }

  /* Hero slide 1: columna única, 5px de gap sobre el header */
  .hero-slide-main { align-items: flex-start; }
  .hero-slide-main .hero-container { align-self: flex-start; }
  .hero-container {
    padding: 5px 20px 88px;
    grid-template-columns: 1fr;
    gap: 10px;
    align-content: start;
    text-align: left;
  }
  .hero-content { align-items: flex-start; }
  .hero-ctas { justify-content: flex-start; }
  .hero-badges { justify-content: flex-start; }
  .hero-visual { display: none; }

  /* Texto del hero: tamaños compactos para que todo quepa */
  .hero-label {
    font-size: 11px;
    padding: 5px 11px;
    margin-bottom: 8px;
  }
  .hero-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 8px;
  }
  .hero-subtitle {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 12px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 10px;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline {
    width: 100%;
    max-width: 100%;
    padding: 11px 20px;
    font-size: 14px;
  }
  .hero-badges {
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .hero-badge { font-size: 12px; }

  /* Slider dots: espacio visible para el usuario */
  .hero-slider-dots { bottom: 18px; }

  .stats-container { flex-direction: column; gap: 0; }
  .stat-divider { width: 80%; height: 1px; }

  /* Product slides: padding superior +30px de separación del header, inferior para los dots */
  .slide-product-wrap {
    padding: 50px 20px 80px;
    align-items: flex-start;
  }
  .slide-product-title { font-size: clamp(28px, 8vw, 48px); }
  .slide-product-desc { font-size: 15px; }
  .slide-product-features { gap: 8px 16px; }

  .products-grid { grid-template-columns: 1fr; }
  .flip-card { height: 300px; }
  .card-img { padding: 0; } /* Sin padding: object-fit cover llena la tarjeta */

  /* A quiénes ayudo: descripción alineada a la izquierda */
  .audience-desc { text-align: left; }

  .benefits-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-col { padding: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-wrap: wrap; white-space: normal; gap: 4px 8px; }

  /* Sobre mí: texto primero, foto después en mobile */
  .about-image-col { order: 2; }
  .about-content-col { order: 1; }

  /* Sobre mí: imagen de fondo correcta en mobile */
  .about-section::before {
    background-size: cover;
    background-position: center 25%;
    opacity: 0.55;
  }

  /* Benefits: texto visible inmediatamente en mobile */
  .benefit-card { opacity: 1 !important; transform: none !important; }

  /* Videos decorativos de fondo — no cargar en mobile */
  .benefits-bg-video,
  .footer-bg-video { display: none; }
}

@media (max-width: 480px) {
  .hero-badges { flex-direction: column; align-items: center; }
  .stat-item { padding: 20px 24px; }
  .marquee-item { font-size: 13px; }
}

/* =====================================================
   NUEVAS SECCIONES — Round 4
   ===================================================== */

/* --- HERO SLIDER -------------------------------------- */
.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-h));
  min-height: 580px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide-main {
  background: linear-gradient(135deg, #003559 0%, #005A8A 50%, #0090B8 100%);
  align-items: stretch;
}
.hero-slide-main .hero-container {
  align-self: center;
}

/* Hero main slide — text overrides para fondo oscuro */
.hero-slide-main .hero-title          { color: #FFFFFF; }
.hero-slide-main .title-accent        { color: #90E0EF; }
.hero-slide-main .hero-subtitle       { color: rgba(255,255,255,0.75); }
.hero-slide-main .hero-label          { color: rgba(255,255,255,0.88); border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.1); }
.hero-slide-main .hero-badge          { color: rgba(255,255,255,0.72); }
.hero-slide-main .btn-outline         { color: var(--w400); border-color: rgba(var(--rgb), 0.55); background: rgba(var(--rgb), 0.08); }
.hero-slide-main .btn-outline:hover   { color: #FFFFFF; border-color: rgba(var(--rgb), 0.8); background: rgba(var(--rgb), 0.18); }

/* Product slides */
.hero-slide-product {
  min-height: calc(100vh - var(--header-h));
  width: 100%;
}
.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #020C1E 0%, #051525 50%, #020C1E 100%);
}
.slide-bg-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  animation: slide-drift 12s ease-in-out infinite;
}
.hero-slide-product .slide-bg-img {
  opacity: 1;
}
.slide-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(1,20,55,0.52) 0%,
    rgba(0,60,130,0.38) 45%,
    rgba(0,96,180,0.22) 100%
  );
}

/* Dewdrop crystalline overlay — slides 2-5 */
.hero-slide-product::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    /* Drop 1 — body + highlight */
    radial-gradient(ellipse 9px 11px at 14% 24%, rgba(255,255,255,0.06) 0%, rgba(200,240,255,0.28) 45%, transparent 70%),
    radial-gradient(circle 2px at 12% 22%, rgba(255,255,255,0.92) 0%, transparent 100%),
    /* Drop 2 */
    radial-gradient(ellipse 7px 9px at 73% 17%, rgba(255,255,255,0.05) 0%, rgba(180,230,255,0.24) 45%, transparent 70%),
    radial-gradient(circle 1.5px at 71% 15%, rgba(255,255,255,0.88) 0%, transparent 100%),
    /* Drop 3 */
    radial-gradient(ellipse 11px 14px at 41% 66%, rgba(255,255,255,0.04) 0%, rgba(200,240,255,0.20) 45%, transparent 70%),
    radial-gradient(circle 2.5px at 38% 63%, rgba(255,255,255,0.82) 0%, transparent 100%),
    /* Drop 4 */
    radial-gradient(ellipse 6px 8px at 87% 43%, rgba(255,255,255,0.06) 0%, rgba(180,230,255,0.26) 45%, transparent 70%),
    radial-gradient(circle 1.5px at 85% 41%, rgba(255,255,255,0.90) 0%, transparent 100%),
    /* Drop 5 */
    radial-gradient(ellipse 10px 13px at 24% 81%, rgba(255,255,255,0.05) 0%, rgba(200,240,255,0.22) 45%, transparent 70%),
    radial-gradient(circle 2px at 21% 79%, rgba(255,255,255,0.84) 0%, transparent 100%),
    /* Drop 6 */
    radial-gradient(ellipse 8px 10px at 63% 89%, rgba(255,255,255,0.04) 0%, rgba(180,230,255,0.21) 45%, transparent 70%),
    radial-gradient(circle 1.5px at 61% 87%, rgba(255,255,255,0.80) 0%, transparent 100%),
    /* Drop 7 */
    radial-gradient(ellipse 5px 7px at 50% 8%, rgba(255,255,255,0.05) 0%, rgba(200,240,255,0.24) 45%, transparent 70%),
    radial-gradient(circle 1px at 48% 6%, rgba(255,255,255,0.86) 0%, transparent 100%),
    /* Scattered micro-sparkles */
    radial-gradient(circle 1px at 32% 38%, rgba(255,255,255,0.55) 0%, transparent 100%),
    radial-gradient(circle 1px at 7% 58%, rgba(200,240,255,0.50) 0%, transparent 100%),
    radial-gradient(circle 1px at 94% 27%, rgba(180,230,255,0.52) 0%, transparent 100%),
    radial-gradient(circle 1px at 58% 52%, rgba(255,255,255,0.48) 0%, transparent 100%),
    radial-gradient(circle 1px at 79% 74%, rgba(200,240,255,0.45) 0%, transparent 100%);
  animation: dewdrop-shimmer 7s ease-in-out infinite;
}

@keyframes slide-drift {
  0%, 100% { transform: scale(1.0) translate(0, 0); }
  30%       { transform: scale(1.03) translate(-10px, -4px); }
  70%       { transform: scale(1.02) translate(8px, 3px); }
}

@keyframes dewdrop-shimmer {
  0%, 100% { opacity: 0.60; }
  50%       { opacity: 1; }
}
.slide-product-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
}
.slide-product-content {
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.slide-product-label {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 200;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  width: fit-content;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.slide-product-title {
  font-family: var(--f-title);
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.slide-product-desc {
  font-family: var(--f-body);
  font-size: 17px;
  font-weight: 200;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  max-width: 520px;
}
.slide-product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.slide-product-features span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
}

/* Slider dots */
.hero-slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,150,199,0.35);
  border: 1px solid rgba(0,150,199,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.slider-dot.active {
  width: 26px;
  border-radius: 4px;
  background: var(--w500);
  border-color: var(--w500);
}
.slider-dot:hover:not(.active) {
  background: rgba(0,150,199,0.6);
}

/* --- SHOWCASE VIDEO DROP ------------------------------ */
.showcase-video-drop {
  position: absolute;
  width: 470px;
  height: 583px;
  z-index: 1;
  overflow: hidden;
  border-radius: 50% 50% 46% 46% / 56% 56% 38% 38%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  box-shadow: 0 0 40px rgba(0,150,199,0.15), inset 0 0 30px rgba(0,0,0,0.06);
}
.showcase-drop-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.showcase-video-drop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 96, 199, 0.09);
  border-radius: inherit;
  z-index: 2;
  pointer-events: none;
}

/* --- A QUIÉNES AYUDO ---------------------------------- */
.audiences-section {
  padding: var(--section-py) 0;
  background: linear-gradient(160deg, var(--bg2) 0%, var(--bg) 50%, var(--bg2) 100%);
  position: relative;
  overflow: hidden;
}
.audiences-section::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(var(--rgb), 0.04) 0%, transparent 65%);
  pointer-events: none;
}
.audiences-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.audience-card {
  width: calc(33.33% - 13px);
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 31px 22px 27px;
  border: 1px solid rgba(var(--rgb), 0.14);
  border-radius: var(--radius);
  background: var(--bg);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.audience-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-water);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.audience-card:hover::before { transform: scaleX(1); }
.audience-card:hover {
  border-color: rgba(var(--rgb), 0.3);
  box-shadow: 0 12px 40px rgba(var(--rgb), 0.1);
  transform: translateY(-5px);
}
.audience-card-wide {
  width: calc(50% - 6px);
}
.audience-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--rgb), 0.06);
  border: 1px solid rgba(var(--rgb), 0.14);
  border-radius: 14px;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}
.audience-card:hover .audience-icon {
  background: rgba(var(--rgb), 0.1);
  border-color: rgba(var(--rgb), 0.28);
}
.audience-card--highlight {
  border-color: rgba(var(--rgb), 0.55) !important;
  background: rgba(var(--rgb), 0.08) !important;
  box-shadow: 0 8px 32px rgba(var(--rgb), 0.14) !important;
}
.audience-card--highlight::before { transform: scaleX(1) !important; }
.audience-card--highlight .audience-icon {
  background: rgba(var(--rgb), 0.12) !important;
  border-color: rgba(var(--rgb), 0.35) !important;
}
.audience-card--highlight .audience-title { color: var(--w500) !important; }
.audience-title {
  font-family: var(--f-title);
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 6px;
}
.audience-desc {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 200;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --- CÓMO TRABAJO ------------------------------------- */
.howwork-section {
  padding: var(--section-py) 0;
  background: var(--bg2);
  position: relative;
}
.steps-track {
  position: relative;
  margin-bottom: 40px;
}
.steps-line {
  position: absolute;
  top: 34px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(var(--rgb), 0.28) 15%,
    var(--w500) 50%,
    rgba(var(--rgb), 0.28) 85%,
    transparent
  );
  z-index: 0;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
}
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--grad-water);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-title);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 18px rgba(var(--rgb), 0.32);
  flex-shrink: 0;
}
.step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.step-icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--rgb), 0.06);
  border-radius: 10px;
  border: 1px solid rgba(var(--rgb), 0.15);
}
.step-title {
  font-family: var(--f-title);
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
}
.step-desc {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 200;
  color: var(--text-sub);
  line-height: 1.6;
}
.howwork-cta {
  text-align: center;
  margin-top: 8px;
}

/* --- PRÓXIMO PASO ------------------------------------- */
.nextstep-section {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg) 60%, var(--bg3) 100%);
  position: relative;
  overflow: hidden;
}
.nextstep-section::before {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 500px; height: 400px;
  background: radial-gradient(ellipse, rgba(var(--rgb), 0.06) 0%, transparent 65%);
  pointer-events: none;
}
.nextstep-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: center;
}
.nextstep-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nextstep-title {
  font-family: var(--f-title);
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 400;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 18px;
  margin-top: 14px;
  letter-spacing: -0.01em;
}
.nextstep-desc {
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 200;
  color: var(--text-sub);
  line-height: 1.72;
  margin-bottom: 32px;
}
.nextstep-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--f-title);
  font-size: 15px;
  font-weight: 400;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #128c44 0%, #25d366 100%);
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.35);
  filter: brightness(1.05);
}
.nextstep-image {
  position: relative;
}
.nextstep-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 16px 60px rgba(var(--rgb), 0.14);
  display: block;
}
.nextstep-img-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--w600);
  padding: 8px 18px;
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(var(--rgb), 0.22);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(var(--rgb), 0.12);
  white-space: nowrap;
}

/* --- FOOTER CTA STRIP --------------------------------- */
.footer-cta-strip {
  padding: 56px 0 48px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  position: relative;
}
.footer-cta-label {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 200;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-cta-title {
  font-family: var(--f-title);
  font-size: clamp(20px, 3.2vw, 32px);
  font-weight: 400;
  color: rgba(255,255,255,0.97);
  line-height: 1.3;
  margin-bottom: 28px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.footer-cta-btn {
  font-size: 16px;
  padding: 15px 36px;
  box-shadow: 0 8px 28px rgba(var(--rgb), 0.5);
}

/* --- NAV MOBILE: hide brand group -------------------- */
@media (max-width: 767px) {
  .nav-brand-group { display: none; }
  .nav-logo-img { height: 48px; }
  .nav-slogan { font-size: 10px; }
}
@media (max-width: 1023px) {
  .nav-brand-group { display: none; }
  .nav-logo-img { height: 58px; }
}

/* --- HERO SLIDER MOBILE ------------------------------ */
@media (max-width: 767px) {
  .hero-slide-product { min-height: max(100svh - var(--header-h), 520px); }
  .slide-product-wrap { padding: 50px 20px 80px; align-items: flex-start; }
  .slide-product-title { font-size: clamp(28px, 9vw, 44px); }
  .slide-product-desc { font-size: 14px; max-width: 100%; }
  .slide-product-features { gap: 8px 16px; }
  .hero-slider-dots { bottom: 18px; }
}

/* --- AUDIENCES MOBILE --------------------------------- */
@media (max-width: 1023px) {
  .audience-card { width: calc(33.33% - 12px); }
  .audience-card-wide { width: calc(50% - 9px); }
}
@media (max-width: 767px) {
  .audience-card { width: calc(50% - 9px); min-width: 140px; }
  .audience-card-wide { width: 100%; }
}

/* --- STEPS MOBILE ------------------------------------- */
@media (max-width: 1023px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .steps-line { display: none; }
}
@media (max-width: 767px) {
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .step-item { flex-direction: row; text-align: left; gap: 16px; }
  .step-number { margin-bottom: 0; flex-shrink: 0; width: 44px; height: 44px; font-size: 18px; }
  .step-content { align-items: flex-start; }
}

/* --- PRÓXIMO PASO MOBILE ------------------------------ */
@media (max-width: 1023px) {
  .nextstep-grid { grid-template-columns: 1fr; gap: 40px; }
  .nextstep-image { max-width: 440px; margin: 0 auto; }
}
@media (max-width: 767px) {
  .nextstep-ctas { flex-direction: column; }
  .nextstep-ctas .btn-primary,
  .nextstep-ctas .btn-whatsapp { width: 100%; max-width: 320px; }
}

/* --- FOOTER CTA STRIP MOBILE ------------------------- */
@media (max-width: 767px) {
  .footer-cta-strip { padding: 40px 0 32px; }
  .footer-cta-title { font-size: clamp(18px, 6vw, 26px); }
}

/* =====================================================
   ROUND 5 — Dropdowns, Certs, NVisions, Responsive
   ===================================================== */

/* --- NAV DROPDOWN ------------------------------------- */
.nav-item-drop {
  position: relative;
}
/* puente invisible: mantiene :hover activo mientras el cursor cruza el gap hacia el menú */
.nav-item-drop::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 18px;
}
.nav-drop-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-sub);
  cursor: pointer;
  transition: color 0.2s ease;
  position: relative;
  white-space: nowrap;
}
.nav-drop-trigger::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--w500);
  transition: width 0.3s ease;
}
.nav-drop-trigger:hover { color: var(--text); }
.nav-drop-trigger:hover::after { width: 100%; }
.nav-drop-trigger svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  opacity: 0.65;
}
.nav-item-drop:hover .nav-drop-trigger svg,
.nav-item-drop.open .nav-drop-trigger svg {
  transform: rotate(180deg);
}
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(var(--rgb), 0.14);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(var(--rgb), 0.12), 0 2px 8px rgba(0,0,0,0.06);
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 300;
}
.nav-item-drop:hover .nav-drop-menu,
.nav-item-drop.open .nav-drop-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-drop-item {
  display: block;
  padding: 10px 20px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.nav-drop-item:hover {
  color: var(--w600);
  background: rgba(var(--rgb), 0.05);
}

/* Dropdown en mobile: posición absoluta bajo el trigger */
@media (max-width: 767px) {
  .nav-item-drop { position: relative; }
  .nav-item-drop::after { display: none; }
  .nav-drop-trigger {
    font-size: 9px;
    padding: 4px 7px;
    color: var(--w600);
    width: auto;
    justify-content: center;
  }
  .nav-drop-trigger::after { display: none; }
  .nav-drop-menu {
    position: fixed;
    top: var(--header-h);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(var(--rgb), 0.16);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(var(--rgb), 0.14);
    border-radius: var(--radius-sm);
    padding: 8px 0;
  }
  .nav-item-drop.open .nav-drop-menu {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-drop-item {
    font-size: 13px;
    padding: 10px 18px;
    border-bottom: 1px solid rgba(var(--rgb), 0.06);
  }
  .nav-drop-item:last-child { border-bottom: none; }
}

/* --- CERTIFICACIONES STRIP ---------------------------- */
.certs-strip {
  background: var(--bg2);
  padding: 36px 0;
  border-bottom: 1px solid rgba(var(--rgb), 0.08);
}
.certs-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.certs-label {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}
.certs-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.cert-logo {
  height: 68px;
  width: auto;
  object-fit: contain;
  opacity: 0.82;
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: grayscale(15%);
}
.cert-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.06);
}

/* --- BENEFITS GRID RESPONSIVE (4 cols desktop) -------- */
@media (max-width: 1023px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* --- NATURAL VISIONS CARD ----------------------------- */
.nvisions-points {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 300;
  color: var(--w600);
  letter-spacing: 0.01em;
}

/* --- STATS CERTS INLINE ------------------------------- */
.stat-certs-item {
  flex-direction: column;
  gap: 6px;
}
.stat-certs-logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.stat-cert-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(0,150,199,0.7)) drop-shadow(0 0 12px rgba(72,202,228,0.4));
  flex-shrink: 0;
}

/* --- LANG TOGGLE IN MARQUEE --------------------------- */
.marquee-lang-toggle {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border: 1.5px solid rgba(255,255,255,0.75);
  border-radius: 5px;
  background: rgba(255,255,255,0.18);
  box-shadow: 0 0 8px rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 8px;
  flex-shrink: 0;
}
.marquee-lang-toggle:hover {
  border-color: rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.95);
}
.marquee-lang-toggle #langActive { color: rgba(255,255,255,0.95); }

/* --- GCAL WRAPPER ------------------------------------- */
.gcal-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,150,199,.15);
  box-shadow: 0 4px 24px rgba(0,150,199,.07);
  height: 600px;
}

/* --- SLIDER ARROWS ------------------------------------ */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Cristal con icono azul — visible en slide claro (1) y slides oscuros (2-5) */
  background: rgba(255,255,255,0.22);
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  color: var(--w600, #0077B6);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 14px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.5);
  transition: all 0.22s ease;
}
.slider-arrow:hover {
  background: rgba(255,255,255,0.38);
  color: var(--w500, #0096C7);
  border-color: rgba(255,255,255,0.7);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transform: translateY(-50%) scale(1.06);
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
@media (max-width: 767px) {
  .slider-prev { left: 10px; }
  .slider-next { right: 10px; }
  .slider-arrow { width: 38px; height: 38px; }
}

/* --- AUDIENCES LAYOUT WITH PHOTO ---------------------- */
.audiences-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.audiences-header-text {
  flex: 1;
  text-align: left;
}
.audiences-header-text .section-label,
.audiences-header-text .section-title,
.audiences-header-text .section-subtitle {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
@media (max-width: 1023px) {
  .audiences-top-row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .audiences-top-row .audiences-photo-col { align-self: flex-end; }
}
.audiences-layout {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}
.audiences-photo-col {
  flex-shrink: 0;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.audiences-erika-frame {
  position: relative;
  width: 200px;
  height: 200px;
}
.audiences-erika-glow {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,150,199,0.22) 0%, rgba(72,202,228,0.10) 50%, transparent 75%);
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}
.audiences-erika-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0,150,199,0.35);
  box-shadow: 0 0 0 6px rgba(0,150,199,0.08), 0 0 32px rgba(0,150,199,0.18), 0 12px 40px rgba(0,0,0,0.12);
  display: block;
  position: relative;
  z-index: 1;
}
@media (max-width: 1023px) {
  .audiences-layout { flex-direction: column; align-items: center; gap: 32px; }
  .audiences-photo-col { width: 100%; }
}

/* --- ABOUT PHOTO OVERLAY ------------------------------ */
.about-photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 20px 18px;
  background: linear-gradient(to top, rgba(0,50,100,0.88) 0%, rgba(0,50,100,0.60) 60%, transparent 100%);
  border-radius: 0 0 var(--radius) var(--radius);
  text-align: center;
  z-index: 2;
}
.about-overlay-name {
  font-family: var(--f-title);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: #ffffff;
  margin-bottom: 3px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.about-overlay-cert {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2px;
}
.about-overlay-spec {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 200;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}
.about-overlay-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.about-social-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.9;
}
.about-social-btn:hover { transform: scale(1.12); opacity: 1; }
.about-social-tiktok { background: linear-gradient(135deg, #010101 0%, #69C9D0 100%); color: #fff; }
.about-social-fb     { background: linear-gradient(135deg, #1877F2 0%, #4EA8FF 100%); color: #fff; }
.about-social-ig     { background: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #F77737 100%); color: #fff; }
.about-social-yt     { background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%); color: #fff; }

/* --- MOBILE FOOTER BOTTOM ----------------------------- */
@media (max-width: 767px) {
  .footer-bottom { flex-wrap: wrap; white-space: normal; font-size: 10px; }
  .footer-sep { display: inline; }
}

/* --- LEGAL NAV: centrado y gradiente ------------------- */
.legal-nav-inner {
  justify-content: center;
}
.legal-nav-link {
  background: linear-gradient(135deg, var(--w800) 0%, var(--w500) 50%, var(--crystal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.legal-nav-link:hover,
.legal-nav-link.active {
  opacity: 0.75;
  border-bottom-color: var(--w500);
}

/* --- SCROLL TO TOP BUTTON ----------------------------- */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--w700), var(--w500), var(--crystal));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 20px rgba(var(--rgb), 0.45), 0 2px 8px rgba(0,0,0,0.12);
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease;
  z-index: 900;
  pointer-events: none;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.scroll-top-btn:hover {
  box-shadow: 0 8px 32px rgba(var(--rgb), 0.60), 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-3px) scale(1.05);
}
@media (max-width: 767px) {
  .scroll-top-btn { bottom: 20px; right: 16px; width: 42px; height: 42px; }
}

/* --- BRAND PRODUCT MODAL ------------------------------ */
.brand-tag[data-product] {
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.brand-tag[data-product]:hover {
  background: rgba(var(--rgb), 0.14);
  border-color: rgba(var(--rgb), 0.45);
  color: var(--w700);
}
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 20, 45, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.product-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.product-modal {
  background: var(--bg);
  border: 1px solid rgba(var(--rgb), 0.18);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(var(--rgb), 0.18), 0 4px 16px rgba(0,0,0,0.14);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-modal-overlay.open .product-modal {
  transform: translateY(0) scale(1);
}
.product-modal-img-wrap {
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, var(--bg3) 0%, var(--bg2) 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
}
.product-modal-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-modal-label {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--w600);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.product-modal-title {
  font-family: var(--f-title);
  font-size: 24px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}
.product-modal-desc {
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 200;
  color: var(--text-sub);
  line-height: 1.7;
}
.product-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(var(--rgb), 0.18);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 1;
}
.product-modal-close:hover {
  background: var(--bg);
  color: var(--text);
  border-color: rgba(var(--rgb), 0.4);
}
.product-modal-wrap {
  position: relative;
}
@media (max-width: 767px) {
  .product-modal-img-wrap { height: 200px; }
  .product-modal-body { padding: 20px 20px 24px; }
  .product-modal-title { font-size: 20px; }
}

/* =====================================================
   BRAND POPUP — Puronics products
   ===================================================== */
.brand-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,20,45,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.brand-popup-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.brand-popup-wrap {
  position: relative;
  max-width: 660px;
  width: 100%;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s ease;
}
.brand-popup-overlay.open .brand-popup-wrap {
  transform: translateY(0) scale(1);
}
.brand-popup {
  background: var(--bg);
  border: 1px solid rgba(var(--rgb), 0.18);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(var(--rgb), 0.18), 0 4px 16px rgba(0,0,0,0.14);
  max-height: 88vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.brand-popup-gallery {
  background: linear-gradient(135deg, var(--bg3) 0%, var(--bg2) 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.brand-popup-gallery img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  display: block;
  padding: 20px;
}
.brand-popup-gallery-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 0 14px;
}
.brand-popup-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(var(--rgb), 0.08);
  border: 1px solid rgba(var(--rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--w600);
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.brand-popup-arrow:hover {
  background: rgba(var(--rgb), 0.16);
  border-color: rgba(var(--rgb), 0.4);
}
.brand-popup-dots {
  display: flex;
  gap: 6px;
}
.brand-popup-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(var(--rgb), 0.2);
  transition: background 0.2s, transform 0.2s;
}
.brand-popup-dot.active {
  background: var(--w500);
  transform: scale(1.25);
}
.brand-popup-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.brand-popup-title {
  font-family: var(--f-title);
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand-popup-desc {
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 200;
  color: var(--text-sub);
  line-height: 1.65;
}
.brand-popup-cta {
  align-self: flex-start;
  margin-top: 4px;
}
.brand-popup-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid rgba(var(--rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}
.brand-popup-close:hover {
  background: var(--bg2);
  color: var(--text);
}

/* Brand tags con popup — interactivos */
.brand-tag[data-brand-popup] {
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.brand-tag[data-brand-popup]:hover {
  background: rgba(var(--rgb), 0.14);
  border-color: rgba(var(--rgb), 0.45);
  color: var(--w700);
}
.brand-tag[data-brand-popup]::after {
  content: ' ↗';
  font-size: 11px;
  opacity: 0.55;
  margin-left: 2px;
}

@media (max-width: 600px) {
  .brand-popup-gallery img { max-height: 280px; }
  .brand-popup-body { padding: 20px 20px 24px; }
  .brand-popup-title { font-size: 17px; }
  .brand-popup-desc { font-size: 14px; }
}

/* --- BRAND TAG HIGHLIGHT (nav sub-chooser result) ------- */
.brand-tag[id] {
  scroll-margin-top: calc(var(--header-h, 72px) + 32px);
}
.brand-tag:target {
  background: var(--w100);
  border-color: var(--w500);
  color: var(--w800);
}

/* --- NAV SUB-CHOOSER overlay ---------------------------- */
.nav-sub-chooser {
  position: fixed;
  inset: 0;
  background: rgba(5, 20, 45, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.nav-sub-chooser.open {
  opacity: 1;
  pointer-events: auto;
}
.nav-sub-chooser-wrap {
  background: var(--bg);
  border: 1px solid rgba(var(--rgb), 0.18);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(var(--rgb), 0.18), 0 4px 16px rgba(0,0,0,0.12);
  padding: 32px 28px 28px;
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.25s ease;
}
.nav-sub-chooser.open .nav-sub-chooser-wrap {
  transform: translateY(0) scale(1);
}
.nav-sub-chooser-title {
  font-family: var(--f-title);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.nav-sub-chooser-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.nav-sub-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 18px 20px;
  background: var(--bg2);
  border: 1px solid rgba(var(--rgb), 0.14);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
  font-family: var(--f-body);
}
.nav-sub-option:hover {
  border-color: rgba(var(--rgb), 0.35);
  background: rgba(var(--rgb), 0.05);
  transform: translateY(-2px);
}
.nav-sub-option-name {
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
}
.nav-sub-option-brand {
  font-size: 11px;
  font-weight: 200;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.nav-sub-chooser-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(var(--rgb), 0.07);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1;
  transition: background 0.2s ease;
}
.nav-sub-chooser-close:hover { background: rgba(var(--rgb), 0.14); }
@media (max-width: 480px) {
  .nav-sub-chooser-options { grid-template-columns: 1fr; }
  .nav-sub-chooser-wrap { padding: 28px 20px 22px; }
}

