/* =====================================================
   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;
}




/* =====================================================
   Bt 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;
}


/* Animación al activar */
.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);
}






/* =====================================================
   SECCIÓN SOBRE NOSOTROS
   ===================================================== */
.sobre-nosotros {
    background: #f5f5f5;
    padding: 80px 20px;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.intro {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #ffffff, #f0f4f8); 
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    margin-bottom: 50px;
    font-family: 'Lato', sans-serif;
}

.intro h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: #0171bb; 
    margin-bottom: 15px;
    font-weight: 700;
}

.intro h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #31df57; 
    margin-bottom: 25px;
    font-weight: 600;
}

.intro p {
    font-size: 1.15rem;
    color: #555555;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.intro .highlight {
    color: #131212;
    font-weight: 600;
}

.btn-intro {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0171bb; 
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-intro:hover {
    background-color: #38cf38;
    transform: translateY(-3px);
}


/* =====================================================
   GRID IMÁGENES Y TEXTO / BLOQUES
   ===================================================== */
.grid-imagenes-texto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.grid-imagenes-texto.reverse { direction: rtl; }
.grid-imagenes-texto.reverse .texto { direction: ltr; }


.d-flex {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
}

.d-flex.reverse { flex-direction: row-reverse; }


.seccion-servicio {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    gap: 40px;
    margin-bottom: 60px;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    flex-wrap: nowrap; 
}

.seccion-servicio__img {
    flex: 1 1 45%;
}

.seccion-servicio__img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.seccion-servicio__texto {
    flex: 1 1 50%; 
}

.seccion-servicio__texto h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: #0171bb;
    margin-bottom: 15px;
}

.seccion-servicio__texto p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.btn-servicio {
    display: inline-block;
    padding: 10px 25px;
    background-color: #0171bb;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-servicio:hover {
    background-color: #1fcf3c;
    transform: translateY(-3px);
}

.d-flex.reverse {
    flex-direction: row-reverse;
}




/* =====================================================
   OBJETIVO, VENTAJAS, CONCEPTO
   ===================================================== */
.objetivo-ventajas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.objetivo-ventajas .bloque {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease; /* transición suave para hover */
}

.objetivo-ventajas .bloque:hover {
    
    color: #365896; /* texto en blanco */
    transform: translateY(-8px); /* levanta el bloque */
    box-shadow: 0 10px 20px #b9e0f5; /* sombra más marcada */
}


.objetivo-ventajas .bloque h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: 'Alfa Slab One', sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: #0077b6;
}

.objetivo-ventajas .bloque p {
    font-size: 16px;
    line-height: 1.7;
    color: #424242;
    text-align: center;
}

.servicio-icon {
    font-size: 60px; 
    color: #0077b6; 
    margin-bottom: 10px; 
}


/* =====================================================
   PERSONAL DE TRABAJO
   ===================================================== */

.personal-trabajo h2 {
    font-family: 'Montserrat', sans-serif; /* más moderno */
    font-weight: 700;
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: #0077b6; /* azul elegante */
    text-transform: uppercase;
    letter-spacing: 1px;
}


.grid-personal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

/* Tarjeta  */
.grid-personal .persona {
    background: linear-gradient(145deg, #ffffff, #eff4f7);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.grid-personal .persona:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Nombre / rol */
.grid-personal .persona h4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif; /* más elegante y moderno */
    font-weight: 600;
    font-size: 20px;
    color: #2e8b57;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



/* Descripción */
.grid-personal .persona p {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: #424242;
    line-height: 1.6;
    margin-top: 5px;
}





/* =====================================================
   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%; 
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent; 

  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);
}














/* ==============================
   FOOTER
============================== */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color:  #080707; 
    color: white;
    margin-top: 0px;
}

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; 
}

.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;
}


/* ==============================================
    RESPONSIVO                  ---------------------------------------------------------------------------
   ===================================================== */
@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; 
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    padding: 0; 
    z-index: 999;
  }

 .nav-links.active {
    display: flex;
  }

 .nav-links ul {
    flex-direction: column; 
    margin: 0;
    padding: 0;
    width: 100%;
  }

 .nav-links ul li {
    width: 100%; 
  }

 .nav-links ul li a {
    padding: 15px 20px;
    font-size: 18px;
    color: rgb(27, 27, 54);
    display: block;
    width: 100%; 
    box-sizing: border-box; 
  }
}
/* --- 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: 515px) {
  .intro h2 {
    font-size: 1.8rem;
  }

  .intro h3 {
    font-size: 1.3rem;
  }

  .intro p {
    font-size: 1rem;
  }

  .btn-intro {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}


@media (max-width: 480px) {
  .brand-texts h1 {
    font-size: 16px;
  }
  .brand-texts h5 {
    font-size: 8px;
  }
}

/* Responsive: cuando la pantalla sea pequeña */
@media(max-width: 900px){
    .seccion-servicio {
        flex-direction: column; /* apilar vertical en móvil */
        text-align: center;
    }
    .d-flex.reverse {
        flex-direction: column; /* igual para reverse */
    }
    .seccion-servicio__img,
    .seccion-servicio__texto {
        flex: 1 1 100%; /* ancho completo */
    }
}

@media (max-width: 844px) {
  .footer-social {
    text-align: center;
  }
}
