/* ============================================================
   VENUS PEPTIDE — styles.css
   Diseño limpio inspirado en Arizen BioLabs
   Paleta: fondo azul-gris perla, acentos azul marino, blanco
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Paleta */
  --bg-hero:        #dde6f0;   /* azul-gris perla igual que Arizen */
  --bg-white:       #ffffff;
  --bg-light:       #f4f7fb;
  --bg-dark:        #0f1e35;   /* azul marino oscuro — sección trust */
  --bg-dark2:       #162844;
  --bg-footer:      #0f1e35;

  --blue:           #2563eb;   /* azul acento principal */
  --blue-hover:     #1d4ed8;
  --blue-light:     rgba(37,99,235,0.10);

  --text-dark:      #0f1e35;
  --text-body:      #374151;
  --text-muted:     #6b7280;
  --text-light:     #9ca3af;
  --text-white:     #ffffff;

  --border:         #e2e8f0;
  --border-dark:    #1e3a5f;
  --shadow-card:    0 2px 16px rgba(15,30,53,0.08);
  --shadow-hover:   0 8px 32px rgba(15,30,53,0.14);

  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'Inter', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --nav-h:      68px;
  --max-w:      1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ── Utilidades ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
}

/* ── Botones ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}
.btn-outline:hover {
  background: var(--text-dark);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.7);
}

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
}
.nav__logo-icon {
  width: 34px; height: 34px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--text-dark); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all .3s;
}

/* ── MOBILE MENU ──────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 999;
  flex-direction: column;
  padding: 32px 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--blue); }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  background: var(--bg-hero);
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

/* Círculo decorativo fondo */
.hero::before {
  content: '';
  position: absolute;
  right: -120px; top: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,.10);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero__dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity:1; }
  50%      { opacity:.3; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(15,30,53,.12);
  flex-wrap: wrap;
}
.hero__stat-val {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-dark);
}
.hero__stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Imagen hero — vial mockup placeholder */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__vial-wrap {
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(15,30,53,.15);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 280px;
  width: 100%;
  position: relative;
}
.hero__vial-img {
  font-size: 100px;
  line-height: 1;
  /* Reemplaza esto con <img src="../img/vial.png"> cuando tengas imagen */
}
.hero__vial-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: #22c55e;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.hero__vial-label {
  text-align: center;
}
.hero__vial-label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-dark);
}
.hero__vial-label span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── TRUST BADGES (sección oscura) ───────────────────────── */
.trust {
  background: var(--bg-dark);
  padding: 60px 0;
}
.trust__title {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 40px;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.trust__item {
  background: var(--bg-dark2);
  padding: 28px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.trust__icon {
  width: 40px; height: 40px;
  background: rgba(37,99,235,.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}
.trust__item-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.trust__item-text {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.55;
}

/* ── POPULAR PRODUCTS ─────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.product-card__img {
  aspect-ratio: 1/1;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}
.product-card__img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 16px;
}

.product-card__body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}
.product-card__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.product-card__price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: auto;
}
.product-card__unit {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.product-card__btn {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 9px;
  text-align: center;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}
.product-card__btn:hover { background: var(--blue-hover); }

/* ── QUALITY SECTION ──────────────────────────────────────── */
.quality {
  background: var(--bg-light);
}
.quality__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.quality__visual {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quality__stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.quality__stat:last-child { border-bottom: none; }
.quality__stat-label { font-size: 14px; font-weight: 500; color: var(--text-body); }
.quality__stat-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
}

.quality__points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}
.quality__point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.quality__point-icon {
  width: 36px; height: 36px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.quality__point-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.quality__point-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── CTA BANNER ───────────────────────────────────────────── */
.cta-banner {
  background: var(--bg-dark);
  padding: 72px 0;
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  max-width: 500px;
  line-height: 1.2;
}
.cta-banner__sub {
  font-size: 15px;
  color: rgba(255,255,255,.55);
  margin-top: 10px;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--bg-footer);
  padding: 56px 0 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer__logo-icon {
  width: 32px; height: 32px;
  background: var(--blue);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
}
.footer__brand p {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  max-width: 260px;
}
.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
  transition: color .2s;
}
.footer__col a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,.3);
  flex-wrap: wrap;
  gap: 8px;
}
.footer__disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,.25);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 680px;
}

/* ── DIVIDER ──────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* ── FADE UP ANIMATION ────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner   { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual  { display: none; }
  .quality__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .trust__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 500px) {
  .products-grid { grid-template-columns: 1fr; }
  .footer__top   { grid-template-columns: 1fr; }
  .hero__stats   { gap: 20px; }
}
