/* Stilos.css (COMPLETO) — 3S Design | Dark Mode (versión revisada y unificada)
   Incluye:
   - Cabecera + botones
   - Carrusel 4 slides (sin JS)
   - Sección Nosotros (logo llena tarjeta, sin aire)
   - Headings de secciones + líneas de negocio
   - Bloques 2 columnas (imagen + video) reutilizables
   - Fundador (layout tipo mockup: retrato + card texto + 3 fotos abajo)
*/

:root{
  /* ===== Paleta Dark (principal) ===== */
  --bg: #0b0f17;                /* fondo */
  --bg2:#0f1624;                /* fondo alterno */
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);

  --text: #eaf0ff;              /* texto */
  --muted: rgba(234,240,255,.72);

  --border: rgba(234,240,255,.12);
  --shadow: 0 20px 60px rgba(0,0,0,.55);

  --radius: 18px;
  --container: 1150px;

  /* ===== Acento (cámbialo tú) ===== */
  --accent: #f59e0b;            /* dorado/naranja sobrio */
  --accent2:#fb923c;            /* segundo tono */

  /* ===== Overlay carrusel (control contraste) ===== */
  --overlay-left: .90;          /* oscurece zona de texto */
  --overlay-mid: .55;           /* transición al centro */
  --overlay-right: .18;         /* lado derecho */
  --tint: rgba(245,158,11,.08);
  --tint2: rgba(251,146,60,.06);
}

/* =========================
   RESET / BASE
   ========================= */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 80% 10%, rgba(245,158,11,.10), transparent 70%),
    radial-gradient(800px 450px at 10% 25%, rgba(251,146,60,.08), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0) 30%),
    var(--bg);
}

a{ color: inherit; text-decoration: none; }

img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.container{
  width: min(var(--container), 92vw);
  margin: 0 auto;
}

/* =========================
   CABECERA
   ========================= */
.topbar{
  position: sticky;
  top: 0;
  z-index: 99;
  backdrop-filter: blur(10px);
  background: rgba(11,15,23,.72);
  border-bottom: 1px solid var(--border);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
  letter-spacing: .3px;
}

.brand__mark{
  display:inline-grid;
  place-items:center;
  width: 42px; height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 16px 35px rgba(0,0,0,.45);
  color: #1a1206; /* texto oscuro sobre acento */
}

.brand__name{ opacity:.95; }

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
  font-weight: 750;
  color: rgba(234,240,255,.78);
}

.nav a:hover{ color: var(--text); }

/* =========================
   BOTONES
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #1a1206;               /* legible en acento claro */
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(0,0,0,.50);
}

.btn--sm{ padding: 10px 12px; border-radius: 12px; }

.btn--ghost{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.95);
  box-shadow: none;
}

/* =========================
   CARRUSEL (sin JS) - 4 slides
   ========================= */
.bannerCarousel{
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* radios invisibles */
.bc__radio{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* slides */
.bc__slides{
  height: 78vh;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform .7s ease;
}

/* desplazamiento */
#bc1:checked ~ .bc__slides{ transform: translateX(0%); }
#bc2:checked ~ .bc__slides{ transform: translateX(-100%); }
#bc3:checked ~ .bc__slides{ transform: translateX(-200%); }
#bc4:checked ~ .bc__slides{ transform: translateX(-300%); }

.bc__slide{ position: relative; height: 78vh; }

.bc__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.02);
  filter: contrast(1.04) saturate(1.05);
}

/* Overlay base */
.bc__overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,var(--overlay-left)) 0%,
      rgba(0,0,0,var(--overlay-mid)) 38%,
      rgba(0,0,0,var(--overlay-right)) 72%,
      rgba(0,0,0,0) 100%
    ),
    radial-gradient(1200px 600px at 30% 35%, rgba(0,0,0,.25), rgba(0,0,0,0) 70%),
    radial-gradient(900px 520px at 18% 20%, var(--tint), transparent 72%),
    radial-gradient(900px 520px at 78% 18%, var(--tint2), transparent 72%);
}

/* Variantes */
.bc__overlay--sim{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.58) 40%, rgba(0,0,0,.22) 76%, rgba(0,0,0,0) 100%),
    radial-gradient(900px 520px at 22% 18%, rgba(245,158,11,.08), transparent 72%),
    radial-gradient(900px 520px at 75% 22%, rgba(251,146,60,.06), transparent 72%);
}
.bc__overlay--games{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.90) 0%, rgba(0,0,0,.56) 38%, rgba(0,0,0,.24) 76%, rgba(0,0,0,0) 100%),
    radial-gradient(900px 520px at 18% 20%, rgba(245,158,11,.08), transparent 72%),
    radial-gradient(900px 520px at 78% 18%, rgba(251,146,60,.07), transparent 72%);
}

/* Contenido */
.bc__content{
  position: relative;
  z-index: 2;
  padding: 70px 0 56px;
  max-width: 760px;
}

.bc__kicker{
  margin: 0 0 8px;
  color: rgba(245,158,11,.95);
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
  font-size: .85rem;
}

.bc__title{
  margin: 0 0 12px;
  font-size: clamp(2.0rem, 3.8vw, 3.4rem);
  line-height: 1.05;
  color: rgba(255,255,255,.97);
  text-shadow: 0 14px 34px rgba(0,0,0,.45);
}

.bc__text{
  margin: 0 0 18px;
  color: rgba(255,255,255,.88);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 62ch;
  text-shadow: 0 14px 34px rgba(0,0,0,.35);
}

.bc__cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* Flechas */
.bc__arrows{
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.bc__arrow{
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.95);
  font-size: 28px;
  font-weight: 900;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
}

.bc__arrow--prev{ left: 14px; }
.bc__arrow--next{ right: 14px; }

/* mostrar flechas correctas */
.bc__arrow2, .bc__arrow3, .bc__arrow4{ display:none; }

#bc1:checked ~ .bc__arrows .bc__arrow{ display:block; }
#bc1:checked ~ .bc__arrows .bc__arrow2,
#bc1:checked ~ .bc__arrows .bc__arrow3,
#bc1:checked ~ .bc__arrows .bc__arrow4{ display:none; }

#bc2:checked ~ .bc__arrows .bc__arrow{ display:none; }
#bc2:checked ~ .bc__arrows .bc__arrow2{ display:block; }

#bc3:checked ~ .bc__arrows .bc__arrow{ display:none; }
#bc3:checked ~ .bc__arrows .bc__arrow3{ display:block; }

#bc4:checked ~ .bc__arrows .bc__arrow{ display:none; }
#bc4:checked ~ .bc__arrows .bc__arrow4{ display:block; }

/* Dots */
.bc__dots{
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
}

.bc__dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.16);
  cursor: pointer;
}

#bc1:checked ~ .bc__dots label[for="bc1"],
#bc2:checked ~ .bc__dots label[for="bc2"],
#bc3:checked ~ .bc__dots label[for="bc3"],
#bc4:checked ~ .bc__dots label[for="bc4"]{
  background: rgba(245,158,11,.95);
  border-color: rgba(245,158,11,.95);
}

/* Accesibilidad */
.srOnly{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* =========================
   SECCIONES / HEADERS
   ========================= */
.section{ padding: 56px 0; }

.sectionHead{
  max-width: 860px;
  margin: 0 0 18px;
}

.sectionHead__kicker{
  margin: 0 0 8px;
  color: rgba(245,158,11,.95);
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
  font-size: .85rem;
}

.sectionHead__title{
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.15;
}

.sectionHead__text{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* =========================
   SECCIÓN NOSOTROS (logo + texto)
   - Logo llena la tarjeta (sin aire)
   ========================= */
.about{
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  align-items: start;
}

.about__media{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  box-shadow: var(--shadow);

  padding: 0;                 /* sin aire */
  overflow: hidden;           /* recorta si sobra */
  aspect-ratio: 16 / 10;      /* ajusta si tu logo es cuadrado */
  max-width: 540px;
}

.about__logo{
  width: 100%;
  height: 100%;
  object-fit: cover;          /* llena la tarjeta (puede recortar) */
  display: block;
  filter: none;
}

.about__kicker{
  margin: 0 0 8px;
  color: rgba(245,158,11,.95);
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
  font-size: .85rem;
}

.about__title{
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  line-height: 1.15;
  color: var(--text);
}

.about__text{
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.75;
}

.about__cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* =========================
   LÍNEAS DE NEGOCIO
   ========================= */
.bizGrid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.bizCard{
  grid-column: span 6;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.bizCard:hover{
  transform: translateY(-2px);
  border-color: rgba(245,158,11,.28);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
}

.bizCard::before{
  content:"";
  position:absolute;
  inset: -1px -1px auto -1px;
  height: 70px;
  background:
    radial-gradient(260px 140px at 20% 20%, rgba(245,158,11,.16), transparent 70%),
    radial-gradient(260px 140px at 70% 10%, rgba(251,146,60,.10), transparent 70%);
  pointer-events:none;
}

.bizCard__top{
  display:flex;
  align-items:center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.bizIcon{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  font-weight: 900;
  font-size: 18px;
}

.bizCard__title{
  margin: 0;
  font-size: 1.15rem;
}

.bizCard__desc{
  margin: 12px 0 12px;
  color: rgba(255,255,255,.86);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.bizCard__list{
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.bizCard__list li{ margin: 4px 0; }

.bizCard__link{
  display:inline-flex;
  gap: 6px;
  align-items:center;
  font-weight: 900;
  color: rgba(245,158,11,.95);
  position: relative;
  z-index: 1;
}

.bizCard__link:hover{
  color: rgba(251,146,60,.95);
}

/* Variantes */
.bizCard--anim::before{
  background:
    radial-gradient(260px 140px at 20% 20%, rgba(245,158,11,.18), transparent 70%),
    radial-gradient(260px 140px at 70% 10%, rgba(251,146,60,.10), transparent 70%);
}
.bizCard--games::before{
  background:
    radial-gradient(260px 140px at 20% 20%, rgba(110,231,255,.14), transparent 70%),
    radial-gradient(260px 140px at 70% 10%, rgba(167,139,250,.12), transparent 70%);
}
.bizCard--sim::before{
  background:
    radial-gradient(260px 140px at 20% 20%, rgba(34,197,94,.12), transparent 70%),
    radial-gradient(260px 140px at 70% 10%, rgba(59,130,246,.10), transparent 70%);
}
.bizCard--edu::before{
  background:
    radial-gradient(260px 140px at 20% 20%, rgba(245,158,11,.12), transparent 70%),
    radial-gradient(260px 140px at 70% 10%, rgba(167,139,250,.10), transparent 70%);
}

/* =========================
   BLOQUE 2-COLUMNAS: imagen + video
   (Animación, Videojuegos, Simuladores, Capacitación)
   ========================= */
.animMini{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.animMini__img,
.animMini__video{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}

.animMini__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.animMini__video{
  display: grid;
  place-items: stretch;
  background: rgba(0,0,0,.25);
}

/* YouTube iframe */
.ytFrame{
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  background: rgba(0,0,0,.35);
}

/* Video local */
.animMini__player{
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: rgba(0,0,0,.35);
  outline: none;
}

/* =========================
   FUNDADOR - Layout tipo mockup
   ========================= */
.founderTop{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 14px;
  margin-top: 16px;
  align-items: start;
}

.founderPortrait{
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  max-width: 320px;
}

.founderPortrait img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founderTextCard{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  padding: 18px;
}

.founderTextCard__p{
  margin: 0 0 12px;
  color: rgba(255,255,255,.86);
  line-height: 1.75;
}

.founderTextCard__list{
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.founderTextCard__list li{ margin: 6px 0; }

.founderTextCard__note{
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  font-style: italic;
}

.founderGallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.founderShot{
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}

.founderShot img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 980px){
  .about{ grid-template-columns: 1fr; }
  .about__media{ max-width: 100%; }

  .bizCard{ grid-column: span 12; }

  .animMini{ grid-template-columns: 1fr; }

  .founderTop{ grid-template-columns: 1fr; }
  .founderPortrait{ max-width: 100%; aspect-ratio: 16 / 11; }
  .founderGallery{ grid-template-columns: 1fr; }
  .founderShot{ aspect-ratio: 16 / 11; }
}

@media (max-width: 720px){
  .bc__slides, .bc__slide{ height: 72vh; }
  .bannerCarousel{ min-height: 72vh; }
  .bc__content{ padding: 60px 0 44px; }
}

@media (max-width: 520px){
  .nav{ display:none; }
}

/* Quitar interlineado extra en bullets del fundador */
.founderTextCard__list{
  line-height: 1.35;     /* antes 1.75 */
  margin-bottom: 10px;
}

.founderTextCard__list li{
  margin: 2px 0;         /* antes 6px */
}


/* =========================
   CIERRE INSTITUCIONAL
   ========================= */

.section--closure{
  padding: 72px 0 90px;
}

.closureCard{
  max-width: 900px;
  margin: 0 auto;
  text-align: center;

  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;

  background:
    radial-gradient(600px 280px at 50% 0%, rgba(245,158,11,.08), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));

  box-shadow: var(--shadow);
}

.closureTitle{
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1.15;
}

.closureText{
  margin: 0 0 14px;
  color: rgba(255,255,255,.88);
  line-height: 1.7;
}

.closureText--muted{
  color: rgba(255,255,255,.68);
}

/* Responsive */
@media (max-width: 720px){
  .closureCard{
    padding: 28px 20px;
    text-align: left;
  }
}

/* =========================
   CONTACTO estilo "Visit/Mail + Map"
   ========================= */

.contactRow2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

/* Panel izquierda (info) */
.contactPanel{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  padding: 18px;
  min-height: 280px;
}

.contactPanel__title{
  margin: 0 0 12px;
  font-size: 1.15rem;
}

/* lista tipo ficha */
.contactList{
  margin: 0 0 16px;
}

.contactItem{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.contactItem dt{
  color: rgba(255,255,255,.70);
  font-weight: 900;
}

.contactItem dd{
  margin: 0;
  color: rgba(255,255,255,.92);
  line-height: 1.45;
}

.contactLink{
  color: rgba(245,158,11,.95);
  font-weight: 900;
  text-decoration: none;
}
.contactLink:hover{
  color: rgba(251,146,60,.95);
  text-decoration: underline;
}

/* Botón WhatsApp */
.waBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.95);
  font-weight: 900;
  width: fit-content;
}

.waBtn:hover{
  border-color: rgba(245,158,11,.35);
  background: rgba(245,158,11,.12);
}

/* Panel derecha (mapa) */
.mapPanel{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  padding: 18px;
  min-height: 280px;
}

.mapPanel__title{
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.mapBox{
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.22);
  aspect-ratio: 16 / 10;
}

.mapBox iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Responsive */
@media (max-width: 980px){
  .contactRow2{
    grid-template-columns: 1fr;
  }
  .contactItem{
    grid-template-columns: 96px 1fr;
  }
}

/* =========================
   Botón WhatsApp (verde oficial)
   ========================= */

.waBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;

  background: #25D366;                 /* WhatsApp green */
  border: 1px solid rgba(0,0,0,.12);
  color: #0b1a12;                       /* texto oscuro legible sobre verde */
  font-weight: 900;

  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

.waBtn:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 22px 55px rgba(0,0,0,.45);
}

.waBtn:active{
  transform: translateY(0);
  filter: brightness(.98);
}
