.elementor-kit-5{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-color-be099b3:#041531;--e-global-color-df6e497:#2453FF;--e-global-color-132e36e:#00C7E5;--e-global-color-7f4dd76:#FF6B00;--e-global-color-246c1c9:#00C281;--e-global-color-ae7d3be:#F4F6FB;--e-global-color-758a45f:#152033;--e-global-color-00d05db:#6A748B;--e-global-color-61f085b:#0F172A;--e-global-typography-primary-font-family:"Montserrat";--e-global-typography-primary-font-weight:700;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Poppins";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-5 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */:root{
    --th-navy:   #020C3B;
    --th-blue:   #3457D5;
    --th-aqua:   #16DBF2;
    --th-yellow: #FFC542;
    --th-green:  #00C853;
    --th-gray-1: #F5F7FB;
    --th-gray-2: #D7DEEA;
    --th-text:   #1A2340;
}


/* =========================================================
   1. BOTONES PREMIUM
   ========================================================= */
.th-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    text-decoration: none!important;
    transition: all .25s ease;
    gap: 8px;
}

/* Botón azul */
.th-btn-primary{
    background: var(--th-blue);
    color: #FFF!important;
    box-shadow: 0 10px 24px rgba(52, 87, 213, .35);
    position: relative;
    overflow: hidden;
}
.th-btn-primary:hover{
    background: #2643A8;
    box-shadow: 0 14px 32px rgba(52, 87, 213, .45);
    transform: translateY(-2px);
}

/* ✨ efecto destello */
.th-btn-primary::after{
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.35) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: all .6s ease;
}
.th-btn-primary:hover::after{
    left: 120%;
}

/* Botón outline */
.th-btn-outline{
    background: transparent;
    color: #FFF!important;
    border: 1px solid rgba(255,255,255,.6);
}
.th-btn-outline:hover{
    background: rgba(255,255,255,.15);
}

/* WhatsApp */
.th-btn-whatsapp{
    background: var(--th-green);
    color: #FFF!important;
    box-shadow: 0 10px 24px rgba(0,200,83,.4);
}
.th-btn-whatsapp:hover{
    background: #009C3A;
}
/* =========================================================
   ⭐ HEADER SUPER DELGADO PREMIUM + VIDRIO
   ========================================================= */
.th-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;

    /* ALTURA REAL */
    min-height: 52px !important;
    padding: 6px 0 !important;

    display: flex;
    align-items: center;

    /* VIDRIO */
    background: rgba(255,255,255,.10) !important;
    backdrop-filter: blur(12px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(140%) !important;

    border-bottom: 1px solid rgba(255,255,255,.15);
    transition: all .28s ease;
}

.th-header .elementor-container,
.th-header-inner,
.th-header .elementor-widget-wrap {
    min-height: 52px !important;
    display: flex;
    align-items: center;
    padding: 0 !important;
}

.th-header img {
    max-height: 38px !important;
    transition: .25s ease;
}

.th-menu a {
    font-size: 14px !important;
    padding: 0 12px !important;
    transition: .25s ease;
}
.th-menu a:hover { color: var(--th-aqua) !important; }

.th-header-cta {
    padding: 8px 20px !important;
    font-size: 13px !important;
    border-radius: 999px !important;
    background: var(--th-aqua);
    color: #020C3B !important;
    transition: .3s ease;
}

/* ----------- SCROLL (Sticky) ------------------- */
body.elementor-sticky--effects .th-header {
    min-height: 48px !important;
    padding: 4px 0 !important;

    background: rgba(255,255,255,0.65) !important;
    backdrop-filter: blur(14px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(180%) !important;

    border-bottom: 1px solid rgba(0,0,0,.1);
}

body.elementor-sticky--effects .th-header img {
    max-height: 34px !important;
}

body.elementor-sticky--effects .th-menu a {
    color: var(--th-text) !important;
}
body.elementor-sticky--effects .th-menu a:hover {
    color: var(--th-blue) !important;
}

body.elementor-sticky--effects .th-header-cta {
    background: var(--th-blue) !important;
    color: #fff !important;
}


/* =========================================================
   BOTÓN PROFESIONAL PREMIUM
========================================================= */

.th-header-cta {
    background: var(--th-aqua);
    color: #020C3B !important;
    border-radius: 20px;
    padding: 12px 6px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(22,219,242,.35);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

/* efecto destello */
.th-header-cta::after {
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    height:100%;
    width:120%;
    background:linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.4) 50%, rgba(255,255,255,0) 100%);
    transform:skewX(-25deg);
    transition: all .6s ease;
}
.th-header-cta:hover::after {
    left:120%;
}
.th-header-cta:hover {
    background: var(--th-blue);
    color: #fff !important;
    transform: translateY(-2px);
}

/* =========================================================
   STICKY (AL BAJAR)
========================================================= */

body.elementor-sticky--effects .th-header {
    padding: 10px 0;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,.08);
}

/* Logo más pequeño */
.th-header img {
    max-height: 60px;
}

/* Texto del menú se vuelve azul */
body.elementor-sticky--effects .th-menu a {
    color: var(--th-text);
}
body.elementor-sticky--effects .th-menu a:hover {
    color: var(--th-blue);
}

/* CTA cambia a AZUL como CPECH */
body.elementor-sticky--effects .th-header-cta {
    background: var(--th-blue);
    color: #FFF !important;
    box-shadow: 0 8px 22px rgba(52,87,213,.25);
}
/* =========================================================
   HEADER RESPONSIVO — SOLO MÓVIL
========================================================= */
@media (max-width: 768px) {

  /* Header más compacto */
  .th-header {
    min-height: 46px !important;
    padding: 4px 0 !important;
    backdrop-filter: blur(8px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(120%) !important;
  }

  /* Contenedores internos */
  .th-header .elementor-container,
  .th-header-inner,
  .th-header .elementor-widget-wrap {
    min-height: 46px !important;
  }

  /* Logo más pequeño */
  .th-header img {
    max-height: 30px !important;
  }

  /* OCULTAR MENÚ HORIZONTAL */
  .th-menu {
    display: none !important;
  }

  /* CTA más pequeño */
  .th-header-cta {
    padding: 6px 14px !important;
    font-size: 12px !important;
    border-radius: 999px !important;
  }
}

/* =========================================================
   STICKY EN MÓVIL (AL HACER SCROLL)
========================================================= */
@media (max-width: 768px) {
  body.elementor-sticky--effects .th-header {
    min-height: 44px !important;
    padding: 3px 0 !important;
    backdrop-filter: blur(10px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(140%) !important;
  }

  body.elementor-sticky--effects .th-header img {
    max-height: 28px !important;
  }
}


/* =========================================================
   4. HERO INICIO (ANIMADO)
   ========================================================= */
.th-hero{
    background: radial-gradient(circle at 10% 20%, #1A45C4 0, #020C3B 50%, #02041F 100%);
    color: #FFF;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.th-hero .elementor-container{
    align-items: center;
    column-gap: 60px;
}

/* izquierda */
.th-hero-left{
    max-width: 768px;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: thFadeUp .8s ease forwards;
}
.th-hero-left h1{
    font-size: 64px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 14px;
}
.th-hero-left p{
    font-size: 16px;
    color: #E6ECFF;
    margin-bottom: 18px;
}

/* beneficios */
.th-hero-benefits{
    list-style: none;
    margin-bottom: 20px;
    padding: 0;
}
.th-hero-benefits .elementor-icon-list-text::before{
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--th-aqua);
}

/* derecha */
.th-hero-right{
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    animation: thFadeUp .9s ease forwards;
}

.th-hero-figure{
    background: #FFFFFF;
    border-radius: 24px;
    padding: 20px;
    max-width: 420px;
    box-shadow: 0 22px 60px rgba(0,0,0,.55);
    transition: transform .35s ease, box-shadow .35s ease;
}
.th-hero-figure:hover{
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 28px 80px rgba(0,0,0,.55);
}

@keyframes thFadeUp{
    to{ opacity: 1; transform: translateY(0); }
}

/* ================================
   SECCIÓN NUESTROS PILARES – THALES
   ================================ */

/* Columna imagen */
.pilares-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Imagen responsiva */
.pilares-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* Columna de cards */
.pilares-lista {
    padding-left: 20px;
}

/* Contenedor vertical */
.pilares-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* CARD */
.pilar-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all .25s ease;
    border: 1px solid #EEF2F7;
}

/* Hover elegante */
.pilar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.10);
}

/* Iconos */
.pilar-icon i,
.pilar-icon svg {
    background: #00E38C;  /* Verde Thales */
    color: #FFF !important;
    font-size: 26px !important;
    padding: 12px;
    border-radius: 50%;
}

/* Títulos */
.pilar-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--th-text);
}

/* Responsive */
@media(max-width: 900px){
    .pilares-img {
        order: 2;
        margin-top: 20px;
    }
    .pilares-lista {
        order: 1;
        padding-left: 0;
    }
    .pilar-card {
        padding: 16px;
        gap: 12px;
    }
    .pilar-icon i {
        font-size: 22px !important;
    }
}


/* =========================================================
   5. KPI — TARJETAS
   ========================================================= */
.th-kpi-section{
    background: #FFFFFF !important;
    padding: 70px 0;
}

.th-kpi-wrap{
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
}

.th-kpi-item{
    background: #FFFFFF;
    border: 1px solid #E2E7F2;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    padding: 28px 30px;
    width: 260px;
    text-align: center;
    transition: all .25s ease;
}

.th-kpi-item:hover{
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
    border-color: var(--th-blue);
}

.th-kpi-number{
    font-size: 42px;
    font-weight: 800;
    color: var(--th-blue);
    margin-bottom: 6px;
}

.th-kpi-label{
    font-size: 15px;
    color: #6B738C;
}

  
/* Tarjeta base */
.tarjeta {
    transition: all 0.35s ease;
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-radius: 20px;
    overflow: hidden; /* importante si el header tiene borde redondeado */
}

/* Hover elegante */
.tarjeta:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Efecto en la franja superior (header) */
.tarjeta:hover .header-tarjeta {
    background-color: #c1831b; /* un tono más oscuro del original */
    transition: background-color 0.35s ease;
}

/* Efecto de brillo suave */
.tarjeta:hover::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 2px solid rgba(255, 193, 7, 0.35); /* borde dorado muy suave */
    transition: opacity 0.35s ease;
    opacity: 1;
}

.tarjeta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 2px solid rgba(255, 193, 7, 0);
    opacity: 0;
    transition: opacity 0.35s ease;
}



/* =========================================================
   7. PILARES
   ========================================================= */
.th-pillars{ background:#FFF; }
.th-pillars-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}
@media(max-width:1024px){
    .th-pillars-grid{ grid-template-columns: repeat(2,1fr); }
}
@media(max-width:768px){
    .th-pillars-grid{ grid-template-columns: 1fr; }
}

.th-pillar-card{
    background:#FFF;
    padding:20px;
    border-radius:16px;
    border:1px solid #E2E7F2;
    transition:.25s;
}
.th-pillar-card:hover{
    transform:translateY(-5px);
    border-color:var(--th-aqua);
}



/* =========================================================
   8. METODOLOGÍA (TARJETAS PRO)
   ========================================================= */
.th-methodology{
    background: var(--th-gray-1);
    padding: 70px 0;
}

.th-method-steps{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

@media(max-width: 768px){
    .th-method-steps{
        grid-template-columns: 1fr;
    }
}

.th-method-step{
    background: #FFF;
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid #E2E7F2;
    box-shadow: 0 12px 24px rgba(0,0,0,.06);
    text-align: center;
    transition: all .25s ease;
}

.th-method-step:hover{
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0,0,0,.12);
}

.th-method-number{
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: var(--th-blue);
    color: #FFF;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 14px;
    box-shadow: 0 10px 22px rgba(52,87,213,.40);
}

.th-method-step h3{
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.th-method-step p{
    font-size: 14px;
    color: #6B738C;
}



/* =========================================================
   9. TESTIMONIOS
   ========================================================= */
.th-testimonials{
    background: var(--th-navy);
    color:#FFF;
}

.th-testimonials .th-section-title{
    color:#FFF;
}

.th-testimonials .th-section-subtitle{
    color:#C1CCFF;
}

.th-testimonial-card{
    background:#FFF;
    color:var(--th-text);
    border-radius:18px;
    padding:18px;
    box-shadow:0 18px 45px rgba(0,0,0,.45);
    max-width:360px;
    margin:0 auto;
}



/* =========================================================
   10. CTA FINAL
   ========================================================= */
.th-final-cta{
    background: radial-gradient(
            circle at top left,
            #FF7A3D 0%,
            #F74405 35%,
            transparent 70%
        ),
        linear-gradient(
            135deg,
            #F74405 0%,
            #C73300 45%,
            #6B1A00 100%
        );
    color:#FFF;
    text-align:center;
    padding:60px 20px;
}

.th-final-title{
    font-size:30px;
    font-weight:800;
    margin-bottom:10px;
}

.th-final-sub{
    font-size:15px;
    margin-bottom:20px;
    color:#E9F3FF;
}

.th-btn-big{
    padding:12px 30px;
    font-size:16px;
}

/* =========================================================
   CONTACTO — ACADEMIATHALES
   ========================================================= */

/* ---------------------------------------------------------
   1. HERO CONTACTO
--------------------------------------------------------- */
.th-contact-hero{
    background: radial-gradient(
            circle at top left,
            #FF7A3D 0%,
            #F74405 35%,
            transparent 70%
        ),
        linear-gradient(
            135deg,
            #F74405 0%,
            #C73300 45%,
            #6B1A00 100%
        );
    color: #FFF;
    padding: 120px 0 80px;
    text-align: center;
}

.th-contact-hero h1{
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 10px;
}

.th-contact-hero p{
    font-size: 18px;
    color: #D8E3FF;
}
/* =========================================================
   TARJETAS DE CONTACTO — ACADEMIA THALES (PROFESIONAL)
========================================================= */

.card-contacto {
    background: #FFFFFF;
    border: 2px solid rgba(22, 219, 242, .45); /* borde turquesa */
    border-radius: 18px;
    padding: 30px 28px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 18px;

    /* Sombra elegante */
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);

    /* Animación base */
    transition: all .30s ease;
    position: relative;
    overflow: hidden;
}

/* Ícono */
.card-contacto .elementor-icon {
    font-size: 34px !important;
    color: var(--th-blue) !important;
    transition: all .3s ease;
}

/* Título */
.card-contacto .elementor-icon-box-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--th-text) !important;
    margin-bottom: 4px;
}

/* Texto */
.card-contacto .elementor-icon-box-description {
    font-size: 15px !important;
    color: #6B738C !important;
}

/* Hover efecto flotante + énfasis */
.card-contacto:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--th-blue);
}

/* Ícono crece en hover */
.card-contacto:hover .elementor-icon {
    transform: scale(1.20);
    color: var(--th-aqua) !important;
}

/* ✨ DESTELLO ANIMADO AL PASAR EL MOUSE */
.card-contacto::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.45) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    transition: all .6s ease;
}

.card-contacto:hover::after {
    left: 120%;
}

/* Para móviles */
@media(max-width: 768px){
    .card-contacto {
        padding: 22px 20px;
        text-align: left;
        gap: 14px;
        border-radius: 16px;
    }

    .card-contacto .elementor-icon {
        font-size: 30px !important;
    }

    .card-contacto .elementor-icon-box-title {
        font-size: 20px !important;
    }
}

/* =========================================================
   BARRA SUPERIOR DE COLORES PARA PROGRAMAS
   AcademiaThales (similar a CPECH)
========================================================= */

.th-program-card {
    position: relative;
    overflow: hidden;
}

/* Barra superior */
.th-program-header {
    width: 100%;
    padding: 18px 24px;
    border-radius: 18px 18px 0 0;
    color: #FFF;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;

    /* sombra premium */
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);

    /* transición para hover */
    transition: all .3s ease;
}

/* Hover para dar efecto "premium" */
.th-program-card:hover .th-program-header {
    transform: translateY(-3px);
    box-shadow: 0 14px 25px rgba(0,0,0,0.20);
}

/* =========================================================
   PALETA DE COLORES (elige el que quieras por tarjeta)
========================================================= */

/* Azul Thales */
.header-blue {
    background: #3457D5;
}

/* Aqua Thales */
.header-aqua {
    background: #16DBF2;
}

/* Navy Thales */
.header-navy {
    background: #020C3B;
}

/* Verde CTA (solo para destacar uno especial) */
.header-green {
    background: #00C853;
}

/* Amarillo destacado */
.header-yellow {
    background: #FFC542;
    color: #020C3B !important;
}


/* ---------------------------------------------------------
   3. FORMULARIO
--------------------------------------------------------- */
.th-contact-form{
    background: var(--th-gray-1);
    padding: 80px 0;
    text-align: center;
}

.th-contact-form h2{
    font-size: 32px;
    font-weight: 700;
    color: var(--th-blue);
    margin-bottom: 10px;
}

.th-form-body{
    max-width: 600px;
    margin: 0 auto;
}

.th-label{
    font-weight: 600;
    color: var(--th-text);
}

.th-input input,
.th-input textarea,
.th-input select{
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    background: #FFF;
    border: 2px solid #DDE4F5;
    font-size: 15px;
    transition: .2s;
}

.th-input input:focus,
.th-input textarea:focus{
    border-color: var(--th-blue);
    box-shadow: 0 0 0 2px rgba(52,87,213,.25);
}

.th-form-submit{
    margin-top: 12px;
}


/* ---------------------------------------------------------
   4. MAPA
--------------------------------------------------------- */
.th-contact-map iframe{
    width: 100%;
    height: 380px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.th-contact-map{
    padding: 40px 0 80px;
}


/* ---------------------------------------------------------
   5. CTA FINAL
--------------------------------------------------------- */
.th-contact-cta{
    background: linear-gradient(135deg, var(--th-blue), var(--th-aqua));
    text-align: center;
    padding: 80px 20px;
    color: #FFF;
    border-radius: 0;
}

.th-contact-cta h2{
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 8px;
}

.th-contact-cta p{
    font-size: 16px;
    margin-bottom: 18px;
    color: #ECF6FF;
}

/* =========================================================
   ESTILO PROFESIONAL PARA PÁGINA NOSOTROS
   AcademiaThales — 2025
========================================================= */

/* -------- HERO -------- */
.nosotros-hero{
    background: radial-gradient(circle at 15% 20%, #1A45C4 0%, #020C3B 55%, #000414 100%);
    padding: 120px 0 100px;
    color: #FFF;
}
.nosotros-hero .elementor-container{
    align-items: center;
    column-gap: 60px;
}
.nosotros-hero h1{
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 14px;
    color: #FFF;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .8s ease forwards;
}
.nosotros-hero p{
    font-size: 18px;
    color: #D8E2FF;
    max-width: 620px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
}

/* Fade-up animation */
@keyframes fadeUp{
    to{ opacity: 1; transform: translateY(0); }
}

/* -------- HISTORIA -------- */
.nosotros-historia{
    background: #F5F7FB;
    padding: 90px 0;
}
.historia-box{
    background: #FFF;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 50px;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    animation: fadeIn .8s ease;
}
@keyframes fadeIn{
    from{ opacity: 0; transform: scale(.97); }
    to{ opacity: 1; transform: scale(1); }
}
.historia-box h2{
    font-size: 32px;
    color: var(--th-blue);
    margin-bottom: 16px;
}

/* -------- VALORES -------- */
.valores-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}
.valor-card{
    background: #FFF;
    border-radius: 16px;
    border: 1px solid #DCE4EF;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0,0,0,.05);
    transition: .28s ease;
    position: relative;
    overflow: hidden;
}
.valor-card:hover{
    transform: translateY(-8px);
    border-color: var(--th-blue);
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

/* Efecto destello */
.valor-card::after{
    content: "";
    position: absolute;
    top: 0; left: -120%;
    width: 120%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.3), transparent);
    transform: skewX(-25deg);
    transition: .6s ease;
}
.valor-card:hover::after{
    left: 120%;
}

.valor-card .elementor-icon{
    font-size: 50px !important;
    margin-bottom: 12px;
    color: var(--th-blue) !important;
}

/* -------- EQUIPO -------- */
.equipo-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}
.equipo-card{
    background: #FFF;
    border-radius: 18px;
    border: 1px solid #E2E7F2;
    padding: 24px;
    text-align: center;
    transition: .3s ease;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}
.equipo-card:hover{
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 24px 65px rgba(0,0,0,.15);
}
.equipo-card img{
    width: 130px;
    height: 130px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
    margin-bottom: 12px;
}

/* -------- CTA FINAL -------- */
.nosotros-cta{
    background: linear-gradient(135deg, var(--th-blue), var(--th-aqua));
    color:#FFF;
    text-align:center;
    padding: 80px 20px;
}
.nosotros-cta h2{
    font-size: 34px;
    font-weight: 800;
}
.nosotros-cta p{
    font-size: 17px;
    color:#E9F3FF;
    margin-bottom:20px;
}
/* =========================================================
   DRAWER MENU — ESTILO PROFESIONAL ACADEMIA THALES
========================================================= */

/* BOTÓN HAMBURGUESA */
.menu-toggle {
    font-size: 30px !important;
    cursor: pointer;
    z-index: 99999;
    color: #ffffff;
    transition: .25s ease;
}
.menu-toggle:hover {
    color: var(--th-aqua);
}


/* =======================
   DRAWER CONTENEDOR
======================= */
.drawer-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 360px;
    height: 100vh;
    background: rgba(5, 15, 60, 0.80);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: -8px 0 20px rgba(0,0,0,.4);
    padding: 40px 28px;
    transition: right .45s cubic-bezier(0.25, 0.46, 0.45, 1);
    z-index: 99998;

    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Estado visible */
.drawer-menu.active {
    right: 0;
}

/* =======================
   FONDO OSCURO — OVERLAY
======================= */
.drawer-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    z-index: 99990;
}
.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}


/* =======================
   TEXTO DEL DRAWER
======================= */
.drawer-menu a {
    font-size: 20px;
    font-weight: 600;
    color: #ECF4FF;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: .3s;
}

.drawer-menu a:hover {
    color: var(--th-aqua);
    padding-left: 6px;
}


/* =======================
   BOTÓN CERRAR (X)
======================= */
.drawer-close {
    font-size: 30px;
    color: #ffffff;
    cursor: pointer;
    position: absolute;
    top: 24px;
    right: 24px;
    transition: .25s ease;
}
.drawer-close:hover {
    color: var(--th-aqua);
    transform: rotate(90deg);
}


/* =======================
   MOBILE ONLY
======================= */
@media(min-width: 769px){
    .drawer-menu,
    .menu-toggle {
        display: none !important;
    }
}

/* ============================================
   TARJETAS DE PROGRAMAS — DISEÑO PROFESIONAL
   Con botón "Más info" + expansión suave
============================================ */

/* CONTENEDOR BASE */
.tarjeta{
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow .25s ease, transform .25s ease;
    overflow: hidden;
}

/* Efecto hover */
.tarjeta:hover{
    transform: translateY(-6px);
    box-shadow: 0 16px 38px rgba(0,0,0,.12);
}

/* TÍTULO */
.tarjeta-titulo{
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    color: var(--th-blue);
    margin-bottom: 12px;
}

/* RESUMEN */
.tarjeta-resumen{
    font-size: 14px;
    color: #6B738C;
    text-align: center;
}

/* ===============================
   CONTENIDO EXTRA (OCULTO)
=============================== */
.tarjeta-extra{
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: all .35s ease;
}

/* MOSTRAR cuando la tarjeta se abre */
.tarjeta.tarjeta--abierta .tarjeta-extra{
    opacity: 1;
    max-height: 1500px;  /* Ajusta si necesitas más texto */
}

/* ===============================
   CONTENEDOR DE BOTONES
=============================== */
.tarjeta-acciones{
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* ===============================
   BOTÓN BASE
=============================== */
.tarjeta-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 40px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none!important;
    transition: all .25s ease;
    white-space: nowrap;
}

/* BOTÓN — INSCRÍBETE (VERDE THALES) */
.tarjeta-btn--cta{
    background: #5C17EA;
    color: #ffffff!important;
    box-shadow: 0 8px 20px rgba(0,200,83,.35);
}
.tarjeta-btn--cta:hover{
    box-shadow: 0 14px 30px rgba(0,200,83,.45);
    transform: translateY(-1px);
}
.btn2{
    background: #D4F83D;
    color: #ffffff!important;
    box-shadow: 0 8px 20px rgba(0,200,83,.35);
}
.btn2:hover{
    box-shadow: 0 14px 30px rgba(0,200,83,.45);
    transform: translateY(-1px);
}
.btn3{
    background: #D4F83D;
    color: #FF6B00!important;
    box-shadow: 0 8px 20px rgba(0,200,83,.35);
}
.btn3:hover{
    box-shadow: 0 14px 30px rgba(0,200,83,.45);
    transform: translateY(-1px);
}
.btn4{
    background: #6EC1E4;
    color: #FF6B00!important;
    box-shadow: 0 8px 20px rgba(0,200,83,.35);
}
.btn4:hover{
    box-shadow: 0 14px 30px rgba(0,200,83,.45);
    transform: translateY(-1px);
}
/* BOTÓN — MÁS INFO (OUTLINE PREMIUM) */
.tarjeta-btn--info{
    background: transparent;
    border: 1px solid var(--th-blue);
    color: var(--th-blue)!important;
}
.tarjeta-btn--info:hover{
    background: var(--th-blue);
    color: #ffffff!important;
    transform: translateY(-1px);
}

/* Cuando la tarjeta está abierta */
.tarjeta.tarjeta--abierta .tarjeta-btn--info{
    background: var(--th-blue);
    color: #ffffff!important;
    border-color: var(--th-blue);
}

/* Responsive */
@media(max-width: 480px){
    .tarjeta-acciones{
        flex-direction: column;
    }
    .tarjeta-btn{
        width: 100%;
        text-align: center;
    }
}
.tarjeta .e-con-inner {
    gap: 8px !important;       /* reduce la separación general */
    row-gap: 0px !important;   /* por si Elementor usa separación vertical */
    padding-bottom: 0px !important; /* opcional para acercar más los botones */
}
.tarjeta .elementor-widget-button {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}/* End custom CSS */