/* ============================================
   PRAXEDES — Landing Page
   Auténtico desde el origen
   ============================================ */

/* --- Accesibilidad: reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Tipografías --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Lora:ital,wght@0,400;0,500;1,400&family=Source+Sans+3:wght@300;400;600;700&display=fallback');

/* --- Variables de diseño --- */
:root {
  /* Paleta Praxedes — Terroir, oro y elegancia */
  --color-gold: #C5A253;
  --color-gold-light: #D4B96E;
  --color-gold-dark: #A6863A;
  --color-olive-deep: #2C3A2A;
  --color-olive: #4A5D42;
  --color-olive-light: #6B7F62;
  --color-terra: #8B6B4A;
  --color-terra-light: #A3845F;
  --color-cream: #F5F0E8;
  --color-cream-warm: #EDE5D8;
  --color-black: #1A1A18;
  --color-white: #FAFAF7;
  --color-text: #2A2A26;
  --color-text-muted: #6B6B63;

  /* Tipografía */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', sans-serif;

  /* Espaciado */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  /* Transiciones */
  --ease-spring: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 600ms;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* --- Fallback imagen para móvil (videos no hacen seek por scroll) --- */
.scroll-video-fallback {
  display: none;
}

@media (max-width: 767px), (hover: none) {
  .scroll-video {
    display: none !important;
  }

  .scroll-video-fallback {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
  }
}

/* --- Skip link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  background: var(--color-gold);
  color: var(--color-black);
  padding: var(--space-xs) var(--space-sm);
  z-index: 200;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  top: 0;
}

/* --- Barra de progreso de scroll --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
  transform-origin: left;
  z-index: 150;
  animation: scaleProgress linear;
  animation-timeline: scroll(root block);
}

@keyframes scaleProgress {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* --- Contenedor --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ============================================
   NAVEGACIÓN
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: var(--space-sm) 0;
  transition: background-color var(--duration-normal) var(--ease-smooth),
              padding var(--duration-normal) var(--ease-smooth);
}

.nav--scrolled {
  background-color: rgba(26, 26, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-xs) 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity var(--duration-fast) var(--ease-smooth);
}

.nav__logo:hover .nav__logo-img,
.nav__logo:focus-visible .nav__logo-img {
  opacity: 0.8;
}

.nav__links {
  display: none;
  gap: var(--space-md);
  align-items: center;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-cream);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--duration-normal) var(--ease-spring);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--color-gold);
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  width: 100%;
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav__toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--color-cream);
  transition: transform var(--duration-normal) var(--ease-spring),
              opacity var(--duration-fast);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Fondo atmosférico con gradientes apilados */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(197, 162, 83, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(44, 58, 42, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(139, 107, 74, 0.12) 0%, transparent 70%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 24, 0.3) 0%,
    rgba(26, 26, 24, 0.1) 40%,
    rgba(26, 26, 24, 0.6) 100%
  );
}

.hero__video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  transition: opacity 0.8s var(--ease-smooth);
}

.hero__video.is-loaded {
  opacity: 0.6;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--space-2xl) var(--space-md);
}

.hero__logo {
  max-width: 220px;
  height: auto;
  margin: 0 auto var(--space-md);
  filter: brightness(0) invert(1);
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 1s var(--ease-spring) 0.1s forwards;
}

.hero__legend {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-gold-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 1s var(--ease-spring) 0.3s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  color: var(--color-cream);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 1.2s var(--ease-spring) 0.5s forwards;
}

.hero__title em {
  font-style: italic;
  color: var(--color-gold);
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--color-cream-warm);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto var(--space-lg);
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 1s var(--ease-spring) 0.8s forwards;
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 1s var(--ease-spring) 1.1s forwards;
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0;
  animation: heroReveal 1s var(--ease-spring) 1.5s forwards;
}

.hero__scroll-text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--color-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* ============================================
   BOTONES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 48px;
  min-width: 48px;
  transition: transform var(--duration-normal) var(--ease-spring),
              color var(--duration-fast);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--color-gold);
  color: var(--color-black);
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-gold-dark);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-smooth);
}

.btn--primary:hover::after,
.btn--primary:focus-visible::after {
  opacity: 1;
}

.btn--primary span {
  position: relative;
  z-index: 1;
}

.btn--outline {
  background: transparent;
  color: var(--color-cream);
  border: 1px solid rgba(197, 162, 83, 0.4);
  transition: border-color var(--duration-normal) var(--ease-smooth),
              color var(--duration-fast),
              transform var(--duration-normal) var(--ease-spring);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn--dark {
  background: var(--color-gold);
  color: var(--color-black);
}

.btn--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-gold-dark);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-smooth);
}

.btn--dark:hover::after,
.btn--dark:focus-visible::after {
  opacity: 1;
}

.btn--dark span {
  position: relative;
  z-index: 1;
}

/* ============================================
   SECCIÓN: FILOSOFÍA
   ============================================ */
.filosofia {
  padding: var(--space-2xl) 0;
  background: var(--color-black);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.filosofia__photo-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.filosofia__photo-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(26, 26, 24, 0.25) 0%, rgba(26, 26, 24, 0.85) 70%),
    linear-gradient(180deg, rgba(26, 26, 24, 0.85) 0%, transparent 30%, transparent 70%, rgba(26, 26, 24, 0.85) 100%);
  z-index: 1;
}

.filosofia__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.08);
  will-change: opacity, transform;
}

.filosofia__inner {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  z-index: 2;
}

.filosofia__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-sm);
}

.filosofia__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.filosofia__title em {
  font-style: italic;
  color: var(--color-gold);
}

.filosofia__text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: rgba(245, 240, 232, 0.8);
  line-height: 1.8;
  max-width: 560px;
}

.filosofia__quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  color: var(--color-cream);
  line-height: 1.4;
  padding: var(--space-lg);
  border-left: 3px solid var(--color-gold);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  position: relative;
}

.filosofia__quote-author {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-top: var(--space-sm);
}

/* ============================================
   SECCIÓN: TERROIR
   ============================================ */
.terroir {
  padding: var(--space-2xl) 0;
  background: var(--color-olive-deep);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.terroir__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.terroir__video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(44, 58, 42, 0.55) 0%, rgba(26, 26, 24, 0.7) 100%),
    radial-gradient(ellipse 80% 50% at 0% 100%, rgba(139, 107, 74, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 100% 0%, rgba(197, 162, 83, 0.08) 0%, transparent 50%);
  z-index: 1;
}

.terroir__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s var(--ease-smooth);
}

.terroir__video.is-loaded {
  opacity: 0.7;
}

.terroir__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.terroir__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.terroir__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.terroir__text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: rgba(245, 240, 232, 0.8);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.terroir__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.terroir__feature {
  padding: var(--space-md);
  border: 1px solid rgba(197, 162, 83, 0.15);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.terroir__feature-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.terroir__feature-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-gold-light);
  margin-bottom: var(--space-xs);
}

.terroir__feature-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.6;
}

/* ============================================
   SECCIÓN: PRODUCTOS — Carrusel scroll
   ============================================ */
.productos {
  padding: var(--space-2xl) 0 0;
  background: var(--color-cream);
  position: relative;
  overflow: hidden;
}

.productos::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(197, 162, 83, 0.08) 0%, transparent 50%);
}

.productos__header {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.productos__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-sm);
}

.productos__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-olive-deep);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* --- Carrusel horizontal por scroll vertical --- */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: var(--space-lg) 0 var(--space-2xl);
}

.carousel__track {
  display: flex;
  gap: var(--space-md);
  padding: 0 var(--space-md);
  will-change: transform;
}

.carousel__slide {
  flex: 0 0 280px;
  position: relative;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s var(--ease-spring),
              transform 0.6s var(--ease-spring);
}

.carousel__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.carousel__img-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

/* Sombra pre-renderizada */
.carousel__img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: 0 24px 64px rgba(26, 26, 24, 0.15);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-smooth);
}

.carousel__slide.is-active .carousel__img-wrapper::after {
  opacity: 1;
}

.carousel__img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease-spring);
}

.carousel__slide.is-active:hover .carousel__img-wrapper img {
  transform: scale(1.05);
}

.carousel__caption {
  text-align: center;
  padding: var(--space-sm) 0;
}

.carousel__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-olive-deep);
  margin-bottom: 0.2rem;
}

.carousel__variety {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

/* --- Responsive carrusel --- */
@media (min-width: 768px) {
  .carousel__slide {
    flex: 0 0 340px;
  }
}

@media (min-width: 1024px) {
  .carousel__slide {
    flex: 0 0 380px;
  }
}

/* ============================================
   SECCIÓN: BERASATEGUI
   ============================================ */
.aval {
  padding: var(--space-2xl) 0;
  background: var(--color-black);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Foto de fondo con fundido cinematográfico */
.aval__photo-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.aval__photo-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(26, 26, 24, 0.3) 0%, rgba(26, 26, 24, 0.85) 70%),
    linear-gradient(180deg, rgba(26, 26, 24, 0.9) 0%, transparent 25%, transparent 75%, rgba(26, 26, 24, 0.9) 100%);
  z-index: 1;
}

.aval__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transform: scale(1.08);
  will-change: opacity, transform;
  transition: none;
}

.aval__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

.aval__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.aval__quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-cream);
  line-height: 1.35;
  margin-bottom: var(--space-lg);
}

.aval__quote strong {
  color: var(--color-gold);
  font-weight: 700;
}

.aval__author {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-xs);
}

.aval__role {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-text-muted);
}

/* ============================================
   SECCIÓN: SOSTENIBILIDAD
   ============================================ */
.sostenibilidad {
  padding: var(--space-2xl) 0;
  background: var(--color-olive-deep);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.sostenibilidad__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sostenibilidad__video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 26, 24, 0.7) 0%, rgba(44, 58, 42, 0.5) 50%, rgba(26, 26, 24, 0.7) 100%),
    radial-gradient(ellipse 80% 60% at 50% 50%, transparent 0%, rgba(26, 26, 24, 0.4) 70%);
  z-index: 1;
}

.sostenibilidad__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s var(--ease-smooth);
}

.sostenibilidad__video.is-loaded {
  opacity: 0.6;
}

.sostenibilidad__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.sostenibilidad__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-sm);
}

.sostenibilidad__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.sostenibilidad__text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: rgba(245, 240, 232, 0.8);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.sostenibilidad__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md);
  min-width: 160px;
  border: 1px solid rgba(197, 162, 83, 0.25);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.badge__icon {
  font-size: 2rem;
}

.badge__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-cream);
}

/* ============================================
   SECCIÓN: CONTACTO / CTA FINAL
   ============================================ */
.contacto {
  padding: var(--space-2xl) 0;
  background: var(--color-olive-deep);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.contacto__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.contacto__video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 26, 24, 0.75) 0%, rgba(44, 58, 42, 0.5) 50%, rgba(26, 26, 24, 0.8) 100%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(197, 162, 83, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.contacto__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s var(--ease-smooth);
}

.contacto__video.is-loaded {
  opacity: 0.5;
}

.contacto__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-xl);
  width: 100%;
}

.contacto__cta {
  text-align: center;
}

.contacto__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.contacto__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

.contacto__text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contacto__info {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  text-align: center;
}

.contacto__info-item {
  padding: var(--space-md);
  border: 1px solid rgba(197, 162, 83, 0.15);
}

.contacto__info-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.contacto__info-value {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--color-cream);
  line-height: 1.6;
}

.contacto__info-value a {
  transition: color var(--duration-fast);
}

.contacto__info-value a:hover,
.contacto__info-value a:focus-visible {
  color: var(--color-gold);
}

/* --- Newsletter --- */
.newsletter {
  max-width: 480px;
  margin: var(--space-lg) auto 0;
  text-align: center;
}

.newsletter__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-cream);
  margin-bottom: var(--space-xs);
}

.newsletter__subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-gold-light);
  margin-bottom: var(--space-sm);
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.newsletter__input {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.9rem var(--space-sm);
  border: 1px solid rgba(197, 162, 83, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-cream);
  outline: none;
  transition: border-color var(--duration-fast);
}

.newsletter__input::placeholder {
  color: rgba(245, 240, 232, 0.4);
}

.newsletter__input:focus {
  border-color: var(--color-gold);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: var(--space-md) 0;
  background: var(--color-black);
  text-align: center;
}

.footer__logo {
  max-width: 120px;
  height: auto;
  margin: 0 auto var(--space-sm);
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

.footer__text {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer__text a {
  color: var(--color-gold);
  transition: opacity var(--duration-fast);
}

.footer__text a:hover {
  opacity: 0.7;
}

/* ============================================
   ANIMACIONES DE SCROLL (Reveal)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal--left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal--right {
  opacity: 0;
  transform: translateX(40px);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.95);
}

.reveal.is-visible {
  animation: revealUp 0.8s var(--ease-spring) forwards;
}

.reveal--left.is-visible {
  animation: revealLeft 0.8s var(--ease-spring) forwards;
}

.reveal--right.is-visible {
  animation: revealRight 0.8s var(--ease-spring) forwards;
}

.reveal--scale.is-visible {
  animation: revealScale 0.8s var(--ease-spring) forwards;
}

/* Escalonado para hijos directos */
.stagger > .reveal.is-visible:nth-child(1) { animation-delay: 0.1s; }
.stagger > .reveal.is-visible:nth-child(2) { animation-delay: 0.2s; }
.stagger > .reveal.is-visible:nth-child(3) { animation-delay: 0.3s; }
.stagger > .reveal.is-visible:nth-child(4) { animation-delay: 0.4s; }
.stagger > .reveal.is-visible:nth-child(5) { animation-delay: 0.5s; }
.stagger > .reveal.is-visible:nth-child(6) { animation-delay: 0.6s; }

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

@keyframes revealLeft {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes revealRight {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes revealScale {
  to { opacity: 1; transform: scale(1); }
}

/* ============================================
   SECCIONES BELOW-THE-FOLD — Contención CSS
   ============================================ */
.terroir,
.productos,
.aval,
.sostenibilidad,
.contacto {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

/* ============================================
   RESPONSIVE — Mobile First
   ============================================ */

/* Tablet */
@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }

  .nav__toggle {
    display: none;
  }

  .hero__cta-group {
    flex-direction: row;
  }

  .filosofia__inner {
    grid-template-columns: 1fr 1fr;
  }

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


  .contacto__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .contacto__cta {
    text-align: left;
  }

  .contacto__text {
    margin-left: 0;
  }

  .contacto__info {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter__form {
    flex-direction: row;
  }

  .newsletter__input {
    flex: 1;
  }
}

/* Desktop */
@media (min-width: 1024px) {
}
