/* Logo 8 two-line brand lockup */
.logo-8 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.logo-8 .brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -1px;
    line-height: 1;
}

.logo-8 .location {
    font-size: 0.7rem;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .logo-8 .brand {
        font-size: 1.4rem;
    }
    
    .logo-8 .location {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }
}
:root {
    /* Colores principales mejorados */
    --primary: #0066FF;
    --primary-light: #E6F0FF;
    --primary-dark: #0047CC;
    
    /* Acentos de éxito y urgencia */
    --secondary: #ff9800;
    --secondary-light: #fff3e0;
    --success: #00BA88;
    --success-light: #E6F9F4;
    --warning: #FF6B2C;
    --warning-light: #FFF3ED;
    --accent: #e91e63;
    
    /* Neutros mejorados */
    --gray-lightest: #F8F9FB;
    --gray-light: #f5f5f5;
    --gray: #e0e0e0;
    --text: #1A1A1A;
    --text-secondary: #666666;
    --text-light: #757575;
    --white: #ffffff;
    
    /* Sombras suaves */
    --shadow-soft: 0 2px 12px rgba(0, 102, 255, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 102, 255, 0.12);
    --shadow-strong: 0 12px 32px rgba(0, 102, 255, 0.15);
}

/* Google Reviews Section (opcional) */
.google-reviews-section {
    background: #f8f9fa;
}
.google-reviews-section .google-reviews-widget {
    margin-top: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    line-height: 1.8;
}

h1, h2, h3, h4 {
    margin-bottom: 2rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

#process .container {
    min-width: 800px;
}

@media (max-width: 768px) {
    #process .container {
        min-width: auto;
    }
}

.section {
    padding: 4.5rem 0;
}

.section-alt {
    background: #f8f9fa;
}

/* Section spacing modifiers */
.section--tight { padding: 2.5rem 0; }
.section--loose { padding: 5rem 0; }

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    .section--tight {
        padding: 2rem 0;
    }
    .section--loose {
        padding: 4rem 0;
    }
    .why-section {
        margin-top: -0.5rem;
        padding-top: 3rem;
    }
    /* FAQ to About spacing - mobile */
    .faq {
        padding-bottom: 3rem;
    }
    #about {
        margin-top: -1rem;
        padding-top: 5rem !important;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
}

/* Mensaje de confianza en sección de reviews */
.trust-note-reviews {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 1.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:focus-visible {
    outline: 3px solid rgba(0, 102, 255, 0.5);
    outline-offset: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(0, 102, 255, 0.2);
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: #f57c00;
    transform: translateY(-2px) scale(1.02);
}

.btn-secondary:focus-visible {
    outline: 3px solid rgba(255, 152, 0, 0.5);
    outline-offset: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(255, 152, 0, 0.2);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.0;
    text-decoration: none;
    color: var(--primary);
}

.logo-line1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-line2 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 0.35rem;
    margin-top: 0.15rem;
}

/* Backward-compatible styling for existing markup: <a class="logo">Expat Health <span>Spain</span></a> */
.logo span {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.35rem;
    margin-top: 0.15rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:focus-visible {
    outline: 2px solid rgba(0, 102, 255, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

.language-selector {
    display: flex;
    align-items: center;
}

.language-selector a {
    margin-left: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.3s;
}

.language-selector a:hover {
    color: var(--primary);
}

.language-selector a:focus-visible {
    outline: 2px solid rgba(0, 102, 255, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

.language-selector a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a73e8 0%, #0066FF 100%);
    padding: 2rem 0 3rem;
    margin-top: 70px;
    margin-bottom: 3rem;
    color: white;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 1.5rem 0;
}

.hero-text {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 600px;
    gap: 1.5rem;
}

.hero-image {
    flex: 0.8;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    width: 520px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    object-fit: cover;
}

/* Why Section */
.why-section {
    background-color: var(--white);
}

.split-section {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-content {
    flex: 1;
}

.split-content .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.split-visual {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    border-radius: 12px;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 350px;
}

.stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Requirements / Why Choose Us Section - Compacta (Opción 1) */
.requirements {
    background-color: var(--gray-light);
    padding: 2.5rem 0; /* Reducido de 4.5rem */
}

.requirements .section-title {
    margin-bottom: 1.5rem; /* Reducido de 3rem */
}

.requirements .section-subtitle {
    margin-bottom: 1.5rem; /* Reducido de 3rem */
    font-size: 1.1rem; /* Reducido de 1.25rem */
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; /* Reducido de 2.5rem */
    margin-top: 1.5rem; /* Reducido de 3rem */
}

.benefit-card {
    background: white;
    padding: 1.5rem; /* Reducido de 2.25rem */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Reducido de 0.75rem */
}

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

.benefit-icon {
    font-size: 2.5rem; /* Reducido de 3rem */
    margin-bottom: 0.25rem; /* Reducido de 0.5rem */
    line-height: 1;
    display: block;
}

.benefit-card h3 {
    font-size: 1.3rem; /* Reducido de 1.5rem */
    margin-bottom: 0.25rem; /* Reducido de 0.5rem */
    color: #0066FF;
    font-weight: 600;
    line-height: 1.3;
}

.benefit-card p {
    color: #555;
    font-size: 0.95rem; /* Reducido de 1.05rem */
    line-height: 1.5; /* Reducido de 1.65 */
    margin: 0;
}

/* Legacy styles for backward compatibility */
.requirements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.requirement-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.check-icon {
    color: #4caf50;
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Visa Types */
.visa-types {
    background-color: var(--white);
}

.visa-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.visa-tab {
    padding: 0.8rem 1.5rem;
    margin: 0 0.5rem 1rem;
    background-color: var(--gray-light);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.visa-tab.active {
    background-color: var(--primary);
    color: var(--white);
}

.visa-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 10px;
    padding: 5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Process Section */
.process {
    background-color: var(--gray-light);
}

.timeline {
    display: flex;
    justify-content: space-between;
    margin: 4rem 0;
    position: relative;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-light);
    z-index: 1;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 30%;
    position: relative;
    z-index: 2;
    min-width: 250px;
    margin-bottom: 2rem;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.timeline-title {
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Benefits / Comparison Section - Compacta (Opción 1) */
#benefits {
    padding: 2.5rem 0; /* Reducido de 4.5rem */
}

#benefits .section-title {
    margin-bottom: 1.5rem; /* Reducido de 3rem */
}

#benefits .section-subtitle {
    margin-bottom: 1.5rem; /* Reducido de 3rem */
    font-size: 1.1rem; /* Reducido de 1.25rem */
}

.benefits {
    background-color: var(--white);
}

/* Comparison Table Styles */
.comparison-table {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 1.5rem; /* Reducido de 3rem */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: #0066FF;
    color: #ffffff;
    padding: 1rem; /* Reducido de 1.25rem */
    text-align: left;
    font-weight: 600;
    font-size: 1rem; /* Reducido de 1.1rem */
}

/* Primera columna (característica) más ancha */
.comparison-table th:first-child,
.comparison-table td:first-child {
    width: 35%;
}

.comparison-table td {
    padding: 1rem; /* Reducido de 1.25rem */
    border-bottom: 1px solid #eeeeee;
    font-size: 0.95rem; /* Reducido de 1.05rem */
    vertical-align: middle;
}

/* Texto en negrita para la primera columna */
.comparison-table td:first-child {
    font-weight: 600;
    color: #1a1a1a;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* FILAS ALTERNAS CON FONDO AZUL CLARO */
.comparison-table tbody tr:nth-child(odd) {
    background: #e3f2fd !important;
}

.comparison-table tbody tr:nth-child(even) {
    background: #ffffff !important;
}

.comparison-table .check-mark {
    color: #4caf50;
    font-size: 1.5rem; /* Reducido de 1.75rem */
    font-weight: bold;
    margin-right: 0.4rem; /* Reducido de 0.5rem */
}

.comparison-table .cross-mark {
    color: #f44336;
    font-size: 1.5rem; /* Reducido de 1.75rem */
    font-weight: bold;
    margin-right: 0.4rem; /* Reducido de 0.5rem */
}

/* Legacy Benefits Grid Styles */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.benefit-item {
    background-color: var(--primary-light);
    border-radius: 10px;
    padding: 5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.benefit-title {
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    background-color: var(--gray-light);
    padding-bottom: 5rem;
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    background-color: #f0f0f0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 3px solid var(--primary-light);
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
}

/* FAQ Section */
.faq {
    background-color: var(--white);
    padding-bottom: 5rem;
}

/* About section - spacing optimization */
#about {
    margin-top: -1.5rem;
    padding-top: 3.5rem !important;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.faq-question {
    padding: 1rem 1.5rem;
    background-color: var(--gray-light);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    background-color: var(--white);
    transition: max-height 0.3s ease, padding 0.3s;
}

.faq-answer.active {
    padding: 1.25rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Comparison Section - Removed old styles, using new .comparison-table styles defined in Benefits section */

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background-color: var(--text);
    color: var(--white);
    padding: 5rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.footer-section h3 {
    margin-bottom: 2rem;
    color: var(--secondary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-section ul li a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
    border-radius: 2px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
}

.payment-methods img {
    height: 30px;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.certifications img {
    height: 50px;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.copyright {
    text-align: center;
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Floating Elements */
.floating-chat {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 900;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.floating-chat:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* WhatsApp Floating Button */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 900;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 5px 25px rgba(37, 211, 102, 0.8); }
    100% { box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); }
}

/* Business Hours Indicator */
.business-hours-indicator {
    position: absolute !important;
    top: -8px;
    right: -8px;
    background-color: var(--white);
    color: var(--text);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    white-space: nowrap;
    z-index: 1;
    display: block !important;
    width: auto !important;
    height: auto !important;
}

.business-hours-indicator.online {
    background-color: #e8f5e8;
    color: #2e7d32;
}

.business-hours-indicator.offline {
    background-color: #ffebee;
    color: #c62828;
}

.counter-badge {
    position: fixed;
    top: 50px;
    right: 0;
    background-color: var(--secondary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 10px 0 0 10px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 900;
}

/* Counter-badge en header (solo visible en móviles) */
.header-counter {
    display: none; /* Oculto por defecto en desktop */
}

/* Mover counter-badge al header en móviles - Segunda fila */
@media (max-width: 768px) {
    /* Ocultar el counter-badge flotante original en móviles */
    .counter-badge:not(.header-counter) {
        display: none;
    }
    
    /* Cambiar header-container: primera fila con logo y selector, segunda fila con contador */
    .header-container {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        align-items: center;
    }
    
    /* Primera fila: logo y language-selector */
    .header-container .logo {
        order: 1;
        flex: 0 0 auto;
    }
    
    .header-container .language-selector {
        order: 2;
        flex: 0 0 auto;
        margin-left: auto;
    }
    
    /* Nav oculto en móviles */
    .header-container nav {
        display: none;
    }
    
    /* Contador en segunda fila: ocupa todo el ancho y se centra */
    .header-counter {
        display: block;
        width: 100%;
        order: 10; /* Alto order para forzar nueva línea */
        text-align: center;
        margin: 0.5rem 0 0;
        padding: 0.25rem 1rem;
        font-size: 0.85rem;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        background-color: var(--secondary);
        color: var(--white);
        font-weight: 600;
    }
    
    /* Ajustar altura del header */
    header {
        min-height: auto;
    }
    
    /* Ajustar margin-top del hero para compensar altura adicional del header */
    .hero {
        margin-top: 90px; /* Aumentado desde 70px para acomodar dos filas */
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1100;
}

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        gap: 4rem;
    }
    
    .timeline-item {
        width: 100%;
        margin-bottom: 3rem;
    }
    
    .timeline::before {
        display: none;
    }
    .split-section { 
        flex-direction: column;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    /* Comparison Table Responsive - Opción 6: Tabla Compacta Sin Scroll */
    .comparison-table {
        overflow: hidden;
        max-width: 100%;
    }
    
    .comparison-table table {
        width: 100%;
        table-layout: fixed;
        border-collapse: collapse;
    }
    
    .comparison-table th {
        padding: 0.4rem 0.3rem;
        font-size: 0.65rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .comparison-table th:first-child {
        text-align: left;
        padding-left: 0.5rem;
        width: 38%;
    }
    
    .comparison-table th:nth-child(2),
    .comparison-table th:nth-child(3) {
        width: 31%;
    }
    
    .comparison-table td {
        padding: 0.35rem 0.3rem;
        font-size: 0.7rem;
        line-height: 1.3;
        vertical-align: middle;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: none;
        white-space: normal;
    }
    
    .comparison-table td:first-child {
        padding-left: 0.5rem;
        font-size: 0.68rem;
    }
    
    .comparison-table .check-mark,
    .comparison-table .cross-mark {
        font-size: 0.9rem;
        display: inline-block;
        margin-right: 0.2rem;
    }
    
    .comparison-table tbody tr.highlight-row {
        background: #BBDEFB !important;
    }
}

/* Chatbot Window */
.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-title h3 {
    margin: 0;
    font-size: 1.2rem;
}

.chatbot-icon {
    font-size: 1.5rem;
}

.close-chatbot {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    position: relative;
}

.message.bot {
    align-self: flex-start;
    background-color: var(--gray-light);
    border-bottom-left-radius: 5px;
}

.message.user {
    align-self: flex-end;
    background-color: var(--primary-light);
    color: var(--primary);
    border-bottom-right-radius: 5px;
}

.message-time {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 5px;
    text-align: right;
}

.chatbot-input {
    padding: 15px;
    border-top: 1px solid var(--gray);
    display: flex;
    gap: 10px;
}

.chatbot-text-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--gray);
    border-radius: 25px;
    outline: none;
    transition: border-color 0.3s;
}

.chatbot-text-input:focus {
    border-color: var(--primary);
}

.chatbot-send-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.chatbot-send-btn:hover {
    background-color: var(--primary-dark);
}

@media (max-width: 768px) {
    .chatbot-window {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }
}

/* ============================================
   MEJORAS HERO SECTION - Conversión Optimizada
   ============================================ */

/* Título hero mejorado */
.hero-title {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 20px;
    margin-top: 0;
    color: #1A1A1A;
    font-weight: 800;
    width: 100%;
}

.hero-title-highlight {
    display: block;
    color: #0066FF;
    margin-top: 12px;
    position: relative;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.hero-title-highlight::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #0066FF 0%, #00BA88 100%);
    border-radius: 2px;
}

/* Subtítulo con valor único */
.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 36px;
    margin-top: 32px;
    font-weight: 500;
    max-width: 90%;
}

/* Lista de beneficios hero */
.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 28px 0;
    width: 100%;
}

.hero-benefits li {
    font-size: 1rem;
    padding: 10px 0;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    width: 100%;
}

/* Grupo CTA mejorado */
.hero-cta-group {
    margin: 32px 0 24px 0;
}

/* Mensaje de confianza en hero */
.trust-note-hero {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 0.75rem;
    text-align: center;
}

.btn-hero {
    padding: 1.125rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ff9800 0%, #e91e63 100%);
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-hero::before {
    /* Deshabilitado para igualar el hover del siguiente CTA */
    content: none;
}

.btn-hero:hover::before {
    /* Deshabilitado para igualar el hover del siguiente CTA */
    width: 0;
    height: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .btn-hero:hover {
        /* Igualamos el comportamiento al siguiente botón CTA (sin cambio de color ni escala) */
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(255, 152, 0, 0.5);
    }
}

.btn-hero:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 3px;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.btn-hero:active {
    transform: translateY(0) scale(0.98);
}


/* Imagen hero mejorada */
.hero-img-enhanced {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero {
        padding: 1.5rem 0 2rem;
        margin-bottom: 2rem;
    }
    
    .hero-content {
        gap: 2rem;
        padding: 1rem 0;
        flex-direction: column;
    }
    
    .hero-text {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-image {
        width: 100%;
        justify-content: center;
    }
    
    .hero-image img {
        width: 100%;
        max-width: 350px;
        max-height: none;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        object-position: center;
        border-radius: 16px;
    }
    
    .hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        margin-bottom: 1rem;
    }
    
    .hero-badge {
        padding: 0.3rem 1rem;
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.125rem);
        margin-bottom: 1.25rem;
    }
    
    .btn-hero {
        padding: 1rem 2rem;
        font-size: 1.125rem;
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 400px) {
    .trust-note-hero {
        font-size: 0.875rem;
    }
    
    .trust-note-reviews {
        font-size: 0.875rem;
    }
}

@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 0.875rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .btn-hero {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    .benefit-card,
    .plan-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-compact {
        padding: 1.5rem;
        margin: 2rem auto;
    }
    
    .testimonial-text {
        font-size: 1.05rem;
    }
}

@media (min-width: 1200px) {
    .hero h1 {
        font-size: 3.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.375rem;
        max-width: 70ch;
    }
    
    .btn-hero {
        padding: 1.25rem 3rem;
        font-size: 1.375rem;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3.5rem;
    }
    
    .section-subtitle {
        font-size: 1.375rem;
        margin-bottom: 3.5rem;
    }
    
    .benefit-card,
    .plan-card {
        padding: 1.5rem; /* Reducido de 1.75rem para mantener compacidad */
    }
    
    .benefit-card h3,
    .plan-card h3 {
        font-size: 1.5rem;
    }
    
    .testimonial-compact {
        padding: 2.5rem;
        margin: 4rem auto;
    }
    
    .testimonial-text {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title-highlight {
        font-size: 1.6rem;
        margin-top: 1.5rem;
    }
    
    .hero-title-highlight::after {
        width: 80px;
        bottom: -8px;
    }
    
    .hero-benefits {
        margin: 2rem 0;
    }
    
    .hero-benefits li {
        font-size: 0.95rem;
        padding: 1rem 0;
        gap: 1rem;
        line-height: 1.6;
    }
    
    .hero-cta-group {
        margin: 2rem 0 1.5rem 0;
    }
    
    .btn-hero {
        width: 100%;
        padding: 2rem 3rem;
        font-size: 16px;
    }
}

/* ============================================
   THREE STEPS SECTION
   ============================================ */

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: nowrap;
    flex-direction: row;
    width: 100%;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    flex-shrink: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #0066FF;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
    font-weight: 700;
}

.step p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 280px;
    margin: 0 auto;
}

/* Conectores visuales entre pasos (solo desktop) */
@media (min-width: 769px) {
    #process .process-steps {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        display: flex !important;
        width: 100% !important;
    }
    
    #process .step {
        flex: 1 1 0 !important;
        flex-shrink: 0 !important;
        flex-basis: 0 !important;
        min-width: 200px !important;
        max-width: none !important;
        width: auto !important;
    }
    
    #process .step:not(:last-child)::after {
        content: '→';
        position: absolute;
        right: -1.5rem;
        top: 30px;
        font-size: 2rem;
        color: #0066FF;
        font-weight: 300;
        z-index: 1;
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    #process .process-steps {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 3rem;
    }
    
    #process .step {
        min-width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        width: 100% !important;
    }
    
    #process .step p {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    #process .step:not(:last-child)::after {
        display: none !important;
    }
}


/* ============================================
   MOBILE STICKY CTA
   ============================================ */

@media (max-width: 768px) {
    .mobile-sticky-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 12px 16px;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
        z-index: 999;
        animation: slideUp 0.3s ease;
    }
    
    .mobile-sticky-cta .btn {
        width: 100%;
        padding: 16px;
        font-size: 16px;
        font-weight: 700;
    }
    
    .mobile-sticky-cta .cta-subtext {
        text-align: center;
        font-size: 12px;
        color: #666;
        margin-top: 6px;
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    body.has-sticky-cta {
        padding-bottom: 90px;
    }
}

/* ============================================
   FORMULARIO SIMPLIFICADO - Estilos Mejorados
   ============================================ */

.form-intro {
    color: #666;
    margin-bottom: 24px;
    font-size: 15px;
    text-align: center;
}

.label-icon {
    margin-right: 8px;
    font-size: 18px;
}

.field-help {
    font-size: 13px;
    color: #999;
    margin-top: 6px;
    margin-bottom: 0;
}

.form-select-enhanced,
.form-input-enhanced {
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-select-enhanced:focus,
.form-input-enhanced:focus {
    border-color: #0066FF;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.price-preview {
    background: linear-gradient(135deg, #E6F9F4 0%, #E6F0FF 100%);
    border: 2px solid #00BA88;
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
    text-align: center;
    animation: slideIn 0.5s ease;
}

.price-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: #00BA88;
    margin-bottom: 12px;
}

.price-amount span {
    font-size: 48px;
}

.price-features {
    font-size: 14px;
    color: #333;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   ANIMACIONES ADICIONALES
   ============================================ */

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.bounce-in {
    animation: bounceIn 0.6s ease;
}

@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);
    }
}
/* ============================================
   NUEVOS ESTILOS - REDISEÑO LANDING
   ============================================ */

/* PARTE 1: HERO SECTION MEJORADO */
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.35rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.15;
    color: #ffffff;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    margin-bottom: 1.75rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.98);
    max-width: 65ch;
}

.hero-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    background: transparent;
    border: none;
    padding: 0;
}

.hero-feature::before {
    content: "✓";
    background: rgba(255, 255, 255, 0.4);
    color: #0066FF;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0 C150,50 350,80 600,80 C850,80 1050,50 1200,0 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
}

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

/* PARTE 2: TESTIMONIALES COMPACTOS */
.testimonial-compact {
    background: #ffffff;
    padding: 2.25rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 3.5rem auto;
    max-width: 800px;
    border-left: 4px solid #ff9800;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #1a1a1a;
    margin-bottom: 1.75rem;
    line-height: 1.75;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: #4285f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.author-info > div:first-child {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    line-height: 1.5;
}

.author-info strong {
    display: inline-block;
    color: #1a1a1a;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
}

.testimonial-author .verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.35rem 0.85rem;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.3;
    vertical-align: middle;
    margin-left: 0.5rem;
    width: auto;
    height: auto;
}

.rating {
    color: #ff9800;
    font-size: 1.1rem;
    letter-spacing: 2px;
    display: block;
    line-height: 1;
}

.author-info span:not(.verified-badge):not(.rating) {
    color: #666666;
    font-size: 0.95rem;
    display: block;
}

/* Improved section spacing around testimonials */
.testimonial-compact + .section {
    margin-top: 2rem; /* Extra space after testimonials */
}

.section + .testimonial-compact {
    margin-top: 4rem; /* Space before testimonials */
}

/* Tighter spacing for Three Steps section */
#process {
    padding: 4rem 0; /* Slightly less than default 5rem */
}

/* More breathing room around comparison table - Compacta */
.comparison-table {
    margin-top: 1.5rem; /* Reducido de 3.5rem */
    margin-bottom: 1.5rem; /* Reducido de 2rem */
}

/* PARTE 3: CTAS MEJORADOS */
.cta-primary,
.cta-header {
    transition: all 0.3s ease;
}

.cta-primary:hover,
.cta-header:hover {
    transform: translateY(-2px) scale(1.02);
}

.cta-primary {
    display: inline-block;
    background: linear-gradient(135deg, #ff9800 0%, #e91e63 100%);
    color: #ffffff;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    transition: all 0.3s ease;
}

.cta-primary:hover {
    background: linear-gradient(135deg, #ff9800 0%, #e91e63 100%);
    box-shadow: 0 6px 25px rgba(255, 152, 0, 0.5);
    transform: translateY(-2px);
}

.cta-primary:focus-visible {
    outline: 3px solid rgba(255, 152, 0, 0.5);
    outline-offset: 2px;
    box-shadow: 0 6px 25px rgba(255, 152, 0, 0.5), 0 0 0 3px rgba(255, 152, 0, 0.2);
}

/* PARTE 4: PLANES VISUALES - Compacta (Opción 1) */
#planes {
    padding: 2.5rem 0; /* Reducido de 4.5rem */
}

#planes .section-title {
    margin-bottom: 1.5rem; /* Reducido de 3rem */
}

#planes .section-subtitle {
    margin-bottom: 1.5rem; /* Reducido de 3rem */
    font-size: 1.1rem; /* Reducido de 1.25rem */
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem; /* Reducido de 2rem */
    margin-top: 1.5rem; /* Reducido de 3rem */
}

.plan-card {
    background: #ffffff;
    padding: 1.5rem; /* Reducido de 2.25rem */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* Reducido de 1rem */
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #0066FF;
}

.plan-card:focus-within {
    outline: 2px solid #0066FF;
    outline-offset: 2px;
}

.plan-icon {
    font-size: 2.25rem; /* Reducido de 2.75rem */
    margin-bottom: 0.4rem; /* Reducido de 0.75rem */
    line-height: 1;
    display: block;
}

.plan-card h3 {
    font-size: 1.4rem; /* Reducido de 1.75rem */
    margin-bottom: 0.4rem; /* Reducido de 0.75rem */
    color: #0066FF;
    font-weight: 700;
    line-height: 1.3;
}

.plan-features {
    list-style: none;
    margin-bottom: 1rem; /* Reducido de 1.5rem */
    flex: 1;
    padding: 0;
    gap: 0.4rem; /* Reducido de 0.5rem */
    display: flex;
    flex-direction: column;
}

.plan-features li {
    padding: 0.4rem 0; /* Reducido de 0.5rem */
    color: #555;
    font-size: 0.95rem; /* Reducido de 1rem */
    line-height: 1.5; /* Reducido de 1.65 */
}

.plan-features li::before {
    content: "✓";
    color: #4caf50;
    font-weight: bold;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.cta-secondary {
    display: inline-block;
    background: transparent;
    color: #0066FF;
    font-weight: 600;
    padding: 0.75rem 1.75rem; /* Reducido de 0.875rem 2rem */
    border-radius: 8px;
    border: 2px solid #0066FF;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem; /* Reducido de 1rem */
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.cta-secondary:hover {
    background: #0066FF;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.cta-secondary:focus-visible {
    outline: 3px solid rgba(0, 102, 255, 0.5);
    outline-offset: 2px;
}

/* RESPONSIVE - Mobile */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-feature {
        justify-content: flex-start;
        font-size: 1rem;
    }
    
    .testimonial-compact {
        margin: 2rem auto;
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1.05rem;
    }
    
    .testimonial-author {
        gap: 0.75rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .author-info strong {
        font-size: 1rem;
    }
    
    .testimonial-author .verified-badge {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem; /* Reducido de 1.5rem para móvil */
    }
    
    .plan-card {
        padding: 1.4rem; /* Reducido de 1.75rem para móvil más compacto */
    }
    
    .benefit-card {
        padding: 1.4rem; /* Reducido de 1.75rem para móvil más compacto */
        display: grid; /* Usar grid para layout más controlado */
        grid-template-columns: auto 1fr; /* Columna para icono (auto) y contenido (1fr) */
        grid-template-rows: auto auto; /* Dos filas: título y descripción */
        gap: 0 1rem; /* Sin gap vertical, 1rem horizontal entre icono y contenido */
        align-items: first baseline; /* Alinear por línea base del texto para mejor alineación */
    }
    
    .benefit-icon {
        font-size: 2rem; /* Tamaño del icono en móvil */
        margin-bottom: 0; /* Eliminar margen inferior */
        grid-row: 1; /* Icono en la primera fila */
        grid-column: 1; /* Icono en la primera columna */
        line-height: 1.3; /* Coincidir con el line-height del título para alineación */
        display: block; /* Cambiar de flex a block para mejor control de alineación */
        vertical-align: baseline; /* Alinear con la línea base del texto */
    }
    
    .benefit-card h3 {
        margin: 0; /* Eliminar márgenes del título */
        grid-row: 1; /* Título en la primera fila */
        grid-column: 2; /* Título en la segunda columna */
        line-height: 1.3; /* Mismo line-height que el icono para alineación */
    }
    
    .benefit-card p {
        margin-top: 0.5rem; /* Espacio entre título y descripción */
        grid-row: 2; /* Descripción en la segunda fila */
        grid-column: 2; /* Descripción en la segunda columna */
    }
    
    .benefits-grid {
        gap: 1.2rem; /* Reducido de 1.5rem para móvil */
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    /* FAQ Mobile Compact */
    .faq-question {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .faq-answer.active {
        padding: 1rem 1.25rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
}

/* ===== FASE 1 — ABOVE-THE-FOLD ===== */

/* 1) Hero más bajo y legible en 1er pliegue */
.hero {
  /* ya tiene gradiente; mantenemos el diseño actual */
  padding-block: 3rem;              /* antes: 2rem 0 3rem (~32/48px) => unifica y compacta */
  margin-bottom: 1.5rem;            /* antes: 3rem */
}

.hero-content {
  gap: 1.6rem;                      /* antes: 4rem → 2rem → 1.6rem (20% reducción adicional) */
  padding: 0;                       /* elimina padding interno extra en el bloque */
  align-items: center;              /* asegura centrado vertical uniforme */
}

/* Tipografías del hero con clamp para no romper alturas medianas */
.hero h1 {
  /* había 3.5rem en una regla posterior; clampeamos para 1366/1440 sin perder jerarquía */
  font-size: clamp(1.75rem, 4.2vw, 3rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Imagen del hero: más grande pero compacta */
.hero-image img {
  width: min(30rem, 42vw);          /* antes: 520px → 420px → ahora 480px (mejor balance) */
  max-height: 30rem;                /* limita altura total en pantallas medianas */
  aspect-ratio: 1 / 1;              /* formatea a cuadrado para ahorrar altura */
  object-fit: cover;                /* recorte agradable */
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

/* 2) Ritmo vertical global alrededor del hero (sin tocar contenidos) */
.section.section--tight { padding-block: 2rem; }
.section { padding-block: 4rem; }   /* antes: 4rem (64px) — mantenemos como base */
.why-section { padding-top: 3.5rem; } /* evita salto fuerte tras hero */

/* 3) Breakpoints — portátiles 1366/1440 */
@media (max-height: 900px) and (min-width: 1200px) {
  .hero { padding-block: 2.5rem; }
  .hero h1 { font-size: clamp(1.625rem, 3.6vw, 2.75rem); }
  .hero-image img { width: min(27rem, 38vw); max-height: 27rem; }
}

/* 4) Móvil — mantenemos compacidad existente, solo pequeños ajustes */
@media (max-width: 768px) {
  .hero { padding-block: 2rem; margin-bottom: 1rem; }
  .hero-content { gap: 1.2rem; }    /* reducción 20% adicional de 1.5rem */
  .hero-image img {
    width: 100%;
    max-width: 21.25rem;
    max-height: none;              /* elimina restricción de altura */
    aspect-ratio: 1 / 1;          /* formato cuadrado para coincidir con imagen 800x800 */
    object-fit: contain;          /* muestra toda la imagen sin recortar */
    object-position: center;      /* centra la imagen */
    border-radius: 16px;         /* esquinas redondeadas */
  }
}

/* ============================================
   FORM SECTION
   ============================================ */
.form-section {
    background: white;
    border-radius: 20px;
    padding: 28px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin: 60px auto;
    max-width: 1200px;
    scroll-margin-top: 70px;
}

.form-header {
    text-align: center;
    margin-bottom: 18px;
}

.form-header h2 {
    color: #1a73e8;
    font-size: 1.75rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.form-header p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
}

.form-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 0;
}

.form-group-full {
    margin-top: 9px;
    margin-bottom: 16px;
}

.form-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 1rem;
}

.form-label .icon {
    font-size: 1.3rem;
    margin-right: 10px;
    color: #1a73e8;
}

.form-input {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.form-select {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-select:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
}

.field-helper {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
    font-style: italic;
    padding-left: 5px;
}

.error-message {
    font-size: 0.9rem;
    color: #d32f2f;
    margin-top: 8px;
    padding: 10px 15px;
    background: #ffebee;
    border-left: 3px solid #d32f2f;
    border-radius: 6px;
    animation: slideDown 0.3s ease;
}

.success-hint {
    font-size: 0.85rem;
    color: #2e7d32;
    margin-top: 8px;
    padding: 8px 15px;
    background: #e8f5e9;
    border-left: 3px solid #2e7d32;
    border-radius: 6px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-input.valid {
    border-color: #2e7d32;
    background: #f1f8f4;
}

.form-input.invalid {
    border-color: #d32f2f;
    background: #fff5f5;
}

.btn-add-person {
    background: white;
    border: 2px dashed #1a73e8;
    color: #1a73e8;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
    width: 100%;
    font-family: inherit;
}

.btn-add-person:hover {
    background: #f0f7ff;
    border-color: #0d47a1;
    color: #0d47a1;
}

.persona-adicional {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #1a73e8;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.persona-adicional .form-label {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.btn-remove-person {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-person:hover {
    background: #b71c1c;
    transform: scale(1.1);
}

.persona-count {
    display: inline-block;
    background: #1a73e8;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    text-align: center;
    line-height: 28px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-left: 8px;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #ff9800 0%, #e91e63 100%);
    color: white;
    padding: 10px;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    margin-top: 12px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 152, 0, 0.5);
}

.submit-button:active {
    transform: translateY(0);
}

/* About CTA Button - Same style as submit-button */
#about-cta {
    display: inline-block;
    background: linear-gradient(135deg, #ff9800 0%, #e91e63 100%);
    color: white;
    padding: 10px 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    text-decoration: none;
}

#about-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 152, 0, 0.5);
}

#about-cta:active {
    transform: translateY(0);
}

.privacy-note {
    text-align: center;
    font-size: 0.85rem;
    color: #999;
    margin-top: 12px;
    line-height: 1.5;
}

.privacy-note a {
    color: #1a73e8;
    text-decoration: none;
}

@media (max-width: 768px) {
    .form-section {
        padding: 24px 18px;
    }
    .form-header {
        margin-bottom: 14px;
    }
    .form-header h2 {
        font-size: 1.5rem;
    }
    .form-container {
        max-width: 100%;
    }
    .form-fields-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-group {
        margin-bottom: 18px;
    }
    .form-group-full {
        margin-top: 0;
    }
    .form-label {
        margin-bottom: 8px;
    }
    .form-input,
    .form-select {
        padding: 10px 14px;
    }
    .field-helper {
        font-size: 0.75rem;
        margin-top: 3px;
    }
    .submit-button {
        font-size: 1.1rem;
    }
    #about-cta {
        font-size: 1.1rem;
        padding: 10px 1.5rem;
    }
}

/* ============================================
   CTA SECTION (After Comparison)
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #e3f2fd 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin: 60px auto;
    border: 2px solid #1a73e8;
    box-shadow: 0 10px 40px rgba(26, 115, 232, 0.15);
    max-width: 1200px;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.2rem;
    color: #0d47a1;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    background: linear-gradient(135deg, #ff9800 0%, #e91e63 100%);
    color: white;
    border: none;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: inherit;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 152, 0, 0.5);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

.cta-note {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #999;
    font-style: italic;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 40px 20px;
        margin: 40px auto;
    }
    .cta-title {
        font-size: 1.7rem;
    }
    .cta-subtitle {
        font-size: 1.1rem;
    }
    .cta-button {
        padding: 18px 35px;
        font-size: 1.1rem;
    }
}
