/* ============================================================
   SIMULADOR CICAPER 2026 - Landing Page Premium
   Paleta: Azul #0066CC | Dorado #FFD700 | Verde #00A86B
   ============================================================ */

:root {
    /* Colores principales */
    --primary: #0066CC;
    --primary-dark: #004C99;
    --primary-light: #3385D6;
    --secondary: #FFD700;
    --secondary-dark: #E6C200;
    --accent: #00A86B;
    --accent-dark: #008F5A;
    
    /* Neutros */
    --bg: #F8F9FA;
    --bg-white: #FFFFFF;
    --bg-dark: #0F172A;
    --text: #2C3E50;
    --text-light: #64748B;
    --text-muted: #94A3B8;
    --border: #E2E8F0;
    
    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 10px 30px rgba(0, 102, 204, 0.25);
    
    /* Bordes */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    
    /* Tipografía */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ============ RESET ============ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ============ UTILIDADES ============ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============ BOTONES ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 102, 204, 0.05);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.logo-subtitle {
    font-size: 10px;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 102, 204, 0.04);
    border-radius: 12px;
    padding: 6px 8px;
}

.nav-link {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    border-radius: 8px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(0, 102, 204, 0.08);
}

.nav-link.is-active {
    color: var(--primary);
    font-weight: 600;
    background: rgba(0, 102, 204, 0.08);
}

.nav-link-login {
    color: var(--primary);
    font-weight: 600;
    border: 1px solid rgba(0, 102, 204, 0.2);
    margin-left: 4px;
}

.nav-link-login:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.header-cta {
    padding: 10px 20px;
    font-size: 14px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 10;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 100px;
    overflow: hidden;
    background: linear-gradient(135deg, #0066CC 0%, #004C99 50%, #002D5F 100%);
    color: white;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 168, 107, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: -50px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--primary-light);
    top: 50%;
    left: 50%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--secondary) 0%, #FFA500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-year {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.6em;
    margin-left: 8px;
    vertical-align: middle;
    box-shadow: var(--shadow);
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.hero-subtitle strong {
    color: white;
    font-weight: 600;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-buttons .btn-outline {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Hero Visual Card */
.hero-visual {
    position: relative;
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    color: var(--text);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: var(--transition);
}

.hero-card:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.hero-card-badge {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.hero-card-time {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
    font-variant-numeric: tabular-nums;
}

.hero-card-question {
    margin-bottom: 20px;
}

.q-number {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.q-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    font-weight: 500;
}

.hero-card-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.q-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 13px;
    transition: var(--transition-fast);
}

.q-option.selected {
    background: rgba(0, 102, 204, 0.08);
    border-color: var(--primary);
}

.q-letter {
    width: 24px;
    height: 24px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.q-option.selected .q-letter {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.hero-card-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 4px;
    transition: width 1s ease;
}

.progress-text {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
    white-space: nowrap;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ============ PRODUCTOS ============ */
.productos {
    background: var(--bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border);
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent, var(--primary));
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--secondary), #FFA500);
    color: var(--text);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: var(--shadow);
}

.product-featured {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.product-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-icon svg {
    width: 32px;
    height: 32px;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.price-current {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-original {
    font-size: 1.125rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-discount {
    background: var(--accent);
    color: white;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.product-features {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
}

.product-features svg {
    color: var(--accent);
    flex-shrink: 0;
}

.product-btn {
    width: 100%;
    padding: 14px 20px;
}

/* ============ FEATURES ============ */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    background: white;
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    box-shadow: var(--shadow-primary);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.feature-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============ ESTRUCTURA ============ */
.structure {
    background: var(--bg);
}

.blocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.block-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.block-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--block-color, var(--primary));
}

.block-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.block-number {
    width: 40px;
    height: 40px;
    background: var(--block-color, var(--primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
}

.block-questions {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.block-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.3;
}

.block-age {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-style: italic;
}

.block-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 16px;
}

.block-progress {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.block-progress-bar {
    height: 100%;
    background: var(--block-color, var(--primary));
    border-radius: 3px;
    transition: width 1s ease;
}

.structure-total {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 40px;
    border-radius: var(--radius-lg);
    color: white;
}

.total-item {
    text-align: center;
}

.total-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--secondary);
    margin-bottom: 8px;
}

.total-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ============ ESCALAS ============ */
.scales {
    background: white;
}

.scales-container {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.scales-table {
    width: 100%;
    border-collapse: collapse;
}

.scales-table thead {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.scales-table th {
    padding: 16px 24px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scales-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.scales-table tbody tr {
    transition: var(--transition-fast);
}

.scales-table tbody tr:hover {
    background: white;
}

.scales-table tbody tr:last-child td {
    border-bottom: none;
}

.scale-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.scale-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    width: fit-content;
}

.scale-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.status-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.status-pass {
    background: rgba(0, 168, 107, 0.1);
    color: var(--accent);
}

.status-premium {
    background: linear-gradient(135deg, var(--secondary), #FFA500);
    color: var(--text);
}

/* ============ PRECIOS ============ */
.pricing {
    background: var(--bg);
}

.pricing-table-container {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table thead {
    background: var(--text);
    color: white;
}

.pricing-table th {
    padding: 16px 24px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
}

.pricing-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.pricing-table tbody tr:hover {
    background: var(--bg);
}

.promo-tag {
    display: inline-block;
    background: var(--secondary);
    color: var(--text);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 8px;
    letter-spacing: 0.5px;
}

.price-old {
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-highlight strong {
    color: var(--primary);
    font-size: 1.25rem;
}

.savings {
    background: rgba(0, 168, 107, 0.1);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
}

.payment-methods {
    text-align: center;
}

.payment-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.payment-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-weight: 500;
    transition: var(--transition);
}

.payment-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.payment-icon {
    font-size: 20px;
}

/* ============ CONTACTO ============ */
.contact {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.contact-form-container {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition-fast);
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-title {
    color: white;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 320px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--secondary);
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ============ ANIMACIONES ============ */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
    .hero-container {
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .section { padding: 70px 0; }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-card {
        transform: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info .section-title,
    .contact-info .section-subtitle {
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    
    .section { padding: 60px 0; }
    
    .section-header { margin-bottom: 40px; }
    
    .header-container {
        padding: 0 4px;
    }
    
    .logo-text {
        display: none;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        z-index: 5;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-overlay.nav-overlay-active {
        opacity: 1;
        visibility: visible;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: stretch;
        padding: 100px 24px 24px;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        gap: 4px;
        border-radius: 16px 0 0 16px;
        z-index: 10;
    }
    
    .nav.nav-mobile-open {
        right: 0;
    }
    
    .nav-link {
        padding: 14px 16px;
        font-size: 16px;
        border-bottom: 1px solid var(--border);
        border-radius: 8px;
    }
    
    .nav-link-login {
        margin-left: 0;
        margin-top: 8px;
        text-align: center;
        border-color: var(--primary);
        background: var(--primary);
        color: white;
    }
    
    .header-cta {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 16px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-divider {
        height: 30px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .products-grid,
    .features-grid,
    .blocks-grid {
        grid-template-columns: 1fr;
    }
    
    .structure-total {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 20px;
    }
    
    .total-number {
        font-size: 2.25rem;
    }
    
    .scales-table,
    .pricing-table {
        display: block;
        overflow-x: auto;
    }
    
    .scales-table th,
    .scales-table td,
    .pricing-table th,
    .pricing-table td {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-year {
        display: block;
        margin: 12px auto 0;
        width: fit-content;
    }
    
    .promo-badge {
        font-size: 10px;
        padding: 6px 12px;
    }
    
    .product-card {
        padding: 24px;
    }
    
    .price-current {
        font-size: 1.75rem;
    }
    
    .payment-icons {
        gap: 12px;
    }
    
    .payment-item {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .contact-form-container {
        padding: 24px;
    }
}

/* ============ ACCESIBILIDAD ============ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

::selection {
    background: var(--primary);
    color: white;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}