/* === RESET & TIPOGRAFÍA === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Inter', sans-serif;
  color: #495057;
  line-height: 1.6;
  background-color: #f4f4f4;
}
h1, h2, h3, h4, .logo-text {
  font-family: 'IBM Plex Sans', sans-serif;
}

/* === LAYOUT GENERAL === */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
a {
  text-decoration: none;
  color: inherit;
}

.highlight {
  color: #A259FF; 
  font-weight: 700;
  font-size: 3rem;
}
.highlight:hover {
  background: grey;
  color: white;
}

/* === HEADER === */
.site-header {
  background: rgba(44, 42, 74, 0.95);
  backdrop-filter: blur(5px);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-text {
  font-size: 2rem;
  font-weight: 600;
  color: #0BD3D3;
}
.site-header nav a {
  margin-left: 1.25rem;
  font-weight: 500;
  color: white;
}
.btn-cta {
  background: #0BD3D3;
  color: #2C2A4A;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: bold;
}
.btn-cta:hover {
  background: #A259FF;
  color: white;
}

/* === HERO === */
.hero {
  background: url('https://images.unsplash.com/photo-1556740738-b6a63e27c4df?auto=format&fit=crop&w=1950&q=80') center center / cover no-repeat;
  color: white;
  text-align: center;
  min-height: 70vh;
  padding: 6rem 1rem;
  position: relative;
  z-index: 1;
}
.hero .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44, 42, 74, 0.7);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.btn-primary {
  background-color: #0BD3D3;
  color: #2C2A4A;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
}
.btn-primary:hover {
  background-color: #A259FF;
  color: white;
  transition: all 0.3s ease;
}

/* === HERO BOX - Recuadro Glass === */
.hero-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 15px;
  max-width: 700px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  color: white;
  text-align: center;
  animation: fadeInUp 1s ease-in-out;
}

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


/* === SECCIONES === */
.section {
  padding: 6rem 1rem;
  position: relative;
  z-index: 2;
}
.section h3 {
  text-align: center;
  margin-bottom: 2rem;
}
.alt {
  background: #E9ECEF;
}
.light {
  background: #ffffff;
}

/* === SERVICIOS - TARJETAS CLICABLES === */
.grid.icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: rgba(255, 255, 255, 0.1); /* Fondo translúcido */
  backdrop-filter: blur(10px);         /* Difuminado de fondo */
  -webkit-backdrop-filter: blur(10px); /* Compatibilidad Safari */
  border: 1px solid rgba(255, 255, 255, 0.2); /* Borde sutil */
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
  color: white;
}

.service-card:hover {
  background: rgba(11, 211, 211, 0.15); /* Sky Cyan con transparencia */
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(11, 211, 211, 0.4);
  box-shadow: 0 8px 24px rgba(11, 211, 211, 0.2);
  transition: all 0.3s ease;
}

.service-card i {
  font-size: 2rem;
  color: #0BD3D3;
  margin-bottom: 1rem;
}
#servicios {
  margin-top: 2rem;
}

#servicios h3 {
  color: white;
  font-size: 3.5rem;
}

/* === SECCIÓN EQUIPO === */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.team-member {
  max-width: 220px;
  text-align: center;
  display:flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: none;/* 0 8px 20px rgba(0, 0, 0, 0.1);*/
}
.team-member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* === CÓMO TRABAJAMOS / PROCESO === */
.grid.roadmap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.step {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.08);
}
.step i {
  font-size: 2rem;
  color: #0BD3D3;
  margin-bottom: 1rem;
}

#proceso h3 {
  color:white;
  font-size: 3.5rem;
}

/* === MODALES === */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: rgba(255, 255, 255, 0.85); /* Fondo semitransparente */
  backdrop-filter: blur(15px);         /* Efecto glass */
  -webkit-backdrop-filter: blur(15px); /* Compatibilidad Safari */
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2rem;
  border-radius: 15px;
  max-width: 500px;
  text-align: center;
  position: relative;
  color: #2C2A4A;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

/* === FOOTER === */
/* === LAYOUT BASE PARA FOOTER FIJO ABAJO === */
body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

main {
  padding-bottom: 2rem; /* espacio entre contenido y footer */
}

/* === FOOTER ESTILO === */
.site-footer {
  background: #2C2A4A;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}


/* === PARTICULAS - CONTENEDOR DE FONDO === */
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
/* === HAMBURGUESA === */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}
.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
}

/* === NAV DESKTOP === */
.site-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* === NAV MOBILE === */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(44, 42, 74, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); /* << aquí */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}


.site-nav.show {
  opacity: 1;
  pointer-events: auto;
}


  .site-nav.show {
    opacity: 1;
    pointer-events: auto;
  }

 .site-nav a {
  display: block;
  width: 100%;
  padding: 0.75rem 0;
  color: white;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

/* Indicador lateral moderno */
.site-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: transparent;
  transition: background-color 0.3s ease;
  border-radius: 2px;
}

/* Hover visual con color de marca */
.site-nav a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  padding-left: 1rem;
  color: #0BD3D3; /* EMPROY cyan */
}

.site-nav a:hover::before {
  background-color: #0BD3D3;
}


  .btn-cta {
    width: 100%;
    margin-top: 0.5rem;
  }
}
/* === ICONO FLOTANTE WHATSAPP === */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  z-index: 999;
  animation: float 2.5s ease-in-out infinite;
}
.floating-whatsapp img {
  width: 100%;
  height: auto;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* === BOTÓN DE CORREO PERSONALIZADO === */
.btn-mail {
  display: inline-block;
  background-color: #2C2A4A;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  margin-top: 1.5rem;
  transition: background 0.3s ease;
}
.btn-mail i {
  margin-right: 0.5rem;
}
.btn-mail:hover {
  background-color: #0BD3D3;
  color: #2C2A4A;
}
.step svg {
  width: 2.5rem;
  height: 2.5rem;
  color: #0BD3D3;
  margin-bottom: 1rem;
  stroke-width: 2.2;
  transition: transform 0.3s ease;
}
.step svg:hover {
  transform: scale(1.1);
}

/* === TESTIMONIOS === */
.testimonial-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0;
}
.testimonial-card {
  flex: 0 0 300px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  scroll-snap-align: start;
}
.testimonial-card p {
  font-style: italic;
}
.testimonial-card h4 {
  margin-top: 1rem;
  font-weight: 600;
}
.testimonial-card span {
  font-size: 0.9rem;
  opacity: 0.7;
}
/* === RECURSOS === */
.recursos-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 2rem;
}
.recurso-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
  border-radius: 12px;
  color: white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.recurso-card h4 {
  margin-bottom: 0.5rem;
}
.recurso-card p {
  flex-grow: 1;
  font-size: 0.95rem;
}
.recurso-card .btn-primary {
  margin-top: 1rem;
  align-self: flex-start;
}

.typewriter-container {
  font-size: 1.2rem;
  color: white;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
#typewriter-word::after {
  content: '|';
  animation: blink 1s step-end infinite;
  margin-left: 2px;
  color: #0BD3D3;
  font-weight: 600;
}
#typewriter-word {
  display: inline-block;
  min-width: 11ch;
  white-space: nowrap;
  overflow: hidden;
  color: #0BD3D3;
  font-weight: 600;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #0BD3D3; }
}


/* 
=== ANIMACIÓN MENU MOBILE === 
.site-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.site-nav.show {
  max-height: 500px; 
}
*/
/*.step i {
  width: 2.5rem;
  height: 2.5rem;
  color: #0BD3D3;
  margin-bottom: 1rem;
  stroke-width: 2.2; 
}
.step i:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}
*/



