/* ===== Variables ===== */
/* Importar fuentes elegantes y modernas */
@import url('https://fonts.googleapis.com/css2?family=Clash+Display:wght@500;700&family=Manrope:wght@400;600&display=swap');

:root {
  --bg:#0f172a;
  --bg-2:#111827;
  --card:#1e293b;
  --muted:#94a3b8;
  --text:#e2e8f0;
  --white:#ffffff;
  --brand:#00ffbf;
  --brand-2:#0061ff;
  --shadow:0 20px 40px rgba(0,0,0,.35);
}
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
   font-family: "Manrope", sans-serif; /* Fuente para p谩rrafos */
}
body{
  background:var(--bg);
  color:var(--text);

  line-height:1.6;
  overflow-x:hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Clash Display", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
     color: #e2e8f0;
}
a{text-decoration:none;color:inherit}

/* ===== Hero ===== */
header{
  text-align:center;
  padding:100px 40px 60px;
  position:relative;
}
header::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(800px 400px at 50% -10%, rgba(0,245,160,.25), transparent),
              radial-gradient(900px 400px at 80% 0%, rgba(0,97,255,.20), transparent);
  z-index:-1;
}
header h1{
  font-size: 2rem;
 font-weight: 800;
  margin-bottom: 16px;
  background: #00ffbf;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
header p{
  color: #f1f5f9;
  opacity: .9;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ===== Grid ===== */
.wrap{max-width:1200px;margin:0 auto;padding:60px 20px}
.grid{display:grid;gap:28px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.card{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(0,245,160,.18);
  border-radius:18px;
  padding:28px;
  backdrop-filter:blur(14px);
  box-shadow:var(--shadow);
  transition:.35s ease;
  text-align:center;
}
.card:hover{transform:translateY(-8px);background:rgba(255,255,255,.08)}
.card h3{font-size:1.4rem;margin:10px 0;color:var(--brand);text-shadow:0 0 12px rgba(0,245,160,.3)}
.card p,.card ul{color:#cbd5e1;font-size:1rem}
.icon{font-size:2rem;margin-bottom:10px}
.btn-toggle{margin-top:16px;padding:10px 18px;background:linear-gradient(90deg,var(--brand),var(--brand-2));border:none;border-radius:999px;font-weight:700;color:var(--white);cursor:pointer;transition:.3s}
.btn-toggle:hover{transform:scale(1.05)}
.extra-text{max-height:0;overflow:hidden;opacity:0;transition:max-height .5s ease, opacity .4s ease;margin-top:10px}

/* ===== Timeline ===== */
.timeline{position:relative;margin:80px auto;padding:0 20px;max-width:800px}
.timeline::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:3px;background:linear-gradient(var(--brand),var(--brand-2));transform:translateX(-50%)}
.timeline-item{margin:40px 0;position:relative;width:50%}
.timeline-item:nth-child(odd){left:0;text-align:right;padding-right:40px}
.timeline-item:nth-child(even){left:50%;padding-left:40px}
.timeline-item h3{color:var(--brand);margin-bottom:6px}
.timeline-item p{color:var(--muted)}
.timeline-dot{width:16px;height:16px;background:var(--brand);border-radius:50%;position:absolute;top:0}
.timeline-item:nth-child(odd) .timeline-dot{right:-8px}
.timeline-item:nth-child(even) .timeline-dot{left:-8px}
.pulse{animation:pulse 1.5s infinite}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(0,245,160,.7)}
  70%{box-shadow:0 0 0 15px rgba(0,245,160,0)}
  100%{box-shadow:0 0 0 0 rgba(0,245,160,0)}
}

/* ===== Counters ===== */
.counters{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:30px;text-align:center;margin-top:80px}
.counter{font-size:2.4rem;font-weight:700;background:linear-gradient(90deg,var(--brand),var(--brand-2));-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.counter-label{margin-top:10px;color:var(--muted)}

/* ===== Equipo ===== */
.team{margin-top:100px;text-align:center}
.team h2{font-size:2rem;color:var(--brand);margin-bottom:40px}
.team-grid{display:grid;gap:30px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.member{background:rgba(255,255,255,.05);padding:20px;border-radius:18px;transition:.3s}
.member img{width:100px;height:100px;border-radius:50%;object-fit:cover;margin-bottom:12px;border:2px solid var(--brand)}
.member:hover{transform:translateY(-8px);background:rgba(255,255,255,.08)}
.member h3{margin:6px 0;color:var(--brand)}
.member p{color:var(--muted)}

/* ===== Partners ===== */
.partners{margin:80px auto;text-align:center}
.partners h2{font-size:2rem;color:var(--brand);margin-bottom:30px}
.partner-logos{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 20px 0;
    
}
.partner-logos div{
   width: 180px;      /* Más ancho */
  height: 100px;     /* Más alto */
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  transition: all .3s ease;
  padding: 10px;
  filter: grayscale(100%);
    
}
.partner-logos img{
    max-width: 150px;   /* Tamaño máximo del logo */
  max-height: 80px;   /* Altura máxima del logo */
  object-fit: contain; /* Mantiene proporciones */
    
}
.partner-logos div:hover{
    filter: grayscale(0%);
  transform: scale(1.05);
    
}

/* ===== Awards ===== */
.awards{margin:80px auto;text-align:center}
.awards h2{font-size:2rem;color:var(--brand);margin-bottom:20px}
.awards ul{list-style:none;padding:0;max-width:600px;margin:0 auto}
.awards li{margin:12px 0;color:var(--text);font-size:1.05rem}

/* ===== Responsabilidad ===== */
.responsabilidad{margin:80px auto;max-width:800px;text-align:center}
.responsabilidad h2{font-size:2rem;color:var(--brand);margin-bottom:20px}
.responsabilidad p{color:var(--muted);font-size:1.05rem}

/* ===== CTA ===== */
.cta{margin:100px auto;text-align:center;padding:40px;background:linear-gradient(90deg,rgba(0,245,160,.08),rgba(0,97,255,.08));border-radius:20px;backdrop-filter:blur(10px)}
.cta h2{font-size:2rem;background:linear-gradient(90deg,var(--brand),var(--brand-2));-webkit-background-clip:text;-webkit-text-fill-color:transparent;margin-bottom:12px}
.cta p{color:var(--muted);margin-bottom:20px}
.btn-cta{padding:14px 34px;background:linear-gradient(90deg,var(--brand),var(--brand-2));border-radius:999px;color:var(--white);font-weight:700;transition:.3s}
.btn-cta:hover{transform:scale(1.08);box-shadow:0 0 20px rgba(0,245,160,.5)}

/* ===== Responsive ===== */
@media(max-width:768px){
  header h1{font-size:2rem}
  .timeline::before{left:8px}
  .timeline-item{width:100%;padding-left:30px;text-align:left}
  .timeline-item:nth-child(odd){text-align:left;padding-right:0}
  .timeline-item .timeline-dot{left:-8px}
}




    .whatsapp-float {
      text-decoration: none;
      /* elimina la rayita */
      display: none;
      /* oculto al cargar */
      position: fixed;
      bottom: 25px;
      right: 25px;
      z-index: 9999;
      width: 55px;
      height: 55px;
      background-color: #25d366;
      color: white;
      border-radius: 50%;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease;
    }

    .whatsapp-float:hover {
      transform: scale(1.1);
      background-color: #20c154;
    }


#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f172a;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* Ocultar con fade-out */
#loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Spinner elegante */
.spinner {
  width: 80px;
  height: 80px;
  border: 6px solid rgba(0, 255, 200, 0.2);
  border-top: 6px solid #00ffc8;
  border-radius: 50%;
  animation: spin 1.2s linear infinite, glow 2s ease-in-out infinite alternate;
  box-shadow: 0 0 20px rgba(0, 255, 200, 0.4);
}

/* Animaci贸n de rotaci贸n */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Efecto de brillo intermitente */
@keyframes glow {
  from { box-shadow: 0 0 10px rgba(0, 255, 200, 0.4); }
  to { box-shadow: 0 0 30px rgba(0, 255, 200, 0.9); }
}

/* Texto elegante */
.loader-text {
  margin-top: 20px;
  font-size: 1.2rem;
  font-family: 'Clash Display', sans-serif;
  background: linear-gradient(90deg, #00ffc8, #007bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeIn 1.5s ease-in-out infinite alternate;
  letter-spacing: 1px;
}

/* Animaci贸n del texto */
@keyframes fadeIn {
  from { opacity: 0.5; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(-3px); }
}
.partner-logos img {
  max-width: 150px;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-logos img:hover {
  filter: grayscale(0%);
}
