:root{
  --navy:#050b1a;
  --navy-soft:#0b1630;
  --gold:#f1c759;
  --gold-soft:#e0af38;

  --text:#f6f7fb;
  --muted:#c3c8da;

  --radius-lg:18px;
  --container: min(1180px, 100% - 3rem);

  --slide-transition: 0.95s cubic-bezier(0.22, 0.61, 0.36, 1.05);
  --light-section: #f5f7fb;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #18264b 0%, #020617 60%, #000 100%);
}

.container{width:var(--container); margin:0 auto;}

.section{
  padding: 4rem 0 3.2rem;
  background: var(--light-section);
}
.section-alt{
  background: radial-gradient(circle at top, rgba(0,0,0,.9) 0%, #020617 65%);
}

.section-title{
  margin:0;
  text-align:center;
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  font-weight: 900;
  color: #0b1630;
}
.section-subtitle{
  margin: .6rem 0 2.4rem;
  text-align:center;
  color: rgba(11,22,48,.75);
}

.section-alt .section-title{color: var(--text);}
.section-alt .section-subtitle{color: var(--muted);}

.placeholder-box{
  border: 1px solid rgba(241,199,89,.35);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: rgba(5,11,26,.35);
  color: var(--muted);
  text-align:center;
}

/* FAB MENU */
.fab-menu{
  position: fixed;
  top: 18px;
  right: 18px;
  left: auto;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 2px solid rgba(241,199,89,.95);
  background: rgba(5,11,26,.92);
  box-shadow: 0 12px 28px rgba(0,0,0,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 6px;
  flex-direction: column;
  cursor:pointer;
  z-index: 50;
}
.fab-menu span{
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  opacity: .95;
}

.side-drawer{
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  height: 100vh;
  width: 280px;
  transform: translateX(105%);
  transition: transform .28s ease;
  z-index: 40;
  background: linear-gradient(180deg, rgba(5,11,26,.98), rgba(5,11,26,.9));
  border-left: 1px solid rgba(241,199,89,.18);
  padding: 90px 18px 18px;
}
.side-drawer.open{transform: translateX(0);}
.drawer-nav{display:flex; flex-direction: column; gap: 14px;}
.drawer-nav a{
  color: var(--text);
  text-decoration:none;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(241,199,89,.20);
  background: rgba(255,255,255,.03);
}
.drawer-nav a:hover{border-color: rgba(241,199,89,.55);}

/* HERO */
.hero{width: 100%; margin: 0;}
.hero-slider{
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 560px;
  overflow: hidden;
  border-radius: 0;
  background: radial-gradient(circle at top left, #1c2340 0%, var(--navy-soft) 40%, var(--navy) 100%);
}

.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  pointer-events:none;
  transform: scale(0.94) rotate(-14deg);
  transition: opacity var(--slide-transition), transform var(--slide-transition);
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}

.hero-slide:nth-of-type(1){ background-image:url("slider/hero01.jpg"); }
.hero-slide:nth-of-type(2){ background-image:url("slider/hero02.jpg"); }
.hero-slide:nth-of-type(3){ background-image:url("slider/hero03.jpg"); }

.hero-slide.active{
  opacity:1;
  pointer-events:auto;
  transform: scale(1.02) rotate(1.2deg);
  z-index:2;
}
.hero-slide.exit-left{opacity:0; transform: scale(0.90) rotate(-4deg) translateX(-40px);}
.hero-slide.exit-right{opacity:0; transform: scale(0.90) rotate(4deg) translateX(40px);}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 10% 0%, rgba(241,199,89,.25) 0%, transparent 45%),
    linear-gradient(120deg, rgba(5,11,26,.9) 0%, rgba(5,11,26,.75) 45%, rgba(5,11,26,.35) 60%, transparent 100%);
}

.hero-caption{position: relative; z-index:3; padding: 7vh 0 0;}
.caption-label{
  display:inline-flex; align-items:center; gap:.45rem;
  padding:.22rem .8rem; border-radius:999px;
  border:1px solid rgba(241,199,89,.6);
  background: rgba(5,11,26,.75);
  font-size:.75rem; letter-spacing:.14em; text-transform:uppercase;
  color: var(--gold); width: fit-content;
}
.caption-label::before{
  content:""; width:6px; height:6px; border-radius:999px;
  background: var(--gold);
  box-shadow:0 0 14px rgba(241,199,89,.8);
}
.hero-caption h1{
  margin:0;
  font-size: clamp(2.1rem, 3.2vw, 3.2rem);
  line-height:1.08;
  text-shadow: 0 6px 22px rgba(0,0,0,.8);
  max-width: 680px;
}
.hero-caption p{margin:0; color: var(--muted); font-size: 1.02rem; max-width: 640px;}

.btn-primary{
  display:inline-block; margin-top:.8rem;
  padding:.9rem 1.75rem; border-radius:999px;
  border:1px solid rgba(241,199,89,.9);
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-soft) 40%, #f8dea0 100%);
  color:#3a2800; font-weight:800; font-size:.9rem;
  text-decoration:none; letter-spacing:.06em; text-transform:uppercase;
}

.slider-control{
  position:absolute; top:50%; transform: translateY(-50%);
  width:46px; height:46px; border-radius:999px;
  border:1px solid rgba(241,199,89,.7);
  background: radial-gradient(circle at 30% 30%, #f8dea0 0%, var(--gold-soft) 40%, var(--gold) 100%);
  color:#3a2800;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; opacity:0; transition: opacity .25s ease; z-index:6;
}
.slider-control span{font-size:1.7rem;}
.slider-control.prev{left:1.2rem;}
.slider-control.next{right:1.2rem;}
.hero-slider:hover .slider-control{opacity:1;}

.slider-bullets{
  position:absolute; bottom: 1.4rem; left:50%;
  transform: translateX(-50%);
  display:flex; gap:.6rem; z-index:7;
}
.bullet{
  width:14px; height:14px; border-radius:999px;
  border:1px solid rgba(241,199,89,.6);
  background: radial-gradient(circle, rgba(241,199,89,.6) 0%, rgba(5,11,26,.9) 55%);
  cursor:pointer;
}
.bullet.active{
  border-color:#fdf1c6;
  box-shadow:0 0 18px rgba(241,199,89,.9);
}

/* =========================
   CURSOS 
========================= */
.courses-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.course-card{
  background:#fff;
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 16px 36px rgba(0,0,0,.12);
  display:flex;
  flex-direction:column;

  min-height: 480px;
}

.course-alert{
  margin: 14px 0 0;
  font-size: .92rem;
  font-weight: 800;
  color: #c62828;
  line-height: 1.35;
}
.course-media{
  width:100%;
  aspect-ratio: 16 / 9;
  background:#eaeef7;
  overflow:hidden;
}


.course-media img{
  width:100%;
  height:100%;
  object-fit: contain;
  object-position: top center;   
  display:block;
}

.course-body{
  padding: 18px 20px 12px;
  flex: 1;
  color:#0b1630;
}
.course-body h3{
  margin: 6px 0 10px;
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1.25;
}
.course-desc{
  margin: 0 0 14px;
  color: rgba(11,22,48,.78);
  font-size: .95rem;
}
.course-meta{
  margin:0;
  padding-left:18px;
  display:flex;
  flex-direction:column;
  gap:6px;
  color: rgba(11,22,48,.92);
  font-size:.95rem;
}
.course-meta li::marker{color: var(--gold-soft);}

.course-cta{padding: 14px 18px 18px;}
.course-btn{
  display:block;
  width:100%;
  text-align:center;
  padding:12px 14px;
  border-radius:999px;
  background:#071a3a;
  border:2px solid var(--gold);
  color:#fff;
  text-decoration:none;
  font-weight:900;
}

/* =========================
   SOBRE NOSOTROS
========================= */
.section-about{
  background: var(--light-section);
}

.about-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Imagen */
.about-image{
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.about-image img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Texto */
.about-content{
  color: #0b1630;
}
.section-title.left{
  text-align: left;
  margin-bottom: 1.2rem;
}

.about-content p{
  margin: 0 0 1rem;
  line-height: 1.6;
  color: rgba(11,22,48,.85);
  font-size: 1rem;
}

/* Valores */
.about-values{
  margin: 1.2rem 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: rgba(11,22,48,.9);
}
.about-values li::marker{
  color: var(--gold-soft);
}

/* Responsive */
@media (max-width: 900px){
  .about-grid{
    grid-template-columns: 1fr;
  }
  .about-image{
    max-height: 420px;
  }
}

/* =========================
   CONTACTO 
========================= */
.section-contact .section-title { margin-bottom: .3rem; }

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.contact-card{
  border-radius: 22px;
  border: 1px solid rgba(241,199,89,.20);
  background: rgba(255,255,255,.04);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  padding: 20px 20px 18px;
}

.contact-card-title{
  margin: 0 0 14px;
  font-size: 1.15rem;
  letter-spacing: .01em;
  color: var(--text);
}

/* CTA WhatsApp (principal) */
.contact-whatsapp{
  display: block;
  text-align: center;
  padding: 12px 14px;
  border-radius: 999px;
  background: #071a3a;
  border: 2px solid var(--gold);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .02em;
  box-shadow: 0 12px 26px rgba(0,0,0,.25);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
  margin-bottom: 14px;
}
.contact-whatsapp:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 16px 36px rgba(0,0,0,.32);
}

/* Lista datos */
.contact-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.contact-list li{
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(241,199,89,.12);
  background: rgba(0,0,0,.12);
}

.contact-ico{
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(241,199,89,.14);
  border: 1px solid rgba(241,199,89,.25);
}

.contact-label{
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(241,199,89,.95);
  margin-bottom: 2px;
}
.contact-value{
  color: var(--text);
  opacity: .92;
}
.contact-link{
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed rgba(241,199,89,.45);
}
.contact-link:hover{ border-bottom-color: rgba(241,199,89,.9); }

.contact-note{
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(241,199,89,.08);
  border: 1px solid rgba(241,199,89,.18);
  color: var(--muted);
}

/* MAPA */
/* CONTENEDOR MAPA */
.map-container{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(241,199,89,.35);
  transition: all .35s ease;
}

/* LINK COMPLETO */
.map-link{
  display:block;
  position:relative;
}

/* IMAGEN MAPA */
.map-image{
  width:100%;
  display:block;
  transition: transform .6s ease;
}

/* TEXTO SOBRE MAPA */
.map-overlay{
  position:absolute;
  bottom:16px;
  left:50%;
  transform:translateX(-50%);

  background:rgba(5,11,26,.85);
  color:#fff;

  padding:10px 18px;
  border-radius:999px;

  font-weight:700;
  font-size:.9rem;

  border:1px solid rgba(241,199,89,.55);
  backdrop-filter: blur(4px);

  transition:all .35s ease;
}

/* HOVER EFECTO */
.map-container:hover{

  border-color: rgba(241,199,89,.85);

  box-shadow:
  0 20px 50px rgba(0,0,0,.35),
  0 0 18px rgba(241,199,89,.25);
}

/* ZOOM IMAGEN */
.map-container:hover .map-image{
  transform: scale(1.06);
}

/* BOTON HOVER */
.map-container:hover .map-overlay{
  background: rgba(5,11,26,.95);
  border-color: rgba(241,199,89,.9);
}

/* Responsive */
@media (max-width: 980px){
  .contact-grid{
    grid-template-columns: 1fr;
  }
  .map-iframe{
    height: 300px;
  }
}



/* =========================
   FOOTER (Opción B)
========================= */
.site-footer{
  padding: 3rem 0 1.6rem;
  border-top: 1px solid rgba(241,199,89,.18);
  background: radial-gradient(circle at top, rgba(241,199,89,.05) 0%, #020617 65%);
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Cols */
.footer-col{ min-width: 0; }

.footer-brand{
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: .02em;
  color: var(--text);
}

.footer-tagline{
  margin: .7rem 0 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 36ch;
}

.footer-title{
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .82rem;
  color: rgba(241,199,89,.95);
  margin-bottom: .9rem;
}

/* Links */
.footer-links{
  display: grid;
  gap: 10px;
}

.footer-links a{
  color: var(--text);
  text-decoration: none;
  opacity: .9;
  width: fit-content;
  border-bottom: 1px dashed rgba(241,199,89,.0);
  transition: opacity .15s ease, border-color .15s ease;
}

.footer-links a:hover{
  opacity: 1;
  border-bottom-color: rgba(241,199,89,.6);
}

/* Contacto */
.footer-contact{
  display: grid;
  gap: 10px;
}

.footer-whatsapp{
  display: inline-block;
  text-align: center;
  padding: 11px 14px;
  border-radius: 999px;
  background: #071a3a;
  border: 2px solid var(--gold);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .02em;
  box-shadow: 0 14px 28px rgba(0,0,0,.28);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.footer-whatsapp:hover{
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 18px 40px rgba(0,0,0,.34);
}

.footer-contact-link{
  color: var(--text);
  text-decoration: none;
  opacity: .92;
  width: fit-content;
  border-bottom: 1px dashed rgba(241,199,89,.45);
}

.footer-contact-link:hover{
  opacity: 1;
  border-bottom-color: rgba(241,199,89,.9);
}

.footer-contact-text{
  color: var(--muted);
}

/* Bottom bar */
.footer-bottom{
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(241,199,89,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-legal{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .92rem;
}

.footer-legal a{
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dashed rgba(241,199,89,.25);
}

.footer-legal a:hover{
  color: var(--text);
  border-bottom-color: rgba(241,199,89,.75);
}

.footer-legal .sep{
  opacity: .55;
}

.footer-copy{
  color: var(--muted);
  font-size: .92rem;
}

/* Responsive */
@media (max-width: 900px){
  .footer-grid{
    grid-template-columns: 1fr;
  }
  .footer-tagline{
    max-width: none;
  }
}

@media (max-width: 768px){
  .courses-grid{
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .course-card{
    width: 100%;
    min-width: 0;
  }
}