/* -------------------------
       VARIABLES & RESET
       ------------------------- */
:root {
  --bg-1: #071123;
  --bg-2: #0b1b2a;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-3: rgba(40, 13, 43, 0.658);
  --glass-2: rgba(82, 132, 173, 0.219);
    /* --glass: rgba(255, 255, 255, 0.04);
  --glass-2: rgba(255, 255, 255, 0.06); */
  --stroke: rgba(255, 255, 255, 0.1);
  --accent-1:  #7b61ff71; /* purple */
  --accent-2: #42b7ff94; ; /* cyan */
   --accent-3: #7b61ffa4; 
  --accent-4: #42b7ff94; 
   --accent-6: #7b61ff; 
  --accent-7: #42b7ff60; 


    --jet: hsl(0, 0%, 22%);
  --onyx: hsl(240, 1%, 17%);
  --eerie-black-1: hsl(240, 2%, 13%);
  --eerie-black-2: hsl(240, 2%, 12%);
  --smoky-black: hsl(0, 0%, 7%);

  --warm: #ff8cab;
  --text: rgba(255, 255, 255, 0.96);
  --muted: rgba(255, 255, 255, 0.75);
  --radius: 16px;
  --glass-blur: 14px;
  --shadow-lg: 0 18px 60px rgba(6, 8, 15, 0.6);
  --ease: cubic-bezier(0.16, 0.84, 0.28, 1);
  --max-width: 1000px;
  --content-width: 800px;


  
  /* gradient */

  --bg-gradient-onyx: linear-gradient(
    to bottom right, 
    hsl(240, 1%, 25%) 3%, 
    hsl(0, 0%, 19%) 97%
  );
  --bg-gradient-jet: linear-gradient(
    to bottom right, 
    hsla(240, 1%, 18%, 0.251) 0%, 
    hsla(240, 2%, 11%, 0) 100%
  ), hsl(240, 2%, 13%);
  --bg-gradient-yellow-1: linear-gradient(
    to bottom right, 
    hsl(45, 100%, 71%) 0%, 
    hsla(36, 100%, 69%, 0) 50%
  );
  --bg-gradient-yellow-2: linear-gradient(
    135deg, 
    hsla(45, 100%, 71%, 0.251) 0%, 
    hsla(35, 100%, 68%, 0) 59.86%
  ), hsl(240, 2%, 13%);
  --border-gradient-onyx: linear-gradient(
    to bottom right, 
    hsl(0, 0%, 25%) 0%, 
    hsla(0, 0%, 25%, 0) 50%
  );
  --text-gradient-yellow: linear-gradient(
    to right, 
    hsl(45, 100%, 72%), 
    hsl(35, 100%, 68%)
  );

  /* solid */

  --jet: hsl(0, 0%, 22%);
  --onyx: hsl(240, 1%, 17%);
  --eerie-black-1: hsla(240, 3%, 13%, 0.856);
  --eerie-black-2: hsla(240, 11%, 9%, 0.753);
  --smoky-black: hsl(0, 0%, 7%);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 0%, 98%);
  --orange-yellow-crayola: hsl(45, 100%, 72%);
  --vegas-gold: hsl(45, 54%, 58%);
  --light-gray: hsl(0, 0%, 84%);
  --light-gray-70: hsla(0, 0%, 84%, 0.7);
  --bittersweet-shimmer: hsl(0, 43%, 51%);

}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  color: var(--text);
  /* background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 60%); */
  background: var(--smoky-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}


/* BACKGROUND */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* Imagen de fondo con overlay y blur sutil */
/* ===== Banner tipo LinkedIn (encima del perfil) ===== */
.profile-banner {
  position: relative;
  width: 100%;
  height: 190px; /* alto del banner */
  /* overflow: hidden;
  border-radius: 20px 20px 0 0; */
  margin-bottom: -120px; /* hace que el avatar se superponga */
  z-index: 1;

  
}

/* Imagen de fondo con blur elegante */
.profile-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url('/02.jpg'); /* 🔸 tu imagen de fondo */
  background-size: cover;
  background-position: center;
  z-index: 0;
    /* 🎨 Desvanecimiento inferior suave */
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
  transition: transform 1.2s ease, opacity 1s ease, filter 1.2s ease;
}

/* Overlay suave para mantener contraste */
.profile-banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
 
  z-index: 1;
}
/* 💻 Solo en web (pantallas grandes) */
@media (min-width: 768px) {
  .profile-banner-bg {
    /* 🔹 Fondo más sutil en escritorio */
    filter: blur(8px) brightness(0.65) saturate(90%);
    opacity: 5; /* suaviza la imagen */
    transform: scale(1.05);
  }

  .profile-banner-bg::after {
    background: linear-gradient(
      rgba(10, 10, 25, 0.45),
      rgba(5, 5, 15, 0.75)
    ); /* capa oscura sutil para contraste */
  }
  
}

/* Avatar del perfil se superpone al banner */
.profile-card .avatar {
  position: relative;
  z-index: 5;
  margin-top: -60px;
  border: 3px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
}

.profile-content h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-transform: none;
  text-align: center;
  background: linear-gradient(90deg, #9798e0, #d1e1e9ea, #6ecbf09a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  /* Detalles sutiles */
  text-shadow: 0 1px 4px rgba(255, 230, 150, 0.123);
  filter: drop-shadow(0 0 6px rgba(255, 220, 120, 0.1));
  
}

/* 🔹 Aumenta separación entre el nombre y las etiquetas de perfil */
.profile-content h2 {
  display: block;
  margin-bottom: 32px !important; /* 🔸 fuerza el espaciado */
}

/* 📱 En móviles: ligeramente menor */
@media (max-width: 767px) {
  .profile-content h2 {
    margin-bottom: 26px !important;
  }
}

/* === Imagen de verificación === */
.verified-img {
  width: 22px; /* ajusta tamaño según la proporción */
  height: 22px;
  object-fit: contain;
  position: relative;
  top: 1px; /* 🔹 alineación vertical */
  /* filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.6)); */
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover elegante */
.verified-name:hover .verified-img {
  transform: scale(1.12);
  /* filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.9)); */
}

/* 📱 Ajuste responsivo */
@media (max-width: 767px) {
  .verified-name {
    font-size: 1.5rem;
    gap: 6px;
  }

  .verified-img {
    width: 22px;
    height: 22px;
    top: 0;
  }
}


/* Línea divisoria elegante, moderna y con efecto metálico */
.title-divider {
  position: relative;
  width: 200px;
  height: 2px;
  margin: 6px auto 28px; /* 🔹 Subida controlada (antes: 14px auto 36px) */
  background: linear-gradient(
    90deg,
    rgba(0, 191, 165, 0) 0%,
    rgba(0, 191, 165, 0.9) 40%,
    rgba(0, 255, 255, 1) 50%,
    rgba(0, 191, 165, 0.9) 60%,
    rgba(0, 191, 165, 0) 100%
  );
  border-radius: 2px;
  opacity: 0.95;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.25);
}

/* ✨ Detalle de brillo sutil al centro */
.title-divider::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
  filter: blur(1px);
}

/* 📱 Versión móvil refinada */
@media (max-width: 768px) {
  .title-divider {
    width: 100px;
    height: 1.8px;
    margin: 4px auto 22px; /* también sube un poco en móvil */
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
  }
}


/* Negrita refinada y coherente con el diseño */
.key-strong {
  font-weight: 700;       /* Negrita, sin exagerar */
  color: #ffffff;         /* O el color base de texto si es modo oscuro */
}

/* Si usas modo claro, puedes ajustar */
body.light .key-strong {
  color: #1a1a1a;         /* tono oscuro sobrio */
}


/* === SECCIÓN GENERAL === */
.section__head {
  text-align: center;
  padding: 60px 20px;
  color: #fff;
  background: linear-gradient(135deg, #07121f9d 0%, #0a1c2d91 100%);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

/* ✨ Sutil fondo con efecto de luz */
.section__head::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 40%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at center, rgba(0, 191, 165, 0.15), transparent 70%);
  filter: blur(80px);
  z-index: 0;
}

/* === INSIGNIA (badge) === */
.section-badge.glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #00e5ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  z-index: 1;
}

.section-badge i {
  color: #00bfa5;
  font-size: 1rem;
}

/* === TÍTULO PRINCIPAL === */
.section__head h2 {
  margin-top: 18px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #eafcff;
  position: relative;
  z-index: 1;
}

/* === DESCRIPCIÓN === */
.section__desc {
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
  z-index: 1;
  position: relative;
}

/* === EFECTO SUTIL DE LUZ EN TÍTULO === */
.section__head h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, #00bfa5, #00e5ff);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .section__head {
    padding: 30px 14px;
  }

  .section-badge.glass {
    font-size: 0.85rem;
    padding: 6px 14px;
  }

  .section__head h2 {
    font-size: 1.6rem;
  }

  .section__desc {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}




/* 🔹 Mayor separación entre encabezado y timeline vertical */
.section__head {
  margin-bottom: 80px; /* antes suele ser ~40px */
}

/* 📱 Ajuste en móviles: un poco menos de espacio */
@media (max-width: 768px) {
  .section__head {
    margin-bottom: 60px;
  }
}


/* 
/////////////////////////////// */


/* === SECCIÓN GENERAL === */
.section.achievements {
  /* background: linear-gradient(135deg, #070b16, #0b1b2a); */
  background: var(--eerie-black-2);
  color: #fff;
  padding: 80px 20px;
  position: relative;
  text-align: left;
  overflow: hidden;
  border-radius: 20px;
    border: 1px solid var(--jet);
}


.section.achievements::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(13, 15, 17, 0.151), transparent 90%),
              radial-gradient(circle at 80% 80%, rgba(17, 16, 19, 0.219), transparent 90%);
  z-index: 0;
  /* background: var(--eerie-black-2); */
  border-radius: 20px;
}


/* === CONTENEDOR === */
.section.achievements .container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

/* === DESCRIPCIÓN === */
.section__desc {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  max-width: 750px;
  margin: 0 auto 50px;
  line-height: 1.8;
}


/* === LISTA DE LOGROS === */
.achievements-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 900px;
}

.achievements-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 20px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
}


.achievements-list li:hover {
  /* background: rgba(255, 255, 255, 0.07); */
  border-color: rgba(38, 198, 218, 0.2);
  transform: translateY(-3px);
}

/* === ICONOS === */
.achievements-list i {
  color: #26c6da;
  font-size: 1.3rem;
  margin-top: 3px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(38, 198, 218, 0.3));
}


/* === TEXTO === */
.achievements-list span {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-size: 1rem;
}

.achievements-list strong {
  color: #fff;
  font-weight: 500;
  font-style: normal;
}

/* === BLOQUE DE ESPECIALIZACIONES === */
.specializations {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-direction: row;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 24px;
  border-radius: 14px;
  transition: all 0.35s ease;
}

/* .specializations:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(38, 198, 218, 0.25);
  transform: translateY(-3px);
} */

.specializations i {
  color: #00bfa5;
  font-size: 1.4rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.specializations-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}


.specializations-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}



.specialization-block h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #26c6da;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px; /* 🔹 antes era 8px → ahora más espacio entre icono y texto */
  letter-spacing: 0.3px;
}

.specialization-block h5 i {
  font-size: 1rem;
  color: #26c6da;
  margin-right: 4px; /* 🔹 refuerza la separación visual */
  flex-shrink: 0;
}




.specializations-content ul li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.97rem;
  line-height: 1.6;
  position: relative;
  padding-left: 30px; /* ← aumenta el espacio entre el punto y el texto */
  letter-spacing: 0.1px;
 
}

.specializations-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #26c6da;
  font-size: 1.1rem;
  line-height: 1;
  padding-left: 7px; /* ← aumenta el espacio entre el punto y el texto */
}



/* Centrar solo los íconos principales en móviles (sin afectar subíconos internos) */
@media (max-width: 768px) {
  .achievements-list > li > i.fas {
    display: block;
    margin: 0 auto 12px auto;
    text-align: center;
    font-size: 1.6rem; /* tamaño equilibrado para legibilidad */
  }

  /* Aumenta un poco la separación entre el ícono y el texto */
  .achievements-list > li > span {
    display: block;
    text-align: center;
  }
}


/* === RESPONSIVE === */
@media (max-width: 768px) {
  .gradient-title {
    font-size: 1.6rem;
  }

  .section__desc {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  .achievements-list li {
    padding: 16px 15px;
    flex-direction: column;
  }

  .achievements-list i {
    font-size: 1.2rem;
  }

  .specializations {
    flex-direction: column;
    padding: 18px 20px;
    gap: 10px;
  }

  .specializations-content h4 {
    font-size: 1.25rem;
  
    text-align: center;
  }

  .specializations-content ul li {
    font-size: 0.9rem;
  }
}




/* === SECTORES DE ACTUACIÓN === */
.sectores-section {
  /* background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.85)); */

    background: var(--eerie-black-2);
  border: 1px solid var(--jet);
  border-radius: 20px;
  padding: 15px;
  box-shadow: var(--shadow-1);
  z-index: 1;
  padding: 80px 20px;
  color: #f1f5f9;
  text-align: center;
}

.section-title h2 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-title p {
  color: #cbd5e1;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* === GRID DE SECTORES === */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  justify-items: center;
}

.sector-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 25px 15px;
  color: #e2e8f0;
  text-align: center;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 280px;
}

.sector-item i {
  font-size: 1.8rem;
  color: #38bdf8;
  margin-bottom: 12px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.sector-item span {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Hover Effects */
.sector-item:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-4px);
}

.sector-item:hover i {
  color: #0ea5e9;
  transform: scale(1.15);
}

/* === 📱 RESPONSIVO === */

/* ✅ Móviles grandes (≥480px): 3 columnas */
@media (max-width: 768px) {

  .sectores-section {
  /* background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.85)); */
    background: var(--eerie-black-2);
  border: 1px solid var(--jet);
  border-radius: 20px;
  padding: 15px;
  box-shadow: var(--shadow-1);
  z-index: 1;
  padding: 30px 20px;
  color: #f1f5f9;
  text-align: center;
}

  .sectors-grid {
    
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .section-title h2 {
    font-size: 1.9rem;
  }

  .sector-item {
    padding: 20px 10px;
    max-width: 100%;
  }

  .sector-item i {
    font-size: 1.5rem;
  }

  .sector-item span {
    font-size: 0.9rem;
  }
}

/* ✅ Móviles pequeños (<480px): 2 columnas */
@media (max-width: 480px) {

  .sectores-section {
  /* background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.85)); */
    background: linear-gradient(135deg, rgba(2, 32, 28, 0.925), rgba(16, 23, 32, 0.918));
    /* background: var(--eerie-black-2); */
  border: 1px solid var(--jet);
  border-radius: 20px;
  padding: 15px;
  box-shadow: var(--shadow-1);
  z-index: 1;
  padding: 20px 20px;
  color: #f1f5f9;
  text-align: center;
}

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .section-title h2 {
    font-size: 1.7rem;
  }

  .sector-item i {
    font-size: 1.4rem;
  }

  .sector-item span {
    font-size: 0.85rem;
  }
}


/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #f8fafc;
  text-align: center;
  padding: 90px 20px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(13, 25, 31, 0.404), transparent 60%),
              radial-gradient(circle at bottom left, rgba(10, 10, 12, 0.315), transparent 70%);

  /* background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.15), transparent 60%),
              radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.12), transparent 70%); */
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-content p {
  font-size: 1.1rem;
  color: #e2e8f0;
  margin-bottom: 35px;
  line-height: 1.8;
}

.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.25);
}

.btn.btn-primary:hover {
  background: linear-gradient(90deg, #0ea5e9, #4f46e5);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.35);
}

.btn.btn-primary i {
  font-size: 1.1rem;
}





.btn.btn-liquid {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(270deg, #38bdf8, #6366f1, #0ea5e9);
  background-size: 300% 300%;
  color: #fff;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
  animation: gradientFlow 5s ease infinite, pulseGlow 2.5s ease-in-out infinite;
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 1;
}

.btn.btn-liquid i {
  font-size: 1.2rem;
}

.btn.btn-liquid::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
  opacity: 0.5;
  transform: translate(-50%, -50%) scale(0);
  animation: liquidPulse 3s ease-in-out infinite;
  z-index: 0;
}

.btn.btn-liquid:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.5);
}

.btn.btn-liquid:hover::before {
  opacity: 0.7;
}

/* 🔮 Animaciones */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 18px rgba(99, 102, 241, 0.3); }
  50% { box-shadow: 0 0 28px rgba(56, 189, 248, 0.6); }
}

@keyframes liquidPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.2; }
}

/* === 📱 RESPONSIVO === */
@media (max-width: 768px) {

  .cta-section {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #f8fafc;
  text-align: center;
  padding: 30px 20px;
  position: relative;
  overflow: hidden;
}
  .cta-content h2 {
    font-size: 1.8rem;
  }
  .cta-content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .btn.btn-primary {
    font-size: 0.95rem;
    padding: 12px 28px;
  }
}



@media (max-width: 480px) {
  .cta-section {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #f8fafc;
  text-align: center;
  padding: 30px 20px;
  position: relative;
}
}
canvas {
  position: fixed;
  top: 0;
  inset: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  display: block;
  opacity: 0.52;
  pointer-events: none;
  z-index: -2; /* debajo del contenido, encima de la imagen */
}

/* Cuando pasas el mouse, aumenta claridad */
body:hover .background-image {
  opacity: 0.35;
  filter: blur(6px) saturate(150%);
}

.bg-layer.hidden {
  opacity: 0;
  visibility: hidden;
}

/* ===== Partículas brillantes dentro del banner ===== */
.banner-particles{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: cover;
}

.hero, .banner, .hero-section{
  overflow: hidden;
}






/* === GRADIENTE ANIMADO PRINCIPAL === */
.animated-gradient {
  position: absolute;
  inset: -10%;
  background: conic-gradient(
    from 120deg at 50% 50%,
    rgba(123, 97, 255, 0.14),
    rgba(66, 183, 255, 0.12),
    rgba(255, 140, 171, 0.1),
    rgba(123, 97, 255, 0.14)
  );
  filter: blur(60px) saturate(130%);
  animation: rotateBG 24s ease-in-out infinite alternate;
  transform-origin: center;
  z-index: -3;
  opacity: 0.9;
}

/* Movimiento de rotación + respiración */
@keyframes rotateBG {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.8;
    filter: blur(50px) saturate(120%);
  }
  50% {
    transform: rotate(180deg) scale(1.08);
    opacity: 1;
    filter: blur(55px) saturate(140%);
  }
  100% {
    transform: rotate(360deg) scale(1);
    opacity: 0.85;
    filter: blur(50px) saturate(120%);
  }
}



/* === FORMAS FLOTANTES === */
.shape {
  position: absolute;
  border-radius: 20px;
  filter: blur(30px);
  opacity: 0.75;
  z-index: -2;
  transform-origin: center;
  will-change: transform, opacity, filter;
}

/* Forma A (superior derecha) */
.s-a {
  width: 360px;
  height: 220px;
  right: -60px;
  top: -40px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  animation: floatA 20s ease-in-out infinite alternate;
}

/* Forma B (inferior izquierda) */
.s-b {
  width: 220px;
  height: 150px;
  left: -80px;
  bottom: -40px;
  background: linear-gradient(135deg, var(--warm), #ffd1a454);
  animation: floatB 9s ease-in-out infinite alternate;
}




/* Movimiento sutil tipo “respiración” */
@keyframes floatA {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.75;
    filter: blur(32px);
  }
  50% {
    transform: translate(-30px, 20px) scale(1.05);
    opacity: 0.9;
    filter: blur(36px);
  }
  100% {
    transform: translate(10px, -10px) scale(1);
    opacity: 0.7;
    filter: blur(30px);
  }
}

@keyframes floatB {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
    filter: blur(28px);
  }
  50% {
    transform: translate(25px, -25px) scale(1.07);
    opacity: 0.95;
    filter: blur(34px);
  }
  100% {
    transform: translate(-20px, 10px) scale(1);
    opacity: 0.75;
    filter: blur(28px);
  }
}



/* === GRID GENERAL === */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin-top: 18px;
  justify-content: center;
  align-items: start;
}

/* === PILL BASE === */
.pill {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 6px rgba(255,255,255,0.05),
              0 6px 18px rgba(0,0,0,0.25);
  min-height: 56px;
  text-align: left;
}

/* === CONTENIDO INTERNO === */
.pill-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px; /* ← eliminamos cualquier separación */
  width: 100%;
  padding-left: 4px;
}

/* === ÍCONOS === */
.pill i {
  font-size: 15px;
  width: 16px;
  height: 16px;
  line-height: 1;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  /* color: var(--accent-2); */
  color: wheat;
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 4px rgba(66,183,255,0.2);
  flex-shrink: 0;
  transition: all 0.3s ease;
  margin-left: 10px;
}

/* 💥 Elimina el margen interno fantasma de Font Awesome */

/* === TEXTO === */
.pill span {
  display: inline-block;
  line-height: 1.3;
  flex: 1;
  margin-left: 6px; /* ← control exacto del espacio real */
}

/* === EFECTOS HOVER === */
/* .pill:hover {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: white;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(66,183,255,0.35);
}

.pill:hover i {
  color: white;
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
  box-shadow: 0 0 8px rgba(255,255,255,0.4);
} */

}
/* === RESPONSIVE === */
@media (max-width: 768px) {
  .highlights {
    grid-template-columns: 1fr;
  }

  .pill {
    min-height: 52px;
    padding: 12px 16px;
  }

  .pill-content {
    padding-left: 2px;
  }

  .pill i {
    width: 15px;
    height: 15px;
    font-size: 13.5px;
  }

  .pill span {
    font-size: 13.5px;
    margin-left: 5px;
  }
}



/* PILL: ALTURA FIJA + FLEX EQUILIBRADO */


/* -------------------------
       LAYOUT
       ------------------------- */
.container {
  position: relative;
  z-index: 10;
  max-width: var(--max-width);
  margin: 36px auto;
  padding: 8px;

}
.main-content {
  max-width: var(--content-width);
  margin: 0 auto;
}

}
@media (min-width: 768px) {
  .container nav {
    top: 6px;
    padding: 0 48px;
  }
   .profile-card .avatar {
    margin-top: -40px; /* más natural en pantallas grandes */
  }
}



/* -------------------------
       NAVBAR
       ------------------------- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 32px;
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}


.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
}
.logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: Merriweather;
  color: white;
  box-shadow: var(--shadow-lg);
}
.brand h1 {
  font-size: 14px;
  margin: 0;
}
.brand small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;

 
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 8px;
  border-radius: 10px;
  transition: all 0.18s var(--ease);
 
}
.nav-links a:hover {
  color: var(--text);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
}




/* 📱 Solo en móviles: sube el bloque de nombre y subtítulo */
@media (max-width: 767px) {
  .brand div {
    position: relative;
    top: -50px; /* 🔹 súbelo (ajusta: -4px o -8px según prefieras) */
  }

  .brand h1 {
    font-size: 13px; /* mantiene proporción móvil */
    margin-bottom: 0;
  }

  .brand small {
    font-size: 11px;
    opacity: 0.85;
  }
}


/* -------------------------
       HAMBURGER BUTTON
       ------------------------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 100;
    margin-bottom: 30px;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;

}

/* Estados cuando el menú está abierto */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background-color: var(--accent-2);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background-color: var(--accent-2);
}


@media (min-width: 981px) {
  .profile-tag.active {
    transform: scale(1.12) translateZ(0);
    z-index: 5;
  }
}

@media (min-width: 981px) {
  .profile-tag {
    backdrop-filter: none;
  }
}


@media (min-width: 981px) {
  .profile-tag.active::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-6), var(--accent-7));
    filter: blur(1px);
    /* opacity: 0.6; */
    z-index: -1;
  }
}



/* 📱 Solo en móviles: subir botón hamburguesa */
@media (max-width: 767px) {
  .hamburger {
    position: relative;
    top: -36px; /* 🔹 súbelo (ajusta: -4px o -8px según prefieras) */
  }



/* -------------------------
       PROFILE CARD
       ------------------------- */
.profile-card {
  border-radius: 18px;
  padding: 24px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-lg);
  max-width: var(--content-width);
  margin: 0 auto 28px;
}
.profile {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.avatar {
  width: 110px;
  height: 110px;
  border-radius: 16px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #ffe3b3 0%, #ffd1f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #071123;
  font-family: Merriweather;
  font-size: 24px;
}
.profile-content {
  flex: 1;
}
.profile-content h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}
.profile-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.profile-tag {
  color: var(--muted);
  font-size: 14px;
}
.profile-tag:not(:last-child)::after {
  content: "·";
  margin-left: 6px;
}
/* Efecto hover visual */
.profile-tag {
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.profile-tag.active {
  transform: scale(1.12);
  /* background: radial-gradient(circle at center, rgba(255, 230, 150, 0.35), rgba(255, 200, 80, 0.15)); */
   transform: scale(1.05);
   background: linear-gradient(90deg, var(--accent-6), var(--accent-7));
  
  box-shadow: 0 6px 25px rgba(66, 183, 255, 0.185);
  /* box-shadow: 0 0 18px rgba(255, 215, 100, 0.35); */
  color: #fff;
  border-color: rgba(43, 40, 37, 0.26);
}

.profile-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
}

/* -------------------------
       HERO CARD
       ------------------------- */
.card-hero {
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
  border: 1px solid var(--stroke);
  overflow: hidden;
  max-width: var(--content-width);
  margin: 0 auto 28px;
}
.kicker {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  font-size: 14px;
}
.title {
  font-family: Merriweather, serif;
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 18px;
  font-weight: 700;
}
.lead {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 15px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  backdrop-filter: blur(4px);
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.btn.primary {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: white;
  border: none;
  box-shadow: 0 14px 50px rgba(66, 183, 255, 0.14);
}
.btn.ghost {
  background: transparent;
  color: var(--muted);
}

/* subtle animated underline for 'ver servicios' */
.link-underline {
  position: relative;
  display: inline-block;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  border-radius: 2px;
  transition: width 0.28s var(--ease);
}
.link-underline:hover::after {
  width: 100%;
}

.purpose-text {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
}



p.muted strong {
  display: inline-block;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.4px;
  font-size: 1.02rem;
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  padding-left: 10px;
  margin-left: 4px;
}

/* Opcional: versión clara y limpia en fondos oscuros */
@media (prefers-color-scheme: dark) {
  p.muted strong {
    color: #f6f7f9e1;
    border-left-color: rgba(255, 255, 255, 0.25);
  }
}
}
/* Responsive: tamaño más equilibrado en móviles */
@media (max-width: 768px) {
  p.muted strong {
    font-size: 0.95rem;
    padding-left: 8px;
  }
}

/* === SECCIÓN GENERAL === */
.stats-section {
  background: var(--eerie-black-2);
  /* background: linear-gradient(135deg, #070b16, #0b1b2a); */
  color: white;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--eerie-black-2);
  /* background: radial-gradient(circle at 30% 20%, rgba(123, 97, 255, 0.068), transparent 70%),
              radial-gradient(circle at 80% 40%, rgba(66, 183, 255, 0.1), transparent 70%); */
  z-index: 0;
}

/* === CABECERA === */
.main-content {
  position: relative;
  z-index: 2;
  /* max-width: 1000px; */
  margin: 0 auto;
}

.main-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #b4aed3;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.04);
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.main-badge i {
  font-size: 1rem;
  color: #42b7ff;
}

.main-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.main-subtitle {
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 75px;
  line-height: 1.7;
}



/* === GRID DE ESTADÍSTICAS === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 2fr));
  gap: 24px;
  justify-items: center;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 28px 22px;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.35s ease;
  text-align: center;
  width: 100%;
  max-width: 240px;
}

.stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.09);
  background: var(--eerie-black-2);
  box-shadow: 0 10px 30px rgba(123, 97, 255, 0.25);
}

.stat-icon {
  font-size: 2rem;
  color: #42b7ff;
  margin-bottom: 12px;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}
}
/* === RESPONSIVE === */
@media (max-width: 768px) {
  .main-title {
    font-size: 1.6rem;
  }
  .stat-value {
    font-size: 1.45rem;
  }
  .stat-card {
    padding: 22px 16px;
  }
}

/* === ANIMACIÓN "REVEAL" === */
[data-reveal] {
  /* opacity: 0; */
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 0.8, 0.3, 1);
  margin-top: -60px;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}


/* -------------------------
       SECTIONS
       ------------------------- */
.section {
  margin-top: 32px;
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}
.section .card {
  padding: 24px;
  border-radius: 18px;
  /* background: var(--glass-3); */
  background: var(--eerie-black-2);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-lg);
}
.muted {
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 16px;
}
.service-card {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.205),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.service-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

/* -------------------------
       FOOTER
       ------------------------- */
footer {
  background: linear-gradient(
    180deg,
    rgba(17, 12, 12, 0.801),
    rgba(14, 13, 13, 0.801)
  );
  border-top: 1px solid var(--stroke);
  padding: 24px 28px;
  margin-top: 40px;
  text-align: center;
  backdrop-filter: blur(6px);
  flex-shrink: 0;
}

footer {
  position: relative;
  z-index: 1000;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--text);
}

.copyright {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

/* Contenedor de las etiquetas */
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ← centra horizontalmente */
  align-items: center; /* ← alinea verticalmente */
  gap: 10px 12px; /* espacio entre etiquetas */
  margin-top: 14px;
  text-align: center;
  
}

.profile-tag {
  background: transparent;
}

.profile-tags {
  position: relative;
  z-index: 1;
}


/* Estilo de cada etiqueta */
.profile-tag {
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13.5px;
  /* color: var(--muted); */
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Efecto hover premium */
.profile-tag:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(66, 183, 255, 0.4);
}



/* 
          //////////////////////////////////////////// */
:root {
  --accent: #a2ff5e;
  --gradient: linear-gradient(
    180deg,
    rgba(162, 255, 94, 1) 0%,
    rgba(74, 207, 255, 1) 100%
  );
  --shadow-l: 0 8px 20px rgba(0, 0, 0, 0.25);

  /* Ajustes finos */
  --timeline-left: 22px; /* posición de la línea vertical */
  --icon-lg: 46px; /* tamaño de los íconos */
  --icon-offset: 14px; /* centra ícono sobre la barra */
  --icon-bg: #0f172a; /* base sólida bajo el ícono */
  --card-bg: rgba(255, 255, 255, 0.06);
}

/* === Contenedor principal === */
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-left: 10px;
  z-index: 0;
}

/* Línea base (siempre debajo) */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--timeline-left);
  width: 3px;
  height: 100%;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  z-index: 0;
}

/* Barra de progreso (debajo) */
.timeline-progress {
  position: absolute;
  top: 0;
  left: var(--timeline-left);
  width: 3px;
  height: 0;
  background: var(--gradient);
  border-radius: 4px;
  transition: height 0.65s cubic-bezier(0.25, 0.9, 0.3, 1);
  z-index: 0;
}

/* === Ítems === */
.timeline-item {
  position: relative;
  padding: 30px 0; /* Espacio vertical igual arriba y abajo */
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: all 0.65s cubic-bezier(0.25, 0.9, 0.3, 1);
  z-index: 1;
  display: flex;
  align-items: center; /* Centra verticalmente el contenido */
  min-height: 100px; /* Altura mínima consistente */
}

.timeline-item.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* === Íconos (centrados verticalmente con el contenido) === */
.timeline-icon {
  font-size: 1.2rem;
  width: var(--icon-lg);
  height: var(--icon-lg);
  display: grid;
  place-items: center;
  color: var(--accent);
  border-radius: 50%;
  background: radial-gradient(
      120% 120% at 30% 20%,
      rgba(162, 255, 94, 0.24),
      rgba(74, 207, 255, 0.16)
    ),
    var(--icon-bg);
  border: 1px solid rgba(162, 255, 94, 0.35);
  box-shadow: inset 0 0 14px rgba(162, 255, 94, 0.18),
    0 6px 16px rgba(0, 0, 0, 0.28);
  transition: transform 0.55s cubic-bezier(0.25, 0.9, 0.3, 1), filter 0.55s ease,
    color 0.55s ease, box-shadow 0.55s ease;
  position: absolute;
  left: calc(var(--timeline-left) - var(--icon-offset));
  top: 50%; /* Centrado vertical perfecto */
  transform: translateY(-50%);
  z-index: 3;
  /* Animación de flotación suave */
  animation: floatIcon 12s ease-in-out infinite;
  margin-top: 25px;
  margin-left: -12px;
}

/* Animación de flotación para los iconos */
@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(-50%) translateY(0);
  }
  50% {
    transform: translateY(-50%) translateY(-5px);
  }
}

/* Hover manual o automático - mantiene los estilos originales pero con animación mejorada */
.timeline-icon.hovered,
.timeline-icon:hover {
  animation: hoverFloat 1.2s ease-in-out infinite;
  color: #fff;
  filter: drop-shadow(0 0 18px rgba(161, 255, 94, 0.301));
  box-shadow: 0 0 26px rgba(161, 255, 94, 0.178),
    inset 0 0 20px rgba(161, 255, 94, 0.171);
}

@keyframes hoverFloat {
  0%,
  100% {
    transform: translateY(-50%) translateY(-3px) scale(1.1);
  }
  50% {
    transform: translateY(-50%) translateY(2px) scale(1.05);
  }
}

/* Estado completado opcional con animación */
.timeline-item.completed .timeline-icon {
  background: linear-gradient(
    135deg,
    rgba(162, 255, 94, 1),
    rgba(74, 207, 255, 1)
  );
  color: #06121a;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(74, 207, 255, 0.25),
    inset 0 0 14px rgba(0, 0, 0, 0.12);
  animation: completedPulse 12s ease-in-out infinite;
}

@keyframes completedPulse {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 8px 20px rgba(74, 207, 255, 0.25),
      inset 0 0 14px rgba(0, 0, 0, 0.12);
  }
  50% {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 28px rgba(74, 207, 255, 0.4),
      inset 0 0 18px rgba(0, 0, 0, 0.18);
  }
}

/* Diferentes delays para crear efecto de onda */
.timeline-item:nth-child(1) .timeline-icon {
  animation-delay: 0s;
}

.timeline-item:nth-child(2) .timeline-icon {
  animation-delay: 0.3s;
}

.timeline-item:nth-child(3) .timeline-icon {
  animation-delay: 0.6s;
}

.timeline-item:nth-child(4) .timeline-icon {
  animation-delay: 0.9s;
}

.timeline-item:nth-child(5) .timeline-icon {
  animation-delay: 1.2s;
}

/* === Tarjetas (contenido) === */
.timeline-content {
  margin-left: calc(var(--timeline-left) + var(--icon-lg) + 20px);
  padding: 20px 24px;
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.089),
    rgba(255, 255, 255, 0.055)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.55);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  min-height: 100px; /* Altura mínima consistente */
  display: flex;
  flex-direction: column;

  justify-content: center; /* Centra el contenido verticalmente */
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(2, 6, 23, 0.65);
}

.timeline-content h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.3;
}

.timeline-content p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #cbd5e1;
}
/* === Responsive === */
@media (max-width: 640px) {
  :root {
    --timeline-left: 16px;
    --icon-lg: 38px;
    --icon-offset: 11px;
  }

  .timeline-item {
    margin-bottom: 26px;
    padding-top: 22px;
  }
  .timeline-icon {
    top: -12px;
  }
  .timeline-content {
    margin-left: 60px;
    padding: 14px 16px;
  }
}

@media (max-width: 900px) {
  .differential {
    grid-template-columns: 1fr;
  }
}

.differential-content {
  padding-right: 20px;
}

.differential-image {
  position: relative;
  border-radius: var(--rad-lg);
  overflow: hidden;
  box-shadow: var(--shadow-l);
}

.differential-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(162, 255, 94, 0.1),
    rgba(74, 207, 255, 0.1)
  );
  z-index: 1;
}

.differential-feature {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.differential-feature i {
  color: var(--accent);
  font-size: 24px;
  margin-top: 5px;
}

/* Responsive: menor padding en pantallas pequeñas */

/* -------------------------
       RESPONSIVE
       ------------------------- */
@media (max-width: 980px) {
  .container {
    padding: 20px;
    margin: 20px auto;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .profile {
    flex-direction: column;
    text-align: center;
  }
  .avatar {
    margin: 0 auto;
  }
  .profile-tags {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .highlights {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Forzar que la imagen se vea arriba y centrada --- */
@media (min-width: 981px) {
  .profile {
    flex-direction: column; /* Coloca la imagen arriba y el texto debajo */
    align-items: center; /* Centra horizontalmente */
    text-align: center; /* Centra el texto también */
  }

  .avatar {
    margin-bottom: 16px; /* Espacio entre la imagen y el texto */
  }

  .profile-content {
    width: 100%; /* Asegura que el contenido ocupe todo el ancho */
  }

  .highlights {
    justify-content: center; /* Centra los “pills” */
  }
}

@media (max-width: 520px) {
  .title {
    font-size: 24px;
  }
  .avatar {
    width: 95px;
    height: 95px;
    font-size: 20px;
  }
  .logo {
    width: 48px;
    height: 48px;
  }
  .card-hero {
    padding: 20px;
    border-radius: 16px;
  }
  .profile-card {
    padding: 20px;
  }
  .container {
    padding: 16px;
  }
  .kicker {
    display: none;
  }
  .btn {
    padding: 10px 16px;
    font-size: 13px;
  }
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}
/* mobile sliding menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 100%;
  max-width: 100vw;
  background: linear-gradient(
    180deg,
    rgba(7, 17, 35, 0.98),
    rgba(10, 14, 24, 0.995)
  );
  backdrop-filter: blur(20px);
  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.5);
  transition: right 0.4s var(--ease);
  z-index: 99;
  padding: 80px 30px 30px;
  overflow-y: auto;
}

.mobile-menu.show {
  right: 0;
}

.mobile-close {
  position: absolute;
  top: 25px;
  right: 25px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s var(--ease);
}

.mobile-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu nav a {
  display: block;
  padding: 15px 20px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  border-radius: 10px;
  transition: all 0.2s var(--ease);
  border: 1px solid transparent;
}

.mobile-menu nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

/* small utilities */
.text-small {
  font-size: 13px;
  color: var(--muted);
}

/* --- Fondo ocultable al hacer scroll --- */
.bg-layer.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
/* Tarjeta general */
.profile-card {
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.profile {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- AVATAR CIRCULAR ---------- */
.avatar {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #222 20%, #000 100%);
  box-shadow: 0 0 35px rgba(3, 13, 19, 0.575);
}

/* Imagen */
.avatar img {
  width: 95%;
  height: 95%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

/* ---------- ANILLO CIRCULAR ANIMADO ---------- */
.avatar .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #e2e0eb77,
    #57a012c2,
    #8cc2ff,
    #e6e0d3c9,
    #a5dab2
  );
  /* animation: spinRing 5s linear infinite; */
  z-index: 1;
  padding: 4px;
  -webkit-mask: linear-gradient(#17275a91 0 0) content-box,
    linear-gradient(#93dd1c1e 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Efecto circular rotativo */
@keyframes spinRing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ---------- CONTENIDO ---------- */
.profile-content h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.profile-tag {
  /* background: rgba(255,255,255,0.08); */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--muted);
  transition: all 0.3s ease;
}

.profile-tag:hover {
  background: linear-gradient(90deg, var(--accent-3), var(--accent-4));
  color: white;
  transform: scale(1.05);
}

/* Contenedor del bloque */
.about-card {
  text-align: center; /* centra texto */
  padding: 40px 24px; /* espacio interno */
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  margin: 0 auto;
  max-width: 800px; /* ancho máximo controlado */
}

/* Título premium centrado y animado */
.gradient-title {
  font-family: "Merriweather", serif;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #42b7ff, #ffd166, #ff8cab, #7b61ff);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* animation: flowGradient 15s ease-in-out infinite; */
  text-shadow: 0 2px 14px rgba(66, 255, 176, 0.123);
  margin-top: 0;
  margin-bottom: 16px;
  text-align: center;
}

.gradient-title-2 {
  font-family: "Merriweather", serif;
  font-weight: 900;
  font-weight: bolder;
  font-size: 30px;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #42b7ff, #ffd166, #ff8cab, #7b61ff);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* animation: flowGradient 15s ease-in-out infinite; */
  text-shadow: 0 2px 14px rgba(66, 255, 176, 0.123);
  margin-top: 0;
  margin-bottom: -286px;
  text-align: center;
}

/* Animación del degradado */
@keyframes flowGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Texto del párrafo */
.about-text {
  color: var(--muted);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .gradient-title {
    font-size: 33px;
    font-weight: 900;
  }
  .about-card {
    padding: 28px 18px;
  }
  .about-text {
    font-size: 15px;
  }
}



/* 

////////////////////////////NUEVO////////////////////// */
/* ==========================
   Partners Slider - CSS
   ========================== */

/* Animación scroll infinito */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Contenedor principal */
.slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: transparent; /* 🔹 Mantener fondo transparente */
  padding: 20px 0;
}



            /* === Contenedor principal del carrusel === */
        .logo-carousel {
            position: relative;
            overflow: hidden;
            width: 100%;
            margin: 2rem auto;
            padding: 1.5rem 0;
            /* border-top: 1px solid var(--gold-light);
            border-bottom: 1px solid var(--gold-light); */
            max-width: 1400px;
           
  z-index: 1000;
        }

        /* === Pista de logos con animación más lenta === */
        .logo-track {
            display: flex;
            gap: 4rem;
            animation: scroll 85s linear infinite; /* Reducida velocidad de 40s a 60s */
            width: max-content;
            align-items: center;
            will-change: transform;
             position: relative;
  z-index: 1000;
        }

        /* Pausa la animación al hacer hover */
        .logo-carousel:hover .logo-track {
            animation-play-state: paused;
            color: #00bfa5;
        }

        .logo-item {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 140px;
            height: 70px;
            padding: 0.5rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            position: relative;
        }

        .logo-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, var(--gold-light), transparent);
            border-radius: 8px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .logo-item:hover::before {
            opacity: 1;
        }

        .logo-track img {
            height: 50px;
            width: auto;
            filter: grayscale(100%) brightness(0.8);
            opacity: 0.7;
            transition: all 0.4s ease;
            object-fit: contain;
        }

        .logo-item:hover img {
            filter: grayscale(0%) brightness(1.1);
            opacity: 1;
            transform: scale(1.08);
        }

        /* Animación de desplazamiento más lenta */
        @keyframes scroll {
            0%   { transform: translateX(0); }
            100% { transform: translateX(calc(-140px * 12 - 4rem * 11)); }
        }

        /* === Efectos de desvanecimiento lateral mejorados === */
        .logo-carousel::before,
        .logo-carousel::after {
            content: "";
            position: absolute;
            top: 0;
            width: 150px;
            height: 100%;
            z-index: 3;
            pointer-events: none;
        }

        .logo-carousel::before {
            left: 0;
            /* background: linear-gradient(to right, var(--bg-dark) 0%, rgba(10, 10, 10, 0) 100%); */
        }

        .logo-carousel::after {
            right: 0;
            /* background: linear-gradient(to left, var(--bg-dark) 0%, rgba(10, 10, 10, 0) 100%); */
        }

        /* === Efectos de partículas mejorados === */
        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            background: var(--gold-light);
            border-radius: 50%;
            animation: float 15s infinite linear;
        }

        @media (max-width: 768px) {
  .logo-carousel {
    margin-top: 45px !important;
  }
}


        @keyframes float {
            0% {
                transform: translateY(0) translateX(0) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.5;
            }
            90% {
                opacity: 0.3;
            }
            100% {
                transform: translateY(-100px) translateX(100px) rotate(360deg);
                opacity: 0;
            }
        }

        /* === Ajustes para tablets === */
        @media (max-width: 1024px) {
            .logo-track {
                gap: 3rem;
                animation-duration: 90s; /* Velocidad reducida también en tablets */
            }
            
            .logo-item {
                min-width: 120px;
                height: 60px;
            }
            
            .logo-track img {
                height: 45px;
            }
        }

        /* === Ajustes para móviles === */
        @media (max-width: 768px) {
            .section-title {
                font-size: 1.5rem;
            }
            
            .logo-carousel {
                margin: 1rem auto;
                padding: 2rem 0;
                
            }

            .logo-track {
                gap: 2rem;
                animation-duration: 90s; /* Velocidad reducida también en móviles */
            }

            .logo-item {
                min-width: 90px;
                height: 50px;
            }

            .logo-track img {
                height: 35px;
            }

            .logo-carousel::before,
            .logo-carousel::after {
                width: 60px;
            }

            @keyframes scroll {
                0%   { transform: translateX(0); }
                100% { transform: translateX(calc(-90px * 12 - 2rem * 11)); }
            }
        }

        @media (max-width: 480px) {
            .logo-track {
                gap: 1.5rem;
                animation-duration: 90s; /* Velocidad reducida también en móviles pequeños */
            }

            .logo-item {
                min-width: 80px;
                height: 45px;
            }

            .logo-track img {
                height: 47px;
            }
            
            .logo-carousel::before,
            .logo-carousel::after {
                width: 40px;
            }
            
            @keyframes scroll {
                0%   { transform: translateX(0); }
                100% { transform: translateX(calc(-80px * 12 - 1.5rem * 11)); }
            }
        }


/* ===============================
   SLIDER SERVICIOS
=================================*/

.slider-section{
  padding: 80px 20px;
}

.section-header{
  text-align: center;
  max-width: 820px;
  margin: 0 auto 25px;
}

/* .section-title{
  font-size: clamp(28px,4vw,40px);
  background: linear-gradient(90deg,#f6d365,#fda085);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  margin-bottom: 12px;
} */

.section-subtitle{
  opacity:.8;
}

/* CONTENEDOR SWIPER */
.mySwiper{
  max-width:1100px;
  margin: 0 auto;
  padding-bottom:60px;
}

/* SLIDE */
.swiper-slide{
  position: relative;
  border-radius:20px;
  overflow:hidden;
  height:420px;
  background:#000;
}

.swiper-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(.7);
}

/* BADGE */
.swiper-slide-active-indicator{
  position:absolute;
  top:15px;
  right:15px;
  background:linear-gradient(90deg,#f6d365,#fda085);
  color:#000;
  font-size:11px;
  padding:4px 10px;
  border-radius:20px;
  letter-spacing:.6px;
  z-index:2;
}

/* CONTENIDO */
.slide-content{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:26px;
  /* background:linear-gradient(to top, rgba(0,0,0,.75), transparent); */
  z-index:1;
}

.slide-overlay h3{
  margin:0 0 6px;
  font-size:22px;
  color:#fff;
}

.slide-overlay p{
  color:#ddd;
  max-width:80%;
  font-size:14px;
  margin-left: 35px;
}

/* ====== SWIPER ====== */
.mySwiper {
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  position: relative;
}

/* ====== SLIDES ====== */
.swiper-slide {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  height: 250px;
}

/* 🔹 Degradado inferior sutil */
.swiper-slide::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%; /* solo cubre la parte inferior */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.74) 15%,
    rgba(0, 0, 0, 0.329) 40%,
    rgba(0, 0, 0, 0.05) 55%,
    rgba(0, 0, 0, 0.089) 100%
  );
  z-index: 1;
  opacity: 3;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* 🔸 Capa de fondo para contraste global */
.swiper-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.55) 10%,
    rgba(0, 0, 0, 0.514) 70%,
    rgba(0, 0, 0, 0.445) 100%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.4s ease;
}

.swiper-slide:hover::after {
  opacity: 1;
}

.swiper-slide:hover::before {
  opacity: 1.1;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) contrast(1.05);
  transition: var(--transition);
}

.swiper-slide:hover img {
  transform: scale(1.1);
  filter: brightness(0.65);
}

/* ====== CONTENIDO SLIDE ====== */
.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 2;
  transition: var(--transition);
}

.swiper-slide:hover .slide-content {
  transform: translateY(-10px);
}

.slide-overlay {
  margin-bottom: 20px;
}

.slide-overlay h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-overlay p {
  font-size: 0.8rem;
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #f5f5f5;
}

.slide-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.swiper-slide:hover .slide-link {
  opacity: 1;
  transform: translateY(0);
}

.slide-link:hover {
  color: var(--text-light);
  transform: translateX(5px);
}

.slide-link i {
  margin-left: 8px;
  transition: var(--transition);
}

.slide-link:hover i {
  transform: translateX(5px);
}



/* LINK */
.slide-link{
  margin-top:12px;
  align-self:flex-start;
  color:#fda085;
  font-weight:600;
  text-decoration:none;
  transition:.2s ease;
}

.slide-link:hover{
  letter-spacing:1px;
}

/* BOTONES */
.swiper-button-next,
.swiper-button-prev{
  color:#fda085;
  transform: scale(.9);
}


/* ====== BOTONES DE NAVEGACIÓN ====== */
.swiper-button-next,
.swiper-button-prev {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}



/* PUNTOS */
.swiper-pagination-bullet{
  background:#fda085;
}

/* PROGRESS BAR */
.swiper-progress-bar{
  height:4px;
  background:rgba(255,255,255,.15);
  border-radius:20px;
  overflow:hidden;
  margin:20px auto 0;
  max-width:240px;
}

.slide-progress{
  height:100%;
  width:0%;
  background:linear-gradient(90deg,#f6d365,#fda085);
  transition:width .3s linear;
}

/* RESPONSIVE */
@media(max-width:768px){
  .swiper-slide{height:340px}

  .slide-overlay h3{
  margin:0 0 6px;
  font-size:22px;
  color:#fff;
  text-align: center;
}

.slide-overlay p{
  color:#ddd;
  max-width:80%;
  font-size:14px;
  margin-left: 35px;
}

}



/* Ocultar texto del slide */
.slide-text-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}


/* =========================
   FOOTER PROFESIONAL
   ========================= */

.footer {
  margin-top: 80px;
  padding: 50px 20px 25px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.015)
  );
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.footer-container {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

/* Marca */
.footer-brand h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  background: linear-gradient(90deg, #c7c8ff, #9ddcff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* Bloques */
.footer-links h4,
.footer-meta h4 {
  font-size: 0.95rem;
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links ul,
.footer-meta ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-meta li {
  margin-bottom: 10px;
}

/* Enlaces */
.footer a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
}

/* Hover elegante */
.footer a:hover {
  color: #ffffff;
  padding-left: 4px;
}

/* Línea inferior */
.footer-bottom {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-links ul,
  .footer-meta ul {
    align-items: center;
  }
}


/* Contenedor con límite inicial */
.achievements-wrapper {
  max-height: 520px;           /* desktop */
  overflow: hidden;
  position: relative;
  transition: max-height 0.6s ease;
}

/* Sombra inferior para indicar más contenido */
.achievements-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), var(--dark));
}

/* Estado expandido */
.achievements-wrapper.expandido {
  max-height: none;
}

.achievements-wrapper.expandido::after {
  display: none;
}

.footer-links h4 {
  position: relative;
  margin-bottom: 18px;
  padding-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Línea debajo del título */
.footer-links h4::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}





/* Botón */
.achievements-cta {
  position: relative;
  z-index: 10; /* 👈 CLAVE */
  text-align: center;
  margin-top: 30px;
}


.btn-ver-mas {
  background: linear-gradient(135deg, var(--accent), #ff9f43);
  color: #000;
  border: none;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-ver-mas:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Mobile */
@media (max-width: 768px) {
  .achievements-wrapper {
    max-height: 420px;
  }

  .btn-ver-mas {
    width: 100%;
    max-width: 280px;
  }
}


.footer-links ul li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* color: rgba(255, 255, 255, 0.85); */
  text-decoration: none;
}

/* Etiqueta NUEVO */
.badge-nuevo {
  background: linear-gradient(135deg, #3dff7a, #1fd65f);
  color: #0b2e16;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
  
}

@media (max-width: 480px) {
  .footer-links ul li a {
    gap: 6px;
  }
}


/* Hover */
.footer-links ul li a:hover {
  color: var(--accent);
}


/* Enlaces con badge */
.footer-links ul li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Badge DESTACADO */
.badge-destacado {
  background: linear-gradient(135deg, #229dce, #cebdf57c);
  color: #3a2a00;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Hover mantiene consistencia */
.footer-links ul li a:hover {
  color: var(--accent);
}
