/* ========================================================================== 
   ANDRÄE — HERO / ETAPA 1
   --------------------------------------------------------------------------
   - Sin dependencias externas ni fuentes remotas.
   - Header transparente sobre la fotografía.
   - Solo rotan las imágenes de fondo; contenido y controles permanecen fijos.
   - Imágenes se aplican como background para evitar drag directo. Esto NO
     impide que un usuario avanzado obtenga un recurso servido por el navegador.
   ========================================================================== */

:root {
  --ink: #17130f;
  --ivory: #f8f3eb;
  --paper: #fffaf3;
  --gold: #efcf8e;
  --gold-soft: #f4dfad;
  --white: #fff;
  --shadow: rgba(22, 15, 9, .18);
  --menu-width: min(410px, 88vw);
  --header-h: 112px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 12px;
  top: 12px;
  transform: translateY(-180%);
  background: #111;
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

/* HEADER */
.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(24px, 4vw, 72px);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.brand {
  justify-self: center;
  display: inline-flex;
  width: 106px;
  height: 74px;
  align-items: center;
  justify-content: center;
}
.brand img {
  width: 106px;
  height: auto;
  display: block;
  object-fit: contain;
  /* Contorno luminoso muy sutil: ayuda a separar el logo dorado del fondo
     sin alterar el archivo original ni convertirlo en un logo blanco. */
  filter:
    drop-shadow(0 0 0.75px rgba(255,255,255,.98))
    drop-shadow(0 0 2.2px rgba(255,255,255,.72))
    drop-shadow(0 2px 8px rgba(0,0,0,.16));
  user-select: none;
  -webkit-user-drag: none;
}
.header-actions {
  justify-self: end;
  display: flex;
  gap: 12px;
}
.icon-button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  transition: background .2s ease, transform .2s ease;
}
.icon-button:hover,
.icon-button:focus-visible { background: rgba(15, 12, 9, .12); outline: none; }
.icon-button:active { transform: scale(.96); }
.icon-button svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.menu-trigger { justify-self: start; gap: 5px; align-content: center; }
.menu-trigger span {
  display: block;
  width: 30px;
  height: 2px;
  background: currentColor;
  border-radius: 10px;
}

/* Tooltip para lupa/login y opciones apagadas. */
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 100;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, -4px);
  width: max-content;
  max-width: 210px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(17, 14, 11, .94);
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: .02em;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.unavailable { cursor: not-allowed; }

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  height: max(760px, 100svh);
  overflow: hidden;
  isolation: isolate;
  background: #cfae8b;
}
.hero-slides,
.hero-slide,
.hero-shade { position: absolute; inset: 0; }
.hero-slide {
  opacity: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  transform: scale(1);
  transition: opacity .85s var(--ease);
  will-change: opacity;
  user-select: none;
  -webkit-user-drag: none;
}
.hero-slide.is-active { opacity: 1; }

/*
   INTRO DEL HERO — SOLO AL CARGAR LA PÁGINA
   -------------------------------------------------------------
   Se aplica una única vez a la primera fotografía. El movimiento
   es intencionalmente mínimo (zoom-out + desplazamiento) y no se
   repite cuando el carrusel vuelve a la primera imagen.
*/
.hero-slide.is-intro {
  animation: hero-first-load 4.2s cubic-bezier(.16,.78,.28,1) both;
  will-change: transform, filter;
}
@keyframes hero-first-load {
  0% {
    transform: scale(1.15) translate3d(20px, 7px, 0);
    filter: brightness(.96) saturate(.97);
  }
  100% {
    transform: scale(1) translate3d(0, 0, 0);
    filter: brightness(1) saturate(1);
  }
}
.hero-slide--blush { --hero-image: url("assets/images/hero-blush.webp"); background-image: var(--hero-image); }
.hero-slide--camel { --hero-image: url("assets/images/hero-camel.webp"); background-image: var(--hero-image); }
.hero-slide--celeste { --hero-image: url("assets/images/hero-celeste.webp"); background-image: var(--hero-image); }

/* Degradado solo para mantener legible el texto a la izquierda. */
.hero-shade {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(250,240,226,.93) 0%, rgba(250,240,226,.82) 28%, rgba(250,240,226,.28) 47%, rgba(250,240,226,0) 64%),
    linear-gradient(180deg, rgba(20,16,12,.08) 0%, transparent 24%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 5;
  width: min(720px, 47vw);
  padding: clamp(190px, 24vh, 265px) 0 70px clamp(42px, 5.2vw, 104px);
}
.eyebrow {
  margin: 0 0 22px;
  font-size: clamp(13px, 1vw, 18px);
  letter-spacing: .34em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero h1 {
  margin: 0;
  max-width: 690px;
  font-family: Didot, "Bodoni 72", "Bodoni MT", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(62px, 6.25vw, 118px);
  line-height: .9;
  letter-spacing: -.045em;
}
.accent-rule {
  display: block;
  width: 72px;
  height: 2px;
  background: var(--ink);
  margin: 34px 0 26px;
  opacity: .7;
}
.hero-copy {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 1.55vw, 29px);
  line-height: 1.35;
  margin: 0 0 34px;
}
.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-width: 330px;
  padding: 20px 26px;
  background: #11100f;
  color: var(--gold-soft);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 14px 35px rgba(0,0,0,.12);
  transition: transform .2s ease, background .2s ease;
}
.primary-cta:hover,
.primary-cta:focus-visible { background: #221d18; transform: translateY(-1px); outline: 2px solid rgba(239,207,142,.65); outline-offset: 3px; }

.carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  margin-top: 48px;
}
.carousel-arrow {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 37px;
  line-height: 1;
  cursor: pointer;
  opacity: .82;
}
.carousel-arrow:hover,
.carousel-arrow:focus-visible { opacity: 1; outline: 1px solid currentColor; outline-offset: 2px; }
.carousel-dots { display: flex; align-items: center; gap: 12px; }
.carousel-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 999px;
  border: 1.5px solid rgba(23,19,15,.65);
  background: rgba(255,255,255,.28);
  cursor: pointer;
}
.carousel-dot.is-active { background: var(--ink); border-color: var(--ink); }
.hero-script {
  position: absolute;
  z-index: 5;
  right: clamp(28px, 5vw, 100px);
  top: 29%;
  color: #f2d99f;
  margin: 0;
  transform: rotate(-4deg);
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: clamp(28px, 2.3vw, 48px);
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,.12);
}

/* MENÚ LATERAL */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: rgba(12,10,8,.35);
  backdrop-filter: blur(3px);
}
.side-menu {
  position: fixed;
  z-index: 80;
  inset: 0 auto 0 0;
  width: var(--menu-width);
  padding: 30px 34px 42px;
  background: rgba(18,15,12,.97);
  color: #f7efe1;
  transform: translateX(-102%);
  transition: transform .35s var(--ease);
  box-shadow: 20px 0 60px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
}
.side-menu.is-open { transform: translateX(0); }
.side-menu__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.side-menu__eyebrow { color: var(--gold); letter-spacing: .25em; font-size: 12px; }
.back-button {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 12px 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
}
.side-menu__nav {
  margin-top: 12vh;
  display: grid;
  gap: 7px;
}
.side-menu__nav a,
.menu-disabled {
  position: relative;
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  text-decoration: none;
  text-align: left;
  padding: 16px 0;
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(10px, 2vw, 18px);
  cursor: pointer;
}
.side-menu__nav a:hover,
.side-menu__nav a:focus-visible { color: var(--gold); outline: none; }
.menu-disabled { color: rgba(255,255,255,.32); cursor: not-allowed; }
.menu-disabled[data-tooltip]::after { top: 55%; left: 75%; font-family: Arial, sans-serif; font-size: 12px; }
.side-menu__note {
  margin: auto 0 0;
  font-size: 12px;
  color: rgba(255,255,255,.52);
  letter-spacing: .08em;
  line-height: 1.7;
}

/* ==========================================================================
   COLECCIÓN DESTACADA — GALERÍA DE PRODUCTO
   --------------------------------------------------------------------------
   La sección comienza con un solo producto para validar el comportamiento.
   La grilla está preparada para crecer hasta cuatro tarjetas sin cambiar HTML
   estructural. Cada tarjeta mantiene proporción 1:1: las imágenes cuadradas
   no se recortan ni en escritorio ni en celular.
   ========================================================================== */
.featured-collection {
  padding: clamp(64px, 7vw, 104px) clamp(18px, 4vw, 64px) clamp(78px, 8vw, 120px);
  background:
    radial-gradient(circle at 50% 0%, rgba(244,223,173,.16), transparent 34%),
    #fffaf3;
}
.featured-collection__inner {
  width: min(1360px, 100%);
  margin: 0 auto;
}
.featured-collection__eyebrow {
  margin: 0 0 14px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .32em;
  color: #9f7446;
  font-size: 12px;
  font-weight: 600;
}
.featured-collection__title {
  margin: 0 auto clamp(38px, 5vw, 66px);
  max-width: 900px;
  text-align: center;
  font-family: Didot, "Bodoni 72", "Bodoni MT", Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.2vw, 68px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -.025em;
}

/*
   auto-fit permite que hoy una sola tarjeta quede centrada y, cuando agreguemos
   los demás modelos, la misma grilla se distribuya automáticamente.
*/
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(245px, 100%), 1fr));
  gap: clamp(18px, 2vw, 28px);
  align-items: start;
}
.product-card {
  width: 100%;
  max-width: 330px;
  justify-self: center;
  outline: none;
}
.product-card:focus-visible {
  outline: 2px solid rgba(159,116,70,.75);
  outline-offset: 7px;
}
.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  isolation: isolate;
  background: #eee5dc;
  box-shadow: 0 20px 55px rgba(70,48,32,.08);
  cursor: crosshair;
}
.product-card__image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.012);
  transition:
    opacity .42s var(--ease),
    transform .85s var(--ease);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.product-card__image.is-active {
  z-index: 2;
  opacity: 1;
}

/* Micro movimiento editorial: acompaña el cambio de foto sin desplazar la card. */
.product-card.is-rotating .product-card__image.is-active {
  transform: scale(1.035);
}
.product-card__media::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 72%, rgba(22,16,11,.06) 100%);
}
.product-card__counter {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 12px;
  min-width: 58px;
  padding: 7px 9px;
  border-radius: 999px;
  color: rgba(255,255,255,.94);
  background: rgba(24,19,15,.58);
  backdrop-filter: blur(7px);
  font-size: 10px;
  letter-spacing: .14em;
  text-align: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .22s ease, transform .22s ease;
}
.product-card:hover .product-card__counter,
.product-card:focus-visible .product-card__counter,
.product-card.is-touching .product-card__counter {
  opacity: 1;
  transform: translateY(0);
}
.product-card__info {
  padding: 17px 8px 0;
  text-align: center;
}
.product-card__name {
  margin: 0;
  color: #3a322c;
  font-family: Didot, "Bodoni 72", "Bodoni MT", Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 400;
}
.product-card__line {
  display: block;
  width: 36px;
  height: 1.5px;
  margin: 12px auto 0;
  background: #8f8378;
}

/* TOAST */
.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 18px);
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(18,15,12,.95);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  visibility: hidden;
  transition: .2s ease;
  box-shadow: 0 12px 38px rgba(0,0,0,.2);
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* CONSENTIMIENTO */
.consent-banner {
  position: fixed;
  z-index: 110;
  left: 22px;
  bottom: 22px;
  width: min(520px, calc(100vw - 44px));
  padding: 18px;
  border-radius: 12px;
  background: rgba(18,15,12,.97);
  color: #fff;
  box-shadow: 0 20px 55px rgba(0,0,0,.26);
}
.consent-banner p { margin: 0 0 14px; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.86); }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent-actions button { border: 1px solid rgba(255,255,255,.22); border-radius: 7px; padding: 10px 12px; cursor: pointer; }
.consent-reject { background: transparent; color: #fff; }
.consent-accept { background: var(--gold); color: #17130f; }

/* ==========================================================================
   RESPONSIVE
   --------------------------------------------------------------------------
   En escritorio usamos cover para llenar el hero.

   En tablet/celular NO recortamos la fotografía principal: se muestra completa
   en formato 16:9 y el contenido pasa debajo. Así la modelo y la cartera se ven
   completas incluso en pantallas angostas. El fondo del hero conserva el tono
   de la campaña para que la transición se vea natural.
   ========================================================================== */
@media (max-width: 900px) {
  :root { --header-h: 78px; }

  .site-header {
    height: var(--header-h);
    padding: env(safe-area-inset-top) 14px 0;
    align-items: center;
  }
  .brand { width: 84px; height: 62px; }
  .brand img { width: 84px; }
  .icon-button { width: 40px; height: 40px; }
  .icon-button svg { width: 23px; height: 23px; }
  .menu-trigger span { width: 25px; }
  .header-actions { gap: 2px; }

  /* Hero móvil: fotografía completa arriba + contenido debajo. */
  .hero {
    min-height: 0;
    height: auto;
    overflow: hidden;
    background: #f5e9dc;
    padding-top: 56.25vw; /* 16:9 exacto: evita cortar la imagen */
  }
  .hero-slides {
    inset: 0 0 auto 0;
    width: 100%;
    height: 56.25vw;
    overflow: hidden;
    background: #d8b899;
  }
  .hero-slide {
    background-size: contain;
    background-position: center center;
    background-color: #d8b899;
  }

  /* En móvil el zoom inicial es más leve para mantener la composición completa. */
  .hero-slide.is-intro {
    animation: hero-first-load-mobile 4.2s cubic-bezier(.16,.78,.28,1) both;
  }
  @keyframes hero-first-load-mobile {
    0% {
      transform: scale(1.035);
      filter: brightness(.97) saturate(.98);
    }
    100% {
      transform: scale(1);
      filter: brightness(1) saturate(1);
    }
  }

  .hero-shade {
    inset: 0 0 auto 0;
    height: 56.25vw;
    background:
      linear-gradient(180deg, rgba(18,14,10,.16) 0%, rgba(18,14,10,0) 35%),
      linear-gradient(90deg, rgba(248,237,222,.16) 0%, transparent 48%);
  }

  .hero-content {
    position: relative;
    z-index: 6;
    width: 100%;
    padding: 34px 24px 34px;
    background: linear-gradient(180deg, #f7ecdf 0%, #fffaf3 100%);
  }
  .eyebrow { margin: 0 0 11px; font-size: 12px; }
  .hero h1 {
    max-width: 640px;
    font-size: clamp(43px, 12.5vw, 70px);
    line-height: .94;
    letter-spacing: -.05em;
  }
  .accent-rule { margin: 19px 0 15px; width: 48px; }
  .hero-copy {
    max-width: 560px;
    font-size: clamp(17px, 4.5vw, 20px);
    margin-bottom: 22px;
  }
  .desktop-only { display: none; }
  .primary-cta {
    min-width: 0;
    width: min(100%, 350px);
    padding: 16px 18px;
    gap: 20px;
    font-size: 12px;
  }
  .carousel-controls { margin-top: 20px; gap: 12px; }
  .carousel-dot { width: 11px; height: 11px; }
  .hero-script { display: none; }

  [data-tooltip]::after {
    top: calc(100% + 3px);
    max-width: 170px;
    font-size: 11px;
  }

  .side-menu { padding: 22px 24px 34px; }
  .side-menu__nav { margin-top: 8vh; }
  .side-menu__nav a,
  .menu-disabled { font-size: clamp(31px, 11vw, 48px); }

  .featured-collection { padding: 58px 20px 76px; }
  .featured-collection__title { margin-bottom: 34px; }
  .product-card { max-width: min(420px, 82vw); }
}

@media (max-width: 480px) {
  :root { --header-h: 70px; }
  .site-header { padding-left: 10px; padding-right: 10px; }
  .brand { width: 72px; height: 54px; }
  .brand img { width: 72px; }
  .icon-button { width: 36px; height: 36px; }
  .icon-button svg { width: 21px; height: 21px; }
  .hero-content { padding: 28px 20px 30px; }
  .hero h1 { font-size: clamp(40px, 12vw, 58px); }
  .primary-cta { width: 100%; }
  .featured-collection { padding: 48px 16px 64px; }
  .featured-collection__eyebrow { font-size: 10px; letter-spacing: .27em; }
  .featured-collection__title { font-size: clamp(34px, 10vw, 48px); margin-bottom: 28px; }
  .product-card { max-width: 100%; }
  .product-card__name { font-size: 22px; }
}

/* Pantallas móviles muy altas: mantenemos la fotografía completa; no usamos
   object-fit: cover/background-size: cover porque recortaría los laterales. */
@media (max-width: 900px) and (orientation: portrait) {
  .hero-slide { background-size: 100% auto; }
}

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

@media print {
  .site-header, .side-menu, .menu-backdrop, .carousel-controls, .consent-banner { display: none !important; }
}


/* ==========================================================================\n   V6 — EDITORIAL / HISTORIA / FOOTER\n   --------------------------------------------------------------------------\n   Mantiene la tipografía de la versión anterior y usa layout fluido.\n   No hay textos incrustados en imágenes: todo el contenido sigue siendo\n   accesible, seleccionable y adaptable a pantalla pequeña.\n   ========================================================================== */
.editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  min-height: 620px;
  background: #fbf4eb;
  overflow: hidden;
}
.editorial__image-wrap {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #d5ae87;
}
.editorial__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 60% center;
  user-select: none;
  -webkit-user-drag: none;
}
.editorial__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,16,12,.28), transparent 48%);
  pointer-events: none;
}
.editorial__image-quote {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 4vw, 64px);
  top: 18%;
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: clamp(12px, 1.1vw, 17px);
  line-height: 1.8;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,.14);
}
.editorial__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 110px) clamp(34px, 7vw, 110px);
  overflow: hidden;
}
.editorial__eyebrow {
  margin: 0 0 18px;
  color: #a9784c;
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: 11px;
  font-weight: 600;
}
.editorial__copy h2 {
  margin: 0;
  color: #211c18;
  font-family: Didot, "Bodoni 72", "Bodoni MT", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(48px, 5vw, 78px);
  line-height: .96;
  letter-spacing: -.035em;
}
.editorial__rule,
.brand-story__rule {
  display: block;
  width: 48px;
  height: 2px;
  margin: 25px 0 24px;
  background: #8f735e;
}
.editorial__copy > p:not(.editorial__eyebrow):not(.editorial__script) {
  max-width: 520px;
  margin: 0 0 28px;
  color: #554a42;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
}
.editorial__cta {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 17px 24px;
  background: #151311;
  color: #d8b878;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 12px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}
.editorial__cta:hover,
.editorial__cta:focus-visible { background: #27211d; transform: translateY(-1px); outline: 2px solid rgba(180,139,86,.45); outline-offset: 3px; }
.editorial__script {
  position: absolute;
  right: clamp(22px, 4vw, 60px);
  bottom: clamp(34px, 6vw, 80px);
  margin: 0;
  transform: rotate(-7deg);
  color: #b6865d;
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.1;
  opacity: .92;
}

.brand-story {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 430px;
  overflow: hidden;
  color: #f8ecde;
  background:
    linear-gradient(90deg, rgba(35,18,11,.94) 0%, rgba(48,25,16,.76) 38%, rgba(48,25,16,.18) 64%, rgba(32,18,13,.08) 100%),
    url('assets/images/brand-medallion.webp') center center / cover no-repeat;
}
.brand-story::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 68% 52%, rgba(255,214,151,.12), transparent 25%);
}
.brand-story__content,
.brand-story__detail {
  position: relative;
  z-index: 2;
}
.brand-story__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(52px, 7vw, 100px);
}
.brand-story__brand {
  margin: 0 0 20px;
  color: #d8b878;
  letter-spacing: .35em;
  font-size: 13px;
}
.brand-story h2 {
  margin: 0;
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(42px, 4.2vw, 68px);
  font-weight: 400;
  line-height: 1.02;
}
.brand-story__values {
  margin: 0;
  color: rgba(255,244,229,.7);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: 10px;
}
.brand-story__values span { margin: 0 12px; color: #d8b878; }
.brand-story__detail {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: clamp(42px, 5vw, 72px);
}
.brand-story__detail > p {
  margin: 0;
  padding: 14px 16px;
  background: rgba(31,18,12,.24);
  backdrop-filter: blur(2px);
  color: rgba(255,244,229,.88);
  text-transform: uppercase;
  letter-spacing: .27em;
  font-size: 11px;
  line-height: 1.8;
}

.site-footer {
  background: #080808;
  color: #eee5d9;
  border-top: 1px solid rgba(255,255,255,.06);
}
.site-footer__inner {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 58px;
  display: grid;
  grid-template-columns: 1.15fr 1fr .7fr;
  gap: clamp(36px, 7vw, 110px);
}
.site-footer h2 {
  margin: 0 0 24px;
  color: #c9a765;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.site-footer__brand img {
  width: 118px;
  height: auto;
  filter: drop-shadow(0 0 1px rgba(255,255,255,.5));
}
.site-footer__brand p { margin: 15px 0 0; color: rgba(255,255,255,.54); font-size: 13px; letter-spacing: .05em; }
.site-footer__contact dl { margin: 0; display: grid; gap: 16px; }
.site-footer__contact dl > div { display: grid; grid-template-columns: 95px 1fr; gap: 15px; align-items: start; }
.site-footer__contact dt { color: rgba(255,255,255,.42); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; }
.site-footer__contact dd { margin: 0; color: rgba(255,255,255,.86); font-size: 14px; }
.site-footer__contact a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(201,167,101,.35); }
.site-footer__contact a:hover,
.site-footer__contact a:focus-visible { color: #d8b878; outline: none; border-color: #d8b878; }
.pending-contact { color: rgba(255,255,255,.48); }
.social-links { display: flex; gap: 12px; }
.social-link {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(216,184,120,.42);
  background: transparent;
  color: #d8b878;
  cursor: not-allowed;
}
.social-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.social-link svg path { fill: currentColor; stroke: none; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 24px 24px;
  text-align: center;
}
.site-footer__bottom p { margin: 0; color: rgba(255,255,255,.36); font-size: 11px; letter-spacing: .08em; }

@media (max-width: 900px) {
  .editorial { grid-template-columns: 1fr; min-height: 0; }
  .editorial__image-wrap { min-height: 0; aspect-ratio: 16 / 10; }
  .editorial__image { object-position: 63% center; }
  .editorial__copy { padding: 48px 24px 76px; }
  .editorial__copy h2 { font-size: clamp(46px, 11vw, 68px); }
  .editorial__script { right: 24px; bottom: 24px; font-size: clamp(26px, 8vw, 38px); }

  .brand-story { grid-template-columns: 1fr; }
  .brand-story__content { padding: 56px 24px 26px; text-align: center; align-items: center; }
  .brand-story__rule { margin-left: auto; margin-right: auto; }
  .brand-story__detail { padding: 30px 24px 58px; flex-direction: column; gap: 32px; text-align: center; }
  .brand-story__values { line-height: 2; }

  .site-footer__inner { grid-template-columns: 1fr 1fr; width: min(100% - 40px, 760px); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .editorial__image-wrap { aspect-ratio: 4 / 5; }
  .editorial__image { object-position: 66% center; }
  .editorial__image-quote { top: 12%; left: 20px; font-size: 10px; }
  .editorial__copy { padding: 40px 20px 74px; }
  .editorial__copy > p:not(.editorial__eyebrow):not(.editorial__script) { font-size: 17px; }
  .editorial__cta { width: 100%; justify-content: space-between; }

  .site-footer__inner { grid-template-columns: 1fr; width: calc(100% - 36px); padding: 54px 0 44px; gap: 36px; }
  .site-footer__brand { grid-column: auto; }
  .site-footer__contact dl > div { grid-template-columns: 82px 1fr; }
}


/* V7: imagen editorial y medallón reales.
   Para reemplazarlas a futuro, mantener estos nombres o cambiar solo las rutas:
   assets/images/editorial-ivory.webp y assets/images/brand-medallion.webp. */
@media (max-width: 900px) {
  .brand-story {
    background-position: 64% center;
  }
  .brand-story__detail {
    align-items: center;
    justify-content: center;
  }
}


/* ==========================================================================
   V8 — SECCIÓN VIDEO / VISIÓN DE MARCA
   --------------------------------------------------------------------------
   Recupera el video de la página anterior sin convertirlo en el hero principal.
   Escritorio: mensaje editorial sobre el video con degradado de legibilidad.
   Móvil/tablet: el video conserva 16:9 completo y el texto pasa debajo para
   evitar recortes. No se usan librerías ni recursos remotos.
   ========================================================================== */
.brand-film {
  position: relative;
  min-height: clamp(500px, 50vw, 720px);
  overflow: hidden;
  isolation: isolate;
  background: #17120e;
  color: #fff8ef;
}
.brand-film__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #17120e;
}
.brand-film__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: saturate(.92) contrast(1.02) brightness(.88);
  user-select: none;
  -webkit-user-drag: none;
}
.brand-film__shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,9,8,.74) 0%, rgba(11,9,8,.48) 36%, rgba(11,9,8,.13) 68%, rgba(11,9,8,.06) 100%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.18));
}
.brand-film__content {
  position: relative;
  z-index: 2;
  width: min(700px, 52vw);
  padding: clamp(120px, 13vw, 190px) 0 clamp(78px, 9vw, 130px) clamp(42px, 6vw, 110px);
}
.brand-film__eyebrow {
  margin: 0 0 18px;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: .34em;
  font-size: 11px;
  font-weight: 600;
}
.brand-film h2 {
  margin: 0;
  max-width: 680px;
  font-family: Didot, "Bodoni 72", "Bodoni MT", Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 5vw, 82px);
  line-height: .96;
  font-weight: 400;
  letter-spacing: -.035em;
}
.brand-film__rule {
  display: block;
  width: 52px;
  height: 2px;
  margin: 26px 0 23px;
  background: var(--gold-soft);
  opacity: .82;
}
.brand-film__copy {
  max-width: 540px;
  margin: 0;
  color: rgba(255,248,239,.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}
.brand-film__toggle {
  position: absolute;
  z-index: 4;
  right: clamp(18px, 3vw, 48px);
  bottom: clamp(18px, 3vw, 40px);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: rgba(20,16,13,.24);
  color: #fff;
  backdrop-filter: blur(5px);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.brand-film__toggle:hover,
.brand-film__toggle:focus-visible {
  background: rgba(20,16,13,.52);
  transform: scale(1.04);
  outline: 2px solid rgba(239,207,142,.75);
  outline-offset: 3px;
}
.brand-film__toggle svg { width: 20px; height: 20px; fill: currentColor; }
.brand-film__toggle .icon-play { display: none; }
.brand-film__toggle.is-paused .icon-play { display: block; }
.brand-film__toggle.is-paused .icon-pause { display: none; }

/* Corrección responsive del tamaño del menú usando el ajuste entregado por el
   usuario como base: en móvil no vuelve al tamaño grande de versiones previas. */
@media (max-width: 900px) {
  .side-menu__nav a,
  .menu-disabled { font-size: clamp(18px, 5.5vw, 24px); }

  .brand-film {
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto;
    background: #17120e;
  }
  .brand-film__media {
    position: relative;
    inset: auto;
    grid-row: 1;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .brand-film__video {
    object-fit: contain;
    object-position: center center;
    filter: saturate(.94) contrast(1.01) brightness(.93);
    background: #17120e;
  }
  .brand-film__shade { display: none; }
  .brand-film__content {
    grid-row: 2;
    width: 100%;
    padding: 42px 24px 50px;
    background: linear-gradient(180deg, #1a1511 0%, #100d0b 100%);
  }
  .brand-film h2 { font-size: clamp(42px, 11vw, 66px); }
  .brand-film__copy { max-width: 620px; font-size: 17px; }
  .brand-film__toggle { right: 16px; bottom: 16px; }
}

@media (max-width: 480px) {
  .brand-film__content { padding: 34px 20px 42px; }
  .brand-film__eyebrow { font-size: 10px; }
  .brand-film h2 { font-size: clamp(38px, 12vw, 54px); }
  .brand-film__toggle { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-film__video { filter: saturate(.92) contrast(1.02) brightness(.9); }
}


/* ========================================================================== 
   V9 — MÚSICA AMBIENTAL / CONTROL GLOBAL
   --------------------------------------------------------------------------
   - Botón flotante visible durante toda la navegación.
   - Sin slider de volumen: el nivel se controla únicamente en app.js.
   - La pista vive en el mismo dominio; no se cargan servicios externos.
   - El banner de consentimiento se eleva para no cubrir el control de música.
   ========================================================================== */
.site-music {
  display: none;
}

.site-music-toggle {
  position: fixed;
  z-index: 108;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  min-width: 112px;
  height: 46px;
  padding: 0 16px 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(239,207,142,.52);
  border-radius: 999px;
  background: rgba(14,12,10,.88);
  color: var(--gold-soft);
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
}

.site-music-toggle:hover,
.site-music-toggle:focus-visible {
  transform: translateY(-2px);
  background: rgba(24,20,17,.96);
  border-color: rgba(239,207,142,.88);
  outline: 2px solid rgba(239,207,142,.36);
  outline-offset: 3px;
}

.site-music-toggle__icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-music-toggle__icon path:first-child {
  fill: currentColor;
  stroke: none;
}

.site-music-toggle__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-music-toggle .icon-sound-off { display: none; }
.site-music-toggle.is-muted { color: rgba(255,255,255,.72); border-color: rgba(255,255,255,.24); }
.site-music-toggle.is-muted .icon-sound-on { display: none; }
.site-music-toggle.is-muted .icon-sound-off { display: block; }

/* Estado de espera: el navegador bloqueó autoplay y todavía no hubo gesto. */
.site-music-toggle.is-pending { opacity: .82; }

/* El consentimiento aparece por encima del botón flotante si está visible. */
.consent-banner { bottom: 82px; }

@media (max-width: 560px) {
  .site-music-toggle {
    left: max(12px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
    min-width: 102px;
    height: 42px;
    padding: 0 13px 0 11px;
  }
  .site-music-toggle__label { font-size: 10px; }
  .site-music-toggle__icon { width: 18px; height: 18px; flex-basis: 18px; }
  .consent-banner { bottom: 70px; }
}

@media print {
  .site-music-toggle,
  .site-music { display: none !important; }
}

/* ========================================================================== 
   V10 — CHATBOT MODULAR
   --------------------------------------------------------------------------
   El componente se carga desde chatbot/chatbot.css y permanece aislado con
   prefijo `acw-`. Se ubica abajo a la derecha. El control de música V9 permanece
   abajo a la izquierda; ambos controles pueden coexistir sin superposición.
   ========================================================================== */
