body {
  margin: 0;
  padding: 0;
  background-color: #000000;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header {
  background-color: #050505;
  padding: 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid #000000;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  color: #fff;
}

nav ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #fff;
}

main {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}
/* ==== CURSO: forzar que el iframe quede por encima del fondo ==== */
#cursoPromoHost,
#cursoPromoHost * {
  box-sizing: border-box;
}

#cursoPromoHost {
  position: relative;   /* crea stacking context */
  z-index: 1000;        /* eleva toda la sección del curso */
}

#cursoPromoFrame {
  position: relative;   /* necesario para que el z-index surta efecto */
  z-index: 1001;
  background: #0b1118;  /* evita ver el fondo a través */
  border-radius: 16px;
  display: block;
}

/* Si también usas el host alternativo basado en JS (cursoFormHost) */
#cursoFormHost { position: relative; z-index: 1000; }
#cursoFormHost iframe { position: relative; z-index: 1001; }









footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #ffffff;
  border-top: 1px solid #333;
  background-color: #111;
}

.footer-modern {
  background: radial-gradient(ellipse at center, #1e1b2e 0%, #000000 100%);
  color: #ccc;
  font-family: 'Segoe UI', sans-serif;
  padding: 60px 30px 30px;
  text-align: center;
}

.footer-cta h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
}

.footer-cta p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #aaa;
}

.gradient-text {
  background: linear-gradient(to right, #2fe7ff, #3dabdf, #1fddff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-button {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 30px;
  background: linear-gradient(to right, #2fffff, #1fa2ff);
  color: white;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  transition: opacity 0.3s;
}

.footer-button:hover {
  opacity: 0.8;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 50px;
  text-align: left;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  color: rgb(34, 190, 238);
}

.footer-logo img {
  width: 270px;
  height: 60px;
}

.footer-logo .dot {
  color: white;
}

.footer-col h3 {
  font-size: 1rem;
  color: white;
  margin-bottom: 10px;
}

.footer-col p {
  margin: 4px 0;
  font-size: 0.9rem;
  color: #bbb;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid #555;
  padding-bottom: 5px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 5px;
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: #888;
}

.newsletter-form button {
  background: none;
  border: none;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.newsletter-form .icon {
  margin-left: 5px;
  color: #ff5520;
}

.footer-bottom {
  margin-top: 40px;
  font-size: 0.85rem;
  color: #777;
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
}

.contenido-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  gap: 2rem;
  flex-wrap: wrap;
}

.banner-texto {
  flex: 1;
  color: white;
  text-align: left;
  min-width: 300px;
}

.banner-texto h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.banner-texto p {
  font-size: 1.3rem;
  color: #ccc;
  line-height: 1.6;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.15);
}

.banner-imagen {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: flotar 4s ease-in-out infinite;
  min-width: 280px;
}

.banner-imagen img {
  max-width: 140%;
  height: auto;
  object-fit: contain;
}

/* Efecto flotante */
@keyframes flotar {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 768px) {
  .contenido-banner {
    flex-direction: column;
    text-align: center;
  }
  .banner-texto, .banner-imagen {
    text-align: center;
  }
  .banner-texto h1 {
    font-size: 2.5rem;
  }
}


/* Efecto máquina de escribir */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  100% { border-color: transparent }
}
.contenedor-inframe {
  width: 100%;
  max-width: 1200px;
  height: 600px;
  margin: 00px auto;
  padding: 0;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
  border: none;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.contenedor-inframe iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.titulo-destacado {
  text-align: center;
  padding: 4rem 2rem 2rem;
  color: white;
  max-width: 900px;
  margin: 0 auto;
}

.titulo-destacado h2 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.color-primario {
  color: #00ffff; /* Cian claro o tu color de marca primario */
}

.color-secundario {
  color: #ff00ff; /* Fucsia o color secundario vibrante */
}

.titulo-destacado p {
  font-size: 1.2rem;
  color: #ccc;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 0 5px rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .titulo-destacado h2 {
    font-size: 2.5rem;
  }

  .titulo-destacado p {
    font-size: 1rem;
  }
}
.quienes-somos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: #0c0c0c8e;
  color: white;
  gap: 40px;
}

.quienes-somos .contenido {
  flex: 1 1 400px;
  max-width: 600px;
}

.quienes-somos h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.quienes-somos h2 span {
  color: #ffffff;
}

.quienes-somos h2 .botsoft {
  background: linear-gradient(to right, #ff4d4d, #9966ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.quienes-somos p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #ccc;
}

.video-container {
  flex: 1 2 300px;
  max-width: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.descripcion-encubadora {
  background-color: #0a0a0a;
  padding: 50px 20px;
  text-align: center;
}

.descripcion-encubadora h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #ff4d4d, #ffcc00, #00ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.descripcion-encubadora p {
  font-size: 1.2rem;
  color: #ddd;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}
/* ===== VIDEOS E IFRAMES RESPONSIVE (GENÉRICO) ===== */

/* Contenedor centrado y con ratio por defecto 16:9 */
.video-container{
  position: relative;
  width: min(100%, 1100px);  /* ancho máx, ajústalo si quieres */
  margin-inline: auto;       /* centrado */
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Vídeo o iframe ocupa todo el contenedor sin deformarse */
.video-container video,
.video-container iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;         /* llena sin “aplastar” */
  object-position: center;
  border: 0;
}

/* En móviles muy estrechos puedes forzar 9:16 si prefieres “vertical” */
@media (max-width: 520px){
  .video-container{ aspect-ratio: 9/16; } /* quítalo si no lo quieres */
}

/* ===== EXTRA: centrar y hacer responsive cualquier iframe embebido ===== */
.responsive-embed{
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 16px;
}
.responsive-embed iframe{
  position:absolute; inset:0; width:100%; height:100%;
  border:0; display:block;
  background:#000;
}
/* ===== TÍTULO MODERNO RESPONSIVE ===== */
.titulo-moderno{
  position: relative;
  width: min(100%, 1100px);
  margin: 28px auto 0;
  padding: clamp(14px, 2.5vw, 28px) 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 16px);
  text-align: center;
  border-radius: 18px;
  isolation: isolate;                 /* asegura el fondo debajo */
}

/* Fondo responsivo (brillo + banda) */
.titulo-moderno::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(120% 120% at 50% 0%,
      rgba(0, 255, 200, 0), transparent 60%),
    linear-gradient(90deg,
      rgba(0, 255, 255, 0), rgba(0, 255, 162, 0));
  filter: blur(18px);
  border-radius: 20px;
  z-index:-1;                         /* queda detrás del título */
}

/* Subrayado decorativo centrado */
.titulo-moderno::after{
  content:"";
  position:absolute;
  left:50%; transform:translateX(-50%);
  bottom: clamp(8px, 1.5vw, 14px);
  width: clamp(120px, 26%, 260px);
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg,#00e5ff18,#00ffa21f);
  opacity:.9;
}

.titulo-texto{
  margin:0;
  line-height:1.15;
  font-weight:800;
  font-size: clamp(1.25rem, 1.6vw + 0.9rem, 2.2rem); /* escala fluida */
  letter-spacing:.2px;
  color:#eaf9ff;
  text-wrap: balance;
}

/* Icono al lado del título */
.titulo-icono{
  width: clamp(28px, 4vw, 48px);
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 16px rgba(0, 255, 200, 0.048));
}

/* Ajustes en pantallas pequeñas */
@media (max-width:480px){
  .titulo-moderno{ padding: 16px 12px; gap:10px; }
  .titulo-icono{ width: 32px; }
}
/* ===== TÍTULO CON VIDEO RESPONSIVE ===== */
.titulo-moderno{
  position: relative;
  width: min(100%, 1100px);
  margin: 28px auto 0;
  padding: clamp(16px, 3vw, 28px) 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 16px);
  text-align: center;
  border-radius: 18px;
  overflow: hidden;            /* recorta el video */
  min-height: clamp(140px, 22vh, 260px);  /* alto fluido */
  isolation: isolate;
  z-index: 1;
}

/* Capa del video de fondo */
.titulo-video{
  position: absolute;
  inset: 0;
  z-index: -2;                 /* detrás del contenido */
}
.titulo-video video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;           /* llena sin deformar */
  object-position: center;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

/* Overlay para mejorar legibilidad del texto */
.titulo-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(5,22,26,.75), rgba(5,22,26,.35) 50%, rgba(5,22,26,.15)),
    radial-gradient(120% 120% at 50% 0%, rgba(221, 221, 221, 0.034), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

/* Subrayado decorativo centrado */
.titulo-moderno::after{
  content:"";
  position:absolute;
  left:50%; transform:translateX(-50%);
  bottom: clamp(8px, 1.5vw, 14px);
  width: clamp(120px, 26%, 260px);
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg,#00e5ff0c,#00ffa200);
  opacity:.9;
}

/* Texto e icono */
.titulo-texto{
  margin:0;
  line-height:1.15;
  font-weight:800;
  font-size: clamp(1.25rem, 1.6vw + 0.9rem, 2.2rem);
  letter-spacing:.2px;
  color:#eaf9ff;
  text-wrap: balance;
}
.titulo-icono{
  width: clamp(28px, 4vw, 48px);
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 16px rgba(241, 241, 241, 0.041));
}

/* Accesibilidad: si el usuario prefiere menos movimiento, no mostramos el video */
@media (prefers-reduced-motion: reduce){
  .titulo-video video{ display:none; }
  .titulo-overlay{ background: rgba(5, 22, 26, 0.068); }
}
/* Hace que el contenedor pueda usar container queries */
.titulo-moderno{
  container-type: inline-size;
  width: min(100%, 1100px);
  margin-inline: auto;
  padding: clamp(12px, 2.4vw, 28px) 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 16px);
  border-radius: 18px;
  text-align: center;
}

/* Texto del título: tipografía fluida y sin desbordes */
.titulo-texto{
  margin: 0;
  font-weight: 800;
  line-height: 1.15;
  /* Tipografía fluida real: mínimo 20px, ideal según ancho, máximo 44px */
  font-size: clamp(1.25rem, 2.2vw + 0.6rem, 2.75rem);
  letter-spacing: .2px;
  color: #eaf9ff;

  /* Evita cortes feos y ajusta líneas de forma estética */
  text-wrap: balance;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

/* Icono acompaña al texto y también escala */
.titulo-icono{
  width: clamp(28px, 4vw, 48px);
  height: auto;
  flex: 0 0 auto;
}

/* ——— Ajustes finos por tamaño del CONTENEDOR (no de la ventana) ——— */
@container (max-width: 520px){
  .titulo-texto{
    font-size: clamp(1.05rem, 4.5vw + 0.4rem, 1.6rem);
    line-height: 1.2;
    letter-spacing: 0;        /* compacta un poco en pantallas muy pequeñas */
  }
  .titulo-icono{ width: clamp(24px, 6vw, 34px); }
}

/* Si por contraste el vídeo de fondo molesta, añade toque de sombra al texto */
@supports (text-shadow: 0 2px 12px rgba(0,0,0,.35)){
  .titulo-texto{
    text-shadow: 0 2px 12px rgba(0,0,0,.35);
  }
}

/* Caso extremo: si por algún CSS heredado el título no centra, lo forzamos */
.titulo-moderno{ justify-content: center !important; }


/* =========================
   QUIÉNES SOMOS — BotSoft
   Responsive + vídeo vertical 9:16
========================= */
.qs{
  padding: clamp(36px, 5vw, 70px) 16px;
}

.qs-wrap{
  max-width: 1200px;
  margin: 0 auto;
}

.qs-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: stretch;
}

/* “Mismo tamaño visual”: ambas tarjetas con misma altura base */
.qs-card{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(20, 24, 33, 0.70);
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
  overflow: hidden;
  min-height: clamp(420px, 62vh, 720px);
}

/* TEXTO */
.qs-card--text{
  padding: clamp(18px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.qs-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  color: #dbeafe;
  width: fit-content;
  font-weight: 600;
  margin-bottom: 14px;
}

.qs-title{
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.08;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.qs-highlight{
  background: linear-gradient(90deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.qs-lead{
  margin: 0 0 16px 0;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}

.qs-pills{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 16px 0;
}

.qs-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-size: 14px;
}

.qs-list{
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: grid;
  gap: 10px;
}

.qs-list li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255,255,255,0.84);
  line-height: 1.5;
}

.qs-list i{
  margin-top: 3px;
  color: rgba(52,211,153,0.95);
}

.qs-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.qs-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .2px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.qs-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

.qs-btn--primary{
  background: linear-gradient(90deg, rgba(37,99,235,0.9), rgba(16,185,129,0.9));
  color: #fff;
  border: none;
}

.qs-btn--ghost{
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.92);
}

.qs-mini{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}

.qs-mini-item{
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
}

.qs-mini-num{
  font-size: 18px;
  font-weight: 900;
  color: rgba(255,255,255,0.95);
}

.qs-mini-text{
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
}

/* VIDEO */
.qs-card--video{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2vw, 18px);
}

/* Frame vertical SIEMPRE 9:16.
   Para igualar tamaño con texto: el frame toma el 100% de alto de la card,
   y el ancho se calcula por aspect-ratio. Se centra dentro del lado derecho. */
.qs-videoFrame{
  height: 100%;
  aspect-ratio: 9 / 16;
  width: auto;
  max-width: 100%;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
}

.qs-video{
  width: 100%;
  height: 100%;
  object-fit: cover;         /* recorta sin deformar */
  object-position: center;   /* puedes probar: center top; si quieres */
  display: block;
  transform: translateZ(0);
}

.qs-videoOverlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.45) 70%,
    rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}

.qs-videoCaption{
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
}

.qs-capTitle{
  font-weight: 900;
  color: #fff;
  letter-spacing: .2px;
}

.qs-capText{
  margin-top: 4px;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px){
  .qs-grid{ grid-template-columns: 1fr; }
  .qs-card{ min-height: auto; }

  /* En móvil: el video mantiene 9:16 pero ahora usa el ancho y limita altura */
  .qs-card--video{ padding: 14px; }
  .qs-videoFrame{
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    max-height: 72vh;
  }
}
