/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --gold:        #B8882A;
  --gold-light:  #D4A94A;
  --gold-dark:   #8B6520;
  --cream:       #F5EDD6;
  --dark:        #0d0b04;
  --text-light:  #E8DFC0;
  --text-muted:  #9A8A6A;
  --bg:          #0d0b04;
  --bg-2:        #13100A;
  --bg-card:     #1A1510;
  --line:        rgba(184,136,42,0.18);

  --serif:   'IM Fell English', Georgia, serif;
  --caps:    'Cinzel', 'Palatino Linotype', serif;
  --body:    'Cormorant Garamond', 'Palatino Linotype', serif;
  --sans:    'Cormorant Garamond', Georgia, serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h:    80px;
  --gutter:   clamp(1.25rem, 4vw, 3rem);
  --max-w:    1240px;
}

/* =============================================================
   2. Reset & Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  font-size: clamp(1rem, 1.1vw + 0.5rem, 1.125rem);
  line-height: 1.65;
  color: var(--text-light);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; }
::selection { background: var(--gold); color: var(--dark); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* Section scroll-margin for sticky nav */
[id] { scroll-margin-top: var(--nav-h); }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--cream); color: var(--dark);
  z-index: 9999; border-radius: 4px; font-family: var(--caps); font-size: .75rem;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: min(var(--max-w), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}

/* Reveal system */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Defensive: .reveal with data-split must never stay invisible */
.reveal[data-split] { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.reveal-left.is-visible { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 0;
  transform: scale(.94);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal-scale.is-visible { opacity: 1; transform: none; }

/* Staggered delay helpers */
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .45s; }
.delay-5 { transition-delay: .6s; }

/* =============================================================
   4. Typography
   ============================================================= */
.t-eyebrow {
  font-family: var(--caps);
  font-size: clamp(.65rem, .9vw, .8rem);
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
}
.t-display {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.5vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--cream);
}
.t-display em { font-style: italic; color: var(--gold-light); }
.t-section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  font-weight: 400;
  color: var(--cream);
}
.t-section-title em { font-style: italic; color: var(--gold-light); }
.t-body { font-family: var(--body); font-size: 1.05rem; color: var(--text-muted); line-height: 1.75; }
.t-caps { font-family: var(--caps); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--caps);
  font-size: clamp(.7rem, .85vw + .4rem, .85rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .9rem 2rem;
  border-radius: 2px;
  transition: all .35s var(--ease-out);
  cursor: pointer;
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border: 1px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,136,42,.35);
}
.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(184,136,42,.5);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* =============================================================
   6. Navbar
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease-soft), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13,11,4,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(184,136,42,.15);
}
.nav-inner {
  width: min(var(--max-w), 100% - 2rem);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav-logo {
  display: flex; flex-direction: column; line-height: 1;
  flex-shrink: 0;
}
.nav-logo-top {
  font-family: var(--caps);
  font-size: clamp(.65rem, .75vw, .8rem);
  letter-spacing: .35em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-dark), var(--gold-light));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}
.nav-logo-bottom {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.3vw, 1.35rem);
  font-weight: 400;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-dark), var(--gold-light));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
  letter-spacing: .05em;
}
@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.nav-links {
  display: flex; gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
}
.nav-links a {
  font-family: var(--caps);
  font-size: clamp(.62rem, .7vw, .72rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .25s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 100%;
  height: 1px; background: var(--gold);
  transition: right .3s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { right: 0; }

.nav-right {
  display: flex; align-items: center; gap: 1rem; flex-shrink: 0;
}
.lang-toggle {
  display: flex; gap: .15rem;
  font-family: var(--caps);
  font-size: .65rem;
  letter-spacing: .15em;
}
.lang-btn {
  padding: .25rem .5rem;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: color .25s, border-color .25s;
  background: none;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
}
.lang-btn.active { color: var(--gold); border-color: rgba(184,136,42,.4); }
.lang-btn:hover { color: var(--cream); }

.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 28px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.nav-burger span {
  display: block; height: 1.5px; background: var(--cream);
  transform-origin: center;
  transition: transform .35s var(--ease-out), opacity .25s;
}
.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); }

/* =============================================================
   7. Mobile menu overlay
   ============================================================= */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(8,6,2,.98);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease-soft);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu nav {
  display: flex; flex-direction: column;
  align-items: center; gap: 1.75rem;
  list-style: none;
}
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  color: var(--text-muted);
  transition: color .25s;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s, transform .4s, color .25s;
}
.mobile-menu.open a {
  opacity: 1; transform: none;
}
.mobile-menu.open a:nth-child(1) { transition-delay: .05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: .1s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .15s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .2s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .25s; }
.mobile-menu.open a:nth-child(6) { transition-delay: .3s; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .lang-toggle { margin-top: 1rem; }

/* =============================================================
   8. Castillo background (parallax layer)
   ============================================================= */
.castillo-bg {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 180vh;
  z-index: 0;
  will-change: transform;
}
.castillo-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.45) sepia(0.25) saturate(0.9);
}

/* =============================================================
   9. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 6vh;
  overflow: hidden;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,11,4,.95) 0%,
    rgba(13,11,4,.6) 35%,
    rgba(13,11,4,.15) 70%,
    rgba(13,11,4,.05) 100%
  );
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding-inline: var(--gutter);
  gap: clamp(.8rem, 2vw, 1.5rem);
}
.hero-eyebrow {
  font-family: var(--caps);
  font-size: clamp(.58rem, .75vw, .72rem);
  letter-spacing: .45em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-logo {
  width: clamp(140px, 22vw, 220px);
  filter: drop-shadow(0 0 32px rgba(184,136,42,.45));
}
.hero-tagline {
  font-family: var(--body);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text-muted);
  max-width: 42ch;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  margin-top: .5rem;
}

/* =============================================================
   10. Heritage / Historia
   ============================================================= */
.heritage {
  position: relative; z-index: 2;
  background: rgba(10,8,2,.88);
  padding-block: clamp(5rem, 10vw, 9rem);
}
.heritage-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.heritage-header .t-section-title { margin-top: .75rem; }

.timeline {
  display: flex; flex-direction: column; gap: 0;
  position: relative;
  max-width: 760px;
  margin-inline: auto;
}
.timeline::before {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
}
.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem 2rem;
  padding: 2rem 0 2.5rem 2.5rem;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute; left: -4px; top: 2.6rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(184,136,42,.7);
}
.timeline-year {
  font-family: var(--caps);
  font-size: clamp(.65rem, .8vw, .8rem);
  letter-spacing: .2em;
  color: var(--gold);
  text-transform: uppercase;
  padding-top: .25rem;
}
.timeline-content h3 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: .6rem;
}
.timeline-content p {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.heritage-cta { text-align: center; margin-top: clamp(3rem, 5vw, 4rem); }

/* =============================================================
   11. Productos
   ============================================================= */
.products {
  position: relative; z-index: 3;
  background: rgba(8,6,1,.95);
  padding-block: clamp(5rem, 10vw, 9rem);
}
.products-header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 4rem);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 3px;
  cursor: default;
}
.product-card-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .75s var(--ease-soft), filter .75s var(--ease-soft);
  filter: brightness(.85) contrast(1.1) saturate(1.05);
}
.product-card:hover .product-card-img {
  transform: scale(1.07);
  filter: brightness(.95) contrast(1.15) saturate(1.12);
}
.product-card-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,6,1,.92) 0%, rgba(8,6,1,.4) 45%, transparent 70%);
  pointer-events: none;
}
.product-card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
}
.product-cat {
  font-family: var(--caps);
  font-size: .62rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .4rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.product-name {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  color: var(--cream);
  font-weight: 400;
  margin-bottom: .4rem;
}
.product-desc {
  font-family: var(--body);
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s var(--ease-out) .05s, transform .45s var(--ease-out) .05s;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card:hover .product-cat,
.product-card:hover .product-desc {
  opacity: 1; transform: none;
}

/* =============================================================
   12. Elaboración
   ============================================================= */
.proceso {
  position: relative; z-index: 2;
  background: rgba(10,8,2,.9);
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proceso-header { text-align: center; margin-bottom: clamp(3rem, 6vw, 5rem); }

.proceso-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
  max-width: 960px;
  margin-inline: auto;
}
.proceso-step { text-align: center; padding: 1rem; position: relative; z-index: 1; }
.paso-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(184,136,42,.55);
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--caps);
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--gold);
  margin: 0 auto 1.25rem;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.proceso-step:hover .paso-num {
  background: var(--gold-dark);
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(184,136,42,.35);
}
.paso-title {
  font-family: var(--caps);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: .65rem;
}
.paso-desc {
  font-family: var(--body);
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =============================================================
   13. Lorca banner
   ============================================================= */
.lorca {
  position: relative; z-index: 2;
  height: 65vh;
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.lorca-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(.38) sepia(.4) saturate(.8);
}
.lorca-gradient-top {
  position: absolute; top: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to bottom, rgba(13,11,4,.85), transparent);
  pointer-events: none;
}
.lorca-gradient-bot {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(13,11,4,.85), transparent);
  pointer-events: none;
}
.lorca-content {
  position: relative; z-index: 2;
  text-align: center;
  padding-inline: var(--gutter);
  display: flex; flex-direction: column; gap: .85rem;
}
.lorca-label {
  font-family: var(--caps);
  font-size: .62rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold);
}
.lorca-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--cream);
  font-weight: 400;
}
.lorca-quote {
  font-family: var(--body);
  font-style: italic;
  font-size: clamp(.95rem, 1.3vw, 1.2rem);
  color: var(--text-muted);
  max-width: 52ch;
  margin-inline: auto;
}

/* =============================================================
   14. Valores
   ============================================================= */
.valores {
  position: relative; z-index: 2;
  background: rgba(8,6,1,.95);
  padding-block: clamp(5rem, 10vw, 9rem);
}
.valores-header { text-align: center; margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.valor-card {
  border: 1px solid rgba(184,136,42,.12);
  border-radius: 3px;
  padding: 2.5rem 2rem;
  background: rgba(20,16,8,.5);
  transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s;
}
.valor-card:hover {
  transform: translateY(-8px);
  border-color: rgba(184,136,42,.35);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.valor-icon {
  font-size: 1.8rem;
  margin-bottom: 1.1rem;
}
.valor-title {
  font-family: var(--caps);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.valor-desc {
  font-family: var(--body);
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* =============================================================
   15. Reseñas
   ============================================================= */
.resenas {
  position: relative; z-index: 2;
  background: rgba(10,8,2,.9);
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--line);
}
.resenas-header {
  text-align: center;
  margin-bottom: 1rem;
}
.rating-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--caps);
  font-size: .7rem;
  letter-spacing: .15em;
  color: var(--gold);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.stars { color: var(--gold); letter-spacing: .1em; font-size: .85rem; }
.rating-num {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--cream);
}

.resenas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.resena-card {
  background: rgba(20,16,8,.6);
  border: 1px solid rgba(184,136,42,.1);
  border-radius: 3px;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color .35s, box-shadow .35s;
}
.resena-card:hover {
  border-color: rgba(184,136,42,.28);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.resena-card::before {
  content: '"';
  position: absolute; top: -.5rem; left: 1rem;
  font-family: var(--serif);
  font-size: 6rem;
  color: rgba(184,136,42,.07);
  line-height: 1;
  pointer-events: none;
}
.resena-stars { color: var(--gold); margin-bottom: 1rem; font-size: .8rem; letter-spacing: .12em; }
.resena-text {
  font-family: var(--body);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.resena-author {
  font-family: var(--caps);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(154,138,106,.6);
}

.resenas-cta { text-align: center; }

/* =============================================================
   16. Contacto
   ============================================================= */
.contacto {
  position: relative; z-index: 2;
  background: rgba(8,6,1,.95);
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--line);
}
.contacto-inner {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}
.contacto-header { margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.contacto-header .t-section-title { margin-top: .75rem; }

.contacto-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 1rem;
  margin-bottom: 2.5rem;
}
.contacto-list li {
  display: flex; align-items: center; gap: .85rem;
  font-family: var(--body);
  font-size: 1.05rem;
  color: var(--text-muted);
  justify-content: center;
}
.contacto-list .icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contacto-list a { color: var(--text-muted); transition: color .25s; }
.contacto-list a:hover { color: var(--gold); }

.mapa-wrapper {
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color .3s;
  cursor: pointer;
}
.mapa-wrapper:hover { border-color: rgba(184,136,42,.4); }
.mapa-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: filter .35s;
}
.mapa-wrapper:hover .mapa-img { filter: brightness(1.1); }
.mapa-bar {
  background: rgba(20,16,8,.95);
  padding: .85rem 1rem;
  font-family: var(--caps);
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  transition: background .3s;
}
.mapa-wrapper:hover .mapa-bar { background: var(--gold-dark); color: var(--cream); }

/* =============================================================
   17. Footer
   ============================================================= */
.footer {
  position: relative; z-index: 2;
  background: rgba(5,4,1,1);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 5vw, 4rem);
}
.footer-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 1.5rem;
  text-align: center;
}
.footer-logo-top {
  font-family: var(--caps);
  font-size: .65rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-dark), var(--gold-light));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}
.footer-logo-bottom {
  font-family: var(--serif);
  font-size: 1.6rem;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-dark), var(--gold-light));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}
.footer-tagline {
  font-family: var(--caps);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-nav {
  display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center;
  list-style: none;
}
.footer-nav a {
  font-family: var(--caps);
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .25s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy {
  font-family: var(--body);
  font-size: .85rem;
  color: rgba(154,138,106,.5);
}
.footer-divider {
  width: 48px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

/* =============================================================
   18. WhatsApp float
   ============================================================= */
.whatsapp-btn {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
  animation: wpPulse 2.5s ease-in-out infinite;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
  animation: none;
}
.whatsapp-btn svg { width: 28px; height: 28px; fill: #fff; }
@keyframes wpPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%  { box-shadow: 0 4px 30px rgba(37,211,102,.65), 0 0 0 8px rgba(37,211,102,.1); }
}

/* =============================================================
   19. Cookie banner
   ============================================================= */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  background: rgba(15,12,5,.97);
  border-top: 1px solid rgba(184,136,42,.2);
  padding: 1.1rem var(--gutter);
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .5s var(--ease-out);
}
.cookie-banner.show { transform: none; }
.cookie-text {
  font-family: var(--body);
  font-size: .9rem;
  color: var(--text-muted);
  max-width: 56ch;
}
.cookie-actions { display: flex; gap: .75rem; }
.cookie-btn {
  font-family: var(--caps);
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .6rem 1.25rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all .3s;
}
.cookie-btn-accept {
  background: var(--gold);
  color: var(--dark);
  border: 1px solid var(--gold);
}
.cookie-btn-accept:hover { background: var(--gold-light); }
.cookie-btn-reject {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(154,138,106,.3);
}
.cookie-btn-reject:hover { border-color: var(--text-muted); color: var(--cream); }

/* =============================================================
   20. Keyframes adicionales
   ============================================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* =============================================================
   21. Scroll progress bar
   ============================================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(to right, var(--gold), #e8c96d, var(--gold));
  z-index: 9999;
  pointer-events: none;
  transform-origin: left;
}

/* =============================================================
   22. Scroll hint (hero mouse icon)
   ============================================================= */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  opacity: 1;
  transition: opacity .6s ease;
  pointer-events: none;
  z-index: 3;
}
.scroll-hint.is-hidden { opacity: 0; }
.hint-mouse {
  width: 22px; height: 34px;
  border: 1.5px solid rgba(184,136,42,.55);
  border-radius: 11px;
  position: relative;
}
.hint-wheel {
  position: absolute;
  top: 5px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 6px;
  background: var(--gold);
  border-radius: 2px;
  animation: hintWheel 1.8s ease-in-out infinite;
}
.hint-label {
  font-family: var(--caps);
  font-size: .5rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(184,136,42,.6);
}
@keyframes hintWheel {
  0%   { transform: translateX(-50%) translateY(0); opacity: 1; }
  60%  { transform: translateX(-50%) translateY(7px); opacity: 0.2; }
  100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* =============================================================
   23. Press / reconocimientos strip
   ============================================================= */
.press-strip {
  position: relative; z-index: 2;
  background: rgba(10,8,2,.93);
  border-top: 1px solid rgba(184,136,42,.16);
  border-bottom: 1px solid rgba(184,136,42,.16);
  overflow: hidden;
  padding-block: .85rem;
}
.press-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: pressMarquee 32s linear infinite;
  will-change: transform;
}
.press-strip:hover .press-track { animation-play-state: paused; }
/* animation injected by JS (pressLoop keyframe, pixel-precise) */
.press-item {
  font-family: var(--caps);
  font-size: .56rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(184,136,42,.65);
  padding-inline: 1.8rem;
  flex-shrink: 0;
}
.press-sep {
  color: rgba(184,136,42,.28);
  font-size: .7rem;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) {
  .press-track { animation: none !important; }
}

/* =============================================================
   24. Contacto CTA
   ============================================================= */
.contacto-cta {
  margin-top: 2.5rem;
  text-align: center;
}
.contacto-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .65rem;
}
.contacto-wa-btn svg {
  width: 18px; height: 18px;
  fill: var(--dark);
  flex-shrink: 0;
}

/* =============================================================
   25. Responsive — 960px (tablet landscape)
   ============================================================= */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .lang-toggle { display: none; }
  .nav-burger { display: flex; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .valores-grid  { grid-template-columns: repeat(2, 1fr); }
  .resenas-grid  { grid-template-columns: repeat(2, 1fr); }
  .proceso-steps { grid-template-columns: repeat(2, 1fr); }
  .proceso-steps::before { display: none; }

  .timeline-item { grid-template-columns: 90px 1fr; gap: 1rem 1.5rem; }
}

/* =============================================================
   22. Responsive — 600px (mobile)
   ============================================================= */
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .valores-grid  { grid-template-columns: 1fr; }
  .resenas-grid  { grid-template-columns: 1fr; }
  .proceso-steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  .timeline::before { left: 0; }
  .timeline-item { grid-template-columns: 1fr; gap: .4rem; padding-left: 1.75rem; }
  .timeline-year { padding-top: 0; }

  .hero-actions { flex-direction: column; align-items: center; }

  .cookie-banner { flex-direction: column; align-items: flex-start; gap: .85rem; }

  .whatsapp-btn { bottom: 1.25rem; right: 1.25rem; }
}

/* =============================================================
   23. Reduced-motion (solo efectos intrusivos)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  @keyframes shimmer { 0%, 100% { background-position: 0% center; } }
  @keyframes wpPulse { 0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); } }
  .castillo-bg { will-change: auto; }
}
