/* ===== CSS PRINCIPAL ===== */

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

:root {
    --primary: #18355E;
    --secondary: #FF6B35;
    --accent: #10B981;
    --neutral: #F5F5F5;
    --text: #1E293B;
    --text-light: #475569;
    --border: #E2E8F0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER / NAV ===== */
header {
    background: white;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

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

nav a:hover {
    color: var(--secondary);
}

.cta-button {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.cta-button:hover {
    background: #0F1F3A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 53, 94, 0.2);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta-button.secondary:hover {
    background: var(--primary);
    color: white;
}

.cta-button.large {
    padding: 16px 48px;
    font-size: 18px;
}

/* ===== HERO ===== */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
}

.hero h1 .highlight {
    color: var(--secondary);
}

.hero .subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.benefits {
    list-style: none;
    margin-bottom: 30px;
}

.benefits li {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 20px;
}

.cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.small-text {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== MÓDULOS ===== */
.modules {
    padding: 80px 0;
    background: white;
}

.modules h2 {
    font-size: 36px;
    margin-bottom: 60px;
    text-align: center;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.module-card {
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.module-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 12px 24px rgba(255, 107, 53, 0.1);
    transform: translateY(-4px);
}

.module-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

/* Colores - Todos naranja */
.module-card:nth-child(1) .module-icon {
    background: linear-gradient(135deg, var(--secondary), #ff8a5c);
}

.module-card:nth-child(2) .module-icon {
    background: linear-gradient(135deg, var(--secondary), #ff8a5c);
}

.module-card:nth-child(3) .module-icon {
    background: linear-gradient(135deg, var(--secondary), #ff8a5c);
}

.module-icon svg {
    width: 32px;
    height: 32px;
}

.module-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.module-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text);
}

.module-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== SECCIÓN ALTERNADA ===== */
.alternate {
    padding: 80px 0;
    background: #F8FAFC;
}

.alternate h2 {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.step {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.step:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: block;
}

.step h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text);
}

.step p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    padding: 80px 0;
    background: white;
}

.benefits-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.benefit-item {
    padding: 30px;
    background: #F8FAFC;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

.benefit-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.benefit-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== PRICING ===== */
.pricing-section {
    padding: 80px 0;
    background: #F8FAFC;
}

.pricing-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
    text-align: center;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 60px;
}

.toggle-btn {
    padding: 12px 30px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    color: var(--text);
}

.toggle-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    position: relative;
    transition: all 0.3s;
}

.pricing-card.popular {
    border: 2px solid var(--secondary);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--secondary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.plan-subtitle {
    color: var(--text-light);
    margin-bottom: 20px;
}

.price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.price span {
    font-size: 16px;
    color: var(--text-light);
}

.pricing-card .cta-button {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.features {
    list-style: none;
}

.features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    position: relative;
    padding-left: 25px;
}

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

.features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ===== FAQ ===== */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-section h2 {
    font-size: 36px;
    margin-bottom: 60px;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: #F8FAFC;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text);
    font-size: 16px;
    transition: all 0.3s;
}

.faq-question:hover {
    background: #F1F5F9;
}

.faq-question svg {
    transition: transform 0.3s;
    color: var(--secondary);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== FINAL CTA ===== */
.final-cta {
    padding: 80px 0;
    background: #F8FAFC;
    color: var(--text);
    text-align: center;
}

.final-cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text);
}

.final-cta p {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-light);
}

.final-cta .cta-button {
    background: var(--secondary);
    color: white;
    padding: 16px 48px;
    font-size: 18px;
}

/* ===== FOOTER ===== */
footer {
    background: #0A1428;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-logo p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: white;
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}
