/* ============================================================
   REDISEÑO — portada con fotografía
   Banner de escena con los frascos reales, logo en lugar del título
   y una franja oscura de confianza. Los ids y la lógica de la portada
   (#hero-title, #hero-buscar, #stat-frag) no cambian.
   ============================================================ */
.sr-solo { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Cabecera: el logo de la marca, no la palabra */
.logo { gap: 0; }
.logo-cab { display: block; height: 58px; width: auto; }
.topbar-inner { padding-top: 7px; padding-bottom: 7px; }
@media (max-width: 560px) { .logo-cab { height: 44px; } }

/* Banner */
.portada {
  position: relative; overflow: hidden;
  background: #d8c09f;
  height: clamp(500px, 37.5vw, 720px);
  display: flex; align-items: center;
}
.portada-foto { position: absolute; inset: 0; display: block; }
.portada-foto img {
  position: absolute; right: 0; bottom: 0;
  height: 100%; width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%);
          mask-image: linear-gradient(90deg, transparent 0, #000 14%);
}
.portada-in { position: relative; width: 100%; max-width: 1100px; margin: 0 auto; padding: 36px 18px; }
.portada-texto { max-width: 410px; }
.hero-h1 { margin: 0; font-size: 0; line-height: 0; }
.portada-logo { display: block; width: clamp(170px, 14vw, 230px); height: auto; margin: 0 0 14px -4px; }
.portada-lema { font-size: 15.5px; line-height: 1.5; color: #4a4036; margin: 0 0 4px; }
.portada .hero-buscar { margin-top: 16px; max-width: 372px; background: #fff; box-shadow: 0 8px 28px rgba(60, 40, 15, .16); }
.portada .hero-atajos a { background: rgba(255,255,255,.72); backdrop-filter: blur(2px); }

/* Franja de confianza */
.portada-conf {
  background: #1a1a1a; color: #f3e9d6;
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 14px 52px; padding: 18px 18px;
}
.portada-conf div { text-align: left; font-size: 13px; line-height: 1.3; }
.portada-conf strong { display: block; color: #e8c36a; font-weight: 600; font-size: 15px; }
.portada-conf span { opacity: .88; }
.portada-ig { display: inline-flex; align-items: center; gap: 8px; color: #f3e9d6; text-decoration: none; font-size: 13px; }
.portada-ig svg { width: 18px; height: 18px; color: #e8c36a; }
.portada-ig:hover span { text-decoration: underline; }

@media (max-width: 719px) {
  .portada { background: linear-gradient(180deg, #f3e9d8 0%, #e1d1b9 100%); display: flex; flex-direction: column; height: auto; padding-bottom: 0; }
  .portada-foto { position: relative; inset: auto; order: 2; margin-top: 14px; }
  .portada-foto img { position: static; width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%); mask-image: linear-gradient(180deg, transparent 0, #000 10%); display: block; }
  .portada-in { padding: 20px 18px 0; }
  .portada-texto { max-width: none; }
  .portada-logo { width: 132px; margin-bottom: 12px; }
  .portada-lema { font-size: 15px; margin-bottom: 16px; }
  .portada-conf { justify-content: flex-start; gap: 12px 26px; padding: 16px 18px; }
  .portada-conf div { flex: 0 0 calc(50% - 14px); }
}
