/* ===================== HOME ENHANCED - Estilos épicos ===================== */

/* ---------- BARRA DE URGENCIA ---------- */
.urgency-bar {
    background: linear-gradient(90deg, #FFD700 0%, #FFC107 50%, #FFD700 100%);
    color: #16233F;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    animation: urgencyPulse 3s infinite;
}

@keyframes urgencyPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

.urgency-bar p {
    margin: 0;
}

/* ---------- HERO MEJORADO ---------- */
.hero-enhanced {
    background: linear-gradient(135deg, #0F1A30 0%, #16233F 30%, #1A2D4A 60%, #16233F 100%);
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero-enhanced::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 60%);
    border-radius: 50%;
}

.hero-enhanced::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(42, 127, 98, 0.05) 0%, transparent 60%);
    border-radius: 50%;
}

.hero-enhanced__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.25);
    color: #FFD700;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge-stars {
    color: #FFD700;
    letter-spacing: 2px;
}

.hero-enhanced h1 {
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin: 0 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(90deg, #FFD700 0%, #FFC107 50%, #FFE44D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-enhanced__lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 1.1rem;
}

.hero-cta-group {
    margin-top: 1.5rem;
}

.hero-cta-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    margin-top: 0.8rem;
}

/* Botón pulsante */
.btn--pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.btn--xlarge {
    padding: 1.1rem 2.5rem;
    font-size: 1.2rem;
}

/* Visual del hero */
.hero-enhanced__visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
}

.hero-main-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.hero-floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.hero-floating-card--1 {
    top: -20px;
    left: -30px;
}

.hero-floating-card--2 {
    bottom: -20px;
    right: -20px;
    animation-delay: 1.5s;
}

.hero-floating-card .floating-emoji {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.3rem;
}

.hero-floating-card strong {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.3rem;
    color: #16233F;
}

.hero-floating-card small {
    font-size: 0.75rem;
    color: #718096;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ---------- ACTUALIZACIÓN DESTACADA ---------- */
.update-highlight {
    padding: 2rem 1.5rem;
    background: #F7FAFC;
}

.update-card {
    display: flex;
    gap: 2rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 2px solid #FFD700;
}

.update-card__icon {
    font-size: 3rem;
}

.update-card__content h2 {
    font-family: 'Zilla Slab', Georgia, serif;
    color: #16233F;
    margin: 0 0 0.8rem;
}

.update-card__content p {
    color: #4A5568;
    margin: 0 0 0.5rem;
}

.update-card__content ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
}

.update-card__content li {
    font-size: 0.95rem;
    color: #2D3748;
}

/* ---------- SECCIONES DE CALCULADORAS ---------- */
.calc-section-enhanced {
    padding: 5rem 1.5rem;
}

.section-header-enhanced {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-enhanced h2 {
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 2.2rem;
    color: #16233F;
    margin: 0 0 0.5rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: #4A5568;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid de calculadoras */
.calc-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.calc-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.calc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.calc-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.calc-card__image {
    overflow: hidden;
    /* Fallback para que nunca colapse si alguna altura no se calcula */
    aspect-ratio: 400 / 250;
    background: #f2f2f2;
}

.calc-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.calc-card:hover .calc-card__image img {
    transform: scale(1.05);
}

.calc-card__body {
    padding: 1.5rem;
}

.calc-card__badge {
    display: inline-block;
    background: linear-gradient(90deg, #FFD700, #FFC107);
    color: #16233F;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.calc-card h3 {
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 1.3rem;
    color: #16233F;
    margin: 0 0 0.5rem;
}

.calc-card p {
    color: #4A5568;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.calc-card__stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 0.8rem;
}

.calc-card__cta {
    color: #16233F;
    font-weight: 700;
    transition: color 0.2s;
}

.calc-card:hover .calc-card__cta {
    color: #1F3360;
}

.calc-card__cta--large {
    font-size: 1.1rem;
}

/* Calculadora horizontal */
.calc-section-single {
    padding: 5rem 1.5rem;
    background: #F7FAFC;
}

.calc-card-horizontal {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.calc-card-horizontal:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.calc-card-horizontal__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.calc-card-horizontal__body {
    padding: 2rem;
}

.calc-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin: 1rem 0;
}

.calc-features li {
    font-size: 0.9rem;
    color: #2D3748;
}

/* ---------- CONFIANZA ---------- */
.trust-enhanced {
    padding: 5rem 1.5rem;
    background: white;
}

.trust-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.trust-card-enhanced {
    text-align: center;
    padding: 2rem;
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.trust-card-enhanced h3 {
    font-family: 'Zilla Slab', Georgia, serif;
    color: #16233F;
    margin: 0 0 0.8rem;
}

.trust-card-enhanced p {
    color: #4A5568;
    line-height: 1.7;
}

/* ---------- TESTIMONIOS ---------- */
.social-proof {
    padding: 5rem 1.5rem;
    background: #F7FAFC;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #FFD700;
    margin: 0;
}

.testimonial-card p {
    font-style: italic;
    color: #2D3748;
    line-height: 1.7;
    margin: 0 0 1rem;
}

.testimonial-card footer strong {
    display: block;
    color: #16233F;
}

.testimonial-card footer span {
    font-size: 0.85rem;
    color: #718096;
}

/* ---------- CTA FINAL ---------- */
.cta-final {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, #0F1A30 0%, #16233F 50%, #1A2D4A 100%);
}

.cta-final__box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-final__content h2 {
    font-family: 'Zilla Slab', Georgia, serif;
    color: white;
    font-size: 2rem;
    margin: 0 0 1rem;
}

.cta-final__content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-final__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn--ghost-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    background: transparent;
}

.btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-final__sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.cta-final__image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* ---------- COMPARTIR ---------- */
.share-cta {
    padding: 4rem 1.5rem;
    background: white;
}

.share-cta__box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.share-cta__box h2 {
    font-family: 'Zilla Slab', Georgia, serif;
    color: #16233F;
    font-size: 1.8rem;
    margin: 0 0 0.8rem;
}

.share-cta__box p {
    color: #4A5568;
    margin-bottom: 2rem;
}

.share-cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.share-btn--whatsapp {
    background: #25D366;
    color: white;
}

.share-btn--facebook {
    background: #1877F2;
    color: white;
}

.share-btn--twitter {
    background: #000000;
    color: white;
}

/* ---------- FAQ MEJORADO ---------- */
.faq-enhanced {
    padding: 5rem 1.5rem;
    background: #F7FAFC;
}

.faq-item-enhanced {
    background: white;
    border-radius: 12px;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.faq-item-enhanced summary {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    color: #16233F;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item-enhanced summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: #718096;
    transition: transform 0.3s;
}

.faq-item-enhanced[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.2rem;
    color: #4A5568;
    line-height: 1.7;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {

    .hero-enhanced__inner,
    .cta-final__box,
    .calc-card-horizontal {
        grid-template-columns: 1fr;
    }

    .calc-card--featured {
        grid-template-columns: 1fr;
    }

    .hero-floating-card--1 {
        top: -10px;
        left: -10px;
    }

    .hero-floating-card--2 {
        bottom: -10px;
        right: -10px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .update-card__content ul {
        grid-template-columns: 1fr;
    }

    .calc-features {
        grid-template-columns: 1fr;
    }

    .share-cta__buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-enhanced {
        padding: 3rem 1rem;
    }

    .hero-enhanced h1 {
        font-size: 1.6rem;
    }

    .hero-floating-card {
        display: none;
    }

    .update-card {
        flex-direction: column;
        text-align: center;
    }
}


/* ===================== SHARE REWARD ENHANCED ===================== */
.share-reward-enhanced {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, #0F1A30 0%, #16233F 30%, #1A2D4A 60%, #0F1A30 100%);
    position: relative;
    overflow: hidden;
}

.share-reward-enhanced::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 60%);
    border-radius: 50%;
    animation: rotateGlow 20s linear infinite;
}

.share-reward-enhanced::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(42, 127, 98, 0.05) 0%, transparent 60%);
    border-radius: 50%;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.reward-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */
.reward-header {
    text-align: center;
    margin-bottom: 3rem;
}

.reward-badge-pulse {
    display: inline-block;
    background: linear-gradient(90deg, #FFD700, #FFC107, #FFD700);
    background-size: 200% 100%;
    color: #16233F;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    animation: badgeShine 3s infinite;
}

@keyframes badgeShine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.reward-header h2 {
    font-family: 'Zilla Slab', Georgia, serif;
    color: white;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin: 0 0 1rem;
    line-height: 1.3;
}

.reward-header h2 .text-gradient {
    background: linear-gradient(90deg, #FFD700 0%, #FFC107 50%, #FFE44D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reward-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
}

.reward-subtitle strong {
    color: #FFD700;
}

/* Pasos visuales */
.reward-steps-visual {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.reward-step-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.8rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    transition: transform 0.3s, border-color 0.3s;
}

.reward-step-card:hover {
    transform: translateY(-4px);
    border-color: #FFD700;
}

.step-icon-circle {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #FFD700, #FFC107);
    color: #16233F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.reward-step-card h4 {
    color: white;
    font-family: 'Zilla Slab', Georgia, serif;
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.reward-step-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.reward-step-card p strong {
    color: #FFD700;
}

.step-arrow {
    color: #FFD700;
    font-size: 2rem;
    font-weight: 700;
}

/* Urgencia */
.reward-urgency {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    padding: 1.2rem;
    background: rgba(255, 215, 0, 0.08);
    border-radius: 12px;
    border: 1px dashed rgba(255, 215, 0, 0.3);
}

.urgency-counter,
.urgency-remaining {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.urgency-counter strong,
.urgency-remaining strong {
    color: #FFD700;
}

.urgency-icon {
    margin-right: 0.3rem;
}

/* Botones de compartir */
.reward-share-buttons {
    text-align: center;
    margin-bottom: 2rem;
}

.share-instruction {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.share-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 650px;
    margin: 0 auto;
}

.reward-share-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: left;
}

.reward-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.reward-share-btn--whatsapp {
    background: #25D366;
    color: white;
}

.reward-share-btn--facebook {
    background: #1877F2;
    color: white;
}

.reward-share-btn--twitter {
    background: #000000;
    color: white;
}

.reward-share-btn--linkedin {
    background: #0A66C2;
    color: white;
}

.share-btn-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.share-btn-text {
    display: flex;
    flex-direction: column;
}

.share-btn-text strong {
    font-size: 1rem;
}

.share-btn-text small {
    font-size: 0.8rem;
    opacity: 0.85;
}

/* Email */
.reward-email-box {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.reward-email-box p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 0.8rem;
}

.reward-email-link {
    display: inline-block;
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: background 0.2s, transform 0.2s;
}

.reward-email-link:hover {
    background: rgba(255, 215, 0, 0.25);
    transform: scale(1.03);
}

.reward-email-sub {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.55) !important;
    margin-top: 0.5rem !important;
}

/* Confianza */
.reward-trust {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reward-trust strong {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .share-buttons-grid {
        grid-template-columns: 1fr;
    }

    .reward-steps-visual {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .reward-step-card {
        max-width: 100%;
    }

    .reward-urgency {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}



/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: white;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15);
    border-top: 3px solid #FFD700;
    animation: slideUp 0.5s ease-out;
    padding: 0;
    margin: 0;
}

.cookie-banner[hidden] {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.cookie-banner__inner {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    flex-wrap: wrap;
}

.cookie-banner__icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    animation: cookieBounce 2s infinite;
}

@keyframes cookieBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.cookie-banner__content {
    flex: 1;
    min-width: 250px;
}

.cookie-banner__content h3 {
    font-family: 'Zilla Slab', Georgia, serif;
    color: #16233F;
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
}

.cookie-banner__content p {
    color: #4A5568;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-banner__content strong {
    color: #16233F;
}

/* Detalles expandibles */
.cookie-banner__details {
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    background: #F7FAFC;
    border-radius: 10px;
    border-left: 3px solid #FFD700;
}

.cookie-banner__details[hidden] {
    display: none;
}

.cookie-banner__details h4 {
    font-family: 'Zilla Slab', Georgia, serif;
    color: #16233F;
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.cookie-banner__details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cookie-banner__details li {
    font-size: 0.85rem;
    color: #4A5568;
    padding: 0.3rem 0;
    border-bottom: 1px solid #E2E8F0;
}

.cookie-banner__details li:last-child {
    border-bottom: none;
}

/* Acciones */
.cookie-banner__actions {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
    align-items: flex-start;
    padding-top: 0.3rem;
}

.cookie-btn {
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: 'IBM Plex Sans', sans-serif;
}

.cookie-btn--details {
    background: #EDF2F7;
    color: #4A5568;
}

.cookie-btn--details:hover {
    background: #E2E8F0;
    color: #2D3748;
}

.cookie-btn--accept {
    background: linear-gradient(135deg, #16233F, #1F3360);
    color: white;
    box-shadow: 0 4px 12px rgba(22, 35, 63, 0.3);
}

.cookie-btn--accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(22, 35, 63, 0.4);
    background: linear-gradient(135deg, #1F3360, #2A4A7F);
}

.cookie-btn--accept:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-banner__inner {
        flex-direction: column;
        padding: 1.2rem 1.2rem;
        gap: 1rem;
    }

    .cookie-banner__icon {
        display: none;
    }

    .cookie-banner__actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner__content h3 {
        font-size: 1rem;
    }

    .cookie-banner__content p {
        font-size: 0.85rem;
    }
}


/* ===================== DARK MODE ===================== */
:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7FAFC;
    --bg-alt: #EDF2F7;
    --text-primary: #16233F;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --border-color: #E2E8F0;
    --card-bg: #FFFFFF;
    --card-shadow: 0 4px 12px rgba(0,0,0,0.06);
    --footer-bg: #16233F;
    --footer-text: rgba(255,255,255,0.7);
}

html.dark {
    --bg-primary: #0F1A30;
    --bg-secondary: #16233F;
    --bg-alt: #1A2D4A;
    --text-primary: #F7FAFC;
    --text-secondary: #CBD5E0;
    --text-muted: #A0AEC0;
    --border-color: #2D3748;
    --card-bg: #1A2D4A;
    --card-shadow: 0 4px 12px rgba(0,0,0,0.3);
    --footer-bg: #0A0F1A;
    --footer-text: rgba(255,255,255,0.6);
}

/* Aplica variables a elementos principales */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s, color 0.3s;
}

.site-header {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    background-color: var(--bg-secondary);
}

.hero-enhanced {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.update-highlight, .trust-enhanced, .social-proof, .faq-enhanced {
    background-color: var(--bg-secondary);
}

.calc-section-enhanced, .calc-section-single, .all-articles {
    background-color: var(--bg-primary);
}

.card, .calc-card, .article-card, .featured-card, .testimonial-card, .trust-card-enhanced, .category-card, .faq-item-enhanced {
    background-color: var(--card-bg);
    box-shadow: var(--card-shadow);
}

h2, h3, h4 {
    color: var(--text-primary);
}

p, li, .card-meta, .section-subtitle {
    color: var(--text-secondary);
}

.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
}

/* Asegurar que los botones y enlaces mantengan contraste */
.btn--primary {
    background: #FFD700;
    color: #16233F;
}

.btn--ghost {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

/* ===================== THEME TOGGLE BUTTON ===================== */
.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s, border-color 0.3s;
    margin-left: 0.8rem;
}

.theme-toggle:hover {
    background: var(--bg-alt);
}

/* ===================== LANGUAGE SWITCHER ===================== */
.lang-switcher {
    position: relative;
    margin-left: 0.5rem;
}

.lang-btn {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.lang-btn:hover {
    background: var(--bg-alt);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    list-style: none;
    padding: 0.5rem 0;
    z-index: 100;
    min-width: 150px;
}

.lang-dropdown[hidden] {
    display: none;
}

.lang-option {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: background 0.2s;
}

.lang-option:hover {
    background: var(--bg-alt);
}

@media (max-width: 768px) {
    .theme-toggle {
        margin-left: auto;
    }
}

/* ===================== MODO OSCURO MEJORADO ===================== */
html.dark {
    /* fondos y superficies */
    --bg-primary: #0B1320;
    --bg-secondary: #111C2D;
    --bg-alt: #162233;
    --bg-card: #162233;
    --bg-card-hover: #1C2C40;
    --bg-footer: #080E18;
    /* textos */
    --text-primary: #EDF2F7;
    --text-secondary: #CBD5E0;
    --text-muted: #A0AEC0;
    --text-link: #FFD700;
    /* bordes y sombras */
    --border-color: #2D3748;
    --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.6);
    /* colores de acento */
    --gold: #FFD700;
    --gold-light: #FFE44D;
    --navy: #1A2D4A;
}

/* --- RESETEO DE FONDOS Y TEXTOS --- */
html.dark body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

html.dark .site-header {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

html.dark .urgency-bar {
    background: linear-gradient(90deg, #B7950B 0%, #9A7D0A 100%);
    color: #FFF;
}

html.dark .breadcrumb {
    background-color: var(--bg-secondary);
    color: var(--text-muted);
}

html.dark .breadcrumb a {
    color: var(--text-secondary);
}

html.dark .hero-enhanced {
    background: linear-gradient(135deg, #0B1320 0%, #111C2D 100%);
}

html.dark .hero-enhanced h1,
html.dark .hero-enhanced .hero-enhanced__lead {
    color: var(--text-primary);
}

html.dark .hero-feature {
    color: var(--text-secondary);
}

html.dark .hero-badge {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--gold);
}

/* --- TARJETAS Y CALCULADORAS --- */
html.dark .update-card {
    background-color: var(--bg-card);
    border-color: var(--gold);
    color: var(--text-primary);
}

html.dark .update-card__content ul li {
    color: var(--text-secondary);
}

html.dark .calc-card,
html.dark .article-card,
html.dark .featured-card,
html.dark .calc-card-horizontal {
    background-color: var(--bg-card);
    box-shadow: var(--shadow-card);
}

html.dark .calc-card:hover,
html.dark .article-card:hover,
html.dark .featured-card:hover,
html.dark .calc-card-horizontal:hover {
    background-color: var(--bg-card-hover);
    box-shadow: var(--shadow-hover);
}

html.dark .calc-card h3,
html.dark .article-card h3,
html.dark .featured-card h3,
html.dark .calc-card-horizontal h3 {
    color: var(--text-primary);
}

html.dark .calc-card p,
html.dark .article-card p,
html.dark .featured-card p,
html.dark .calc-card-horizontal p {
    color: var(--text-secondary);
}

html.dark .calc-card__cta,
html.dark .read-more {
    color: var(--gold);
}

html.dark .calc-card__badge {
    background: var(--gold);
    color: #0B1320;
}

html.dark .card-tag {
    background: #2D3748;
    color: var(--text-secondary);
}

html.dark .calc-card__stats span {
    color: var(--text-muted);
}

html.dark .calc-features li {
    color: var(--text-secondary);
}

/* --- SECCIONES CON FONDO ALTERNO --- */
html.dark .update-highlight,
html.dark .trust-enhanced,
html.dark .social-proof,
html.dark .faq-enhanced,
html.dark .share-cta {
    background-color: var(--bg-secondary);
}

html.dark .calc-section-enhanced,
html.dark .calc-section-single,
html.dark .all-articles {
    background-color: var(--bg-primary);
}

/* --- CONFIANZA Y TESTIMONIOS --- */
html.dark .trust-card-enhanced {
    background-color: transparent;
}

html.dark .trust-card-enhanced h3 {
    color: var(--text-primary);
}

html.dark .trust-card-enhanced p {
    color: var(--text-secondary);
}

html.dark .testimonial-card {
    background-color: var(--bg-card);
    border-left-color: var(--gold);
}

html.dark .testimonial-card p {
    color: var(--text-secondary);
}

html.dark .testimonial-card footer strong {
    color: var(--text-primary);
}

html.dark .testimonial-card footer span {
    color: var(--text-muted);
}

/* --- SHARE REWARD --- */
html.dark .share-reward-enhanced {
    background: linear-gradient(135deg, #0B1320 0%, #111C2D 100%);
}

html.dark .reward-step-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

html.dark .reward-step-card h4 {
    color: var(--text-primary);
}

html.dark .reward-step-card p {
    color: var(--text-muted);
}

html.dark .reward-urgency {
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.25);
}

/* --- CTA FINAL --- */
html.dark .cta-final {
    background: linear-gradient(135deg, #080E18 0%, #111C2D 100%);
}

html.dark .cta-final__content h2 {
    color: white;
}

html.dark .cta-final__content p {
    color: rgba(255, 255, 255, 0.9);
}

/* --- FAQ --- */
html.dark .faq-item-enhanced {
    background-color: var(--bg-card);
    box-shadow: var(--shadow-card);
}

html.dark .faq-item-enhanced summary {
    color: var(--text-primary);
}

html.dark .faq-answer p {
    color: var(--text-secondary);
}

/* --- FOOTER --- */
html.dark .site-footer {
    background-color: var(--bg-footer);
    color: var(--text-muted);
}

html.dark .site-footer a {
    color: var(--text-secondary);
}

html.dark .site-footer a:hover {
    color: var(--gold);
}

/* --- COOKIE BANNER --- */
html.dark .cookie-banner {
    background-color: var(--bg-card);
    border-top-color: var(--gold);
}

html.dark .cookie-banner__content h3 {
    color: var(--text-primary);
}

html.dark .cookie-banner__content p {
    color: var(--text-secondary);
}

html.dark .cookie-banner__details {
    background: var(--bg-alt);
    border-left-color: var(--gold);
}

html.dark .cookie-btn--details {
    background: #2D3748;
    color: var(--text-secondary);
}

html.dark .cookie-btn--details:hover {
    background: #4A5568;
}

/* --- BOTONES Y ENLACES GENERALES --- */
html.dark .btn--primary {
    background: var(--gold);
    color: #0B1320;
}

html.dark .btn--ghost,
html.dark .btn--ghost-light {
    border-color: var(--text-secondary);
    color: var(--text-secondary);
}

html.dark .btn--ghost:hover,
html.dark .btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* --- SELECTOR DE IDIOMA Y TOGGLE TEMA --- */
html.dark .lang-btn,
html.dark .theme-toggle {
    border-color: var(--border-color);
    color: var(--text-primary);
}

html.dark .lang-btn:hover,
html.dark .theme-toggle:hover {
    background: var(--bg-alt);
}

html.dark .lang-dropdown {
    background: var(--bg-card);
    border-color: var(--border-color);
}

html.dark .lang-option {
    color: var(--text-primary);
}

html.dark .lang-option:hover {
    background: var(--bg-alt);
}

/* --- NAVEGACIÓN MÓVIL --- */
html.dark .site-nav a {
    color: var(--text-primary);
}

html.dark .site-nav a:hover {
    color: var(--gold);
}

/* --- RESPONSIVE EXTRA (si es necesario) --- */
@media (max-width: 768px) {
    html.dark .site-nav.is-open {
        background: var(--bg-primary);
    }
}


/* ===== Selector de idioma ===== */
.lang-switcher {
    position: relative;
    margin-left: 0.75rem;
}

.lang-btn {
    background: none;
    border: 2px solid #E2E8F0;
    border-radius: 20px;
    padding: 0.35rem 0.8rem;
    cursor: pointer;
    font-weight: 700;
    color: #16233F;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.lang-btn:hover {
    background: #EDF2F7;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 150px;
    z-index: 100;
}

.lang-dropdown[hidden] {
    display: none;
}

.lang-option {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #16233F;
}

.lang-option:hover {
    background: #F7FAFC;
}

/* ===== Botón modo oscuro ===== */
.theme-toggle {
    background: none;
    border: 2px solid #E2E8F0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 0.5rem;
}

.theme-toggle:hover {
    background: #EDF2F7;
}

/* ===== Modo oscuro (variables y ajustes ya los tienes) ===== */
html.dark .lang-btn,
html.dark .theme-toggle {
    border-color: #2D3748;
    color: #EDF2F7;
}

html.dark .lang-btn:hover,
html.dark .theme-toggle:hover {
    background: #1A2D4A;
}

html.dark .lang-dropdown {
    background: #162233;
    border-color: #2D3748;
}

html.dark .lang-option {
    color: #EDF2F7;
}

html.dark .lang-option:hover {
    background: #1A2D4A;
}

/* ===================== VARIABLES GLOBALES (CLARO) ===================== */
:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7FAFC;
    --bg-alt: #EDF2F7;
    --text-primary: #16233F;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --border-color: #E2E8F0;
    --card-bg: #FFFFFF;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    --footer-bg: #16233F;
    --footer-text: rgba(255, 255, 255, 0.7);
    --gold: #FFD700;
}

/* ===================== MODO OSCURO (clase en <html>) ===================== */
html.dark {
    --bg-primary: #0B1320;
    --bg-secondary: #111C2D;
    --bg-alt: #162233;
    --text-primary: #EDF2F7;
    --text-secondary: #CBD5E0;
    --text-muted: #A0AEC0;
    --border-color: #2D3748;
    --card-bg: #162233;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    --footer-bg: #080E18;
    --footer-text: rgba(255, 255, 255, 0.6);
}

/* ===================== BASE ===================== */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s, color 0.3s;
    margin: 0;
    font-family: 'IBM Plex Sans', sans-serif;
}

/* ===================== BARRA DE URGENCIA ===================== */
.urgency-bar {
    background: linear-gradient(90deg, #FFD700 0%, #FFC107 50%, #FFD700 100%);
    color: #16233F;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    animation: urgencyPulse 3s infinite;
}

@keyframes urgencyPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

.urgency-bar p {
    margin: 0;
}

/* ===================== HERO ===================== */
.hero-enhanced {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero-enhanced::before,
.hero-enhanced::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.hero-enhanced::before {
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 60%);
}

.hero-enhanced::after {
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(42, 127, 98, 0.05) 0%, transparent 60%);
}

.hero-enhanced__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.25);
    color: var(--gold);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-enhanced h1 {
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 0 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(90deg, #FFD700 0%, #FFC107 50%, #FFE44D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-enhanced__lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.hero-cta-group {
    margin-top: 1.5rem;
}

.hero-cta-sub {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.8rem;
}

/* Botón pulsante */
.btn--pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.btn--xlarge {
    padding: 1.1rem 2.5rem;
    font-size: 1.2rem;
}

/* Visual del hero */
.hero-enhanced__visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
}

.hero-main-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.hero-floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.hero-floating-card--1 {
    top: -20px;
    left: -30px;
}

.hero-floating-card--2 {
    bottom: -20px;
    right: -20px;
    animation-delay: 1.5s;
}

.hero-floating-card strong {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.3rem;
    color: #16233F;
}

.hero-floating-card small {
    font-size: 0.75rem;
    color: #718096;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ===================== ACTUALIZACIÓN DESTACADA ===================== */
.update-highlight {
    padding: 2rem 1.5rem;
    background: var(--bg-secondary);
}

.update-card {
    display: flex;
    gap: 2rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border: 2px solid var(--gold);
}

.update-card__icon {
    font-size: 3rem;
}

.update-card__content h2 {
    font-family: 'Zilla Slab', Georgia, serif;
    color: var(--text-primary);
    margin: 0 0 0.8rem;
}

.update-card__content ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
}

.update-card__content li {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ===================== CALCULADORAS ===================== */
.calc-section-enhanced {
    padding: 5rem 1.5rem;
    background: var(--bg-primary);
}

.section-header-enhanced {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-enhanced h2 {
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 2.2rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.calc-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.calc-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.calc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.calc-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.calc-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.calc-card:hover .calc-card__image img {
    transform: scale(1.05);
}

.calc-card__body {
    padding: 1.5rem;
}

.calc-card__badge {
    display: inline-block;
    background: linear-gradient(90deg, #FFD700, #FFC107);
    color: #16233F;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.calc-card h3 {
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.calc-card p {
    color: var(--text-secondary);
    margin: 0 0 1rem;
}

.calc-card__stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.calc-card__cta {
    color: var(--text-primary);
    font-weight: 700;
}

/* Calculadora horizontal */
.calc-section-single {
    padding: 5rem 1.5rem;
    background: var(--bg-secondary);
}

.calc-card-horizontal {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--card-shadow);
}

.calc-card-horizontal__body {
    padding: 2rem;
}

.calc-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin: 1rem 0;
}

.calc-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===================== CONFIANZA / TESTIMONIOS / FAQ ===================== */
.trust-enhanced {
    padding: 5rem 1.5rem;
    background: var(--bg-primary);
}

.trust-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.trust-card-enhanced {
    text-align: center;
    padding: 2rem;
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.trust-card-enhanced h3 {
    color: var(--text-primary);
}

.trust-card-enhanced p {
    color: var(--text-secondary);
}

.social-proof {
    padding: 5rem 1.5rem;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border-left: 4px solid var(--gold);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-secondary);
}

.testimonial-card footer strong {
    display: block;
    color: var(--text-primary);
}

.testimonial-card footer span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.faq-enhanced {
    padding: 5rem 1.5rem;
    background: var(--bg-secondary);
}

.faq-item-enhanced {
    background: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 0.8rem;
    box-shadow: var(--card-shadow);
}

.faq-item-enhanced summary {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.faq-item-enhanced summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--text-muted);
}

.faq-item-enhanced[open] summary::after {
    content: '−';
}

.faq-answer {
    padding: 0 1.5rem 1.2rem;
    color: var(--text-secondary);
}

/* ===================== CTA FINAL ===================== */
.cta-final {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, #0F1A30 0%, #16233F 100%);
}

.cta-final__box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-final__content h2 {
    color: white;
    font-family: 'Zilla Slab', Georgia, serif;
}

.cta-final__content p {
    color: rgba(255, 255, 255, 0.9);
}

/* ===================== COMPARTIR Y RECOMPENSA ===================== */
.share-cta {
    padding: 4rem 1.5rem;
    background: var(--bg-primary);
}

.share-cta__box {
    text-align: center;
}

.share-cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn--whatsapp {
    background: #25D366;
    color: white;
}

.share-btn--facebook {
    background: #1877F2;
    color: white;
}

.share-btn--twitter {
    background: #000;
    color: white;
}

/* Sección recompensa */
.share-reward-enhanced {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, #0F1A30 0%, #16233F 100%);
}

.reward-header h2 {
    color: white;
}

.reward-step-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.reward-step-card h4 {
    color: white;
}

.reward-step-card p {
    color: rgba(255, 255, 255, 0.75);
}

.reward-urgency {
    background: rgba(255, 215, 0, 0.08);
    border: 1px dashed rgba(255, 215, 0, 0.3);
}

.reward-share-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    text-decoration: none;
    color: white;
}

.reward-share-btn--whatsapp {
    background: #25D366;
}

.reward-share-btn--facebook {
    background: #1877F2;
}

.reward-share-btn--twitter {
    background: #000;
}

.reward-share-btn--linkedin {
    background: #0A66C2;
}

/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--card-bg);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--gold);
}

.cookie-banner__inner {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.cookie-btn {
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.cookie-btn--accept {
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* ===================== BOTONES TEMA E IDIOMA ===================== */
.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 0.8rem;
    color: var(--text-primary);
}

.theme-toggle:hover {
    background: var(--bg-alt);
}

.lang-switcher {
    position: relative;
    margin-left: 0.75rem;
}

.lang-btn {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 0.35rem 0.8rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.lang-btn:hover {
    background: var(--bg-alt);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 150px;
    z-index: 100;
}

.lang-dropdown[hidden] {
    display: none;
}

.lang-option {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    cursor: pointer;
    color: var(--text-primary);
}

.lang-option:hover {
    background: var(--bg-alt);
}

/* ===================== FOOTER ===================== */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0;
}

.site-footer a {
    color: var(--footer-text);
}

.site-footer a:hover {
    color: var(--gold);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {

    .hero-enhanced__inner,
    .cta-final__box,
    .calc-card-horizontal {
        grid-template-columns: 1fr;
    }

    .calc-card--featured {
        grid-template-columns: 1fr;
    }

    .hero-floating-card--1 {
        top: -10px;
        left: -10px;
    }

    .hero-floating-card--2 {
        bottom: -10px;
        right: -10px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .update-card__content ul {
        grid-template-columns: 1fr;
    }

    .calc-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-enhanced {
        padding: 3rem 1rem;
    }

    .hero-floating-card {
        display: none;
    }

    .update-card {
        flex-direction: column;
        text-align: center;
    }
}