/**
 * Smiley Landing Afiliados CSS
 * Version: 2.1.0 - Header/Footer Ancho Completo + Espacios Reducidos 10%
 * Colores Smiley: #ff0000 (red), #33cc33 (green), #fbbf24 (yellow)
 */

/* =====================================================
   VARIABLES Y RESET
   ===================================================== */

:root {
    /* Colores Smiley */
    --smiley-red: #ff0000;
    --smiley-green: #33cc33;
    --smiley-yellow: #fbbf24;
    --smiley-dark: #1a202c;
    --smiley-gray: #4a5568;
    
    /* FONDOS SIMPLIFICADOS */
    --fondo-principal: #ffffff;
    --fondo-alternativo: #f8fafc;
    --fondo-accion: #f0fdf4;
    --smiley-light-bg: #f8fafc;
    
    /* Gradientes simplificados */
    --gradient-primary: linear-gradient(135deg, #ff0000 0%, #fbbf24 50%, #33cc33 100%);
    --gradient-positive: #f0fdf4;
    --gradient-negative: #fef2f2;
    
    /* Espaciado REDUCIDO 10% */
    --section-padding: 72px 0;  /* Era 80px, ahora 72px (-10%) */
    --container-width: 1200px;
}

* {
    box-sizing: border-box;
}

.smiley-landing-afiliados {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--smiley-dark);
    line-height: 1.6;
}

/* =====================================================
   CONTENEDOR GLOBAL
   ===================================================== */

.smiley-afi-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================================
   HEADER - ANCHO COMPLETO + SIN STICKY
   ===================================================== */
.smiley-afi-header {
    background: #1a202c; /* Fondo negro */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    padding: 18px 0; /* Reducido de 20px a 18px (-10%) */
    width: 100%; /* ANCHO COMPLETO */
}

.smiley-afi-header .header-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.smiley-afi-header .logo-img {
    height: 45px; /* Reducido de 50px a 45px (-10%) */
    width: auto;
}

.smiley-afi-header .header-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-left: 20px;
    letter-spacing: 1px;
}

.btn-header-cta {
    background: var(--smiley-red);
    color: #fff;
    padding: 11px 27px; /* Reducido de 12px 30px (-10%) */
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-header-cta:hover {
    background: var(--smiley-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 204, 51, 0.3);
}

.smiley-h-logo img {
    max-height: 70px !important;
}

.smiley-h-name {
    font-size: 30px !important;
}

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

.smiley-afi-hero {
    padding: var(--section-padding);
    background: transparent;
    text-align: center;
}

.hero-headline {
    margin-top: 36px; /* Reducido de 40px (-10%) */
}

.hero-headline h1 {
    font-size: 43px; /* Reducido de 48px (-10%) */
    font-weight: 800;
    margin-bottom: 18px; /* Reducido de 20px (-10%) */
    line-height: 1.2;
}

.highlight-green {
    color: var(--smiley-green);
    text-decoration: underline;
    text-decoration-thickness: 3px;
}

.hero-subheadline {
    font-size: 18px; /* Reducido de 20px (-10%) */
    color: var(--smiley-gray);
    margin-bottom: 27px; /* Reducido de 30px (-10%) */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero-cta {
    display: inline-block;
    background: var(--smiley-red);
    color: #fff;
    padding: 16px 45px; /* Reducido de 18px 50px (-10%) */
    font-size: 18px; /* Reducido de 20px (-10%) */
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-cta:hover {
    background: var(--smiley-green);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(51, 204, 51, 0.4);
}

.hero-disclaimer {
    margin-top: 27px; /* Reducido de 30px (-10%) */
    font-size: 14px;
    color: var(--smiley-gray);
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* =====================================================
   PRUEBA SOCIAL (Stats)
   ===================================================== */

.smiley-afi-social-proof {
    padding: 54px 0; /* Reducido de 60px (-10%) */
    background: var(--fondo-principal);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 27px; /* Reducido de 30px (-10%) */
}

.stat-card {
    text-align: center;
    padding: 27px; /* Reducido de 30px (-10%) */
    border-radius: 12px;
    background: var(--smiley-light-bg);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 43px; /* Reducido de 48px (-10%) */
    font-weight: 800;
    color: var(--smiley-red);
    margin-bottom: 9px; /* Reducido de 10px (-10%) */
}

.stat-label {
    font-size: 16px;
    color: var(--smiley-gray);
    font-weight: 500;
}

/* =====================================================
   SECCIÓN HEADERS (Reutilizable)
   ===================================================== */

.section-header {
    text-align: center;
    margin-bottom: 45px; /* Reducido de 50px (-10%) */
}

.section-header h2 {
    font-size: 36px; /* Reducido de 40px (-10%) */
    font-weight: 800;
    margin-bottom: 14px; /* Reducido de 15px (-10%) */
}

.section-header .subtitle {
    font-size: 18px;
    color: var(--smiley-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* =====================================================
   SISTEMA DUAL
   ===================================================== */

.smiley-afi-dual {
    padding: var(--section-padding);
    background: var(--fondo-alternativo);
}

.dual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 36px; /* Reducido de 40px (-10%) */
    margin-bottom: 27px; /* Reducido de 30px (-10%) */
}

.vertical-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px; /* Reducido de 40px (-10%) */
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.vertical-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.vertical-icon {
    font-size: 54px; /* Reducido de 60px (-10%) */
    margin-bottom: 18px; /* Reducido de 20px (-10%) */
}

.vertical-card h3 {
    font-size: 25px; /* Reducido de 28px (-10%) */
    margin-bottom: 18px; /* Reducido de 20px (-10%) */
    font-weight: 700;
}

.vertical-features {
    list-style: none;
    padding: 0;
    margin: 18px 0; /* Reducido de 20px (-10%) */
}

.vertical-features li {
    padding: 9px 0; /* Reducido de 10px (-10%) */
    border-bottom: 1px solid #e2e8f0;
    font-size: 16px;
}

.vertical-features li:last-child {
    border-bottom: none;
}

.vertical-links {
    margin-top: 27px; /* Reducido de 30px (-10%) */
}

.links-titulo {
    font-size: 14px;
    margin-bottom: 14px; /* Reducido de 15px (-10%) */
    color: var(--smiley-gray);
}

.link-demo,
.link-landing {
    display: block;
    padding: 11px 18px; /* Reducido de 12px 20px (-10%) */
    margin-bottom: 9px; /* Reducido de 10px (-10%) */
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link-demo {
    background: var(--gradient-positive);
    color: var(--smiley-dark);
}

.link-landing {
    background: var(--smiley-red);
    color: #fff;
}

.link-demo:hover {
    background: var(--smiley-green);
    color: #fff;
}

.link-landing:hover {
    background: var(--smiley-green);
}

.dual-note {
    text-align: center;
    padding: 27px; /* Reducido de 30px (-10%) */
    background: var(--gradient-positive);
    border-radius: 12px;
    font-size: 18px;
}

/* =====================================================
   CÓMO FUNCIONA (Steps)
   ===================================================== */

.smiley-afi-como-funciona {
    padding: var(--section-padding);
    background: var(--fondo-principal);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 27px; /* Reducido de 30px (-10%) */
}

.step-card {
    text-align: center;
    padding: 27px; /* Reducido de 30px (-10%) */
    border-radius: 12px;
    background: var(--smiley-light-bg);
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.step-number {
    width: 54px; /* Reducido de 60px (-10%) */
    height: 54px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px; /* Reducido de 28px (-10%) */
    font-weight: 800;
    margin: 0 auto 18px; /* Reducido de 20px (-10%) */
}

.step-card h3 {
    font-size: 20px; /* Reducido de 22px (-10%) */
    margin-bottom: 14px; /* Reducido de 15px (-10%) */
    font-weight: 700;
}

.step-card p {
    font-size: 16px;
    color: var(--smiley-gray);
}

/* =====================================================
   CALCULADORA
   ===================================================== */

.smiley-afi-calculadora {
    padding: var(--section-padding);
    background: var(--fondo-accion);
}

.calculadora-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 27px 27px 27px; /* Reducido de 40px 30px 30px 30px (-10%) */
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.calc-inputs {
    display: grid;
    gap: 27px; /* Reducido de 30px (-10%) */
    margin-bottom: 36px; /* Reducido de 40px (-10%) */
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 600;
    margin-bottom: 9px; /* Reducido de 10px (-10%) */
    font-size: 16px;
    line-height: 1.5;
    min-height: 27px; /* Reducido de 30px (-10%) */
}

.input-group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px; /* Reducido de 24px (-10%) */
    height: 22px;
    border-radius: 50%;
    background: var(--smiley-red);
    cursor: pointer;
}

.input-group input[type="range"]::-moz-range-thumb {
    width: 22px; /* Reducido de 24px (-10%) */
    height: 22px;
    border-radius: 50%;
    background: var(--smiley-red);
    cursor: pointer;
}

.input-value {
    display: inline-block;
    margin-left: 14px; /* Reducido de 15px (-10%) */
    font-size: 22px; /* Reducido de 24px (-10%) */
    font-weight: 700;
    color: var(--smiley-red);
}

.input-group select {
    padding: 14px 11px; /* Reducido de 15px 12px (-10%) */
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    color: #1a202c;
    background-color: #fff;
    line-height: 1.5;
    height: auto;
    min-height: 45px; /* Reducido de 50px (-10%) */
}

.calc-results {
    border-top: 2px solid #e2e8f0;
    padding-top: 27px; /* Reducido de 30px (-10%) */
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0; /* Reducido de 15px (-10%) */
    font-size: 18px;
}

.result-row.highlight {
    background: var(--gradient-positive);
    padding: 18px; /* Reducido de 20px (-10%) */
    border-radius: 8px;
    margin: 9px 0; /* Reducido de 10px (-10%) */
}

.result-row strong {
    font-size: 25px; /* Reducido de 28px (-10%) */
    color: var(--smiley-green);
    font-weight: 800;
}

.calc-note {
    margin-top: 18px; /* Reducido de 20px (-10%) */
    font-size: 14px;
    color: var(--smiley-gray);
    text-align: center;
}

/* =====================================================
   TABLA COMISIONES
   ===================================================== */

.smiley-afi-tabla-comisiones {
    padding: var(--section-padding);
    background: var(--fondo-principal);
}

.tabla-titulo {
    font-size: 25px; /* Reducido de 28px (-10%) */
    font-weight: 700;
    margin: 36px 0 18px; /* Reducido de 40px 0 20px (-10%) */
    text-align: center;
}

.tabla-wrapper {
    overflow-x: auto;
    margin-bottom: 27px; /* Reducido de 30px (-10%) */
}

.comisiones-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.comisiones-table thead {
    background: var(--smiley-dark);
    color: #fff;
}

.comisiones-table th,
.comisiones-table td {
    padding: 14px 18px; /* Reducido de 15px 20px (-10%) */
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.comisiones-table th {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.comisiones-table tbody tr:hover {
    background: var(--smiley-light-bg);
}

.col-highlight {
    background: var(--gradient-positive);
    font-weight: 700;
    color: var(--smiley-green);
}

.tabla-nota {
    margin-top: 18px; /* Reducido de 20px (-10%) */
    font-size: 14px;
    color: var(--smiley-gray);
    text-align: center;
}

/* =====================================================
   EXPLICACIÓN RETENCIÓN
   ===================================================== */

.smiley-afi-retencion {
    padding: var(--section-padding);
    background: var(--fondo-alternativo);
}

.retencion-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px; /* Reducido de 40px (-10%) */
    max-width: 900px;
    margin: 0 auto;
}

.retencion-ejemplo,
.retencion-explicacion,
.retencion-anual {
    background: #fff;
    padding: 27px; /* Reducido de 30px (-10%) */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.retencion-ejemplo:hover,
.retencion-explicacion:hover,
.retencion-anual:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.retencion-ejemplo h3,
.retencion-explicacion h3,
.retencion-anual h3 {
    font-size: 22px; /* Reducido de 24px (-10%) */
    margin-bottom: 18px; /* Reducido de 20px (-10%) */
    font-weight: 700;
}

.ejemplo-box,
.anual-box {
    background: var(--smiley-light-bg);
    padding: 23px; /* Reducido de 25px (-10%) */
    border-radius: 8px;
    border-left: 4px solid var(--smiley-red);
}

.ejemplo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0; /* Reducido de 12px (-10%) */
    font-size: 18px;
}

.ejemplo-row.minus {
    color: var(--smiley-red);
}

.ejemplo-row.total {
    border-top: 2px solid var(--smiley-dark);
    margin-top: 14px; /* Reducido de 15px (-10%) */
    padding-top: 14px;
    font-weight: 700;
    font-size: 20px;
}

.retencion-explicacion ul {
    list-style: none;
    padding: 0;
}

.retencion-explicacion li {
    padding: 11px 0; /* Reducido de 12px (-10%) */
    border-bottom: 1px solid #e2e8f0;
}

.retencion-explicacion li:last-child {
    border-bottom: none;
}

.anual-box p {
    margin: 7px 0; /* Reducido de 8px (-10%) */
    font-family: monospace;
    font-size: 16px;
}

.retencion-nota {
    background: var(--gradient-positive);
    padding: 18px; /* Reducido de 20px (-10%) */
    border-radius: 8px;
    margin-top: 18px; /* Reducido de 20px (-10%) */
}

/* =====================================================
   CASOS DE USO
   ===================================================== */

.smiley-afi-casos-uso {
    padding: var(--section-padding);
    background: var(--fondo-alternativo);
}

.casos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 27px; /* Reducido de 30px (-10%) */
}

.caso-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px; /* Reducido de 35px (-10%) */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.caso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.caso-icon {
    font-size: 45px; /* Reducido de 50px (-10%) */
    margin-bottom: 18px; /* Reducido de 20px (-10%) */
}

.caso-card h3 {
    font-size: 20px; /* Reducido de 22px (-10%) */
    margin-bottom: 18px; /* Reducido de 20px (-10%) */
    font-weight: 700;
}

.caso-content p {
    margin: 11px 0; /* Reducido de 12px (-10%) */
    font-size: 15px;
    line-height: 1.6;
}

.caso-resultado {
    background: var(--gradient-positive);
    padding: 14px; /* Reducido de 15px (-10%) */
    border-radius: 8px;
    margin: 18px 0; /* Reducido de 20px (-10%) */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.caso-resultado strong {
    font-size: 25px; /* Reducido de 28px (-10%) */
    color: var(--smiley-green);
}

.caso-extra {
    font-style: italic;
    color: var(--smiley-gray);
    font-size: 14px;
}

/* =====================================================
   RITUAL VIERNES
   ===================================================== */

.smiley-afi-ritual-viernes {
    padding: var(--section-padding);
    background: var(--fondo-accion);
}

.ritual-timeline {
    max-width: 800px;
    margin: 0 auto 45px; /* Reducido de 50px (-10%) */
    position: relative;
}

.ritual-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--smiley-red), var(--smiley-green));
}

.timeline-item {
    display: flex;
    margin-bottom: 45px; /* Reducido de 50px (-10%) */
    position: relative;
}

.timeline-day {
    flex: 0 0 150px;
    text-align: right;
    padding-right: 27px; /* Reducido de 30px (-10%) */
    font-weight: 700;
    font-size: 18px;
    color: var(--smiley-red);
}

.timeline-content {
    flex: 1;
    background: var(--smiley-light-bg);
    padding: 23px; /* Reducido de 25px (-10%) */
    border-radius: 12px;
    margin-left: 27px; /* Reducido de 30px (-10%) */
}

.timeline-item.highlight .timeline-content {
    background: var(--gradient-positive);
    border: 2px solid var(--smiley-green);
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 9px; /* Reducido de 10px (-10%) */
    font-weight: 700;
}

.timeline-content p {
    color: var(--smiley-gray);
    font-size: 16px;
}

.ritual-beneficios {
    max-width: 900px;
    margin: 0 auto;
}

.ritual-beneficios h3 {
    text-align: center;
    font-size: 25px; /* Reducido de 28px (-10%) */
    margin-bottom: 27px; /* Reducido de 30px (-10%) */
    font-weight: 700;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 23px; /* Reducido de 25px (-10%) */
}

.beneficio-item {
    text-align: center;
    padding: 23px; /* Reducido de 25px (-10%) */
    background: var(--smiley-light-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.beneficio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    background: #fff;
}

.beneficio-icon {
    font-size: 36px; /* Reducido de 40px (-10%) */
    display: block;
    margin-bottom: 14px; /* Reducido de 15px (-10%) */
}

.beneficio-item strong {
    display: block;
    font-size: 18px;
    margin-bottom: 7px; /* Reducido de 8px (-10%) */
}

.beneficio-item p {
    font-size: 14px;
    color: var(--smiley-gray);
}

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

.smiley-afi-faq {
    padding: var(--section-padding);
    background: var(--fondo-alternativo);
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 14px; /* Reducido de 15px (-10%) */
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 23px; /* Reducido de 20px 25px (-10%) */
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--smiley-light-bg);
}

.faq-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 23px; /* Reducido de 25px (-10%) */
}

.faq-answer.open {
    max-height: 500px;
    padding: 0 23px 18px; /* Reducido de 0 25px 20px (-10%) */
}

.faq-answer p {
    font-size: 16px;
    color: var(--smiley-gray);
    line-height: 1.7;
}

/* =====================================================
   CTA FINAL + FORMULARIO
   ===================================================== */

.smiley-afi-cta-final {
    padding: var(--section-padding);
    background: var(--fondo-accion);
}

.form-registro {
    margin-bottom: 36px; /* Reducido de 40px (-10%) */
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px; /* Reducido de 20px (-10%) */
    margin-bottom: 18px; /* Reducido de 20px (-10%) */
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 7px; /* Reducido de 8px (-10%) */
    font-size: 15px;
}

.form-group input {
    padding: 11px 14px; /* Reducido de 12px 15px (-10%) */
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--smiley-green);
    box-shadow: 0 0 0 3px rgba(51, 204, 51, 0.1);
}

.checkbox-group {
    margin: 23px 0; /* Reducido de 25px (-10%) */
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 9px; /* Reducido de 10px (-10%) */
    width: 18px; /* Reducido de 20px (-10%) */
    height: 18px;
}

.checkbox-group a {
    color: var(--smiley-red);
    text-decoration: underline;
}

.btn-registro-submit {
    width: 100%;
    padding: 16px; /* Reducido de 18px (-10%) */
    background: var(--smiley-red);
    color: #fff; 
    border: none;
    border-radius: 10px;
    font-size: 18px; /* Reducido de 20px (-10%) */
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-registro-submit:hover {
    background: var(--smiley-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(51, 204, 51, 0.3);
}

.form-message {
    margin-top: 18px; /* Reducido de 20px (-10%) */
    padding: 14px; /* Reducido de 15px (-10%) */
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: var(--gradient-positive);
    color: var(--smiley-dark);
    display: block;
}

.form-message.error {
    background: var(--gradient-negative);
    color: var(--smiley-red);
    display: block;
}

.garantias-finales {
    background: transparent;
    border-radius: 0;
    padding: 36px 0 18px 0; /* Reducido de 40px 0 20px 0 (-10%) */
    margin-top: 36px; /* Reducido de 40px (-10%) */
    box-shadow: none;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.garantias-finales h3 {
    font-size: 20px; /* Reducido de 22px (-10%) */
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 23px 0; /* Reducido de 25px (-10%) */
    text-align: left;
}

.garantias-finales ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px; /* Reducido de 12px (-10%) */
}

.garantias-finales li {
    padding: 0;
    font-size: 16px;
    color: #1a202c;
    font-weight: 500;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 7px; /* Reducido de 8px (-10%) */
}

/* =====================================================
   FOOTER - ANCHO COMPLETO (CORREGIDO)
   ===================================================== */

.smiley-afi-footer {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    background: var(--smiley-dark);
    color: #fff;
    padding: 45px 0 27px; /* Reducido de 50px 0 30px (-10%) */
}

.smiley-afi-footer .smiley-afi-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.smiley-afi-footer .footer-content {
    text-align: center;
}

.footer-links {
    margin-bottom: 27px; /* Reducido de 30px (-10%) */
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 14px; /* Reducido de 15px (-10%) */
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--smiley-green);
}

.footer-legal p {
    margin: 9px 0; /* Reducido de 10px (-10%) */
    font-size: 14px;
    color: #a0aec0;
}

.footer-disclaimer {
    font-style: italic;
}

/**
 * WhatsApp Flotante para Landing Afiliados
 * Version: 1.0.0
 * Se agrega al CSS de la landing
 */

/* =====================================================
   BOTÓN WHATSAPP FLOTANTE
   ===================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366; /* Verde WhatsApp oficial */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: #fff;
}

/* Animación de pulso */
.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.6;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Tooltip opcional */
.whatsapp-float .whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #1a202c;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.whatsapp-float .whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #1a202c;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
    
    .whatsapp-float .whatsapp-tooltip {
        display: none; /* Ocultar tooltip en mobile */
    }
}

/* Si quieres que esté debajo del botón "Volver Arriba" */
.whatsapp-float.with-back-to-top {
    bottom: 100px; /* Espacio para el botón volver arriba */
}

@media (max-width: 768px) {
    .whatsapp-float.with-back-to-top {
        bottom: 90px;
    }
}≠≠

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

@media (max-width: 768px) {
    :root {
        --section-padding: 54px 0; /* Reducido de 60px para mobile (-10%) */
    }
    
    .hero-headline h1 {
        font-size: 29px; /* Reducido de 32px (-10%) */
    }
    
    .hero-subheadline {
        font-size: 14px; /* Reducido de 16px (-10%) */
    }
    
    .dual-grid,
    .steps-grid,
    .casos-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 25px; /* Reducido de 28px (-10%) */
    }
    
    .calculadora-card {
        padding: 27px 18px; /* Reducido de 30px 20px (-10%) */
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-day {
        text-align: left;
        padding: 0 0 9px 0; /* Reducido de 10px (-10%) */
    }
    
    .timeline-content {
        margin-left: 0;
    }
    
    .ritual-timeline::before {
        left: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .garantias-finales {
        padding: 27px 18px 18px 18px; /* Reducido de 30px 20px 20px 20px (-10%) */
        margin-top: 27px; /* Reducido de 30px (-10%) */
    }
    
    .garantias-finales h3 {
        font-size: 18px; /* Reducido de 20px (-10%) */
        text-align: center;
    }
    
    .garantias-finales li {
        font-size: 14px; /* Reducido de 15px (-10%) */
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}