/* ============================================
   RESET Y VARIABLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

:root {
    --color-beige: #F1EAD0;
    --color-gold: rgba(182, 149, 102, 1);
    --color-blue-light: #80AEB8;
    --color-blue-medium: #477397;
    --color-turquoise: #004AAD;
    --color-blue-royal: #74E4E9;
    --color-dark: #243C52;
    --color-darker: #0B2435;
    --color-footer1: #0a1628;
    --color-white: #ffffff;
    --color-gray: #8a8a8a;
    
    --font-primary: 'Cormorant Garamond', serif;
    --font-secondary: 'Belleza', cursive;
    --font-body: 'Lato', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --transition: all 0.3s ease;
}

/* ============================================
   OPTIMIZACIÓN BASE
   ============================================ */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    color: var(--color-white);
    background-color: var(--color-darker);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ✅ CRÍTICO: Optimización de imágenes */
img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ============================================
   ESTRELLAS - OPTIMIZADO MÓVIL
   ============================================ */

.stars-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.stars-container.loaded {
    opacity: 1;
}

/* ✅ Reducir efectos en móvil */
@media (max-width: 768px) {
    .stars-container {
        opacity: 0.7 !important;
    }
}

/* ============================================
   CONTENEDOR
   ============================================ */

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* ============================================
   HEADER / NAVBAR - OPTIMIZADO Y CORREGIDO
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(182, 149, 102, 0.2);
    transition: var(--transition);
    will-change: background, box-shadow;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0.8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    gap: 4rem;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar a {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.navbar a:hover {
    color: var(--color-gold);
    text-shadow: #B69566 0px 0px 20px;
}

.logo-center {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 65px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 0 10px rgba(182, 149, 102, 0.3));
}

.logo-img:hover {
    filter: drop-shadow(0 0 15px rgba(182, 149, 102, 0.6));
    transform: scale(1.05);
}

/* ============================================
   DROPDOWN DESKTOP - ✅ CORREGIDO
   ============================================ */

.dropdown-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    cursor: pointer;
    padding: 0.5rem 0;
}

.dropdown i {
    margin-left: 0.3rem;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

/* ✅ Menú desplegable - CAMBIO CRÍTICO */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 220px;
    display: none;
    padding: 1rem 0;
    border: 1px solid rgba(182, 149, 102, 0.3);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 999;
    list-style: none;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ✅ Puente invisible para mantener hover */
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

/* ✅ Activar menú al hacer hover en el wrapper */
.dropdown-wrapper:hover .dropdown i {
    transform: rotate(90deg);
}

.dropdown-wrapper:hover .dropdown-menu {
    display: flex;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu a {
    padding: 0.75rem 1.5rem;
    display: block;
    white-space: nowrap;
    transition: var(--transition);
    width: 100%;
}

.dropdown-menu a:hover {
    background: rgba(182, 149, 102, 0.5);
    color: var(--color-white);
    padding-left: 2rem;
}

/* ============================================
   MENÚ HAMBURGUESA - ANIMACIÓN CORREGIDA
   ============================================ */

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    padding: 8px;
    position: relative;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-gold);
    transition: all 0.3s ease;
    display: block;
    border-radius: 2px;
}

/* ✅ CORRECCIÓN: Transformación perfecta a X */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   MENÚ MÓVIL - CORREGIDO
   ============================================ */

.mobile-menu {
    display: none;
    flex-direction: column;
    background: #0b2435a2;
    padding: 0;
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: blur(100px);
    z-index: 998;
}

.mobile-menu.active {
    display: flex;
    max-height: calc(100vh - 82px);
    padding: 1.5rem;
    overflow-y: auto;
}

.mobile-menu > a {
    color: var(--color-white);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    font-size: 1.1rem;
}

.mobile-menu > a:hover {
    color: var(--color-gold);
    background: rgba(182, 149, 102, 0.5);
    padding-left: 1.5rem;
}

/* ============================================
   SUBMENÚS MÓVIL - CORREGIDO
   ============================================ */

.mobile-submenu-container {
    display: flex;
    flex-direction: column;
}

.has-submenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.has-submenu:hover {
    color: var(--color-gold);
    background: rgba(182, 149, 102, 0.5);
}

.has-submenu i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.has-submenu.active i {
    transform: rotate(90deg);
}

.submenu-items {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.2);
    padding-left: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.submenu-items.open {
    display: flex;
    max-height: 500px;
}

.submenu-items a {
    padding: 0.8rem 1rem 0.8rem 2rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    font-size: 1rem;
}

.submenu-items a:hover {
    color: var(--color-gold);
    background: rgba(182, 149, 102, 0.5);
    padding-left: 2.5rem;
}

/* ============================================
   RESPONSIVE NAVBAR
   ============================================ */

@media (max-width: 1024px) {
    .navbar {
        gap: 2rem;
    }
    
    .nav-left,
    .nav-right {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-left,
    .nav-right,
    .dropdown-menu,
    .dropdown-wrapper {
        display: none !important;
    }
    
    .menu-toggle {
        display: flex;
        justify-content: center;
    }
    
    .navbar {
        padding: 1rem 5%;
        justify-content: space-between;
    }
    
    .logo-img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .mobile-menu > a,
    .has-submenu {
        font-size: 1rem;
    }
    
    .submenu-items a {
        font-size: 0.95rem;
    }
}

/* ============================================
   HERO SECTION - OPTIMIZADO MÓVIL
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 4rem;
    background: url('../images/img-hero1.webp') center/cover no-repeat;
    background-attachment: scroll;
}

@media (min-width: 769px) {
    .hero {
        background-attachment: fixed;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.3) 70%,
        rgba(11, 36, 53, 1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease;
    max-width: 900px;
    padding: 0 2rem;
}

.logo-hero {
    margin-bottom: 1rem;
}

.logo-hero img {
    width: 250px;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 0 30px rgba(182, 149, 102, 0.6));
    animation: gentleGlow 5s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0;
    line-height: 1.2;
    background: linear-gradient(to right, #74E4E9, #004AAD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
}

.hero-subtitle-small {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(to right, #74E4E9, #004AAD);
    filter: drop-shadow(0 0 25px rgb(255, 255, 255));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   BOTONES
   ============================================ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-white);
    padding: 1rem 3rem;
    font-family: belleza;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary:hover {
    color: var(--color-dark);
}

.btn-gold {
    background: var(--color-gold);
    border: none;
    color: var(--color-dark);
    padding: 1rem 3rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    z-index: 10;
    position: relative;
}

.btn-gold:hover {
    background: var(--color-beige);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(182, 149, 102, 0.3);
}

/* ============================================
   SECTIONS GENERAL
   ============================================ */

.section-title,
.section-title-white {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: .5rem;
    z-index: 10;
    position: relative;
}

.section-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 1.5rem;
    z-index: 10;
    position: relative;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    z-index: 10;
    position: relative;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
    max-width: 300px;
}

/* ============================================
   ESCUELA - OPTIMIZADO
   ============================================ */

.escuela {
    position: relative;
    background: linear-gradient(to bottom, 
        rgba(11, 36, 53, 1) 0%, 
        rgba(0, 0, 0, 0.1) 50%,
        rgba(71, 115, 151, 0) 100%
    );
    overflow: hidden;
}

.escuela .hero-text-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    z-index: 10;
}

.bienvenida-text {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(182, 149, 102, 0.08);
    border: 1px solid rgba(182, 149, 102, 0.25);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 10;
    position: relative;
}

.escuela-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    z-index: 10;
    position: relative;
}

.escuela-icon {
    color: var(--color-gold);
    font-size: 1.5rem;
}

/* ============================================
   FORMACIÓN - OPTIMIZADO PARA MÓVIL
   ============================================ */

.formacion {
    background:
        linear-gradient(to bottom, 
            rgba(71, 115, 151, 0) 0%,
            rgba(10, 22, 40, 0.3) 30%,
            rgba(11, 36, 53, 1) 100%
        );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 1600px;
    justify-items: center;
    padding: 2rem 0;
    z-index: 10;
    position: relative;
}

.course-card {
    position: relative;
    display: block;
    width: 300px;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    cursor: default;
    will-change: transform;
    transform: translateZ(0);
    z-index: 10;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%; 
    background: linear-gradient(
        to top,
        rgba(182, 149, 102, 1) 0%,  
        rgba(10, 22, 40, 0) 100%     
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: height 0.7s ease;
    z-index: 2;
}

.card-title {
    position: relative;
    z-index: 3;
    border-radius: 2px;
    background-color: rgba(201, 169, 97, 0.15);
    border: 1.5px solid var(--color-gold);
    color: var(--color-white);
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 1.5px;
    transition: transform 0.4s ease;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    margin: 0;
}

.course-card:hover .card-title,
.course-card.mobile-active .card-title {
    transform: translateY(-140px); 
}

.course-card:hover .card-overlay,
.course-card.mobile-active .card-overlay {
    height: 100%;
    justify-content: center;
    background: linear-gradient(
        to top,
        rgba(182, 149, 102, 1) 0%,  
        rgba(10, 22, 40, 0.7) 100%     
    );
}

.course-card:hover .card-image,
.course-card.mobile-active .card-image {
    transform: scale(1.1);
}

.course-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 10px 40px rgba(182, 149, 102, 0.4);
}

.card-hidden-info {
    position: absolute; 
    top: 53%;
    left: 0;
    width: 100%;
    padding: 0 20px;
    opacity: 0; 
    transform: translateY(20px); 
    transition: all 0.5s ease; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    pointer-events: none;
}

.card-subtitle {
    font-family: var(--font-primary), sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-white);
    margin: 0 0 10px 0;
    line-height: 1.1;
}

.separator {
    width: 80px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.4);
    margin-bottom: 5px;
}

.card-desc {
    font-family: var(--font-body), sans-serif;
    font-size: 1rem;
    color: var(--color-white);
    margin: 0;
    line-height: 1.5;
}

.course-card:hover .card-hidden-info,
.course-card.mobile-active .card-hidden-info {
    opacity: 1; 
    transform: translateY(-100px);
    pointer-events: auto;
}

.card-cta {
    display: block;
    width: 90%; 
    margin-top: 20px; 
    padding: 10px 0px; 
    background-color: var(--color-white);
    color: var(--color-dark); 
    border-radius: 2px;
    font-family: var(--font-secondary), sans-serif;
    font-weight: 500;
    text-align: center;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-cta:hover {
    background-color: var(--color-dark);
    color: var(--color-white); 
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE - FORMACIÓN
   ============================================ */

@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 960px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 1.5rem;
    }
    
    .card-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .courses-grid {
        grid-template-columns: 1fr; 
        max-width: 400px;
        margin: 0 auto;
    }
    
    .card-content {
        padding: 1.5rem 1rem;
    }
    
    .card-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .course-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ============================================
   SOBRE LA ESCUELA - CORREGIDO
   ============================================ */

.sobre-escuela {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(to bottom, 
        rgba(11, 36, 53, 1) 0%,
        rgba(11, 36, 53, 0.5) 50%,
        rgba(10, 22, 40, 0.5) 100%
    );
    position: relative;
    overflow: hidden;
}

.content-with-mandalas {
    width: 100%;
    margin: 0 auto;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.mandala {
    position: absolute;
    width: 500px;
    height: 500px;
    pointer-events: none;
    z-index: 1;
}

.mandala-left {
    left: -250px;
    top: 50%;
    animation: rotateLeft 80s linear infinite;
}

.mandala-right {
    right: -250px;
    top: 50%;
    animation: rotateRight 80s linear infinite;
}

@keyframes rotateLeft {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

@keyframes rotateRight {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(-360deg); }
}

/* Acordeones */

.accordions {
    flex: 1;
    max-width: 700px;
    z-index: 10;
    position: relative;
    margin: 0 auto;
    padding: 0 2rem;
}

.accordion-item {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(182, 149, 102, 0.3);
    border-radius: 5px;
    overflow: hidden;
    z-index: 10;
    position: relative;
}

.accordion-header {
    width: 100%;
    background-color: var(--color-beige);
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--color-gold);
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    text-align: left;
    z-index: 10;
    position: relative;
}

.accordion-header:hover {
    color: var(--color-beige);
    background-color: var(--color-gold);
}

.accordion-header i {
    color: var(--color-gold);
    transition: var(--transition);
}

.accordion-header:hover i {
    color: var(--color-beige);
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
    z-index: 10;
    position: relative;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    
}

.accordion-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    padding: 1.5rem;
}

.frase-central {
    text-align: center;
    z-index: 10;
    position: relative;
}

.frase-italic {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ============================================
   TESTIMONIOS
   ============================================ */

.testimonios {
    background: linear-gradient(to bottom, 
        rgba(10, 22, 40, 0.5) 0%, 
        rgba(11, 36, 53, 1) 100%  
    );
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    z-index: 10;
    position: relative;
}

.testimonio-card {
    background: var(--color-beige);
    color: var(--color-dark);
    padding: 2rem;
    border-radius: 10px;
    text-align: left;
    transition: var(--transition);
    z-index: 10;
    position: relative;
}

.testimonio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(182, 149, 102, 0.2);
}

.testimonio-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
}

.nombre {
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonio-content {
    position: relative;
    padding-left: 2rem;
}

.quote-icon {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-gold);
    font-size: 1.5rem;
    opacity: 0.5;
}

/* ============================================
   CONTACTO
   ============================================ */

.contacto {
    padding: 3rem 0;
    background: linear-gradient(to bottom, 
        rgba(11, 36, 53, 1) 0%,
        rgba(11, 36, 53, 0) 30%,   
        rgba(10, 22, 40, 1) 90%
    ),
    url(../images/img-contacto-prueba.webp) center/cover no-repeat;
    position: relative;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 4rem;
    z-index: 10;
    position: relative;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    justify-content: center;
    gap: 2rem;
    z-index: 10;
    position: relative;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contacto-item i {
    font-size: 2rem;
    color: var(--color-gold);
}

.contacto-item p {
    color: var(--color-white);
    font-size: 1.1rem;
}

.contacto-item div a{
    font-size: 1.2rem;
}

.contacto-form {
    z-index: 10;
    position: relative;
}

.contacto-form h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--color-white);
}

.contacto-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contacto-form input,
.contacto-form textarea {
    background: #0b243557;
    border: 1px solid var(--color-gold);
    padding: 1rem;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 5px;
    transition: var(--transition);
    z-index: 10;
    position: relative;
}

.contacto-form input::placeholder,
.contacto-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: #0a162891;
}

.contacto-form textarea {
    resize: vertical;
    min-height: 150px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #0a162891 inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* ============================================
   FOOTER - CORREGIDO Y OPTIMIZADO
   ============================================ */

.footer {
    background-color: var(--color-footer1);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(182, 149, 102, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-column:first-child {
    text-align: right;
    padding-right: 2rem;
}

.footer-column:first-child h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
}

.footer-column:first-child p,
.footer-column:first-child a {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.footer-column:first-child a:hover {
    color: var(--color-gold);
}

/* ============================================
   ÍCONOS SOCIALES - ✅ SOLUCIÓN DEFINITIVA
   ============================================ */

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-column:first-child .social-icons {
    justify-content: flex-end;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(182, 149, 102, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    z-index: 10;
}

.social-icons a i {
    font-size: 1.3rem;
    color: var(--color-gold);
    transition: var(--transition);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

.social-icons a:hover {
    background: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(182, 149, 102, 0.4);
}

.social-icons a:hover i {
    color: var(--color-dark);
}

.social-icons a::before {
    content: '';
    position: absolute;
    inset: -3px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: var(--transition);
    pointer-events: none;
}

.social-icons a:hover::before {
    border-color: var(--color-gold);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.5;
    }
}

.social-icons a[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icons a[aria-label="WhatsApp"]:hover {
    background: #25d366;
}

.social-icons a[aria-label="Email"]:hover {
    background: var(--color-gold);
}

.social-icons a[aria-label="Instagram"]:hover i,
.social-icons a[aria-label="WhatsApp"]:hover i,
.social-icons a[aria-label="Email"]:hover i {
    color: white;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.footer-logo img {
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(182, 149, 102, 0.3));
}

.footer-logo .logo-text {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    background: linear-gradient(to right, #74E4E9, #004AAD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.footer-logo .logo-subtext {
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(to right, #74E4E9, #004AAD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.5rem 0 0 0;
}

.footer-column:last-child {
    text-align: left;
    padding-left: 2rem;
}

.footer-column:last-child h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
}

.footer-column:last-child a {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.footer-column:last-child a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(182, 149, 102, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ============================
    FORMACION HERO
   ============================ */

.formacion-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 4rem;
    background: url('../images/formacion-hero.webp') center/cover no-repeat;
    background-attachment: scroll;
}

.formacion-content{
    width: 70%;
    max-width: 900px;
    z-index: 1;
}

.formacion-title{
    font-family: var(--font-primary);
    font-size: var(--spacing-lg);
    color: var(--color-white);
    letter-spacing: 2px;
}

.formacion-subtitle-small{
    font-family: var(--font-body);
    font-weight: bold;
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

.formacion-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-white);
    padding: 1rem 2.5rem;
    font-family: belleza;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.formacion-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: -1;
}

.formacion-btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}


.formacion-info-container{
    width: 70%;
    max-width: 900px;
    margin: 0 auto;
}

.formacion-info-title{
    font-size: var(--spacing-md);
    color: var(--color-gold);
    margin-bottom: 1.2rem;
}

.formacion-info-text{
    font-size: 1.3rem;
    line-height: 2.5rem;
    margin-bottom: 3rem;
}

.formacion-accordion{
    width: 100vw;
}

.formacion-accordion-container{
    width: 100%;
    max-width: 70%;
    margin: 0 auto;
    background-color: var(--color-darker);
    border-top: 1px solid var(--color-gold);
    border-bottom: 1px solid var(--color-gold);
}

.formacion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.formacion-accordion-title {
    margin: 0;
    font-family: var(--font-primary); 
    color: var(--color-gold);
    font-size: 2rem;
    letter-spacing: 0.5px;
}

.accordion-year {
    font-weight: bold; 
}

.accordion-name {
    font-weight: 600; 
    font-style: italic;
    color: var(--color-white); 
}

.formacion-accordion-icon {
    color: var(--color-white);
    font-size: 1.2rem;
    transition: transform 0.5s ease; 
}

.formacion-accordion-container.active .formacion-accordion-icon {
    transform: rotate(90deg);
    color: var(--color-gold);
}

.formacion-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.formacion-inner {
    padding: 0 1rem 2rem 1rem;
}

.accordion-text {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: justify;
}

.accordion-result {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 1.5rem 0 2rem 0;
}

.accordion-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background: transparent;
    border: 1px solid var(--color-gold);
    flex-shrink: 0;
}

.accordion-result-icon i {
    color: var(--color-gold);
    font-size: 1.4rem;
}

.accordion-result-text {
    display: flex;
    flex-direction: column;
}

.accordion-result-title {
    font-family: var(--font-body); 
    color: var(--color-gold);
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.accordion-result-desc {
    font-family: var(--font-body); 
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
}

.accordion-action {
    display: flex;
    justify-content: center;
    margin-top: .2rem;
}

.accordion-btn-inscribir {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: .5rem 2rem;
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.4s ease;
    overflow: hidden;
}

.accordion-btn-inscribir .accordion-btn-icon {
    max-width: 0;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s ease;
    font-size: 1.2rem;
}

.accordion-btn-inscribir:hover {
    background: var(--color-gold);
    color: var(--color-white);
    gap: 10px;
    box-shadow: 0 5px 15px rgba(182, 149, 102, 0.3);
}

.accordion-btn-inscribir:hover .accordion-btn-icon {
    max-width: 20px;
    opacity: 1;
    transform: translateX(0);
}

.formacion-aclaracion{
    width: 100%;
    margin: 0 auto;
}

.aclaracion-container{
    max-width: 70%;
    margin: 0 auto;
    margin-top: 2rem;
}

.aclaracion-titulo{
    width: fit-content;
    margin: 0 auto;
    padding: 1rem 2rem;
    font-style: var(--font-primary);
    letter-spacing: 2px;
    border: 1px solid var(--color-gold);
    border-radius: 6px;
    margin-bottom: 2rem;
    transition: all .3s ease-in-out;
}

.aclaracion-titulo:hover{
    box-shadow: 0 0px 15px rgba(182, 149, 102, .5);
}

.aclaracion-parrafo{
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.3rem;
    line-height: 2.5rem;
    margin-bottom: .5rem;
}

.aclaracion-word{
    font-size: 2.5rem;
    font-family: var(--font-primary);
    color: var(--color-gold);
}

.aclaracion-parrafo-gold{
    display: block;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: .5rem;
}

.formacion-cta {
    text-align: center;
    position: relative;
    z-index: 10;
}

.formacion-cta-title {
    font-family: var(--font-primary); 
    color: var(--color-white);
    font-size: 2rem;
    margin: 1rem 0 0 0;
    font-style: italic;
    font-weight: 400;
}

.formacion-btn-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    gap: 12px;
    background-color: var(--color-gold);
    color: var(--color-darker);
    padding: 18px 45px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Animación de pulso infinito */
    animation: pulseGold 2.5s infinite;
}

/* Efecto de destello de luz (Shine) oculto a la izquierda */
.formacion-btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-25deg);
    transition: all 0.6s ease;
}

/* Interacción Hover */
.formacion-btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(182, 149, 102, 0.6);
    background-color: var(--color-beige); /* Se aclara sutilmente */
    color: var(--color-darker);
    animation: none; /* Detiene el pulso al posar el mouse */
}

/* El destello cruza el botón */
.formacion-btn-cta:hover::before {
    left: 200%;
}

/* Animación del icono (Chispas mágicas) */
.formacion-btn-cta .formacion-btn-icon {
    font-size: 1.3rem;
    transition: transform 0.4s ease;
    color: var(--color-darker);
}

.formacion-btn-cta:hover .formacion-btn-icon {
    transform: rotate(15deg) scale(1.2);
}

/* Keyframes para el latido/pulso del botón */
@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(182, 149, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(182, 149, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(182, 149, 102, 0);
    }
}

/* ====================
   CONSULTORÍA HERO
   ==================== */
.formacion-consultoria-hero{
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 4rem;
    background: url('../images/consultoria-hero.webp') center/cover no-repeat;
    background-attachment: scroll;
}

.consultoria-container{
    position: relative;
    background: url(../images/consultoria-info-img.webp) center/cover no-repeat;
}

.consultoria-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        var(--color-darker) 0%, 
        rgba(11, 36, 53, 0) 30%, 
        rgba(11, 36, 53, 0) 85%, 
        var(--color-darker) 100%
    );
    pointer-events: none; 
    z-index: 1; 
}

.consultoria-cards-wrapper{
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding: 2rem 0; 
    position: relative;
    z-index: 2; /* Sobre las estrellas */
}

/* La Tarjeta Individual - Compacta y mística */
.consultoria-service-card{
    background-color: var(--color-beige); /* Color Beige solicitado */
    border: 4px solid var(--color-gold); /* Borde dorado brillante */
    border-radius: 8px;
    padding: 2rem 2rem 1.2rem;
    position: relative;
    height: 600px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.consultoria-service-card:hover {
    transform: translateY(-5px);
}

/* Círculo superior con icono */
.consultoria-card-icon {
    position: absolute;
    top: -45px; /* Mitad de la altura sobresale */
    width: 90px;
    height: 90px;
    background-color: var(--color-darker);
    border: 4px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.consultoria-card-icon i {
    color: var(--color-gold);
    font-size: 2.5rem;
}

.consultoria-card-title {
    font-family: var(--font-primary);
    color: var(--color-blue-medium);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    margin-top: 1rem;
}

.consultoria-card-divider{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 60%;
    margin-bottom: 1.5rem;
}

.consultoria-card-divider .line {
    flex: 1;
    height: 1px;
    background-color: var(--color-gold);
}

.consultoria-card-divider i {
    color: var(--color-gold);
    font-size: 0.9rem;
}

.consultoria-card-info {
    font-family: var(--font-body);
    color: var(--color-blue-medium);
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    text-align: center; 
}

.consultoria-card-items {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    text-align: left;
    width: 100%;
}

.consultoria-card-items li {
    font-family: var(--font-body);
    color: var(--color-blue-medium);
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.consultoria-card-items li i {
    color: var(--color-gold);
    font-size: .9rem;
    margin-top: 5px; 
}

.consultoria-card-cta {
    background-color: var(--color-gold);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    transition: all 0.3s ease;
    letter-spacing: 1.5px;
    margin-top: auto;
}

.consultoria-card-cta:hover {
    background-color: var(--color-darker); 
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.consultoria-card-cta i {
    font-size: 1.rem;
    color: white; 
}

.consultoria-info-accordions-wrapper {
    max-width: 70%;
    margin: 4rem auto;
    display: flex;
    flex-direction: column;
}

.consultoria-acordeon-title{
    font-family: var(--font-primary);
    color: var(--color-gold);
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 3rem;
}

.consultoria-info-accordion {
    background-color: transparent;
    border-top: 1px solid var(--color-gold);
    border-bottom: 1px solid var(--color-gold);
    overflow: hidden;
}

.consultoria-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.consultoria-info-title {
    font-family: var(--font-primary); 
    color: var(--color-white);
    font-size: 2.2rem;
    margin: 0;
    font-weight: 600;
}

.consultoria-info-toggle-icon{
    color: var(--color-gold);
    font-size: 1.5rem;
    transition: transform 0.5s ease, font-weight 0.3s ease;
}

.consultoria-info-accordion.active .consultoria-info-toggle-icon {
    transform: rotate(180deg);
    font-weight: 900; 
}

.consultoria-info-accordion.active .consultoria-info-title{
    color: var(--color-gold);
    transition: all 0.5s ease;
}

.consultoria-info-content{
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.consultoria-info-accordion.active .consultoria-info-content{
    opacity: 1;
}

.consultoria-info-inner {
    padding: 0 0 2rem 0;
}

.consultoria-info-subtitle{
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.consultoria-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.consultoria-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.consultoria-info-accordion.active .consultoria-info-list li{
    opacity: 1;
    transform: translateX(0);
}

.consultoria-info-accordion.active .consultoria-info-list li:nth-child(1) { transition-delay: 0.1s; }
.consultoria-info-accordion.active .consultoria-info-list li:nth-child(2) { transition-delay: 0.2s; }
.consultoria-info-accordion.active .consultoria-info-list li:nth-child(3) { transition-delay: 0.3s; }

.consultoria-info-list li:hover {
    background-color: rgba(182, 149, 102, 0.05); 
    transform: translateX(10px);
}

.consultoria-info-icon-box{
    width: 45px;
    height: 45px;
    border: 1px solid rgba(182, 149, 102, 0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.consultoria-info-icon-box i {
    color: var(--color-gold);
    font-size: 1.1rem;
}

.consultoria-info-list li:hover .consultoria-info-icon-box {
    border-color: var(--color-gold);
    box-shadow: 0 0 15px rgba(182, 149, 102, 0.2);
    transform: scale(1.1);
}

.consultoria-info-text-box h4 {
    font-family: var(--font-body); 
    color: var(--color-gold);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.consultoria-info-text-box p {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.consultoria-list-centered li {
    align-items: center; 
}
/* =======================
    TALLERES HERO
   ======================= */

.formacion-talleres-hero{
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 4rem;
    background: url('../images/talleres-hero.webp') center/cover no-repeat;
    background-attachment: scroll;
}

.talleres-section {
    padding: 5rem 0;
    width: 100%;
    position: relative;
    background: url(../images/talleres-section.webp) center/cover no-repeat;
}

.talleres-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        var(--color-darker) 0%, 
        rgba(11, 36, 53, 0) 35%, 
        var(--color-darker)  90%, 
        var(--color-darker) 100%
    );
    pointer-events: none; 
    z-index: 0; 
}

.talleres-workshops-nav {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px solid var(--color-gold);
    border-radius: 6px;
    padding: 5px;
    margin-bottom: 1rem;
    background: var(--color-darker);
    backdrop-filter: blur(10px);
}

.talleres-nav-slider {
    position: absolute;
    top: 8px;
    left: 0;
    height: calc(90% - 10px);
    background-color: var(--color-gold);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.talleres-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 1.1rem 1rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.talleres-tab-btn.active, .talleres-tab-btn:hover {
    color: var(--color-white);
}

/* --- NAVEGACIÓN MÓVIL (DROPDOWN) --- */
.talleres-mobile-dropdown {
    display: none;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 1rem;
    position: relative;
    z-index: 20;
}

.talleres-dropdown-header {
    background: rgba(11, 36, 53, 0.9);
    border: 1px solid var(--color-gold);
    padding: 15px 20px;
    color: var(--color-gold);
    font-family: var(--font-body);
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    cursor: pointer;
}

.talleres-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-darker);
    border: 1px solid var(--color-gold);
    border-top: none;
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.talleres-dropdown-list.open {
    max-height: 400px;
}

.talleres-dropdown-list li {
    padding: 15px 20px;
    color: white;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
}

.talleres-dropdown-list li:hover, .talleres-dropdown-list li.active {
    background: rgba(182, 149, 102, 0.1);
    color: var(--color-gold);
}

.talleres-workshop-content {
    display: none;
    width: 80%;
    margin: 0 auto;
    animation: fadeInWorkshop 0.5s ease forwards;
}

.talleres-workshop-content.active {
    display: block;
}

.talleres-workshop-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.talleres-grid-col-left, .talleres-grid-col-right {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.talleres-box-group {
    display: flex;
    gap: 1.5rem;
}

.talleres-box {
    background: rgba(11, 36, 53, 0.9);
    border: 1px solid var(--color-gold);
    border-radius: 4px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.talleres-box:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(182, 149, 102, 0.05);
}

.talleres-box-main {
    flex: 1;
}

.talleres-icon-circle {
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    background-color: rgba(182, 149, 102, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.talleres-icon-circle i {
    color: var(--color-gold);
    font-size: 1.5rem;
}

.bg-icon {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18rem;
    color: white;
    opacity: 0.03;
    pointer-events: none;
    transition: transform 0.6s ease;
}

.talleres-box-main:hover .bg-icon {
    transform: translateY(-50%) scale(1.1);
}

.talleres-workshop-title {
    font-family: var(--font-primary);
    color: white;
    font-size: 3rem;
    margin: 0 0 5px 0;
}

.talleres-workshop-subtitle {
    font-family: var(--font-primary);
    color: var(--color-gold);
    font-weight: bold;
    font-size: 1.7rem;
    font-style: italic;
    margin: 0 0 1rem 0;
}

.talleres-workshop-desc {
    font-family: var(--font-body);
    color: #cbd5e1bb; 
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.talleres-box-mini {
    padding: 1rem;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(182, 149, 102, 0.8);
}

.mini-icon {
    color: var(--color-white);
    font-size: 1.5rem;
}

.mini-text {
    display: flex;
    flex-direction: column;
}

.mini-label {
    font-family: var(--font-body);
    color: var(--color-white);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
}

.mini-value {
    font-family: var(--font-body);
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    margin-top: 3px;
}

.talleres-box-heading {
    font-family: var(--font-primary);
    color: var(--color-gold);
    font-size: 1.8rem;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.talleres-claves-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.talleres-claves-list li {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
}

.talleres-claves-list li i {
    color: var(--color-gold);
    margin-top: 5px;
}

.clave-info h5 {
    font-family: var(--font-body);
    color: var(--color-gold);
    font-size: 1.1rem;
    margin: 0 0 5px 0;
}

.clave-info p {
    font-family: var(--font-body);
    color: #cbd5e1c0;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.talleres-workshop-cta-wrap {
    text-align: center;
    margin-top: 2rem;
}

.talleres-btn-inscribite {
    display: inline-block;
    background: linear-gradient(135deg, #B69566 0%, #A67C52 100%);
    color: white;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    padding: 15px 50px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.talleres-btn-inscribite:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(182, 149, 102, 0.4);
    background: linear-gradient(135deg, #c7a778 0%, #b88d63 100%);
}

.talleres-magic-star {
    position: fixed; /* Fijo a la pantalla para que no rompa tu grilla */
    pointer-events: none; /* Vital: para que no bloqueen los clicks del usuario */
    color: var(--color-gold);
    z-index: 9999; 
    animation: fallAndFade 0.8s linear forwards; 
    text-shadow: 0 0 8px rgba(182, 149, 102, 0.8);
}

@media (max-width: 990px) {
     .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }

    .talleres-workshop-grid {
        grid-template-columns: 1fr;
    }
    .bg-icon {
        font-size: 12rem; 
    }
}

@media (max-width: 768px) {
    .talleres-box-group {
        flex-direction: column;
    }
    
    .talleres-workshop-title { font-size: 2.2rem; }
    .talleres-box { padding: 1.5rem; }
}

/* Animación: Se encogen, caen un poco y giran mientras se desvanecen */
@keyframes fallAndFade {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) translateY(25px) rotate(90deg);
    }
}

@keyframes fadeInWorkshop {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =======================
    FORMACIÓN RESPONSIVE
   ======================= */

@media (max-width: 1024px){
    .formacion-info-text{
        font-weight: 400;
    }

    .divider-line{
        max-width: 20%;
    }

    .formacion-accordion-container{
        max-width: 70%;
    }

    .accordion-year, .accordion-name{
        font-size: 1.7rem;
    }

    .accordion-text{
        line-height: 1.6rem;
    }

    .accordion-result-title{
        font-size: 1rem;
    }

    .accordion-result-desc{
        font-size: 1rem;
    }

    .aclaracion-parrafo{
        font-size: 1.2rem;
        line-height: 1.9rem;
    }

    .aclaracion-word{
        font-size: 2rem;
    }

    .aclaracion-parrafo-gold{
        font-size: 1.2rem;
        font-weight: 400;
    }
}

@media (max-width: 950px) {
    .formacion-title{
        font-size: 3rem;
    }

    .formacion-subtitle-small{
        font-size: 1.1rem;
    }

    .formacion-btn-primary{
        padding: .8rem 2rem;
    }

    .formacion-info-title{
        font-size: 1.5rem;
    }

    .formacion-info-text{
        font-size: 1.1rem;
        font-weight: 400;
        line-height: 1.7rem;
        margin-bottom: 1rem;
    }

    .aclaracion-parrafo{
        margin: 1.1rem 0;
    }
}

@media (max-width: 768px) {
    .formacion-title{
        font-size: 2.3rem;
    }

    .formacion-subtitle-small{
        font-size: 1rem;
    }

    .divider-line{
        max-width: 20%;
    }

    .accordion-year, .accordion-name{
        font-size: 1.5rem;
    }

    .formacion-cta-title {
        font-size: 2rem;
    }
    .formacion-btn-cta {
        padding: 15px 30px;
        font-size: 1rem;
        gap: 1rem;
    }

    .consultoria-acordeon-title{
        font-size: 2.5rem;
    }
}

@media (max-width: 650px){
    .section-divider{
        gap: .5rem;
    }

    .divider-line{
        max-width: 20%;
    }

    .formacion-accordion-container{
        max-width: 70%;
    }

    .formacion-header{
        padding: 1.5rem 0;
    }

    .formacion-inner{
        padding: 0;
    }

    .accordion-name, .accordion-year{
        font-size: 1.4rem
    }
}

@media (max-width: 500px){
    .aclaracion-titulo{
        font-size: 1rem;
        padding: 1rem 1.5rem;    
    }

    .accordion-text{
        letter-spacing: 0;
        line-height: 1.3rem;
    }

    .formacion-header{
        padding: 1rem 0;
    }

    .formacion-inner{
        padding: 0 0 1.7rem 0;
    }

    .formacion-accordion-container{
        max-width: 70%;
    }

    .formacion-accordion-title{
        font-size: 1.2rem;
    }

    .accordion-name, .accordion-year{
        font-size: 1.4rem;
    }

    .accordion-text{
        line-height: 1.5rem;
    }

    .consultoria-acordeon-title{
        font-size: 1.7rem;
    }

    .consultoria-service-card {
        max-width: 80%;
        height: 100%;
        padding: 1rem 14px;
    }

    .consultoria-card-title {
        margin-top: 2rem;
        font-size: 2rem;
    }

    .consultoria-card-cta i{
        display: none;
    }

    .consultoria-card-cta {
        gap: 1px;
        padding: .5rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 420px){
    .aclaracion-titulo{
        font-size: .7rem;    
    }

    .formacion-inner{
        padding: 0 0 2rem 0;
    }

    .formacion-cta-title{
        font-size: 1.7rem;
    }

    .consultoria-card-title{
        font-size: 1.6rem
    }

    .consultoria-info-title{
        font-size: 1.8rem;
    }
}

@media (max-width: 350px){
    .formacion-title{
        font-size: 2rem;
    }

    .aclaracion-titulo{
        font-size: .8rem;
        padding: 12px 15px;    
    }
}

/* ============================================
   RESPONSIVE FOOTER - TABLET
   ============================================ */

@media (max-width: 1024px) {
    .footer-grid {
        gap: 2rem;
        max-width: 900px;
    }
    
    .footer-column:first-child,
    .footer-column:last-child {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .footer-logo img {
        width: 130px;
    }
    
    .footer-logo .logo-text {
        font-size: 2rem;
    }
}

/* ============================================
   RESPONSIVE FOOTER - MÓVIL
   ============================================ */

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        max-width: 100%;
    }
    
    .footer-column:first-child,
    .footer-column:last-child {
        text-align: center;
        padding: 0 1rem;
    }
    
    .footer-column h4 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-column p,
    .footer-column a {
        font-size: 1rem;
        margin-bottom: 0.7rem;
    }
    
    .footer-logo {
        order: -1;
        padding: 0;
        margin-bottom: 1rem;
    }
    
    .footer-logo img {
        width: 100px;
        margin-bottom: 0.8rem;
    }
    
    .footer-logo .logo-text {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }
    
    .footer-logo .logo-subtext {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }
    
    .footer-column:first-child .social-icons,
    .social-icons {
        justify-content: center;
        margin-top: 1.2rem;
    }
    
    .social-icons a {
        width: 50px;
        height: 50px;
    }
    
    .social-icons a i {
        font-size: 1.5rem;
    }
    
    .footer-column:not(.footer-logo) {
        padding-top: 1.5rem;
        border-top: 1px solid rgba(182, 149, 102, 0.15);
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   RESPONSIVE FOOTER - MÓVIL PEQUEÑO
   ============================================ */

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-grid {
        gap: 2.5rem;
    }
    
    .footer-logo img {
        width: 90px;
    }
    
    .footer-logo .logo-text {
        font-size: 1.8rem;
    }
    
    .footer-logo .logo-subtext {
        font-size: 0.75rem;
    }
    
    .footer-column h4 {
        font-size: 1.2rem;
    }
    
    .footer-column p,
    .footer-column a {
        font-size: 0.95rem;
    }
    
    .social-icons {
        gap: 0.8rem;
    }
    
    .social-icons a {
        width: 48px;
        height: 48px;
    }
    
    .social-icons a i {
        font-size: 1.4rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
        padding: 1rem;
    }
}

/* ============================================
   WHATSAPP FLOTANTE
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-white);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float i {
    color: var(--color-white);
    font-size: 2rem;
    line-height: 1;
}

/* ============================================
   ANIMACIONES
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(182, 149, 102, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 50px rgba(182, 149, 102, 0.9));
    }
}

/* ============================================
   RESPONSIVE GENERAL
   ============================================ */

@media (max-width: 900px) {
    .contacto-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .navbar {
        gap: 3rem;
    }

    .nav-left,
    .nav-right {
        gap: 1.5rem;
    }

    .dropdown {
        margin-bottom: 2px;
    }
}

@media (max-width: 1024px) {
    .navbar {
        padding: 0.8rem 3%;
        gap: 2rem;
    }

    .nav-left,
    .nav-right {
        gap: 1.2rem;
    }

    .navbar a {
        font-size: 0.9rem;
    }

    .dropdown {
        margin-top: 4px;
    }

    .logo-img {
        height: 60px;
    }

    .content-with-mandalas {
        gap: 2rem;
    }

    .mandala {
        width: 400px;
        height: 400px;
    }

    .mandala-left {
        left: -200px;
    }

    .mandala-right {
        right: -200px;
    }
}

@media (max-width: 900px) {
    .navbar {
        gap: 1.5rem;
    }

    .nav-left,
    .nav-right {
        gap: 1rem;
    }

    .navbar a {
        font-size: 0.85rem;
    }

    .dropdown-content {
        top: 82px;
    }

    .dropdown {
        margin-bottom: 4px;
    }

    .logo-img {
        height: 55px;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-small {
        font-size: 0.9rem;
    }
    
    .section-title,
    .section-title-white {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
    }
    
    .logo-hero img {
        width: 150px;
    }
    
    .hero {
        padding-top: 80px;
        min-height: 100svh;
    }
    
    .btn-primary,
    .btn-gold {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .mandala {
        display: none;
    }
    
    .content-with-mandalas {
        margin: 2rem auto;
        min-height: auto;
    }
    
    .accordions {
        padding: 0 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem;
    }
    
    .section-divider {
        margin-bottom: 2rem;
    }
    
    .escuela .hero-text-block {
        padding: 2rem 1rem;
    }
    
    .bienvenida-text {
        font-size: 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title,
    .section-title-white {
        font-size: 1.8rem;
    }
    
    .logo-hero img {
        width: 120px;
    }
}