/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background-color: #f2f2f2;
}

.site-header {
  background-color: #61be90;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.site-header {
  background-color: #61be90;
  padding: 1rem;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  width: 140px;
}

.site-title {
  font-size: 1.8rem;
  color: #003049;
  margin: 0;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #003049;
  cursor: pointer;
}

.navbar {
  display: flex;
  gap: 2rem;
}

.navbar a {
  color: #003049;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.navbar a:hover {
  color: #0077b6;
}

/* ----- Responsive styles ----- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar {
    flex-direction: column;
    width: 100%;
    display: none; /* oculto por defecto */
    margin-top: 1rem;
  }

  .navbar.active {
    display: flex; /* muestra cuando está activo */
  }
}



.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 5%;
  background-color: #fbfbfb;
  border-radius: 15px;
  margin: 2rem auto;
  max-width: 1100px;
  gap: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.hero-text {
  flex: 1;
}

.hero-text h2 {
  color: #003049;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  line-height: 1.8;
}

.contact-list a {
  color: #0077b6;
  text-decoration: none;
}

.alert {
  background: #fffbe6;
  border-left: 4px solid #ffa502;
  padding: 1rem;
  margin: 1.5rem 0;
  font-weight: bold;
  color: #444;
  border-radius: 5px;
}

.button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #0077b6;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #005f91;
}

.hero-image img {
  max-width: 250px;
  height: auto;
}

/* ---------- Responsive para móviles ---------- */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .hero-text h2 {
    font-size: 1.6rem;
  }

  .contact-list {
    font-size: 0.95rem;
  }

  .alert {
    font-size: 0.9rem;
    text-align: left;
  }

 .hero-image img {
  max-width: 140px;
  width: 100%;
  height: auto;
  margin: 1.5rem auto 0;
  display: block;
}

  .button {
    margin-top: 1rem;
    width: 100%;
    max-width: 250px;
  }
}
/* Plan Vacunal */
.plan-vacunal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: #f3f3f3;
  padding: 40px 20px;
  gap: 30px;
}

.plan-vacunal .contenido {
  flex: 1 1 500px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.plan-vacunal h2 {
  margin-bottom: 10px;
  color: #ffffff;
}

.plan-vacunal p {
  margin-bottom: 15px;
  font-size: 16px;
}

.plan-vacunal .button {
  background-color: #5e9cac;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  display: inline-block;
  border-radius: 6px;
  font-size: 14px;
}

.plan-vacunal .button:hover {
  background-color: #e4dfdf;
}

.imagen-plan-vacunal img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Secciones generales */
section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.services,
.products,
.blog,
.certifications {
  text-align: center;
}

.services h2,
.products h2,
.blog h2,
.certifications h2 {
  margin-bottom: 20px;
  color: #61be90;
}

/* Cards */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px;
}

.card {
  background-color: #fff;
  border: 1px solid #ddd;
  width: 240px;
  height: 320px;
  padding: 15px;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

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

.card img {
  width: 100%;
  height: 200px;
  object-fit: contain; /* antes: cover */
  border-radius: 10px;
}

.card-title {
  color: #61be90;
  font-weight: 600;
  font-size: 16px;
  margin-top: 10px;
  text-align: center;
}

@media (max-width: 600px) {
  .card {
    width: 90%;
  }
}

/* Botón */
.button {
  background-color: #5e9cac;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  display: inline-block;
  border-radius: 6px;
  font-size: 14px;
  margin-top: 10px;
}

.button:hover {
  background-color: #61be90;
}

/* Mapa */
.map-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  flex-wrap: wrap;
}

.map-image-container img {
  max-width: 320px;
  height: auto;
}

.map-content {
  max-width: 400px;
  text-align: center;
}

/* Footer */
footer {
  background-color: #f5f5f5;
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

footer a {
  color: #61be90;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer {
  background-color: #61be90;
  color: #ffffff;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 2rem;
  border-bottom: 2px solid #ffffff30;
}

.footer-column {
  flex: 1 1 220px;
  margin: 1rem;
}

.footer-column h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  border-bottom: 1px solid #fff;
  padding-bottom: 0.5rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column i {
  margin-right: 0.5rem;
}

.logo-section .logo {
  max-width: 140px;
  margin-bottom: 0.5rem;
}

.slogan {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.social-icons a {
  margin-right: 0.5rem;
  font-size: 1.2rem;
  color: #ffffff;
}

.social-icons a:hover {
  color: #e0f7ff;
}

.footer-bottom {
  text-align: center;
  padding: 1rem;
  background-color: #61be90;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: underline;
}

/* Sección especiales (Huevos) */
.especiales {
  background-color: #fff;
  padding: 40px;
  position: relative;
  text-align: left;
}

.especiales h2 {
  color: #61be90;
  margin-bottom: 20px;
  font-size: 24px;
}

.contenedor-con-huevo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contenedor-cualidades {
  background-color: #83bc9f;
  border-radius: 10px;
  display: flex;
  justify-content: space-around;
  padding: 20px 10px;
  color: white;
  flex-wrap: wrap;
  gap: 10px;
}

.cualidad {
  text-align: center;
  width: 200px;
  margin: 10px;
}

.cualidad img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.cualidad p {
  font-size: 14px;
  line-height: 1.4;
}

.huevos-img {
  width: 170px;
  height: auto;
  margin-top: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.pollito {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 120px;
}

/* Misión y Visión */
.seccion-mv-container {
  max-width: 900px;
  margin: 40px auto;
  background-color: white;
  padding: 30px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.seccion-mv-titulo-principal {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

.seccion-mv-imagen {
  text-align: center;
  margin-bottom: 20px;
}

.seccion-mv-imagen img {
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
}

.seccion-mv-subtitulo {
  color: #61be90;
  margin-top: 20px;
}

.seccion-mv-frase {
  font-weight: bold;
  margin-bottom: 20px;
}

.seccion-mv-lista {
  margin: 10px 0 20px 20px;
}

.seccion-mv-lista li {
  margin-bottom: 10px;
}

.galeria {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.galeria h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #61be90;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 0 10px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover; /* Esto mejora la estética visual */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.video-dron {
  text-align: center;
  margin: 40px auto;
  max-width: 900px;
  padding: 20px;
}

.titulo-dron {
  font-size: 2rem;
  font-weight: bold;
  color: #2E7D32; /* verde oscuro */
  margin-bottom: 8px;
}

.subtitulo-dron {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 24px;
  font-style: italic;
}

.video-container video {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.mision-vision-main {
  padding: 3rem 2rem;
  background-color: #f5f7f9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
}

.mision-vision-section {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.mision-vision-section.reverse {
  flex-direction: row-reverse;
}

.texto-mision-vision {
  flex: 1 1 400px;
}

.texto-mision-vision h2 {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  border-bottom: 3px solid #4caf50;
  padding-bottom: 0.3rem;
}

.texto-mision-vision p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
}

.highlight {
  margin-top: 1rem;
  font-weight: 700;
  color: #2a9d8f;
  font-size: 1.2rem;
}

.image {
  flex: 1 1 400px;
  text-align: center;
}

.image img {
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
  .mision-vision-section {
    flex-direction: column;
  }
  .mision-vision-section.reverse {
    flex-direction: column;
  }
  .image img {
    max-width: 100%;
  }
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 1.8rem 2.4rem;
  max-width: 400px;
  flex: 1 1 350px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h2 {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  border-bottom: 3px solid #4caf50;
  padding-bottom: 0.3rem;
}

.card p {
  line-height: 1.6;
  font-size: 1rem;
  color: #555;
}

.highlight {
  margin-top: 1rem;
  color: #2a9d8f;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Responsive para dispositivos móviles (pantallas ≤ 600px) */
@media (max-width: 600px) {
  /* Ajusta la navegación para que se vea mejor en móvil */
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  /* El héroe se vuelve columna en móvil */
  .hero {
    flex-direction: column;
    padding: 2rem 3%;
    gap: 1.5rem;
  }

  /* Imagen del héroe más pequeña y centrada */
  .hero-image img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  /* Texto del héroe con tamaño más pequeño */
  .hero-text h2 {
    font-size: 1.5rem;
  }

  /* Plan Vacunal se vuelve columna */
  .plan-vacunal {
    flex-direction: column;
    padding: 20px 10px;
    gap: 20px;
  }

  .plan-vacunal .contenido,
  .imagen-plan-vacunal img {
    max-width: 100%;
  }

  /* Cards ocupan casi todo el ancho */
  .card-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .card {
    width: 90% !important;
    max-width: none;
  }

  /* Mapa se pone columna */
  .map-section {
    flex-direction: column;
    padding: 1rem;
  }

  .map-image-container img,
  .map-content {
    max-width: 100%;
  }

  /* Sección especiales */
  .contenedor-con-huevo {
    flex-direction: column;
    gap: 15px;
  }

  .contenedor-cualidades {
    justify-content: center;
  }

  .cualidad {
    width: 100%;
    max-width: 250px;
  }

  /* Footer: columnas verticales */
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}