:root{
  --primary:#0a7cff;
  --dark:#1e2a38;
  --green:#25D366;
}

*{margin:0;padding:0;box-sizing:border-box;}

body{
  font-family:'Poppins',sans-serif;
  color:var(--dark);
  background:#fff;
}

/* NAV */
nav{
  display:flex;
  justify-content:space-between;
  padding:15px 10%;
  position:fixed;
  width:100%;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(10px);
  z-index:1000;
}

nav strong{
  color:var(--primary);
  font-size:20px;
}

/* HERO */
.hero{
  height:100vh;
  display:flex;
  align-items:center;
  padding:0 10%;
  background:
  /*linear-gradient(rgba(10,124,255,0.35), rgba(10,124,255,0.35)), Imagen menos opaca*/
  /*linear-gradient(rgba(10,124,255,0.75),rgba(10,124,255,0.75)), Imagen más opaca*/
  linear-gradient(rgba(10,124,255,0.2),rgba(10,124,255,0.2)),
  url("/assets/img/hero.webp");
  background-size:cover;
  background-position:center;
  color:white;
}

.hero h1{
  font-size:52px;
  max-width:700px;
  line-height:1.1;
}

.hero p{
  margin:20px 0;
  font-size:18px;
  max-width:600px;
}

/* BADGE */
.badge{
  display:inline-block;
  background:white;
  color:var(--primary);
  padding:6px 12px;
  border-radius:20px;
  font-size:12px;
  font-weight:600;
  margin-bottom:15px;
}

/* BUTTONS */
.btn{
  padding:14px 26px;
  border:none;
  border-radius:10px;
  font-weight:600;
  cursor:pointer;
  transition:0.3s ease;
}

.btn:hover{
  transform:translateY(-2px);
  opacity:0.95;
}

.btn-primary{
  background:white;
  color:var(--primary);
}

.btn-whatsapp{
  background:var(--green);
  color:white;
}

/* HERO BUTTONS FIX */
.hero-buttons{
  display:flex;
  gap:12px;
  margin-top:20px;
  flex-wrap:wrap;
}

/* SECTIONS */
section{
  padding:80px 10%;
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
}

/* CARD */
.card{
  padding:25px;
  border-radius:14px;
  box-shadow:0 10px 25px rgba(0,0,0,0.05);
  background:white;
}

/* TRUST */
.trust{
  background:#f6f9ff;
  text-align:center;
  font-weight:500;
  padding:20px;
}

/* CTA */
.cta{
  background:var(--primary);
  color:white;
  text-align:center;
}

/* IMAGES */
img{
  width:100%;
  border-radius:12px;
}

/* WHATSAPP FLOAT */
.whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366; /* color oficial */
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 1000;
}

/* Hover elegante */
.whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  background: #20ba5a;
}

/* Efecto “latido” suave */
.whatsapp::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* FOOTER */
footer{
  background:#1e2a38;
  color:white;
  padding:50px 10%;
  margin-top:40px;
}

footer h3, footer h4{
  color:#0a7cff;
}

footer p{
  opacity:0.8;
  margin-top:10px;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:30px;
}

hr{
  margin:30px 0;
  opacity:0.2;
}

.logo{
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size:30px;
  font-weight:700;
  letter-spacing:0.2px;
  display:flex;
  align-items:center;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

.blue{
  color:#0b4f9c; /* azul médico serio */
}

.black{
  color:#000;
}