﻿/* ============================================
   ILENA FINAL - ESTILOS PROFESIONALES
   Paleta: Celeste #00BCD4, Verde #B4D455, Naranja #FF8C00
   ============================================ */

:root {
    --primary: #00BCD4;
    --primary-dark: #00ACC1;
    --primary-light: #4DD0E1;
    --secondary: #B4D455;
    --secondary-dark: #9AC33E;
    --accent: #FF8C00;
    --accent-dark: #E67E00;
    --dark: #1a202c;
    --dark-light: #2d3748;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-lighter: #e2e8f0;
    --light: #f7fafc;
    --white: #ffffff;
    --danger: #e53e3e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 100px 0;
}

.section-gray {
    background: var(--light);
}

.section-dark {
    background: var(--dark);
}

.section-accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light h2,
.section-header.light p {
    color: white;
}

.section-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.2);
}

.section-header h2 {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.1em;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.text-accent {
    color: var(--primary);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border-bottom: 1px solid var(--gray-lighter);
    transition: all 0.3s;
}

.nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--dark);
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary) !important;
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 8px;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
}

/* ============================================
   HERO - Sin precios
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-container {
    max-width: 800px;
    padding: 0 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5em;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    letter-spacing: -2px;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero .highlight {
    color: var(--primary);
}

.hero-text {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.benefit-icon {
    font-size: 1.3em;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.btn-white {
    background: white;
    color: var(--dark);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* ============================================
   CLIENT CARD
   ============================================ */
.client-card {
    background: white;
    border: 1px solid var(--gray-lighter);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.client-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.client-icon {
    font-size: 3em;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-info h2 {
    font-size: 1.8em;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
}

.client-info p {
    color: var(--gray);
}

.specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.specialties span {
    background: var(--light);
    border: 1px solid var(--gray-lighter);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.specialties span:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   PROBLEMS - Dark section
   ============================================ */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.problem-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s;
}

.problem-item:hover {
    background: rgba(255, 140, 0, 0.1);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.problem-icon {
    font-size: 2.5em;
    display: block;
    margin-bottom: 15px;
}

.problem-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.transition-message {
    text-align: center;
    padding: 30px;
    background: rgba(180, 212, 85, 0.1);
    border-radius: 16px;
    border: 1px solid var(--secondary);
}

.transition-message p {
    font-size: 1.3em;
    color: white;
    font-weight: 600;
}

.sparkle {
    font-size: 1.5em;
    margin-right: 10px;
}

/* ============================================
   VISION - Accent section
   ============================================ */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.vision-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
}

.vision-check {
    width: 36px;
    height: 36px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-weight: 800;
    flex-shrink: 0;
}

.vision-item p {
    color: white;
    font-size: 15px;
    font-weight: 500;
}

.vision-cta {
    text-align: center;
}

.vision-cta p {
    color: white;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: white;
    border: 2px solid var(--gray-lighter);
    border-radius: 16px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 188, 212, 0.1);
}

.feature-card.featured {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.feature-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.5;
}

/* ============================================
   MODULES
   ============================================ */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.module-card {
    background: white;
    border: 1px solid var(--gray-lighter);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 20px;
    position: relative;
    transition: all 0.3s;
}

.module-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.08);
}

.module-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.03) 0%, transparent 100%);
}

.module-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.module-badge.optional {
    background: var(--gray);
}

.module-num {
    font-size: 2.5em;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

.module-content h4 {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.module-content ul {
    list-style: none;
}

.module-content ul li {
    padding: 6px 0;
    font-size: 13px;
    color: var(--gray);
    position: relative;
    padding-left: 18px;
}

.module-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table {
    background: white;
    border: 1px solid var(--gray-lighter);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
}

.comp-header {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    background: var(--dark);
}

.comp-header .comp-col {
    padding: 25px 20px;
    text-align: center;
    color: white;
}

.comp-header .comp-col.label {
    background: var(--dark-light);
}

.comp-header .comp-col.competitor {
    background: var(--gray);
}

.comp-header .comp-col.ours {
    background: var(--primary);
}

.comp-logo {
    font-size: 2em;
    display: block;
    margin-bottom: 8px;
}

.comp-name {
    font-size: 1.1em;
    font-weight: 700;
    display: block;
}

.comp-type {
    font-size: 11px;
    opacity: 0.8;
}

.comp-body .comp-row {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    border-bottom: 1px solid var(--gray-lighter);
}

.comp-body .comp-row:last-child {
    border-bottom: none;
}

.comp-body .comp-row.highlight {
    background: rgba(0, 188, 212, 0.05);
}

.comp-body .comp-col {
    padding: 18px 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.comp-body .comp-col.label {
    font-weight: 600;
    color: var(--dark);
    background: var(--light);
}

.comp-body .comp-col.competitor,
.comp-body .comp-col.ours {
    justify-content: center;
    text-align: center;
}

.comp-body .comp-col.bad {
    color: var(--gray);
}

.comp-body .comp-col.good {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   DOCTORCLIQ PRICING
   ============================================ */
.doctorcliq-pricing {
    background: var(--light);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-bottom: 50px;
}

.doctorcliq-pricing h3 {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.pricing-item {
    background: white;
    border: 1px solid var(--gray-lighter);
    border-radius: 12px;
    padding: 20px 30px;
    min-width: 140px;
}

.pricing-item.accent {
    border-color: var(--accent);
    background: rgba(255, 140, 0, 0.05);
}

.pricing-label {
    display: block;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 8px;
}

.pricing-value {
    font-size: 1.5em;
    font-weight: 800;
    color: var(--dark);
}

.pricing-value small {
    font-size: 0.5em;
    font-weight: 400;
    color: var(--gray);
}

.pricing-note {
    font-size: 13px;
    color: var(--gray);
    font-style: italic;
}

/* ============================================
   SAVINGS CALCULATOR
   ============================================ */
.savings-calculator {
    background: white;
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    margin-bottom: 50px;
}

.savings-calculator h3 {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.calc-subtitle {
    color: var(--gray);
    margin-bottom: 25px;
}

.calc-slider {
    max-width: 400px;
    margin: 0 auto 30px;
}

.calc-slider input[type="range"] {
    width: 100%;
    height: 8px;
    background: var(--gray-lighter);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

.calc-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 188, 212, 0.3);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13px;
    color: var(--gray);
    font-weight: 600;
}

.calc-display {
    font-size: 2em;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 30px;
}

.calc-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.calc-result {
    padding: 25px;
    border-radius: 12px;
}

.calc-result.competitor {
    background: var(--light);
}

.calc-result.ours {
    background: rgba(0, 188, 212, 0.1);
}

.calc-result.savings {
    background: var(--secondary);
    color: var(--dark);
}

.result-label {
    display: block;
    font-size: 13px;
    margin-bottom: 10px;
    color: var(--gray);
}

.calc-result.savings .result-label {
    color: var(--dark);
}

.result-value {
    font-size: 1.8em;
    font-weight: 800;
    color: var(--dark);
}

.calc-result.ours .result-value {
    color: var(--primary);
}

/* ============================================
   CHARTS
   ============================================ */
.charts-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.chart-container {
    background: white;
    border: 1px solid var(--gray-lighter);
    border-radius: 20px;
    padding: 30px;
}

.chart-container h3 {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--dark);
}

.chart-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.chart-tab {
    padding: 10px 20px;
    background: var(--light);
    border: 2px solid var(--gray-lighter);
    color: var(--gray);
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.chart-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.chart-tab:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.chart-wrapper {
    height: 280px;
    margin-bottom: 20px;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray);
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 4px;
}

.legend-color.dc {
    background: var(--gray);
}

.legend-color.ss {
    background: var(--primary);
}

.bar-insight {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(180, 212, 85, 0.15);
    border: 1px solid var(--secondary);
    border-radius: 10px;
    padding: 15px;
}

.insight-icon {
    font-size: 1.3em;
}

.bar-insight p {
    font-size: 14px;
    color: var(--dark);
    margin: 0;
}

/* ============================================
   PROJECTION TABLES
   ============================================ */
.projection-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.projection-table {
    background: white;
    border: 1px solid var(--gray-lighter);
    border-radius: 16px;
    overflow: hidden;
}

.projection-table h4 {
    background: var(--light);
    padding: 20px;
    font-size: 1em;
    font-weight: 700;
    color: var(--dark);
    border-bottom: 1px solid var(--gray-lighter);
}

.projection-table table {
    width: 100%;
    border-collapse: collapse;
}

.projection-table th,
.projection-table td {
    padding: 15px 20px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-lighter);
}

.projection-table th {
    background: var(--light);
    font-weight: 600;
    color: var(--gray);
}

.projection-table tr:last-child td {
    border-bottom: none;
}

.projection-table tr.total {
    background: rgba(0, 188, 212, 0.05);
}

.negative {
    color: var(--danger);
}

.positive {
    color: var(--secondary-dark);
    font-weight: 600;
}

/* ============================================
   SAVINGS SUMMARY
   ============================================ */
.savings-summary {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.savings-card {
    flex: 0 0 280px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--dark);
}

.savings-icon {
    font-size: 3em;
}

.savings-amount {
    font-size: 2.5em;
    font-weight: 900;
    line-height: 1;
}

.savings-label {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

.savings-content p {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 10px;
}

.savings-bonus {
    flex: 1;
    background: var(--light);
    border: 2px dashed var(--secondary);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.savings-bonus span {
    font-size: 2.5em;
}

.savings-bonus p {
    font-size: 15px;
    color: var(--dark);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   INVESTMENT CARD
   ============================================ */
.investment-card {
    background: white;
    border: 2px solid var(--primary);
    border-radius: 24px;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto 50px;
    box-shadow: 0 20px 60px rgba(0, 188, 212, 0.15);
}

.promo-banner {
    background: var(--secondary);
    color: var(--dark);
    text-align: center;
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
}

.investment-content {
    padding: 50px 40px;
    text-align: center;
}

.investment-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.investment-price .currency {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary);
    margin-top: 15px;
}

.investment-price .amount {
    font-size: 5em;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.investment-label {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--dark);
}

.investment-note {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 30px;
}

.investment-includes h4 {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark);
}

.includes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    text-align: left;
}

.include-item {
    background: var(--light);
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 13px;
}

/* ============================================
   RECURRING COSTS
   ============================================ */
.recurring-section {
    margin-bottom: 40px;
}

.recurring-section h3 {
    text-align: center;
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark);
}

.costs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.cost-card {
    background: white;
    border: 1px solid var(--gray-lighter);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    position: relative;
}

.cost-card.highlight {
    border-color: var(--secondary);
    background: rgba(180, 212, 85, 0.05);
}

.cost-card.optional {
    border: 2px dashed var(--accent);
}

.cost-label {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
}

.cost-year {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 15px;
}

.cost-amount {
    font-size: 2.5em;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.cost-amount small {
    font-size: 0.4em;
    font-weight: 400;
    color: var(--gray);
}

.cost-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--dark);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 12px;
}

.cost-detail {
    font-size: 14px;
    color: var(--gray);
    margin-top: 10px;
}

.cost-card>p {
    font-size: 13px;
    color: var(--gray);
    margin-top: 15px;
}

/* ============================================
   SCENARIO TABS & PAYMENT
   ============================================ */
.scenario-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.scenario-tab {
    padding: 14px 30px;
    background: white;
    border: 2px solid var(--gray-lighter);
    color: var(--gray);
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.scenario-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.scenario-tab:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.scenario-content {
    display: none;
}

.scenario-content.active {
    display: block;
}

.scenario-note {
    text-align: center;
    background: var(--light);
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.scenario-note.highlight {
    background: rgba(180, 212, 85, 0.15);
    border: 1px solid var(--secondary);
    color: var(--dark);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.payment-card {
    background: white;
    border: 2px solid var(--gray-lighter);
    border-radius: 16px;
    padding: 35px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.payment-card:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.payment-card.featured {
    border-color: var(--primary);
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 188, 212, 0.15);
}

.payment-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.payment-card h4 {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.payment-price {
    font-size: 2.2em;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.payment-price small {
    font-size: 0.45em;
    font-weight: 400;
    color: var(--gray);
}

.payment-discount {
    font-size: 13px;
    color: var(--gray);
    margin: 10px 0 25px;
}

.payment-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
}

.payment-card ul li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--gray);
    border-bottom: 1px solid var(--gray-lighter);
}

.payment-card ul li:last-child {
    border-bottom: none;
}

.payment-total {
    background: var(--light);
    border-radius: 12px;
    padding: 15px;
}

.payment-total span {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 5px;
}

.payment-total strong {
    font-size: 1.4em;
    color: var(--primary);
}

.payment-methods {
    text-align: center;
}

.payment-methods h4 {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark);
}

.methods-list {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.methods-list span {
    background: white;
    border: 1px solid var(--gray-lighter);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--gray-lighter);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark);
}

.faq-toggle {
    width: 28px;
    height: 28px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    color: var(--primary);
    transition: all 0.3s;
}

.faq-item.active .faq-toggle {
    background: var(--primary);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(0, 188, 212, 0.3);
}

.timeline-content {
    flex: 1;
    background: var(--light);
    border-radius: 16px;
    padding: 25px;
}

.timeline-period {
    display: inline-block;
    background: var(--secondary);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.timeline-content p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

/* ============================================
   CTA
   ============================================ */
.section-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    padding: 100px 0;
}

.cta-content h2 {
    font-size: 2.5em;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.cta-content>p {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.footer-brand h4 {
    font-size: 1em;
    font-weight: 700;
}

.footer-brand p {
    font-size: 13px;
    opacity: 0.6;
}

.footer-meta {
    display: flex;
    gap: 30px;
    font-size: 13px;
    opacity: 0.6;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    transition-delay: calc(var(--delay, 0) * 0.1s);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {

    .features-grid,
    .costs-grid,
    .charts-section {
        grid-template-columns: 1fr;
    }

    .projection-tables {
        grid-template-columns: 1fr;
    }

    .hero-benefits {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .container {
        padding: 0 25px;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero-benefits {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .problems-grid,
    .vision-grid,
    .modules-grid,
    .payment-grid,
    .costs-grid {
        grid-template-columns: 1fr;
    }

    .comp-header,
    .comp-body .comp-row {
        grid-template-columns: 1fr;
    }

    .comp-header .comp-col.label,
    .comp-body .comp-col.label {
        display: none;
    }

    .savings-summary {
        flex-direction: column;
    }

    .savings-card {
        flex: auto;
    }

    .includes-grid {
        grid-template-columns: 1fr;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .calc-results {
        grid-template-columns: 1fr;
    }

    .scenario-tabs {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 15px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-meta {
        flex-direction: column;
        gap: 10px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Print */
@media print {

    .nav,
    .hero-actions,
    .btn,
    .scroll-indicator {
        display: none;
    }

    .section {
        padding: 40px 0;
        page-break-inside: avoid;
    }

    body {
        background: white;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}
/* ============================================
   PORTFOLIO / TRABAJOS REALIZADOS
   ============================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 950px;
    margin: 0 auto;
}

.portfolio-item {
    background: white;
    border: 2px solid var(--gray-lighter);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.portfolio-item:hover::before {
    transform: scaleX(1);
}

.portfolio-item:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 188, 212, 0.15);
}

.portfolio-logo {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    margin-bottom: 25px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s;
}

.portfolio-item:hover .portfolio-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.portfolio-content h4 {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.portfolio-content p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.portfolio-tag {
    background: var(--light);
    color: var(--gray);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.portfolio-item:hover .portfolio-tag {
    background: var(--primary);
    color: white;
}

/* Responsive Portfolio */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-item {
        padding: 30px 25px;
    }
    
    .portfolio-logo {
        height: 60px;
        margin-bottom: 20px;
    }
    
    .portfolio-content h4 {
        font-size: 1.1em;
    }
    
    .portfolio-content p {
        font-size: 13px;
    }
}

/* Portfolio Screenshots */
.portfolio-screenshots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 25px;
    border-radius: 12px;
    overflow: hidden;
}

.portfolio-screenshot {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid var(--gray-lighter);
}

.portfolio-screenshot:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
    z-index: 10;
}

@media (max-width: 768px) {
    .portfolio-screenshots {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .portfolio-screenshot {
        height: 120px;
    }
}

/* ============================================
   LIGHTBOX / MODAL PARA IMAGENES
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    animation: lightboxZoom 0.3s ease;
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: white;
    color: var(--dark);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: var(--dark);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-nav:hover {
    background: var(--primary);
    color: white;
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

/* Mejoras Portfolio */
.portfolio-screenshot {
    cursor: zoom-in;
    position: relative;
}

.portfolio-screenshot::after {
    content: '\uD83D\uDD0D';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.portfolio-screenshot:hover::after {
    opacity: 1;
}

/* Badge de cantidad */
.portfolio-item .project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

/* Stat del proyecto */
.portfolio-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-lighter);
}

.portfolio-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--gray);
}

.portfolio-stat-value {
    font-weight: 700;
    color: var(--dark);
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 10px; right: 10px; }
    .lightbox-caption { bottom: 70px; }
}
