/* ==========================================================================
   1. CONTROL MAESTRO HEXADECIMAL (PEGA AQUÍ TU CÓDIGO DE COLOR)
   ========================================================================== */
:root {
    /* CAMBIA ESTE CÓDIGO POR EL QUE TÚ QUIERAS (HEX, RGB o nombre de color) */
    --color-maestro-hex: #0e5d3b; 

    /* DERIVADOS INTELIGENTES AUTOMÁTICOS (El navegador calcula todo por ti) */
    --primary-color: var(--color-maestro-hex);
    --primary-hover: color-mix(in srgb, var(--color-maestro-hex) 85%, #000000);  /* Oscurece 15% para el hover */
    --primary-light: color-mix(in srgb, var(--color-maestro-hex) 8%, #ffffff);   /* Crea un fondo sutil al 8% */
    --primary-glow: color-mix(in srgb, var(--color-maestro-hex) 15%, transparent); /* Para sombras de enfoque */

    /* COLOR DE ACENTO SECUNDARIO (Dorado / Arena) */
    --accent-color: #b09565;    
    --accent-hover: #967e54;    
    
    /* PALETA DE TEXTOS Y NEUTROS */
    --text-light: #ffffff;
    --text-dark: #222222;       
    --bg-light: #ffffff;
    --bg-footer: #f4f4f4;       
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ==========================================================================
   2. RESET REQUERIDO Y CONFIGURACIÓN BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* ==========================================================================
   3. MENÚ DE NAVEGACIÓN (NAVBAR)
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--bg-light);
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: inline-block;
    line-height: 0;
}

.main-logo-img {
    height: 55px; 
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.logo-link:hover .main-logo-img {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.85rem;
    transition: color 0.3s;
}

.nav-menu a:hover, 
.nav-menu a.active {
    color: var(--primary-color);
    font-weight: bold;
}

.nav-menu .btn-login {
    padding: 5px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* BOTÓN MENÚ HAMBURGUESA RESPONSIVO (VERDE) */
.mobile-menu-toggle {
    display: none;
    background: #ffffff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-size: 1.3rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(14, 93, 59, 0.15);
}

.mobile-menu-toggle:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* ==========================================================================
   4. SECCIÓN HERO (INDEX)
   ========================================================================== */
.hero-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 5% 80px 5%;
    position: relative;
    background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 30%, transparent 30%),
                      radial-gradient(circle at 90% 80%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.04) 40%, transparent 40%);
}

.hero-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
    align-items: center;
}

.hero-text { 
    flex: 1; 
}

.hero-text ul { 
    list-style: none; 
    margin-bottom: 20px; 
}

.hero-text ul li { 
    font-size: 1.05rem; 
    margin-bottom: 8px; 
    position: relative; 
    padding-left: 15px; 
}

.hero-text ul li::before { 
    content: "•"; 
    position: absolute; 
    left: 0; 
    color: var(--text-light); 
}

.hero-text h1 { 
    font-size: 2.2rem; 
    margin-bottom: 20px; 
    letter-spacing: 1px; 
}

.hero-text p { 
    font-size: 1rem; 
    line-height: 1.6; 
    margin-bottom: 30px; 
    opacity: 0.9; 
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-light);
    border: none;
    padding: 12px 40px;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-primary:hover { 
    background-color: var(--accent-hover); 
}

/* CONTENEDOR DEL FORMULARIO DE CAPTURA INICIAL */
.hero-form-container {
    flex: 1;
    background-color: var(--text-light);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    max-width: 480px;
    width: 100%;
}

.hero-form-container h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.form-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444;
    text-transform: uppercase;
}

.form-group input, 
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.captcha-group label span {
    color: var(--primary-color);
    font-weight: bold;
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: var(--primary-hover);
}

/* Indicador de scroll animado */
.scroll-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 20px;
    height: 35px;
    border: 2px solid var(--text-light);
    border-radius: 10px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background-color: var(--text-light);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 6px;
    border-radius: 2px;
    animation: scrollMouse 1.5s infinite;
}

@keyframes scrollMouse {
    0% { top: 6px; opacity: 1; }
    100% { top: 18px; opacity: 0; }
}

/* ==========================================================================
   5. VISTA DE REGISTRO NATIVA (DOS COLUMNAS)
   ========================================================================== */
.register-main-bg {
    background-color: #ffffff;
    padding: 40px 5% 80px 5%;
}

.register-form-container {
    max-width: 1150px;
    margin: 0 auto;
    text-align: left;
}

.form-main-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 30px;
}

.register-two-columns-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.form-column-left, .form-column-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row-triple { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; }
.form-row-double { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.form-field-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
}

.form-field-group label {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-field-group input,
.form-field-group select {
    padding: 12px;
    border: 1px solid #b0b0b0;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: #444;
}

.form-field-group input::placeholder { color: #bfbfbf; }
.field-help-text { font-size: 0.78rem; color: #777; margin-top: 5px; }
.field-help-text a { color: var(--accent-color); text-decoration: none; }
.field-help-text a:hover { text-decoration: underline; }
.block-help { display: block; margin-top: -5px; margin-bottom: 10px; line-height: 1.3; }

/* Código promocional y descuento */
.promo-discount-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: flex-start;
    margin-top: 10px;
}

.checkbox-inline-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.88rem;
    color: #333;
    cursor: pointer;
    font-weight: 500;
}

.discount-input-action { display: flex; flex-direction: column; gap: 10px; }
.discount-input-action input { padding: 10px 12px; border: 1px solid #b0b0b0; border-radius: 4px; font-size: 0.9rem; }
.discount-input-action input::placeholder { color: #bfbfbf; }

.btn-apply-discount {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 11px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-apply-discount:hover { background-color: var(--primary-hover); }

/* Franja de costo */
.cost-summary-banner {
    background-color: #ededed;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 2px;
    margin-top: 15px;
}
.cost-summary-banner .banner-label { font-size: 0.95rem; font-weight: bold; color: #222; }
.cost-summary-banner .banner-value { font-size: 1.05rem; font-weight: bold; color: #444; }

.cost-notices { text-align: right; margin-bottom: 25px; }
.link-costs-view { font-size: 0.78rem; color: var(--accent-color); text-decoration: none; }
.costs-foot-notice { font-size: 0.78rem; color: #555; margin-top: 4px; }

.checkbox-terms-label { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: #333; cursor: pointer; margin-bottom: 20px;}
.checkbox-terms-label a { color: var(--accent-color); text-decoration: none; }

.btn-submit-registration-form {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 100%;
    padding: 16px;
    font-size: 0.95rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-submit-registration-form:hover { background-color: var(--primary-hover); }

/* ==========================================================================
   6. SECCIÓN ¿QUÉ ES? Y TESTIMONIALES
   ========================================================================== */
.about-section {
    padding: 80px 5%;
    background-color: var(--bg-light);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-content {
    flex: 1.2;
    text-align: left;
}

.about-content h1 {
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 25px;
    font-weight: 600;
}

.about-text-bold {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.about-text-normal {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 35px;
}

.btn-outline-primary {
    display: inline-block;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    padding: 10px 30px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.about-image-box {
    flex: 1;
    display: flex;
    justify-content: center;
}

.responsive-about-img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* TESTIMONIALES */
.testimonials-section {
    background-color: #f7f7f7;
    padding: 80px 5%;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 30px;
    font-weight: 600;
}

.testimonial-slider-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.slider-arrow {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.testimonial-card {
    max-width: 650px;
    margin: 0 auto;
}

.main-quote-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-comment {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    font-style: italic;
    margin-bottom: 25px;
}

.user-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-weight: bold;
    color: var(--primary-color);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--accent-color);
    background-color: transparent;
    cursor: pointer;
}

.dot.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ==========================================================================
   7. SECCIÓN ¿CÓMO FUNCIONA? (LINEA DE TIEMPO)
   ========================================================================== */
.how-it-works-section {
    padding: 80px 5%;
    background-color: var(--bg-light);
}

.how-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.how-container h1 {
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 10px;
    font-weight: 600;
}

.how-subtitle {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.5;
}

.steps-timeline {
    position: relative;
    padding-left: 20px;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 45px;
    width: 2px;
    height: calc(100% - 80px);
    background-color: #ddd;
    z-index: 1;
}

.step-item {
    display: flex;
    gap: 30px;
    margin-bottom: 45px;
    position: relative;
    z-index: 2;
}

.step-icon-circle {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.step-content {
    padding-top: 10px;
}

.step-content h3 {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.step-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    max-width: 750px;
}

.how-action-box {
    margin-top: 50px;
    padding-left: 80px;
}

/* ==========================================================================
   8. SECCIÓN BENEFICIOS (GRID)
   ========================================================================== */
.benefits-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.benefits-section-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.benefits-section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: left;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary-color);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(14, 93, 59, 0.15);
    border-top-color: var(--accent-color);
}

.benefit-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.benefit-icon-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #e6f4ed 100%);
    color: var(--primary-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.benefit-card:hover .benefit-icon-badge {
    transform: scale(1.1) rotate(-3deg);
    background: linear-gradient(135deg, var(--primary-color) 0%, #063923 100%);
    color: #ffffff;
}

.benefit-number-accent {
    font-size: 1.8rem;
    font-weight: 800;
    color: rgba(14, 93, 59, 0.15);
}

.benefit-card h3 {
    color: #1a202c;
    font-size: 1.15rem;
    margin-bottom: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.benefit-card p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   9. SECCIÓN COSTOS / PLANES TARIFARIOS
   ========================================================================== */
.pricing-section {
    padding: 80px 5%;
    background-color: var(--bg-light);
    text-align: center;
}

.pricing-header {
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.pricing-header h1 {
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 12px;
    font-weight: 600;
}

.pricing-subtitle {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.5;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
}

.price-card {
    background-color: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 40px 30px;
    flex: 1;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

/* Tarjeta Destacada usando el Color Maestro */
.price-card.popular-card {
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.icon-circle-bg {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light); 
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin: 0 auto 20px auto;
}

.price-box {
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: #111;
}

.price-box .amount { font-size: 2.8rem; font-weight: 700; }
.tax-notice { font-size: 0.85rem; color: #888; margin-bottom: 30px; }

.card-features {
    list-style: none;
    margin: 0 0 35px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-features li {
    font-size: 0.95rem;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.card-features li i {
    color: #2e7d32; 
    font-size: 0.95rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.card-footer-action {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-price-action {
    display: block;
    width: 100%;
    text-align: center;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-price-action:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-price-action.highlighted-btn {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-price-action.highlighted-btn:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* ==========================================================================
   10. COMPONENTES EXTRA (PREGUNTAS FRECUENTES / ACORDEÓN)
   ========================================================================== */
.faq-section {
    padding: 80px 5%;
    background-color: var(--bg-light);
}

.faq-header {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.faq-header h1 { font-size: 2.2rem; color: #222; font-weight: 600; }

.accordion-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accordion-item {
    border: 1px solid #e1e1e1;
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    width: 100%;
    background: #ffffff;
    border: none;
    padding: 18px 25px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 1.02rem;
    font-weight: 600;
    color: #222;
}

.accordion-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.accordion-item.active .accordion-header {
    background-color: var(--primary-color);
    color: #ffffff;
}

.arrow-icon { transition: transform 0.3s ease; }
.accordion-item.active .arrow-icon { transform: rotate(180deg); color: #ffffff; }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #ffffff;
}

.accordion-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    padding: 20px 25px;
}

/* ==========================================================================
   11. SECCIÓN CONTACTO (FORMULARIO Y MAPA INTEGRADO)
   ========================================================================== */
.contact-section {
    padding: 60px 5% 100px 5%;
    background-color: #ffffff;
    text-align: center;
}

.contact-grid-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.contact-form-card {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 50px 40px;
    text-align: left;
    position: relative;
    background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 40%, transparent 40%),
                      radial-gradient(circle at 85% 85%, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.04) 35%, transparent 35%);
}

.contact-form-card h3 {
    font-size: 1.35rem;
    font-weight: bold;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
}

.contact-input-group { margin-bottom: 18px; }
.contact-input-group input,
.contact-input-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: #333333;
    background-color: #ffffff;
}

.contact-input-group textarea { resize: vertical; }
.contact-input-group input::placeholder,
.contact-input-group textarea::placeholder { color: #b5b5b5; }

.btn-send-contact {
    width: 100%;
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-send-contact:hover {
    background-color: #ffffff;
    color: var(--primary-color);
}

.contact-map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

/* ==========================================================================
   12. PIE DE PÁGINA (FOOTER) Y AJUSTES FLOTANTES
   ========================================================================== */
.main-footer {
    background-color: var(--bg-footer);
    padding: 50px 5% 20px 5%;
    font-size: 0.9rem;
    border-top: 1px solid #ddd;
}

.footer-container { display: flex; max-width: 1200px; margin: 0 auto; gap: 40px; justify-content: space-between; }
.footer-col { flex: 1; text-align: left; }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 20px; color: #000; text-align: left; }
.logos-col { display: flex; flex-direction: column; gap: 15px; align-items: flex-start; justify-content: flex-start; }
.dummy-logo-box { width: 60px; height: 60px; border: 2px solid #777; display: flex; justify-content: center; align-items: center; font-weight: bold; color: #555; }
.rvoe-text { font-size: 1.8rem; font-weight: bold; letter-spacing: 3px; color: #777; }
.aulapp-text { font-size: 1.3rem; color: #666; }

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { text-decoration: none; color: #444; }
.footer-links a:hover { color: var(--primary-color); }
.footer-col p { margin-bottom: 12px; line-height: 1.4; color: #444; text-align: left; }

.social-icons { display: flex; gap: 10px; margin-top: 15px; justify-content: flex-start; }
.social-icons a { width: 35px; height: 35px; background-color: #000; color: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: background 0.3s; }
.social-icons a:hover { background-color: var(--primary-color); }

.footer-bottom { max-width: 1200px; margin: 40px auto 0 auto; padding-top: 20px; border-top: 1px solid #ccc; font-size: 0.75rem; color: #888; text-align: left; }

/* BOTÓN FLOTANTE DE WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; 
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 5px 18px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

.whatsapp-badge-cta {
    position: absolute;
    right: 72px;
    white-space: nowrap;
    background: #ffffff;
    color: #0e5d3b;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    animation: bounceWhatsAppCTA 2s infinite ease-in-out;
}

.whatsapp-badge-cta::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
}

@keyframes bounceWhatsAppCTA {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-6px); }
}

@media (max-width: 576px) {
    .whatsapp-badge-cta {
        display: none;
    }
}

/* ==========================================================================
   13. MEDIA QUERIES (RESPONSIVO EN BLOQUE GLOBAL)
   ========================================================================== */
@media (max-width: 992px) {
    .register-two-columns-grid { grid-template-columns: 1fr; gap: 40px; }
    .promo-discount-container { grid-template-columns: 1fr; }
    .pricing-container { flex-direction: column; align-items: center; gap: 40px; }
    .price-card { width: 100%; max-width: 400px; }
}

/* ESTILOS DE CAPTCHA EN BLANCO PARA FORMULARIO DE CONTACTO */
.contact-input-group.captcha-group label,
.contact-input-group.captcha-group span,
#contact-captcha-question {
    color: #ffffff !important;
    font-weight: 600 !important;
}

@media (max-width: 768px) {
    .navbar { 
        display: flex !important;
        flex-direction: row !important; 
        justify-content: space-between !important; 
        align-items: center !important; 
        padding: 12px 5% !important;
        position: relative !important; 
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        flex-shrink: 0;
        z-index: 1001;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        padding: 15px 5%;
        gap: 0;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        border-bottom: 3px solid var(--primary-color);
        z-index: 1000;
        box-sizing: border-box;
    }

    .nav-menu.active {
        display: flex !important;
        animation: fadeInDown 0.3s ease forwards;
    }

    .nav-menu a {
        padding: 14px 15px;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #f0f0f0;
        font-size: 1rem;
        box-sizing: border-box;
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .hero-container, .footer-container, .about-container { flex-direction: column; gap: 30px; }
    .form-row-triple, .form-row-double { grid-template-columns: 1fr; gap: 0; }
    .benefits-grid, .contact-grid-container { grid-template-columns: 1fr; }
    .main-logo-img { height: 45px; }
    .about-content { text-align: center; }
    .contact-form-card { padding: 40px 25px; }
    .contact-map-wrapper { height: 350px; }
    .steps-timeline::before { left: 40px; top: 25px; height: calc(100% - 65px); }
    .step-item { gap: 15px; }
    .step-icon-circle { width: 40px; height: 40px; font-size: 1.1rem; }
    .how-action-box { padding-left: 0; text-align: center; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.7rem; }
    .testimonial-slider-wrapper { position: relative; padding-bottom: 50px; }
    .slider-arrow { position: absolute; bottom: 0; }
    .prev-arrow { left: 30%; }
    .next-arrow { right: 30%; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   14. SECCIÓN DE ESTADÍSTICAS Y TESTIMONIALES AVATAR
   ========================================================================== */
.testimonial-user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.user-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.stats-impact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #063923 100%);
    color: var(--text-light);
    padding: 60px 5%;
    text-align: center;
}

.stats-impact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-impact-title {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.stats-impact-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 30px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.3rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    line-height: 1.4;
    opacity: 0.95;
}

/* ==========================================================================
   15. ESTILOS DE PERFIL DE EGRESO - MAESTRÍA
   ========================================================================== */
.profile-intro-box {
    background: #f8faf9;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.profile-intro-box p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2c3e50;
}

.profile-blocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.profile-card-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-card-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.profile-card-block h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-card-block ul {
    list-style: none;
    padding-left: 0;
}

.profile-card-block ul li {
    padding: 6px 0;
    color: #4a5568;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-card-block ul li i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

/* ==========================================================================
   16. BOTÓN FLOTANTE BACK TO TOP (INFERIOR IZQUIERDO)
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   17. MENSAJES DE ESTADO DE FORMULARIO (CARGA EN NARANJA Y ÉXITO EN VERDE)
   ========================================================================== */
.form-status-msg {
    display: none;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 15px;
    text-align: center;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.form-status-msg.loading {
    display: block;
    background-color: #fffaf0;
    color: #dd6b20;
    border: 1px solid #fbd38d;
    box-shadow: 0 4px 12px rgba(221, 107, 32, 0.15);
    animation: pulseLoading 1.5s infinite ease-in-out;
}

.form-status-msg.success {
    display: block;
    background-color: #f0fff4;
    color: #276749;
    border: 1px solid #9ae6b4;
    box-shadow: 0 4px 12px rgba(39, 103, 73, 0.15);
}

.form-status-msg.error {
    display: block;
    background-color: #fff5f5;
    color: #c53030;
    border: 1px solid #feb2b2;
}

@keyframes pulseLoading {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}