body { background: #0f1319 !important; }
/* Pre-init: evita pantalla vacía sin romper layout */
[data-aos] {
  will-change: opacity, transform;
  transition-property: opacity, transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

html:not(.aos-initialized) [data-aos] {
  opacity: 1 !important; /* sin transform */
}

.whatsapp-float {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 2px 12px #2228;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.whatsapp-float:hover {
  box-shadow: 0 4px 24px #222b;
  transform: scale(1.08);
}
.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.4rem;
  border-radius: 50%;
  background: #212121;
  margin-right: 4px;
  box-shadow: 0 2px 10px #1115;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-icon.whatsapp {
  background: #25d366;
  color: #fff;
}
.footer-icon.whatsapp:hover { background: #1ebe57; }

.footer-icon.correo {
  background: #ff9800;
  color: #171717;
}
.footer-icon.correo:hover { background: #ff6f00; }

.footer-icon.ubicacion {
  background: #1976d2;
  color: #fff;
}
.footer-icon.ubicacion:hover { background: #0d47a1; }

.curso-img {
  border-radius: 22px;
  box-shadow: 0 6px 32px 0 #1976d244, 0 2px 8px #ff980044;
  border: 3px solid #000000;
  transition: transform 0.28s cubic-bezier(.4,2,.6,1), box-shadow 0.28s;
  background: #811313;
  object-fit: cover;
}

.curso-img:hover {
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 10px 50px 0 #1976d277, 0 4px 18px #ff980099;
  border-color: #000000;
}

.btn-centrado {
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 140px;
  max-width: 200px;
  width: 60%;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
  box-shadow: 0 3px 10px #125bc921;
  padding: 10px 0;
}

.input-wolf {
  background: #222831; /* antes #191919 */
  border: 1.5px solid #2b2b2b;
  color: #fff;
  border-radius: 0.6rem;
  padding: 0.9rem 1.2rem;
  margin-bottom: 1rem;
  width: 100%;
  outline: none;
  transition: border .2s;
  display: block;
  font-size: 1rem;
}
.input-wolf:focus {
  border-color: #ff9800;
}

.input-wolf {
  resize: none;
}

.section-divider {
  height: 3px;
  width: 40px;
  background: #ff9800;
  border-radius: 6px;
  margin: 18px 0;
}

.btn-naranja {
  background: #ff9800;
  color: #171717;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 10px;
  padding: 0.8rem 0;
  box-shadow: 0 2px 10px #ff980033;
  min-width: 140px;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: center;
}
.btn-naranja:hover {
  background: #ff6f00;
  color: #ffe2b0;
}

/* Flechas grandes, naranjas, totalmente fuera del carrusel y sin fondo */
.swiper {
  position: relative;
  padding: 0 !important; /* Quita espacio interno, si lo hubieras agregado antes */
}

.swiper-button-prev,
.swiper-button-next {
  color: #ff9800 !important;
  background: transparent !important;
  border-radius: 100%;
  width: 54px;
  height: 54px;
  font-size: 36px;
  top: 48%; /* vertical center */
  transform: translateY(-50%);
  box-shadow: none !important;
  z-index: 50;
  transition: color 0.2s, transform 0.16s;
}

.swiper-button-prev {
  left: -70px;  /* Más afuera aún */
}

.swiper-button-next {
  right: -70px; /* Más afuera aún */
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  color: #2f00ff !important; /* Amarillo fuerte al pasar mouse */
  transform: translateY(-50%) scale(1.18);
}

/* --- Animaciones de aparición elegantes --- */
.animate-fadein {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(.4,2,.3,1), transform 0.9s cubic-bezier(.4,2,.3,1);
  will-change: opacity, transform;
}
.animate-fadein.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fadein-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s cubic-bezier(.4,2,.3,1), transform 1s cubic-bezier(.4,2,.3,1);
}
.animate-fadein-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-fadein-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1s cubic-bezier(.4,2,.3,1), transform 1s cubic-bezier(.4,2,.3,1);
}
.animate-fadein-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Delay para stagger effect */
[data-anim-delay="1"] { transition-delay: 0.05s; }
[data-anim-delay="2"] { transition-delay: 0.05s; }
[data-anim-delay="3"] { transition-delay: 0.05s; }
[data-anim-delay="4"] { transition-delay: 0.05s; }

.curso-header-bg {
    background: url('images/trabajo-en-altura.avif') center center/cover no-repeat;
    min-height: 330px;
    display: flex;
    align-items: flex-end;
    position: relative;
    background-attachment: fixed; /* imagen fija al hacer scroll */
}

.curso-header-overlay {
    background: linear-gradient(0deg, #171717ef 70%, #0000 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0; top: 0;
    z-index: 1;
}

.curso-header-content {
    position: relative;
    z-index: 2;
    padding: 38px 0 26px 0;
    width: 100%;
    text-align: center;   /* centrado */
}

.curso-title {
    font-size: 2.8rem;
    font-weight: bold;
    color: #c7771b;
    text-shadow: 0 2px 14px #171717cc;
    margin-left: 0;    /* sin margen para centrar */
}

@media (max-width: 640px) {
    .curso-title { font-size: 2rem; margin-left: 0; }
    .curso-header-bg { min-height: 170px; }
}

.curso-header-bg {
    min-height: 330px;
    display: flex;
    align-items: flex-end;
    position: relative;
    background-attachment: fixed;
    border-radius: 25px;
    box-shadow: 0 8px 40px #1976d255, 0 2px 8px #ff980055;
    border: 2px solid #ff9800;
    overflow: hidden;
}

@media (max-width: 640px) {
    .curso-header-bg {
        min-height: 170px;
        border-radius: 14px;
        border-width: 3px;
    }
}
/* Ya no se usa la overlay, así que puedes eliminarla o dejarla vacía */
.curso-header-overlay { display: none; }

.curso-header-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 44px; /* más espacio inferior */
}

.curso-title-box {
    display: inline-block;
    background: rgba(24,24,24,0.82);
    border: 2px solid #000000;
    border-radius: 20px;
    padding: 18px 50px 14px 50px;
    box-shadow: 0 8px 40px #17171744;
}

.curso-title {
    font-size: 2.8rem;
    font-weight: bold;
    color: #ffe2b0;
    text-shadow: 0 2px 8px #0006;
    margin: 0;
}

@media (max-width: 640px) {
    .curso-title-box { padding: 12px 10vw; }
    .curso-title { font-size: 1.5rem; }
    .curso-header-bg { min-height: 170px; }
}

#buscadorCursos:focus {
  outline: none;
  box-shadow: 0 0 0 2px #ff9800bb;
  background: #ffffff; /* antes #191919 */
}

.curso-card {
  transition: opacity 0.35s cubic-bezier(.4,2,.3,1), transform 0.35s cubic-bezier(.4,2,.3,1);
}

.curso-card.curso-oculto {
  opacity: 0 !important;
  pointer-events: none;
  transform: scale(.95);
}
.curso-card.curso-visible {
  opacity: 1 !important;
  pointer-events: auto;
  transform: scale(1);
}

@keyframes loaderScaleFade {
  0% {
    transform: scale(1.5);
    opacity: 0;
  }
  40% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.animate-loader-logo {
  animation: loaderScaleFade 1.2s ease-out forwards;
}
@keyframes bounceSlow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-bounce-slow {
  animation: bounceSlow 3s ease-in-out infinite;
  will-change: transform;
}

.nav-link {
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px; /* grosor de la línea */
  background: #1976d2; /* azul */
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

footer .text-arena {
  color: #ffffff !important;
}

.footer-icon.facebook {
  background: #1877f2;
  color: #fff;
}
.footer-icon.facebook:hover {
  background: #0d47a1;
  transform: scale(1.08);
}

.footer-icon.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
}
.footer-icon.instagram:hover {
  filter: brightness(1.2);
  transform: scale(1.08);
}

.about-glass {
  background: rgba(23, 23, 23, 0.45);
  border-radius: 20px;
  border: 1px solid rgba(255, 152, 0, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 60px rgba(255, 152, 0, 0.05);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-glass:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 80px rgba(255, 152, 0, 0.15);
}

.stat-card {
  background: rgba(33, 33, 33, 0.8);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(255, 152, 0, 0.2);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.stat-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(255, 152, 0, 0.25);
}

/* ========= SOBRE NOSOTROS – versión PRO ========= */

/* Fondo profundo con glow naranja/azul + textura sutil */
#nosotros{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(255,152,0,.08), transparent 60%),
    radial-gradient(50% 90% at 20% 80%, rgba(25,118,210,.08), transparent 70%),
    #0f1319; /* un poco más oscuro para más contraste */
}
#nosotros::before{
  content:"";
  position:absolute; inset:0;
  background: url('images/fondo-nosotros.webp') center/cover no-repeat;
  opacity:.10; filter: brightness(.8) contrast(1.12);
  z-index:0;
}
/* viñeta inferior sutil */
#nosotros::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:140px;
  background: linear-gradient(to top, #0f1319 60%, transparent);
  z-index:0; pointer-events:none;
}
#nosotros > .max-w-7xl { position:relative; z-index:2; }

/* Panel vidrio + profundidad */
.about-panel{
  background: rgba(18,18,18,.52);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  box-shadow:
    0 18px 50px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.04) inset;
  backdrop-filter: blur(10px);
}

/* ====== Título “Nuestra Esencia” igual a “Nuestros Cursos” ====== */
.about-heading {
  color: #ffb74d; /* mismo tono naranja suave del hero y de Nuestros Cursos */
  text-shadow: 0 3px 14px rgba(0, 0, 0, .6);
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin-bottom: 0.6rem;
  transition: text-shadow 0.3s ease;
}

.about-heading:hover {
  text-shadow: 0 4px 18px rgba(0, 0, 0, .7);
}

/* Tipografías de párrafos */
.about-lead{
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  line-height: 1.75; color: #eaeaea;
}
.about-body{
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  line-height: 1.75; color: #d7d7d7;
}

/* Imagen y chapita de experiencia */
.about-img-wrap{ position: relative; display: inline-block; }
.about-img-wrap img{
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.55));
  transition: transform .35s ease, filter .35s ease;
}
.about-img-wrap img:hover{
  transform: scale(1.035);
  filter: drop-shadow(0 14px 38px rgba(255,152,0,.25));
}
.about-badge{
  position: absolute; right:-18px; bottom:-18px;
  background:#ff9800; color:#0f1319; font-weight:800;
  font-size:.9rem; padding:10px 14px; border-radius:12px;
  border:1px solid #00000022; box-shadow:0 12px 28px rgba(0,0,0,.35);
  white-space:nowrap;
}
@media (max-width: 768px){
  .about-badge{ right:-10px; bottom:-12px; font-size:.8rem; padding:8px 12px; }
}

/* ===== Fix métricas SOBRE NOSOTROS (píldoras compactas) ===== */
.about-stats{
  gap: 12px !important;
}
@media (min-width: 768px){
  .about-stats{ gap: 16px !important; }
}

/* Píldoras con altura consistente y mejor legibilidad */
.about-stat{
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 14px 12px !important;
  min-height: 88px;                 /* altura uniforme */
  border-radius: 14px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 8px 26px rgba(0,0,0,.28) !important;
  backdrop-filter: blur(4px);
  text-align: center;
}

/* Números más compactos (evita que empujen el texto) */
.about-stat-number{
  font-weight: 800;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem) !important;
  line-height: 1 !important;
  margin: 0 0 4px 0 !important;
  letter-spacing: .2px;
}

/* Etiquetas más pequeñas, pensadas para 1–2 líneas */
.about-stat-label{
  font-size: .85rem !important;
  line-height: 1.15 !important;
  color: #d0d0d0 !important;
  opacity: .95;
  max-width: 14ch;                  /* controla el ancho de línea */
  word-break: keep-all;
}

@media (max-width: 420px){
  .about-stat{ min-height: 92px; }
  .about-stat-label{ font-size: .8rem !important; max-width: 16ch; }
}

/* Sombra al pasar el mouse, sin “salto” de layout */
.about-stat:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 38px rgba(0,0,0,.38) !important;
}


/* ========= NUESTROS CURSOS – estilo uniforme con "Nosotros" ========= */
#cursos {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(255,152,0,.08), transparent 60%),
    radial-gradient(50% 90% at 20% 80%, rgba(25,118,210,.08), transparent 70%),
    #0f1319;
}
#cursos::before {
  content:"";
  position:absolute; inset:0;
  background: url('images/fondo-nosotros.webp') center/cover no-repeat;
  opacity: 0.08;
  filter: brightness(.8) contrast(1.1);
  z-index:0;
}
#cursos > div { position:relative; z-index:2; }

/* ====== Título “Nuestros Cursos” sin zoom ====== */
.titulo-cursos {
  color: #ffb74d; /* mismo tono naranja suave del hero */
  text-shadow: 0 3px 14px rgba(0, 0, 0, .6);
  font-weight: 800;
  letter-spacing: 0.5px;
  transition: text-shadow 0.3s ease;
}

.titulo-cursos:hover {
  text-shadow: 0 4px 18px rgba(0, 0, 0, .7);
  transform: none; /* elimina el zoom */
}

/* ====== Botón “Revisa nuestros cursos” ====== */
#cursos .btn-naranja {
  background: #ff9800;
  color: #171717;
  font-weight: 800;
  font-size: 1.15rem;
  border-radius: 10px;
  padding: 1rem 0;              /* más grueso */
  width: 260px;                 /* más corto */
  box-shadow: 0 4px 16px rgba(255, 152, 0, 0.25);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
}

#cursos .btn-naranja:hover {
  background: #ff6f00;
  color: #ffe2b0;
  box-shadow: 0 6px 22px rgba(255, 152, 0, 0.35);
}

/* Cards más integrados visualmente */
#cursos .swiper-slide {
  background: #00091C;
  border: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
  transition: transform .3s ease, box-shadow .3s ease;
}
#cursos .swiper-slide:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 40px rgba(255,152,0,0.1);
}

/* ====== NUESTROS VALORES ====== */
#valores {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(255,152,0,.08), transparent 60%),
    radial-gradient(50% 90% at 20% 80%, rgba(25,118,210,.08), transparent 70%),
    #0f1319;
}
#valores::before {
  content:"";
  position:absolute; inset:0;
  background: url('images/fondo-nosotros.webp') center/cover no-repeat;
  opacity:.10; filter: brightness(.8) contrast(1.1);
  z-index:0;
}
#valores > div { position:relative; z-index:2; }

/* ====== Título igual a Nuestros Cursos ====== */
.titulo-valores {
  color: #ffb74d;
  text-shadow: 0 3px 14px rgba(0,0,0,.6);
  font-weight: 800;
  letter-spacing: 0.5px;
  transition: text-shadow 0.3s ease;
}
.titulo-valores:hover {
  text-shadow: 0 4px 18px rgba(0,0,0,.7);
}

/* ====== Cards más grandes y modernas ====== */
.valor-card {
  background: rgba(25,25,25,0.75);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  transition: transform .3s ease, box-shadow .3s ease;
}
.valor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(255,152,0,0.15);
}

.valor-titulo {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffb74d;
  margin-bottom: 0.8rem;
  text-shadow: 0 3px 12px rgba(0,0,0,.4);
}

.valor-texto {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #e5e5e5;
}

/* ====== CONTACTO – estilo uniforme con el resto ====== */
#contacto {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(255,152,0,.08), transparent 60%),
    radial-gradient(50% 90% at 20% 80%, rgba(25,118,210,.08), transparent 70%),
    #0f1319;
}
#contacto::before {
  content:"";
  position:absolute; inset:0;
  background: url('images/fondo-nosotros.webp') center/cover no-repeat;
  opacity:.10; filter: brightness(.8) contrast(1.1);
  z-index:0;
}
#contacto > div { position:relative; z-index:2; }

/* ====== Título igual a “Nuestros Cursos” ====== */
#contacto h2 {
  color: #ffb74d;
  text-shadow: 0 3px 14px rgba(0,0,0,.6);
  font-weight: 800;
  letter-spacing: 0.5px;
  transition: text-shadow 0.3s ease;
}
#contacto h2:hover {
  text-shadow: 0 4px 18px rgba(0,0,0,.7);
}

/* ===== Línea superior tipo contorno en el footer ===== */
footer {
  border-top: 1.5px solid #ff9800; /* línea naranja igual al estilo Wolf */
  box-shadow: 0 -2px 15px rgba(255, 152, 0, 0.2); /* sutil brillo */
  position: relative;
  z-index: 8;
}

/* en styles.css */
[data-aos] {
  will-change: opacity, transform;
  transition-property: opacity, transform;
}

/* dispara un poco antes para que no se vea todo vacío */
html:not(.aos-initialized) [data-aos] {
  opacity: 1; /* evita pantalla “vacía” si AOS aún no montó */
  transform: none;
}

/* ====== FIXES MÓVIL ====== */

/* 1) Evitar cualquier scroll horizontal accidental */
html, body { overflow-x: hidden; }

/* 2) WhatsApp flotante: tamaño/posición en pantallas pequeñas */
@media (max-width: 420px) {
  .whatsapp-float {
    width: 48px; height: 48px;
    bottom: 16px; right: 16px;
  }
  .whatsapp-float img {
    width: 28px; height: 28px;
  }
}

/* 3) Suavizar tipografías y espaciados en XS */
@media (max-width: 360px) {
  .hero-title { font-size: 1.8rem !important; }
  .hero-sub { font-size: 0.95rem !important; }
  .btn-naranja { font-size: 1rem; padding: 0.7rem 0; }
}

/* 4) Desactivar “hover-zoom” en tarjetas/carrusel para touch */
@media (hover: none) and (pointer: coarse) {
  #cursos .swiper-slide:hover { transform: none !important; box-shadow: none !important; }
}

/* 5) Iframe del mapa más contenido en móvil */
@media (max-width: 480px) {
  #contacto iframe { height: 260px !important; }
}

/* 6) Footer: evitar que una columna empuje el layout en XS */
@media (max-width: 767px) {
  footer .fix-ml-mobile { margin-left: 0 !important; }
}

/* 7) Botones del hero ocupan ancho completo en XS (ya lo haces, reforzamos gaps) */
@media (max-width: 480px) {
  .hero-glass .flex { gap: 10px !important; }
}

/* ==== FIX DOBLE SCROLL (solo html scrollea) ==== */
html {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;        /* solo estabiliza la derecha */
  background: #0f1319;             /* iguala el fondo para evitar parches de color */
}
body {
  overflow-y: clip;         /* el body NO genera barra de scroll */
  overflow-x: hidden;
}

/* Durante el loader: bloquear scroll sin crear segunda barra */
body.loading {
  overflow: clip;
  height: 100vh;
}

/* Pre-init de AOS: evita transformaciones que agrandan la página */
html:not(.aos-initialized) [data-aos] {
  opacity: 1 !important;
  transform: none !important;     /* <- clave */
  will-change: auto !important;   /* desarma will-change temporal */
}

#page-loader { pointer-events: none; }

.wolf-gradient::before,
.wolf-gradient::after { pointer-events: none; }

#nosotros::before,
#nosotros::after,
#cursos::before,
#valores::before,
#contacto::before { pointer-events: none; }


/* Quita fondo y borde de los paneles de Misión, Visión y Organismo Técnico */
.about-panel,
#nosotros .about-panel {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Quita el color negro del fondo de las pestañas */
.wolf-tabs {
  background: transparent !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255,152,0,.25); /* mantenemos la línea dorada */
}
/* Botón azul sólido */
.btn-azul {
  background: #1976d2;           /* azul principal */
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: .8rem;
  padding: .9rem 1.2rem;
  box-shadow: 0 4px 16px rgba(25, 118, 210, 0.35);
  transition: background 0.25s, box-shadow 0.25s, transform 0.15s;
}

.btn-azul:hover {
  background: #0d47a1;
  box-shadow: 0 6px 20px rgba(25, 118, 210, 0.5);
  transform: translateY(-2px);
}

#contacto-hero {
  position: relative;
  overflow: hidden;
  min-height: 340px; /* altura igual que cursos */
  max-height: 420px; /* evita que crezca más */
  display: flex;
  align-items: center;
  justify-content: center;
}



.hero-glass {
  background: rgba(17, 17, 17, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: clamp(20px, 3vw, 40px);
}

.hero-title {
  color: #ffb74d;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.6);
}

.hero-sub {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
#contacto-hero{ min-height: unset; max-height: none; }

/* ===== TÍTULOS DE SECCIÓN (MISMO TAMAÑO QUE HERO) ===== */
.titulo-seccion {
  font-size: 2.8rem;              /* igual al hero */
  font-weight: 800;
  color: #ffb74d;
  letter-spacing: 0.5px;
  text-shadow: 0 3px 14px rgba(0,0,0,.6);
  line-height: 1.15;
}

@media (max-width: 768px) {
  .titulo-seccion {
    font-size: 2.1rem;            /* coherente con hero en móvil */
  }
}