/* =======================================================
   FONTS & TOKENS
======================================================= */
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Gloria+Hallelujah&family=Karla:ital,wght@0,200..800;1,200..800&display=swap');

:root {
  --primary-color: #da9057;
  --secondary-color: #4a4a4a;
  --tertiary-color: #903041;
  --quaternary-color: #fbcd46;
  --dark-color: #995e38;
  --text-color: #f3ead5;
  --rgba-dark-color: 153, 94, 56;
  --rgba-primary-color: 218, 144, 87;
  --rgba-text-color: 243, 234, 213;
}

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

html,
body {
  font-family: 'Karla', sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
  background: var(--primary-color);
}
h1,
h2 {
  font-family: 'Comic Neu', sans-serif;
}
.quote h1,
.quote h6 {
  font-family: 'Gloria Hallelujah', cursive;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container-sm {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* =======================================================
Utility Classes
======================================================= */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* =======================================================
Page Default
======================================================= */
/* Offset global del contenido */
.page-default {
  --content-offset: 100px; /* cámbialo cuando quieras */
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

/* Empuja todo el contenido hacia abajo 100px */
.page-default main {
  flex: 1 1 auto;
  padding-top: var(--content-offset);
}

/* O elimina padding-top solo en beneficios */
.page-default section.beneficios {
  padding-top: 0;
}

/* Que los anclajes (hash links) respeten el offset */
.page-default .container {
  scroll-margin-top: var(--content-offset);
}

.page-default .container {
  scroll-margin-top: var(--content-offset);
}

.page-default section {
  padding: 64px 0; /* padding normal solo lateral */
}

.page-default {
  position: relative; /* necesario para que el ::before se posicione bien */
  background: url('../Images/inne_header_background.jpeg') center/cover
    no-repeat fixed;
  min-height: 100vh;
}

.page-default::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* igual que tu inner-header-overlay */
  z-index: 0; /* overlay al fondo */
}

/* Asegura que todo el contenido quede por encima */
.page-default > * {
  position: relative;
  z-index: 1;
}

/* =======================================================
WHATSAPP FAB
======================================================= */
.whatsapp-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  font-size: 28px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* =======================================================
NAVBAR
======================================================= */
.navbar {
  background: transparent;
  color: var(--text-color);
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.navbar img {
  width: 300px;
  height: auto;
  transition: width 0.3s ease; /* para animar cambio de tamaño */
}

/* Estado con scroll */
.navbar.scrolled {
  background: rgba(153, 94, 56, 0.9);
  padding: 0.3rem 2rem; /* menos espacio vertical */
}

.navbar.scrolled img {
  width: 200px; /* logo más pequeño */
}

.navbar.hide {
  transform: translateY(-100%);
}
.navbar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .main-menu-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-weight: 600;
}
.navbar a {
  color: var(--text-color);
  padding: 0.5rem 0.5rem;
}
.navbar a:hover:not(.logo) {
  color: var(--tertiary-color);
  background: var(--text-color);
  border-radius: 5px;
}

.navbar a.logo:hover img {
  transform: scale(1.05); /* aumenta 5% */
  transition: transform 0.3s ease;
}

.navbar .insta a:hover {
  color: inherit;
  background: transparent;
}

.navbar i {
  font-size: 1.5rem;
}

.navbar ul li {
  position: relative;
}

/* Submenu base (oculto) */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--tertiary-color);
  color: var(--text-color);
  padding: 0.5rem;
  margin: 0 auto;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.submenu li a {
  display: block;
  padding: 10px 15px;
  color: var(--text-color);
}
.submenu li a:hover {
  background: var(--text-color);
}

/* Chevron y layout del trigger */
.dropdown a {
  display: flex;
  align-items: center;
  gap: 5px;
}
.chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

/* =======================================================
HAMBURGERS (icono)
======================================================= */
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  background: var(--text-color);
}
.hamburger:hover .hamburger-inner,
.hamburger:hover .hamburger-inner::before,
.hamburger:hover .hamburger-inner::after {
  background: var(--dark-color);
}

/* =======================================================
MENÚ MÓVIL (overlay + panel)
======================================================= */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 999;
}
.mobile-menu-items {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 78%;
  max-width: 340px;
  background: var(--primary-color);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open {
  display: block;
}
.mobile-menu.open .mobile-menu-items {
  transform: translateX(0);
}

.mobile-menu-list a {
  color: var(--text-color);
  font-weight: 600;
  display: block;
  padding: 0.9rem 0;
}

/* opcional: separar bloque de redes */
.mobile-menu-list li:last-child {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.no-scroll {
  overflow: hidden;
}

/* ===== HEADER CAROUSEL ===== */
.hero-carousel {
  margin-top: 0;
} /* respiro bajo navbar fija; ajusta si hace falta */

.carousel {
  position: relative;
  width: 100%;
  height: 100vh; /* ocupa todo el alto del viewport */
  overflow: hidden;
  background: #000;
}

/* Slides: siempre al fondo */
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 1s ease;
  z-index: 0; /* ← añade esto */
}
.carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1; /* slide activo encima del resto */
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay SIEMPRE por encima de los slides */
.carousel-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.45) 30%,
    rgba(0, 0, 0, 0.65)
  );
  display: flex;
  align-items: center; /* centrado vertical */
  justify-content: center; /* centrado horizontal */
  text-align: center; /* centrado de texto */
}

/* El texto/CTA debe poder recibir clics */

.carousel-caption {
  color: var(--text-color);
  max-width: 720px;
  padding: 0; /* sin padding vertical extra */
  position: relative;
  z-index: 4;
  pointer-events: auto;
}

.carousel-caption h1 {
  font-size: 3rem;
  margin-bottom: 1rem; /* espacio con el párrafo */
}

.carousel-caption p {
  margin-bottom: 1.5rem; /* espacio con el botón */
  opacity: 0.9;
  font-weight: 600;
}

.btn-carousel {
  margin-top: 1rem;
  text-transform: uppercase;
  display: inline-block;
  background: transparent;
  border: 2px solid var(--text-color);
  color: var(--text-color);
  font-weight: 800;
  padding: 1rem 2rem;
  border-radius: 35px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-carousel:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  color: var(--dark-color);
  background: var(--text-color);
  border: 2px solid var(--dark-color);
}

/* Controles */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-color);
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-control:hover {
  background: rgba(0, 0, 0, 0.55);
  transform: translateY(-50%) scale(1.06);
}
.carousel-control.prev {
  left: 14px;
}
.carousel-control.next {
  right: 14px;
}

/* Dots */
.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  gap: 8px;
  justify-content: center;
  z-index: 2;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.carousel-dots button[aria-current='true'] {
  background: var(--quaternary-color);
  transform: scale(1.2);
}

/* Controles e indicadores por encima de todo */
.carousel-control,
.carousel-dots {
  z-index: 5; /* ← súbelos */
}

/* =======================================================
Inner Header
======================================================= */

.inner-header {
  position: relative;
  width: 100%;
}

/* Empuja solo el contenido de texto hacia abajo */
.inner-header .quote {
  padding-top: 50px; /* altura aprox de la navbar */
}

.inner-header-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.inner-header h1 {
  color: var(--text-color);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.inner-header p {
  color: var(--text-color);
  font-size: 1.2rem;
  opacity: 0.9;
}

/* =======================================================
NOSOTROS.html
======================================================= */

/* bloque foto + texto (ya lo tienes) */
.nuestra-historia-flex {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.nuestra-historia-flex img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* título */
.nuestra-historia-texto h1 {
  color: var(--text-color);
  text-align: center;
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.2rem);
  margin-bottom: 12px;
}

/* tarjeta contenedora del texto */
.historia-copy {
  background: rgba(var(--rgba-dark-color), 0.7);
  height: 100%;
  color: var(--text-color);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 16px 18px;
}

/* párrafos internos: alto de línea y separación entre párrafos */
.historia-copy p {
  margin: 0; /* resetea */
  line-height: 1.75; /* legible */
  max-width: 68ch; /* ancho cómodo de lectura */
}
.historia-copy p + p {
  margin-top: 0.9em; /* “baja” cada punto y aparte */
}

/* negritas destacadas */
.historia-copy strong {
  font-weight: bold;
}

/* =======================================================
CACAO.html
======================================================= */
.subpage {
  padding: 0 2rem;
}
/* VARIETALES */

/* Galería de imágenes */
.varietales-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 2rem;
}
.varietales-gallery img {
  border-radius: 14px;
  /* imagen en un cuadro */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  height: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.varietales-gallery img:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

/* Lista de varietales */
.varietales-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 2.5rem;
}
.varietal-item {
  background-color: rgba(var(--rgba-primary-color), 0.65);
  color: var(--text-color);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 18px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); /* compat Safari */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.varietal-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}
.varietal-item h4 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  text-align: center;
  font-family: 'Gloria Hallelujah', cursive;
}
.varietal-item p {
  line-height: 1.7;
}

/* Texto + diagrama */
.varietales-text {
  background: rgba(var(--rgba-dark-color), 0.65);
  border-radius: 14px;
  padding: 2rem 2rem;
  color: var(--text-color);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); /* compat Safari */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.varietales-text h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: bold;
  color: var(--text-color);
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  font-family: 'Gloria Hallelujah', cursive;
}
.varietales-text p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.75;
}
.varietales-diagrama {
  margin-top: 1.5rem;
}
.varietales-diagrama h4 {
  margin-bottom: 0.5rem;
  color: var(--quaternary-color);
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  font-family: 'Gloria Hallelujah', cursive;
  text-align: center;
}
/* Tu imagen en la sección (como ya la tienes) */
.varietales-diagrama img {
  width: 100%;
  max-width: 700px;
  display: block;
  height: 60vh;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 10px;
  background-color: rgba(var(--rgba-text-color), 0.7);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  cursor: zoom-in;
}

/* === Modal / Viewport === */
.viewport {
  position: fixed;
  inset: 0 0 0 0; /* top:0; right:0; bottom:0; left:0 */
  display: none; /* oculto por defecto */
  justify-content: center;
  align-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999; /* muy por encima */
}

.viewport.open {
  display: flex;
}

.viewport-content {
  /* Para SVGs: hazla realmente grande y que respete proporción */
  width: min(95vw, 1400px);
  height: auto;
  max-height: 100vh;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  pointer-events: none; /* el clic exterior cierra; la imagen no interfiere */
  background: var(--text-color); /* solo para probar */
}

.viewport .close {
  position: absolute;
  top: 16px;
  right: 16px;
  line-height: 1;
  font-size: 32px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

/* Evitar scroll de fondo cuando el modal está abierto */
body.modal-open {
  overflow: hidden;
}

/* BENEFICIOS */
.beneficios .head-beneficios h1 {
  color: var(--text-color);
  text-align: center;
  font-size: clamp(1.9rem, 1.35rem + 1.8vw, 2.4rem);
  margin-bottom: 1.2rem;
}

/* Grid de cards */
.beneficios-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
  margin-top: 12px;
}

/* Card: “oscuro suave” + glass */
.beneficios-card-grid .card {
  background: rgba(var(--rgba-primary-color), 0.65);
  color: var(--text-color);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 18px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); /* compat Safari */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  outline: none; /* para focus personalizado */
  animation: cardIn 420ms ease both;
}

.beneficios-card-grid .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  background: rgba(var(--rgba-dark-color), 0.7);
}

.beneficios-card-grid .card:focus-visible {
  /* foco claro + accesible */
  outline: 2px solid rgba(251, 205, 70, 0.9);
  outline-offset: 3px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

/* Ícono, títulos y texto */
.beneficios-card-grid .card i {
  font-size: 1.9rem;
  color: var(--quaternary-color);
  margin-bottom: 10px;
  display: inline-block;
  transition: transform 0.2s ease;
}
.beneficios-card-grid .card:hover i {
  transform: scale(1.07);
}

.beneficios-card-grid .card h3 {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 1.1rem;
}

.beneficios-card-grid .card p {
  line-height: 1.7;
  opacity: 0.95; /* FIX: antes era 'opacity: 0 0.95;' */
}

/* PREPARACIÓN CACAO */
.preparacion {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.preparacion-text {
  background: rgba(var(--rgba-dark-color), 0.65);
  border-radius: 14px;
  padding: 2rem;
  color: var(--text-color);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.preparacion-text p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.preparacion-image img {
  width: 100%;
  max-width: 700px;
  padding: 3rem;
  display: block;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 10px;
  background-color: rgba(var(--rgba-text-color), 0.7);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  cursor: zoom-in;
}

/* =======================================================
FOOTER
======================================================= */
.site-footer {
  background: var(--dark-color);
  color: var(--text-color);
  padding: 2rem 1rem 1rem;
  font-size: 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* izq - logo - der */
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}
.footer-left .contact-link {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.2s ease;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.footer-left h4,
.footer-right h4 {
  margin-bottom: 0.5rem;
}

.footer-left a,
.footer-right a {
  color: var(--text-color);
  text-decoration: none;
}

.footer-left a:hover,
.footer-right a:hover {
  transform: translateY(-2px);
  scale: 1.05;
  transition: transform 0.2s ease;
}

.footer-center img {
  max-height: 120px;
  object-fit: contain;
  width: auto;
  filter: brightness(0) invert(1);
}

.social-icons {
  display: flex;
  gap: 0.5rem;
}

.social-icons a {
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* =======================================================
RESPONSIVE
======================================================= */

/* Desktop (>=1200px) */
@media (min-width: 1200px) {
  .hamburger {
    display: none;
  }
  .main-menu-items {
    display: block;
  }
  .mobile-menu {
    display: none !important;
  }

  /* Hover del submenú SOLO en desktop */
  @media (hover: hover) and (pointer: fine) {
    .dropdown:hover .submenu {
      display: block;
    }
    .dropdown:hover .chevron {
      transform: rotate(180deg);
    }
  }
}

/* Mobile/Tablet (<=1199.98px) */
@media (max-width: 1199.98px) {
  .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .main-menu-items {
    display: none;
  }

  /* desactivar hover dentro del panel móvil; abrir por click (JS añade .open al li.dropdown) */
  .mobile-menu .dropdown:hover .submenu {
    display: none;
  }

  .mobile-menu .submenu {
    position: static;
    background: transparent;
    box-shadow: none;
    display: none;
    padding-left: 0.75rem;
  }
  .mobile-menu .dropdown.open > .submenu {
    display: block;
  }
  .mobile-menu .dropdown.open > a .chevron {
    transform: rotate(180deg);
  }

  /* Ajustes para el carrusel */
  .carousel {
    min-height: 60vh;
  }
}

/* Ajustes extra en <=992px */
@media (max-width: 992px) {
  .navbar-flex {
    padding: 0.5rem 1rem;
  }

  .navbar img {
    height: 70px;
    width: auto;
  }
  .hamburger {
    padding: 0;
    outline: none;
  }

  /* Header */
  .hero-carousel .carousel-caption h1 {
    font-size: 2rem; /* antes 3rem */
  }

  .hero-carousel .carousel-caption p {
    font-size: 1rem;
  }

  .hero-carousel .btn-carousel {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }

  .nuestra-historia-flex {
    grid-template-columns: 1fr; /* pasar a una sola columna */
    gap: 20px;
    padding: 0 1rem;
  }

  .subpage {
    padding: 0 2rem;
  }

  /* centrar el título y el texto */
  .nuestra-historia-texto h1 {
    text-align: center;
  }

  .historia-copy {
    font-size: 1.2rem;
    padding: 18px;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-left {
    align-items: center;
  }

  .footer-right {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Ajustes para el carrusel */
  .carousel-caption {
    max-width: 95%;
  }

  .preparacion {
    grid-template-columns: 1fr;
  }
  .preparacion-image {
    order: -1;
  }
  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-left {
    align-items: center;
  }

  .footer-right {
    display: none;
  }
}
