/* home.css - Sissy Lover Design System implementation */

:root {
    /* Colores Principales */
    --color-rose: #FFB6C1;
    --color-rose-dark: #FF85A1;
    --color-rose-deep: #D4538A;
    --color-rose-light: #FFE4EC;
    --color-blush: #FFCCD5;
    --color-petal: #FFF0F3;

    /* Colores Secundarios */
    --color-lavender: #E8D5F5;
    --color-lavender-dark: #C9A7E8;
    --color-lavender-deep: #9B59C4;
    --color-mint: #D4F5EC;
    --color-peach: #FFD9C0;
    --color-sky: #D0E8FF;
    --color-lemon: #FFF3C4;
    --color-lilac: #EDD9FF;

    /* Colores de Texto */
    --color-text-primary: #6B2D4E;
    --color-text-secondary: #A0527A;
    --color-text-muted: #C88AAE;
    --color-text-link: #D4538A;
    --color-text-on-dark: #FFF0F3;

    /* Colores de Bordes */
    --color-border-light: #FFD6E4;
    --color-border-medium: #FFAAC8;
    --color-border-strong: #FF85A1;

    /* Tipografía */
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Nunito', 'Lato', sans-serif;
    --font-accent: 'Dancing Script', cursive;

    /* Radios de Botones */
    --btn-radius-pill: 50px;
    --btn-radius-rounded: 16px;
    --btn-radius-soft: 10px;

    /* Efectos */
    --gradient-hero: linear-gradient(135deg, #FFF0F3 0%, #F3EAFF 50%, #FFF5E4 100%);
    --gradient-blush: linear-gradient(180deg, #FFF0F3, #FFE4EC);
    --gradient-pastel: linear-gradient(135deg, #FFB6C1, #E8D5F5, #D4F5EC);
    --gradient-dreamy: linear-gradient(120deg, #FFEEF5, #F3EAFF, #EAF5FF);

    --shadow-sm: 0 2px 8px rgba(255, 133, 161, 0.12);
    --shadow-md: 0 4px 16px rgba(255, 133, 161, 0.18);
    --shadow-lg: 0 8px 32px rgba(255, 133, 161, 0.22);
    --shadow-glow: 0 0 24px rgba(255, 182, 193, 0.5);

    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
    --transition-spring: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --duration-slow: 400ms;
    --duration-base: 250ms;

    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 15px; /* Mobile base */
}

@media (min-width: 768px) {
    html {
        font-size: 16px; /* Desktop base */
    }
}

body {
    font-family: var(--font-body);
    color: var(--color-text-primary);
    background-color: var(--color-petal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

/* Botones universales y tap feedback */
button, a, [role="button"] {
    -webkit-tap-highlight-color: rgba(255, 133, 161, 0.2);
}
button:active, a:active { transform: scale(0.97); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px; /* Touch target minimum */
    padding: 12px 28px;
    border-radius: var(--btn-radius-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-spring);
    border: none;
}

.btn-primary {
    background: #DC143C; /* Carmesí */
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.35);
    animation: pulseGlowCrimson 2.5s ease-in-out infinite;
}

.btn-primary:hover, .btn-primary:focus {
    background: #b30e2f; /* Carmesí oscuro */
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.5), 0 0 0 4px rgba(220, 20, 60, 0.15);
    transform: translateY(-3px) scale(1.03);
    outline: none;
}

.btn-secondary {
    background: var(--color-lavender);
    color: #7B3FA0;
    border: 1.5px solid var(--color-border-medium);
}

.btn-secondary:hover, .btn-secondary:focus {
    background: linear-gradient(135deg, var(--color-lavender-dark), var(--color-lavender-deep));
    color: #fff;
    border-color: var(--color-lavender-deep);
    box-shadow: 0 6px 18px rgba(155, 89, 196, 0.25);
    transform: translateY(-3px) scale(1.03);
    outline: none;
}

.btn-outline {
    background: transparent;
    color: var(--color-text-link);
    border: 2px solid var(--color-border-medium);
}

.btn-outline:hover, .btn-outline:focus {
    background: #FF007F;
    color: #fff;
    border-color: #FF007F;
    box-shadow: 0 4px 12px rgba(255, 0, 127, 0.25);
    transform: translateY(-2px) scale(1.02);
    outline: none;
}

.btn-block { width: 100%; }
.btn-lg { padding: 15px 36px; font-size: 17px; }

/* Badges */
.badge {
    display: inline-flex; align-items: center;
    padding: 4px 14px; border-radius: 50px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.3px;
    transition: transform var(--duration-fast) var(--ease-spring);
    margin-bottom: 1rem;
}
.badge:hover { transform: scale(1.05); }

.badge-new { background: #E6C280; color: #800020; border: 1.5px solid rgba(128, 0, 32, 0.15); }
.badge-mint { background: var(--color-mint); color: #1A7A5A; }
.badge-peach { background: var(--color-peach); color: #9A4A1A; }
.badge-sky { background: var(--color-sky); color: #1A5A8A; }
.badge-lavender { background: var(--color-lilac); color: #7B3FA0; }


/* Sections Generic */
.section {
    padding: 6rem 0;
}
.section-about .container {
    max-width: 1400px; /* Ancho ampliado a 1400px indicado */
}
.bg-pastel { background: var(--gradient-dreamy); }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

/* Grids */
.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Cards */
.card {
    background: #fff;
    border: 1.5px solid var(--color-border-light);
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--duration-base) ease, transform var(--duration-base) var(--ease-spring);
    text-align: center;
}
.card-blush { background: #FFF0F3; border-color: #FFCCD5; }
.card-lavender { background: #F3EAFF; border-color: #DCC5F0; }

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.card p {
    font-size: 1.05rem;
    font-weight: 550;
    color: var(--color-text-primary);
    line-height: 1.7;
}

/* Hover lift helper */
.hover-lift {
    transition: transform var(--duration-base) var(--ease-spring), box-shadow var(--duration-base) ease;
}
.hover-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Card With Header */
.card-header-style { padding: 0; text-align: left; }
.card-header {
    background: linear-gradient(135deg, var(--color-rose), var(--color-lavender));
    border-radius: 18px 18px 0 0;
    padding: 24px;
}
.card-header h3 { margin: 0; font-size: 1.5rem; }
.feature-list {
    list-style: none;
    padding: 24px;
}
.feature-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--color-text-secondary);
}
.feature-list li::before {
    content: '🎀';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1rem;
}

/* Value Grid */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.value-item {
    background: white;
    padding: 24px;
    border-radius: 16px;
    border: 1px dashed var(--color-border-medium);
}
.value-item p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(150, 123, 182, 0.76) 0%, rgba(150, 123, 182, 0.86) 100%), url('../images/maid_bg.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 1;
    animation: kenBurnsEffect 20s ease-in-out infinite alternate;
    transform-origin: center top;
    will-change: transform;
}

.hero-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.wave-svg {
    width: 100%;
    height: 100%;
    opacity: 0.28;
}

.wave-line {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    opacity: 0.7;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

.wave-line-1 {
    stroke: var(--color-rose);
    animation: waveMotion1 16s ease-in-out infinite alternate;
}

.wave-line-2 {
    stroke: var(--color-lavender);
    animation: waveMotion2 22s ease-in-out infinite alternate;
}

.wave-line-3 {
    stroke: var(--color-mint);
    animation: waveMotion3 19s ease-in-out infinite alternate;
}

.wave-line-4 {
    stroke: #ffffff;
    animation: waveMotion4 25s ease-in-out infinite alternate;
}

@keyframes waveMotion1 {
    0% { transform: translateY(-30px) scaleY(0.9) rotate(-1deg); }
    100% { transform: translateY(30px) scaleY(1.1) rotate(1deg); }
}

@keyframes waveMotion2 {
    0% { transform: translateY(40px) scaleX(1.1) rotate(1deg); }
    100% { transform: translateY(-40px) scaleX(0.9) rotate(-1deg); }
}

@keyframes waveMotion3 {
    0% { transform: translateY(-20px) rotate(0.5deg); }
    100% { transform: translateY(20px) rotate(-0.5deg); }
}

@keyframes waveMotion4 {
    0% { transform: translateY(15px) scale(0.95) rotate(-0.5deg); }
    100% { transform: translateY(-15px) scale(1.05) rotate(0.5deg); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #ffffff; /* Blanco */
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #ffffff; /* Blanco */
    margin-bottom: 3rem;
    font-weight: 600; /* Texto más grueso */
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15); /* Sutil sombra para optimizar legibilidad */
}

/* Countdown */
.countdown-wrapper {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border: 1.5px solid var(--color-border-light);
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    display: block; /* Forzar bloque para que el botón vaya abajo */
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-md);
}

.countdown-title {
    font-family: var(--font-accent);
    color: var(--color-rose-deep);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.countdown {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.time-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    background: white;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    margin-bottom: 0.5rem;
}

.time-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
    font-weight: 700;
}


/* Join Section */
.join-section {
    position: relative;
    background-image: linear-gradient(135deg, rgba(248, 131, 121, 0.45) 0%, rgba(222, 49, 99, 0.45) 100%), url('../images/join_bg.webp');
    background-size: cover;
    background-position: right 35% center; /* Desplaza la imagen para que la sissy quede más visible a un lado */
    background-repeat: no-repeat;
    background-attachment: scroll;
    overflow: hidden;
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {
    .join-section .container {
        display: flex;
        justify-content: flex-start;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .join-section {
        background-position: right 15% center;
    }
}

.join-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

@media (min-width: 992px) {
    .join-grid-wrapper {
        grid-template-columns: minmax(400px, 500px) 1fr;
        max-width: 1100px;
        margin: 0 auto;
    }
}

.form-wrapper {
    max-width: 500px;
    width: 100%;
    margin: 0; /* Remueve el auto para permitir alineaciones laterales en desktop */
    background: rgba(255, 248, 250, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3.5rem 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1.5px solid var(--color-border-light);
    position: relative;
    z-index: 2;
}

.form-wrapper .section-desc {
    margin-bottom: 2.5rem; /* Aumentar espacio entre el texto descriptivo y las etiquetas */
}

/* Panel de Texto Persuasivo */
.join-pitch-wrapper {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 1rem;
    max-width: 550px;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
    z-index: 2;
    position: relative;
    box-shadow: none;
}

.pitch-badge {
    display: inline-block;
    background: rgba(230, 194, 128, 0.45); /* Color caramelo (#E6C280) difuminado */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(230, 194, 128, 0.4);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(128, 90, 32, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.pitch-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.pitch-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.pitch-footer {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    color: #FFF0F3;
    font-weight: bold;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    letter-spacing: 0.3px;
}

.form-control {
    width: 100%;
    min-height: 48px; /* Touch target minimum */
    padding: 12px 18px;
    background: #FFF8FA;
    border: 1.5px solid var(--color-border-light);
    border-radius: var(--btn-radius-pill);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text-primary);
    outline: none;
    transition: border-color var(--duration-base), box-shadow var(--duration-base), transform var(--transition-fast);
}

.form-control::placeholder { color: var(--color-text-muted); }

.form-control:focus {
    border-color: var(--color-border-strong);
    box-shadow: 0 0 0 3px rgba(255, 133, 161, 0.2);
    background: #fff;
    transform: scale(1.01);
}

.form-control.is-invalid { border-color: var(--color-rose-dark); background-color: #FFF0F3; }

.select-wrapper { position: relative; }
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF85A1'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.1rem;
    padding-right: 3rem;
}

.error-msg {
    display: block; color: var(--color-text-link); font-size: 12px; margin-top: 0.5rem; padding-left: 0.5rem;
    animation: wiggle 0.4s ease;
}

.alert {
    padding: 1.25rem; border-radius: 16px; margin-bottom: 2rem; font-weight: 600; text-align: center;
    animation: bounceIn 0.5s var(--ease-spring);
}
.alert-success { background-color: var(--color-mint); color: #1A7A5A; border: 1.5px solid #AEEAD9; }


/* Animations (As per docs/design.md) */
@keyframes kenBurnsEffect {
    0% {
        transform: scale(1) translateY(0);
    }
    100% {
        transform: scale(1.08) translateY(-15px);
    }
}

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

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 107, 157, 0.35); }
    50% { box-shadow: 0 4px 30px rgba(255, 107, 157, 0.65); }
}

@keyframes pulseGlowCrimson {
    0%, 100% { box-shadow: 0 4px 15px rgba(220, 20, 60, 0.35); }
    50% { box-shadow: 0 4px 30px rgba(220, 20, 60, 0.65); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-4deg); }
    75% { transform: rotate(4deg); }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.animate-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 768px) {
    .countdown { gap: 0.5rem; }
    .time-value { width: 55px; height: 55px; font-size: 1.8rem; }
    .btn { width: 100%; }
    .form-wrapper { padding: 2.5rem 1.5rem; }
    .hero { 
        padding-top: calc(var(--header-height) + 2rem); 
        padding-bottom: 4rem; 
        min-height: calc(100vh - var(--header-height));
    }
}


/* ═══════════════════════════════════════════════════
   EDITORIAL ARTICLE SECTION
   ═══════════════════════════════════════════════════ */

.article-editorial-section {
    background: linear-gradient(180deg, #fff5f8 0%, #f9f0ff 50%, #fff5f8 100%);
    border-top: 3px solid var(--color-border-light);
    padding: 5rem 0 6rem;
}

/* Layout: sidebar + article */
.article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
    position: relative;
}

@media (min-width: 1024px) {
    .article-layout {
        grid-template-columns: 260px 1fr;
        gap: 3rem;
        align-items: start;
    }
}

/* ── Sidebar / TOC ── */
.article-toc {
    position: relative;
    order: 2; /* Mobile: después del artículo */
}

@media (min-width: 1024px) {
    .article-toc {
        order: 0;
        position: sticky;
        top: calc(var(--header-height) + 1.5rem);
        max-height: calc(100vh - var(--header-height) - 3rem);
        overflow-y: auto;
    }
}

.toc-inner {
    background: #ffffff;
    border: 1.5px solid var(--color-border-light);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.toc-toggle-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    background: linear-gradient(135deg, var(--color-rose-light), var(--color-lavender));
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-text-primary);
    cursor: pointer;
    min-height: 44px;
    transition: all var(--transition-base);
    margin-bottom: 0;
}

.toc-toggle-mobile:hover {
    background: linear-gradient(135deg, var(--color-blush), var(--color-lavender-dark));
    transform: scale(1.01);
}

@media (min-width: 1024px) {
    .toc-toggle-mobile { display: none; }
}

/* TOC nav: oculto en móvil por defecto, visible en desktop */
.toc-nav {
    display: none;
    margin-top: 1rem;
}

@media (min-width: 1024px) {
    .toc-nav { display: block; margin-top: 0; }
}

.toc-nav.is-open {
    display: block;
}

.toc-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1.5px solid var(--color-border-light);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    counter-reset: toc-counter;
}

.toc-list li {
    counter-increment: toc-counter;
}

.toc-link {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    min-height: 44px;
    line-height: 1.3;
}

.toc-link::before {
    content: counter(toc-counter) ".";
    font-size: 11px;
    font-weight: 800;
    color: var(--color-rose-dark);
    min-width: 16px;
    flex-shrink: 0;
}

.toc-link:hover,
.toc-link.active {
    background: var(--color-rose-light);
    color: var(--color-text-primary);
    font-weight: 600;
}

.toc-link.active {
    border-left: 3px solid var(--color-rose-dark);
    padding-left: 7px;
}

.toc-cta-btn {
    display: block;
    background: linear-gradient(135deg, #DC143C, #b30e2f);
    color: #fff;
    text-align: center;
    padding: 12px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
    animation: pulseGlowCrimson 2.5s ease-in-out infinite;
}

.toc-cta-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 18px rgba(220, 20, 60, 0.45);
}

/* ── Article Body ── */
.article-body {
    max-width: 800px;
    width: 100%;
}

/* Article header */
.article-hero-header {
    margin-bottom: 2.5rem;
}

.article-category-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-blush), var(--color-lavender));
    color: var(--color-text-primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    border: 1.5px solid var(--color-border-light);
}

.article-main-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: 1.25rem;
}

.article-title-accent {
    color: var(--color-rose-deep);
    display: block;
    font-style: italic;
}

.article-intro-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.meta-item {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
}

.meta-divider {
    color: var(--color-border-medium);
    font-size: 16px;
}

/* Separadores decorativos */
.article-decorative-divider {
    text-align: center;
    margin: 2.5rem 0;
    position: relative;
    color: var(--color-border-medium);
    font-size: 1.5rem;
    letter-spacing: 12px;
}

.article-decorative-divider::before,
.article-decorative-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border-light), transparent);
}

.article-decorative-divider::before { left: 0; }
.article-decorative-divider::after { right: 0; }

/* Secciones del artículo */
.article-section {
    margin-bottom: 0.5rem;
}

.article-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1.25rem;
    padding-left: 1rem;
    border-left: 4px solid var(--color-rose-dark);
    line-height: 1.3;
}

.article-section p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
}

.article-section p:last-of-type {
    margin-bottom: 0;
}

/* Drop cap */
.article-dropcap::first-letter {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    float: left;
    line-height: 0.8;
    margin: 0.1em 0.12em 0 0;
    color: var(--color-rose-deep);
    text-shadow: 2px 2px 0 rgba(212, 83, 138, 0.15);
}

/* Highlight box */
.article-highlight-box {
    background: linear-gradient(135deg, #fff0f5 0%, #f5eeff 100%);
    border: 1.5px solid var(--color-border-medium);
    border-left: 5px solid #DC143C;
    border-radius: 0 16px 16px 0;
    padding: 1.5rem 1.75rem;
    margin: 1.75rem 0;
}

.highlight-box-title {
    font-family: var(--font-body);
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: var(--color-text-primary) !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.4 !important;
}

.article-highlight-box p:last-child {
    margin-bottom: 0 !important;
    font-size: 0.95rem !important;
    color: var(--color-text-secondary) !important;
}

/* Free pills badge row */
.article-free-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1.5rem 0;
}

.free-pill {
    background: linear-gradient(135deg, #e8f8f0, #d4f5ec);
    color: #1A7A5A;
    border: 1.5px solid #AEEAD9;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* CTA final del artículo */
.article-final-cta {
    background: linear-gradient(135deg, #800020 0%, #DC143C 100%);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    margin-top: 2.5rem;
    box-shadow: 0 8px 32px rgba(220, 20, 60, 0.25);
}

.cta-article-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
}

.article-final-cta .cta-article-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    margin-bottom: 3.5rem;
    line-height: 1.6;
}

.article-final-cta .btn-primary {
    background: #fff;
    color: #800020;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    animation: none;
    margin-top: 2.5rem;
}

.article-final-cta .btn-primary:hover {
    background: #fff0f3;
    color: #DC143C;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4);
}

/* Responsive article */
@media (max-width: 1023px) {
    .article-toc {
        order: -1;
        margin-bottom: 2rem;
    }

    .toc-inner {
        border-radius: 16px;
    }
}

@media (max-width: 767px) {
    .article-dropcap::first-letter {
        font-size: 3rem;
    }

    .article-section-title {
        font-size: 1.2rem;
    }

    .article-highlight-box {
        padding: 1.25rem;
    }

    .article-final-cta {
        padding: 2rem 1.5rem;
    }

    .cta-article-title {
        font-size: 1.3rem;
    }

    .free-pill {
        font-size: 12px;
        padding: 7px 12px;
    }
}

/* Toast Alert Estilos */
.sissy-toast-alert {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745; /* Verde afirmativo */
    color: #ffffff;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.35);
    z-index: 10005;
    opacity: 0;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    pointer-events: none;
    text-align: center;
    width: 90%;
    max-width: 450px;
}
.sissy-toast-alert.show {
    bottom: 30px;
    opacity: 1;
}

