@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

.alfa-slab-one-regular {
  font-family: "Alfa Slab One", serif;
  font-weight: 400;
  font-style: normal;
}
.bbh-sans-bogle-regular {
  font-family: "BBH Sans Bogle", sans-serif;
  font-weight: 400;
  font-style: normal;
}


:root {
  --rosa: #f9c8d0;
  --cafe: #5c3926;
  --rosasuave: #fff4f6;
  --blanco: #ffffff;
  --sombra: rgba(0, 0, 0, 0.1);
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(to bottom right, #fff, #fff8f9);
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* HEADER */
header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--rosasuave);
  padding: 1rem 0;
  box-shadow: 0 2px 12px var(--sombra);
  position: relative;
  top: 0;
  z-index: 1000;
}

.logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--rosa);
  background: var(--blanco);
  object-fit: cover;
}

h1 {
  font-family: "Alfa Slab One", sans-serif;
  font-size: 2.8rem;
  letter-spacing: 1px;
  color: var(--cafe);
  font-weight: 700;
}
h3 {
  text-align: center;
  font-size: 1.8rem;
  letter-spacing: 1px;
  color: var(--cafe);
  font-weight: 700;
}


/* NAV */
.navbar {
  background-color: #ffb347;
  text-align: center;
  padding: 10px 0;
  position: relative; 
  z-index: 10;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar li {
  display: inline-block;
  margin: 0 10px;
}

.navbar a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #333;
}

/* === NAVBAR - AJUSTES NUEVOS === */
.navbar {
  background: var(--rosa);
  padding: 0.7rem 1rem;
  box-shadow: 0 2px 8px var(--sombra);
  position: sticky;
  top: 0;
  z-index: 999;
}

/* BOTÓN MENÚ FIJO EN SU POSICIÓN */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cafe);
  font-size: 1.8rem;
  cursor: pointer;
  position: fixed; 
  right: 20px;
  top: 20px;
  z-index: 2000;
}

/* HERO */
.hero {
  background: linear-gradient(180deg, #ffeef1 0%, #ffffff 100%);
  text-align: center;
  padding: 4rem 2rem;
  margin-bottom: 24rem;
}

.hero h2 {
  color: var(--cafe);
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.btn {
  background: var(--rosa);
  color: #fff;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 10px var(--sombra);
}

.btn:hover {
  background: #f3a4b3;
  transform: translateY(-3px);
}

/* SECCIONES */
.section {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--blanco);
  margin: 2rem auto;
  border-radius: 25px;
  max-width: 1000px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.section h2 {
  color: var(--cafe);
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
}

.section h2::after {
  content: "";
  width: 70px;
  height: 4px;
  background: var(--cafe);
  display: block;
  margin: 0.5rem auto;
  border-radius: 5px;
}

.section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* IMÁGENES */
.img-frame {
  border: 4px solid var(--rosa);
  border-radius: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 12px var(--sombra);
}

.img-frame:hover {
  transform: scale(1.05);
}

.img-frame.small { width: 55%; max-width: 300px; }
.img-frame.large { width: 80%; max-width: 500px; }

/* APP */
.app-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

/* EQUIPO */
.equipo-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.img-circular {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid var(--rosa);
  object-fit: cover;
  transition: transform 0.3s;
}

.img-circular:hover {
  transform: scale(1.1);
}

/* REDES */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-links a img {
  width: 50px;
  transition: transform 0.3s ease;
}

.social-links a img:hover {
  transform: scale(1.1);
}

/* DESCARGA */
.download {
  text-align: center;
  margin: 3rem 0;
  padding: 4rem 2rem;
  background: linear-gradient(90deg, var(--rosa), #f8d1d8);
  color: var(--cafe);
}

.google-btn {
  width: 280px;
  transition: transform 0.3s;
}

.google-btn:hover {
  transform: scale(1.05);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blanco);
  padding: 15px 25px;
  border-radius: 30px;
  color: var(--cafe);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 10px var(--sombra);
}

.btn-download img {
  width: 220px;
}

.btn-download:hover {
  transform: translateY(-3px);
  background: #fff8fa;
}

/* FOOTER */
footer {
  background: var(--rosasuave);
  color: var(--cafe);
  text-align: center;
  padding: 1.2rem;
  font-size: 0.9rem;
}

/* ANIMACIÓN */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s, transform 1s;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* MODAL */
/* ==== NUEVO ESTILO PARA MODALES ==== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  overflow-y: auto;
  padding: 2rem 1rem;
  animation: fadeInModal 0.3s ease-in-out;
}

.modal.show {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.modal-content {
  background: #fff;
  margin-top: 3rem;
  border-radius: 15px;
  padding: 2rem;
  width: 90%;
  max-width: 600px;
  text-align: left;
  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  animation: slideUp 0.4s ease;
}

.close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #000;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Evita que el fondo se mueva cuando el modal está activo */
body.modal-open {
  overflow: hidden;
}

/* === VALORES - MINIMALISTA === */
#valores {
  background: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

#valores h2 {
  font-family: "Poppins", sans-serif; 
  font-weight: 700;
  font-size: 2rem;
  color: var(--cafe);
  margin-bottom: 1rem;
  position: relative;
}

#valores h2::after {
  content: "";
  width: 70px;
  height: 4px;
  background: var(--cafe);
  display: block;
  margin: 0.5rem auto;
  border-radius: 5px;
}

#valores ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  text-align: left;
}

#valores li {
  font-size: 1.2rem;
  margin: 25px 0;
  padding-left: 20px;
  border-left: 4px solid #5c3926;
  color: #444;
  line-height: 1.6;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

#valores li:hover {
  border-color: #f3a4b3;
  transform: translateX(8px);
}

#valores li b {
  color: #5c3926;
  font-size: 1.25rem;
}

p, li {
  text-align: justify;
}
/* Misión y Visión estilo tipo "Equipo" */
#mision .section-content,
#vision .section-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: center;
  text-align: justify;
}

#mision .section-content img,
#vision .section-content img {
  width: 100%;
  max-width: 300px;
  border-radius: 15px;
  border: 4px solid var(--rosa);
  box-shadow: 0 4px 12px var(--sombra);
  transition: transform 0.3s;
}

#mision .section-content img:hover,
#vision .section-content img:hover {
  transform: scale(1.05);
}

#mision p,
#vision p {
  max-width: 600px;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}
/* Menú como antes (NO fijo) */
.navbar {
  position: sticky; /* o fixed si quieres siempre visible */
  top: 0;
  background: var(--rosa);
  box-shadow: 0 2px 10px var(--sombra);
  z-index: 1000;
}

/* Menú móvil visible completamente */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--cafe);
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 10px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
    background: var(--rosa);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
  }

  .navbar.active ul {
    max-height: 1000px;
    padding-bottom: 15px;
  }

  .navbar ul li {
    padding: 10px 0;
  }
}

/* Centrar imágenes Misión y Visión */
.mision-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: justify;
}

.mision-vision-grid img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 280px;
  border-radius: 15px;
  border: 4px solid var(--rosa);
  box-shadow: 0 4px 10px var(--sombra);
}

/* Responsivo */
@media (max-width: 768px) {
  .mision-vision-grid {
    grid-template-columns: 1fr;
  }
}

/* ====== MODALES ====== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  color: #333;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  text-align: justify;
}

.close {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
}

/* === IMAGEN ENTRE HERO Y QUIÉNES SOMOS === */
.intermedio {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -18rem 0 4rem 0; /* Ajusta según el espacio del hero */
}

.intermedio-img {
  width: 90%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.intermedio-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

