/* ==========================================================================
   EDITORIAL DESIGN SYSTEM & FONTS (ADEGA 2010)
   ========================================================================== */

/* Bulmer MT Std - Serif family used in the Dossier */
@font-face {
  font-family: 'Bulmer MT Std';
  src: url('./assets/fonts/BulmerMTStd-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Bulmer MT Std';
  src: url('./assets/fonts/BulmerMTStd-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Bulmer MT Std';
  src: url('./assets/fonts/BulmerMTStd-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Bulmer MT Std';
  src: url('./assets/fonts/BulmerMTStd-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Bulmer MT Std';
  src: url('./assets/fonts/BulmerMTStd-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

/* Commercial Script BT - Cursive font for branding elements */
@font-face {
  font-family: 'CommercialScript BT';
  src: url('./assets/fonts/CommercialScriptBt.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'CommercialScriptBT-Regular';
  src: url('./assets/fonts/CommercialScriptBt.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

/* Design Variables */
:root {
  /* Editorial Palette */
  --bg-cream: #FAF6F0;          /* Warm caliza/sand background */
  --bg-dark: #110F0E;           /* Húmedo bodega/charcoal background */
  --color-gold: #C00000;        /* Deep burgundy red */
  --color-gold-muted: #800000;  /* Muted wine red */
  --color-gold-light: #FBEBEB;  /* Soft light pinkish/red tint */
  
  --text-dark: #221E1B;         /* Deep warm charcoal black */
  --text-muted-dark: #6E6157;   /* Soft warm earth grey */
  --text-light: #F7F5F2;        /* Chalk white */
  --text-muted-light: #A59E96;  /* Dust grey */

  /* Experience Cards (Pastel Light Theme Palette) */
  --color-adega: #FAF6F0;       
  --color-adega-accent: #C00000;
  
  --color-agua: #E8EAF6;        /* Soft lavender/indigo */
  --color-agua-accent: #5C6BC0;
  
  --color-callejero: #FCE4EC;   /* Soft pastel pink */
  --color-callejero-accent: #D81B60;
  
  --color-yeso: #EFEBE9;        /* Soft pastel earth clay */
  --color-yeso-accent: #8D6E63;

  /* Typography */
  --font-serif: 'Bulmer MT Std', Georgia, serif;
  --font-sans: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  --font-script: 'CommercialScript BT', 'CommercialScriptBT-Regular', cursive;

  /* Layout and Transitions */
  --container-width: 1400px;
  --transition-theme: background-color 1.2s cubic-bezier(0.25, 1, 0.5, 1), color 1.2s ease;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-card: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  /* scroll-behavior: smooth removed in favor of gentle JS scroll ease */
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  transition: var(--transition-theme);
  -webkit-font-smoothing: antialiased;
}

/* Theme Switcher Classes managed by JS */
body.theme-light {
  background-color: var(--bg-cream);
  color: var(--text-dark);
}

body.theme-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

/* Section Pastel Backgrounds for Light Theme */
#inicio {
  background-color: var(--bg-cream);
}
#bodega {
  background-color: #F3EFE9; /* soft pastel sand */
}
#entorno {
  background-color: var(--bg-cream);
}
#vino, #vino-detalles {
  background-color: var(--bg-cream);
}
#casa-rural {
  background-color: var(--bg-cream);
}
#experiencias {
  background-color: var(--bg-dark);
}
#contacto {
  background-color: var(--bg-dark);
}

/* Global Dark Theme Helpers to guarantee legibility */
[data-theme="dark"] {
  color: var(--text-light) !important;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: var(--text-light) !important;
}

[data-theme="dark"] p {
  color: var(--text-muted-light) !important;
}

[data-theme="dark"] .editorial-label {
  color: var(--color-gold) !important;
}

[data-theme="dark"] .inclusion-item-text {
  color: var(--text-light) !important;
}

[data-theme="dark"] .inclusions-footer-title {
  color: var(--color-gold) !important;
}

/* General Typography Styling */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

p {
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.01em;
}

body.theme-light p {
  color: var(--text-muted-dark);
}

body.theme-dark p {
  color: var(--text-muted-light);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 4vw;
  width: 100%;
}

.section-padding {
  padding: 120px 0;
}

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

/* ==========================================================================
   REVEAL ON SCROLL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 4vw;
  background-color: rgba(250, 246, 240, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(31, 27, 24, 0.05);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  padding: 16px 4vw;
  background-color: rgba(250, 246, 240, 0.95);
  border-bottom: 1px solid rgba(31, 27, 24, 0.08);
}

body.theme-dark .main-header {
  background-color: rgba(17, 15, 14, 0.75);
  border-bottom: 1px solid rgba(197, 168, 128, 0.05);
}

body.theme-dark .main-header.scrolled {
  background-color: rgba(17, 15, 14, 0.9);
  border-bottom: 1px solid rgba(197, 168, 128, 0.08);
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link img {
  height: 48px;
  width: auto;
  transition: var(--transition-smooth);
  filter: none; /* Black logo in light theme by default */
}

body.theme-dark .logo-link img {
  filter: brightness(0) invert(1); /* Inverted white logo in dark theme */
}

.main-header.scrolled .logo-link img {
  height: 38px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

.main-nav a {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted-dark);
  position: relative;
  padding-bottom: 8px;
}

body.theme-dark .main-nav a {
  color: var(--text-muted-light);
}

.main-nav a:hover,
body.theme-dark .main-nav a:hover {
  color: var(--color-gold);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 7px;
  width: 28px;
  z-index: 120;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-light);
  transition: var(--transition-smooth);
}

body.theme-light .menu-toggle span {
  background-color: var(--text-dark);
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--bg-dark);
    padding: 120px 40px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
  }
  body.theme-light .main-nav {
    background-color: var(--bg-cream);
  }
  .main-nav.active { right: 0; }
  .main-nav ul { flex-direction: column; gap: 35px; }
  .main-nav a { font-size: 0.9rem; }
  
  .menu-toggle.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
}

/* ==========================================================================
   HERO SECTION (Editorial Magazine Style)
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  color: var(--text-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  filter: grayscale(0%) brightness(95%) blur(5px);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(250,246,240,0.15) 0%, rgba(250,246,240,0.55) 100%);
  z-index: 2;
}

.hero-content-editorial {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 4vw;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.hero-text-block {
  grid-column: 1 / 9;
}

@media (max-width: 768px) {
  .hero-text-block {
    grid-column: 1 / 13;
  }
}

.hero-meta-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--color-gold);
  margin-bottom: 25px;
  display: block;
}

.hero-logo-wrapper {
  max-width: clamp(280px, 40vw, 420px);
  width: 100%;
  margin: 10px 0 40px 0;
}

.hero-svg-logo {
  width: 100%;
  height: auto;
  display: block;
}

.hero-descr-editorial {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: var(--text-muted-dark);
  max-width: 550px;
  line-height: 1.5;
  margin-bottom: 50px;
}

/* ==========================================================================
   EDITORIAL SECTION LAYOUTS (Asymmetric)
   ========================================================================== */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  align-items: center;
}

.editorial-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-gold-muted);
  margin-bottom: 25px;
  display: block;
}

.editorial-title-large {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 35px;
}

/* Asymmetric Columns configuration */
.editorial-text-col {
  grid-column: 2 / 7;
}

.editorial-img-col {
  grid-column: 8 / 13;
}

.editorial-grid.reverse .editorial-text-col {
  grid-column: 7 / 12;
}

.editorial-grid.reverse .editorial-img-col {
  grid-column: 1 / 6;
}

@media (max-width: 900px) {
  .editorial-text-col,
  .editorial-img-col,
  .editorial-grid.reverse .editorial-text-col,
  .editorial-grid.reverse .editorial-img-col {
    grid-column: 1 / 13;
  }
}

/* Editorial Image styling (Minimal frames, raw texture) */
.editorial-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}

.editorial-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  transition: transform 8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: contrast(95%) brightness(95%);
}

.editorial-image-wrapper:hover img {
  transform: scale(1.03);
}

/* Technical Viticulture Stats Panel */
.terroir-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
  border-top: 1px solid rgba(197, 168, 128, 0.2);
  border-bottom: 1px solid rgba(197, 168, 128, 0.2);
  padding: 40px 0;
}

body.theme-dark .terroir-stats {
  border-top-color: rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.stat-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1;
  color: var(--color-gold);
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .terroir-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
    padding: 30px 0;
  }
}

/* Elegant Quote block */
.editorial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1.4;
  color: var(--color-gold-muted);
  border-left: 1px solid var(--color-gold);
  padding-left: 40px;
  margin: 50px 0;
}

/* ==========================================================================
   CASA RURAL SECTION (Editorial Teaser)
   ========================================================================== */
.editorial-casa-rural {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.casa-rural-editorial-card {
  max-width: 900px;
  margin: 0 auto;
}

.casa-rural-para {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.casa-rural-split-images {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  margin-top: 60px;
}

.casa-rural-img-large {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
}

.casa-rural-img-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.casa-rural-img-small {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  margin-top: auto;
}

.casa-rural-img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .casa-rural-split-images {
    grid-template-columns: 1fr;
  }
  .casa-rural-img-small {
    display: none;
  }
}

/* Minimalist Button link */
.btn-editorial-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 5px;
  font-weight: 500;
  display: inline-block;
  margin-top: 20px;
}

.btn-editorial-link:hover {
  color: var(--text-dark);
  border-bottom-color: var(--text-dark);
}

body.theme-dark .btn-editorial-link:hover {
  color: var(--text-light);
  border-bottom-color: var(--text-light);
}

/* ==========================================================================
   EXPERIENCIAS Y RUTAS (Horizontal Stretched Accordion - Editorial Redesign)
   ========================================================================== */
.horizontal-routes-section {
  display: flex;
  flex-direction: column;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.horizontal-route-strip {
  height: 160px;
  width: 100%;
  background-color: #F8F9F6; /* Soft caliza/sage green white */
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  cursor: pointer;
}

.strip-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.08);
  filter: blur(6px) brightness(0.98);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.horizontal-route-strip::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(90deg, rgba(250, 246, 240, 0.88) 0%, rgba(250, 246, 240, 0.78) 100%);
  z-index: 1;
  transition: var(--transition-smooth);
}

.horizontal-route-strip::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(90deg, rgba(250, 246, 240, 0.95) 0%, rgba(250, 246, 240, 0.91) 100%);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.horizontal-route-strip.active::after {
  opacity: 1;
}

/* Expansion active class (toggled by JS exclusively) */
.horizontal-route-strip.active {
  height: 380px; /* Expand to show details */
}

.strip-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 30px 4vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.strip-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100px;
  flex-shrink: 0;
}

.strip-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.strip-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-style: italic;
  color: var(--color-gold);
  line-height: 1;
  opacity: 0.6;
  transition: var(--transition-smooth);
  width: 50px;
}

.strip-title-group {
  display: flex;
  flex-direction: column;
}

.strip-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-dark);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 1.2;
}

body.theme-dark .strip-title {
  color: var(--text-light);
}

.strip-stage-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-top: 4px;
}

.strip-middle {
  flex-grow: 1;
  margin-left: 60px;
  margin-right: 40px;
}

.strip-stage-desc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 0;
}

body.theme-dark .strip-stage-desc {
  color: var(--text-muted-light);
}


.strip-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 300;
  transition: var(--transition-smooth);
}

.horizontal-route-strip.active .strip-num {
  transform: scale(1.05);
  opacity: 1;
}

/* Expansion details animation */
.strip-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
  width: 100%;
}

.horizontal-route-strip.active .strip-details {
  max-height: 380px;
  opacity: 1;
  margin-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 20px;
}

/* Strip specs table */
.strip-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  font-family: var(--font-sans);
}

.strip-specs-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.strip-specs-table tr:last-child {
  border-bottom: none;
}

.strip-specs-table th {
  text-align: left;
  color: var(--color-gold-muted);
  font-weight: 600;
  padding: 6px 12px 6px 0;
  width: 45%;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.strip-specs-table td {
  color: var(--text-dark);
  font-weight: 400;
  padding: 6px 0;
}

.strip-details-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  text-align: left;
}

.strip-detail-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.strip-detail-col:nth-child(2) {
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  padding-left: 50px;
}

.detail-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold-muted);
  font-weight: 600;
}

.detail-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-dark);
  font-weight: 400;
  margin: 0;
}

.detail-specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  font-weight: 300;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-specs-list li strong {
  color: var(--color-gold);
  font-weight: 400;
  margin-right: 4px;
}

@media (max-width: 900px) {
  .horizontal-route-strip {
    height: 160px;
  }
  
  .horizontal-route-strip.active {
    height: 560px;
  }
  
  .strip-content {
    padding: 20px 6vw;
  }
  
  .strip-header-row {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    height: auto;
  }
  
  .strip-num {
    font-size: 2.5rem;
    width: 35px;
  }
  
  .strip-title {
    font-size: 1.4rem;
  }
  
  .strip-middle {
    margin: 0;
    width: 100%;
  }
  
  .strip-stage-desc {
    font-size: 0.95rem;
  }
  

  
  .strip-icon-wrapper {
    display: none;
  }
  
  .horizontal-route-strip.active .strip-details {
    max-height: 480px;
  }
  
  .strip-details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .strip-detail-col:nth-child(2) {
    border-left: none;
    padding-left: 0;
  }
}

/* ==========================================================================
   LANGUAGE SELECTION OVERLAY (Splash Entry Modal Updates)
   ========================================================================== */
.lang-greeting-container {
  margin-bottom: 35px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.lang-greeting-main {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-style: italic;
  color: var(--color-gold);
  line-height: 1;
  display: block;
  margin-bottom: 15px;
  transition: opacity 0.25s cubic-bezier(0.25, 1, 0.5, 1), transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateY(0);
}

.lang-greeting-sub {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-muted-dark);
  margin: 0;
  text-transform: uppercase;
  transition: opacity 0.25s cubic-bezier(0.25, 1, 0.5, 1), transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateY(0);
}

.lang-greeting-main.switching,
.lang-greeting-sub.switching {
  opacity: 0;
  transform: translateY(-10px);
}

.lang-selector-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.lang-selector-btn {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-muted-dark);
  border: none;
  background: none;
  padding: 5px 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  text-transform: uppercase;
}

.lang-selector-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.lang-selector-btn:hover,
.lang-selector-btn.active {
  color: var(--color-gold);
}

.lang-selector-btn.active::after {
  width: 60%;
}

.lang-selector-sep {
  color: rgba(31,27,24,0.25);
  font-size: 0.8rem;
  user-select: none;
}

.experience-footer-notice {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .experience-footer-notice {
    flex-direction: column;
    gap: 15px;
  }
}

.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.notice-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.notice-text h5 {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 4px;
}

.notice-text p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   CONTACT SECTION & FOOTER (Minimalist editorial design)
   ========================================================================== */
.contact-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-section h2 {
  color: var(--text-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-item h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

.contact-item p, .contact-item a {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-light);
  font-weight: 300;
}

.contact-item a:hover {
  color: var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
}

/* Minimalist forms */
.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  gap: 20px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 600px) {
  .form-group-row {
    grid-template-columns: 1fr;
  }
}

.form-input {
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: 12px 0;
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 1rem;
  border-radius: 0;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-bottom-color: var(--color-gold);
}

textarea.form-input {
  min-height: 100px;
  resize: none;
}

/* Minimalist Button Link styling */
.btn-submit-minimal {
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--color-gold);
  border: none;
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 6px;
  background-color: transparent;
  font-weight: 500;
  margin-top: 15px;
}

.btn-submit-minimal:hover {
  color: var(--text-dark);
  border-bottom-color: var(--text-dark);
}

/* Footer style */
.main-footer {
  background-color: #000000;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 20px 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  margin-bottom: 40px;
}

.footer-logo img {
  max-height: 55px;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.footer-logo img:hover {
  opacity: 1;
}

.footer-address {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.8;
  letter-spacing: 0.08em;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}

.footer-address p {
  margin: 0;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.footer-socials a {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.footer-socials a svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.footer-socials a:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
  background-color: rgba(255, 255, 255, 0.05);
}

.footer-socials a:hover svg {
  transform: scale(1.1);
}

.footer-contact {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.8;
  letter-spacing: 0.08em;
  margin-bottom: 60px;
}

.footer-contact p {
  margin: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--color-gold);
}

.footer-copyright {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  padding-top: 30px;
}

.footer-license {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.2);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

.footer-license a {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-license a:hover {
  color: var(--color-gold);
}

/* Contact Form Dark Theme Overrides */
.contact-section .form-input {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
}

.contact-section .form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-section .form-input:focus {
  border-bottom-color: var(--color-gold);
}

.contact-section .btn-submit-minimal {
  display: block;
  opacity: 0;
  visibility: hidden;
  height: 0;
  padding: 0;
  margin: 0 auto;
  border-bottom-width: 0;
  align-self: center;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.contact-section .btn-submit-minimal.visible {
  opacity: 1;
  visibility: visible;
  height: auto;
  padding-bottom: 6px;
  margin-top: 20px;
  border-bottom-width: 1px;
}

.contact-section .btn-submit-minimal:hover {
  color: var(--text-light);
  border-bottom-color: var(--text-light);
}

/* Google Maps Link Styling */
.btn-maps-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 4px;
  font-weight: 500;
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-maps-link:hover {
  color: var(--text-light);
  border-bottom-color: var(--text-light);
}

/* Calendar Booking Container */
.calendar-booking-container {
  width: 100%;
  max-width: 320px;
  background-color: transparent;
  border: none;
  padding: 0;
  margin-top: 15px;
  font-family: var(--font-sans);
  box-sizing: border-box;
}

/* Unique Month Navigation Controls */
.calendar-unique-nav {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.calendar-current-month {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-gold);
  min-width: auto;
  text-align: left;
  letter-spacing: 0.02em;
}

.calendar-nav-link {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  user-select: none;
  display: flex;
  align-items: center;
}

.calendar-nav-link:hover {
  color: var(--color-gold);
}

.calendar-nav-link#prevMonth::before {
  content: '‹\00a0';
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 1.1rem;
}

.calendar-nav-link#nextMonth::after {
  content: '\00a0›';
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 1.1rem;
}


.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  user-select: none;
}

.calendar-day:hover:not(.empty):not(.disabled) {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
}

.calendar-day.empty {
  cursor: default;
}

.calendar-day.disabled {
  color: rgba(255, 255, 255, 0.15);
  cursor: not-allowed;
}

.calendar-day.selected {
  background-color: var(--color-gold);
  color: #000000 !important;
  font-weight: 600;
}

.calendar-day.today {
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   LANGUAGE SELECTION OVERLAY (Splash Entry Modal)
   ========================================================================== */
.language-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(rgba(250, 246, 240, 0.95), rgba(250, 246, 240, 0.95)), url('assets/hero_winery_house.png') center/cover no-repeat;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
  opacity: 1;
  visibility: visible;
}

.language-overlay.hidden {
  opacity: 0;
  transform: scale(1.05);
  visibility: hidden;
  pointer-events: none;
}

.lang-modal {
  text-align: center;
  max-width: 650px;
  padding: 50px 40px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.lang-logo {
  max-width: 220px;
  margin: 0 auto 30px auto;
}

.lang-logo img {
  width: 100%;
  height: auto;
}

.lang-welcome {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--text-muted-dark);
  margin-bottom: 40px;
}

.lang-links {
  display: flex;
  justify-content: center;
  gap: 35px;
}

.lang-btn {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  border: none;
  background: none;
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}

.lang-btn:hover {
  color: var(--text-dark);
  border-bottom-color: var(--text-dark);
}

@media (max-width: 600px) {
  .lang-links {
    flex-direction: column;
    gap: 20px;
  }
}

/* Experiences Section Header (Centered & Spacious Layout) */
.experiences-header {
  text-align: center;
  margin-bottom: 50px;
  width: 100%;
}

.experiences-header .editorial-label {
  margin-bottom: 20px;
}

.experiences-header .editorial-title-large {
  margin-bottom: 20px;
}

.inclusion-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.inclusion-icon-wrapper svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--color-gold);
  color: var(--color-gold);
}

.inclusion-item-text {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-transform: uppercase;
}

body.theme-dark .inclusion-item-text {
  color: var(--text-light);
}

/* Experiences Inclusions Footer (Centered & Horizontal at bottom on desktop) */
.experiences-inclusions-footer {
  margin-top: 50px;
  padding-top: 0;
  text-align: center;
  width: 100%;
}

.inclusions-footer-title {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 25px;
  font-weight: 600;
}

.inclusions-footer-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.inclusions-footer-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 900px) {
  .experiences-header {
    margin-bottom: 40px;
  }
  .experiences-inclusions-footer {
    margin-top: 40px;
    padding-top: 0;
  }
  .inclusions-footer-items {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}

/* ==========================================================================
   WINE SHOWCASE SECTION (Adega 2010 Redesign - GSAP Pinned Storytelling)
   ========================================================================== */
.wine-section {
  background-color: var(--bg-cream); /* Warm caliza/sand background */
  position: relative;
  overflow: hidden;
}

.wine-story-wrapper {
  position: relative;
  width: 100%;
}

.wine-story-bottle-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200vh;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.wine-story-bottle-img {
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centered vertically in the 200vh wrapper */
  height: 140vh;
  max-height: 1600px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 45px rgba(0,0,0,0.18));
}

.wine-bottle-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.22) 0%, rgba(250, 246, 240, 0) 70%);
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
}

.wine-section-top {
  background-color: var(--bg-cream);
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.wine-section-bottom {
  background-color: var(--bg-cream);
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.wine-story-stage-1 {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  pointer-events: auto;
}

.wine-story-stage-1 .editorial-title-large {
  font-size: clamp(1.8rem, 4.2vh, 3.2rem);
  line-height: 1.25;
  margin-bottom: 2vh;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.wine-story-stage-1 .wine-philosophic-text {
  font-size: clamp(0.85rem, 1.6vh, 0.95rem);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}

.wine-story-stage-2 {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center; /* Centered vertically inside the viewport */
  pointer-events: auto;
}

.wine-specs-left {
  width: 32%;
  text-align: left;
}

.wine-specs-right {
  width: 32%;
  text-align: left;
}

.wine-specs-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vh, 2.2rem);
  color: var(--color-gold-muted);
  margin-bottom: 1.5vh;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: left;
}

.wine-specs-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 1.4vh, 0.88rem);
  line-height: 1.65;
  color: var(--text-dark);
  margin-top: 1.5vh;
  font-weight: 300;
}

.wine-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.wine-specs-table tr {
  border-bottom: 1px solid rgba(140, 111, 71, 0.12);
}

.wine-specs-table tr:last-child {
  border-bottom: none;
}

.wine-specs-table th {
  text-align: left;
  font-family: var(--font-sans);
  font-size: clamp(0.65rem, 1.3vh, 0.75rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold-muted);
  padding: 1.2vh 10px 1.2vh 0;
  width: 32%;
  font-weight: 600;
}

.wine-specs-table td {
  text-align: right;
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1.5vh, 0.85rem);
  color: var(--text-dark);
  padding: 1.2vh 0;
  font-weight: 400;
  line-height: 1.4;
}

.wine-buy-cta-wrapper {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: auto;
  z-index: 4;
}

.wine-buy-btn {
  display: inline-block;
  padding: 1.4vh 28px;
  background-color: var(--color-gold-muted);
  color: var(--bg-cream) !important;
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 1.3vh, 0.8rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(140, 111, 71, 0.15);
  border: none;
}

.wine-buy-btn:hover {
  background-color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.wine-buy-text {
  font-family: var(--font-sans);
  font-size: clamp(0.68rem, 1.2vh, 0.75rem);
  color: var(--color-gold-muted);
  margin-top: 1.2vh;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .wine-section-top, .wine-section-bottom {
    height: auto !important;
    padding: 80px 4vw 40px 4vw;
  }

  .wine-story-content-container {
    height: auto !important;
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .wine-story-bottle-layer {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    height: auto;
    width: 100%;
    margin: 30px 0;
    order: 2; /* Put bottle between Philosophy and Specs */
  }

  .wine-buy-cta-wrapper {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    transform: none !important;
    margin-top: 20px;
    width: 100%;
  }
  
  .wine-story-bottle-img {
    position: relative;
    top: 0;
    left: 0;
    transform: none !important; /* Override GSAP timeline changes */
    height: 50vh;
    max-height: 450px;
    margin: 0 auto;
    display: block;
    width: auto;
  }
  
  .wine-story-stage-1 {
    order: 1;
    opacity: 1 !important;
    transform: none !important;
  }

  .wine-story-stage-2 {
    order: 3;
    opacity: 1 !important;
    transform: none !important;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .wine-specs-left, .wine-specs-right {
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
  }

  .wine-specs-title {
    text-align: center;
  }
  
  .wine-specs-table th {
    text-align: left;
    width: 35%;
  }
}

/* ==========================================================================
   FULL PAGE SLIDE PRESENTATION (Direct scroll transitions - Width > 900px)
   ========================================================================== */
@media (min-width: 901px) {
  html {
    scroll-behavior: smooth;
    height: 100vh;
    overflow-y: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  
  html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  
  body {
    height: 100vh;
    overflow: hidden;
  }

  section.section-padding,
  section.hero,
  section.editorial-casa-rural {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    box-sizing: border-box;
    padding-top: 105px !important; /* Pushed down slightly more to clear header beautifully */
    padding-bottom: 30px !important;
  }
  
  /* Vertical centering via margins prevents top clipping when content overflows the viewport */
  section.section-padding .container,
  section.editorial-casa-rural .container,
  section.hero .hero-content-editorial {
    margin-top: auto;
    margin-bottom: auto;
  }

  /* Responsive spacing to fit content inside 100vh on small screens */
  .editorial-title-large {
    margin-bottom: 2.5vh;
  }
  
  .editorial-label {
    margin-bottom: 2vh;
  }
  
  .editorial-grid {
    gap: 3vw;
    align-items: center;
  }
  
  .editorial-text-col,
  .editorial-img-col {
    grid-row: 1;
  }
  
  .terroir-stats {
    margin-top: 3vh;
    padding: 2.5vh 0;
    gap: 20px;
  }

  .editorial-quote {
    margin: 3.5vh 0;
  }

  .casa-rural-para {
    margin-bottom: 3vh;
  }
  
  /* Auto-scale images inside sections so they fit exactly 100vh */
  .editorial-image-wrapper {
    margin-top: 10px;
    height: 46vh;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
  }
  
  .editorial-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .casa-rural-split-images {
    margin-top: 25px;
  }
  
  .casa-rural-img-large {
    height: 32vh;
    aspect-ratio: auto;
  }
  
  .casa-rural-img-small {
    height: 24vh;
    aspect-ratio: auto;
    margin-top: auto;
  }
    /* Compact inclusions banner to save vertical screen space */
  /* Compact experiences header & footer for 100vh layout */
  .experiences-header {
    margin-bottom: 3vh;
  }
  
  .experiences-inclusions-footer {
    margin-top: 3vh;
    padding-top: 0;
  }
  
  .inclusions-footer-title {
    margin-bottom: 1.5vh;
  }
  
  /* Make horizontal strips compact to fit experiences section inside 100vh */
  .horizontal-route-strip {
    height: 75px;
    transition: height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  }
  
  .horizontal-route-strip .strip-content {
    padding: 10px 4vw;
  }
  
  .horizontal-route-strip .strip-header-row {
    height: 55px;
    align-items: center;
  }
  
  .horizontal-route-strip.active {
    height: 370px;
  }
  
  .horizontal-route-strip.active .strip-details {
    max-height: 240px;
    margin-top: 15px;
    padding-top: 15px;
  }

  .section-header {
    margin-bottom: 3vh;
    text-align: center;
  }
  
  .section-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-muted-light);
    font-size: 1.05rem;
    margin-top: 8px;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Contact section layout to fit 100vh including integrated footer */
  .contact-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    box-sizing: border-box;
    padding-top: 105px !important;
  }
  
  .contact-section .container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 10px;
  }
  
  .contact-grid {
    gap: 40px 60px;
  }
  
  .contact-info-list {
    gap: 25px;
  }
  
  .contact-item h4 {
    font-size: 0.7rem;
  }
  
  .contact-item p, .contact-item a {
    font-size: 1.25rem;
  }
  
  .contact-form {
    gap: 20px;
  }
}

/* ==========================================================================
   Full-Page Route Sections Design System
   ========================================================================== */
.route-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}

.route-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 0 40px;
}

/* Glassmorphic editorial panel to guarantee extreme legibility */
.route-editorial-card {
  background: rgba(17, 15, 14, 0.88); /* Rich dark background */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(30px, 4.5vh, 50px) clamp(30px, 5vw, 60px);
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  width: 100%;
  box-sizing: border-box;
}

/* Enforce high-contrast light colors inside the dark card */
.route-editorial-card .editorial-title-large {
  color: var(--text-light) !important;
  margin-bottom: 10px;
}

.route-editorial-card .editorial-label {
  color: var(--color-gold) !important;
}

.route-editorial-card .route-description p {
  color: var(--text-muted-light) !important;
}

.route-header {
  margin-top: 2vh;
  margin-bottom: 3vh;
}

.route-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-gold);
  font-size: clamp(1.2rem, 2.5vh, 1.8rem);
  margin-top: 8px;
}

.route-content-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  margin-bottom: 4vh;
}

.route-description p {
  font-size: clamp(0.95rem, 1.8vh, 1.2rem);
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
}

.route-specs {
  background: rgba(255, 255, 255, 0.03);
  padding: 25px 30px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.route-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.route-specs-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.route-specs-table tr:last-child {
  border-bottom: none;
}

.route-specs-table th {
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  padding: 12px 10px 12px 0;
  font-weight: 600;
}

.route-specs-table td {
  text-align: right;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 12px 0;
  font-weight: 400;
}

.route-inclusions-banner {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  width: 100%;
  margin-bottom: 2vh;
}

.route-inclusions-banner span {
  color: var(--color-gold);
  font-weight: 600;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-6px);
  }
  60% {
    transform: translateY(-3px);
  }
}

@media (max-width: 900px) {
  .route-content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 3vh;
  }
  .route-specs {
    padding: 15px 20px;
  }
}



