/* ========================= VARIABLES GLOBALES ========================= */
:root {
    --color-principal: #2D5A3F;
    --color-secundario: #C5A059;
    --color-fondo: #F5F1E9;
    --color-texto: #2B2B2B;
    --fuente-principal: Arial, sans-serif;
}

/* ========================= RESET Y BODY ========================= */
body {
    margin: 0;
    font-family: var(--fuente-principal);
    background-color: var(--color-fondo);
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* ========================= HEADER ========================= */
header {
    background-color: #FDF5E6;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 15px 0;
}

header svg {
    width: 100px;
    height: auto;
}

.titulo h1 {
    margin: 0;
    font-size: 1.6rem;
}

.titulo h2 {
    margin: 0;
    font-size: 0.9rem;
    color: #495E57;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hamburger {
  position: absolute;
  top: 15px;
  right: 20px;
}

header {
  position: relative;
}
/* ================= NAV PRINCIPAL HORIZONTAL ================= */
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 15px 0;
  background-color: rgba(245, 241, 233, 0.95);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav a {
  padding: 10px 25px;
  border-radius: 30px;
  border: 2px solid #C5A059;
  background-color: #FDF5E6;
  color: #2D5A3F;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.nav a:hover {
  background-color: #C5A059;
  color: #FDF5E6;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ========================= HAMBURGER ========================= */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #2D5A3F;
}

/* ========================= BANNER ========================= */
#banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 300px;
}

#banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

.banner-overlay h1 {
    margin: 0;
    font-size: 2rem;
}

.banner-overlay p {
    margin: 5px 0 0;
    font-size: 1.2rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ========================= CAROUSEL ========================= */
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  border-radius: 18px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
  background: #0f2017;
}
/* TRACK */
.track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* Internet Explorer 10+ */

} 
.puntito {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 0;
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 32, 23, 0.42);
  backdrop-filter: blur(4px);
}

.prev-button{
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  background: rgba(253, 245, 230, 0.9);
  border: 1px solid rgba(45, 90, 63, 0.25);
  color: white;
  color: #2d5a3f;
  font-size: 1.35rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  z-index: 3;
}
.prev-button:hover {
  background-color: #ffffff;
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
}
.next-button {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  background: rgba(253, 245, 230, 0.9);
  border: 1px solid rgba(45, 90, 63, 0.25);
  color: #2d5a3f;
  font-size: 1.35rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  z-index: 3;
}
.next-button:hover {
  background-color: #ffffff;
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
}
/* base */
.indicador {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: rgba(253, 245, 230, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
}



/* hover */
.indicador:hover {
  transform: scale(1.2);
  background-color: var(--color-secundario);
  
}

/* activo */
.indicador.active {
  width: 26px; 
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    var(--color-principal),
    var(--color-secundario)
  );
}
.slide {
  flex: 0 0 100%;  
}
.numero-contador {
  position: absolute;
  scroll-snap-align: start;
  top: 14px;
  right: 14px;
  background: rgba(15, 32, 23, 0.48);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  z-index: 3;
}

/* IMAGEN */
.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.03);
}



/* ========================= TARJETAS ========================= */
.contenedor-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 30px;
    justify-items: center;
}

.tarjeta-historia {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-historia.hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.tarjeta-historia img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 10px auto;
}

/* ========================= LABORATORIO ========================= */
.laboratorio-sabor {
  background-color: #FDF5E6;
  padding: 50px 20px;
  display: flex;
  justify-content: center;
}

.contenido-laboratorio {
  max-width: 1200px;
  text-align: center;
}

.cards-laboratorio {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.card-laboratorio {
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  width: 350px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-laboratorio:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.card-laboratorio h3 {
  margin-bottom: 15px;
  color: #2D5A3F;
}

.card-laboratorio ul {
  list-style-type: none;
  padding: 0;
}

.card-laboratorio li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.btn-carta {
  margin-top: 30px;
  padding: 12px 25px;
  font-size: 1rem;
  background-color: #2D5A3F;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-carta:hover {
  background-color: #C5A059;
  transform: translateY(-3px);
}

/* ========================= BENEFICIOS HOME ========================= */
.campus-benefits,
.resenas-home {
  max-width: 1200px;
  margin: 0 auto 26px;
  background: #ffffff;
  border: 1px solid #e5dfd3;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  padding: 22px;
}

.campus-benefits h2,
.resenas-home h2 {
  color: var(--color-principal);
  margin-top: 0;
}

.benefits-grid,
.resenas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.benefit-item,
.resena-item {
  background: #fffdfa;
  border: 1px solid #eee5d7;
  border-radius: 10px;
  padding: 14px;
}

.benefit-item h3 {
  color: #2D5A3F;
  margin-top: 0;
}

.rating {
  color: #6e665b;
}

/* ========================= FORMULARIO ========================= */
.reserva {
  background-color: #F5F1E9;
  padding: 50px 20px;
  display: flex;
  justify-content: center;
}

.form-container {
  background-color: white;
  padding: 30px 40px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  max-width: 500px;
  width: 100%;
  text-align: left;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #2D5A3F;
}

.form-container label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-container input {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-container button {
  width: 100%;
  padding: 12px;
  background-color: #2D5A3F;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.form-container button:hover {
  background-color: #C5A059;
  transform: translateY(-2px);
}

/* ========================= FOOTER ========================= */
.main-footer {
  background-color: #1a3d2b;
  color: #FDF5E6;
  padding: 40px 20px 20px;
  text-align: center;
}

.main-footer iframe {
  width: 100%;
  max-width: 800px;
  height: 200px;
  border: 0;
  border-radius: 10px;
  margin-bottom: 30px;
}

.footer-content {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-content div {
  text-align: left;
}

.footer-content h4 {
  color: #C5A059;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(197,160,89,0.3);
  padding-bottom: 6px;
}

.footer-content p {
  font-size: 0.9rem;
  color: rgba(253,245,230,0.75);
  margin-bottom: 4px;
}

.footer-content a {
  color: rgba(253,245,230,0.85);
  text-decoration: none;
}

.footer-content a:hover {
  color: #fff;
  text-decoration: underline;
}

.mapa-panel {
  max-width: 920px;
  margin: 0 auto 26px;
}

.mapa-panel h3 {
  margin: 0 0 8px;
  color: #FDF5E6;
}

.mapa-panel p {
  margin: 0 0 10px;
  color: rgba(253,245,230,0.8);
}

.mapa-acciones {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.mapa-acciones a,
.mapa-acciones button {
  border: 1px solid rgba(253,245,230,0.55);
  background: transparent;
  color: #FDF5E6;
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
  cursor: pointer;
}

.mapa-acciones a:hover,
.mapa-acciones button:hover {
  background: #FDF5E6;
  color: #1a3d2b;
}

#btn-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #2D5A3F;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  display: none;
  z-index: 999;
}

#btn-top.visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-divider {
  width: 60px;
  height: 1px;
  background: rgba(197,160,89,0.4);
  margin: 0 auto 16px;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(253,245,230,0.4);
  letter-spacing: 1px;
}
.cta-nosotros {
  background-color: #2D5A3F;
  color: #FDF5E6;
  text-align: center;
  padding: 50px 20px;
}

.cta-nosotros h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.cta-nosotros p {
  margin-bottom: 25px;
  font-size: 1.1rem;
  opacity: 0.85;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background-color: #C5A059;
  color: #FDF5E6;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  background-color: #FDF5E6;
  color: #2D5A3F;
}

.btn-cta-secondary {
  background-color: transparent;
  color: #FDF5E6;
  padding: 12px 30px;
  border-radius: 30px;
  border: 2px solid #FDF5E6;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background-color: #FDF5E6;
  color: #2D5A3F;
}

/* ========================= NOSOTROS EXTRA ========================= */
.origen-cafe,
.valores-panel,
.timeline-panel,
.alergenos-panel,
.resenas-panel {
  max-width: 1200px;
  margin: 0 auto 24px;
  background: #ffffff;
  border: 1px solid #e5dfd3;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  padding: 22px;
}

.origen-cafe h2,
.valores-panel h2,
.timeline-panel h2,
.alergenos-panel h2,
.resenas-panel h2 {
  color: var(--color-principal);
  margin-bottom: 10px;
}

.origen-cafe p,
.alergenos-panel p {
  color: #4f4a43;
}

.origen-grid,
.valores-grid,
.resenas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.origen-item,
.valor-item,
.resena-item {
  background: #fffdfa;
  border: 1px solid #eee5d7;
  border-radius: 10px;
  padding: 14px;
}

.origen-item h3,
.valor-item h3 {
  margin-top: 0;
  color: #2D5A3F;
}

.timeline-list {
  text-align: left;
  margin: 0;
  padding-left: 18px;
  color: #3f3b35;
  line-height: 1.8;
}

.resena-item p {
  margin-top: 0;
  font-style: italic;
}

.resena-item h4 {
  margin-bottom: 0;
  color: #6e665b;
}
/* ========================= MEDIA QUERIES ========================= */

/* ----- TABLET: hasta 1024px ----- */
@media (max-width: 1024px) {
  .contenedor-cards, .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-laboratorio {
    flex-direction: column;
    align-items: center;
  }

  .benefits-grid,
  .resenas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .origen-grid,
  .valores-grid,
  .resenas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ----- MÓVIL: hasta 600px ----- */
@media (max-width: 600px) {

  header {
    justify-content: space-between;
    padding: 10px 20px;
  }

  .nav {
    display: none;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    width: 100%;
  }

  .nav.active {
    display: flex;
  }

  .hamburger {
    display: block;
    order: -1
  }

  .contenedor-cards, .menu-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid,
  .resenas-grid {
    grid-template-columns: 1fr;
  }

  .origen-grid,
  .valores-grid,
  .resenas-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 20px;
  }
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hamburger {
  order: -1;
}
  .btn-carta {
    width: 100%;
  }

  #banner img {
    height: 200px;
  }

  .banner-overlay h1 {
    font-size: 1.5rem;
  }

  .banner-overlay p {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
}

