/* ================================================================
   ALKIMIA WINES — Hoja de estilos
   Sistema visual: identidad original conservada, pulido y refinado.
   Paleta: negro profundo, dorado champagne, crema. Tipografía display
   Cormorant Garamond + texto Inter. Producción ecológica, artesanal.
   ================================================================ */

/* ----- TOKENS ----- */
:root {
  /* Paleta */
  --black: #070707;
  --black-2: #0e0e0e;
  --black-3: #050505;
  --card: #151515;
  --card-2: #1b1b1b;
  --gold: #c7a462;
  --gold-2: #e4c783;
  --gold-deep: #ac8241;
  --cream: #f5efe3;
  --muted: #c8bcaa;
  --muted-2: #9b9183;

  /* Líneas */
  --line: rgba(199, 164, 98, .28);
  --line-strong: rgba(199, 164, 98, .55);
  --white-line: rgba(255, 255, 255, .08);

  /* Geometría */
  --container: min(1180px, calc(100% - 42px));
  --radius: 24px;
  --radius-sm: 14px;
  --radius-lg: 30px;
  --shadow: 0 26px 70px rgba(0, 0, 0, .34);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, .2);
  --shadow-glow: 0 12px 40px rgba(199, 164, 98, .18);

  /* Curvas */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .2s;
  --t: .3s;
  --t-slow: .55s;
}

/* ----- RESET / BASE ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-feature-settings: 'kern', 'liga', 'cv11';
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; transition: color var(--t-fast) var(--ease); }
img { display: block; max-width: 100%; height: auto; }

::selection { background: var(--gold); color: var(--black); }

/* Focus accesible — siempre visible al navegar con teclado */
:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip link para accesibilidad */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--gold);
  color: var(--black);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 9999;
}
.skip-link:focus { left: 12px; }

.container { width: var(--container); margin-inline: auto; }

/* ----- TIPOGRAFÍA ----- */
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold-2);
  font-size: .76rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 700;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  line-height: 1.04;
  margin: 0 0 18px;
  font-weight: 600;
  color: var(--cream);
}
h1 { font-size: clamp(3rem, 6.8vw, 6.2rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2.2rem, 4.3vw, 4.05rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.95rem); letter-spacing: -.012em; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 16px; color: var(--muted); }
.lead { font-size: 1.12rem; max-width: 780px; color: var(--cream); }

/* ----- SECCIONES ----- */
.section { padding: clamp(64px, 8vw, 96px) 0; }
.section-small { padding: clamp(50px, 6vw, 70px) 0; }

.section-head { max-width: 820px; margin-bottom: 38px; }
.section-head.centered { text-align: center; margin-inline: auto; }

.dark-band {
  background:
    linear-gradient(180deg, rgba(199, 164, 98, .065), rgba(199, 164, 98, .018));
  border-top: 1px solid rgba(199, 164, 98, .13);
  border-bottom: 1px solid rgba(199, 164, 98, .13);
}

/* ----- HEADER ----- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  background: rgba(7, 7, 7, .65);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.site-header.scrolled {
  background: rgba(7, 7, 7, .92);
  border-bottom-color: var(--line);
}

.navbar {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

.brand img {
  height: 44px;
  width: auto;
  border-radius: 10px;
  transition: transform var(--t) var(--ease);
}
.brand:hover img { transform: scale(1.04); }

.nav-area { display: flex; align-items: center; gap: 24px; }

.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links a {
  font-size: .94rem;
  color: #eee2ce;
  padding: 7px 0;
  position: relative;
  font-weight: 500;
}
.nav-links a::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t) var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold-2); }

.lang-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.lang-switch button:hover { color: var(--cream); }
.lang-switch button.active {
  background: var(--gold);
  color: #120d07;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--cream);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease);
}
.mobile-toggle:hover { background: rgba(199, 164, 98, .08); }

/* ----- HERO HOME ----- */
.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .22), rgba(0, 0, 0, .68)),
    url('../images/hero-campo.webp') center/cover no-repeat;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(228, 199, 131, .18), transparent 36%),
    linear-gradient(180deg, transparent 55%, var(--black) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 140px 0 80px;
  max-width: 850px;
}
.hero p { font-size: 1.16rem; }

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  font-weight: 700;
  letter-spacing: .015em;
  font-size: .96rem;
  cursor: pointer;
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    background var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  color: #150f07;
}
.btn-secondary {
  background: rgba(0, 0, 0, .22);
  color: var(--cream);
  backdrop-filter: blur(8px);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn-secondary:hover { border-color: var(--gold-2); background: rgba(199, 164, 98, .12); }
.btn:active { transform: translateY(0); }

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 54px;
}
.highlight {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  background: rgba(12, 12, 12, .76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.highlight:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.highlight strong {
  display: block;
  color: var(--gold-2);
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin-bottom: 5px;
}

/* ----- GRIDS ----- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.align-center { align-items: center; }

/* ----- CARDS ----- */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .42);
}
.card-body { padding: 26px; }
.card-body p:last-child { margin-bottom: 0; }

.media-card { min-height: 100%; }
.media-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.media-card:hover img { transform: scale(1.03); }

.img-360 { height: 360px; object-fit: cover; width: 100%; }
.img-460 { height: 460px; object-fit: cover; width: 100%; }

/* Tarjetas con foto de fondo (bodegas en home) */
.bodega-card {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.bodega-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .82));
  transition: background var(--t) var(--ease);
}
.bodega-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .42);
}
.bodega-card:hover::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .9));
}
.bodega-card .card-body { position: relative; z-index: 1; }

/* Background helpers (sustituyen style="background-image:...") */
.bg-montsant     { background-image: url('../images/cata-pergola-enhanced.webp'); }
.bg-priorat      { background-image: url('../images/hero-vinedos-premium.webp'); }
.bg-vinos-autor  { background-image: url('../images/producto-tres-botellas.webp'); }

.bg-page-bodega        { background-image: url('../images/hero-vinedos-premium.webp'); }
.bg-page-bodegas-hero  { background-image: url('../images/hero-vinedos-premium.webp'); }
.bg-page-elaboracion   { background-image: url('../images/elaboracion-capsulas-nuevo.webp'); }
.bg-page-catas         { background-image: url('../images/cata-premium.webp'); }
.bg-page-galeria       { background-image: url('../images/galeria-hero-barrica-vinedo-final.webp'); }
.bg-page-contacto      { background-image: url('../images/cata-pergola-enhanced.webp'); }

/* ----- PILL ----- */
.pill {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--gold-2);
  font-size: .82rem;
  margin: 0 8px 8px 0;
  background: rgba(0, 0, 0, .3);
  font-weight: 500;
}

/* ----- VALORES ----- */
.values { display: grid; gap: 14px; margin-top: 28px; }
.value-item {
  display: flex;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .025);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.value-item:hover {
  border-color: var(--line-strong);
  background: rgba(199, 164, 98, .04);
}
.value-item .icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-2), #a57c3e);
  color: #140e06;
  font-weight: 900;
}
.value-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.value-item p { margin: 0; font-size: .94rem; }

/* ----- LISTAS ----- */
.list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.list li { color: var(--muted); position: relative; padding-left: 20px; }
.list li::before { content: '•'; position: absolute; left: 0; color: var(--gold-2); font-weight: 700; }

/* ----- PAGE HEROS ----- */
.page-hero {
  min-height: 54vh;
  display: grid;
  align-items: end;
  position: relative;
  padding: 140px 0 68px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .88)),
    radial-gradient(circle at 80% 30%, rgba(199, 164, 98, .18), transparent 36%);
}
.page-hero .container { position: relative; z-index: 1; }

/* ----- PROCESO ----- */
.process-step {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.process-step:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.process-step span {
  display: block;
  color: var(--gold-2);
  font-weight: 800;
  letter-spacing: .16em;
  font-size: .76rem;
  margin-bottom: 10px;
}

/* ----- GALERÍA ----- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  min-height: 310px;
  background: #111;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
.gallery-item.large  { grid-column: span 7; }
.gallery-item.medium { grid-column: span 5; }
.gallery-item.small  { grid-column: span 4; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.gallery-item:hover {
  border-color: var(--line-strong);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 22px 20px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .82));
}
.gallery-caption h3 { margin-bottom: 6px; }
.gallery-caption p { margin: 0; color: var(--cream); opacity: .9; font-size: .96rem; }

/* ----- FORMULARIO ----- */
.contact-box { padding: 34px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
input, select, textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--white-line);
  background: #101010;
  color: var(--cream);
  font: inherit;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #131313;
}
textarea { min-height: 150px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-2) 50%), linear-gradient(135deg, var(--gold-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }

.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: .94rem;
  display: none;
}
.form-status.ok      { display: block; background: rgba(70, 160, 90, .12); border: 1px solid rgba(70, 160, 90, .4); color: #cfe9d4; }
.form-status.err     { display: block; background: rgba(200, 70, 70, .12); border: 1px solid rgba(200, 70, 70, .4); color: #f0c8c8; }
.form-status.loading { display: block; background: rgba(199, 164, 98, .1); border: 1px solid var(--line); color: var(--muted); }

/* honeypot — invisible al usuario, visible al bot */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  z-index: -1 !important;
}

/* Captcha Matemático Seguro */
.captcha-wrapper {
  margin-top: 18px;
  margin-bottom: 8px;
}
.captcha-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .015);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.captcha-box:focus-within {
  border-color: var(--gold);
  box-shadow: var(--shadow-glow);
}
.captcha-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  user-select: none;
  white-space: nowrap;
}
.captcha-title {
  color: var(--muted);
}
.captcha-math {
  color: var(--gold-2);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  font-family: 'Cormorant Garamond', serif;
}
.captcha-input {
  width: 100px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--white-line);
  background: #0d0d0d;
  color: var(--cream);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.captcha-input:focus {
  border-color: var(--gold-2);
  background: #111;
  outline: none;
}
/* Ocultar flechas del input number */
.captcha-input::-webkit-outer-spin-button,
.captcha-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.captcha-input[type=number] {
  -moz-appearance: textfield;
}

@media (max-width: 480px) {
  .captcha-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .captcha-input {
    width: 100%;
  }
}

/* ----- FOOTER ----- */
.site-footer {
  padding: 50px 0 26px;
  border-top: 1px solid var(--line);
  background: var(--black-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .8fr .9fr;
  gap: 30px;
}
.footer-logo { height: 44px; width: auto; border-radius: 10px; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; color: var(--muted); }
.footer-links a:hover { color: var(--gold-2); }
.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--white-line);
  color: var(--muted-2);
  font-size: .9rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ----- BLOQUE CLUB / CTA ----- */
.club-box,
.cta-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(199, 164, 98, .12), rgba(255, 255, 255, .025));
  padding: 42px;
  box-shadow: var(--shadow);
}
.cta-box { text-align: center; }
.cta-box .btn-row { justify-content: center; }
.quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.12;
  color: var(--cream);
  font-style: italic;
}
.quote::before { content: '“'; color: var(--gold-2); margin-right: .12em; }
.quote::after  { content: '”'; color: var(--gold-2); margin-left:  .12em; }

/* ----- AJUSTES DE COMPOSICIÓN PREVIOS ----- */
/* Composición dual de imágenes */
.dual-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  height: 100%;
  min-height: 520px;
}
.dual-media .media-card { min-height: 520px; }
.dual-media .media-card img { height: 100%; min-height: 520px; object-fit: cover; }

/* Bloque intro home y elaboración con visual lateral grande */
.home-intro-grid,
.elab-intro-grid { grid-template-columns: minmax(0, 1fr) minmax(420px, 540px); align-items: stretch; }
.single-visual,
.elab-feature-visual { align-self: stretch; min-height: 980px; overflow: hidden; }
.single-visual img,
.elab-feature-visual img {
  width: 100%;
  height: 100%;
  min-height: 980px;
  object-fit: cover;
  display: block;
}
.single-visual img { object-position: 24% center; }
.elab-feature-visual img { object-position: 62% center; }

/* Nuestras bodegas */
.bodegas-hero { background-position: center; }
.bodegas-detail .media-card { min-height: 520px; }
.bodegas-detail .media-card img { min-height: 520px; object-fit: cover; }

.compact-values { gap: 12px; }
.compact-values .value-item { padding: 16px; }

.bodega-gallery { margin-top: 32px; }
.gallery-card-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
.gallery-card-soft:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.gallery-card-soft img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform var(--t-slow) var(--ease); }
.gallery-card-soft:hover img { transform: scale(1.04); }
.gallery-card-soft h3 { padding: 20px 20px 0; margin: 0 0 8px; }
.gallery-card-soft p  { padding: 0 20px 22px; margin: 0; }

/* ----- SCROLL REVEAL ----- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Soporte para preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ----- RESPONSIVE ----- */
@media (max-width: 980px) {
  .grid-2, .grid-3, .grid-4, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .hero-highlights { grid-template-columns: 1fr; }
  .mobile-toggle { display: grid; place-items: center; }
  .nav-area { gap: 12px; }
  .nav-links {
    display: none;
    position: absolute;
    inset: 84px 20px auto 20px;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(8, 8, 8, .98);
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item.large,
  .gallery-item.medium,
  .gallery-item.small { grid-column: auto; }
  .hero-content { padding-top: 120px; }
  .lang-switch button { padding: 6px 8px; }
  .brand img { height: 39px; }

  .home-intro-grid,
  .elab-intro-grid { grid-template-columns: 1fr; }
  .single-visual,
  .single-visual img,
  .elab-feature-visual,
  .elab-feature-visual img { min-height: 520px; object-position: center center; }

  .dual-media { grid-template-columns: 1fr; min-height: unset; }
  .dual-media .media-card,
  .dual-media .media-card img { min-height: 340px; }

  .bodegas-detail .media-card,
  .bodegas-detail .media-card img { min-height: 360px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .club-box, .cta-box { padding: 30px; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(2.4rem, 9vw, 3.2rem); }
  .btn { width: 100%; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* ----- PRINT (mínimo decente) ----- */
@media print {
  .site-header, .site-footer, .btn-row, .lang-switch, .mobile-toggle { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}


/* Responsive image sources */
@media (max-width: 1024px) {
  .hero { background-image: linear-gradient(180deg, rgba(11,11,11,.55) 0%, rgba(11,11,11,.35) 35%, rgba(11,11,11,.92) 100%), url('../images/hero-campo-tablet.webp'); }
  .bg-montsant { background-image: url('../images/cata-pergola-enhanced-tablet.webp'); }
  .bg-priorat { background-image: url('../images/hero-vinedos-premium-tablet.webp'); }
  .bg-vinos-autor { background-image: url('../images/producto-tres-botellas-tablet.webp'); }
  .bg-page-bodega { background-image: url('../images/hero-vinedos-premium-tablet.webp'); }
  .bg-page-bodegas-hero { background-image: url('../images/hero-vinedos-premium-tablet.webp'); }
  .bg-page-elaboracion { background-image: url('../images/elaboracion-capsulas-nuevo-tablet.webp'); }
  .bg-page-catas { background-image: url('../images/cata-premium-tablet.webp'); }
  .bg-page-galeria { background-image: url('../images/galeria-hero-barrica-vinedo-final-tablet.webp'); }
  .bg-page-contacto { background-image: url('../images/cata-pergola-enhanced-tablet.webp'); }
}

@media (max-width: 600px) {
  .hero { background-image: linear-gradient(180deg, rgba(11,11,11,.55) 0%, rgba(11,11,11,.35) 35%, rgba(11,11,11,.92) 100%), url('../images/hero-campo-mobile.webp'); }
  .bg-montsant { background-image: url('../images/cata-pergola-enhanced-mobile.webp'); }
  .bg-priorat { background-image: url('../images/hero-vinedos-premium-mobile.webp'); }
  .bg-vinos-autor { background-image: url('../images/producto-tres-botellas-mobile.webp'); }
  .bg-page-bodega { background-image: url('../images/hero-vinedos-premium-mobile.webp'); }
  .bg-page-bodegas-hero { background-image: url('../images/hero-vinedos-premium-mobile.webp'); }
  .bg-page-elaboracion { background-image: url('../images/elaboracion-capsulas-nuevo-mobile.webp'); }
  .bg-page-catas { background-image: url('../images/cata-premium-mobile.webp'); }
  .bg-page-galeria { background-image: url('../images/galeria-hero-barrica-vinedo-final-mobile.webp'); }
  .bg-page-contacto { background-image: url('../images/cata-pergola-enhanced-mobile.webp'); }
}
