/* ============================================================
   HESAN DISTRIBUCIÓN — Estilos principales
   Negro #0d0d0d · Dorado #C9A84C · Burdeos #722F37
   Fraunces (headings) + Plus Jakarta Sans (body)
   ============================================================ */

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

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --gold:    #C9A84C;
  --gold-l:  #e0c270;
  --gold-d:  #a8873a;
  --burg:    #722F37;
  --burg-l:  #8f3b45;
  --burg-d:  #4e1f26;
  --black:   #2b2b2b;
  --d1:      #343434;
  --d2:      #3e3e3e;
  --d3:      #4a4a4a;
  --d4:      #575757;
  --cream:   #F4EFE6;
  --cream2:  #ddd6c8;
  --txt:     #c0b7a6;
  --muted:   #a89d8c;
  --serif:   'Fraunces', Georgia, serif;
  --sans:    'Plus Jakarta Sans', system-ui, sans-serif;
  --ease:    cubic-bezier(.4,0,.2,1);
  --t:       .3s;
}

/* ── BASE ────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.75;
  background: var(--black);
  color: var(--cream);
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold-l); }

::-webkit-scrollbar            { width: 5px; }
::-webkit-scrollbar-track      { background: var(--black); }
::-webkit-scrollbar-thumb      { background: var(--burg); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover{ background: var(--gold-d); }

/* ── CONTAINER ──────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ── SECCIÓN COMÚN ──────────────────────────────────────────── */
.section { padding: 92px 0; }

.section-head { text-align: center; margin-bottom: 56px; }

.s-label {
  display: block;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}

.s-title {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 700; color: var(--cream); line-height: 1.1;
  margin-bottom: 18px;
}

.s-rule {
  width: 52px; height: 2px;
  background: var(--gold);
  margin: 0 auto 20px;
}

.s-desc {
  font-size: .97rem; color: var(--txt);
  max-width: 560px; margin: 0 auto; line-height: 1.85;
}

/* ── REVEAL — siempre visible, JS añade animación de entrada ── */
/*
   Estrategia: por defecto los elementos son VISIBLES.
   JS añade la clase .js-ready al body; entonces se activan
   los estilos de opacity:0 y la transición de reveal.
   Así, si el JS falla o tarda, el contenido es siempre legible.
*/
.js-ready .rv,
.js-ready .rv-l,
.js-ready .rv-r {
  opacity: 0;
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.js-ready .rv   { transform: translateY(26px); }
.js-ready .rv-l { transform: translateX(-32px); }
.js-ready .rv-r { transform: translateX(32px); }

.rv.in, .rv-l.in, .rv-r.in {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; inset-inline: 0; top: 0;
  z-index: 9000;
  padding: 18px 0;
  background: rgba(38,38,38,.72);
  backdrop-filter: blur(8px);
  transition: background var(--t) var(--ease), padding var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.navbar.stuck {
  background: rgba(38,38,38,.97);
  padding: 10px 0;
  box-shadow: 0 1px 0 rgba(201,168,76,.12), 0 6px 28px rgba(0,0,0,.4);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.nav-logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.nav-logo-img { height: 42px; width: auto; display: block; filter: brightness(1.2) drop-shadow(0 1px 4px rgba(0,0,0,.4)); }
.footer-logo .nav-logo-img { height: 96px; width: 96px; object-fit: contain; filter: brightness(1.1); }
.logo-hesan {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700;
  color: var(--gold); letter-spacing: .04em;
}
.logo-dist {
  font-size: .58rem; font-weight: 400;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--cream2); opacity: .75;
}

/* Menu list */
.nav-menu {
  list-style: none; display: flex;
  align-items: center; gap: 0;
}

.nav-item { position: relative; }

.nav-link {
  display: flex; align-items: center; gap: 5px;
  font-size: 1.15rem; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase;
  color: var(--cream); padding: 7px 9px;
  transition: color var(--t);
  white-space: nowrap;
}
.nav-link:hover { color: var(--gold); }

/* Underline activo */
.nav-link::after {
  content: ''; position: absolute; bottom: 0;
  left: 11px; right: 11px; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.nav-item:not(.nav-has-drop) .nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--gold); }
.nav-link.is-active::after { transform: scaleX(1); }

/* CTA */
.nav-cta {
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important; padding: 7px 16px !important;
  transition: background var(--t), color var(--t);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold); color: var(--black) !important; }

/* Flecha dropdown */
.drop-arrow {
  width: 10px; height: 8px;
  transition: transform var(--t);
  flex-shrink: 0;
}
.nav-has-drop.open .drop-arrow,
.nav-has-drop:hover .drop-arrow { transform: rotate(180deg); }

/* ── DROPDOWN ─────────────────────────────────────────────── */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 270px;
  background: rgba(14,14,14,.98);
  border: 1px solid rgba(201,168,76,.18);
  border-top: 2px solid var(--gold);
  list-style: none;
  padding: 8px 0;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t), visibility var(--t), transform var(--t);
  box-shadow: 0 12px 40px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  z-index: 9100;
}

.nav-drop-sep {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 6px 16px;
}

/* Mostrar: hover (desktop) o clase .open (JS) */
.nav-has-drop:hover .nav-dropdown,
.nav-has-drop.open  .nav-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown li a {
  display: block; padding: 10px 20px;
  font-size: .78rem; font-weight: 400;
  letter-spacing: .06em; color: var(--txt);
  transition: color var(--t), background var(--t), padding-left var(--t);
}
.nav-dropdown li a:hover {
  color: var(--gold);
  background: rgba(201,168,76,.06);
  padding-left: 26px;
}

/* Triángulo indicador */
.nav-dropdown::before {
  content: ''; position: absolute;
  top: -7px; left: 50%; transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid var(--gold);
}

/* Burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 9200;
}
.nav-burger span { display: block; width: 24px; height: 1.5px; background: var(--gold); transition: var(--t) var(--ease); }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; height: 100svh; min-height: 620px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  opacity: .32;
  pointer-events: none;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 62% 45%, rgba(114,47,55,.28) 0%, transparent 65%),
    radial-gradient(ellipse 45% 35% at 22% 72%, rgba(201,168,76,.07) 0%, transparent 55%),
    linear-gradient(155deg, #060606 0%, #150a0d 40%, #0c0804 100%);
}

/* Viñeta sutil tipo filas de viñedo */
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -18deg, transparent, transparent 85px,
    rgba(201,168,76,.022) 85px, rgba(201,168,76,.022) 86px
  );
  pointer-events: none;
}

.hero-vignette {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(13,13,13,.2) 0%, rgba(13,13,13,.05) 50%, rgba(13,13,13,.65) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 24px; max-width: 860px;
}

.anim-hero {
  opacity: 0; transform: translateY(20px);
  animation: heroIn .8s var(--ease) var(--d) forwards;
}
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-pre {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 11vw, 8.5rem);
  font-weight: 700; line-height: .9;
  color: var(--cream); margin-bottom: 22px;
  text-shadow: 0 4px 36px rgba(0,0,0,.4);
}
.hero-title em { display: block; font-style: italic; color: var(--gold); }

.hero-rule {
  width: 68px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto 24px;
}

.hero-slogan {
  font-size: clamp(.92rem, 2.2vw, 1.18rem); font-weight: 300;
  color: var(--cream2); line-height: 1.9; margin-bottom: 44px;
}

.hero-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--black); background: var(--gold);
  border: 1px solid var(--gold); padding: 14px 36px;
  position: relative; overflow: hidden;
  transition: color var(--t);
}
.hero-btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--burg); transform: translateX(-101%);
  transition: transform var(--t);
}
.hero-btn:hover { color: var(--cream); }
.hero-btn:hover::before { transform: translateX(0); }
.hero-btn > * { position: relative; z-index: 1; }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%;
  transform: translateX(-50%); z-index: 2;
}
.hero-scroll span {
  display: block; width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(201,168,76,0), var(--gold));
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%  { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100%{ transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   QUIÉNES SOMOS
   ============================================================ */
.qs {
  background: var(--d1);
  border-top: 1px solid rgba(201,168,76,.12);
}

.qs-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 68px; align-items: start;
}

.qs-text h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.8vw, 1.85rem);
  font-weight: 600; color: var(--cream); line-height: 1.25;
  margin-bottom: 22px;
}

.qs-text p {
  font-size: .94rem; color: var(--txt); line-height: 1.9; margin-bottom: 16px;
}
.qs-text p strong { color: var(--cream2); font-weight: 700; }

.qs-bullets { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }

.qs-bullet {
  display: flex; align-items: center; gap: 10px;
  font-size: .87rem; color: var(--cream2);
}
.qs-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── CONTADORES ─────────────────────────────────────────────── */
.qs-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}

.stat-card {
  background: var(--d2);
  border: 1px solid rgba(201,168,76,.1);
  padding: 28px 20px; text-align: center;
  position: relative; overflow: hidden;
  transition: border-color var(--t), transform var(--t);
}

.stat-card::after {
  content: ''; position: absolute;
  bottom: 0; inset-inline: 0; height: 2px;
  background: var(--burg);
  transform: scaleX(0); transition: transform var(--t);
}
.stat-card:hover { border-color: rgba(201,168,76,.3); transform: translateY(-4px); }
.stat-card:hover::after { transform: scaleX(1); }

.stat-card--burg {
  background: linear-gradient(135deg, var(--burg-d), rgba(114,47,55,.35));
  border-color: rgba(201,168,76,.22);
}
.stat-card--burg::after { background: var(--gold); }

.stat-num {
  display: flex; align-items: baseline; justify-content: center; gap: 1px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 10px;
}

.stat-pre { font-size: clamp(1.2rem, 2.5vw, 1.8rem); opacity: .7; }

.stat-label {
  font-size: .69rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--txt);
}

/* ============================================================
   MARCAS — 4 grupos de carrusel
   ============================================================ */
.marcas {
  background: #1f1f1f;
  border-top: 1px solid rgba(201,168,76,.1);
  padding-bottom: 72px;
}

/* Grupo (cada categoría) */
.mg { margin-bottom: 52px; }

.mg-header {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 22px;
}

.mg-rule { flex: 1; height: 1px; background: rgba(201,168,76,.15); }

.mg-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 600; color: var(--cream);
  white-space: nowrap;
}

.mg-icon { width: 20px; height: auto; color: var(--gold); flex-shrink: 0; }

/* Carrusel wrapper */
.carousel-wrapper {
  overflow: hidden; position: relative;
  cursor: grab;
  user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}

/* Track */
.carousel-track {
  display: flex; gap: 16px;
  width: max-content;
  animation: marquee var(--dur, 55s) linear infinite;
  will-change: transform;
}

/* Pause al pasar el ratón */
.carousel-track:hover { animation-play-state: paused; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Scrubber / scrollbar */
.carousel-scrubber {
  position: relative;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 14px 48px 0;
  border-radius: 2px;
  cursor: pointer;
}
.carousel-scrubber-thumb {
  position: absolute;
  top: -1.5px;
  left: 0;
  height: 4px;
  background: var(--gold, #c8a84b);
  border-radius: 4px;
  cursor: grab;
  transition: background 0.15s;
}
.carousel-scrubber-thumb:hover  { background: var(--gold-light, #e0bc6a); }
.carousel-scrubber:active .carousel-scrubber-thumb,
.carousel-scrubber-thumb:active { cursor: grabbing; }

/* ── Páginas de categoría (vinos, licores, aguas…) ──────── */
.cat-page { padding-top: 68px; min-height: 100vh; }
.cat-hero {
  padding: 72px 0 52px; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.cat-back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.35); text-decoration: none;
  margin-bottom: 30px; transition: color .2s;
}
.cat-back svg { width: 14px; height: 14px; transition: transform .2s; }
.cat-back:hover { color: var(--gold); }
.cat-back:hover svg { transform: translateX(-3px); }
.cat-hero h1 {
  font-family: var(--serif); font-size: clamp(1.9rem, 5vw, 3.8rem);
  font-weight: 700; color: var(--gold); letter-spacing: .04em; margin: 0 0 14px;
}
.cat-hero p { color: rgba(255,255,255,.42); font-size: .92rem; font-weight: 300; letter-spacing: .03em; }
.cat-count {
  display: inline-block; margin-top: 18px;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.22);
}
.cat-count strong { color: var(--gold); font-weight: 600; }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px; max-width: 1280px;
  margin: 0 auto; padding: 60px 40px 80px;
}
.brand-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 18px; padding: 40px 20px 28px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; text-decoration: none;
  transition: border-color .25s, background .25s, transform .25s, box-shadow .25s;
}
.brand-card:hover {
  border-color: rgba(201,168,76,.32); background: rgba(201,168,76,.05);
  transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.brand-card-logo {
  height: 80px; width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.brand-card-logo img {
  max-width: 170px; max-height: 80px;
  width: auto; height: auto; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .72; transition: opacity .25s;
}
.brand-card:hover .brand-card-logo img { opacity: 1; }
.brand-card-info { text-align: center; }
.brand-card-name {
  font-size: .76rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.58); transition: color .25s;
}
.brand-card:hover .brand-card-name { color: var(--gold); }
.brand-card-region {
  display: block; margin-top: 5px;
  font-size: .67rem; letter-spacing: .08em; color: rgba(255,255,255,.22); font-weight: 300;
}
@media (max-width: 768px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); padding: 36px 20px 60px; gap: 14px; }
  .brand-card { padding: 28px 14px 22px; gap: 14px; }
  .brand-card-logo img { max-width: 130px; max-height: 60px; }
  .cat-hero { padding: 52px 20px 36px; }
}

/* Brand item */
.brand-item { flex-shrink: 0; width: 200px; }

.brand-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.brand-item a .brand-inner { cursor: pointer; }

.brand-inner {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 7px; height: 96px; padding: 14px 16px;
  background: var(--d2);
  border: 1px solid rgba(201,168,76,.1);
  text-align: center; position: relative; overflow: hidden;
  transition: border-color var(--t), background var(--t), transform var(--t), box-shadow var(--t);
}

.brand-inner::before {
  content: ''; position: absolute; top: 0; inset-inline: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform var(--t);
}

.brand-item:hover .brand-inner {
  border-color: rgba(201,168,76,.4); background: var(--d3);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.4), 0 0 18px rgba(201,168,76,.06);
}
.brand-item:hover .brand-inner::before { transform: scaleX(1); }

.brand-cat {
  font-size: .6rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); opacity: .75;
}

.brand-name {
  font-family: var(--serif);
  font-size: .9rem; font-weight: 600;
  color: var(--cream); line-height: 1.2;
}

.brand-logo {
  max-width: 148px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .65;
  transition: opacity var(--t);
}
.brand-item:hover .brand-logo { opacity: 1; }

.brand-logo--lg {
  max-width: 160px;
  max-height: 80px;
}

/* Logos negro-sobre-blanco: invertir para que aparezcan blancos sobre fondo oscuro */
.brand-logo--invert {
  filter: invert(1);
}

/* Tarjetas claras para logos con colores sobre fondo blanco */
.brand-inner--light {
  background: #ffffff;
  border-color: rgba(201,168,76,.2);
}
.brand-inner--light .brand-logo {
  filter: none;
  mix-blend-mode: multiply;
  opacity: .88;
}
.brand-item:hover .brand-inner--light {
  background: #f8f4ec;
  border-color: rgba(201,168,76,.45);
}
.brand-item:hover .brand-inner--light .brand-logo { opacity: 1; }

.marcas-note {
  text-align: center; font-size: .88rem;
  color: var(--txt); margin-top: 8px;
}

/* ── PROMO SLIDER ──────────────────────────────────────────── */
.promo-slider-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 44px;
  border-radius: 4px;
}
.promo-track {
  display: flex;
  transition: transform .65s cubic-bezier(.4,0,.2,1);
}
.promo-slide {
  flex-shrink: 0;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.promo-slide-content {
  text-align: center;
  padding: 60px 40px;
  max-width: 680px;
  z-index: 1;
}
.promo-tag {
  display: inline-block;
  font-size: .68rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,.45);
  padding: 5px 16px; border-radius: 20px;
  margin-bottom: 22px;
}
.promo-slide-content h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  color: #fff; font-weight: 600;
  margin: 0 0 16px; line-height: 1.2;
}
.promo-slide-content p {
  color: rgba(255,255,255,.62);
  font-size: .95rem; line-height: 1.75;
  margin-bottom: 32px;
}
.promo-btn {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--gold);
  color: var(--gold); text-decoration: none;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.promo-btn:hover { background: var(--gold); color: var(--black); }

.promo-prev, .promo-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.75);
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10;
  transition: background .2s, border-color .2s;
}
.promo-prev { left: 22px; }
.promo-next { right: 22px; }
.promo-prev:hover, .promo-next:hover {
  background: rgba(201,168,76,.25);
  border-color: rgba(201,168,76,.5);
  color: #fff;
}
.promo-dots {
  position: absolute; bottom: 22px;
  left: 50%; transform: translateX(-50%);
  display: flex; gap: 9px; z-index: 10;
}
.promo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none; cursor: pointer; padding: 0;
  transition: background .25s, transform .25s;
}
.promo-dot.active { background: var(--gold); transform: scale(1.35); }

/* ============================================================
   POR QUÉ ELEGIRNOS
   ============================================================ */
.pq {
  position: relative;
  background:
    linear-gradient(rgba(24,24,24,.90), rgba(24,24,24,.90)),
    url('https://images.pexels.com/photos/1267696/pexels-photo-1267696.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover no-repeat;
  border-top: 1px solid rgba(201,168,76,.12);
}

.pq-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 18px;
}

.pq-card {
  background: var(--d2);
  border: 1px solid rgba(201,168,76,.08);
  padding: 32px 26px;
  position: relative; overflow: hidden;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}

.pq-card::after {
  content: ''; position: absolute;
  bottom: 0; inset-inline: 0; height: 2px;
  background: var(--burg); transform: scaleX(0); transition: transform .4s;
}

.pq-card:hover {
  border-color: rgba(201,168,76,.22); transform: translateY(-5px);
  box-shadow: 0 16px 44px rgba(0,0,0,.35);
}
.pq-card:hover::after { transform: scaleX(1); }

.pq-icon-wrap {
  width: 50px; height: 50px; margin-bottom: 20px;
}

.pq-card h3 {
  font-family: var(--serif);
  font-size: 1.05rem; font-weight: 600;
  color: var(--cream); margin-bottom: 12px; line-height: 1.25;
}

.pq-card p { font-size: .87rem; color: var(--txt); line-height: 1.85; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto {
  background: #2a2a2a;
  border-top: 1px solid rgba(201,168,76,.1);
  padding: 54px 0;
}

.c-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(201,168,76,.14);
  border: 1px solid rgba(201,168,76,.14);
  position: relative;
}
.c-grid::before {
  content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 2px;
  background: linear-gradient(to right, var(--gold), var(--burg));
}

.c-card {
  background: var(--d2);
  padding: 40px 26px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  transition: background var(--t);
}
.c-card:hover { background: rgba(201,168,76,.045); }

.c-icon { width: 34px; height: 34px; flex-shrink: 0; }

.c-card h4 {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}

.c-card p { font-size: .88rem; color: var(--txt); line-height: 1.6; }
.c-card a { color: var(--cream2); }
.c-card a:hover { color: var(--gold); }

.c-note {
  margin: 30px auto 0; max-width: 760px; padding: 18px 24px;
  background: rgba(114,47,55,.1);
  border: 1px solid rgba(114,47,55,.3);
  border-left: 3px solid var(--burg);
  font-size: .86rem; color: var(--cream2); line-height: 1.75; text-align: center;
}
.c-note strong { display: block; color: var(--gold); font-weight: 700; margin-bottom: 6px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #1a1a1a; padding-top: 60px;
  border-top: 1px solid rgba(201,168,76,.18);
  position: relative; overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 50%;
  width: 900px; max-width: 160%; height: 320px;
  transform: translate(-50%, -62%);
  background: radial-gradient(ellipse at center, rgba(201,168,76,.16) 0%, rgba(201,168,76,0) 72%);
  pointer-events: none;
}
.footer .container { position: relative; z-index: 1; }

.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr;
  gap: 44px; padding-bottom: 44px;
}

.footer-logo { margin-bottom: 14px; }
.footer-brand p { font-size: .84rem; color: var(--muted); line-height: 1.8; margin-bottom: 12px; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: .88rem; color: var(--gold); opacity: .75; }

.footer-nav h4, .footer-contact h4 {
  font-size: .64rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}

.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { font-size: .84rem; color: var(--muted); transition: color var(--t); }
.footer-nav a:hover { color: var(--cream); }

.footer-contact p { font-size: .84rem; color: var(--muted); margin-bottom: 6px; line-height: 1.6; }
.footer-contact a { color: var(--muted); }
.footer-contact a:hover { color: var(--gold); }
.footer-hor { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.06); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer-bottom p { font-size: .72rem; color: var(--muted); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: .7rem; color: var(--muted); transition: color var(--t); }
.footer-legal a:hover { color: var(--gold); }

/* Scroll top */
.scroll-top {
  position: fixed; bottom: 26px; right: 26px;
  width: 42px; height: 42px;
  background: var(--burg); border: 1px solid rgba(201,168,76,.3);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  z-index: 8000; opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--t), transform var(--t), background var(--t);
}
.scroll-top.show { opacity: 1; pointer-events: auto; transform: none; }
.scroll-top:hover { background: var(--gold); color: var(--black); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* 1080px */
@media (max-width: 1080px) {
  .qs-grid    { grid-template-columns: 1fr 1fr; gap: 48px; }
  .pq-grid    { grid-template-columns: repeat(2,1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .c-grid     { grid-template-columns: repeat(2, 1fr); }
  .nav-link   { font-size: 1rem; padding: 7px 7px; }
}

/* 768px */
@media (max-width: 768px) {
  .section { padding: 68px 0; }

  /* Navbar */
  .nav-burger { display: flex; }

  .nav-menu {
    position: fixed; inset: 0; left: auto;
    width: min(78vw, 290px);
    background: rgba(13,13,13,.99);
    backdrop-filter: blur(14px);
    flex-direction: column; align-items: flex-start;
    justify-content: center;
    padding: 70px 28px 40px; gap: 2px;
    border-left: 1px solid rgba(201,168,76,.14);
    transform: translateX(100%);
    transition: transform var(--t) var(--ease);
    z-index: 9100;
  }
  .nav-menu.open { transform: translateX(0); }

  .nav-item { width: 100%; }
  .nav-link { font-size: .88rem; padding: 11px 0; border-bottom: 1px solid rgba(201,168,76,.07); width: 100%; }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 12px; text-align: center; border: 1px solid var(--gold) !important; }

  /* Dropdown en móvil: inline expandible */
  .nav-has-drop { flex-direction: column; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: hidden; max-height: 0;
    overflow: hidden; transform: none; box-shadow: none;
    border: none; border-left: 2px solid rgba(201,168,76,.3);
    background: transparent; padding: 0; backdrop-filter: none;
    transition: max-height .3s var(--ease), visibility .3s;
  }
  .nav-dropdown::before { display: none; }
  .nav-has-drop.open .nav-dropdown { visibility: visible; max-height: 420px; }
  .nav-dropdown li a { padding: 8px 16px; font-size: .82rem; }

  /* Hero */
  .hero-title { font-size: clamp(2.7rem, 13vw, 5rem); }

  /* Quiénes Somos */
  .qs-grid { grid-template-columns: 1fr; gap: 44px; }
  .qs-stats { grid-template-columns: 1fr 1fr; }

  /* Marcas */
  .mg-title { font-size: 1rem; white-space: normal; }
  .brand-item { width: 170px; }
  .brand-inner { height: 88px; }

  /* PQ */
  .pq-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Contacto */
  .c-grid { grid-template-columns: 1fr; }
  .c-card { padding: 32px 24px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }

  .scroll-top { bottom: 16px; right: 16px; }
}

/* 480px */
@media (max-width: 480px) {
  .hero-pre { letter-spacing: .22em; font-size: .64rem; }
  .hero-btn { padding: 13px 24px; }
  .qs-stats { gap: 10px; }
  .brand-item { width: 156px; }
  .brand-inner { height: 82px; }
  .c-card { padding: 26px 18px; }
}

/* ── COOKIE BANNER ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(18, 14, 4, 0.97);
  border-top: 1px solid rgba(201,168,76,.25);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  backdrop-filter: blur(10px);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner.is-hiding  { transform: translateY(100%); }
.cookie-banner-text {
  flex: 1;
  min-width: 220px;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
}
.cookie-banner-text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn-accept {
  background: var(--gold);
  color: #0d0d0d;
  border: none;
  border-radius: 6px;
  padding: 9px 22px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s;
}
.cookie-btn-accept:hover { background: var(--gold-l); }
.cookie-btn-reject {
  background: transparent;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  padding: 9px 22px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .85rem;
  font-weight: 400;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.cookie-btn-reject:hover { border-color: rgba(255,255,255,.5); color: rgba(255,255,255,.85); }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px 18px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn-accept, .cookie-btn-reject { flex: 1; text-align: center; }
}
