*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  background:#f8fafc;
  color:#1f2937;
  line-height:1.7;
  overflow-x:hidden;
}
a:focus-visible,button:focus-visible{outline:3px solid #93c5fd;outline-offset:3px;border-radius:8px}

header{
  position:fixed;
  top:0;
  width:100%;
  background:linear-gradient(135deg,#2570a8,#2B7AB8);
  box-shadow:0 2px 20px rgba(0,0,0,.2);
  z-index:1000;
  padding:14px 0;
}
nav{
  max-width:1200px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 20px;
}
.logo{height:70px;display:block}
.logo-small{height:70px;width:auto;display:block}

.nav-links{
  display:flex;
  gap:26px;
  align-items:center;
}
.nav-links a{
  color:white;
  text-decoration:none;
  font-weight:500;
  transition:opacity .2s ease;
}
.nav-links a:hover{opacity:.85}

.btn-registro{
  background:white;
  color:#2570a8!important;
  padding:8px 16px;
  border-radius:20px;
  font-weight:600;
  transition:transform .2s ease,box-shadow .2s ease;
  white-space:nowrap;
}
.btn-registro:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(0,0,0,.2);
}

.menu-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
}
.menu-toggle span{
  width:25px;
  height:3px;
  background:white;
  border-radius:3px;
  display:block;
  transition:all .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(7px,-6px)}

.nav-desktop{display:flex}
.nav-mobile{display:none}

@media(max-width:768px){
  .menu-toggle{display:flex}
  .nav-desktop{display:none}
  .nav-mobile{display:flex}

  .nav-links{
    position:fixed;
    top:70px;
    right:-110%;
    width:280px;
    height:calc(100vh - 70px);
    background:linear-gradient(135deg,#2570a8,#2B7AB8);
    flex-direction:column;
    padding:30px 20px;
    gap:20px;
    transition:right .3s ease;
    box-shadow:-4px 0 20px rgba(0,0,0,.2);
  }
  .nav-links.active{right:0}
}

section,main{scroll-margin-top:80px}

main{
  padding-top:130px;
  padding-bottom:80px;
}

footer{
  background:#1f2937;
  color:white;
  padding:40px 20px 20px;
  text-align:center;
}
.footer-heading{
  color:white;
  margin-bottom:20px;
  font-size:18px;
}
.footer-contacts{
  display:flex;
  justify-content:center;
  gap:40px;
  flex-wrap:wrap;
  margin-bottom:25px;
}
.footer-contacts a{color:#5ba8e0;text-decoration:none}
.footer-contacts a:hover{text-decoration:underline}
.copyright{font-size:14px;color:rgba(255,255,255,.7);margin-bottom:15px}
.footer-links{display:flex;justify-content:center;gap:25px;flex-wrap:wrap;margin-top:15px}
.footer-links a{color:rgba(255,255,255,.6);text-decoration:none;font-size:13px}
.footer-links a:hover{color:white}

.whatsapp-float{
  position:fixed;
  bottom:25px;
  right:25px;
  width:60px;
  height:60px;
  background:#25D366;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 25px rgba(0,0,0,.3);
  z-index:999;
  transition:transform .2s ease;
}
.whatsapp-float:hover{transform:scale(1.1)}
.whatsapp-float svg{width:34px;height:34px;fill:white}

.fade-in-element{
  opacity:0;
  transform:translateY(30px);
  transition:opacity .6s ease-out,transform .6s ease-out;
}
.fade-in-visible{
  opacity:1;
  transform:translateY(0);
}
.fade-in-visible:nth-child(2){transition-delay:.1s}
.fade-in-visible:nth-child(3){transition-delay:.2s}
.fade-in-visible:nth-child(4){transition-delay:.3s}

.img-center{max-width:200px;display:block;margin:0 auto 20px}
.img-center-lg{max-width:350px;display:block;margin:0 auto 20px}
.img-center-xl{max-width:500px;display:block;margin:0 auto 30px}
.img-center-md{max-width:350px;display:block;margin:30px auto}
.honeypot-field{display:none}

.panel{
  background:white;
  border-radius:18px;
  box-shadow:0 14px 40px rgba(0,0,0,.1);
  padding:55px 45px;
  margin-bottom:45px;
}
.panel h1{
  text-align:center;
  color:#2570a8;
  font-size:2.2rem;
  margin-bottom:25px;
}
.panel h2{
  color:#1e293b;
  font-size:1.5rem;
  margin-top:35px;
  margin-bottom:15px;
}
.panel p{
  font-size:1.05rem;
  color:#475569;
  margin-bottom:18px;
  text-align:justify;
}
.panel img{max-width:100%;height:auto}

.destacado{
  background:#eef2f7;
  border-left:6px solid #2B7AB8;
  padding:22px;
  border-radius:14px;
  margin-top:25px;
  font-size:.95rem;
  color:#334155;
}
.comparativa{
  background:#fefce8;
  border-left:6px solid #ca8a04;
  padding:22px;
  border-radius:14px;
  margin-top:25px;
  color:#713f12;
  font-size:.95rem;
}

@media(max-width:768px){
  main{padding-top:100px;padding-bottom:60px}
  .panel{padding:25px 20px;margin:25px 15px;border-radius:14px}
  .panel h1{font-size:1.5rem;margin-bottom:20px}
  .panel h2{font-size:1.25rem;margin-bottom:14px}
  .panel p{font-size:.95rem;text-align:left;margin-bottom:12px}
  .destacado,.comparativa{padding:16px;font-size:.9rem;margin-top:18px}
  .logo,.logo-small{height:50px}
  .whatsapp-float{bottom:15px;right:15px;width:55px;height:55px}
  .whatsapp-float svg{width:30px;height:30px}
  .footer-contacts{flex-direction:column;gap:15px;align-items:center}
  footer{padding:30px 15px 15px}
}
@media(max-width:480px){
  .panel{padding:20px 16px;margin:20px 10px}
  .panel h1{font-size:1.3rem}
  .panel h2{font-size:1.1rem}
  .panel p{font-size:.9rem;line-height:1.6}
  .destacado,.comparativa{padding:14px;font-size:.85rem;border-left-width:4px}
}
