/* =====================================================
   RESET GENERAL
===================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
}

body {
  background-color: beige;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}




/* =====================================================
   HEADER Y MENÚ
===================================================== */
.header-wrapper {
  background-color: white;
  display: flex;
  justify-content: center;
}

.main-menu {
  width: 1100px;
  min-height: 90px;
  padding: 10px 30px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Logo y textos */
.logo-group, .brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-group img.logo,
.brand img.logo {
  height: 50px;
}

.brand-texts h1 {
  color: rgb(69, 206, 51);
  font-size: 26px;
  font-weight: 90;
}

.brand-texts h5 {
  color: rgb(70, 68, 68);
  font-size: 12px;
  margin-top: 4px;
  font-weight: lighter;
}

/* Menú */
.nav-links ul li {
  float: left;
}

.nav-links ul li a {
  font-size: 18px;
  padding: 20px;
  color: rgb(27, 27, 54);
  display: block;
  transition: color 0.3s;
}

.nav-links ul li a:hover {
  color: #191094;
}









/* =====================================================
   BOTÓN HAMBURGUESA
===================================================== */

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 22px;
  justify-content: space-between;
  background: transparent;
  border: none;         
  padding: 0;             
  margin: 0;               
}



.menu-toggle span {
  display: block;
  width: 100%; 
  height: 4px;
  background: #59a2e7;
  border-radius: 2px;
  transition: all 0.3s ease;
}



.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}




.contacto-form h2,
.mapa h2 {
    font-family: 'Alfa Slab One', 'Epunda Slab', sans-serif; /* fuente llamativa */
    font-weight: 300;   /* grosor ligero */
    font-size: 28px;    /* tamaño visible */
    text-align: center; /* centrado */
    margin-bottom: 20px; /* separación del contenido */
    text-transform: none; /* quitar mayúsculas forzadas */
    color: rgb(28, 117, 190);       /* usa el color actual de la sección */
    text-shadow: none;    /* quitar sombras */
    
}










.slider {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 100%; /* Ahora cada slide ocupa TODO el ancho */
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }



/* ==============================
   SECCIÓN CONTACTO
============================== */
.contacto-section {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.contacto-info {
    max-width: 400px;
    margin: 0 auto;
    padding: 25px 20px;
    background: #0077b6;
    border-radius: 12px;
    text-align: center; /* centrado general */
}

.contacto-info h2 {
    font-family: 'Alfa Slab One', 'Epunda Slab', sans-serif;
    font-size: 26px;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Bloques de información centrados */
.info-bloque {
    display: flex;
    flex-direction: column; /* icono, título y texto uno debajo del otro */
    align-items: center;    /* centrado horizontal */
    gap: 8px;               /* espacio entre icono, título y texto */
    margin-bottom: 20px;    /* separación entre bloques */
}

.info-bloque i {
    font-size: 30px;
    color: #ffffff;
}

.info-bloque strong {
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
}

.info-bloque p {
    font-size: 16px;
    color: #ffffff;
    margin: 0;
    line-height: 1.5;
}







/* Formulario */
.contacto-form {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contacto-form input,
.contacto-form textarea,
.contacto-form button {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}

.contacto-form textarea {
    resize: none;
    height: 120px;
}

.contacto-form button {
    background: #0077b6;
    color: #fff;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.contacto-form button:hover {
    background: #1f6fe7; 
}

/* Información de contacto */
.contacto-info {
  background: #0077b6;
  color: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center; 
}

.contacto-info h2
{
    font-family: 'Alfa Slab One', 'Epunda Slab', sans-serif; 
    font-weight: 300;   
    font-size: 28px;    
    text-align: center;
    margin-bottom: 20px;
    color: rgb(241, 242, 245);       
    text-shadow: none;   
    
}





.contacto-info p {
  margin: 12px 0;
  line-height: 1.5;
  font-size: 16px;
}

.contacto-info i {
  font-size: 20px; 
  margin-right: 8px;
  vertical-align: middle;
}


/* ==============================
   MAPA
============================== */
 .mapa iframe {
  width: 100%;
  height: 35opx;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 0;
}


/* ==============================
   FOOTER
============================== */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #2e8b57;
    color: white;
    margin-top: 50px;
}

footer h3, footer h4 {
    margin-bottom: 10px;
}

footer p {
    margin: 5px 0;
}

.footer a {
  color:  white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #25D366;
  text-decoration: none; 
}





/* =====================================================
   BOTONES FLOTANTES
===================================================== */
.social-floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}


.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%; /* ✅ Hace el ícono perfectamente redondo */
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent; /* o el color institucional */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.social-icon:hover {
  box-shadow: 0 6px 15px rgba(124, 126, 125, 0.7);
  transform: scale(1.1);
}


.social-icon:hover {
  box-shadow: 0 6px 15px rgba(124, 126, 125, 0.7);
  transform: scale(1.1);
}
/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background:  #080707;
    color: #fff;
    padding: 40px 20px 20px;
    font-size: 14px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    gap: 20px;
}

.footer-info,
.footer-contacto,
.footer-redes {
    flex: 1;
    min-width: 250px;
}

.footer h3, .footer h4 {
    margin-bottom: 10px;
    color: #25D366;
}

.footer a {
    color: #bbb;
    transition: color 0.3s;
}

.footer a:hover { color: #25D366; }

.footer-copy {
    text-align: center;
    border-top: 1px solid #444;
    margin-top: 20px;
    padding-top: 10px;
    font-size: 12px;
    color: #aaa;
}

/* =====================================================
   RESponsi
===================================================== */


@media (max-width: 1065px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute; /* posicionado debajo del header */
    top: 90px; /* altura del header */
    left: 0;
    width: 100%; /* ancho total */
    background: rgb(159, 188, 231);
    flex-direction: column; /* menú vertical */
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    padding: 0; /* quitar padding para no interferir */
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links ul {
    flex-direction: column; /* forzar dirección columna */
    margin: 0;
    padding: 0;
    width: 100%; /* que la lista ocupe todo el ancho */
  }

  .nav-links ul li {
    width: 100%; /* cada li ocupa todo el ancho */
  }

  .nav-links ul li a {
    padding: 15px 20px;
    font-size: 18px;
    color: rgb(27, 27, 54);
    display: block;
    width: 100%; /* que el enlace ocupe todo el ancho */
    box-sizing: border-box; /* para evitar problemas con el padding */
  }
}
/* --- Tamaño de marca (logo-textos) --- */
@media (max-width: 768px) {
  .brand-texts h1 {
    font-size: 20px;
  }
  .brand-texts h5 {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .brand-texts h1 {
    font-size: 16px;
  }
  .brand-texts h5 {
    font-size: 8px;
  }
}

@media (max-width: 768px) {
    .contacto-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
  .mapa {
    padding: 10px;
  }
}
