

html{
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
   font-family: "DM Sans", sans-serif;
}

body {
  background: #f5f5f5;
}

.header {
  background: linear-gradient(to right, #7ac9cb, #6ec0ca);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 70px;
  margin-left: 50px;
}

.nombre {
  color: white;
  font-size: 14px;
  line-height: 1.2;
}

.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav a {
    font-size: 20px;
  color: white;
  text-decoration: none;
  font-weight: medium;
  transition: color 0.3s;
}

.nav a:hover {
  color: #a4e4ff;
}

.btn-contacto {
  background-color: #007cba;
  padding: 10px 25px;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-contacto:hover {
  background-color: #005b91;
}

/* 🔹 Menú hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  background: white;
  margin: 5px 0;
  width: 25px;
  border-radius: 2px;
}

/* 🔸 Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
  }
  .logo img {
    height: 50px;
    margin-left: 0px;
}

  .nav.show {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

 .header {
    align-items: flex-start;
}

  .btn-contacto {
    width: 100%;
    text-align: center;
  }
}

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 80px;
  background: linear-gradient(to bottom right, #6ec0ca, #005d9c);
  flex-wrap: wrap;
  position: relative;
}

.banner-content {
  flex: 1.1;
  min-width: 280px;
  max-width: 700px;
  color: white;
}

.banner-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.banner-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ffffff;
}

.btn-banner {
  background-color: #2e1c7b;
  color: white;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size:20px;
  transition: background-color 0.3s;
}

.btn-banner:hover {
  background-color: #1b0f50;
}

.banner-image {
  flex: 0.9;
  text-align: center;
  min-width: 280px;
}

.banner-image img {
  max-width: 70%;
  
  border-radius: 15px;
}

/* Botón flotante WhatsApp */
.btn-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.btn-whatsapp img {
  width: 55px;
  height: 55px;
}

/* Responsive */
@media (max-width: 768px) {
  .banner {
    flex-direction: column;
    text-align: center;
  }
  .banner {
 
  
    justify-content: space-between;
    padding: 37px 20px;
    background: linear-gradient(to bottom right, #6ec0ca, #005d9c);
    flex-wrap: wrap;
    position: relative;
}

  .banner-content h1 {
    font-size: 2.2rem;
  }

  .banner-content p {
    font-size: 0.95rem;
  }

  .btn-banner {
    display: inline-block;
  }

  .banner-image {
    margin-top: 30px;
  }
  .banner-image img {
    max-width: 70%;
    height: 140px !important;
    border-radius: 15px;
}
}
.titulo-seccion {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #1b0f50;
}

.acerca {
  background: white;
  padding: 60px 0px;
}

.acerca-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  background: linear-gradient(to bottom right, #6ec0ca, #2e408f);
  border-radius: 10px;
  
  position: relative;
}

.acerca-img img {
    max-width: 100%;
    width: 700px;
    margin-bottom: -5px;
}

.acerca-info {
  flex: 1;
  color: white;
  min-width: 280px;
}

.acerca-info h3 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.acerca-info h3 span {
  font-weight: 700;
}

.acerca-info h4 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.acerca-info p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #ffffff;
}

.btn-vermas {
  background-color: white;
  color: #2e1c7b;
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-vermas:hover {
  background-color: #f2f2f2;
}

/* Botón WhatsApp flotante (si aún no lo tienes global) */
.btn-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.btn-whatsapp img {
  width: 55px;
  height: 55px;
}

/* Responsive */
@media (max-width: 768px) {
  .acerca-container {
    flex-direction: column;
    text-align: center;
  }
  .acerca {
    background: white;
    padding: 60px 0px;
}

  .acerca-info h3 {
    font-size: 1.8rem;
  }

  .acerca-info h4 {
    font-size: 1rem;
  }

  .acerca-img img {
    width: 100%;
  }
}
.servicios {
  padding: 60px 40px;
  background-color: #fff;
}

.titulo-seccion {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 40px;
  color: #1b0f50;
}

.servicios-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.servicio-card {
  background-color: #fff;
  padding: 60px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  width: 280px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.servicio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.servicio-card img {
  width: 90px;
  margin-bottom: 20px;
}

.servicio-card h3 {
  font-size: 1.2rem;
  color: #1b0f50;
  font-weight: 600;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
  .servicio-card {
    width: 100%;
    max-width: 350px;
  }
}
.aseguradoras {
  background-color: #fff;
  padding: 60px 40px;
  text-align: center;
}

.aseguradoras img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

/* Mostrar imagen completa solo en desktop */
.img-desktop {
  display: block;
}

.img-mobile {
  display: none;
  gap: 20px;
  justify-content: center;
  flex-direction: column;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .img-desktop {
    display: none;
  }

  .img-mobile {
    display: flex;
  }

  .img-mobile img {
    width: 100%;
  }
}

.contacto {
  background: linear-gradient(to bottom right, #6ec0ca, #005d9c);
  padding: 60px 40px;
  color: white;
}

.contacto-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}

.formulario {
  flex: 1;
  min-width: 300px;
  max-width: 700px;
}

.formulario h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.formulario p {
  margin-bottom: 30px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
}

.formulario .campos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

.formulario input {
  flex: 1;
  min-width: 150px;
}

.formulario textarea {
  resize: none;
  margin-bottom: 20px;
}

.formulario button {
  background-color: #2e1c7b;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 20px;
  transition: background-color 0.3s;
}

.formulario button:hover {
  background-color: #1b0f50;
}
.footer {
  background-color: #fff;
  padding: 60px 40px;
  border-top: 1px solid #ddd;
  color: #222;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-logo {
  height: 80px;
  margin-bottom: 15px;
}

.footer-col h4 {
  color: #0066a1;
  margin-bottom: 10px;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #222;
  text-decoration: none;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

.redes a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0066a1;
  margin-top: 10px;
  text-decoration: none;
}

.redes a img {
  width: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-col {
    margin-bottom: 30px;
  }
}

.mapa {
  flex: 1;
  min-width: 300px;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
  .contacto-container {
    flex-direction: column;
  }

  .formulario,
  .mapa {
    width: 100%;
  }
}

.footer-inferior {
  background: linear-gradient(to right, #6ec0ca, #0269a8);
  color: white;
  text-align: center;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-inferior img {
  width: 18px;
  height: 12px;
  margin-left: 5px;
  vertical-align: middle;
}

/* Responsive */
@media (max-width: 600px) {
  .footer-inferior {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}




