/* ============================================================
   eManeiro Designs — style.css
   Paleta: #7C2A9B (morado) · #0156E2 (azul) · #7D55C9 (claro)
   ============================================================ */

/* --- CUSTOM PROPERTIES --- */
:root {
    --clr-primary:     #6B4DC4;
    --clr-secondary:   #4F46E5;
    --clr-tertiary:    #7D55C9;
    --clr-dark:        #1A0A2E;
    --clr-dark-alt:    #2D1B4E;
    --clr-text:        #1A1A2E;
    --clr-text-soft:   #6B7280;
    --clr-white:       #FFFFFF;
    --clr-bg-light:    #F8F5FF;
    --clr-bg-card:     #FEFEFE;

    --gradient-main:   linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
    --gradient-dark:   linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
    --gradient-hero:   linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);

    --font-heading:    'Poppins', system-ui, sans-serif;
    --font-body:       'Poppins', system-ui, sans-serif;

    --shadow-sm:       0 2px 8px rgba(107,77,196,0.10);
    --shadow-md:       0 8px 32px rgba(107,77,196,0.15);
    --shadow-lg:       0 16px 48px rgba(107,77,196,0.20);
    --shadow-card:     0 4px 24px rgba(0,0,0,0.08);

    --radius-sm:  8px;
    --radius-md:  16px;
    --radius-lg:  24px;
    --radius-xl:  32px;
    --radius-full: 9999px;

    --transition: 0.3s ease;
    --nav-height: 72px;

    --container-max: 1200px;
    --container-pad: clamp(1rem, 5vw, 2rem);
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background: var(--clr-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

h4 { font-weight: 600; }

/* --- LAYOUT UTILITIES --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

section { padding: clamp(4rem, 8vw, 7rem) 0; }

.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-primary);
    background: rgba(107,77,196,0.1);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-tag--light {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.15);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-text);
}

.section-title--light { color: var(--clr-white); }

.section-subtitle {
    margin-top: 1rem;
    font-size: 1.05rem;
    color: var(--clr-text-soft);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle--light {
    color: rgba(255,255,255,0.75);
    margin-top: 1rem;
    font-size: 1.05rem;
    text-align: center;
    display: block;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- SCROLL ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn--large  { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn--xl     { padding: 1.2rem 3rem; font-size: 1.2rem; font-weight: 700; }
.btn--sm     { padding: 0.55rem 1.25rem; font-size: 0.85rem; }
.btn--block  { display: flex; width: 100%; }

.btn--primary {
    background: var(--gradient-main);
    color: var(--clr-white);
    box-shadow: 0 4px 20px rgba(107,77,196,0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(107,77,196,0.45); }

.btn--outline-light {
    background: transparent;
    color: var(--clr-white);
    border-color: rgba(255,255,255,0.5);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--clr-white); }

.btn--outline-dark {
    background: transparent;
    color: var(--clr-primary);
    border-color: var(--clr-primary);
}
.btn--outline-dark:hover { background: var(--clr-primary); color: var(--clr-white); }

.btn--whatsapp {
    background: #25D366;
    color: var(--clr-white);
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn--whatsapp:hover { background: #20BD5A; transform: translateY(-2px); }

.btn--whatsapp-outline {
    background: transparent;
    color: #25D366;
    border-color: #25D366;
}
.btn--whatsapp-outline:hover { background: #25D366; color: var(--clr-white); }

.btn--whatsapp-outline-light {
    background: transparent;
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.5);
}
.btn--whatsapp-outline-light:hover { background: rgba(255,255,255,0.15); border-color: var(--clr-white); }

.btn--white {
    background: var(--clr-white);
    color: var(--clr-primary);
    font-weight: 700;
}
.btn--white:hover { background: var(--clr-bg-light); transform: translateY(-2px); }

.btn--nav {
    background: var(--gradient-main);
    color: var(--clr-white);
    padding: 0.6rem 1.4rem;
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
}
.btn--nav:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 999;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    transition: all var(--transition);
    color: var(--clr-white);
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }

/* --- NAVIGATION --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    background: rgba(26,10,46,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(26,10,46,0.98);
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.nav__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--clr-white);
    white-space: nowrap;
}

.logo-accent {
    color: var(--clr-tertiary);
    font-style: italic;
}

.logo-sub {
    font-size: 0.72rem;
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 0.01em;
}

.nav__logo-img {
    height: 44px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}

.nav__link {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.nav__link:hover { color: var(--clr-white); background: rgba(255,255,255,0.08); }

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    cursor: pointer;
}

.nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-white);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- HERO --- */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(107,77,196,0.25) 0%, transparent 60%);
    pointer-events: none;
}

.hero__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 5rem) var(--container-pad);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    margin-top: 1.5rem;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    color: var(--clr-white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero__title-highlight {
    color: #1A0A2E;
    -webkit-text-fill-color: #1A0A2E;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero__actions .btn--primary {
    background: #4C1D95;
    box-shadow: 0 4px 20px rgba(76,29,149,0.35);
}
.hero__actions .btn--primary:hover {
    box-shadow: 0 8px 28px rgba(76,29,149,0.45);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero__stat {
    text-align: center;
}

.hero__stat strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--clr-white);
}

.hero__stat span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero__stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.2);
}

.hero__image { display: flex; justify-content: center; align-items: center; }

.hero__image-wrapper {
    position: relative;
    width: min(560px, 100%);
}

.hero__image-wrapper img,
.hero__image-wrapper video {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    aspect-ratio: 3/2;
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.1);
    background: var(--gradient-main);
    display: block;
}

.hero__scroll-hint {
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    padding-bottom: 2rem;
    letter-spacing: 0.05em;
}

.scroll-arrow {
    animation: bounce 2s infinite;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}

/* --- DIFERENCIACIÓN --- */
.diferenciacion { background: var(--clr-white); }

.diferenciacion__intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.05rem;
    color: var(--clr-text-soft);
    line-height: 1.7;
}

.diferenciacion__intro strong { color: var(--clr-text); }

.diferenciacion__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.dif-card {
    background: var(--clr-bg-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid rgba(107,77,196,0.08);
    transition: all var(--transition);
}

.dif-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(107,77,196,0.2);
}

.dif-card__icon {
    margin-bottom: 1rem;
    display: flex;
}

.dif-card__icon svg,
.curso-card__icon svg,
.quiz-option__icon svg,
.timeline__icon svg { display: block; }

.dif-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 0.5rem;
}

.dif-card p {
    font-size: 0.9rem;
    color: var(--clr-text-soft);
    line-height: 1.6;
}

.garantia {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--gradient-main);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    color: var(--clr-white);
    max-width: 720px;
    margin: 0 auto;
}

.garantia__number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.garantia__text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.garantia__text p {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* --- QUIZ SECTION --- */
.quiz-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.quiz-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(125,85,201,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.quiz-wrapper {
    background: linear-gradient(135deg, #1A0A2E 0%, #2D1B4E 100%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 5vw, 3rem);
    max-width: 720px;
    margin: 0 auto;
    backdrop-filter: blur(8px);
}

.quiz-progress-bar-container {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: rgba(255,255,255,0.9);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

/* Quiz steps */
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeSlideIn 0.4s ease; }

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

.quiz-step-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-tertiary);
    margin-bottom: 0.75rem;
}

.quiz-question h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 600;
    color: var(--clr-white);
    margin-bottom: 0.5rem;
}

.quiz-hint {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    text-align: left;
    color: var(--clr-white);
    transition: all var(--transition);
    cursor: pointer;
}

.quiz-option:hover {
    background: rgba(107,77,196,0.3);
    border-color: var(--clr-tertiary);
    transform: translateX(4px);
}

.quiz-option__icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    width: 2.5rem;
    text-align: center;
}

.quiz-option__text strong {
    display: block;
    font-size: 0.975rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.quiz-option__text small {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
}

.quiz-back {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.quiz-back:hover { color: rgba(255,255,255,0.85); }

/* Quiz Results */
.quiz-result { display: none; text-align: center; animation: fadeSlideIn 0.4s ease; }
.quiz-result.active { display: block; }

.result-emoji { margin-bottom: 0.75rem; display: flex; justify-content: center; }

.result-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-tertiary);
    margin-bottom: 0.75rem;
}

.result-tag--gold { color: #F59E0B; }

.quiz-result h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--clr-white);
    margin-bottom: 0.75rem;
}

.result-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--clr-white);
    margin-bottom: 0.25rem;
}

.result-price span { font-size: 1rem; font-weight: 400; opacity: 0.7; }

.result-note {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.5rem;
}

.result-benefits {
    list-style: none;
    text-align: left;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.result-benefits li {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.result-description {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.result-video-link { margin-bottom: 1.5rem; }

.result-cta-text {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1rem;
}

.result-videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.result-video-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    color: var(--clr-white);
    transition: all var(--transition);
    text-decoration: none;
    text-align: center;
}

.result-video-card:hover {
    background: rgba(107,77,196,0.3);
    border-color: var(--clr-tertiary);
}

.result-video-card span { font-size: 2rem; }
.result-video-card strong { font-size: 0.875rem; }
.result-video-card small { font-size: 0.78rem; color: var(--clr-tertiary); }

.quiz-result--featured .result-price { color: #F59E0B; }

.quiz-restart {
    display: block;
    margin: 1rem auto 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition);
    padding: 0;
}
.quiz-restart:hover { color: rgba(255,255,255,0.8); }

/* --- SOBRE MÍ --- */
.sobre-mi { background: var(--clr-white); }

.sobre-mi__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

.sobre-mi__image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sobre-mi__image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-radius: var(--radius-lg);
    background: var(--gradient-main) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: 1;
}

.sobre-mi__image-frame img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
    background: var(--clr-bg-light);
    min-height: 280px;
}

.sobre-mi__content .section-tag { margin-bottom: 0.75rem; }

.sobre-mi__content h2 { margin-bottom: 1.5rem; }

.sobre-mi__content p {
    color: var(--clr-text-soft);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.sobre-mi__content p strong { color: var(--clr-text); }

.sobre-mi__cierre {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--clr-primary);
    background: rgba(124, 42, 155, 0.05);
    border-radius: 0 8px 8px 0;
    font-size: 1.05rem;
}

.sobre-mi__stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--clr-bg-light);
    border-radius: var(--radius-md);
}

.sm-stat { text-align: center; flex: 1; }

.sm-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sm-stat span {
    font-size: 0.8rem;
    color: var(--clr-text-soft);
}

.sobre-mi__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(107,77,196,0.25);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--clr-primary);
    background: rgba(107,77,196,0.05);
    transition: all var(--transition);
}
.social-pill:hover { background: var(--gradient-main); color: var(--clr-white); border-color: transparent; }

/* --- CÓMO FUNCIONA --- */
.como-funciona { background: var(--gradient-dark); }

.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 2.25rem;
    top: 3.5rem;
    bottom: 3.5rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--clr-primary), var(--clr-secondary));
    opacity: 0.4;
}

.timeline__item {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    padding: 1.5rem 0;
    position: relative;
}

.timeline__icon {
    width: 4.5rem;
    height: 4.5rem;
    flex-shrink: 0;
    background: #1A0A2E;
    border: 1px solid #1A0A2E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.timeline__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1A0A2E;
    margin-bottom: 0.35rem;
}

.timeline__body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--clr-white);
    margin-bottom: 0.5rem;
}

.timeline__body p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.65;
}

.timeline__body p strong { color: rgba(255,255,255,0.9); }

/* --- MENTORÍAS --- */
.mentorias { background: var(--clr-bg-light); }

.mentorias__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.mentoria-card {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    transition: all var(--transition);
}

.mentoria-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.mentoria-card--featured {
    background: var(--gradient-main);
    color: var(--clr-white);
    border: none;
    box-shadow: var(--shadow-lg);
}

.mentoria-card__badge {
    position: absolute;
    top: -0.85rem;
    left: 50%;
    transform: translateX(-50%);
    background: #F59E0B;
    color: #1A1A2E;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.mentoria-level {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-primary);
    background: rgba(107,77,196,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
}

.mentoria-level--light {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.15);
}

.mentoria-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 0.25rem;
}

.mentoria-card--featured h3 { color: var(--clr-white); }

.mentoria-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--clr-primary);
}

.mentoria-price span { font-size: 0.9rem; font-weight: 400; color: var(--clr-text-soft); }

.mentoria-price--light { color: var(--clr-white); }
.mentoria-price--light span { color: rgba(255,255,255,0.7); }

.mentoria-price-alt {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.15rem;
}

.mentoria-currency {
    font-size: 0.72rem;
    color: var(--clr-text-soft);
    margin-top: 0.25rem;
    margin-bottom: 0.15rem;
    opacity: 0.75;
}
.mentoria-currency--light { color: rgba(255,255,255,0.6); }

.mentoria-target { font-size: 0.85rem; color: var(--clr-text-soft); }
.mentoria-target--light { color: rgba(255,255,255,0.7); }

.mentoria-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.mentoria-features { list-style: none; padding: 0; }

.mentoria-features li {
    font-size: 0.875rem;
    color: var(--clr-text-soft);
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.mentoria-features li::before {
    content: '';
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    min-width: 15px;
    margin-top: 0.15em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%236B4DC4'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m4.5 12.75 6 6 9-13.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.mentoria-features--light li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m4.5 12.75 6 6 9-13.5'/%3E%3C/svg%3E");
}

.mentoria-features--light li { color: rgba(255,255,255,0.85); }

.mentoria-requisito {
    font-size: 0.82rem;
    color: var(--clr-text-soft);
    background: var(--clr-bg-light);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    line-height: 1.4;
}

.mentoria-exclusive {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 1rem;
    margin-top: 0.25rem;
}

.mentoria-actions { display: flex; flex-direction: column; gap: 0.625rem; }

.mentorias__cta {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 1rem;
    color: var(--clr-text-soft);
}

.mentorias__cta a {
    color: var(--clr-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --- TESTIMONIOS --- */
.testimonios { background: var(--clr-white); }

.testimonios__countries {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--clr-text-soft);
}

.testimonios__videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.testimonio-video-card {
    background: var(--clr-bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(107,77,196,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.testimonio-video-card .video-wrapper {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    flex-shrink: 0;
}

.testimonio-video-info {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.testimonio-video-info .quote-mark {
    font-size: 3.5rem;
    line-height: 0.5;
    margin-bottom: 0.75rem;
}

.testimonio-video-info blockquote {
    font-size: 0.92rem;
    font-style: italic;
    color: var(--clr-text);
    line-height: 1.65;
    margin-bottom: 1rem;
    flex: 1;
}

.testimonio-video-info cite {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-style: normal;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--gradient-main);
    box-shadow: var(--shadow-md);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-md);
    display: block;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 0.6;
    color: var(--clr-primary);
    opacity: 0.3;
    margin-bottom: 0.5rem;
}

.testimonios__quote blockquote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--clr-text);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.testimonios__quote cite {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-style: normal;
}

cite strong { font-size: 1rem; font-weight: 700; color: var(--clr-text); }
cite span   { font-size: 0.875rem; color: var(--clr-text-soft); }

.cite-logro {
    font-size: 0.82rem !important;
    color: #16A34A !important;
    font-weight: 500 !important;
}

.testimonios__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.testimonio-card {
    background: var(--clr-bg-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid rgba(107,77,196,0.08);
    transition: all var(--transition);
}

.testimonio-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(107,77,196,0.2);
}

.testimonio-stars { font-size: 0.9rem; margin-bottom: 0.75rem; }

.testimonio-card p {
    font-size: 0.9rem;
    color: var(--clr-text-soft);
    line-height: 1.65;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonio-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonio-author strong { font-size: 0.875rem; color: var(--clr-text); }
.testimonio-author span  { font-size: 0.82rem; color: var(--clr-text-soft); }

/* --- GALERÍA --- */
.galeria { background: white; }

.galeria__wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.galeria__track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
    padding-bottom: 0.5rem;
}
.galeria__track::-webkit-scrollbar { display: none; }

.galeria__slide {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: clamp(160px, 20vw, 220px);
}

@media (max-width: 768px) {
    .galeria__slide { width: 62vw; }
}

.galeria__placeholder {
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #F3F0FF, #E8E3F8);
    border-radius: 12px;
    border: 1.5px dashed rgba(107,77,196,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: #A78BFA;
    font-size: 0.75rem;
    text-align: center;
    padding: 1rem;
}

.galeria__placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.galeria__slide img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: var(--shadow-md);
}

.galeria__arrow {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: white;
    border: 1.5px solid rgba(107,77,196,0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    color: var(--clr-primary);
}
.galeria__arrow:hover {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    color: white;
}
@media (max-width: 768px) {
    .galeria__arrow { display: none; }
}

/* --- MARCAS --- */
.marcas {
    background: var(--clr-bg-light);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.marcas__texto {
    text-align: center;
    font-size: 0.75rem;
    color: var(--clr-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.75rem;
}

.marcas__franja {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2.5rem;
}

.marca-logo {
    font-size: 1rem;
    font-weight: 700;
    color: #9CA3AF;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.55;
    transition: opacity 0.2s;
    user-select: none;
}
.marca-logo:hover { opacity: 0.8; }

/* --- FAQ --- */
.faq { background: var(--clr-bg-light); }

.faq__list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq__item {
    background: var(--clr-white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.faq__item:hover { box-shadow: var(--shadow-sm); }

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--clr-text);
    text-align: left;
    transition: color var(--transition);
}

.faq__question:hover { color: var(--clr-primary); }

.faq__question[aria-expanded="true"] { color: var(--clr-primary); }

.faq__icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--clr-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--clr-primary);
    transition: all var(--transition);
    position: relative;
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    background: var(--clr-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after  { width: 2px; height: 12px; }

.faq__question[aria-expanded="true"] .faq__icon {
    background: var(--clr-primary);
}

.faq__question[aria-expanded="true"] .faq__icon::before,
.faq__question[aria-expanded="true"] .faq__icon::after {
    background: var(--clr-white);
}

.faq__question[aria-expanded="true"] .faq__icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq__answer {
    padding: 0 1.5rem 1.25rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.faq__answer p {
    font-size: 0.9rem;
    color: var(--clr-text-soft);
    line-height: 1.7;
    padding-top: 1rem;
}

.faq__answer p strong { color: var(--clr-text); }

/* --- CTA FINAL --- */
.cta-final {
    background: var(--gradient-main);
    padding: clamp(4rem, 8vw, 7rem) 0;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-final__content {
    text-align: center;
    color: var(--clr-white);
    position: relative;
}

.cta-final__content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-final__content p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-final__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.cta-final__social p {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    transition: all var(--transition);
}
.social-icon:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }

/* --- FOOTER --- */
.footer {
    background: var(--gradient-main);
    padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--clr-white);
    display: inline-block;
    margin-bottom: 1rem;
}

.footer__brand p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.footer__social {
    display: flex;
    gap: 0.75rem;
}

.footer__social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all var(--transition);
}
.footer__social a:hover { background: var(--clr-primary); color: var(--clr-white); }

.footer__col h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--clr-white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer__col a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.footer__col a:hover { color: rgba(255,255,255,0.9); }

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

/* ============================================================
   CURSOS GRABADOS
   ============================================================ */

.cursos-grabados { background: var(--clr-white); }

.cursos__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.curso-card {
    display: flex;
    gap: 1.25rem;
    background: var(--clr-bg-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(107,77,196,0.1);
    transition: all var(--transition);
}

.curso-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(107,77,196,0.25);
}

.curso-card__icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 3rem;
    text-align: center;
}

.curso-card__body { flex: 1; }

.curso-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-primary);
    background: rgba(107,77,196,0.08);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.6rem;
}

.curso-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 0.6rem;
}

.curso-card p {
    font-size: 0.9rem;
    color: var(--clr-text-soft);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.curso-features {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.curso-features { list-style: none; padding: 0; }

.curso-features li {
    font-size: 0.85rem;
    color: var(--clr-text-soft);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.curso-features li::before {
    content: '';
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    min-width: 14px;
    margin-top: 0.15em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%236B4DC4'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m4.5 12.75 6 6 9-13.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.curso-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid rgba(107,77,196,0.1);
}

.curso-price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--clr-primary);
    white-space: nowrap;
}

.curso-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--clr-text-soft);
}

.curso-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cursos__nota {
    text-align: center;
    font-size: 0.95rem;
    color: var(--clr-text-soft);
    background: var(--clr-bg-light);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--clr-primary);
}

.cursos__nota strong { color: var(--clr-text); }
.cursos__nota a { color: var(--clr-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 768px) {
    .cursos__grid { grid-template-columns: 1fr; }
    .curso-card { flex-direction: column; }
    .curso-card__footer { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   MODALES
   ============================================================ */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(10, 4, 24, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.25s ease;
}

.modal-overlay.open {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: var(--clr-tertiary) transparent;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

.modal__close {
    position: sticky;
    top: 1rem;
    float: right;
    margin: 1rem 1rem 0 0;
    width: 36px;
    height: 36px;
    background: var(--clr-bg-light);
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    color: var(--clr-text-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 10;
}

.modal__close:hover { background: var(--clr-primary); color: var(--clr-white); }

.modal__body { padding: 0 2rem 2.5rem; clear: both; }

/* Modal content */
.modal-header {
    padding: 2rem 0 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    margin-bottom: 1.5rem;
}

.modal-header--featured {
    background: var(--gradient-main);
    margin: -0 -2rem 1.5rem;
    padding: 2rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: none;
    color: var(--clr-white);
}

.modal-badge {
    display: inline-block;
    background: #F59E0B;
    color: #1A1A2E;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.modal-level {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-primary);
    background: rgba(107,77,196,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
}

.modal-level--light {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.2);
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 0.5rem;
}

.modal-header--featured h2 { color: var(--clr-white); }

.modal-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 0.5rem;
}

.modal-price span { font-size: 0.9rem; font-weight: 400; color: var(--clr-text-soft); }
.modal-price small { font-size: 0.85rem; font-weight: 400; opacity: 0.8; }
.modal-price--light { color: var(--clr-white); }
.modal-price--light span, .modal-price--light small { color: rgba(255,255,255,0.7); }

.modal-tagline { font-size: 0.95rem; color: var(--clr-text-soft); line-height: 1.5; }
.modal-tagline--light { color: rgba(255,255,255,0.8); }

/* Modal sections */
.modal-section {
    margin-bottom: 1.75rem;
}

.modal-section h4 {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--clr-bg-light);
}

.modal-section p {
    font-size: 0.925rem;
    color: var(--clr-text-soft);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.modal-section p strong { color: var(--clr-text); }
.modal-section p em { color: var(--clr-primary); font-style: italic; font-size: 0.875rem; }

.modal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-list li {
    font-size: 0.9rem;
    color: var(--clr-text-soft);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
}

.modal-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--clr-primary);
    font-weight: 700;
}

.modal-list li strong { color: var(--clr-text); }

/* Includes grid */
.modal-includes {
    background: var(--clr-bg-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.75rem;
}

.modal-includes h4 {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 1rem;
}

.modal-includes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.modal-includes-grid span {
    font-size: 0.85rem;
    color: var(--clr-text-soft);
    background: var(--clr-white);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(107,77,196,0.1);
}

/* Payment options */
.modal-payment {
    margin-bottom: 1.75rem;
}

.modal-payment h4 {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--clr-bg-light);
}

.modal-payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.payment-option {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(107,77,196,0.15);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
}

.payment-option--primary {
    border-color: var(--clr-primary);
    background: rgba(107,77,196,0.04);
}

.payment-option strong { font-size: 0.875rem; color: var(--clr-text); }
.payment-price { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--clr-primary); }
.payment-option small { font-size: 0.78rem; color: var(--clr-text-soft); line-height: 1.4; }

/* CTA del modal */
.modal-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.07);
    align-items: center;
}

.modal-cta-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-primary);
    text-align: center;
}

.modal-cta .btn { width: 100%; max-width: 380px; justify-content: center; }

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

@media (max-width: 1024px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    /* Nav */
    .nav__links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0; right: 0;
        flex-direction: column;
        background: var(--gradient-main);
        padding: 1.5rem var(--container-pad) 2rem;
        border-top: 1px solid rgba(255,255,255,0.08);
        gap: 0.25rem;
        align-items: flex-start;
    }

    .nav__links.open { display: flex; }
    .nav__link { padding: 0.75rem; width: 100%; font-size: 1rem; }
    .nav__hamburger { display: flex; }

    /* Hero */
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: clamp(2.5rem, 6vw, 4rem);
        padding-bottom: clamp(2.5rem, 6vw, 4rem);
    }

    .hero__image { order: -1; }
    .hero__image-wrapper { width: min(300px, 100%); margin: 0 auto; }
    .hero__subtitle { margin-left: auto; margin-right: auto; }
    .hero__actions { justify-content: center; }
    .hero__stats { justify-content: center; }
    .hero__badge { margin-left: auto; margin-right: auto; }

    /* Sobre mí */
    .sobre-mi__grid { grid-template-columns: 1fr; }
    .sobre-mi__image { max-width: 320px; margin: 0 auto; }

    /* Testimonios videos grid */
    .testimonios__videos-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }

    /* Timeline */
    .timeline::before { left: 2rem; }
    .timeline__icon { width: 4rem; height: 4rem; font-size: 1.25rem; }

    /* Garantia */
    .garantia { flex-direction: column; text-align: center; gap: 1rem; }

    /* Result videos grid */
    .result-videos-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 2rem; }
    .hero__actions { flex-direction: column; align-items: center; }
    .hero__actions .btn { width: 100%; max-width: 320px; }
    .sobre-mi__stats { flex-direction: column; gap: 1rem; }
    .footer__grid { grid-template-columns: 1fr; }
    .mentorias__grid { grid-template-columns: 1fr; }
    .cta-final__actions { flex-direction: column; align-items: center; }
    .cta-final__actions .btn { width: 100%; max-width: 320px; }
}

/* ---- EXPANDABLE SECTIONS ("Ver más") ---- */
.expandable-section {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-expandir {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.25rem;
    padding: 0.6rem 1.4rem;
    background: transparent;
    border: 2px solid var(--clr-primary);
    border-radius: var(--radius-full);
    color: var(--clr-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    letter-spacing: 0.02em;
}

.btn-expandir:hover {
    background: var(--clr-primary);
    color: #fff;
}

.btn-expandir--light {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    margin-top: 1.5rem;
}

.btn-expandir--light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.btn-expandir .chevron {
    display: inline-block;
    font-size: 0.75em;
    transition: transform 0.35s ease;
}

.btn-expandir.open .chevron {
    transform: rotate(180deg);
}
