/*
Theme Name: Bodegas Ramiro Rodríguez
Theme URI: https://bodegasra.com
Author: Bodegas Ramiro Rodríguez
Author URI: https://bodegasra.com
Description: Sitio web oficial de Bodegas Ramiro Rodríguez — bodega familiar en Burgos, España.
Version: 2.2
License: All Rights Reserved
Text Domain: bodegasra
*/


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

:root {
  --cream: #F5F0EB;
  --warm-white: #FAF8F5;
  --deep-wine: #2C1810;
  --burgundy: #5C1A1B;
  --gold: #C5A55A;
  --charcoal: #1A1A1A;
  --dark: #0D0B09;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Libre Baskerville', Georgia, serif;
  --font-accent: 'Josefin Sans', 'Helvetica Neue', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

.section-label {
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--deep-wine);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.section-title--light {
  color: var(--cream);
}

.body-text {
  font-size: 1rem;
  line-height: 1.9;
  color: #4A3F3A;
  max-width: 640px;
}

.body-text--light {
  color: rgba(245, 240, 235, 0.85);
}

/* ============================================================
   DIAMOND DIVIDER
   ============================================================ */
.diamond-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 0;
}

.diamond-divider::before,
.diamond-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.diamond-divider span {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.diamond-divider--light::before,
.diamond-divider--light::after {
  background: rgba(197, 165, 90, 0.4);
}

.diamond-divider--light span {
  background: rgba(197, 165, 90, 0.6);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 2rem;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(13, 11, 9, 0.92);
  padding: 0.75rem 2rem;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.header-logo em {
  font-style: italic;
  font-weight: 300;
  opacity: 0.7;
  font-size: 0.85em;
  margin-left: 0.5em;
}

.header-nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.header-nav a {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.7);
  transition: color 0.3s ease;
  position: relative;
  cursor: pointer;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--cream);
}

.header-nav a.active::after,
.header-nav a:hover::after {
  width: 100%;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right 0.4s ease;
  }

  .header-nav.open {
    right: 0;
  }

  .header-nav a {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
  }
}

/* ============================================================
   PAGE CONTAINERS
   ============================================================ */
.page {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.page.active {
  display: block;
  opacity: 1;
}

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

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

.hero-bg img {
  width: 100%;
  height: 102%;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin-top: -1%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 11, 9, 0.35) 0%,
    rgba(13, 11, 9, 0.2) 40%,
    rgba(13, 11, 9, 0.5) 80%,
    rgba(13, 11, 9, 0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--cream);
  max-width: 800px;
  padding: 0 2rem;
}

.hero-tagline {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s 0.3s ease forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 1s 0.6s ease forwards;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(245, 240, 235, 0.8);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s 0.9s ease forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: heroFadeUp 1s 1.2s ease forwards;
}

.hero-scroll-indicator span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s infinite;
}

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

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


/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 24, 16, 0.2), transparent 40%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .gallery-item img {
    height: 280px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Lightbox */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(13, 11, 9, 0.95);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.gallery-lightbox.active {
  display: flex;
}
.gallery-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
}

/* Smaller hero for subpages */
.hero--sub {
  height: 70vh;
  min-height: 450px;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.section {
  padding: 5rem 2rem;
}

.section--cream {
  background: var(--cream);
}

.section--warm-white {
  background: var(--warm-white);
}

.section--dark {
  background: var(--dark);
  color: var(--cream);
}

.section--deep-wine {
  background: var(--deep-wine);
  color: var(--cream);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ============================================================
   HOMEPAGE: HISTORIA
   ============================================================ */
.historia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.historia-image {
  position: relative;
  overflow: hidden;
}

.historia-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 2px;
}

.historia-image::after {
  content: '';
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: -1rem;
  bottom: -1rem;
  border: 1px solid var(--gold);
  opacity: 0.3;
  border-radius: 2px;
  z-index: -1;
}

.historia-text p {
  margin-bottom: 1.5rem;
}

.historia-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .historia-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .historia-image img {
    height: 350px;
  }
  .historia-image::after {
    display: none;
  }
}

/* ============================================================
   PARALLAX QUOTE
   ============================================================ */
.parallax-quote {
  position: relative;
  padding: 6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 50vh;
  overflow: hidden;
}

.parallax-quote-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.parallax-quote-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  margin-top: -10%;
}

.parallax-quote-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 11, 9, 0.65);
  z-index: 1;
}

.parallax-quote-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.parallax-quote-content blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.parallax-quote-content cite {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* ============================================================
   HOMEPAGE: VINOS
   ============================================================ */
.vinos-showcase-img {
  width: 100%;
  max-width: 800px;
  margin: 2.5rem auto;
  border-radius: 2px;
}

.vinos-showcase-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}

.vinos-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
  max-width: 900px;
}

.vino-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(197, 165, 90, 0.2);
  border-radius: 2px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.vino-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.vino-card-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--deep-wine);
  margin-bottom: 0.5rem;
}

.vino-card-type {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.vino-card-grapes {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #6B5E56;
  line-height: 1.6;
  font-style: italic;
}

@media (max-width: 700px) {
  .vinos-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .vinos-duo-images {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   TERROIR PAGE: PARAJES
   ============================================================ */
.paraje {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.paraje:last-child {
  margin-bottom: 0;
}

.paraje--reverse {
  direction: rtl;
}

.paraje--reverse > * {
  direction: ltr;
}

.paraje-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 2px;
}

.paraje-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--deep-wine);
  margin-bottom: 0.75rem;
}

.paraje-meta {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.paraje-varieties {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #6B5E56;
  line-height: 1.8;
  font-style: italic;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .paraje, .paraje--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }
  .paraje-image img {
    height: 300px;
  }
}

/* ============================================================
   TERROIR PAGE: LA BODEGA
   ============================================================ */
.bodega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.bodega-grid img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 2px;
}

@media (max-width: 700px) {
  .bodega-grid {
    grid-template-columns: 1fr;
  }
  .bodega-grid img {
    height: 250px;
  }
}

/* ============================================================
   INSTAGRAM / CTA SECTION
   ============================================================ */
.instagram-section {
  position: relative;
  padding: 5rem 2rem;
  text-align: center;
  overflow: hidden;
}

.instagram-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.instagram-section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.instagram-section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 11, 9, 0.7);
  z-index: 1;
}

.instagram-section-content {
  position: relative;
  z-index: 2;
}

.instagram-handle {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--cream);
  font-style: italic;
  margin-top: 1rem;
  display: inline-block;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.25rem;
  transition: color 0.3s;
}

.instagram-handle:hover {
  color: var(--gold);
}

/* ============================================================
   CATÁLOGO PAGE
   ============================================================ */
.catalogo-intro {
  font-size: 1.05rem;
  max-width: 650px;
}

/* Tinto cards */
.tinto-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.tinto-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--warm-white);
  border: 1px solid rgba(197, 165, 90, 0.15);
  border-radius: 2px;
  transition: border-color 0.3s, transform 0.3s;
}

.tinto-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.tinto-card-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--deep-wine);
  margin-bottom: 0.5rem;
}

.tinto-card-subtitle {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.tinto-card-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #6B5E56;
  line-height: 1.7;
  font-style: italic;
}

@media (max-width: 700px) {
  .tinto-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Rosado layout */
.rosado-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.rosado-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.rosado-images img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 2px;
}

.rosado-text .section-title {
  color: var(--cream);
}

.rosado-text .body-text {
  color: rgba(245, 240, 235, 0.8);
}

.rosado-wine-name {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.rosado-wine-type {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .rosado-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .rosado-images img {
    height: 220px;
  }
}

/* Blanco layout */
.blanco-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.blanco-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 2px;
}

.blanco-wine-name {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--deep-wine);
  margin-bottom: 0.25rem;
}

.blanco-wine-type {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .blanco-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .blanco-image img {
    height: 300px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(245, 240, 235, 0.5);
  padding: 4rem 2rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 700px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: rgba(245, 240, 235, 0.4);
  margin-bottom: 2rem;
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
  margin: 0 auto 2rem;
}

.footer-info {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  line-height: 2.2;
  text-transform: uppercase;
}

.footer-info a {
  color: var(--gold);
  transition: color 0.3s;
}

.footer-info a:hover {
  color: var(--cream);
}

.footer-copyright {
  font-family: var(--font-accent);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  margin-top: 2.5rem;
  opacity: 0.3;
}

/* ============================================================
   UTILITY
   ============================================================ */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Terroir intro extra */
.terroir-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.terroir-intro-grid .body-text {
  max-width: 100%;
}

.terroir-intro-detail img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .terroir-intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Ramiro portrait for historia */
.ramiro-portrait {
  width: 100%;
  max-width: 350px;
  margin: 2rem auto 0;
}

.ramiro-portrait img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(10%);
}

/* Bodega exterior accent */
.bodega-exterior-accent {
  margin-top: 2rem;
}

.bodega-exterior-accent img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 2px;
}

/* Glass in vine closing image */
.closing-image {
  max-width: 500px;
  margin: 2rem auto 0;
}

.closing-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 2px;
}

/* Extra terroir detail */
.extra-detail-img {
  margin-top: 2rem;
}

.extra-detail-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 2px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth page transition */
.page-enter {
  animation: fadeInUp 0.5s ease forwards;
}


/* ============================================================
   AGE GATE / LANGUAGE / CUSTOM FIXES
   ============================================================ */
body.age-gate-open { overflow: hidden; }
#ageGateToggle { position: absolute; opacity: 0; pointer-events: none; }
#ageGateToggle:checked ~ .age-gate { display: none !important; }
.age-gate { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; padding: 2rem; background: rgba(13, 11, 9, 0.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.age-gate.active { display: flex; }
.age-gate-card { width: min(560px, 100%); background: var(--warm-white); color: var(--deep-wine); padding: 2.25rem; border: 1px solid rgba(197,165,90,0.35); box-shadow: 0 20px 60px rgba(0,0,0,0.28); text-align: center; }
.age-gate-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; line-height: 1.1; }
.age-gate-text { color: #4A3F3A; line-height: 1.8; margin-bottom: 1.25rem; }
.age-gate-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.age-gate-btn { appearance: none; border: 1px solid var(--gold); background: transparent; color: var(--deep-wine); padding: 0.9rem 1.4rem; min-width: 140px; font-family: var(--font-accent); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; transition: all 0.3s ease; }
.age-gate-btn:hover { background: var(--gold); color: var(--warm-white); }
.age-gate-btn--primary { background: var(--deep-wine); border-color: var(--deep-wine); color: var(--warm-white); }
.age-gate-btn--primary:hover { background: var(--gold); border-color: var(--gold); color: var(--warm-white); }
.age-gate-note, .age-gate-denied { font-family: var(--font-accent); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #7C6C62; margin-top: 1rem; }
.lang-switcher { margin-left: 1.5rem; display: flex; align-items: center; gap: 0.6rem; color: var(--cream); font-family: var(--font-accent); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; }
.lang-switcher-label { opacity: 0.6; font-size: 0.55rem; letter-spacing: 0.2em; }
.lang-switcher select { appearance: none; -webkit-appearance: none; background: transparent; color: var(--gold); border: 1px solid rgba(197,165,90,0.35); padding: 0.4rem 1.6rem 0.4rem 0.75rem; font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.08em; font-weight: 400; border-radius: 0; cursor: pointer; transition: all 0.3s ease; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C5A55A' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.5rem center; }
.lang-switcher select:hover { border-color: var(--gold); color: var(--cream); }
.lang-switcher select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 1px rgba(197,165,90,0.2); }
.lang-switcher select option { color: var(--dark); background: var(--warm-white); font-family: var(--font-accent); }
.hero--inicio { align-items: flex-end; }
.hero--inicio .hero-content { padding-bottom: 11vh; }
.hero--inicio .hero-title { margin-bottom: 1rem; }
.hero--inicio .hero-subtitle { max-width: 680px; margin: 0 auto; }
.hero--inicio .hero-tagline { margin-top: 1rem; margin-bottom: 0; }
.parallax-quote--full .parallax-quote-bg img, .parallax-quote-bg img { height: 100%; margin-top: 0; object-position: center center; }
.parallax-quote--tree .parallax-quote-bg img { object-position: center 42%; }
.vinos-duo-images > div img { width: 100%; height: 420px; object-fit: cover; }
.vinos-showcase-img img { max-height: 560px; }
.closing-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; width: 100%; max-width: 900px; margin: 2rem auto 0; }
.closing-gallery img { width: 100%; height: 420px; object-fit: cover; border-radius: 2px; }
.hero--catalogo .hero-tagline { font-size: 0.92rem; letter-spacing: 0.34em; }
[data-stock-image="white-grapes"] { object-position: center center; }
@media (max-width: 900px) { .lang-switcher { margin-left: 0; margin-right: 0.75rem; } .hero--inicio .hero-content { padding-bottom: 8vh; } .vinos-duo-images > div img { height: 320px; } .closing-gallery { grid-template-columns: 1fr; } .closing-gallery img { height: 320px; } }

.grape-center img { object-position: center center !important; }
.vinos-showcase-img--uncropped img { height: auto !important; max-height: none !important; object-fit: contain !important; object-position: center center !important; display: block; }
.barrel-centered { width: 100% !important; height: 350px !important; object-fit: cover !important; object-position: center 58% !important; background: transparent !important; }
.quote-inline-section { padding-top: 3.5rem; padding-bottom: 4rem; }
.quote-inline { max-width: 900px; margin: 0 auto; font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.35; color: var(--deep-wine); text-align: center; }
@media (max-width: 900px) { .quote-inline { font-size: clamp(1.6rem, 7vw, 2.25rem); } }
@media (max-width: 700px) { .barrel-centered { height: 250px !important; object-position: center 56% !important; } }
