/* ========================================
   CELESTE CAMPOS YOGA - STYLESHEET
   Inspirado en el estilo minimalista de Meghan Currie
   ======================================== */

/* ========================================
   COLOR PALETTE - Nueva Identidad 2026
   ======================================== */

:root {
    /* Colores Principales */
    --bordeaux-principal: #73001a;        /* Burgundy protagonista */
    --bordeaux-profundo: #2E0000;         /* Burgundy oscuro */
    --bordeaux-suave: #9F2E2C;            /* Borgoña suave */

    /* Colores Secundarios - Celeste/Petróleo Vintage */
    --celeste-vintage: #4F9D9D;           /* Celeste viejo, cine 60s */
    --turquesa-profundo: #357987;         /* Turquesa profundo */
    --petroleo: #044E53;                  /* Azul petróleo */
    --petroleo-oscuro: #022D36;           /* Petróleo oscuro/índigo */

    /* Colores Complementarios */
    --lavanda: #9B8FB5;                   /* Lavanda sutil */
    --verde-salvia: #b3d0b7;              /* Verde salvia existente */
    --terracota: #D87D70;                 /* Rosa antiguo/terracota */

    /* Neutros */
    --crema-oscuro: #E8DDD0;              /* Crema vintage */
    --gris-galactico: #4A4A4A;            /* Gris medio */
    --negro: #000000;
    --blanco: #ffffff;

    /* Texturas - Film Grain & Paper */
    --grain-texture: repeating-radial-gradient(circle at 20% 30%, transparent 0, transparent 1px, rgba(0,0,0,0.08) 1px, transparent 2px),
                     repeating-radial-gradient(circle at 80% 70%, transparent 0, transparent 1px, rgba(0,0,0,0.08) 1px, transparent 2px),
                     repeating-radial-gradient(circle at 40% 80%, transparent 0, transparent 1px, rgba(0,0,0,0.08) 1px, transparent 2px),
                     repeating-radial-gradient(circle at 60% 15%, transparent 0, transparent 1px, rgba(0,0,0,0.05) 1px, transparent 2px),
                     repeating-radial-gradient(circle at 35% 60%, transparent 0, transparent 1px, rgba(0,0,0,0.05) 1px, transparent 2px);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

/* Reducción global para mobile (~85% del tamaño original) */
@media (max-width: 768px) {
    html {
        font-size: 13.5px;
    }
}

body {
    font-family: 'Nunito', 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 1.25rem; /* 20px base - más grande que estándar */
    line-height: 1.6;
    color: #000000;
    background-color: #ffffff;
    overflow-x: hidden;
    /* Prevenir bounce horizontal en Safari */
    overscroll-behavior-x: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--celeste-vintage);
}

ul {
    list-style: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Spectral', 'Playfair Display', serif;
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem; /* 56px */
}

h2 {
    font-size: 3rem; /* 48px */
}

h3 {
    font-size: 2rem; /* 32px */
}

h4 {
    font-size: 1.5rem; /* 24px */
}

p {
    margin-bottom: 1.5rem;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

section {
    padding: 100px 0;
    position: relative;
}

/* Marcos cinematográficos - Film frames sutiles al estilo Woody Allen */
/* Líneas arriba y abajo de secciones principales */
.profesorado .container::before,
.talleres .container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.12) 10%,
        rgba(0, 0, 0, 0.12) 90%,
        transparent 100%
    );
}

.profesorado .container::after,
.talleres .container::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.12) 10%,
        rgba(0, 0, 0, 0.12) 90%,
        transparent 100%
    );
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Nav más compacta al scrollear - estilo cinematográfico */
.nav.nav-scrolled .nav-container {
    padding: 12px 24px;
}

.nav.nav-scrolled .nav-logo img {
    height: 55px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 90px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    font-weight: 300;
    color: #000000;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.nav-link:hover {
    color: var(--celeste-vintage);
}

/* Nav items deshabilitados */
.nav-item-disabled {
    position: relative;
    text-align: center;
}

.nav-link-disabled {
    color: #9ca3af !important;
    cursor: default;
    font-size: 1rem;
    font-weight: 300;
}

.nav-link-disabled:hover {
    color: #9ca3af !important;
}

.nav-proximamente {
    font-size: 0.5rem;
    color: #73001a;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -14px;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background-color: #000000;
    transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 70%;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #1a1a1a;
    padding: 0 24px;
    max-width: 900px;
    margin-top: -375px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 200;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-family: 'Spectral', serif;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 0;
    color: #1a1a1a;
}

/* Hero Name - Sophisticated styling */
.hero-name-container {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-name-prefix {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.7;
    font-family: 'Josefin Sans', sans-serif;
}

.hero-name {
    font-family: 'Spectral', serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: #73001a;
    margin: 0;
    position: relative;
    padding-bottom: 5px;
}

.hero-name::after {
    display: none;
}

.hero-cta {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    color: #1a1a1a;
    padding: 0;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
}

.hero-cta:hover {
    color: #73001a;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: #1a1a1a;
}

.hero-scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
    opacity: 0.8;
}

.scroll-arrow {
    height: 50px;
    width: auto;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #000000;
    display: inline-block;
}

.section-title .title-icon {
    display: inline-block;
    height: 32px;
    width: auto;
    margin-left: 12px;
    vertical-align: middle;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.section-title:hover .title-icon {
    opacity: 0.9;
    transform: scale(1.1);
}

.section-subtitle {
    font-size: 1.25rem;
    font-weight: 200;
    color: #333333;
    line-height: 1.8;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 25px;
}

.btn-primary {
    background-color: #000000;
    color: #ffffff;
}

.btn-primary:hover {
    opacity: 0.8;
    color: #ffffff;
}

.btn-secondary {
    background-color: #73001a;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #c9a227;
    color: #000000;
}

.btn-disabled {
    background-color: #d1d5db;
    color: #6b7280;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-disabled:hover {
    background-color: #d1d5db;
    color: #6b7280;
}

.btn-outline {
    background-color: transparent;
    color: #000000;
    border: 2px solid #000000;
}

.btn-outline:hover {
    background-color: #000000;
    color: #ffffff;
}

.btn-accent {
    background-color: #b3d0b7;
    color: #000000;
}

.btn-accent:hover {
    opacity: 0.85;
}

/* Botón outline primary (bordó) - con sombra en vez de borde */
.btn-outline-primary {
    background-color: #ffffff;
    color: #1a1a1a;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    letter-spacing: 0.5px;
    font-weight: 400;
}

.btn-outline-primary:hover {
    background-color: #73001a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(115, 0, 26, 0.3);
}

/* Botón Reserva Deshabilitado con Contador */
.btn-reserva-disabled {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #6b4a4a;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    cursor: not-allowed;
    opacity: 0.9;
}

.profesorado-actions .btn-reserva-disabled {
    flex: 1;
}

.btn-reserva-text {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 4px;
}

.btn-reserva-countdown {
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
}

.btn-reserva-small {
    padding: 10px 14px;
    font-size: 0.85rem;
}

.btn-reserva-small .btn-reserva-text {
    font-size: 0.75rem;
}

.btn-reserva-small .btn-reserva-countdown {
    font-size: 0.85rem;
}

.btn-reserva-large {
    padding: 16px 24px;
}

.btn-reserva-large .btn-reserva-text {
    font-size: 0.9rem;
}

.btn-reserva-large .btn-reserva-countdown {
    font-size: 1.1rem;
}

/* Botón bordó para clase gratis */
.clase-gratis .btn-accent {
    background-color: #73001a;
    color: #ffffff;
}

.clase-gratis .btn-accent:hover {
    background-color: #8a0020;
}

/* ========================================
   BANNER PROMO
   ======================================== */

.banner-promo {
    width: 100%;
    overflow: hidden;
}

.banner-promo a {
    display: block;
    position: relative;
}

.banner-promo img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.banner-promo img:hover {
    transform: scale(1.01);
}

.banner-badge-container {
    display: none;
    text-align: center;
    padding: 20px 0;
    background-color: #f5f5f5;
}

@media (max-width: 768px) {
    .banner-badge-container {
        display: block;
    }
}

.banner-badge {
    display: inline-block;
    background-color: #73001a;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 2px;
    padding: 12px 30px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .banner-badge-container {
        padding: 15px 0;
    }

    .banner-badge {
        font-size: 1rem;
        padding: 10px 24px;
    }

    .banner-promo {
        margin-top: 40px;
        padding: 0;
    }
}

/* ========================================
   PROFESORADO SECTION
   ======================================== */

.profesorado {
    background-color: #ffffff;
    position: relative;
    padding-bottom: 0;
}

/* Variación de color en título de Profesorado */
.profesorado .section-title {
    color: #73001a;
}

.profesorado .section-subtitle {
    color: #4a4a4a;
}

/* Carousel de Profesorado */
.profesorado-carousel {
    margin: 60px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: transparent;
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators .indicator.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.profesorado-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    position: relative;
    padding: 40px 60px;
}

/* Flor separadora arriba y abajo del intro */
.profesorado-intro::before,
.profesorado-intro::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-image: url('images/iconos/flor-separador.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.profesorado-intro::before {
    top: -10px;
}

.profesorado-intro::after {
    bottom: -10px;
    transform: translateX(-50%) rotate(180deg);
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #333333;
}

/* Badge Google Reviews */
.google-reviews-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #333;
    margin: 0 auto 15px;
    width: fit-content;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.google-reviews-badge:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.google-icon {
    flex-shrink: 0;
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.google-stars {
    display: flex;
    gap: 1px;
}

.google-stars .star {
    color: #FBBC05;
    font-size: 18px;
    line-height: 1;
}

.google-stars .star.partial {
    background: linear-gradient(90deg, #FBBC05 80%, #ddd 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.google-score {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.google-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

@media (max-width: 768px) {
    .google-reviews-badge {
        padding: 10px 18px;
        gap: 8px;
    }

    .google-stars .star {
        font-size: 16px;
    }

    .google-score {
        font-size: 18px;
    }

    .google-text {
        font-size: 12px;
    }
}

/* Resumen de Niveles */
.profesorado-niveles {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0 auto 60px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    border-radius: 0;    /* Editorial: sin redondeos */
    max-width: 900px;
    flex-wrap: wrap;
}

.nivel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.nivel-numero {
    font-family: 'Spectral', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #73001a;
    letter-spacing: 0.5px;
}

.nivel-descripcion {
    font-size: 0.85rem;
    color: #666666;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nivel-separator {
    font-size: 1.5rem;
    color: var(--celeste-vintage);
    font-weight: 300;
}

/* Banner Clase Gratis */
.clase-gratis-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #faf8f6;
    border: 1px solid #e8e0dc;
    border-radius: 8px;
    padding: 18px 30px;
    margin: 0 auto 50px;
    max-width: 550px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.clase-gratis-banner:hover {
    background: #f5f0ed;
    border-color: #73001a;
}

.clase-gratis-banner .banner-icon {
    font-size: 2rem;
}

.clase-gratis-banner .banner-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.clase-gratis-banner .banner-text strong {
    font-size: 1.1rem;
    color: #73001a;
}

.clase-gratis-banner .banner-text span {
    font-size: 0.9rem;
    color: #666;
}

.clase-gratis-banner .banner-arrow {
    font-size: 1.5rem;
    color: #73001a;
    transition: transform 0.3s ease;
}

.clase-gratis-banner:hover .banner-arrow {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .clase-gratis-banner {
        padding: 15px 20px;
        gap: 12px;
        margin: 0 15px 40px;
        max-width: none;
    }

    .clase-gratis-banner .banner-icon {
        font-size: 1.6rem;
    }

    .clase-gratis-banner .banner-text strong {
        font-size: 1rem;
    }

    .clase-gratis-banner .banner-text span {
        font-size: 0.85rem;
    }
}

.profesorado-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    margin-bottom: 100px;
    align-items: stretch;
}

.profesorado-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: none;
    border-radius: 15px;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Altura fija solo en desktop para que queden iguales */
@media (min-width: 992px) {
    .profesorado-card {
        min-height: 1292px;
    }
}

.profesorado-card:hover {
    box-shadow: 10px 12px 30px rgba(0, 0, 0, 0.15);
}

.profesorado-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 400px;
}

.profesorado-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profesorado-card:hover .profesorado-image img {
    transform: scale(1.05);
}

.profesorado-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #73001a;
    color: #ffffff;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profesorado-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.profesorado-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.profesorado-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #333333;
    flex-grow: 1;
}

.profesorado-highlights {
    margin-bottom: 2rem;
    padding-left: 0;
}

.profesorado-highlights li {
    font-family: 'Gudea', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    padding-left: 28px;
    position: relative;
    color: #2a2a2a;
    font-weight: 400;
    margin-bottom: 8px;
}

.profesorado-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #73001a;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Acordeón del Programa */
.programa-toggle {
    width: 100%;
    background: transparent;
    border: 1.5px solid rgba(115, 0, 26, 0.2);
    padding: 14px 20px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Spectral', serif;
    font-size: 1.05rem;
    color: #73001a;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: left;
}

.programa-toggle:hover {
    background: rgba(115, 0, 26, 0.03);
    border-color: rgba(115, 0, 26, 0.35);
}

.programa-toggle .toggle-text {
    flex: 1;
}

.programa-toggle .toggle-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    line-height: 1;
}

.programa-toggle.active .toggle-icon {
    transform: rotate(45deg);
}

.programa-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.programa-content.active {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

.profesorado-info {
    margin-top: auto;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.profesorado-price {
    font-size: 1.1rem;
    font-weight: 500;
    color: #73001a;
    margin-bottom: 0.5rem;
}

.profesorado-duration {
    font-size: 0.95rem;
    color: #555555;
    font-weight: 400;
}

/* Acciones del Profesorado - Botones alineados */
.profesorado-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
}

.cupos-value {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cupos-value span {
    color: #722F37;
    font-weight: 600;
    font-size: 0.85rem;
}

.cupos-bar {
    width: 80px;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.cupos-fill {
    height: 100%;
    background: #722F37;
    border-radius: 3px;
}

.profesorado-actions .btn {
    flex: 1;  /* Ambos botones mismo ancho */
}

/* Profesorado Details */
.profesorado-details {
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
    padding: 20px;
    margin: 0 0 1.5rem 0;
    border-left: 4px solid var(--celeste-vintage);
    border-radius: 0;    /* Editorial: sin redondeos */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-family: 'Gudea', sans-serif;
    font-size: 0.95rem;
    color: #777777;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.detail-value {
    font-family: 'Gudea', sans-serif;
    font-size: 1.05rem;
    color: #4a4a4a;
    font-weight: 700;
    text-align: right;
    max-width: 65%;
}

.cert-badge {
    color: #4a4a4a;
    font-weight: 600;
}

.profesorado-payment {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 15px 20px;
    margin: 1.5rem 0;
    text-align: center;
}

.profesorado-payment p {
    font-family: 'Gudea', sans-serif;
    margin: 0;
    font-size: 1rem;
    color: #333333;
}

.profesorado-payment strong {
    color: #73001a;
    font-size: 1.1rem;
    font-weight: 700;
}

.profesorado-cert {
    background-color: #f0f7f1;
    padding: 15px 20px;
    margin: 1.5rem 0;
    border-radius: 0;    /* Editorial: sin redondeos */
    text-align: center;
}

.profesorado-cert p {
    font-family: 'Gudea', sans-serif;
    margin: 0;
    font-size: 0.95rem;
    color: #2d5f4f;
}

.profesorado-cert strong {
    font-weight: 400;
}

/* Botones extras para Tercer Año y Posgrado */
.profesorado-extra-niveles {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 50px 0 30px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.btn-outline-secondary {
    background-color: #ffffff;
    color: #73001a;
    border: 2px solid #73001a;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.btn-outline-secondary:hover {
    background-color: #73001a;
    color: #ffffff;
}

/* Certificaciones Strip - Home */
.certificaciones-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 20px;
    background: #f8f8f8;
    margin-top: 20px;
}

.certificaciones-label {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.certificaciones-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.certificaciones-logos img {
    height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.certificaciones-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 600px) {
    .certificaciones-strip {
        padding: 25px 15px;
    }

    .certificaciones-logos {
        gap: 25px;
    }

    .certificaciones-logos img {
        height: 50px;
    }

    .certificaciones-label {
        font-size: 0.8rem;
    }
}

/* Testimonios Destacados - Home */
.testimonios-destacados {
    padding: 50px 20px 60px;
    background: linear-gradient(135deg, #faf9f7 0%, #f5f0eb 100%);
    margin-top: 0;
    margin-bottom: 60px;
}

.testimonios-destacados-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 500;
    color: #2e2f2f;
    margin-bottom: 40px;
}

.testimonios-destacados-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonio-destacado {
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonio-destacado:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.testimonio-destacado-foto {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #722F37;
}

.testimonio-destacado-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonio-destacado-foto img.foto-top {
    object-position: top;
}

.testimonio-destacado-texto {
    font-family: 'Spectral', serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a4a4a;
    font-style: italic;
    margin: 0 0 20px 0;
    padding: 0;
    border: none;
    flex-grow: 1;
}

.testimonio-destacado-autor {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonio-destacado-nombre {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #722F37;
}

.testimonio-destacado-info {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    color: #888;
}

@media (max-width: 1024px) {
    .testimonios-destacados-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .testimonios-destacados {
        padding: 40px 15px;
    }

    .testimonios-destacados-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .testimonios-destacados-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonio-destacado {
        padding: 25px 20px;
    }

    .testimonio-destacado-foto {
        width: 70px;
        height: 70px;
    }

    .testimonio-destacado-texto {
        font-size: 0.9rem;
    }
}

/* Profesorado CTA Section */

.profesorado-cta-section {
    background: #e8e8e8;
    padding: 80px 20px 60px 20px;
    text-align: center;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 600;
    color: #2e2f2f;
}

.profesorado-cta-section .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1150px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.feature h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #1a1a1a;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature p {
    font-size: 1rem;
    color: #444444;
    line-height: 1.7;
    font-weight: 400;
}

/* ========================================
   VISUAL DIVIDERS
   ======================================== */

.visual-divider {
    width: 100%;
    position: relative;
    padding: 0;
    margin-bottom: 0;
}

.divider-image {
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.divider-image img {
    width: 100%;
    height: auto;
    display: block;
}

.divider-overlay,
.divider-content {
    display: none;
}

.divider-quote {
    font-family: 'Dancing Script', 'Spectral', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: #65101a;
    font-style: normal;
    line-height: 1.6;
    position: relative;
    padding: 30px 0;
}

.divider-quote::before,
.divider-quote::after {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    color: #e8a090;
    position: absolute;
    line-height: 1;
}

.divider-quote::before {
    content: '"';
    top: -10px;
    left: -15px;
}

.divider-quote::after {
    content: '"';
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Practice Divider */
.practice-divider {
    width: 100vw;
    height: 700px;
    overflow: hidden;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.practice-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 55% center;
    background-attachment: fixed; /* Parallax effect */
    position: relative;
}

.practice-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.practice-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: #ffffff;
    width: 90%;
    max-width: 700px;
}

.practice-content h3 {
    font-family: 'Spectral', serif;
    font-size: 3rem;
    font-weight: 200;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.practice-content p {
    font-family: 'Dancing Script', 'Josefin Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.8;
    font-style: normal;
}

/* ========================================
   SOBRE MÍ SECTION
   ======================================== */

.sobre-mi {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
}

.sobre-mi .section-title {
    color: #73001a;
}

.sobre-mi-grid {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.sobre-mi-content {
    text-align: center;
}

.sobre-mi-image-top {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.sobre-mi-image-top img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.sobre-mi-image-top img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.sobre-mi-tagline {
    font-family: 'Spectral', serif;
    font-size: 1.3rem;
    font-style: normal;
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 40px 0;
    z-index: 1;
}

/* Timeline en mobile: sin margin ni padding */
@media (max-width: 768px) {
    .timeline {
        margin: 0 auto;
        padding: 0;
    }
}

/* Línea central vertical */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--celeste-vintage),
        var(--turquesa-profundo),
        var(--celeste-vintage),
        transparent
    );
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    /* Animación sutil al hacer scroll */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Items izquierda */
.timeline-left {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-left .timeline-content {
    margin-left: 0;
    margin-right: calc(50% + 30px);
}

/* Items derecha */
.timeline-right {
    flex-direction: row;
    text-align: left;
}

.timeline-right .timeline-content {
    margin-right: 0;
    margin-left: calc(50% + 30px);
}

/* Contenido de cada card */
.timeline-content {
    background-color: #ffffff;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
    border: none;
}

.timeline-content:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

/* Flecha hacia el centro */
.timeline-left .timeline-content::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 25px;
    width: 0;
    height: 0;
    border-left: 15px solid #ffffff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.timeline-right .timeline-content::after {
    content: '';
    position: absolute;
    left: -15px;
    top: 25px;
    width: 0;
    height: 0;
    border-right: 15px solid #ffffff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

/* Año/época */
.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, #73001a, #4a1a2c);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 0;    /* Editorial: badges rectangulares, estilo créditos de cine */
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.timeline-content h4 {
    font-family: 'Spectral', serif;
    font-size: 1.35rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Punto central */
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background-color: var(--celeste-vintage);
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(79, 157, 157, 0.2);    /* Celeste vintage */
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background-color: var(--petroleo);    /* Petróleo en hover */
    box-shadow: 0 0 0 6px rgba(4, 78, 83, 0.2);
    transform: translateX(-50%) scale(1.3);
}

/* Timeline Images */
.timeline-image {
    position: absolute;
    width: 160px;
    background: #ffffff;
    padding: 8px;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1;
    border-radius: 8px;
}

.timeline-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 180px;
    object-fit: cover;
    border-radius: 4px;
    /* Protección contra guardar imagen en mobile */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.timeline-image img.crop-top {
    object-position: top;
    max-height: 140px;
}

/* Para items con contenido a la izquierda, imagen a la derecha */
.timeline-left .timeline-image {
    right: 0;
    top: 10px;
}

/* Para items con contenido a la derecha, imagen a la izquierda */
.timeline-right .timeline-image {
    left: 0;
    top: 10px;
}

/* Efecto brocha detrás de las fotos del timeline */
.timeline-image::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: url('images/timeline/brocha.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    opacity: 0.7;
    pointer-events: none;
}

/* Brocha para fotos a la derecha (diagonal arriba-izq a abajo-der) */
.timeline-left .timeline-image::before {
    top: -50%;
    left: -50%;
    transform: rotate(-25deg);
}

/* Brocha para fotos a la izquierda (diagonal arriba-der a abajo-izq) */
.timeline-right .timeline-image::before {
    top: -50%;
    right: -50%;
    left: auto;
    transform: rotate(25deg) scaleX(-1);
}

.timeline-item:hover .timeline-image {
    transform: scale(1.15);
    box-shadow: 12px 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Lightbox para fotos del timeline */
.timeline-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.timeline-lightbox.active {
    display: flex;
}

.timeline-lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    /* Protección contra guardar imagen en mobile */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}

.timeline-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.timeline-lightbox-close:hover {
    opacity: 0.7;
}

/* Cursor pointer en imágenes del timeline */
.timeline-image {
    cursor: pointer;
}

.sobre-mi-philosophy {
    background-color: #faf2f3;
    padding: 60px 40px 30px 40px;
    margin: 3rem 0 0 0;
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
}

.sobre-mi-philosophy h3,
.sobre-mi-philosophy p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sobre-mi-philosophy h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.sobre-mi-philosophy p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2a2a2a;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.sobre-mi-philosophy .highlight {
    color: #73001a;
    font-weight: 500;
    font-style: normal;
}

.certificaciones {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-3px);
}

.cert-logo {
    height: 80px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.cert-item:hover .cert-logo {
    opacity: 1;
}

.cert-name {
    font-size: 0.85rem;
    color: #666666;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.5px;
    max-width: 120px;
    line-height: 1.3;
}

/* ========================================
   CLASES SECTION
   ======================================== */

.clases {
    background-color: #ffffff;
    position: relative;
    padding-top: 50px;
}

.clases .section-title {
    color: #73001a;
}

.clases .section-subtitle {
    color: #4a4a4a;
    font-style: italic;
}

.clases-grid {
    display: grid;
    gap: 80px;
}

.clase-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 50px;
    border: 1px solid rgba(179, 208, 183, 0.2);
    border-radius: 15px;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 50px;
}

.clase-card:hover {
    box-shadow: 12px 12px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
    border-color: rgba(79, 157, 157, 0.5);    /* Celeste vintage */
}

.clase-card:nth-child(even) {
    direction: rtl;
}

.clase-card:nth-child(even) > * {
    direction: ltr;
}

.clase-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.clase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.clase-card:hover .clase-image img {
    transform: scale(1.05);
}

.clase-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.clase-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #333333;
}

.clase-features {
    margin-bottom: 2rem;
}

.clase-features li {
    font-family: 'Gudea', sans-serif;
    font-size: 1rem;
    line-height: 2;
    padding-left: 30px;
    position: relative;
    color: #333333;
}

.clase-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.15rem;
    color: var(--celeste-vintage);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

/* Clase Gratis */

.clase-gratis {
    margin-top: 60px;
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8%;
}

.clase-gratis img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.clase-gratis-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: #ffffff;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    max-width: 500px;
    border-radius: 12px;
}

.clase-gratis-content h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.6rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.clase-gratis-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* ========================================
   FORMACIONES SECTION
   ======================================== */

.formaciones {
    background: linear-gradient(to bottom, #fafafa 0%, #f5f5f5 100%);
    position: relative;
}

/* Pequeño detalle geométrico */
.formaciones::after {
    content: '';
    position: absolute;
    bottom: 100px;
    right: 8%;
    width: 80px;
    height: 80px;
    border-left: 1px solid rgba(115, 0, 26, 0.1);
    border-bottom: 1px solid rgba(115, 0, 26, 0.1);
    pointer-events: none;
}

.formaciones .section-title {
    color: #4a1a2c;
}

.formaciones .section-title::after {
    background: linear-gradient(to right, transparent, #73001a, transparent);
}

.formaciones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.formacion-card {
    background-color: #ffffff;
    padding: 50px 40px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

/* Línea decorativa horizontal */
.formacion-card::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(115, 0, 26, 0.2), transparent);
    transition: width 0.3s ease;
}

.formacion-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.formacion-card:hover::after {
    width: 80px;
}

.formacion-image {
    width: 100%;
    height: 380px;
    overflow: hidden;
    border-radius: 0;    /* Editorial: sin redondeos */
    margin-bottom: 1.5rem;
}

.formacion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.formacion-card:hover .formacion-image img {
    transform: scale(1.05);
}

.formacion-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.formacion-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 1.1rem;
    color: #73001a;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.formacion-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 2rem;
}

/* ========================================
   TALLERES SECTION
   ======================================== */

.talleres {
    background-color: #ffffff;
    position: relative;
}

.talleres .section-title {
    color: #333333;
}

.talleres .section-title::after {
    background: linear-gradient(to right, transparent, #666666, transparent);
}

.talleres-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.taller-card {
    position: relative;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.taller-card:hover {
    transform: translateY(-8px);
}

.taller-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.taller-card:hover img {
    transform: scale(1.1);
}

.taller-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #ffffff;
    padding: 30px 20px;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.taller-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.taller-content p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Cursos Adicionales */

.cursos-adicionales {
    background-color: #f9f9f9;
    padding: 60px;
    text-align: center;
    position: relative;
}

/* Pequeñas líneas decorativas a los lados del título */
.cursos-adicionales h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.cursos-adicionales h3::before,
.cursos-adicionales h3::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, rgba(115, 0, 26, 0.3), transparent);
}

.cursos-adicionales h3::before {
    right: calc(100% + 20px);
}

.cursos-adicionales h3::after {
    left: calc(100% + 20px);
    background: linear-gradient(to left, rgba(115, 0, 26, 0.3), transparent);
}

.cursos-list {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.curso-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 280px;
    background: linear-gradient(135deg, #ffffff 0%, #fdf4f5 50%, #fce9ed 100%);
    padding: 40px 30px;
    border-radius: 0;    /* Editorial: cards rectangulares */
    border: 1px solid rgba(115, 0, 26, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.curso-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(79, 157, 157, 0.6);    /* Celeste vintage */
}

.curso-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f5f5f5;
    transition: all 0.3s ease;
}

.curso-item:hover img {
    transform: scale(1.08);
    border-color: rgba(179, 208, 183, 0.4);
}

.curso-item span {
    font-size: 1.1rem;
    text-align: center;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.4;
    position: relative;
    padding-bottom: 15px;
}

/* Línea decorativa debajo del texto */
.curso-item span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--lavanda), transparent);
    transition: all 0.3s ease;
}

.curso-item:hover span::after {
    width: 70px;
    background: linear-gradient(to right, transparent, var(--celeste-vintage), transparent);
}

/* Ícono de flecha para indicar que es clickeable */
.curso-item::after {
    content: '→';
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--celeste-vintage);
    opacity: 0;
    transition: all 0.3s ease;
}

.curso-item:hover::after {
    opacity: 1;
    right: 15px;
}

/* ========================================
   CONTACTO SECTION
   ======================================== */

.contacto {
    background-image: url('images/hero/image-principal.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
}

/* Overlay sobre la imagen de fondo */
.contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(249, 249, 249, 0.95) 0%,
        rgba(255, 255, 255, 0.92) 50%,
        rgba(249, 249, 249, 0.95) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.contacto .container {
    position: relative;
    z-index: 1;
}

.contacto .section-title {
    color: #73001a;
}

.contacto .section-title::after {
    background: linear-gradient(to right, transparent, #73001a, transparent);
}

.contacto-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 4rem;
    color: #4a4a4a;
    position: relative;
    padding: 0 40px;
}

/* Comillas decorativas sutiles */
.contacto-intro::before,
.contacto-intro::after {
    font-family: 'Spectral', serif;
    font-size: 3rem;
    color: rgba(179, 208, 183, 0.2);
    position: absolute;
}

.contacto-intro::before {
    content: '"';
    top: -20px;
    left: 0;
}

.contacto-intro::after {
    content: '"';
    bottom: -40px;
    right: 0;
}

.contacto-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contacto-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contacto-item p {
    font-size: 1.1rem;
}

.contacto-item a {
    color: #73001a;
    font-weight: 300;
}

.contacto-item a:hover {
    opacity: 0.7;
}

/* Newsletter */

.newsletter {
    background-color: #ffffff;
    padding: 60px;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid #f0f0f0;
    position: relative;
}

/* Esquinas decorativas en newsletter box */
.newsletter::before,
.newsletter::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
}

.newsletter::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--lavanda);
    border-left: 2px solid var(--lavanda);
}

.newsletter::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--lavanda);
    border-right: 2px solid var(--lavanda);
}

.newsletter h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #333333;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--celeste-vintage);
}

.newsletter-form button {
    flex-shrink: 0;
}

/* ========================================
   LOGIN FLOAT BUTTON
   ======================================== */

.login-float {
    position: fixed;
    top: 28px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(115, 0, 26, 0.9);
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.login-float:hover {
    background: rgba(115, 0, 26, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(115, 0, 26, 0.4);
    text-decoration: none;
}

.login-float svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .login-float {
        display: none;
    }
}

/* Login item en nav mobile */
.nav-login-item {
    display: none;
}

@media (max-width: 768px) {
    .nav-login-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 15px 20px;
        color: var(--bordeaux-principal);
        font-weight: 600;
        border-top: 1px solid rgba(115, 0, 26, 0.1);
        margin-top: 10px;
    }

    .nav-login-item svg {
        width: 18px;
        height: 18px;
    }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: #4a0011;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 80px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-tagline {
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    font-style: normal;
    color: #cccccc;
    font-weight: 400;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    font-size: 1rem;
    color: #cccccc;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--celeste-vintage);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.95rem;
    color: #999999;
    margin-bottom: 0.5rem;
}

.footer-credits {
    font-style: italic;
    color: #666666;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Laptops pequeñas (14" aprox) */
@media (max-width: 1400px) {
    .nav-logo img {
        height: 70px;
    }

    .nav.nav-scrolled .nav-logo img {
        height: 50px;
    }

    .hero-content {
        margin-top: -300px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-name {
        font-size: 2.8rem;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-name {
        font-size: 2.2rem;
    }

    .sobre-mi-image-top img {
        width: 180px;
        height: 180px;
    }

    .profesorado-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 0;
    }

    .profesorado-card {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    /* Carousel responsive */
    .profesorado-carousel {
        margin: 40px -24px 40px -24px; /* Full width on mobile */
        max-width: none;
    }

    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 15px;
        gap: 8px;
    }

    .carousel-indicators .indicator {
        width: 10px;
        height: 10px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .feature h4 {
        font-size: 1.3rem;
    }

    .feature p {
        font-size: 0.95rem;
    }

    .clase-card {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
        margin-bottom: 30px;
        background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
        border: 1.5px solid rgba(179, 208, 183, 0.4);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    }

    .clase-card:nth-child(even) {
        direction: ltr;
    }

    .formaciones-grid {
        grid-template-columns: 1fr;
    }

    .formacion-image {
        height: 300px;
    }

    .talleres-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacto-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    body {
        font-size: 1.1rem;
    }

    section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }

    /* Ajustar marcos cinematográficos en mobile */
    .profesorado .container::before,
    .talleres .container::before {
        top: -35px;
    }

    .profesorado .container::after,
    .talleres .container::after {
        bottom: -35px;
    }

    h1 {
        font-size: 2rem;
    }

    h2, .section-title {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Dividers responsive */
    .visual-divider {
        height: auto;
        margin-bottom: 0;
    }

    /* Reducir espacio superior en sobre-mi después del divider */
    .sobre-mi {
        padding-top: 40px;
    }

    .divider-content {
        left: 5%;
        width: 90%;
        max-width: none;
        text-align: center;
    }

    .divider-quote {
        font-size: 1.5rem;
    }

    .divider-quote::before,
    .divider-quote::after {
        font-size: 3rem;
    }

    .divider-quote::before {
        left: 0;
    }

    .divider-overlay {
        background: rgba(255, 255, 255, 0.8);
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .sobre-mi-tagline {
        font-size: 1.3rem;
    }

    .practice-divider {
        height: 350px;
    }

    .practice-content h3 {
        font-size: 2rem;
    }

    .practice-content p {
        font-size: 1.3rem;
    }

    .formacion-subtitle {
        font-size: 1rem;
    }

    .clase-gratis {
        height: 400px;
        padding-left: 5%;
        padding-right: 5%;
        justify-content: center;
    }

    .clase-gratis img {
        object-position: 70% center;
    }

    .clase-gratis-content {
        max-width: 100%;
        padding: 25px;
        text-align: center;
    }

    .clase-gratis-content h3 {
        font-size: 2rem;
    }

    .clase-gratis-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .footer-tagline {
        font-size: 1.05rem;
    }

    /* Disable parallax on mobile for better performance */
    .divider-image,
    .practice-image,
    .contacto {
        background-attachment: scroll;
    }

    /* Imagen más liviana para móvil */
    .practice-image {
        background-image: url('images/mobile/banners/banner-practica-consciente.jpg') !important;
    }

    /* Ajustes de detalles decorativos en mobile */
    .profesorado-intro {
        padding: 30px 20px;
    }

    .profesorado-intro::before,
    .profesorado-intro::after {
        width: 25px;
        height: 25px;
    }

    /* Niveles responsive */
    .profesorado-niveles {
        gap: 15px;
        padding: 20px 15px;
    }

    .nivel-numero {
        font-size: 0.95rem;
    }

    .nivel-descripcion {
        font-size: 0.75rem;
    }

    .nivel-separator {
        font-size: 1.2rem;
    }

    /* Botones extras responsive */
    .profesorado-extra-niveles {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin: 40px 20px 60px;
    }

    .btn-small {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .cursos-adicionales h3::before,
    .cursos-adicionales h3::after {
        width: 30px;
    }

    .contacto-intro {
        padding: 0 20px;
    }

    .contacto-intro::before,
    .contacto-intro::after {
        font-size: 2rem;
    }

    .sobre-mi::before,
    .clases::before {
        width: 80px;
        height: 80px;
    }

    .sobre-mi-philosophy {
        padding: 30px 25px 30px 30px;
    }

    .sobre-mi-philosophy p {
        font-size: 1rem;
        color: #1a1a1a;
        font-weight: 400;
    }

    .sobre-mi-philosophy .highlight {
        font-weight: 600;
    }

    /* Ajustar círculos decorativos en mobile */
    .sobre-mi-philosophy::after {
        width: 100px;
        height: 100px;
        top: -20px;
        right: -15px;
    }

    .sobre-mi-philosophy h3::before {
        width: 100px;
        height: 100px;
        bottom: -60px;
        left: -60px;
    }

    .sobre-mi-philosophy h3::after {
        width: 80px;
        height: 80px;
        bottom: -100px;
        right: -30px;
    }

    /* Ajustar hoja doblada en mobile */
    .sobre-mi-philosophy .corner-fold {
        border-width: 0 0 40px 40px;
    }

    .sobre-mi-philosophy .corner-fold::before {
        bottom: -40px;
        width: 40px;
        height: 40px;
    }

    /* Timeline responsive */
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        text-align: left !important;
    }

    .timeline-left .timeline-content,
    .timeline-right .timeline-content {
        margin-left: 70px;
        margin-right: 0;
    }

    .timeline-content {
        padding: 20px;
        padding-right: 100px; /* Espacio para la foto circular (80px + 10px offset + margen) */
    }

    .timeline-left .timeline-content::after,
    .timeline-right .timeline-content::after {
        left: -15px;
        right: auto;
        border-left: none;
        border-right: 15px solid #ffffff;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-year {
        font-size: 0.75rem;
        padding: 5px 12px;
    }

    .timeline-content h4 {
        font-size: 1.2rem;
    }

    .timeline-content p {
        font-size: 0.95rem;
    }

    /* Timeline images en mobile - más pequeñas */
    .timeline-image {
        width: 80px;
        height: 80px;
        border: 3px solid #ffffff;
        cursor: pointer;
    }

    .timeline-image img {
        animation: heartbeat 3.5s ease-in-out infinite;
        animation-delay: 1s;
    }

    @keyframes heartbeat {
        0%, 100% { transform: scale(1); }
        10% { transform: scale(1.08); }
        20% { transform: scale(1); }
        30% { transform: scale(1.05); }
        40%, 100% { transform: scale(1); }
    }

    .timeline-left .timeline-image {
        right: 10px;
        top: 10px;
    }

    .timeline-right .timeline-image {
        right: 10px;
        top: 10px;
        left: auto;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 0;
        gap: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        height: 80vh;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-name {
        font-size: 1.8rem;
    }

    .hero-content {
        margin-top: -250px;
    }

    .hero-name-prefix {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .sobre-mi-image-top img {
        width: 150px;
        height: 150px;
    }

    .hero-cta {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
        bottom: 15px;
        white-space: nowrap;
    }

    .hero-scroll-indicator {
        bottom: -30px;
    }

    .profesorado-content {
        padding: 30px 20px;
    }

    .profesorado-title {
        font-size: 1.75rem;
        font-weight: 400;
        margin-bottom: 1rem;
        color: #1a1a1a;
    }

    .profesorado-description {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
        color: #333333;
        font-weight: 400;
    }

    .profesorado-details {
        padding: 18px 15px;
        margin: 1rem 0;
        border-left-width: 3px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    }

    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 0;
        gap: 6px;
        border-bottom: 1px solid #d5d5d5;
    }

    .detail-label {
        font-size: 0.75rem;
        font-weight: 400;
        color: #777777;
    }

    .detail-value {
        font-size: 1rem;
        font-weight: 500;
        color: #4a4a4a;
        text-align: left;
        max-width: 100%;
    }

    .cert-badge {
        color: #4a4a4a;
        font-weight: 600;
    }

    .profesorado-highlights li {
        font-size: 0.95rem;
        line-height: 1.7;
        padding-left: 26px;
        margin-bottom: 10px;
        font-weight: 500;
    }

    .profesorado-highlights li:before {
        font-size: 1rem;
    }

    /* Acordeón responsive */
    .programa-toggle {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .programa-toggle .toggle-icon {
        font-size: 1.3rem;
    }

    .profesorado-info {
        padding-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .profesorado-price {
        font-size: 1rem;
        font-weight: 500;
        margin-bottom: 0.75rem;
    }

    .profesorado-duration {
        font-size: 0.9rem;
        font-weight: 500;
        color: #444444;
    }

    /* Botones apilados en mobile */
    .profesorado-actions {
        flex-direction: column;
        gap: 10px;
    }

    .profesorado-payment {
        padding: 12px 15px;
    }

    .profesorado-payment strong {
        font-size: 1rem;
    }

    .profesorado-cert {
        padding: 12px 15px;
    }

    .profesorado-cert p {
        font-size: 0.85rem;
    }

    .profesorado-cta-section {
        padding: 40px 20px;
    }

    .profesorado-cta-section .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-icon {
        height: 60px;
        margin-bottom: 0.3rem;
    }

    .feature-icon img {
        max-height: 55px;
        width: auto;
    }

    .cta-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        padding-bottom: 15px;
    }

    .feature h4 {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 0.4rem;
        min-height: auto;
    }

    .feature p {
        font-size: 0.95rem;
        color: #3a3a3a;
        font-weight: 500;
        line-height: 1.5;
    }

    .clase-image {
        height: 300px;
    }

    .talleres-grid {
        grid-template-columns: 1fr;
    }

    .taller-card {
        height: 300px;
    }

    /* Cursos adicionales responsive */
    .cursos-adicionales {
        padding: 40px 20px;
    }

    .cursos-list {
        gap: 30px;
    }

    .curso-item {
        max-width: 100%;
        padding: 30px 25px;
    }

    .curso-item img {
        width: 100px;
        height: 100px;
    }

    .curso-item span {
        font-size: 1rem;
        padding-bottom: 12px;
    }

    .curso-item span::after {
        width: 40px;
        height: 1.5px;
    }

    .curso-item:hover span::after {
        width: 55px;
    }

    .curso-item::after {
        font-size: 1.3rem;
        bottom: 12px;
        right: 15px;
    }

    .curso-item:hover::after {
        right: 12px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        height: 50px;
        width: auto;
    }

    .footer-tagline {
        font-size: 1rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h4 {
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

    .footer-column ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 20px;
    }

    .footer-column a {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .profesorado-image {
        height: 300px;
    }

    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ========================================
   PROFESORADO PAGES - INTERNAL STYLES
   ======================================== */

/* Page Header Simple */
.page-header-simple {
    background: linear-gradient(135deg, #f8f5f2 0%, #ffffff 50%, #f5f0eb 100%);
    padding: 120px 0 60px;
    position: relative;
}

.page-header-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 30%, rgba(179, 208, 183, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 70%, rgba(115, 0, 26, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: #73001a;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-badge {
    display: inline-block;
    background: linear-gradient(135deg, #73001a, #4a1a2c);
    color: #ffffff;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.page-header-simple h1 {
    font-family: 'Spectral', serif;
    font-size: 3rem;
    font-weight: 300;
    color: #65101a;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #73001a;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.page-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4a4a4a;
    max-width: 800px;
    margin-bottom: 2rem;
}

.page-header-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Quick Info Bar */
.quick-info-bar {
    background-color: #73001a;
    padding: 25px 0;
}

.quick-info-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.quick-info-item {
    text-align: center;
    color: #ffffff;
}

.quick-info-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 5px;
    font-weight: 400;
}

.quick-info-item span {
    font-size: 1.1rem;
    font-weight: 300;
}

/* Intro Section - Segundo Año */
.intro-section {
    background: #f5f5f5;
    padding: 60px 0;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-text-large {
    font-family: 'Spectral', serif;
    font-size: 1.35rem;
    line-height: 1.9;
    color: #333;
    font-weight: 300;
}

.intro-text-large strong {
    color: var(--bordeaux-principal);
    font-weight: 500;
}

@media (max-width: 768px) {
    .intro-section {
        padding: 40px 0;
    }

    .intro-text-large {
        font-size: 1.15rem;
        line-height: 1.8;
    }
}

/* Ejes Section */
.ejes-section {
    background: linear-gradient(to bottom, #f5f2ef 0%, #ebe7e3 100%);
    padding: 80px 0;
}

.ejes-section .section-title {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.ejes-section .section-title::after {
    background: linear-gradient(to right, transparent, var(--celeste-vintage), transparent);
}

.ejes-section .section-intro {
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #666666;
    margin-bottom: 3rem;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 3rem;
}

.ejes-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.eje-item {
    text-align: center;
    padding: 40px 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.eje-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.eje-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.eje-item:hover .eje-icon {
    opacity: 1;
}

.eje-item h3 {
    font-family: 'Spectral', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.eje-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #5a5a5a;
}

/* Info Cards Section */
.info-cards-section {
    background: linear-gradient(to bottom, #f8f5f2 0%, #ffffff 100%);
    padding: 80px 0;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.info-card {
    background-color: #ffffff;
    padding: 35px 30px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.info-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

.info-card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    color: var(--celeste-vintage);
}

.info-card-icon svg {
    width: 100%;
    height: 100%;
}

.info-card h3 {
    font-family: 'Spectral', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 0.75rem;
}

.info-card ul {
    padding-left: 0;
}

.info-card ul li {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a4a4a;
    padding-left: 20px;
    position: relative;
}

.info-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--celeste-vintage);
}

.info-card-note {
    display: block;
    font-size: 0.9rem;
    color: #666666;
    margin-top: 1.5rem;
    padding: 12px 15px;
    padding-left: 15px;
    border-left: 3px solid var(--celeste-vintage);
    background-color: #fafafa;
    font-style: italic;
}

/* Info Notes Grid */
.info-notes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-note-box {
    background-color: #ffffff;
    padding: 30px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-note-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background-color: var(--celeste-vintage);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.info-note-icon svg {
    width: 100%;
    height: 100%;
    color: #ffffff;
    stroke: #ffffff;
}

.info-note-content h4 {
    font-family: 'Spectral', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.info-note-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 0.5rem;
}

/* Acordeones Section */
.acordeones-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.acordeones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
}

.acordeon {
    border: 1px solid rgba(201, 162, 39, 0.5);
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

.acordeon-wide {
    grid-column: span 2;
}

.acordeon-header {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: left;
}

.acordeon-header:hover {
    background-color: rgba(201, 162, 39, 0.05);
}

.acordeon-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    border: 1px solid rgba(201, 162, 39, 0.8);
    border-radius: 50%;
    background-color: transparent;
}

.acordeon-icon::before,
.acordeon-icon::after {
    content: '';
    position: absolute;
    background-color: #c9a227;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.acordeon-icon::before {
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.acordeon-icon::after {
    width: 2px;
    height: 12px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.acordeon.active .acordeon-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.acordeon-titulo {
    font-family: 'Spectral', serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: #1a1a1a;
}

.acordeon-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.acordeon.active .acordeon-content {
    max-height: 1200px;
    transition: max-height 0.5s ease-in;
}

.acordeon-content > * {
    padding: 0 25px;
}

.acordeon-content > *:last-child {
    padding-bottom: 25px;
}

.fechas-columns {
    display: flex;
    gap: 40px;
}

.fechas-lista {
    list-style: none;
}

.fechas-lista li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4a4a4a;
}

.fechas-lista .mes {
    font-weight: 600;
    color: #1a1a1a;
}

.horarios-lista {
    list-style: none;
}

.horarios-lista li {
    font-size: 0.95rem;
    line-height: 2;
    color: #4a4a4a;
}

.horarios-lista .pais {
    color: #666666;
    font-size: 0.9rem;
}

.valor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 1rem;
}

.valor-box {
    background: #f8f5f2;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}

.valor-box h4 {
    font-family: 'Spectral', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #c9a227;
    margin-bottom: 0.75rem;
}

.valor-box p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 0.5rem;
}

.valor-promo {
    font-size: 0.85rem !important;
    color: var(--celeste-vintage) !important;
    margin-top: 0.5rem;
}

/* Badges para valor-box */
.valor-badge {
    display: inline-block;
    background: #73001a;
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.valor-badge-mensual {
    background: #c9a227;
}

.valor-badge-internacional {
    background: #2a5a4a;
}

.valor-badge-exterior {
    background: #4a6670;
}

/* Paso 2 unificado */
.valor-box-paso2 {
    grid-column: span 2;
}

.valor-periodo-general {
    font-size: 0.85rem;
    color: #57534e;
    margin-top: -5px;
    margin-bottom: 5px;
}

.paso2-opciones {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.paso2-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(115, 0, 26, 0.1);
}

.paso2-card .valor-subtitulo {
    font-size: 0.95rem !important;
    margin-bottom: 0.3rem !important;
}

.paso2-card .valor-periodo {
    margin-bottom: 0.5rem !important;
}

.paso2-card p:last-child {
    font-size: 0.85rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .valor-box-paso2 {
        grid-column: span 1;
    }

    .paso2-opciones {
        flex-direction: column;
        gap: 10px;
    }

    .paso2-card {
        padding: 12px;
    }
}

/* Subtítulo y periodo */
.valor-subtitulo {
    font-family: 'Spectral', serif;
    font-size: 1.1rem !important;
    font-weight: 600;
    color: #292524 !important;
    margin-bottom: 0.5rem !important;
}

.valor-periodo {
    font-size: 0.75rem !important;
    color: #78716c !important;
    font-style: italic;
    margin-bottom: 0.75rem !important;
}

/* Tarjeta de inscripción destacada */
.valor-box-inscripcion {
    background: linear-gradient(135deg, #faf8f5 0%, #f5f0ea 100%);
    border: 1px solid #73001a;
    position: relative;
}

.info-nota {
    font-size: 0.85rem;
    color: #666666;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.info-importante {
    font-size: 0.9rem;
    color: #c9a227;
    font-weight: 500;
}

.info-importante.fechas-nota {
    margin-top: 1.5rem;
}

/* Retiro Nota Section */
.retiro-nota-section {
    background: linear-gradient(135deg, #f8f5f2 0%, #ffffff 100%);
    padding: 60px 0;
}

.retiro-nota-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background-color: #ffffff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
}

.retiro-separador {
    display: block;
    width: 60px;
    height: auto;
    margin: 0 auto 20px auto;
    opacity: 0.7;
}

.retiro-separador-bottom {
    display: block;
    width: 60px;
    height: auto;
    margin: 20px auto 0 auto;
    opacity: 0.7;
    transform: rotate(180deg);
}

.retiro-nota-box h3 {
    font-family: 'Spectral', serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.retiro-nota-box p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a4a4a;
}

/* ========================================
   TESTIMONIOS SECTION - Editorial Split Screen
   ======================================== */

.testimonios-section {
    background: linear-gradient(135deg, #f8f5f2 0%, #ffffff 50%, #f5f0eb 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.testimonios-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 60% 40% at 10% 20%, rgba(179, 208, 183, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 90% 80%, rgba(115, 0, 26, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.testimonios-section .section-title {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.testimonios-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

/* Navigation Arrows */
.testimonios-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 1px solid rgba(115, 0, 26, 0.2);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.testimonios-nav:hover {
    background: #73001a;
    border-color: #73001a;
}

.testimonios-nav svg {
    width: 24px;
    height: 24px;
    stroke: #73001a;
    fill: none;
    stroke-width: 2;
    transition: stroke 0.3s ease;
}

.testimonios-nav:hover svg {
    stroke: #ffffff;
}

.testimonios-nav.prev {
    left: -70px;
}

.testimonios-nav.next {
    right: -70px;
}

/* Cards Track */
.testimonios-track {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

/* Individual Testimonial Card - Editorial Split Screen */
.testimonio-card {
    display: none;
    background: #ffffff;
    border: 1px solid rgba(115, 0, 26, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonio-card.active {
    display: grid;
    grid-template-columns: 280px 1fr;
    opacity: 1;
}

/* Left Side - Photo & Info */
.testimonio-lado-izq {
    background: transparent;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Línea vertical que no toca los bordes */
.testimonio-lado-izq::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(115, 0, 26, 0.2);
}

.testimonio-foto {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(115, 0, 26, 0.15);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonio-nombre {
    font-family: 'Dancing Script', cursive;
    font-size: 1.6rem;
    font-weight: 600;
    color: #73001a;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.testimonio-subtitulo {
    font-size: 0.85rem;
    color: #666;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* Bottom Side - Quote */
.testimonio-lado-der {
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.testimonio-lado-der::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: 'Spectral', serif;
    font-size: 6rem;
    color: rgba(115, 0, 26, 0.08);
    line-height: 1;
}

.testimonio-texto {
    font-family: 'Gudea', sans-serif;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #4a4a4a;
    font-style: italic;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Pagination Dots */
.testimonios-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.testimonios-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(115, 0, 26, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonios-dots .dot.active {
    background: #73001a;
    transform: scale(1.2);
}

.testimonios-dots .dot:hover {
    background: rgba(115, 0, 26, 0.5);
}

/* ========================================
   PROGRAMA DE ESTUDIOS SECTION
   ======================================== */

.programa-estudios-section {
    background: #ffffff;
    padding: 100px 0;
    text-align: center;
}

.programa-titulo-script {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    font-weight: 500;
    color: #73001a;
    margin-bottom: 2rem;
}

.programa-logo {
    margin-bottom: 1.5rem;
    text-align: center;
}

.programa-logo img {
    display: block;
    height: 60px;
    width: auto;
    margin: 0 auto;
    opacity: 0.8;
}

.programa-subtitulos {
    margin-bottom: 3rem;
}

.programa-subtitulo-main {
    font-family: 'Spectral', serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.programa-subtitulo-sub {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #666666;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Materias Accordion */
.materias-lista {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.materia-item {
    border-bottom: 1px solid rgba(115, 0, 26, 0.1);
}

.materia-item:first-child {
    border-top: 1px solid rgba(115, 0, 26, 0.1);
}

.materia-header {
    width: 100%;
    padding: 25px 20px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.materia-header:hover {
    background-color: rgba(115, 0, 26, 0.02);
}

.materia-titulo-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.materia-icono {
    width: 28px;
    height: 28px;
    color: var(--celeste-vintage);
    flex-shrink: 0;
}

.materia-titulo {
    font-family: 'Spectral', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #1a1a1a;
}

.materia-flecha {
    width: 24px;
    height: 24px;
    color: #73001a;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.materia-item.active .materia-flecha {
    transform: rotate(180deg);
}

.materia-contenido {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 20px 0 63px;
}

.materia-item.active .materia-contenido {
    max-height: 500px;
    padding-bottom: 25px;
    transition: max-height 0.5s ease-in;
}

.materia-contenido p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 0.75rem;
}

.materia-contenido p:last-child {
    margin-bottom: 0;
}

/* ========================================
   CTA SIMPLE SECTION
   ======================================== */

.cta-simple-section {
    background: linear-gradient(135deg, #73001a 0%, #4a1a2c 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-simple-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 50% 80% at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 40% 60% at 80% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.cta-simple-content {
    position: relative;
    z-index: 1;
}

.cta-simple-content h2 {
    font-family: 'Spectral', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-simple-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-simple-section .btn-primary {
    background: #ffffff;
    color: #73001a;
}

.cta-simple-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.cta-simple-section .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.cta-simple-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* ========================================
   CERTIFICACIÓN Y PROFESORA SECTION
   ======================================== */

.certificacion-profesora-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #faf9f7 0%, #ffffff 100%);
}

/* Certificación Block */
.certificacion-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.certificacion-badges {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.certificacion-badges img {
    height: 110px;
    width: auto;
    object-fit: contain;
}

.certificacion-content {
    width: 100%;
}

.certificacion-content h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    color: #73001a;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.certificacion-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.certificacion-requisitos {
    background: #faf9f7;
    padding: 20px 25px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 3px solid #c9a227;
}

.certificacion-requisitos h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
}

.certificacion-requisitos ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.certificacion-requisitos li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.5rem;
    color: #555;
}

.certificacion-requisitos li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #c9a227;
    font-weight: bold;
}

.certificacion-requisitos p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
}

.certificacion-internacional {
    padding: 15px 20px;
    background: rgba(115, 0, 26, 0.04);
    border-radius: 8px;
}

.certificacion-internacional p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Divisor decorativo */
.section-divider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 60px 0;
}

.section-divider-dots span {
    width: 8px;
    height: 8px;
    background: #c9a227;
    border-radius: 50%;
    opacity: 0.6;
}

.section-divider-dots span:nth-child(2) {
    opacity: 1;
}

/* Profesora Block */
.profesora-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 500px;
    margin: 0 auto 50px auto;
}

.profesora-block:last-child {
    margin-bottom: 0;
}

.profesora-image-wrapper {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 8px 30px rgba(115, 0, 26, 0.15);
    border: 4px solid #ffffff;
}

.profesora-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profesora-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c9a227;
    margin-bottom: 30px;
    text-align: center;
}

.profesora-nombre {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #73001a;
    margin-bottom: 10px;
    font-weight: 600;
}

.profesora-titulo {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.profesora-link {
    display: inline-block;
    color: #73001a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.profesora-link:hover {
    color: #c9a227;
}

/* Responsive */
@media (max-width: 768px) {
    .certificacion-block {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 20px;
    }

    .certificacion-badges {
        flex-direction: row;
        margin-bottom: 20px;
    }

    .certificacion-requisitos {
        border-left: none;
        border-top: 3px solid #c9a227;
    }

    .profesora-nombre {
        font-size: 2rem;
    }
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #faf9f7 100%);
}

.faq-section .section-divider-dots {
    margin-bottom: 40px;
}

.faq-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: #73001a;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 500;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #f0ece6;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
    border-left: 3px solid #c9a227;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Spectral', Georgia, serif;
    font-size: 1.1rem;
    color: #73001a;
    font-weight: 500;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #faf9f7;
}

.faq-item.active .faq-question {
    background: #faf9f7;
}

.faq-icon {
    font-size: 1.5rem;
    color: #c9a227;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 25px 25px;
}

.faq-answer p {
    font-family: 'Gudea', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-title {
        font-size: 2.5rem;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
}

/* ========================================
   MODAL INSCRIPCION
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #ffffff;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 50px 40px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #666666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #73001a;
}

/* Progress Bar */
.form-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #73001a, var(--celeste-vintage));
    width: 20%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: #666666;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.step-header {
    margin-bottom: 2rem;
    text-align: center;
}

.step-header h2 {
    font-family: 'Spectral', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.step-intro {
    font-size: 1.1rem;
    color: #73001a;
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 1rem;
    color: #4a4a4a;
    margin-bottom: 0.5rem;
}

.step-message {
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    color: var(--celeste-vintage);
}

.section-label {
    font-family: 'Spectral', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #1a1a1a;
    margin: 2rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d0d0d0;
    font-family: 'Gudea', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--celeste-vintage);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field-hint {
    font-size: 0.85rem;
    color: #666666;
    margin-bottom: 0.75rem;
}

/* Radio & Checkbox */
.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group.horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.radio-option input,
.checkbox-option input {
    width: 18px;
    height: 18px;
    accent-color: #73001a;
}

.radio-label,
.checkbox-label {
    font-size: 0.95rem;
    color: #4a4a4a;
}

.radio-option-large {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option-large:hover {
    border-color: var(--celeste-vintage);
    background: rgba(79, 157, 157, 0.03);
}

.radio-option-large input {
    margin-top: 3px;
}

.radio-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.radio-content strong {
    font-size: 1rem;
    color: #1a1a1a;
}

.radio-content small {
    font-size: 0.85rem;
    color: #666666;
}

.form-group-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.inline-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d0d0d0;
    font-family: 'Gudea', sans-serif;
    font-size: 0.95rem;
}

/* Compromiso Box */
.compromiso-box {
    background: #f8f5f2;
    padding: 25px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--celeste-vintage);
}

.compromiso-box p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 0.75rem;
}

.compromiso-box em {
    color: #1a1a1a;
}

/* Datos Bancarios */
.datos-bancarios-box {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 25px;
    margin-bottom: 2rem;
}

.datos-bancarios-box h4 {
    font-family: 'Spectral', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.datos-bancarios p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 0.25rem;
}

.dato-label {
    color: #666666;
}

/* File Upload */
.file-upload-area {
    position: relative;
    border: 2px dashed #d0d0d0;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-area:hover {
    border-color: var(--celeste-vintage);
    background: rgba(79, 157, 157, 0.03);
}

.file-upload-area.error {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Error styles for form fields */
.radio-option.error,
.radio-option-large.error,
.checkbox-option.error {
    border-color: #dc3545 !important;
    background: rgba(220, 53, 69, 0.08) !important;
    animation: shake 0.5s ease-in-out;
}

input.error,
textarea.error,
select.error {
    border-color: #dc3545 !important;
    background: rgba(220, 53, 69, 0.05) !important;
    animation: shake 0.5s ease-in-out;
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.file-upload-label svg {
    color: var(--celeste-vintage);
}

.file-upload-label span {
    font-size: 1rem;
    color: #4a4a4a;
}

.file-upload-label small {
    font-size: 0.85rem;
    color: #666666;
}

.file-name {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--celeste-vintage);
}

/* ============================================
   SEGUNDO AÑO - Conditional Fields
   ============================================ */

.segundo-anio-fields {
    background: linear-gradient(135deg, rgba(115, 0, 26, 0.03) 0%, rgba(201, 162, 39, 0.05) 100%);
    border: 1px solid rgba(115, 0, 26, 0.15);
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
    animation: fadeSlideIn 0.3s ease-out;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.segundo-anio-fields::before {
    content: "📜 Requisitos para 2° año";
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--celeste-vintage);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(115, 0, 26, 0.2);
}

.segundo-anio-fields .form-group {
    margin-bottom: 16px;
}

.segundo-anio-fields .form-group:last-child {
    margin-bottom: 0;
}

.segundo-anio-fields .file-upload-area {
    background: rgba(255, 255, 255, 0.8);
}

/* Mobile improvements for file upload */
@media (max-width: 768px) {
    .file-upload-area {
        padding: 20px 15px;
    }

    .file-upload-label span {
        font-size: 0.9rem;
    }

    .file-upload-label svg {
        width: 28px;
        height: 28px;
    }

    .segundo-anio-fields {
        padding: 15px;
        margin-top: 12px;
    }

    .segundo-anio-fields::before {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
}

/* iOS Safari fix - make file input more tappable */
@supports (-webkit-touch-callout: none) {
    .file-upload-area input[type="file"] {
        font-size: 0;
        min-height: 100%;
    }
}

/* ============================================
   PAYMENT SYSTEM - Unified Accordion Design
   ============================================ */

/* Payment Options Container */
.payment-options-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Wrapper - El contenedor unificado para el acordeón */
.payment-option-wrapper {
    position: relative;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.payment-option-wrapper:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.payment-option-wrapper.expanded {
    border-color: #6b8e7e;
    box-shadow: 0 6px 24px rgba(107, 142, 126, 0.12);
}

/* Payment Card - Header del acordeón */
.payment-card {
    display: block;
    width: 100%;
    padding: 18px 22px;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.payment-option-wrapper.expanded .payment-card {
    background: linear-gradient(135deg, #fafcfb 0%, #f5f8f6 100%);
}

/* Ocultar radio button nativo */
.payment-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom radio indicator */
.payment-card .radio-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.payment-card.selected .radio-indicator {
    border-color: #6b8e7e;
    background: #6b8e7e;
}

.payment-card.selected .radio-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

/* Payment card content layout */
.payment-card-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.payment-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f4;
    border-radius: 12px;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.payment-card.selected .payment-card-icon {
    background: rgba(107, 142, 126, 0.1);
}

.payment-card-icon.mp-icon {
    background: #e8f4fc;
}

.payment-card-icon.mp-icon svg {
    width: 24px;
    height: 24px;
}

.payment-card-info {
    flex: 1;
    min-width: 0;
}

.payment-card-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 3px 0;
}

.payment-card-subtitle {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0;
}

/* Expandable Details Panel - Se integra fluidamente */
.payment-details-panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                padding 0.3s ease;
    padding: 0 22px;
    background: #faf9f7;
    border-top: 0 solid #e8e6e3;
}

.payment-details-panel.expanded {
    max-height: 500px;
    opacity: 1;
    padding: 20px 22px;
    border-top-width: 1px;
}

/* Transferencia Box - Elegante */
.transferencia-box {
    background: transparent;
    padding: 0;
}

.beneficiario-label {
    font-size: 0.8rem;
    color: #78716c;
    margin: 0 0 2px 0;
    font-weight: 500;
}

.transferencia-box .titular-nombre,
.transferencia-box .banco-nombre {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    color: #292524;
    font-size: 1rem;
    margin: 0 0 16px 0;
}

.transferencia-box .titular-nombre {
    margin-top: 0;
}

.transferencia-box .datos-transferencia {
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
    border: 1px solid #e8e6e3;
}

.transferencia-box .datos-transferencia p {
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.transferencia-box .datos-transferencia p:last-child {
    margin-bottom: 0;
}

.transferencia-box .dato-label {
    font-family: 'Josefin Sans', sans-serif;
    color: #78716c;
    font-size: 0.78rem;
    min-width: 45px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.transferencia-box .dato-valor {
    font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
    background: #fafaf9;
    border: 1px solid #e7e5e4;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #374151;
    letter-spacing: 0.5px;
}

.transferencia-box .transferencia-monto {
    font-family: 'Josefin Sans', sans-serif;
    text-align: left;
    margin: 16px 0 0 0;
    padding-top: 14px;
    border-top: 1px solid #e8e6e3;
    color: #292524;
    font-size: 1.05rem;
    font-weight: 600;
}

.transferencia-box .transferencia-monto strong {
    color: #292524;
}

/* Precio tachado (descuento) */
.precio-tachado {
    color: #999;
    font-weight: 400;
    margin-right: 8px;
    text-decoration: line-through;
}

/* País indicator */
.transferencia-box .pais-indicator {
    font-size: 0.75rem;
    color: #78716c;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Copy Button - Minimal Icon */
.btn-copiar {
    background: transparent;
    color: #9ca3af;
    border: none;
    padding: 6px;
    font-size: 0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.btn-copiar::before {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='2'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.btn-copiar:hover {
    background: #f3f4f6;
    color: #6b7280;
}

.btn-copiar:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280' stroke-width='2'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'%3E%3C/path%3E%3C/svg%3E");
}

.btn-copiar.copiado {
    background: #ecfdf5;
}

.btn-copiar.copiado::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2310b981' stroke-width='2'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

/* MercadoPago Box - Elegante */
.mercadopago-box {
    background: transparent;
    padding: 0;
    text-align: center;
}

.mercadopago-box .mp-header {
    display: none;
}

.mercadopago-box p {
    margin-bottom: 10px;
    font-size: 0.88rem;
    color: #57534e;
}

.mercadopago-box .mp-monto {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 14px;
    color: #292524;
    font-weight: 700;
}

.mercadopago-box .mp-monto strong {
    color: #292524;
}

.btn-mercadopago {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #00a8e8 0%, #009ee3 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 158, 227, 0.25);
    margin: 8px 0;
}

.btn-mercadopago:hover {
    background: linear-gradient(135deg, #009ee3 0%, #0088cc 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 158, 227, 0.35);
}

.btn-mercadopago:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-mercadopago svg {
    width: 18px;
    height: 18px;
}

.mercadopago-box .mp-note {
    margin-top: 14px;
    margin-bottom: 0;
    color: #78716c;
    font-size: 0.82rem;
}

.mercadopago-box .mp-description {
    color: #57534e;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

/* DolarApp Box - Elegante */
.dolarapp-box {
    background: transparent;
    padding: 0;
}

.dolarapp-header {
    display: none;
}

.dolarapp-box .dolarapp-monto {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 8px;
    text-align: left;
    color: #292524;
    font-weight: 700;
}

.dolarapp-box .dolarapp-monto strong {
    color: #292524;
}

.dolarapp-box .titular-nombre {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    color: #292524;
    font-size: 1rem;
    margin: 0 0 16px 0;
}

.dolarapp-datos {
    background: #fff;
    border: 1px solid #e8e6e3;
    border-radius: 12px;
    padding: 14px 16px;
    margin: 0 0 14px 0;
}

.dolarapp-datos p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: #374151;
}

.dolarapp-datos p:last-child {
    margin-bottom: 0;
}

.dolarapp-datos .dato-label {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    min-width: 45px;
    color: #78716c;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dolarapp-datos .dato-valor {
    font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
    background: #fafaf9;
    border: 1px solid #e7e5e4;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #374151;
    letter-spacing: 0.5px;
}

.dolarapp-note {
    margin-top: 14px;
    margin-bottom: 10px;
    text-align: left;
    padding: 10px 14px;
    background: #fef3c7;
    border-radius: 8px;
    border: 1px solid #fcd34d;
}

.dolarapp-note,
.dolarapp-note small {
    font-size: 0.85rem;
    color: #92400e;
    font-weight: 500;
}

/* Efectivo Box */
.efectivo-box {
    background: transparent;
    padding: 0;
    text-align: center;
}

.efectivo-box .efectivo-monto {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 14px;
    color: #292524;
    font-weight: 700;
}

.efectivo-box .efectivo-description {
    color: #57534e;
    font-size: 0.85rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
    text-decoration: none;
    margin: 8px 0;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    color: white;
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
}

.efectivo-note {
    margin-top: 14px;
    margin-bottom: 0;
    color: #78716c;
    font-size: 0.82rem;
    font-style: italic;
}

/* Legacy support - radio-option-large (mantener compatibilidad) */
.payment-option-wrapper .radio-option-large {
    margin-bottom: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.payment-option-wrapper .radio-option-large .radio-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-option-wrapper .payment-icon {
    font-size: 1.5rem;
    min-width: 32px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-option-wrapper .payment-icon.mp-icon {
    color: #009ee3;
}

.payment-option-wrapper .payment-text {
    display: flex;
    flex-direction: column;
}

.payment-option-wrapper .payment-text strong {
    font-size: 1rem;
}

.payment-option-wrapper .payment-text small {
    font-size: 0.85rem;
    color: #666;
}

/* Payment Details Box - aparece debajo de la opción */
.payment-details-box {
    margin-top: 0;
    margin-bottom: 12px;
    padding-left: 20px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MercadoPago Box - Estilo mejorado */
.mercadopago-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #009ee3;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.mercadopago-box .mp-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.mercadopago-box .mp-logo-svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.mercadopago-box .mp-brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #009ee3;
}

.mercadopago-box .mp-monto {
    font-size: 1.1rem;
    color: #009ee3;
    margin-bottom: 0.5rem;
}

.mercadopago-box .mp-description {
    color: #333;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

/* DolarApp Logo emoji */
.dolarapp-logo-emoji {
    font-size: 1.5rem;
}

/* Spinner for loading state */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #009ee3;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Pago Confirmado Box */
.pago-confirmado-box {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: white;
    margin: 1.5rem 0;
}

.pago-confirmado-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.pago-confirmado-content .pago-icon {
    font-size: 3rem;
    line-height: 1;
}

.pago-confirmado-content h4 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.pago-confirmado-content p {
    margin: 0;
    opacity: 0.95;
}

.pago-confirmado-content .payment-id {
    font-family: monospace;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.pago-confirmado-icon {
    margin-bottom: 1rem;
}

.pago-confirmado-icon svg {
    color: white;
}

/* Mensaje de recuperación de pago (Safari/incógnito fallback) */
.mensaje-recuperacion-pago {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border: 1px solid #ffc107;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.recuperacion-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.recuperacion-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.recuperacion-texto {
    flex: 1;
}

.recuperacion-texto strong {
    color: #856404;
    display: block;
    margin-bottom: 0.3rem;
}

.recuperacion-texto p {
    margin: 0;
    color: #856404;
    font-size: 0.9rem;
}

.recuperacion-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #856404;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
}

.recuperacion-close:hover {
    opacity: 1;
}

.pago-confirmado-box h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.pago-confirmado-box p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.pago-confirmado-box .payment-id {
    margin-top: 1rem;
    opacity: 0.85;
}

/* Confirmación de pago en paso 5 */
.pago-confirmado-step5 {
    margin-bottom: 2rem;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.form-navigation .btn {
    min-width: 100px;
    flex: 0 0 auto;
}

.btn-next,
.btn-submit {
    margin-left: auto;
}

/* Botón SIGUIENTE deshabilitado cuando falta pago MP */
.btn-next.btn-disabled {
    background: #cccccc !important;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-next.btn-disabled:hover {
    background: #cccccc !important;
    transform: none;
}

.pago-requerido-msg {
    flex: 1 0 100%;
    text-align: center;
    color: #856404;
    background: #fff3cd;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 5px;
    order: -1;
}

.pago-requerido-msg small {
    font-size: 0.85rem;
    display: block;
}

/* Asegurar que los botones queden juntos en mobile */
@media (max-width: 480px) {
    .form-navigation {
        flex-wrap: wrap;
    }

    .form-navigation .btn {
        min-width: 90px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    /* Mensaje de pago ocupa toda la línea */
    .form-navigation .pago-requerido-msg {
        flex: 1 0 100%;
        order: -1;
        margin-bottom: 5px;
    }
}

/* Loading State for Submit Button */
.btn-submit.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px; /* Altura fija para evitar saltos */
}

.btn-submit.loading::after {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spinLoader 0.8s linear infinite;
}

@keyframes spinLoader {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Overlay cuando se está enviando */
.form-sending-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    color: white;
}

.form-sending-overlay .spinner-large {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 1rem;
}

.form-sending-overlay p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Success Step */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-content {
    max-width: 400px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    color: var(--celeste-vintage);
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.success-content h2 {
    font-family: 'Spectral', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.success-message {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 1rem;
}

.success-firma {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: #73001a;
    margin: 2rem 0;
}

.success-spam-note {
    font-size: 1.05rem;
    font-weight: 600;
    color: #73001a;
    background: rgba(115, 0, 26, 0.08);
    padding: 12px 16px;
    border-radius: 8px;
    margin: 1rem 0;
}

/* ========================================
   PROFESORADO PAGES - RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .testimonios-nav.prev {
        left: -20px;
    }

    .testimonios-nav.next {
        right: -20px;
    }

    .ejes-grid-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
    }

    .info-notes-grid {
        grid-template-columns: 1fr;
    }

    .acordeones-grid {
        grid-template-columns: 1fr;
    }

    .acordeon-wide {
        grid-column: span 1;
    }

    .valor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header-simple {
        padding: 100px 0 50px;
    }

    .page-header-simple h1 {
        font-size: 2.2rem;
    }

    .page-subtitle {
        font-size: 1.4rem;
    }

    .quick-info-grid {
        gap: 30px 40px;
    }

    .ejes-grid-compact {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .eje-item {
        padding: 20px 15px;
    }

    .eje-icon {
        width: 60px;
        height: 60px;
    }

    /* Testimonios responsive */
    .testimonios-section {
        padding: 60px 0;
    }

    .testimonios-carousel {
        padding: 0 40px;
    }

    .testimonios-nav {
        width: 36px;
        height: 36px;
        top: 85px;
        transform: none;
    }

    .testimonios-nav svg {
        width: 16px;
        height: 16px;
    }

    .testimonios-nav.prev {
        left: 5px;
    }

    .testimonios-nav.next {
        right: 5px;
    }

    .testimonio-card.active {
        grid-template-columns: 1fr;
    }

    .testimonio-lado-izq {
        padding: 25px 20px;
    }

    /* En móvil: línea horizontal que no toca los bordes */
    .testimonio-lado-izq::after {
        right: 15%;
        top: auto;
        bottom: 0;
        height: 1px;
        width: 70%;
    }

    .testimonio-foto {
        width: 100px;
        height: 100px;
    }

    .testimonio-nombre {
        font-size: 1.1rem;
    }

    .testimonio-lado-der {
        padding: 30px 25px;
    }

    .testimonio-lado-der::before {
        font-size: 4rem;
        top: 10px;
        left: 15px;
    }

    .testimonio-texto {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    /* Programa responsive */
    .programa-titulo-script {
        font-size: 2.2rem;
    }

    .programa-subtitulo-main {
        font-size: 1.4rem;
    }

    .materia-header {
        padding: 20px 15px;
    }

    .materia-titulo {
        font-size: 1.05rem;
    }

    .materia-contenido {
        padding-left: 50px;
    }

    /* CTA responsive */
    .cta-simple-content h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Modal responsive */
    .modal-container {
        padding: 40px 25px;
        margin: 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .radio-group.horizontal {
        flex-direction: column;
    }

    .valor-grid {
        grid-template-columns: 1fr;
    }

    .fechas-columns {
        flex-direction: column;
        gap: 20px;
    }
}
/* ========================================
   PROMO STICKY - Cuenta Regresiva
   ======================================== */

.promo-sticky {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Spectral', serif;
}

.promo-sticky-content {
    background: linear-gradient(135deg, #73001a 0%, #4a0011 100%);
    color: #ffffff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(115, 0, 26, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 320px;
    position: relative;
    overflow: hidden;
}

/* Efecto decorativo sutil */
.promo-sticky-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.promo-sticky-text {
    text-align: center;
    position: relative;
    z-index: 1;
}

.promo-sticky-title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
    opacity: 0.9;
}

.promo-sticky-highlight {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2px;
    color: #ffd700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.promo-sticky-offer {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
}

.promo-sticky-offer .percent {
    font-size: 1.6rem;
    font-weight: 700;
}

.promo-sticky-offer strong {
    font-size: 1.1rem;
    display: block;
    margin-top: 4px;
}

.promo-sticky-offer strong .percent {
    font-size: 1.4rem;
}

.promo-sticky-cert {
    color: #d4af37;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 6px;
}

.promo-expired-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.promo-expired-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
}

.promo-sticky-btn-inscribir {
    display: inline-block;
    background: white;
    color: #722F37;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.promo-sticky-btn-inscribir:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

.promo-countdown {
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 45px;
}

.countdown-number {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    font-family: 'Nunito', sans-serif;
}

.countdown-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    margin-top: 2px;
}

.countdown-separator {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.6;
    margin-top: -8px;
}

.promo-sticky-btn {
    background: #ffffff;
    color: #73001a;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: 'Spectral', serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.promo-sticky-btn:hover {
    background: #f5f0e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Botón cerrar promo */
.promo-sticky-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    transition: background 0.3s ease;
    z-index: 2;
}

.promo-sticky-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Mobile: Banner full width en bottom */
@media (max-width: 768px) {
    .promo-sticky {
        bottom: 0;
        right: 0;
        left: 0;
        padding: 0;
    }

    .promo-sticky-content {
        max-width: 100%;
        border-radius: 0;
        padding: 15px 20px;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .promo-sticky-text {
        text-align: center;
    }

    .promo-sticky-title {
        font-size: 1.1rem;
        font-weight: 500;
    }

    .promo-sticky-offer {
        font-size: 1.05rem;
        font-weight: 600;
    }

    .promo-sticky-offer strong {
        font-size: 1.1rem;
        display: block;
    }

    .promo-countdown {
        padding: 8px 12px;
        gap: 6px;
    }

    .countdown-item {
        min-width: 35px;
    }

    .countdown-number {
        font-size: 1.2rem;
    }

    .countdown-label {
        font-size: 0.55rem;
    }

    .countdown-separator {
        font-size: 1.1rem;
    }

    .promo-sticky-btn {
        width: 100%;
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .promo-sticky-close {
        top: 5px;
        right: 5px;
    }
}

/* Ocultar promo cuando está cerrada */
.promo-sticky.hidden {
    display: none;
}

/* Promo expirada */
.promo-sticky.expired .promo-countdown {
    display: none;
}

.promo-sticky.expired .promo-sticky-title {
    display: none;
}

/* Floating WhatsApp Button */
#floating-wa-btn {
    position: fixed;
    bottom: 180px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1001;
    text-decoration: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}

#floating-wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
    #floating-wa-btn {
        bottom: 100px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    #floating-wa-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   CLASES ONLINE PAGE
   ======================================== */

/* Hero Section */
.clases-online-hero {
    padding: 140px 20px 80px;
    background: linear-gradient(135deg, #faf2f3 0%, #ffffff 100%);
}

.clases-online-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.clases-online-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 400;
    color: #73001a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.clases-online-hero .hero-tagline {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #73001a;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.clases-online-intro {
    text-align: left;
    margin: 2rem 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2a2a2a;
}

.clases-online-intro p {
    margin-bottom: 1rem;
}

/* Quote Section */
.clases-online-quote {
    background-color: #faf2f3;
    padding: 60px 20px;
    text-align: center;
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: #73001a;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Section */
.clases-online-features {
    padding: 80px 20px;
    background-color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: #73001a;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: #73001a;
    fill: none;
}

.feature-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a4a4a;
}

/* Benefits Section */
.clases-online-benefits {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.clases-online-benefits h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #73001a;
    text-align: center;
    margin-bottom: 50px;
    font-style: italic;
}

.benefits-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-item:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.benefit-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    color: #73001a;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    stroke: #73001a;
    fill: none;
}

.benefit-item p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2a2a2a;
}

/* Closing Section */
.clases-online-closing {
    padding: 80px 20px;
    text-align: center;
    background-color: #ffffff;
}

.closing-quote {
    font-family: 'Spectral', serif;
    font-size: 1.2rem;
    color: #2a2a2a;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.closing-cta {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: #73001a;
    font-weight: 500;
}

/* Pricing Section */
.clases-online-pricing {
    padding: 80px 20px;
    background: linear-gradient(135deg, #73001a 0%, #4a0011 100%);
}

.pricing-card {
    background: #ffffff;
    max-width: 500px;
    margin: 0 auto;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.pricing-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.pricing-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

.pricing-price {
    margin-bottom: 30px;
}

.price-amount {
    font-family: 'Spectral', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #73001a;
}

.price-currency {
    font-size: 1rem;
    color: #666;
    margin-left: 5px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    color: #2a2a2a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: #73001a;
    font-weight: bold;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.pricing-note {
    font-size: 0.85rem;
    color: #888;
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .clases-online-hero h1 {
        font-size: 2rem;
    }

    .clases-online-hero .hero-tagline {
        font-size: 1.4rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-item,
    .benefit-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .benefit-icon {
        margin: 0 auto;
    }

    .pricing-card {
        padding: 40px 25px;
    }

    .price-amount {
        font-size: 2.5rem;
    }
}

/* Pricing Form */
.pricing-form {
    margin-top: 30px;
}

.pricing-form .form-group {
    margin-bottom: 15px;
}

.pricing-form label {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.pricing-form input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.pricing-form input[type="email"]:focus {
    outline: none;
    border-color: var(--bordo);
}

.pricing-form small {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    color: #888;
    margin-top: 6px;
}

.pricing-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.pricing-form button svg {
    flex-shrink: 0;
}

.pricing-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    color: #888;
}

.pricing-secure svg {
    flex-shrink: 0;
}

.pricing-login {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.pricing-login p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: #666;
}

.pricing-login a {
    color: var(--bordo);
    font-weight: 600;
    text-decoration: none;
}

.pricing-login a:hover {
    text-decoration: underline;
}

/* Modal Éxito */
.modal-exito {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-exito-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 450px;
    text-align: center;
}

.modal-exito-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.modal-exito h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--bordo);
    margin-bottom: 1rem;
}

.modal-exito p {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.modal-exito .btn {
    margin-top: 1rem;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   NAVBAR DROPDOWN MENU
   ======================================== */

.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 100%;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.nav-dropdown:hover .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-submenu li {
    margin: 0;
}

.nav-submenu a {
    display: block;
    padding: 12px 20px;
    color: #2a2a2a;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-submenu a:hover {
    background-color: #faf2f3;
    color: #73001a;
}

/* Mobile dropdown */
@media (max-width: 768px) {
    .nav-submenu {
        position: static;
        box-shadow: none;
        background: #f9f9f9;
        border-radius: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.active .nav-submenu {
        max-height: 200px;
    }

    .nav-submenu a {
        padding: 10px 30px;
        font-size: 0.9rem;
    }
}

/* ========================================
   BENEFITS VISUAL STORYTELLING
   ======================================== */

.clases-online-benefits-visual {
    padding: 80px 20px;
    background-color: #ffffff;
}

.clases-online-benefits-visual h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: #73001a;
    text-align: center;
    margin-bottom: 60px;
    font-style: italic;
}

.benefits-visual-list {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.benefit-visual-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.benefit-visual-item.reverse {
    direction: rtl;
}

.benefit-visual-item.reverse > * {
    direction: ltr;
}

.benefit-visual-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.benefit-visual-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.benefit-visual-item:hover .benefit-visual-image img {
    transform: scale(1.05);
}

/* Cat icons for clases online */
.benefit-visual-image img.cat-icon {
    object-fit: contain;
    height: 180px;
    padding: 30px;
}

.benefit-visual-item:hover .benefit-visual-image img.cat-icon {
    transform: scale(1.08);
}

.benefit-visual-content {
    padding: 20px;
}

.benefit-visual-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #73001a;
    margin-bottom: 15px;
}

.benefit-visual-content p {
    font-family: 'Spectral', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2a2a2a;
}

.benefit-visual-content strong {
    color: #73001a;
}

/* Responsive */
@media (max-width: 768px) {
    .clases-online-benefits-visual {
        padding: 60px 20px;
    }

    .clases-online-benefits-visual h2 {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .benefits-visual-list {
        gap: 40px;
    }

    .benefit-visual-item,
    .benefit-visual-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 20px;
    }

    .benefit-visual-image img {
        height: 250px;
    }

    .benefit-visual-content {
        padding: 10px 0;
    }

    .benefit-visual-content h3 {
        font-size: 1.4rem;
    }

    .benefit-visual-content p {
        font-size: 1rem;
    }
}

/* ========================================
   FORMACIONES PAGE (Yoga y Embarazo, etc.)
   ======================================== */

/* Hero Section */
.formacion-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f9f6f2 0%, #fff 100%);
}

.formacion-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.formacion-hero-content {
    padding-right: 40px;
}

.formacion-badge {
    display: inline-block;
    background: var(--bordeaux-principal);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.formacion-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--bordeaux-principal);
    line-height: 1.2;
    margin-bottom: 15px;
}

.formacion-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: var(--bordeaux-suave);
    margin-bottom: 30px;
}

.formacion-hero-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Intro Section */
.formacion-intro {
    padding: 80px 0;
    background: white;
}

.formacion-intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.formacion-intro-content .intro-highlight {
    font-family: 'Spectral', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--bordeaux-principal);
    line-height: 1.8;
    margin-bottom: 30px;
    padding: 25px;
    background: #f9f6f2;
    border-left: 4px solid var(--bordeaux-principal);
    border-radius: 0 8px 8px 0;
}

.formacion-intro-content p {
    font-family: 'Spectral', serif;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #2a2a2a;
    margin-bottom: 20px;
}

/* Info Section */
.formacion-info {
    padding: 80px 0;
    background: #f9f6f2;
}

.section-title-script {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--bordeaux-principal);
    text-align: center;
    margin-bottom: 50px;
}

.formacion-info .info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.formacion-info .info-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    color: var(--bordeaux-principal);
}

.info-icon svg {
    width: 100%;
    height: 100%;
}

.info-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--bordeaux-principal);
    margin-bottom: 10px;
}

.info-content p {
    font-family: 'Spectral', serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #2a2a2a;
    margin-bottom: 8px;
}

.info-note {
    font-size: 0.95rem !important;
    color: #666 !important;
    font-style: italic;
}

.info-small {
    font-size: 0.85rem !important;
    color: #888 !important;
    margin-top: 10px;
}

.horarios-list {
    list-style: none;
    margin-top: 10px;
}

.horarios-list li {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: #2a2a2a;
    padding: 5px 0;
}

/* Programa Section */
.formacion-programa {
    padding: 80px 0;
    background: white;
}

.programa-header {
    text-align: center;
    margin-bottom: 50px;
}

.formacion-programa .programa-logo {
    width: 80px;
    margin-bottom: 20px;
}

.programa-subtitulo {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #666;
    margin-top: 10px;
}

.modulos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.modulo-card {
    background: #f9f6f2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.modulo-header {
    background: var(--bordeaux-principal);
    color: white;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.modulo-numero {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    opacity: 0.7;
}

.modulo-header h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 400;
}

.modulo-content {
    padding: 25px;
}

.modulo-content p {
    font-family: 'Spectral', serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #2a2a2a;
    margin-bottom: 10px;
}

.modulo-content ul {
    list-style: none;
    margin: 10px 0 15px;
}

.modulo-content ul li {
    font-family: 'Spectral', serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    padding: 5px 0 5px 20px;
    position: relative;
}

.modulo-content ul li::before {
    content: '•';
    color: var(--bordeaux-principal);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.modulo-practica {
    grid-column: span 2;
}

.modulo-practica .modulo-header {
    background: var(--bordeaux-suave);
}

/* Inscripción Section */
.formacion-inscripcion {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f6f2 0%, #fff 100%);
}

.inscripcion-info {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.inscripcion-info p {
    font-family: 'Spectral', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2a2a2a;
    margin-bottom: 15px;
}

.inscripcion-beneficio {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 8px;
    color: #2e7d32 !important;
}

.inscripcion-nota {
    font-size: 0.95rem !important;
    color: #666 !important;
}

.inscripcion-warning {
    font-weight: 600;
    color: var(--bordeaux-principal) !important;
}

.precios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.precio-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.precio-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--bordeaux-principal);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.precio-list {
    list-style: none;
}

.precio-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    font-family: 'Nunito', sans-serif;
}

.precio-monto {
    font-weight: 600;
    color: var(--bordeaux-principal);
    font-size: 1.1rem;
}

.precio-metodo {
    color: #666;
    font-size: 0.95rem;
}

.precio-destacado {
    border: 2px solid var(--bordeaux-principal);
    transform: scale(1.05);
}

.precio-nota {
    font-size: 0.85rem;
    color: #888;
    margin-top: 15px;
    font-style: italic;
}

.inscripcion-cta {
    text-align: center;
}

/* Certificación Section */
.formacion-certificacion {
    padding: 80px 0;
    background: white;
}

.certificacion-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.certificacion-logo {
    width: 150px;
    margin-bottom: 30px;
}

.certificacion-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--bordeaux-principal);
    margin-bottom: 20px;
}

.certificacion-content p {
    font-family: 'Spectral', serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2a2a2a;
    margin-bottom: 15px;
}

/* Profesora Section */
.formacion-profesora {
    padding: 80px 0;
    background: #f9f6f2;
}

.profesora-card {
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
}

.profesora-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profesora-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profesora-nombre {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--bordeaux-principal);
}

/* Responsive - Formaciones */
@media (max-width: 992px) {
    .formacion-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .formacion-hero-content {
        padding-right: 0;
    }

    .formacion-hero-content h1 {
        font-size: 2.8rem;
    }

    .formacion-info .info-grid {
        grid-template-columns: 1fr;
    }

    .modulos-grid {
        grid-template-columns: 1fr;
    }

    .modulo-practica {
        grid-column: span 1;
    }

    .precios-grid {
        grid-template-columns: 1fr;
    }

    .precio-destacado {
        transform: none;
    }
}

@media (max-width: 768px) {
    .formacion-hero {
        padding: 100px 0 60px;
    }

    .formacion-hero-content h1 {
        font-size: 2.2rem;
    }

    .formacion-subtitle {
        font-size: 1.4rem;
    }

    .section-title-script {
        font-size: 2.2rem;
    }

    .formacion-intro-content .intro-highlight {
        font-size: 1.1rem;
        padding: 20px;
    }

    .formacion-info .info-card {
        flex-direction: column;
        text-align: center;
    }

    .formacion-info .info-icon {
        margin: 0 auto;
    }
}

/* ========================================
   MOBILE DROPDOWN MENU
   ======================================== */
@media (max-width: 768px) {
    .nav-menu {
        align-items: center;
    }

    .nav-link {
        justify-content: center;
    }

    .nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-dropdown > .nav-link {
        justify-content: center;
    }

    .nav-submenu {
        position: static;
        box-shadow: none;
        background: #f9f9f9;
        border-radius: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        width: 100%;
        text-align: center;
    }

    .nav-dropdown.active .nav-submenu {
        max-height: 500px;
        overflow: visible;
        padding: 8px 0;
    }

    .nav-submenu a {
        padding: 14px 30px;
        font-size: 0.95rem;
        display: block;
        text-align: center;
        line-height: 1.5;
    }
}

/* ========================================
   WELCOME POPUP
   ======================================== */

.welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.welcome-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.welcome-popup {
    background: #ffffff;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    display: flex;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s ease;
    border: 3px solid rgba(115, 0, 26, 0.15);
}

.welcome-popup-overlay.active .welcome-popup {
    transform: scale(1);
}

.welcome-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #73001a;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.welcome-popup-close:hover {
    background: #73001a;
    color: #ffffff;
    transform: rotate(90deg);
}

.welcome-popup-image {
    flex: 0 0 45%;
    max-width: 45%;
}

.welcome-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-popup-content {
    flex: 1;
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.welcome-popup-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #73001a;
    margin-bottom: 20px;
    font-weight: 500;
}

.welcome-popup-content p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.welcome-popup-intro {
    font-size: 1.2rem !important;
    color: #333 !important;
}

.welcome-popup-content .highlight {
    color: #c9a227;
    font-weight: 600;
}

.welcome-popup-cta {
    font-weight: 600 !important;
    color: #73001a !important;
    margin-top: 5px;
    margin-bottom: 20px !important;
}

.welcome-popup-content .btn {
    align-self: center;
}

/* Mobile popup */
@media (max-width: 600px) {
    .welcome-popup {
        flex-direction: column;
        max-width: 90%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .welcome-popup-image {
        flex: none;
        max-width: 100%;
        height: 200px;
    }

    .welcome-popup-content {
        padding: 25px 20px 30px;
    }

    .welcome-popup-content h2 {
        font-size: 1.6rem;
    }

    .welcome-popup-content p {
        font-size: 0.95rem;
    }

    .welcome-popup-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
}

/* ========================================
   POPUP PRECIOS - Inscripción Exclusiva
   ======================================== */

.btn-ver-precios {
    display: block;
    margin: 15px auto 0;
    background: transparent;
    border: 1px solid #73001a;
    color: #73001a;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Josefin Sans', sans-serif;
}

.btn-ver-precios:hover {
    background: #73001a;
    color: #fff;
}

.precios-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.precios-popup-overlay.active {
    display: flex;
}

.precios-popup {
    background: #fff;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.precios-popup-titulo {
    text-align: center;
    color: #73001a;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-family: 'Spectral', serif;
}

.precios-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.precios-popup-close:hover {
    color: #73001a;
}

.precios-popup .valor-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 600px) {
    .precios-popup {
        padding: 20px 15px;
    }

    .precios-popup .valor-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   MODAL INFO PROFESORADO - Exclusiva
   ======================================== */

.info-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    overflow-y: auto;
}

.info-modal-overlay.active {
    display: flex;
}

.info-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    margin: 20px auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.info-modal-close {
    position: fixed;
    top: 25px;
    right: 25px;
    background: #fff;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #666;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 10001;
    transition: all 0.3s;
}

.info-modal-close:hover {
    background: #73001a;
    color: #fff;
}

.info-modal-content {
    padding: 40px;
}

.info-modal-title {
    text-align: center;
    color: #73001a;
    font-size: 2.2rem;
    margin-bottom: 5px;
    font-family: 'Spectral', serif;
}

.info-modal-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.info-section-title {
    color: #73001a;
    font-size: 1.4rem;
    margin: 35px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0e6e8;
    font-family: 'Spectral', serif;
}

/* Quick Info Modal */
.quick-info-modal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    background: linear-gradient(135deg, #73001a 0%, #8b1538 100%);
    padding: 20px;
    border-radius: 12px;
    color: #fff;
    margin-bottom: 20px;
}

.quick-info-modal .quick-info-item {
    text-align: center;
}

.quick-info-modal .quick-info-item strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 3px;
}

.quick-info-modal .quick-info-item span {
    font-weight: 600;
}

/* Ejes Grid Modal */
.ejes-grid-modal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.eje-item-modal {
    text-align: center;
    padding: 20px 15px;
    background: #faf9f7;
    border-radius: 12px;
}

.eje-item-modal img {
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
}

.eje-item-modal h4 {
    color: #73001a;
    margin-bottom: 8px;
    font-size: 1rem;
}

.eje-item-modal p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

/* Info Cards Modal */
.info-cards-modal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-card-modal {
    background: #faf9f7;
    padding: 20px;
    border-radius: 12px;
}

.info-card-modal h4 {
    color: #73001a;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.info-card-modal p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #444;
}

.info-card-modal small {
    display: block;
    margin-top: 10px;
    color: #666;
    font-size: 0.8rem;
    font-style: italic;
}

.info-card-modal ul {
    margin: 0;
    padding-left: 20px;
    font-size: 0.9rem;
    color: #444;
}

.info-card-modal ul li {
    margin: 5px 0;
}

/* Fechas Modal */
.fechas-modal {
    background: #faf9f7;
    padding: 25px;
    border-radius: 12px;
}

.fechas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 15px 0;
}

.fechas-grid p {
    margin: 5px 0;
    font-size: 0.9rem;
}

/* Retiro Modal */
.retiro-modal {
    background: linear-gradient(135deg, #f5f0e8 0%, #faf9f7 100%);
    padding: 25px;
    border-radius: 12px;
    margin-top: 25px;
    text-align: center;
}

.retiro-modal h3 {
    color: #73001a;
    margin-bottom: 10px;
}

.retiro-modal p {
    color: #555;
    font-size: 0.95rem;
}

.retiro-flor {
    display: block;
    width: 50px;
    height: auto;
    margin: 15px auto 0;
    opacity: 0.7;
}

/* CTA Modal */
.modal-cta {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #f0e6e8;
}

.modal-cta .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Intro Modal */
.intro-modal {
    background: linear-gradient(135deg, #faf5f5 0%, #fff 100%);
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 3px solid #73001a;
}

.intro-modal p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Ejes Grid 5 columnas */
.ejes-grid-modal.ejes-5 {
    grid-template-columns: repeat(5, 1fr);
}

/* Horarios Modal */
.horarios-modal {
    background: #faf5f5;
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.horarios-modal p {
    margin-bottom: 15px;
    color: #333;
}

.horarios-lista-modal {
    list-style: none;
    padding: 0;
    margin: 0;
}

.horarios-lista-modal li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0e6e8;
}

.horarios-lista-modal li:last-child {
    border-bottom: none;
}

.pais-tag {
    background: #73001a;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

/* Apto Médico Modal */
.apto-medico-modal {
    background: linear-gradient(135deg, #f8f4e8 0%, #faf5f0 100%);
    padding: 20px 25px;
    border-radius: 12px;
    border-left: 4px solid #c9a227;
    margin-bottom: 25px;
}

.apto-medico-modal h4 {
    color: #73001a;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.apto-medico-modal p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.apto-medico-modal p:last-child {
    margin-bottom: 0;
}

/* Testimonios Modal */
.testimonios-modal {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.testimonio-modal-card {
    display: flex;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #f0e6e8;
}

.testimonio-modal-foto {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonio-modal-content {
    flex: 1;
}

.testimonio-modal-nombre {
    font-weight: 600;
    color: #73001a;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.testimonio-modal-texto {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: italic;
}

/* Programa Acordeón Modal */
.programa-acordeon-modal {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.materia-modal {
    border: 1px solid #e8e0e1;
    border-radius: 10px;
    overflow: hidden;
    background: white;
}

.materia-modal-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #faf5f5;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.materia-modal-header:hover {
    background: #f5eef0;
    color: #73001a;
}

.materia-modal-arrow {
    font-size: 1.3rem;
    font-weight: 400;
    color: #73001a;
    transition: transform 0.3s ease;
}

.materia-modal.active .materia-modal-arrow {
    transform: rotate(45deg);
}

.materia-modal-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.materia-modal.active .materia-modal-content {
    max-height: 300px;
    padding: 15px 20px;
}

.materia-modal-content p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.materia-modal-content p:last-child {
    margin-bottom: 0;
}

/* Precios Resumen Modal */
.precios-resumen-modal {
    background: linear-gradient(135deg, #73001a 0%, #8b1538 100%);
    padding: 25px;
    border-radius: 15px;
    color: white;
    margin-bottom: 25px;
}

.precio-item-modal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.precio-item-modal:last-of-type {
    border-bottom: none;
    margin-bottom: 15px;
}

.precio-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.precio-valor {
    font-weight: 700;
    font-size: 1.1rem;
    color: #c9a227;
}

.btn-ver-precios-modal {
    width: 100%;
    background: white;
    color: #73001a;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-ver-precios-modal:hover {
    background: #f5f0f0;
    transform: translateY(-2px);
}

/* Responsive Info Modal */
@media (max-width: 768px) {
    .info-modal-content {
        padding: 25px 20px;
    }

    .info-modal-title {
        font-size: 1.8rem;
    }

    .quick-info-modal {
        grid-template-columns: repeat(2, 1fr);
    }

    .ejes-grid-modal {
        grid-template-columns: repeat(2, 1fr);
    }

    .ejes-grid-modal.ejes-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-cards-modal {
        grid-template-columns: 1fr;
    }

    .fechas-grid {
        grid-template-columns: 1fr;
    }

    .info-modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .horarios-lista-modal li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .testimonio-modal-card {
        flex-direction: column;
        text-align: center;
    }

    .testimonio-modal-foto {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .quick-info-modal {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 15px;
    }

    .ejes-grid-modal {
        grid-template-columns: 1fr;
    }

    .ejes-grid-modal.ejes-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .horarios-modal,
    .apto-medico-modal {
        padding: 15px 18px;
    }

    .pais-tag {
        font-size: 0.75rem;
        padding: 3px 8px;
    }

    .testimonio-modal-foto {
        width: 50px;
        height: 50px;
    }

    .testimonio-modal-texto {
        font-size: 0.85rem;
    }

    .precio-item-modal {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .precios-resumen-modal {
        padding: 20px 18px;
    }
}
