/* КУЛІНАРНИЙ РЕДАКЦІЙНИЙ ЖУРНАЛ — ПЕРУ */
:root {
  --ed-pergamino-claro: #FDFBF7;
  --ed-fondo-superficie: #F5EFE6;
  --ed-tinta-oscura: #111111;
  --ed-vino-reserva: #8B263E;
  --ed-vino-brillante: #AC3953;
  --ed-texto-atenuado: #5C534C;
  --fuente-editorial-titulos: 'Playfair Display', Georgia, serif;
  --fuente-editorial-cuerpo: 'Source Serif 4', Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--fuente-editorial-cuerpo);
  background-color: var(--ed-pergamino-claro);
  color: var(--ed-tinta-oscura);
  line-height: 1.6;
}

/* ЗАГОЛОВКИ СУВОРO КУРСИВОМ */
h1, h2, h3, h4 {
  font-family: var(--fuente-editorial-titulos);
  font-style: italic;
  font-weight: 600;
  color: var(--ed-tinta-oscura);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ШАБЛОН ХЕДЕРА (LITERARY EDITORIAL) */
.ed-gastro-cabecera {
  background-color: var(--ed-pergamino-claro);
  border-bottom: 2px solid var(--ed-vino-reserva);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1.5rem 2rem;
}

.ed-gastro-cabecera-bloque {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ed-gastro-logotipo-serif {
  font-family: var(--fuente-editorial-titulos);
  font-style: italic;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--ed-vino-reserva);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ed-gastro-logotipo-serif svg {
  width: 28px;
  height: 28px;
  fill: var(--ed-vino-reserva);
}

.ed-gastro-menu-mayuscula {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.ed-gastro-enlace-menu {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.ed-gastro-enlace-menu:hover {
  color: var(--ed-vino-reserva);
}

.ed-gastro-borde-accion {
  border: 1px solid var(--ed-vino-reserva);
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
}

.ed-gastro-borde-accion:hover {
  background-color: var(--ed-vino-reserva);
  color: var(--ed-pergamino-claro);
}

/* Мобільна навігація */
.ed-gastro-checkbox-menu {
  display: none;
}

.ed-gastro-gatillo-movil {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.ed-gastro-gatillo-movil span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--ed-tinta-oscura);
}

/* INDEX HERO EDITORIAL SPLIT */
.ed-gastro-escenario-split {
  display: flex;
  min-height: 85vh;
  background-color: var(--ed-fondo-superficie);
}

.ed-gastro-franja-vertical {
  width: 30%;
  background-color: var(--ed-vino-reserva);
  color: var(--ed-pergamino-claro);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.ed-gastro-texto-rotado {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--fuente-editorial-titulos);
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.8;
}

.ed-gastro-bloque-principal-hero {
  width: 70%;
  background: linear-gradient(rgba(245, 239, 230, 0.4), rgba(245, 239, 230, 0.4)), url('img/bg.webp') no-repeat center center/cover;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.ed-gastro-gran-titulo {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 750px;
}

.ed-gastro-subtitulo-editorial {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  max-width: 550px;
  color: var(--ed-texto-atenuado);
}

/* PULL-QUOTE СЕКЦІЯ */
.ed-gastro-seccion-extracto {
  background-color: var(--ed-fondo-superficie);
  padding: 8vh 4rem;
  text-align: center;
  position: relative;
}

.ed-gastro-cita-editorial {
  font-family: var(--fuente-editorial-titulos);
  font-style: italic;
  font-size: 2.2rem;
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.4;
  color: var(--ed-vino-reserva);
}

.ed-gastro-cita-editorial::before {
  content: "“";
  font-size: 5rem;
  color: var(--ed-vino-brillante);
  display: block;
  line-height: 0;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

/* ДВОКОЛОНКОВИЙ КОНТЕНТ */
.ed-gastro-mosaico-dos-columnas {
  max-width: 1300px;
  margin: 6rem auto;
  padding: 0 2rem;
  display: flex;
  gap: 5rem;
  align-items: center;
}

.ed-gastro-imagen-enfoque {
  width: 45%;
  height: auto;
  object-fit: cover;
}

.ed-gastro-parrafos-enfoque {
  width: 55%;
}

.ed-gastro-parrafos-enfoque h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.ed-gastro-lista-puntos {
  list-style: none;
  margin-top: 1.5rem;
}

.ed-gastro-lista-puntos li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

.ed-gastro-lista-puntos li::before {
  content: "•";
  color: var(--ed-vino-reserva);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

/* MAGAZINE GRID (FEATURES) */
.ed-gastro-seccion-magazine {
  max-width: 1300px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.ed-gastro-rejilla-prensa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.ed-gastro-tarjeta-reportaje-grande {
  position: relative;
  min-height: 450px;
  background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.75)), url('img/bg2.webp') no-repeat center center/cover;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--ed-pergamino-claro);
}

.ed-gastro-tarjeta-reportaje-grande h3 {
  color: var(--ed-pergamino-claro);
  font-size: 2rem;
}

.ed-gastro-columna-secundaria {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ed-gastro-tarjeta-prensa-corta {
  background-color: var(--ed-fondo-superficie);
  padding: 2rem;
  border-top: 4px solid var(--ed-vino-reserva);
}

.ed-gastro-tarjeta-prensa-corta svg {
  fill: var(--ed-vino-reserva);
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
}

/* НАШІ ЗАХОДИ (РЯДКИ З ВЕЛИКИМИ ЦИФРАМИ) */
.ed-gastro-cronograma-eventos {
  max-width: 1300px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.ed-gastro-fila-evento {
  display: flex;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--ed-texto-atenuado);
  position: relative;
}

.ed-gastro-numero-cronologico {
  font-family: var(--fuente-editorial-titulos);
  font-size: 4rem;
  font-weight: bold;
  opacity: 0.08;
  width: 150px;
  flex-shrink: 0;
}

.ed-gastro-detalles-evento {
  flex-grow: 1;
}

.ed-gastro-detalles-evento h4 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

/* CTA STRIP (OUTLINE BUTTON + HOVER FILL) */
.ed-gastro-bloque-cierre-accion {
  background-color: var(--ed-fondo-superficie);
  padding: 6rem 2rem;
  text-align: center;
}

.ed-gastro-bloque-cierre-accion h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.ed-gastro-boton-lineal-relleno {
  border: 2px solid var(--ed-vino-reserva);
  padding: 1rem 2.5rem;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: transparent;
  cursor: pointer;
  display: inline-block;
}

.ed-gastro-boton-lineal-relleno:hover {
  background-color: var(--ed-vino-reserva);
  color: var(--ed-pergamino-claro);
}

/* EXPERT PAGE ALTERNATING LAYOUT */
.ed-gastro-alternancia-biografica {
  max-width: 1300px;
  margin: 4rem auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.ed-gastro-fila-inversa {
  flex-direction: row-reverse;
}

.ed-gastro-bloque-metricas-simples {
  max-width: 1300px;
  margin: 5rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.ed-gastro-numero-plano {
  font-family: var(--fuente-editorial-titulos);
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--ed-vino-reserva);
}

/* RESERVE PAGE (UNDERLINE FIELDS) */
.ed-gastro-formulario-lineal {
  max-width: 700px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.ed-gastro-campo-subrayado {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
}

.ed-gastro-campo-subrayado label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ed-texto-atenuado);
  margin-bottom: 0.5rem;
}

.ed-gastro-input-lineal, .ed-gastro-textarea-lineal {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--ed-texto-atenuado);
  background: transparent;
  padding: 0.5rem 0;
  font-family: var(--fuente-editorial-cuerpo);
  font-size: 1.1rem;
  color: var(--ed-tinta-oscura);
}

.ed-gastro-input-lineal:focus, .ed-gastro-textarea-lineal:focus {
  outline: none;
  border-bottom-color: var(--ed-vino-reserva);
}

/* ЮРИДИЧНІ СЕКЦІЇ */
.ed-gastro-contenedor-legal {
  max-width: 850px;
  margin: 5rem auto;
  padding: 0 2rem;
  min-height: 70vh;
}

.ed-gastro-contenedor-legal p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* COOKIE BANNER */
.ed-gastro-caja-cookies {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--ed-pergamino-claro);
  border-top: 3px solid var(--ed-vino-reserva);
  padding: 1.5rem 3rem;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.08);
}

.ed-gastro-cookie-btn-si {
  background-color: var(--ed-vino-reserva);
  color: var(--ed-pergamino-claro);
  border: none;
  padding: 0.6rem 2rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

.ed-gastro-cookie-btn-no {
  background-color: transparent;
  color: var(--ed-texto-atenuado);
  border: 1px solid var(--ed-texto-atenuado);
  padding: 0.6rem 2rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

/* ФУТЕР */
.ed-gastro-footer-editorial {
  background-color: var(--ed-fondo-superficie);
  padding: 4rem 2rem 2rem 2rem;
  margin-top: 6rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.ed-gastro-footer-eje {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.ed-gastro-footer-enlaces {
  display: flex;
  gap: 3rem;
  list-style: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ed-gastro-disclaimer {
  font-size: 0.85rem;
  font-style: italic;
  max-width: 650px;
  color: var(--ed-texto-atenuado);
}

.ed-gastro-copyright {
  font-size: 0.8rem;
  color: var(--ed-texto-atenuado);
  border-top: 1px solid rgba(0,0,0,0.1);
  width: 100%;
  padding-top: 2rem;
}

/* АДАПТИВНІСТЬ */
@media (max-width: 968px) {
  .ed-gastro-gatillo-movil {
    display: flex;
  }

  .ed-gastro-menu-mayuscula {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--ed-pergamino-claro);
    flex-direction: column;
    padding: 2.5rem;
    gap: 2rem;
    border-bottom: 2px solid var(--ed-vino-reserva);
    display: none;
  }

  .ed-gastro-checkbox-menu:checked ~ .ed-gastro-menu-mayuscula {
    display: flex;
  }

  .ed-gastro-escenario-split {
    flex-direction: column;
  }

  .ed-gastro-franja-vertical {
    width: 100%;
    padding: 1rem;
  }

  .ed-gastro-texto-rotated {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .ed-gastro-bloque-principal-hero {
    width: 100%;
    padding: 3rem 2rem;
  }

  .ed-gastro-gran-titulo {
    font-size: 2.5rem;
  }

  .ed-gastro-mosaico-dos-columnas, .ed-gastro-alternancia-biografica > div {
    flex-direction: column;
    gap: 3rem;
  }

  .ed-gastro-imagen-enfoque, .ed-gastro-parrafos-enfoque {
    width: 100%;
  }

  .ed-gastro-rejilla-prensa, .ed-gastro-bloque-metricas-simples {
    grid-template-columns: 1fr;
  }

  .ed-gastro-caja-cookies {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    text-align: center;
  }
}