/* --- ESTILOS COMPLETOS Y CENTRALIZADOS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-yellow: #FFD23F;
    --primary-orange: #F7931E;
    --primary-blue: #1a1a2e;
    --secondary-dark: #0F0F0F;
    --text-dark: #2C2C2C;
    --text-light: #6C757D;
    --light-color: #FFFFFF;
    --bg-light: #FAFBFC;
    --bg-gray: #F7F8FA;
    --border-color: #E9ECEF;
    --success-color: #28A745;
    --gradient-logo: linear-gradient(135deg, #FFD23F 0%, #F7931E 100%);
    --gradient-primary: linear-gradient(135deg, #F7931E 0%, #FFD23F 100%);
    --gradient-blue: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    overflow-x: hidden;
    background: var(--light-color);
    font-size: 15px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--primary-orange); border-radius: 4px; }

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.4s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
header.scrolled { padding: 10px 0; background: rgba(255, 255, 255, 0.98); }
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%;
    max-width: 1400px;
    margin: 0 auto;
}
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.logo:hover { transform: scale(1.05); }
.logo-image {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(247, 147, 30, 0.3));
}
.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}
.nav-links {
    display: none; /* Oculto por defecto, se muestra en responsive */
    list-style: none;
    gap: 40px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 14px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}
.nav-links a:hover { color: var(--primary-blue); }
.nav-links a:hover::after { width: 100%; }
.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}
.btn i { margin-right: 6px; }
.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}
.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 26, 46, 0.2);
}
.btn-primary {
    background: var(--gradient-primary);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(247, 147, 30, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 147, 30, 0.4);
}
.mobile-menu { display: block; font-size: 24px; cursor: pointer; color: var(--primary-blue); }

/* Hero Section */
.hero {
    margin-top: 90px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://picsum.photos/seed/cuba-map/1920/1080') center/cover;
    opacity: 0.1;
}
.hero-shapes { position: absolute; width: 100%; height: 100%; overflow: hidden; }
.shape { position: absolute; opacity: 0.1; }
.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-yellow);
    border-radius: 50%;
    top: 10%;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}
.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-orange);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: 10%;
    left: 5%;
    animation: float 10s ease-in-out infinite reverse;
}
.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--light-color);
    border-radius: 50%;
    top: 50%;
    right: 20%;
    animation: float 12s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}
.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
    text-align: center;
}
.hero-text { animation: fadeInUp 1s ease; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-subtitle {
    color: var(--primary-yellow);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 210, 63, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: white;
    margin-bottom: 30px;
    line-height: 1.2;
    font-weight: 800;
}
.hero h1 span { color: var(--primary-yellow); position: relative; }
.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-yellow);
    border-radius: 2px;
}
.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
}
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.btn-hero { padding: 16px 35px; font-size: 15px; border-radius: 50px; }
.btn-white { background: white; color: var(--primary-blue); }
.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.hero-image { position: relative; animation: fadeInRight 1s ease; }
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
.hero-image-container {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}
.hero-image img { width: 100%; border-radius: 15px; display: block; }
.floating-elements { position: absolute; width: 100%; height: 100%; }
.floating-element {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(247, 147, 30, 0.4);
}
.element-1 {
    width: 80px;
    height: 80px;
    top: -20px;
    right: -20px;
    font-size: 24px;
    animation: bounce 3s ease-in-out infinite;
}
.element-2 {
    width: 60px;
    height: 60px;
    bottom: -15px;
    left: -15px;
    font-size: 18px;
    animation: bounce 3s ease-in-out infinite 1s;
}
.element-3 {
    width: 50px;
    height: 50px;
    top: 50%;
    right: -25px;
    font-size: 16px;
    animation: bounce 3s ease-in-out infinite 2s;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Sections */
.features, .process, .testimonials, .contact, .calculator {
    padding: 80px 5%;
}
.features { background: var(--bg-light); }
.process { background: white; position: relative; }
.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://picsum.photos/seed/pattern-bg/1920/800') center/cover;
    opacity: 0.03;
}
.calculator { background: var(--bg-light); }
.testimonials { background: white; }
.contact { background: var(--bg-light); }

.container { max-width: 1400px; margin: 0 auto; }
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-subtitle {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
    padding: 8px 20px;
    background: rgba(247, 147, 30, 0.1);
    border-radius: 50px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}
.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(247, 147, 30, 0.3);
}
.feature-card:hover .feature-icon { transform: rotateY(360deg) scale(1.1); }
.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}
.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.feature-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.feature-link:hover {
    gap: 15px;
    color: var(--primary-orange);
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.process-item {
    text-align: center;
    position: relative;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}
.process-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.process-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(247, 147, 30, 0.4);
}
.process-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border: 3px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-blue);
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}
.process-item:hover .process-icon {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: scale(1.1);
}
.process-item h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}
.process-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Calculator */
.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}
.calculator-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: translate(100px, -100px);
    opacity: 0.1;
}
.calculator-form { display: grid; gap: 30px; position: relative; z-index: 1; }
.form-group { display: flex; flex-direction: column; }
.form-group label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 14px;
}
.form-control {
    padding: 18px 25px;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--bg-light);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(26, 26, 46, 0.1);
    background: white;
}
.result-section {
    background: var(--gradient-primary);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}
.result-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.result-amount {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.result-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 1;
}
.result-item { text-align: center; }
.result-label {
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.result-value {
    font-size: 18px;
    font-weight: 700;
    margin-top: 8px;
}

/* Stats */
.stats {
    padding: 80px 5%;
    background: var(--primary-blue);
    color: white;
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://picsum.photos/seed/stats-pattern/1920/600') center/cover;
    opacity: 0.05;
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.stat-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-yellow);
    margin-bottom: 10px;
}
.stat-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}
.testimonial-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}
.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 50px;
    color: var(--primary-blue);
    opacity: 0.1;
}
.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    z-index: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-blue);
}
.author-info h4 {
    color: var(--primary-blue);
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 700;
}
.author-info p { color: var(--text-light); font-size: 13px; }
.stars { color: var(--primary-yellow); font-size: 18px; margin-bottom: 20px; }

/* CTA */
.cta {
    padding: 80px 5%;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://picsum.photos/seed/cta-pattern/1920/600') center/cover;
    opacity: 0.1;
}
.cta-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 25px;
    font-weight: 800;
}
.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}
.btn-cta {
    padding: 18px 45px;
    font-size: 16px;
    background: white;
    color: var(--primary-orange);
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.btn-cta:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Contact */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.contact-info h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-weight: 800;
}
.contact-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 1rem;
}
.contact-items { display: flex; flex-direction: column; gap: 25px; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}
.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(247, 147, 30, 0.3);
}
.contact-text h4 {
    color: var(--primary-blue);
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 700;
}
.contact-text p { color: var(--text-light); font-size: 14px; margin: 0; }
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}
.contact-form h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-weight: 700;
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: white;
    padding: 60px 5% 30px;
}
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
    text-align: center;
}
.footer-section h3 {
    margin-bottom: 25px;
    color: var(--primary-yellow);
    font-size: 18px;
    font-weight: 700;
}
.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 14px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}
.footer-links a:hover {
    color: var(--primary-yellow);
    transform: translateX(5px);
}
.footer-links i {
    font-size: 10px;
    transition: transform 0.3s ease;
}
.footer-links a:hover i { transform: translateX(5px); }
.social-links { display: flex; gap: 15px; justify-content: center; margin-top: 25px; }
.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    font-size: 16px;
}
.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* Utility Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modal for CAPTCHA */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    animation: fadeIn 0.3s;
}
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 30px;
    border: none;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: slideIn 0.3s;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}
.close:hover, .close:focus { color: black; }
#captcha-question { font-size: 1.5rem; color: var(--primary-blue); margin: 20px 0; }
#captcha-answer { width: 80%; padding: 10px; margin-bottom: 20px; border: 1px solid #ccc; border-radius: 5px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* --- Estilos Específicos para el Panel de Administración --- */
body.admin-layout {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    display: flex;
    background-color: #f4f7f6;
}
.sidebar {
    display: none; /* Oculto por defecto, se muestra en responsive */
    width: 260px;
    background: #1a1a2e;
    color: white;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 20px;
    z-index: 999;
}
.sidebar h3 { text-align: center; color: #FFD23F; margin-bottom: 30px; }
.sidebar a {
    color: #b0b0b0;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    transition: all 0.3s;
}
.sidebar a:hover, .sidebar a.active {
    background-color: #2a2a3e;
    color: white;
    border-left: 4px solid #F7931E;
}
.content {
    margin-left: 0;
    padding: 20px;
    flex-grow: 1;
}
.content-header {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.content-header h1 { margin: 0; color: #1a1a2e; }
.content-body {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}
th {
    background-color: #f2f2f2;
    font-weight: 600;
}
.notification {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}
.notification.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 5px solid var(--primary-orange, #F7931E);
}
.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.stat-info h3 {
    font-size: 2rem;
    color: var(--primary-blue, #1a1a2e);
    margin: 0;
    font-weight: 800;
}
.stat-info p {
    color: var(--text-light, #6C757D);
    margin: 5px 0 0 0;
    font-size: 14px;
}
.activity-table-container h3 {
    margin-top: 0;
    color: var(--primary-blue, #1a1a2e);
}
.status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.status-pending { background-color: #fff3cd; color: #856404; }
.status-completed { background-color: #d4edda; color: #155724; }
.status-failed { background-color: #f8d7da; color: #721c24; }

/* --- Estilos Específicos para el Dashboard del Cliente --- */
body.dashboard-page {
    background-color: #f4f7f6;
    color: var(--text-dark);
}
body.dashboard-page header {
    background: white;
    padding: 20px 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
body.dashboard-page header h1 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
}
body.dashboard-page main {
    padding: 40px 5%;
    max-width: 1200px;
    margin: 0 auto;
}
body.dashboard-page section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}
body.dashboard-page h2 {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-orange);
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 700;
}
body.dashboard-page .form-group label {
    color: var(--text-dark);
    font-weight: 600;
}
body.dashboard-page .form-control {
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
}
body.dashboard-page .form-control:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(247, 147, 30, 0.2);
}
body.dashboard-page .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 25px;
}
body.dashboard-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 147, 30, 0.4);
}
body.dashboard-page table th {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-weight: 600;
}
body.dashboard-page table tbody tr:hover {
    background-color: var(--bg-light);
}

/* --- Estilos Específicos para Login/Register --- */
body.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-color: #f0f2f5;
}
.login-container, .register-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}
.login-container h2, .register-container h2 {
    color: #1a1a2e;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 20px;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}
.btn {
    width: 100%;
    padding: 12px;
    background: #F7931E;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}
.btn:hover { background: #e0830d; }

/* --- Diseño Responsivo Mejorado (Mobile-First) --- */

/* Large Phones / Small Tablets */
@media (min-width: 576px) {
    .hero-content { gap: 60px; }
    .hero h1 { font-size: 3rem; }
    .features-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .result-details { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-container { gap: 40px; }
    .content-header { flex-direction: column; align-items: flex-start; }
    .content-header h1 { margin-bottom: 10px; }
}

/* Tablets */
@media (min-width: 768px) {
    .nav-links { display: flex; }
    .mobile-menu { display: none; }
    .hero-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 80px;
    }
    .hero h1 { font-size: 3.5rem; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: repeat(4, 1fr); text-align: left; }
    .social-links { justify-content: flex-start; }
    body.dashboard-page main { padding: 40px 3%; }
    body.admin-layout .sidebar { display: block; }
    body.admin-layout .content { margin-left: 260px; }
    .login-container, .register-container { max-width: 450px; }
}

/* Laptops / Small Desktops */
@media (min-width: 992px) {
    .hero h1 { font-size: 4rem; }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-container { gap: 80px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { max-width: 1000px; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Large Desktops */
@media (min-width: 1200px) {
    .nav-links { gap: 40px; }
    .features-grid { gap: 40px; }
    .process-grid { gap: 50px; }
    .testimonials-grid { gap: 40px; }
    .content-body { padding: 40px; }
    .features, .process, .testimonials, .contact, .calculator { padding: 120px 5%; }
    .stats { padding: 100px 5%; }
    .cta { padding: 120px 5%; }
    .contact { padding: 120px 5%; }
}

/* --- Estilos Específicos para el Dashboard del Cliente --- */
body.client-layout {
    display: flex;
    background-color: #f4f7f6;
    color: var(--text-dark);
}

/* Sidebar de Navegación del Cliente */
.client-sidebar {
    width: 280px;
    background: var(--primary-blue);
    color: white;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}
.client-sidebar .client-profile-header {
    text-align: center;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.client-sidebar .client-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--primary-orange);
    margin-bottom: 15px;
}
.client-sidebar .client-info h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}
.client-sidebar .client-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}
.client-sidebar .client-nav {
    flex-grow: 1;
    padding: 20px 0;
}
.client-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}
.client-sidebar .nav-link:hover, .client-sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: var(--primary-orange);
}
.client-sidebar .nav-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}
.client-sidebar .logout-btn-container {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.client-sidebar .btn-logout {
    width: 100%;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
}
.client-sidebar .btn-logout:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

/* Contenido Principal del Cliente */
.client-main-content {
    margin-left: 280px;
    padding: 30px;
    flex-grow: 1;
    background-color: #f4f7f6;
}
.client-main-content .content-header {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.client-main-content .content-header h1 {
    margin: 0 0 10px 0;
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
}
.client-main-content .content-header p {
    margin: 0;
    color: var(--text-light);
}
.client-main-content .content-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.client-main-content .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}
.client-main-content .section-header h2 {
    margin: 0;
    color: var(--primary-blue);
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.client-main-content .section-header h2 i {
    font-size: 1.2rem;
    color: var(--primary-orange);
}
.client-main-content .section-header p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}
.client-main-content .btn-edit-profile {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.client-main-content .btn-edit-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 147, 30, 0.4);
}
.client-main-content .profile-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.client-main-content .form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}
.client-main-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.9rem;
}
.client-main-content table th, .client-main-content table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.client-main-content table th {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-weight: 600;
}
.client-main-content table tbody tr:hover {
    background-color: var(--bg-light);
}

/* Responsive para el Dashboard del Cliente */
@media (max-width: 768px) {
    .client-sidebar {
        transform: translateX(-100%);
        z-index: 1001;
    }
    .client-sidebar.open {
        transform: translateX(0);
    }
    .client-main-content {
        margin-left: 0;
    }
    .client-main-content .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .client-main-content .section-header h2 {
        font-size: 1.2rem;
    }
    .client-main-content .btn-edit-profile {
        width: 100%;
    }
    .client-main-content .form-grid {
        grid-template-columns: 1fr;
    }
    .client-main-content .form-actions {
        flex-direction: column;
    }
    .client-main-content table {
        font-size: 0.8rem;
    }
    .client-main-content th, .client-main-content td {
        padding: 8px 10px;
    }
}

/* --- Estilos para Páginas de Autenticación (Login/Register) con Glassmorfismo --- */
body.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-image: url('https://dprisa97.com/media/back.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* Overlay oscuro para mejorar la legibilidad del formulario */
body.auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1;
}

/* Contenedor principal del formulario con efecto Glassmorfismo */
.glass-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    position: relative;
    z-index: 2;
    color: white;
    transition: all 0.3s ease;
}

.glass-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.45);
}

/* Estilos para los formularios dentro del contenedor glassmórfico */
.glass-container h2 {
    color: white;
    margin-bottom: 25px;
    font-size: 2rem;
    font-weight: 700;
}

.glass-container .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.glass-container label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 14px;
}

.glass-container .form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.glass-container .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.glass-container .form-control:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(247, 147, 30, 0.3);
}

.glass-container .btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    display: inline-block;
}

.glass-container .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(247, 147, 30, 0.4);
}

/* Estilo para el botón secundario (si se usa) */
.glass-container .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}
.glass-container .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Notificación dentro del formulario */
.glass-container .notification {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none; /* Se controla con JS */
}
.glass-container .notification.success {
    background-color: rgba(40, 167, 69, 0.8);
    color: white;
    border: 1px solid rgba(40, 167, 69, 0.5);
}
.glass-container .notification.error {
    background-color: rgba(220, 53, 69, 0.8);
    color: white;
    border: 1px solid rgba(220, 53, 69, 0.5);
}

/* Responsive para móviles */
@media (max-width: 480px) {
    .glass-container {
        padding: 30px 20px;
        margin: 20px;
    }
    .glass-container h2 {
        font-size: 1.5rem;
    }
}