*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background:#f8fbff;
color:#02152b;
line-height:1.6;
padding-top:110px;
overflow-x:hidden;
}

/* ANIMACIONES */

@keyframes fadeUp{
from{
opacity:0;
transform:translateY(40px);
}
to{
opacity:1;
transform:translateY(0);
}
}

.hero,
.seccion,
.estadisticas,
footer{
animation:fadeUp 1s ease;
}

/* HEADER */

header{
position:fixed;
top:0;
left:0;
width:100%;
background:#ffffffee;
backdrop-filter:blur(14px);
box-shadow:0 5px 20px rgba(0,0,0,.06);
z-index:9999;
}

nav{
max-width:1300px;
margin:auto;
padding:18px 50px;
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
display:flex;
align-items:center;
gap:15px;
}

.logo img{
width:65px;
border-radius:50%;
transition:.4s;
}

.logo img:hover{
transform:rotate(10deg) scale(1.05);
}

.logo h1{
font-size:20px;
font-weight:800;
color:#003b80;
}

nav ul{
display:flex;
gap:30px;
list-style:none;
align-items:center;
}

nav a{
text-decoration:none;
color:#02152b;
font-weight:600;
transition:.3s;
}

nav a:hover{
color:#2563eb;
}

/* DROPDOWN */

.dropdown{
position:relative;
padding-bottom:15px;
}

.submenu{
display:none;
position:absolute;
top:100%;
left:0;
background:white;
min-width:230px;
border-radius:15px;
box-shadow:0 12px 30px rgba(0,0,0,.12);
padding:12px 0;
z-index:99999;
}

.submenu li{
width:100%;
}

.submenu li a{
display:block;
padding:14px 20px;
}

.submenu li a:hover{
background:#eef6ff;
}

.dropdown:hover .submenu{
display:block;
animation:fadeUp .4s ease;
}

/* BOTONES */

.hero-btn,
.nav-btn{
background:#003b80;
color:white;
padding:15px 28px;
border-radius:14px;
font-weight:bold;
transition:.3s;
display:inline-block;
}

.hero-btn:hover,
.nav-btn:hover{
background:#2563eb;
transform:translateY(-4px);
}

.hero-btn-sec{
display:inline-block;
margin-top:20px;
padding:16px 30px;
background:white;
color:#003b80;
font-weight:bold;
border-radius:14px;
cursor:pointer;
box-shadow:0 10px 25px rgba(0,0,0,.05);
transition:.4s;
}

.hero-btn-sec:hover{
background:#43d9e6;
color:white;
transform:translateY(-4px);
}

/* HERO */

.hero{
min-height:100vh;
display:flex;
align-items:center;
justify-content:space-between;
padding:120px 8% 60px;
background:linear-gradient(to right,#f8fbff,#eef6ff);
gap:40px;
}

.hero-content{
max-width:550px;
}

.hero h2{
font-size:65px;
line-height:1.1;
font-weight:800;
margin-bottom:20px;
color:#003b80;
}

.hero p{
font-size:22px;
color:#64748b;
margin-bottom:30px;
}

.hero-image img{
width:580px;
border-radius:25px;
box-shadow:0 15px 40px rgba(0,0,0,.08);
transition:.5s;
}

.hero-image img:hover{
transform:scale(1.03);
}

/* ACORDEON */

.importancia-box{
max-height:0;
overflow:hidden;
opacity:0;
transform:translateY(-15px);
transition:.6s ease;
background:white;
border-radius:20px;
padding:0 30px;
margin-top:20px;
box-shadow:0 15px 30px rgba(0,0,0,.05);
}

#toggle-info:checked ~ .importancia-box{
max-height:500px;
opacity:1;
padding:30px;
transform:translateY(0);
}

.importancia-box h2{
font-size:35px;
color:#003b80;
margin-bottom:20px;
}

.importancia-box p{
font-size:18px;
color:#555;
}

/* ESTADISTICAS */

.estadisticas{
max-width:1200px;
margin:-40px auto 100px;
background:white;
padding:35px;
border-radius:25px;
display:flex;
justify-content:space-around;
box-shadow:0 15px 35px rgba(0,0,0,.06);
flex-wrap:wrap;
gap:20px;
}

.contador-box{
text-align:center;
transition:.4s;
}

.contador-box:hover{
transform:translateY(-8px);
}

.contador-box h2{
font-size:45px;
color:#2563eb;
}

/* SECCIONES */

.seccion{
max-width:1200px;
margin:90px auto;
padding:20px;
}

.seccion h2{
text-align:center;
font-size:42px;
color:#003b80;
margin-bottom:20px;
}

/* CARDS */

.cards{
display:flex;
justify-content:center;
gap:25px;
flex-wrap:wrap;
margin-top:40px;
}

.card{
background:white;
padding:35px;
width:250px;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,.05);
text-align:center;
transition:.4s;
}

.card:hover{
transform:translateY(-12px) scale(1.03);
}

.card h3{
color:#003b80;
}

/* ALIADOS */

.aliados{
display:flex;
justify-content:center;
gap:35px;
flex-wrap:wrap;
}

.aliados img{
  width:120px;
  height:60px;
  object-fit:contain;
  display:block;
  opacity:.85;
  transition:.3s;
}

.aliados img:hover{
  opacity:1;
  transform:scale(1.08);
}


/* ===== RESE�0�5AS ===== */

.reviews-carousel{
width:100%;
overflow:hidden;
margin-top:50px;
padding:20px 0;
}

.carousel-track{
display:flex;
gap:30px;
width:max-content;
animation:scrollCarousel 45s linear infinite;
align-items:flex-start;
}

/* TARJETAS */

.review-card{
width:320px;
flex-shrink:0;
background:white;
border-radius:22px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
overflow:hidden;
transition:.4s;
}

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

/* IM�0�9GENES */

.review-card img{
width:100%;
height:auto;
display:block;
object-fit:contain;
}

/* ANIMACI�0�7N */

@keyframes scrollCarousel{
0%{
transform:translateX(0);
}
100%{
transform:translateX(-50%);
}
}

/* FORMULARIO */

.formulario{
max-width:650px;
margin:40px auto;
display:flex;
flex-direction:column;
gap:18px;
background:white;
padding:40px;
border-radius:22px;
box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.formulario input,
.formulario select,
.formulario textarea{
padding:18px;
border:none;
border-radius:14px;
background:#f8fafc;
box-shadow:inset 0 0 0 2px #eef2f7;
}

.formulario button{
padding:18px;
background:#003b80;
color:white;
border:none;
border-radius:14px;
font-weight:bold;
cursor:pointer;
transition:.3s;
}

.formulario button:hover{
background:#2563eb;
}

/* ===== HERO SERVICIOS CON IMAGEN ===== */

.servicio-hero{
display:flex;
align-items:center;
justify-content:space-between;
gap:40px;
max-width:1200px;
margin:80px auto 40px;
padding:60px;
background:linear-gradient(to right,#f8fbff,#eef6ff);
border-radius:30px;
box-shadow:0 15px 35px rgba(0,0,0,.06);
}

/* ====== SECCIÓN GENERAL ====== */
.servicio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 70px 60px;
  background: #ffffff;
  border-radius: 25px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* ====== TEXTO ====== */
.servicio-texto {
  flex: 1;
}

.servicio-texto h2 {
  font-size: 32px;
  color: #1e4ed8; /* azul elegante */
  margin-bottom: 15px;
}

.servicio-texto p {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
}

/* ====== IMAGEN ====== */
.servicio-imagen {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.servicio-imagen img {
  width: 100%;
  max-width: 450px;
  height: 320px;
  object-fit: cover;
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  transition: all 0.4s ease;
}

.servicio-imagen img:hover {
  transform: scale(1.05);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .servicio {
    flex-direction: column;
    text-align: center;
    padding: 40px 25px;
  }

  .servicio-imagen img {
    max-width: 100%;
    height: auto;
  }
}
/* RESPONSIVE */

@media(max-width:900px){

.servicio-hero{
flex-direction:column;
text-align:center;
padding:40px 25px;
}

.servicio-texto h1{
font-size:34px;
}

.servicio-texto p{
font-size:18px;
}

}
/* ===== ICONOS CONTACTO ===== */

.contacto-icons{
display:flex;
justify-content:center;
gap:30px;
flex-wrap:wrap;
margin-top:50px;
}

.contacto-card{
width:170px;
height:170px;
border-radius:28px;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-decoration:none;
color:white;
font-weight:bold;
font-size:20px;
transition:.4s;
box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.contacto-card i{
font-size:55px;
margin-bottom:15px;
}

/* WHATSAPP */

.contacto-card.whatsapp{
background:#25D366;
}

.contacto-card.whatsapp:hover{
transform:translateY(-10px) scale(1.05);
box-shadow:0 18px 35px rgba(37,211,102,.35);
}

/* FACEBOOK */

.contacto-card.facebook{
background:#1877F2;
}

.contacto-card.facebook:hover{
transform:translateY(-10px) scale(1.05);
box-shadow:0 18px 35px rgba(24,119,242,.35);
}

/* INSTAGRAM */

.contacto-card.instagram{
background:linear-gradient(
45deg,
#f09433,
#e6683c,
#dc2743,
#cc2366,
#bc1888
);
}

.contacto-card.instagram:hover{
transform:translateY(-10px) scale(1.05);
box-shadow:0 18px 35px rgba(220,39,67,.35);
}

/* ================= P�0�9GINAS DE SECCIONES (PRO) ================= */

/* HERO DE CADA SERVICIO */
.servicio-hero{
  max-width:1100px;
  margin:70px auto 30px;
  padding:60px 25px;
  text-align:center;
  background:linear-gradient(to right,#f8fbff,#eef6ff);
  border-radius:25px;
  box-shadow:0 10px 25px rgba(0,0,0,.06);
  animation:fadeUp 1s ease;
}

.servicio-hero h1{
  font-size:40px;
  color:#003b80;
  margin-bottom:15px;
  line-height:1.2;
}

.servicio-hero p{
  font-size:18px;
  color:#555;
  max-width:850px;
  margin:auto;
}

/* TAG PEQUE�0�5O (si lo usas) */
.servicio-tag{
  display:inline-block;
  background:#eaf2ff;
  color:#2563eb;
  padding:6px 14px;
  border-radius:20px;
  font-weight:bold;
  font-size:13px;
  margin-bottom:15px;
}

/* CONTENIDO PRINCIPAL */
.servicio-info{
  max-width:1000px;
  margin:40px auto;
  background:white;
  padding:45px;
  border-radius:22px;
  box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.servicio-info h2{
  text-align:center;
  font-size:32px;
  color:#003b80;
  margin-bottom:25px;
}

.servicio-info h3{
  text-align:center;
  margin-top:30px;
  color:#003b80;
  font-size:22px;
}

/* LISTA BONITA DE SERVICIOS */
.lista-servicios{
  list-style:none;
  padding:0;
  margin:0;
}

.lista-servicios li{
  background:#f4f8ff;
  border-left:5px solid #2563eb;
  padding:14px 18px;
  margin-bottom:12px;
  border-radius:12px;
  font-size:17px;
  transition:.3s;
}

.lista-servicios li:hover{
  transform:translateX(6px);
  background:#eaf2ff;
}

/* BLOQUE "IDEAL PARA" */
.ideal-section{
  max-width:900px;
  margin:60px auto;
  padding:35px;
  background:white;
  border-radius:22px;
  box-shadow:0 10px 25px rgba(0,0,0,.05);
  text-align:center;
}

.ideal-section h2{
  color:#003b80;
  margin-bottom:10px;
}

.ideal-section p{
  color:#555;
  font-size:18px;
  max-width:700px;
  margin:auto;
}

/* MEJORA RESPONSIVE */
@media(max-width:768px){

  .servicio-hero{
    padding:40px 20px;
  }

  .servicio-hero h1{
    font-size:30px;
  }

  .servicio-info{
    padding:30px 20px;
  }
}

/* RESPONSIVE */

@media(max-width:768px){

.contacto-card{
width:140px;
height:140px;
font-size:18px;
}

.contacto-card i{
font-size:42px;
}
}

/* FOOTER */

footer{
background:linear-gradient(to right,#eef6ff,#f8fbff);
margin-top:80px;
}

.footer-container{
max-width:1300px;
margin:auto;
padding:60px 30px;
display:flex;
justify-content:space-between;
flex-wrap:wrap;
gap:40px;
}

.footer-box{
flex:1;
min-width:220px;
}

.footer-logo{
width:160px;
}

.footer-box h3{
color:#003b80;
margin-bottom:10px;
}

.footer-box a{
display:block;
margin-bottom:8px;
text-decoration:none;
color:#02152b;
}

.footer-box a:hover{
color:#2563eb;
}

.redes-sociales{
display:flex;
gap:20px;
margin-top:20px;
font-size:26px;
}

.redes-sociales a{
color:#003b80;
transition:.4s;
}

.redes-sociales a:hover{
color:#43d9e6;
transform:scale(1.2);
}

.footer-copy{
background:#02152b;
color:white;
text-align:center;
padding:18px;
}

/* RESPONSIVE */

@media(max-width:900px){

.hero{
flex-direction:column;
text-align:center;
}

.hero h2{
font-size:42px;
}

.hero p{
font-size:18px;
}

.hero-image img{
width:100%;
max-width:500px;
}

nav{
flex-direction:column;
gap:18px;
padding:20px;
}

nav ul{
flex-direction:column;
gap:15px;
}

.logo h1{
font-size:16px;
text-align:center;
}

.estadisticas{
flex-direction:column;
margin:30px 20px;
}

.footer-container{
flex-direction:column;
text-align:center;
}

.redes-sociales{
justify-content:center;
}

.review-card{
width:280px;

}
}