/* =====================================================
   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);
}




/* ===========================================
   INTRO / ENCABEZADO – Estilos base
   =========================================== */
.intro-wrapper {
  margin-top: 30px;
  background-color: white;
  padding: 50px 40px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  gap: 80px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.intro-description {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  text-align: center;
  gap: 20px;
}

.intro-description h2 {
  font-size: 32px;
  color: #2790d6;
  margin-bottom: 15px;
}

.intro-description p {
  font-size: 18px;
  color: #333;
  max-width: 700px;
  line-height: 1.6;
}

.intro-media {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-media video {
  max-width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}










/* =====================================================
   GALERÍA
===================================================== */
.image-gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px auto 40px;
  flex-wrap: wrap;
}

.image-gallery img {
  width: calc((100% / 3) - 13.33px);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.image-gallery img:hover {
  transform: scale(1.05);
}







/* =====================================================
   SERVICIOS
===================================================== */
.services-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.services-section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #2790d6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.service-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: #2790d6;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-card p,
.service-card ul {
  font-size: 0.95rem;
  color: #444;
  text-align: justify;
}

.service-card ul {
  padding-left: 20px;
  margin-top: 10px;
}

.service-card ul li {
  position: relative;
  padding-left: 20px;
  text-align: justify;
}

.service-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #2790d6;
  font-size: 18px;
  line-height: 1;
}











/* =====================================================
   CTA
===================================================== */
.call-to-action {
  width: 100%;
  background-color: #4ea4dd;
  color: white;
  padding: 60px 20px;
  text-align: center;
  box-sizing: border-box;
}

.call-to-action h2 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 700;
}

.call-to-action p {
  font-size: 18px;
  margin-bottom: 25px;
}

.call-to-action .btn {
  background-color:#25D366;
  color:#1a1a1b;
  padding: 14px 32px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  display: inline-block;
  transition: background 0.3s ease;
}

.call-to-action .btn:hover {
  background-color:#80dda2;
}












/* =====================================================
   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
===================================================== */
.site-footer { background: #080707; 
  color: #ddd; 
  padding: 40px 20px 20px; 
  font-size: 14px; } 
.footer-wrapper { display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; max-width: 1100px; 
    margin: 0 auto; gap: 20px; } 
.footer-about, 
.footer-contact, 
.footer-social { flex: 1; 
      min-width: 250px; } 
.site-footer h3, 
.site-footer h4 { margin-bottom: 10px; 
      color:#25D366; } 
.site-footer a { color: #bbb; transition: color 0.3s; } 
.site-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; 
    top: 90px; 
    left: 0;
    width: 100%; 
    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; 
  }
}
/* --- -------------------------------------------------------------------- --- */
@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;
  }
}



/* --- Galería  --- */
@media (max-width: 900px) {
  .image-gallery {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .image-gallery img {
    width: auto;
    max-width: 190px;
    height: auto;
  }
}

/* --- Servicios  --- */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}


  
@media (max-width: 844px) {
  .footer-social {
    text-align: center;
  }
}

@media (max-width: 526px) {
  .intro-wrapper {
    flex-direction: column;
    flex-wrap: wrap; 
    gap: 40px;
    text-align: center;
  }

  .intro-description,
  .intro-media {
    flex: 1 1 100%;
    align-items: center;
  }

  .intro-description h2 {
    font-size: 26px;
  }

  .intro-description p {
    font-size: 16px;
    max-width: 100%;
    padding: 0 10px;
  }

  .intro-media video {
    max-height: 220px;
  }
}


