@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

/* ═══════════════════════════════════════════════
   BIOKAY GENUINE · Home
   Paleta tomada del esquema: granate, crema, oro
   ═══════════════════════════════════════════════ */
:root {
  --granate: #5a1e25;
  --granate-oscuro: #43161b;
  --crema: #efe9dc;
  --oro: #c9a15c;
  --oro-claro: #f0d9a8;
  --tinta: #2b2320;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", "Segoe UI", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--crema);
  color: var(--tinta);
}

img,
video {
  display: block;
  max-width: 100%;
}

/* ── Pre-header ────────────────────────────────── */
.pre-header {
  width: 100%;
  background-color: #3F5248;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.18em;
}

.pre-header__text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #C49A83;
  text-transform: uppercase;
}

/* ── Nav principal horizontal ────────────────── */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
  background: var(--crema);
  border-bottom: 1px solid rgba(201, 161, 92, .3);
  box-shadow: 0 2px 16px rgba(43, 22, 25, .08);
  height: 64px;
}

/* Buscador (izquierda) */
.main-nav__search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.search-form__inner {
  display: flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid rgba(201, 161, 92, .45);
  border-radius: 999px;
  padding: .35em .9em;
  background: rgba(201, 161, 92, .06);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.search-form__inner:focus-within {
  border-color: var(--oro);
  box-shadow: 0 0 0 3px rgba(201, 161, 92, .18);
}

.search-form__icon {
  width: 16px;
  height: 16px;
  color: var(--granate);
  flex-shrink: 0;
  opacity: .7;
}

.search-form__input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-sans);
  font-size: .85rem;
  color: var(--tinta);
  width: 140px;
  transition: width .3s ease;
}

.search-form__input::placeholder {
  color: rgba(43, 35, 32, .45);
}

.search-form__input:focus {
  width: 200px;
}

/* Oculta el botón nativo de limpiar en Chrome */
.search-form__input::-webkit-search-cancel-button {
  display: none;
}

/* Accesibilidad: ocultar visualmente */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Lista principal (centro) */
.main-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.6rem, 2vw, 2rem);
}

/* Item */
.main-nav__item {
  position: relative;
}

/* Enlace de nivel 1 */
.main-nav__link {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--granate);
  text-decoration: none;
  letter-spacing: .04em;
  padding: .35em .1em;
  position: relative;
  transition: color .25s ease;
}

.main-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: var(--oro);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.main-nav__item:hover .main-nav__link,
.main-nav__item:focus-within .main-nav__link {
  color: var(--oro);
}

.main-nav__item:hover .main-nav__link::after,
.main-nav__item:focus-within .main-nav__link::after {
  transform: scaleX(1);
}


/* Dropdown */
.main-nav__dropdown {
  list-style: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 160px;
  background: #4D5B51;
  border-radius: 10px;
  padding: 1rem 0;
  box-shadow: 0 12px 32px rgba(43, 22, 25, .22);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 80;
}

/* Puntero triangular */
.main-nav__dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #4D5B51;
}

.main-nav__item:hover .main-nav__dropdown,
.main-nav__item:focus-within .main-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Links del dropdown */
.main-nav__dropdown li a {
  display: block;
  padding: .85em 1.8em;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  color: #BCBBA4;
  text-decoration: none;
  letter-spacing: .06em;
  transition: color .2s ease, background .2s ease;
  white-space: nowrap;
}

.main-nav__dropdown li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

/* Logo imagen (derecha) */
.main-nav__logo-img {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: opacity .2s ease;
}

.main-nav__logo-img:hover {
  opacity: .8;
}

.main-nav__logo-img img {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ── Sección 1 · Hero vitrina ──────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  padding: 3rem 0;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero__hotspots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hotspot polygon {
  fill: rgba(255, 255, 255, 0);
  stroke: rgba(240, 217, 168, 0);
  stroke-width: 3;
  cursor: pointer;
  transition: fill .3s ease, stroke .3s ease, filter .3s ease;
  pointer-events: all;
}

.hotspot:hover polygon,
.hotspot:focus polygon {
  fill: rgba(255, 255, 255, 0);
  stroke: rgba(240, 217, 168, 0);
  filter: none;
}

.hotspot:focus {
  outline: none;
}

/* Tooltip que sigue al cursor sobre la vitrina */
.hero__tooltip {
  position: fixed;
  z-index: 40;
  padding: .45em 1em;
  border: 1px solid var(--oro);
  border-radius: 999px;
  background: rgba(43, 22, 25, .85);
  backdrop-filter: blur(4px);
  color: var(--oro-claro);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -140%);
  transition: opacity .2s ease;
  pointer-events: none;
}

.hero__tooltip.is-visible {
  opacity: 1;
}

/* ── Franja separadora hero ─────────────────────── */
.band {
  background: #4D5B51;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2em;
  padding: 1rem 2rem;
  flex-wrap: wrap;
}

.band__label,
.band__sub {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  color: #C49A83;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.band__label {
  font-size: 1rem;
  text-transform: uppercase;
}

.band__sub {
  font-size: 1.33rem;
  font-style: italic;
}

.band__divider {
  color: #C49A83;
  opacity: .5;
  font-size: 1rem;
}

.band--footer {
  height: auto;
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: center;
}

.band--footer p {
  color: var(--crema);
  font-family: var(--font-serif);
  font-size: .95rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* ── Sección 2 · Un mundo de bienestar ─────────── */
.mundo {
  position: relative;
  background: url("../img/img-fondo-video.webp") center / cover no-repeat;
}

.mundo::before {
  /* velo cálido para legibilidad del heading */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(239, 233, 220, .55) 0%, rgba(239, 233, 220, .15) 45%, rgba(67, 22, 27, .35) 100%);
}

.mundo__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7.5rem) 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}

.mundo__heading {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  line-height: 1.15;
  color: var(--tinta);
  text-wrap: balance;
  text-shadow: 0 1px 12px rgba(239, 233, 220, .8);
}

.mundo__door {
  width: min(560px, 82vw);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(43, 22, 25, .45);
  margin-bottom: 3rem;
}

.mundo__door video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 10;
  /* vídeo recortado a proporción intermedia 9:10 */
  object-fit: cover;
  /* red de seguridad si se sustituye el archivo */
}

/* ═══════════════════════════════════════════════
   PLANTILLA · Archivo de marcas
   ═══════════════════════════════════════════════ */

/* ── Cabecera de página + migas de pan ─────────── */
.page-head {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem 0;
  text-align: center;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .35em;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--granate);
}

.breadcrumbs li+li::before {
  content: "›";
  margin-right: .5em;
  color: var(--oro);
}

.breadcrumbs a {
  color: var(--granate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, color .25s ease;
}

.breadcrumbs a:hover {
  color: var(--oro);
  border-color: var(--oro);
}

.breadcrumbs [aria-current="page"] {
  color: var(--tinta);
  opacity: .65;
}

.page-title {
  margin-top: 1.4rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--granate);
  line-height: 1.05;
}

.page-subtitle {
  margin: .8rem auto 0;
  max-width: 46ch;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--tinta);
  opacity: .8;
}

/* ── Grid de marcas: 2 columnas × 3 filas ──────── */
.brands-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem clamp(3.5rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.4rem, 3.5vw, 2.5rem);
}

.brand-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(201, 161, 92, .35);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--tinta);
  box-shadow: 0 6px 18px rgba(43, 22, 25, .08);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(43, 22, 25, .18);
  border-color: var(--oro);
}

.brand-card__logo {
  display: grid;
  place-items: center;
  height: 170px;
  padding: 1.2rem;
  background: var(--crema);
  border-bottom: 1px solid rgba(201, 161, 92, .25);
}

.brand-card__logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  mix-blend-mode: multiply;
  /* funde el fondo del recorte con la crema */
  transition: transform .35s ease;
}

.brand-card:hover .brand-card__logo img {
  transform: scale(1.05);
}

.brand-card h2 {
  padding: 1.2rem 1.4rem 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--granate);
}

.brand-card p {
  padding: .5rem 1.4rem 0;
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.55;
  flex-grow: 1;
}

.brand-card__cta {
  padding: 1rem 1.4rem 1.3rem;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--oro);
  transition: letter-spacing .3s ease, color .3s ease;
}

.brand-card:hover .brand-card__cta {
  color: var(--granate);
  letter-spacing: .3em;
}

@media (max-width: 720px) {
  .brands-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Animación de entrada ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s ease, transform .9s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ── Responsive · Mobile nav ────────────────────── */

/* Botón hamburguesa — oculto en desktop */
.mob-menu-btn {
  display: none;
}

@media (max-width: 860px) {

  /* Nav: solo logo + hamburguesa */
  .main-nav {
    grid-template-columns: 1fr auto;
  }

  .main-nav__list,
  .main-nav__search {
    display: none;
  }

  /* Botón hamburguesa */
  .mob-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background .2s ease;
  }

  .mob-menu-btn:hover {
    background: rgba(201, 161, 92, .12);
  }

  .mob-menu-btn__bar {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--granate);
    transition: transform .3s ease, opacity .3s ease, width .3s ease;
    transform-origin: center;
  }

  /* Animación → X */
  .mob-menu-btn.is-open .mob-menu-btn__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mob-menu-btn.is-open .mob-menu-btn__bar:nth-child(2) {
    opacity: 0;
    width: 0;
  }

  .mob-menu-btn.is-open .mob-menu-btn__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Backdrop */
  .mob-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(43, 22, 25, .45);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s;
  }

  .mob-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  /* Drawer lateral derecho */
  .mob-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 80;
    width: min(300px, 82vw);
    height: 100dvh;
    background: #3F5248;
    padding: 5rem 0 2rem;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.22, .8, .3, 1);
    overflow-y: auto;
    box-shadow: -8px 0 30px rgba(0, 0, 0, .3);
  }

  .mob-drawer.is-open {
    transform: translateX(0);
  }

  /* Lista mobile */
  .mob-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
  }

  .mob-nav__item {
    border-bottom: 1px solid rgba(196, 154, 131, .15);
  }

  .mob-nav__item:first-child {
    border-top: 1px solid rgba(196, 154, 131, .15);
  }

  /* Links directos */
  .mob-nav__link {
    display: block;
    padding: 1rem 1.6rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #C49A83;
    text-decoration: none;
    letter-spacing: .06em;
    transition: color .2s ease, padding-left .2s ease;
  }

  .mob-nav__link:hover {
    color: #fff;
    padding-left: 2rem;
  }

  /* Botón toggle acordeón */
  .mob-nav__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.6rem;
    background: none;
    border: none;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #C49A83;
    letter-spacing: .06em;
    cursor: pointer;
    text-align: left;
    transition: color .2s ease;
  }

  .mob-nav__toggle:hover {
    color: #fff;
  }

  /* Chevron del toggle */
  .mob-nav__toggle::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .3s ease;
    flex-shrink: 0;
  }

  .mob-nav__toggle[aria-expanded="true"]::after {
    transform: rotate(-135deg);
  }

  /* Submenu acordeón */
  .mob-nav__sub {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.22, .8, .3, 1);
    background: rgba(0, 0, 0, .12);
  }

  .mob-nav__sub.is-open {
    max-height: 400px;
  }

  .mob-nav__sub li a {
    display: block;
    padding: .7rem 2.4rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 400;
    font-size: 1.05rem;
    color: rgba(196, 154, 131, .75);
    text-decoration: none;
    letter-spacing: .05em;
    transition: color .2s ease, padding-left .2s ease;
  }

  .mob-nav__sub li a:hover {
    color: #fff;
    padding-left: 3rem;
  }

  .hero__tooltip {
    display: none;
  }
}

/* Ocultar drawer en desktop */
@media (min-width: 861px) {

  .mob-backdrop,
  .mob-drawer {
    display: none;
  }
}

/* ═══════════════════════════════════════════════
   PLANTILLA · Single de marca (pagina 3)
   ═══════════════════════════════════════════════ */

/* ── Logo firma ────────────────────────────────── */
.firma-logo {
  display: grid;
  place-items: center;
  margin: 1.8rem auto 0;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 400;
  color: var(--tinta);
  mix-blend-mode: multiply;
  opacity: 0.5;
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ── Intro: texto · escaparate · fundadora ─────── */
.firma-intro {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem clamp(2.5rem, 6vw, 4.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.8rem, 4vw, 3rem);
}

.firma-intro__titulo {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.95rem, 4.25vw, 2.95rem);
  color: var(--granate);
  text-align: center;
  margin-bottom: 0.5rem;
}

.firma-intro__columnas-imagenes {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  width: 100%;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.firma-intro__columnas-imagenes .firma-intro__fundadora {
  justify-self: end;
  width: 100%;
  max-width: 280px;
  margin: 0;
}

.firma-intro__columnas-imagenes .firma-intro__escaparate {
  justify-self: start;
  width: 100%;
  max-width: 480px;
  margin: 0;
}

.firma-intro__texto {
  font-family: var(--font-serif);
  font-size: clamp(1.025rem, 1.8vw, 1.325rem);
  line-height: 1.6;
  color: var(--tinta);
  text-align: center;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.firma-intro__texto h1 {
  font-weight: 600;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--granate);
  margin-bottom: .6em;
  line-height: 1.1;
}

.firma-intro__texto p {
  margin-bottom: 1.2rem;
}

.firma-intro__texto p:last-child {
  margin-bottom: 0;
}

/* Soporte para fundadora y escaparate individuales */
.firma-intro__fundadora {
  max-width: 240px;
  margin: 0 auto 1.5rem auto;
  display: block;
}

.firma-intro__escaparate {
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

/* Marcos de imagen (escaparate / fundadora) */
.firma-frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(201, 161, 92, .4);
  box-shadow: 0 14px 34px rgba(43, 22, 25, .14);
  background: linear-gradient(150deg, #e7e0cf 0%, #cfd4bc 100%);
}

.firma-intro__escaparate .firma-frame {
  aspect-ratio: 4 / 3;
}

.firma-intro__fundadora .firma-frame {
  aspect-ratio: 3 / 4;
}

.firma-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.firma-frame figcaption,
.firma-frame .firma-frame__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(#80C1B4);
  opacity: .75;
}

/* ── Grid de productos: fila de 3 + fila de 4 ──── */
.productos {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem clamp(3.5rem, 8vw, 6rem);
}

.productos__titulo {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--Holiday);
  text-align: center;
  margin-bottom: .5rem;
}

.productos__fila {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
}

.productos__fila--3 {
  grid-template-columns: repeat(3, 1fr);
}

.productos__fila--4 {
  grid-template-columns: repeat(4, 1fr);
}

.productos__fila--4 .producto__media {
  aspect-ratio: 4 / 3.37;
}

.producto__media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(155deg, #b9c7a3 0%, #93a97e 100%);
  box-shadow: 0 8px 20px rgba(43, 22, 25, .12);
  transition: transform .3s ease, box-shadow .3s ease;
}

.producto:hover .producto__media {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(43, 22, 25, .2);
}

.producto__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.producto__media>span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: #fff;
  text-shadow: 0 1px 6px rgba(43, 22, 25, .3);
}

.producto__info-btn {
  position: absolute;
  right: .75rem;
  bottom: .55rem;
  border: none;
  background: none;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--oro-claro);
  text-shadow: 0 1px 4px rgba(43, 22, 25, .45);
  cursor: pointer;
  transition: color .25s ease, transform .25s ease;
}

.producto__info-btn:hover {
  color: #fff;
  transform: scale(1.08);
}

.producto__info-btn[aria-expanded="true"] {
  color: #fff;
}

.producto__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: .6rem .15rem 0;
}

.producto__meta h3 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: .95rem;
  color: var(--tinta);
  text-align: center;
}

.producto__cta-img {
  display: block;
  max-width: 80px;
  width: 100%;
  opacity: .75;
  transition: opacity .25s ease, transform .25s ease;
  cursor: pointer;
}
.producto__cta-img:hover {
  opacity: 1;
  transform: scale(1.06);
}
.producto__media-link {
  display: block;
  text-decoration: none;
}

.producto__nombre-link {
  text-decoration: none;
}
.producto__nombre-link h3 {
  transition: color .25s ease;
}
.producto__nombre-link:hover h3 {
  color: var(--oro);
}

/* ── Desplegable +info ─────────────────────────── */
.producto-desplegable {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  border-radius: 14px;
  background: rgba(201, 161, 92, .14);
  border: 1px solid transparent;
  transition: max-height .55s cubic-bezier(.22, .8, .3, 1), opacity .4s ease, margin .4s ease;
}

.producto-desplegable.is-open {
  max-height: 640px;
  opacity: 1;
  margin-top: 1.6rem;
  border-color: rgba(201, 161, 92, .4);
}

.producto-desplegable__inner {
  padding: clamp(1.4rem, 3.5vw, 2.2rem);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: center;
}

.producto-desplegable__inner>p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--tinta);
}

.producto-desplegable__related {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.producto-desplegable__related .producto__media {
  aspect-ratio: 1 / 1;
}

.producto-desplegable__related figcaption {
  margin-top: .4rem;
  text-align: center;
  font-size: .82rem;
  color: var(--tinta);
}

/* ── Responsive single de marca ────────────────── */
@media (max-width: 900px) {
  .productos__fila--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .firma-intro__columnas-imagenes {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .firma-intro__columnas-imagenes .firma-intro__fundadora,
  .firma-intro__columnas-imagenes .firma-intro__escaparate {
    justify-self: center;
    max-width: 260px;
  }

  .productos__fila--3,
  .productos__fila--4 {
    grid-template-columns: 1fr;
  }

  .producto-desplegable__inner {
    grid-template-columns: 1fr;
  }
}

/* ── Estilos del nuevo Hero y Swiper Slider ─────── */
.hero__container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}

.hero__logo-wrapper {
  margin-bottom: 2.5rem;
  text-align: center;
  animation: fadeInDown 1s ease both;
}

.hero__logo {
  max-width: 320px;
  width: 100%;
  height: auto;
  display: inline-block;
}

/*.hero__swiper */
.hero__swiper {
  width: 100%;
  max-width: 1400px;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: transparent;
  animation: fadeInUp 1s ease both 0.3s;
}

.hero__swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.hero__swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Personalización de Controles Swiper (Estilo Premium) */
.hero__swiper .swiper-button-next,
.hero__swiper .swiper-button-prev {
  color: #c9a15c;
  background: rgba(255, 255, 255, 0.9);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.hero__swiper .swiper-button-next:hover,
.hero__swiper .swiper-button-prev:hover {
  background: #c9a15c;
  color: #fff;
  transform: scale(1.05);
}

.hero__swiper .swiper-button-next::after,
.hero__swiper .swiper-button-prev::after {
  font-size: 1.1rem;
  font-weight: bold;
}

.hero__swiper .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
}

.hero__swiper .swiper-pagination-bullet-active {
  background: #c9a15c;
  opacity: 1;
}

/* Animaciones */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Adaptación responsive */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 2.5rem 0;
  }

  .hero__swiper {
    height: 180px;
  }

  .hero__logo {
    max-width: 220px;
  }
}

/* Página de producto single: Imagen de fondo */
.page-firma {
  background-image: url('../img/img-fondo-product-single.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

/* Pie de foto de la fundadora */
.fundadora-caption {
  font-family: var(--font-serif) !important;
  font-weight: 400 !important;
  color: #078429 !important;
  font-size: clamp(1rem, 2vw, 1.25rem) !important;
  margin-top: 0.6rem !important;
  text-align: center !important;
  display: block !important;
}

/* ═══════════════════════════════════════════════
   MODAL NEXO · Popup de producto
   ═══════════════════════════════════════════════ */
.nexo-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(200, 200, 195, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
  padding: 1rem;
}
.nexo-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.nexo-modal {
  background: #dedad4;
  border: 1.5px solid #5a7a5a;
  border-radius: 6px;
  max-width: 360px;
  width: 100%;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform .35s cubic-bezier(.22, .8, .3, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
}
.nexo-modal-backdrop.is-open .nexo-modal {
  transform: translateY(0) scale(1);
}

.nexo-modal__body {
  padding: 2rem 2.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.nexo-modal__intro {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: .6rem;
}

.nexo-modal__brand-logo {
  max-width: 200px;
  width: 80%;
  margin: .2rem auto .8rem;
  display: block;
}

.nexo-modal__important {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.55;
  margin-bottom: .6rem;
}

.nexo-modal__nexo-logo {
  max-width: 130px;
  width: 60%;
  margin: 0 auto .8rem;
  display: block;
}

.nexo-modal__gift {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: #1a1a1a;
  line-height: 1.6;
  margin-bottom: .8rem;
}
.nexo-modal__gift strong {
  font-size: 1.35rem;
  font-weight: 700;
  display: block;
}

.nexo-modal__code {
  background: #3a7a5a;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .45em 1.4em;
  border-radius: 4px;
  margin-bottom: .5rem;
  user-select: all;
}

.nexo-modal__copy-btn {
  background: #4a9a6a;
  color: #fff;
  border: none;
  font-family: var(--font-sans);
  font-size: .78rem;
  letter-spacing: .05em;
  padding: .35em 1.1em;
  border-radius: 3px;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
  margin-bottom: .9rem;
}
.nexo-modal__copy-btn:hover { background: #3a7a5a; }
.nexo-modal__copy-btn.copied {
  background: #2d5e45;
  transform: scale(.97);
}

.nexo-modal__tip {
  font-family: var(--font-sans);
  font-size: .72rem;
  color: #555;
  line-height: 1.45;
  border-top: 1px solid rgba(90, 120, 90, .25);
  padding-top: .7rem;
  width: 100%;
}

.nexo-modal__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .9rem 2.2rem 1.1rem;
  border-top: 1px solid rgba(90, 120, 90, .2);
}

.nexo-modal__cancel {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  transition: color .2s ease;
}
.nexo-modal__cancel:hover { color: #000; }

.nexo-modal__sigue {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: color .2s ease;
}
.nexo-modal__sigue:hover { color: #000; }

/* Cursor pointer en triggers de producto */
.producto__trigger { cursor: pointer; }