/* ==========================================================================
   BD Labs — estilos
   Paleta basada en el logo: negro profundo, azul eléctrico, azul cielo y plata.
   ========================================================================== */

:root {
  /* Fondos oscuros */
  --ink-950: #03060c;
  --ink-900: #060b16;
  --ink-850: #0a1120;
  --ink-800: #0e182c;
  --ink-700: #16233d;

  /* Azules del logo */
  --blue-500: #1f8fff;   /* azul eléctrico — color principal */
  --blue-600: #0f6fe0;   /* azul para texto sobre fondo claro */
  --blue-300: #5cc2ff;   /* azul cielo — "LABS" */
  --blue-glow: rgba(31, 143, 255, .45);

  /* Plata / claros */
  --silver-50: #f6f8fc;
  --gray-bg: #f1f3f6;    /* fondo gris claro de las secciones claras */
  --gray-bg-2: #e7ebf1;  /* gris un poco más oscuro para alternar */
  --silver-100: #eef3f9;
  --silver-200: #dfe6f0;
  --silver-400: #9aa8bc;

  --text-main: #0b1426;
  --text-muted: #56657d;
  --text-on-dark: #e9eff7;
  --muted-on-dark: rgba(233, 239, 247, .66);
  --line-dark: rgba(255, 255, 255, .1);
  --line-light: #e1e7f0;

  --wa-green: #25d366;
  --wa-green-dark: #1ebe5b;

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-sm: 0 2px 10px rgba(3, 6, 12, .06);
  --shadow-md: 0 14px 34px rgba(3, 6, 12, .10);
  --shadow-lg: 0 24px 60px rgba(3, 6, 12, .28);

  --font-head: "Inter Tight", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-brand: "Michroma", "Inter Tight", sans-serif;

  --subnav-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ink-950);
  color: var(--text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 .5em; color: var(--text-main); letter-spacing: -.02em; }
p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

section { padding: 120px 0; scroll-margin-top: var(--subnav-h); position: relative; z-index: 1; }

/* Secciones apiladas: se quedan fijas y la siguiente las cubre (ver effects.js) */
section[data-stack] { position: sticky; top: 0; }
.stack-marker { height: 0; }
.stack-shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 5; }
footer { scroll-margin-top: var(--subnav-h); }

.accent { color: var(--blue-500); }

.kicker {
  display: inline-block;
  font-family: var(--font-brand);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 18px;
}

.section-head { text-align: center; max-width: 820px; margin: 0 auto 64px; }
.section-head h2,
.catalog-side h2,
.faq-side h2,
.protocol-copy h2,
.skincare-copy h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.section-note { font-size: 1.05rem; }

/* Palabras divididas para animaciones */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; }

/* --------------------------------- Buttons -------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 500;
  font-size: .98rem;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 17px 28px; font-size: 1.05rem; }
.btn-sm { padding: 9px 16px; font-size: .85rem; border-radius: 10px; }

.btn-arrow { display: inline-block; transition: transform .25s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--blue-500);
  color: #fff;
  box-shadow: 0 10px 30px -8px var(--blue-glow);
}
.btn-primary:hover { background: #3a9dff; box-shadow: 0 14px 36px -6px var(--blue-glow); }

.btn-light { background: #fff; color: var(--ink-900); }
.btn-light:hover { background: var(--silver-100); }

.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-700); }

.btn-ghost {
  background: rgba(255, 255, 255, .04);
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
}
.btn-ghost:hover { border-color: var(--blue-300); color: var(--blue-300); }

.btn-outline {
  background: transparent;
  color: var(--ink-800);
  border-color: var(--line-light);
}
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); }

.btn-whatsapp {
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(37, 211, 102, .55);
}
.btn-whatsapp:hover { background: var(--wa-green-dark); }

/* brillo que cruza el botón */
.btn-primary::before,
.btn-whatsapp::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-20deg);
  transition: left .7s ease;
  pointer-events: none;
}
.btn-primary:hover::before,
.btn-whatsapp:hover::before { left: 130%; }

.btn-disabled { opacity: .5; pointer-events: none; }

.icon-wa { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* ---------------------------------- Hero ----------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-950);
  color: var(--text-on-dark);
  padding: 0 0 56px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-hex {
  position: absolute;
  inset: -60px;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='97' viewBox='0 0 84 97'%3E%3Cpath d='M42 1 83 24.5v48L42 96 1 72.5v-48Z' fill='none' stroke='%231f8fff' stroke-opacity='.16' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 84px 97px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 10%, transparent 75%);
  animation: hex-drift 40s linear infinite;
}
@keyframes hex-drift { to { transform: translate(84px, 97px); } }

.hero-spot {
  position: absolute;
  left: var(--sx, 72%);
  top: var(--sy, 42%);
  width: 720px;
  height: 720px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(31, 143, 255, .22), transparent 62%);
  transition: left .6s ease-out, top .6s ease-out;
}

/* Header (sobre el hero) */
.site-header { position: relative; z-index: 20; padding: 22px 0; }
.header-inner { display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(92, 194, 255, .35), 0 0 22px rgba(31, 143, 255, .45);
}
.brand-word {
  font-family: var(--font-brand);
  font-size: 1.05rem;
  letter-spacing: .12em;
  color: #fff;
}
.brand-word span { color: var(--blue-300); }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  position: relative;
  font-size: .96rem;
  color: rgba(255, 255, 255, .78);
  padding: 6px 0;
  transition: color .2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--blue-300);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { padding: 11px 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 8px;
}
.nav-toggle span { width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* Contenido del hero */
.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-brand);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 26px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-300);
  box-shadow: 0 0 0 0 rgba(92, 194, 255, .6);
  animation: pulse-dot 2s ease-out infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(92, 194, 255, .6); }
  100% { box-shadow: 0 0 0 12px rgba(92, 194, 255, 0); }
}

.hero-title {
  color: #fff;
  font-size: clamp(2.9rem, 6.4vw, 5.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.04em;
  margin-bottom: 28px;
}
.hero-title .accent:not(:has(.wi)),
.hero-title .accent .wi {
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300), #cfe9ff, var(--blue-500));
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine-text 6s linear infinite;
}
@keyframes shine-text { to { background-position: 250% center; } }

.hero-desc { color: var(--muted-on-dark); font-size: 1.15rem; max-width: 560px; margin-bottom: 36px; }
.hero-desc strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Visual del hero */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 460px; }
.hero-ring {
  position: absolute;
  width: min(460px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(92, 194, 255, .55);
  box-shadow: 0 0 40px rgba(31, 143, 255, .45), inset 0 0 40px rgba(31, 143, 255, .25);
  animation: ring-spin 18s linear infinite;
}
.hero-ring::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cfe9ff;
  box-shadow: 0 0 16px 4px var(--blue-300);
}
@keyframes ring-spin { to { transform: rotate(360deg); } }

.hero-card {
  position: relative;
  width: min(300px, 70%);
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 14px 14px 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
}
.hero-slides { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #fff; }
.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .9s ease, transform 3.5s ease;
}
.hero-slides img.active { opacity: 1; transform: scale(1); }
.hero-card-foot { padding: 14px 6px 16px; display: flex; flex-direction: column; gap: 2px; }
.hero-card-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.hero-card-foot strong { font-family: var(--font-head); color: var(--text-main); font-size: 1.05rem; }

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(10, 17, 32, .72);
  border: 1px solid rgba(92, 194, 255, .28);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: .88rem;
  font-weight: 500;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}
.chip-ico {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(31, 143, 255, .22);
  color: var(--blue-300);
  font-size: .8rem;
}
.chip-a { top: 16%; left: -2%; animation: float 6s ease-in-out infinite; }
.chip-b { bottom: 14%; right: -2%; animation: float 7s ease-in-out infinite 1s; }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.hero-trust {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}
.hero-trust li { display: flex; align-items: center; gap: 10px; color: var(--muted-on-dark); font-size: .95rem; }
.hero-trust span { font-size: 1.05rem; }

/* ------------------------------ Sub-nav fija ------------------------------ */
.subnav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(3, 6, 12, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.subnav::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
}
.subnav-inner { display: flex; align-items: center; gap: 28px; height: var(--subnav-h); }
.subnav-label {
  font-family: var(--font-brand);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  padding-right: 28px;
  border-right: 1px solid var(--line-dark);
  white-space: nowrap;
}
.subnav-links {
  position: relative;
  display: flex;
  gap: 28px;
  margin-right: auto;
  overflow-x: auto;
  scrollbar-width: none;
  height: 100%;
  align-items: center;
}
.subnav-links::-webkit-scrollbar { display: none; }
.subnav-links a {
  font-size: .92rem;
  color: rgba(255, 255, 255, .62);
  white-space: nowrap;
  transition: color .2s ease;
}
.subnav-links a:hover,
.subnav-links a.active { color: #fff; }
.subnav-indicator {
  position: absolute;
  bottom: 12px;
  left: 0;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: var(--blue-300);
  box-shadow: 0 0 10px var(--blue-glow);
  transition: transform .35s cubic-bezier(.3, .7, .2, 1), width .35s cubic-bezier(.3, .7, .2, 1), opacity .2s ease;
  opacity: 0;
}

/* ------------------------------ Mi cotización ------------------------------ */
.quote-wrap { position: relative; flex-shrink: 0; }
.nav-quote { padding: 10px 16px; font-size: .9rem; }
.quote-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-600);
  font-size: .74rem;
  font-weight: 700;
}
.quote-badge.bump { animation: badge-bump .5s ease; }
@keyframes badge-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.45); }
  100% { transform: scale(1); }
}

.quote-drawer {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 360px;
  max-width: 92vw;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  z-index: 70;
}
.quote-drawer.open { display: block; animation: pop-in .25s cubic-bezier(.2, .8, .2, 1); }
.quote-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.quote-drawer-head strong { font-family: var(--font-head); color: var(--text-main); font-size: 1.1rem; }
.quote-drawer-close { background: none; border: none; font-size: .95rem; color: var(--text-muted); }
.quote-drawer-hint { font-size: .8rem; margin-bottom: 14px; }
.quote-items { max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.quote-empty { font-size: .86rem; color: var(--text-muted); margin: 0; }
.quote-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--silver-100);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.quote-item-info { display: flex; flex-direction: column; gap: 2px; }
.quote-item-info strong { font-size: .86rem; color: var(--text-main); }
.quote-item-info span { font-size: .76rem; color: var(--text-muted); }
.quote-item-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  background: #fff;
  color: var(--ink-800);
  font-size: .9rem;
  line-height: 1;
}
.qty-btn:hover { border-color: var(--blue-500); color: var(--blue-600); }
.qty-value { font-size: .84rem; font-weight: 600; min-width: 14px; text-align: center; }
.qty-remove { background: none; border: none; color: var(--text-muted); font-size: .8rem; margin-left: 4px; }
.qty-remove:hover { color: #d64545; }
.quote-drawer-footer { display: flex; gap: 10px; }
.quote-drawer-footer .btn { flex: 1; justify-content: center; }

/* -------------------------------- Declaración -------------------------------- */
.statement { background: var(--gray-bg); padding: 150px 0 130px; text-align: center; }
.statement-text {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5.2vw, 4.6rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--text-main);
  max-width: 1100px;
  margin: 0 auto 36px;
}
.statement-text .sw { transition: color .2s linear; }
.statement-cite { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--text-main); margin: 0; }

/* -------------------------------- Catálogo ----------------------------------- */
.catalog { background: var(--gray-bg-2); }
.catalog-layout { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.catalog-side { position: sticky; top: calc(var(--subnav-h) + 32px); }
.catalog-side .section-note { margin-bottom: 28px; }
.section-sub { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-600); font-weight: 600; margin-bottom: 14px; }
.check-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--blue-500);
  color: #fff;
  border-radius: 50%;
  font-size: .72rem;
  flex-shrink: 0;
}

.search-box { position: relative; margin-bottom: 10px; }
.search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-52%); font-size: 1.2rem; color: var(--text-muted); }
.search-box input {
  width: 100%;
  padding: 15px 16px 15px 44px;
  border-radius: 12px;
  border: 1.5px solid var(--line-light);
  background: #fff;
  font-family: inherit;
  font-size: .95rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-box input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(31, 143, 255, .14); }
.search-results-count { font-size: .84rem; color: var(--text-muted); margin: 0 0 18px; min-height: 1em; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px -18px rgba(15, 111, 224, .35);
  border-color: rgba(31, 143, 255, .45);
}
.product-photo {
  position: relative;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line-light);
  flex-shrink: 0;
  overflow: hidden;
}
.product-photo img,
.product-photo svg {
  height: 206px;
  width: auto;
  max-width: 88%;
  object-fit: contain;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.product-card:hover .product-photo img,
.product-card:hover .product-photo svg { transform: scale(1.07); }

.quick-add {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: var(--ink-900);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, background .2s ease;
}
.quick-add:hover { transform: scale(1.1); background: var(--blue-500); }
.quick-add.added { background: var(--wa-green); }

.product-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.product-top-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.product-tag {
  display: inline-block;
  background: rgba(31, 143, 255, .1);
  color: var(--blue-600);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.product-sku { font-size: .74rem; color: var(--text-muted); font-weight: 500; white-space: nowrap; }
.product-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.product-desc { font-size: .93rem; flex-grow: 1; margin-bottom: 16px; }
.product-meta { margin-bottom: 18px; }
.stock-badge {
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink-700);
  background: var(--silver-100);
  padding: 6px 12px;
  border-radius: 999px;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
}
.product-price { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--text-main); letter-spacing: -.02em; }

.no-results { text-align: center; color: var(--text-muted); padding: 20px 0 0; }
.no-results a { color: var(--blue-600); font-weight: 600; }

.duration-block { margin-top: 100px; text-align: center; }
.duration-block h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; margin-bottom: 10px; }
.duration-note { font-size: .9rem; max-width: 640px; margin: 0 auto 30px; }
.duration-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}
.duration-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .92rem; min-width: 580px; }
.duration-table th { background: var(--ink-900); color: #fff; font-weight: 500; padding: 16px 20px; white-space: nowrap; }
.duration-table td { padding: 15px 20px; border-top: 1px solid var(--line-light); color: var(--text-main); }
.duration-table tbody tr { transition: background .2s ease; }
.duration-table tbody tr:hover td { background: rgba(31, 143, 255, .05); }
.duration-value { font-weight: 700; color: var(--blue-600); }
.stock-disclaimer { font-size: .86rem; max-width: 560px; margin: 0 auto; }

/* ------------------------- Más péptidos (bajo pedido) ------------------------- */
.catalog-extra { background: var(--ink-900); position: relative; overflow: hidden; }
.catalog-extra::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  width: 900px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(31, 143, 255, .16), transparent 65%);
  pointer-events: none;
}
.catalog-extra .container { position: relative; }
.catalog-extra .kicker { color: var(--blue-300); }
.catalog-extra h2 { color: #fff; }
.catalog-extra .accent { color: var(--blue-300); }
.catalog-extra .section-note { color: var(--muted-on-dark); }

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 16px;
  justify-content: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 0 20px;
}
.pill-card {
  --rot: 0deg;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(92, 194, 255, .22);
  color: #fff;
  padding: 18px 26px;
  border-radius: 18px;
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 500;
  rotate: var(--rot);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6);
  transition: rotate .35s cubic-bezier(.3, .7, .2, 1), transform .35s cubic-bezier(.3, .7, .2, 1), background .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.pill-card:hover {
  rotate: 0deg;
  transform: translateY(-6px) scale(1.04);
  background: var(--blue-500);
  border-color: var(--blue-500);
  box-shadow: 0 16px 40px -8px var(--blue-glow);
}
.extra-footnote { text-align: center; color: var(--muted-on-dark); margin: 44px auto 0; max-width: 560px; }

/* --------------------------- Skin Care (próximamente) ------------------------ */
.skincare { background: var(--gray-bg); }
.skincare-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.soon-badge {
  display: inline-block;
  background: rgba(31, 143, 255, .1);
  color: var(--blue-600);
  font-family: var(--font-brand);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  animation: soon-pulse 2.4s ease-in-out infinite;
}
@keyframes soon-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 143, 255, .35); }
  50% { box-shadow: 0 0 0 9px rgba(31, 143, 255, 0); }
}
.skincare-copy p { font-size: 1.1rem; max-width: 480px; margin-bottom: 30px; }

.skincare-preview {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 50% 40%, var(--ink-700), var(--ink-950) 75%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.skincare-preview::before {
  content: "";
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(92, 194, 255, .45);
  box-shadow: 0 0 36px rgba(31, 143, 255, .35);
}
.skincare-preview p { position: relative; margin: 0; color: var(--muted-on-dark); font-weight: 500; }
.skincare-preview-icon { position: relative; font-size: 2.8rem; animation: float 4s ease-in-out infinite; }
.skincare-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Con imagen: proporción vertical de la imagen, clic para verla en grande */
.skincare-preview.has-image {
  aspect-ratio: 1122 / 1402;
  width: 100%;
  max-width: 440px;
  justify-self: center;
  padding: 0;
  border: none;
  cursor: zoom-in;
  background: var(--silver-50);
  box-shadow: 0 30px 70px -20px rgba(3, 6, 12, .45), 0 0 0 1px rgba(31, 143, 255, .15);
}
.skincare-preview.has-image::before { display: none; }
.skincare-preview.has-image img { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.skincare-preview.has-image:hover img { transform: scale(1.04); }
.skincare-preview:not(:has(img))::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .12) 50%, transparent 70%);
  background-size: 250% 100%;
  animation: shimmer 2.8s ease-in-out infinite;
}
@keyframes shimmer {
  from { background-position: 150% 0; }
  to { background-position: -100% 0; }
}

/* ------------------------------- Cómo funciona -------------------------------- */
.how-it-works { background: var(--ink-950); }
.how-it-works .kicker { color: var(--blue-300); }
.how-it-works h2 { color: #fff; }
.how-it-works .accent { color: var(--blue-300); }
.how-it-works .section-note { color: var(--muted-on-dark); }

.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.steps-line {
  position: absolute;
  top: 16px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: var(--line-dark);
}
.steps-line-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  box-shadow: 0 0 12px var(--blue-glow);
  transform-origin: 0 50%;
  transform: scaleX(1);
}
.step { position: relative; }
.step-pill {
  display: inline-block;
  position: relative;
  z-index: 1;
  background: var(--blue-500);
  color: #fff;
  font-family: var(--font-brand);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
  box-shadow: 0 0 0 6px var(--ink-950), 0 0 24px var(--blue-glow);
}
.step h3 { color: #fff; font-size: 1.35rem; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.step p { color: var(--muted-on-dark); max-width: 300px; margin: 0 auto; }

.big-quote {
  margin: 110px auto 0;
  max-width: 860px;
  padding: 6px 0 6px 34px;
  border-left: 4px solid var(--blue-500);
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #fff;
}

/* ------------------------------- Protocolo Básico ------------------------------- */
.protocol { background: var(--gray-bg-2); }
.protocol-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.protocol-copy > p { font-size: 1.05rem; }
.protocol-copy .btn { margin-top: 8px; }
.protocol-fineprint { margin-top: 26px; font-size: .82rem; max-width: 520px; }

.protocol-list { border-top: 1px solid var(--silver-200); }
.protocol-list li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 26px 18px;
  border-bottom: 1px solid var(--silver-200);
  isolation: isolate;
  transition: color .3s ease, padding .3s ease;
}
.protocol-list li::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-900);
  border-radius: 14px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .35s cubic-bezier(.3, .7, .2, 1);
  z-index: -1;
}
.protocol-list li:hover::before { transform: scaleY(1); }
.protocol-list li:hover { padding-left: 26px; }
.row-num { font-family: var(--font-brand); font-size: .8rem; color: var(--blue-600); transition: color .3s ease; }
.row-text { font-family: var(--font-head); font-size: 1.2rem; font-weight: 500; color: var(--text-main); transition: color .3s ease; }
.row-ico { font-size: 1.3rem; }
.protocol-list li:hover .row-text { color: #fff; }
.protocol-list li:hover .row-num { color: var(--blue-300); }

/* ----------------------------------- FAQ -------------------------------------- */
.faq { background: var(--gray-bg); }
.faq-layout { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--subnav-h) + 32px); }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-light); }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 26px 4px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--text-main);
  transition: color .2s ease;
}
.faq-question:hover { color: var(--blue-600); }
.faq-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  color: var(--blue-600);
  font-size: 1rem;
  transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-caret { transform: rotate(45deg); background: var(--blue-500); border-color: var(--blue-500); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; padding: 0 4px; }
.faq-item.open .faq-answer { max-height: 320px; padding-bottom: 24px; }
.faq-answer p { margin: 0; font-size: 1rem; max-width: 680px; }

/* -------------------------------- Testimonios ---------------------------------- */
.testimonials { background: var(--ink-900); overflow: hidden; }
.testimonials::before {
  content: "";
  position: absolute;
  right: -200px;
  top: 10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(31, 143, 255, .14), transparent 65%);
  pointer-events: none;
}
.testimonials .container { position: relative; }
.testimonials .kicker { color: var(--blue-300); }
.testimonials h2 { color: #fff; }
.testimonials .accent { color: var(--blue-300); }
.testimonials .section-note { color: var(--muted-on-dark); }

.testimonials-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }

.testimonial-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.testimonial-card,
.testimonial-empty {
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(92, 194, 255, .18);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, border-color .3s ease;
}
.testimonial-card:hover { transform: translateY(-6px); border-color: rgba(92, 194, 255, .45); }
.stars { color: #ffc94d; letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 14px; }
.stars-off { color: rgba(255, 255, 255, .18); }
.testimonial-text { color: var(--text-on-dark); font-size: 1rem; line-height: 1.6; flex: 1; margin-bottom: 20px; }
.testimonial-card footer { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.testimonial-card footer strong { display: block; color: #fff; font-size: .95rem; }
.testimonial-meta { font-size: .8rem; color: var(--muted-on-dark); }
.testimonial-card .product-tag { margin-left: auto; background: rgba(92, 194, 255, .14); color: var(--blue-300); }
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-300));
  color: #fff;
  font-weight: 600;
  font-size: .85rem;
  flex-shrink: 0;
}

.testimonial-empty { grid-column: 1 / -1; align-items: flex-start; padding: 44px 40px; min-height: 100%; justify-content: center; }
.testimonial-empty-ico { font-family: var(--font-head); font-size: 5rem; line-height: .7; color: var(--blue-500); margin-bottom: 18px; }
.testimonial-empty h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; max-width: 440px; }
.testimonial-empty p { color: var(--muted-on-dark); max-width: 460px; margin: 0; }

/* Formulario */
.testimonial-form {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.testimonial-form h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 6px; }
.form-hint { font-size: .86rem; margin-bottom: 22px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: .82rem; font-weight: 600; color: var(--text-main); margin-bottom: 7px; }
.field em { font-weight: 400; color: var(--text-muted); font-style: normal; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line-light);
  border-radius: 10px;
  background: var(--silver-50);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text-main);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(31, 143, 255, .14); }
.char-count { display: block; text-align: right; font-size: .74rem; color: var(--text-muted); margin-top: 4px; }

.star-input { display: flex; gap: 4px; }
.star-btn {
  background: none;
  border: none;
  padding: 0 2px;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--silver-200);
  transition: color .15s ease, transform .15s ease;
}
.star-btn:hover { transform: scale(1.15); }
.star-btn.on { color: #ffb627; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--text-muted); margin: 6px 0 18px; cursor: pointer; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--blue-500); flex-shrink: 0; }

.form-error { background: #fdecec; color: #b42323; font-size: .86rem; padding: 10px 14px; border-radius: 10px; margin: 0 0 16px; }
.form-submit { width: 100%; justify-content: center; }

.form-success {
  position: absolute;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 32px;
  animation: fade-in .3s ease;
}
.form-success[hidden] { display: none; }
.form-success-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 6px;
  animation: pop-in .45s cubic-bezier(.2, .8, .2, 1);
}
.form-success strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--text-main); }
.form-success p { font-size: .9rem; max-width: 300px; }

/* Con muchos testimonios, la lista se desplaza por dentro */
.testimonial-list.is-many {
  max-height: 720px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(92, 194, 255, .35) transparent;
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent);
  mask-image: linear-gradient(to bottom, #000 88%, transparent);
  padding-bottom: 60px;
}
.testimonial-card { position: relative; }
.testimonial-card.is-mine { border-color: rgba(37, 211, 102, .55); }
.mine-badge {
  margin-top: 14px;
  align-self: flex-start;
  font-size: .74rem;
  font-weight: 600;
  color: var(--wa-green);
  background: rgba(37, 211, 102, .12);
  padding: 5px 10px;
  border-radius: 999px;
}
/* Resumen de calificaciones */
.review-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 24px 28px;
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-dark);
}
.review-summary[hidden] { display: none; }
.rs-score { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.rs-score strong { font-family: var(--font-head); font-size: 3.2rem; line-height: 1; color: #fff; font-weight: 600; }
.rs-score .stars { margin: 6px 0 2px; }
.rs-count { font-size: .82rem; color: var(--muted-on-dark); }
.rs-bars { display: flex; flex-direction: column; gap: 8px; }
.rs-row { display: grid; grid-template-columns: 34px 1fr 40px; gap: 10px; align-items: center; font-size: .82rem; color: var(--muted-on-dark); }
.rs-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.rs-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffb627, #ffc94d); }
.rs-pct { text-align: right; }
@media (max-width: 640px) {
  .review-summary { grid-template-columns: 1fr; gap: 18px; }
}

/* Fotos en las tarjetas */
.t-photos { display: flex; gap: 10px; margin: -4px 0 20px; }
.t-photo {
  width: 96px;
  height: 96px;
  padding: 0;
  border: 1px solid rgba(92, 194, 255, .25);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, .05);
  cursor: zoom-in;
  transition: transform .2s ease, border-color .2s ease;
}
.t-photo:hover { transform: translateY(-3px); border-color: var(--blue-300); }
.t-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-photos-pending { font-size: .8rem; color: var(--muted-on-dark); margin: -6px 0 16px; }

/* Selector de fotos del formulario */
.photo-field[hidden],
.photo-note[hidden],
.check[hidden] { display: none; }
.photo-drop { display: block; cursor: pointer; }
.photo-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.photo-drop-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 18px;
  border: 1.5px dashed var(--silver-200);
  border-radius: 12px;
  background: var(--silver-50);
  text-align: center;
  transition: border-color .2s ease, background .2s ease;
}
.photo-drop:hover .photo-drop-inner,
.photo-drop input:focus-visible + .photo-drop-inner { border-color: var(--blue-500); background: rgba(31, 143, 255, .05); }
.photo-drop-ico { font-size: 1.5rem; }
.photo-drop-inner strong { font-size: .92rem; color: var(--blue-600); }
.photo-drop-inner small { font-size: .76rem; color: var(--text-muted); }
.photo-field.is-full .photo-drop { display: none; }
.photo-previews { display: flex; gap: 10px; margin-top: 10px; }
.photo-previews:empty { display: none; }
.photo-preview { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-light); }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(3, 6, 12, .7);
  color: #fff;
  font-size: .7rem;
  line-height: 1;
}
.photo-note { font-size: .82rem; background: var(--silver-100); border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.testimonial-disclaimer { text-align: center; font-size: .8rem; color: rgba(233, 239, 247, .45); margin: 40px auto 0; max-width: 600px; }

@media (max-width: 1080px) {
  .testimonials-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .testimonial-list { grid-template-columns: 1fr; }
  .testimonial-form { padding: 24px 20px; }
  .testimonial-empty { padding: 32px 24px; }
}

/* ---------------------------------- Footer -------------------------------------- */
.site-footer { background: var(--ink-950); color: var(--muted-on-dark); padding-top: 120px; position: relative; z-index: 1; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1000px;
  height: 500px;
  transform: translate(-50%, -40%);
  background: radial-gradient(ellipse, rgba(31, 143, 255, .2), transparent 65%);
  pointer-events: none;
}
.footer-cta {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 72px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-cta h2 {
  color: #fff;
  font-size: clamp(2.6rem, 7vw, 6rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.045em;
  margin: 0;
}
.footer-cta .accent { color: var(--blue-300); }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.brand-footer { margin-bottom: 18px; }
.footer-desc { font-size: .92rem; max-width: 340px; color: var(--muted-on-dark); }
.site-footer h4 { color: #fff; font-size: .98rem; font-weight: 500; margin-bottom: 16px; }
.site-footer .footer-grid > div > a:not(.brand) {
  display: block;
  font-size: .94rem;
  color: var(--muted-on-dark);
  margin-bottom: 10px;
  transition: color .2s ease, transform .2s ease;
}
.site-footer .footer-grid > div > a:not(.brand):hover { color: var(--blue-300); transform: translateX(4px); }
.site-footer .footer-grid > div > a.footer-wa { display: inline-flex; align-items: center; gap: 8px; color: var(--wa-green); font-weight: 600; }
.footer-note { font-size: .84rem; color: rgba(233, 239, 247, .45); }
.disclaimer { font-size: .8rem; color: rgba(233, 239, 247, .45); max-width: 920px; margin: 32px auto 0; text-align: center; line-height: 1.65; }
.copyright { text-align: center; font-size: .82rem; color: rgba(233, 239, 247, .35); padding: 20px 0 30px; margin: 0; }

/* --------------------------- Botón flotante de WhatsApp ---------------------------- */
.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 60;
  transition: transform .2s ease;
}
.fab:hover { transform: scale(1.08); }
.fab-whatsapp { background: var(--wa-green); color: #fff; }
.fab-whatsapp .icon-wa { width: 28px; height: 28px; }
.fab-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa-green);
  z-index: -1;
  animation: fab-pulse 2.4s ease-out infinite;
}
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ------------------------------------ Chatbot ------------------------------------ */
.chatbot { position: fixed; right: 24px; bottom: 96px; z-index: 65; display: flex; flex-direction: column; align-items: flex-end; }
.chatbot-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(92, 194, 255, .35);
  background: var(--ink-850);
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 0 24px rgba(31, 143, 255, .35), var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.chatbot-toggle:hover { transform: scale(1.08); }
.chatbot-icon-close { display: none; }
.chatbot.open .chatbot-icon-open { display: none; }
.chatbot.open .chatbot-icon-close { display: inline; }

.chatbot-window {
  display: none;
  flex-direction: column;
  width: 350px;
  max-width: calc(100vw - 48px);
  height: 470px;
  max-height: 65vh;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 14px;
}
.chatbot.open .chatbot-window { display: flex; animation: pop-in .28s cubic-bezier(.2, .8, .2, 1); transform-origin: bottom right; }
.chatbot-header {
  background: linear-gradient(135deg, var(--ink-900), var(--ink-700));
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.chatbot-header strong { font-family: var(--font-head); font-size: 1rem; font-weight: 600; }
.chatbot-header p { margin: 2px 0 0; font-size: .78rem; color: rgba(255, 255, 255, .65); }
.chatbot-close { background: none; border: none; color: rgba(255, 255, 255, .7); font-size: 1rem; }
.chatbot-close:hover { color: #fff; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--silver-50); }
.chat-msg { display: flex; animation: fade-in .3s ease; }
.chat-msg--bot { justify-content: flex-start; }
.chat-msg--user { justify-content: flex-end; }
.chat-bubble { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: .87rem; line-height: 1.5; }
.chat-msg--bot .chat-bubble { background: #fff; border: 1px solid var(--line-light); color: var(--text-main); border-bottom-left-radius: 4px; }
.chat-msg--user .chat-bubble { background: var(--blue-500); color: #fff; border-bottom-right-radius: 4px; }
.chat-wa-btn { display: inline-flex; margin-top: 10px; padding: 8px 14px; font-size: .78rem; }
.chatbot-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line-light); background: #fff; }
.quick-btn {
  background: var(--silver-100);
  border: 1px solid var(--line-light);
  color: var(--ink-800);
  font-size: .76rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.quick-btn:hover { background: var(--blue-500); color: #fff; border-color: var(--blue-500); }
.chatbot-input { display: flex; border-top: 1px solid var(--line-light); background: #fff; }
.chatbot-input input { flex: 1; border: none; padding: 14px 16px; font-size: .88rem; font-family: inherit; outline: none; }
.chatbot-input button { width: 52px; border: none; background: var(--blue-500); color: #fff; font-size: 1.1rem; }
.chatbot-input button:hover { background: var(--blue-600); }

/* ------------------------------------- Modal -------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, .72);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 80;
}
.modal-overlay.open { display: flex; animation: fade-in .2s ease; }
.modal {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.modal-overlay.open .modal { animation: pop-in .35s cubic-bezier(.2, .8, .2, 1); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--silver-100);
  color: var(--ink-800);
  font-size: 1rem;
  transition: background .2s ease, transform .2s ease;
}
.modal-close:hover { background: var(--silver-200); transform: rotate(90deg); }
.modal-photo {
  margin: -34px -34px 22px;
  height: 260px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line-light);
}
.modal-photo svg,
.modal-photo img { height: 236px; width: auto; max-width: 70%; object-fit: contain; }
.modal-header { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.modal-icon { font-size: 2rem; }
.modal-tag {
  display: inline-block;
  background: rgba(31, 143, 255, .1);
  color: var(--blue-600);
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  margin-right: 8px;
}
.modal-sku { font-size: .76rem; color: var(--text-muted); font-weight: 500; }
.modal-header h3 { margin: 0; font-size: 1.6rem; font-weight: 600; }
.modal-desc { font-size: 1rem; color: var(--text-main); }
.modal-block { margin-bottom: 20px; }
.modal-block h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-600); margin-bottom: 8px; font-weight: 600; }
.modal-block p { font-size: .94rem; margin: 0; }
.modal-benefits li { position: relative; padding-left: 24px; font-size: .94rem; color: var(--text-main); margin-bottom: 7px; }
.modal-benefits li::before { content: "✔"; position: absolute; left: 0; color: var(--blue-500); font-size: .8rem; }
.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--silver-100);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
}
.modal-grid h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 4px; font-weight: 600; }
.modal-grid p { font-size: .92rem; margin: 0; color: var(--text-main); font-weight: 500; }
.modal-price { color: var(--blue-600) !important; font-weight: 700 !important; font-size: 1.15rem !important; }
.modal-add-quote { width: 100%; justify-content: center; margin-bottom: 12px; }
.modal-cta { width: 100%; justify-content: center; margin-bottom: 12px; }
.modal-fineprint { font-size: .78rem; color: var(--text-muted); text-align: center; margin: 0; }

.coa-thumbs { display: flex; gap: 12px; flex-wrap: wrap; }
.coa-thumb { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 96px; background: none; border: none; padding: 0; }
.coa-thumb img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-light);
  transition: border-color .2s ease, transform .2s ease;
}
.coa-thumb:hover img { border-color: var(--blue-500); transform: translateY(-3px); }
.coa-thumb span { font-size: .72rem; font-weight: 600; color: var(--blue-600); }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, .9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 95;
}
.lightbox-overlay.open { display: flex; animation: fade-in .2s ease; }
.lightbox-overlay.open img { animation: pop-in .35s cubic-bezier(.2, .8, .2, 1); }
.lightbox-overlay img { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 1.1rem;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .25); }

/* ------------------------------------ Efectos ------------------------------------ */
.fly-ghost { position: fixed; z-index: 120; object-fit: contain; pointer-events: none; border-radius: 12px; }

@keyframes fade-in { from { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(20px) scale(.97); } }

/* ------------------------------------ Responsive ------------------------------------ */
@media (max-width: 1080px) {
  .catalog-layout,
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .catalog-side,
  .faq-side { position: static; }
  .catalog-side-inner { max-width: 560px; }
  .protocol-inner,
  .skincare-inner { grid-template-columns: 1fr; gap: 48px; }
  .subnav-label { display: none; }
}

@media (max-width: 900px) {
  section { padding: 88px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 16px; }
  .hero-visual { min-height: 380px; order: 2; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 17, 32, .96);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease, padding .35s ease;
  }
  .main-nav.open { max-height: 420px; opacity: 1; padding: 10px 20px; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps-line { display: none; }
  .step-pill { margin-bottom: 18px; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 11px 13px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-word { font-size: .9rem; }
  .float-chip { font-size: .78rem; padding: 10px 12px; }
  .chip-a { left: 0; }
  .chip-b { right: 0; }
  .subnav-inner { gap: 14px; }
  .subnav-links { gap: 20px; }
  .quote-label { display: none; }
  .nav-quote { padding: 9px 12px; }
  .quote-drawer { right: -4px; }
  .pill-card { font-size: 1rem; padding: 14px 20px; }
  .protocol-list li { grid-template-columns: 40px 1fr auto; padding: 22px 10px; }
  .row-text { font-size: 1.05rem; }
  .modal { padding: 24px 20px; }
  .modal-photo { margin: -24px -20px 20px; }
  .modal-grid { grid-template-columns: 1fr; }
  .chatbot { right: 16px; bottom: 84px; }
  .fab { right: 16px; bottom: 16px; }
  .chatbot-window { width: calc(100vw - 32px); }
  .big-quote { padding-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
