/* ==========================================================================
   1. VARIABLES Y ESTILOS BASE
   ========================================================================== */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-main: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

.main-title {
    text-align: center;
    font-size: 36px;
    color: #4338ca;
    font-weight: 700;
    margin-bottom: 10px;
}

.main-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 16px;
}

/* ==========================================================================
   2. COMPONENTES COMUNES (BOTONES Y CARDS)
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-bg);
}

/* ==========================================================================
   3. NAVBAR Y HERO
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-bg);
    text-decoration: none;
}

.logo span {
    color: var(--primary-color);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 6px;
}

.btn-nav:hover {
    background-color: var(--primary-hover);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* ==========================================================================
   4. SECCIÓN SERVICIOS
   ========================================================================== */
.services-section {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px 24px;
    cursor: pointer;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.05);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

/* Modificadores de color individuales si se requieren */
.icon-purple { background: linear-gradient(135deg, #a855f7, #6366f1); }

.service-card h3 {
    font-size: 18px;
    color: var(--dark-bg);
    margin-bottom: 12px;
    font-weight: 700;
}

/* ==========================================================================
   5. SECCIÓN ¿QUIÉNES SOMOS?
   ========================================================================== */
.about-section {
    background-color: var(--white);
    padding: 100px 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.about-text-content {
    flex: 1.2;
}

.badge-year {
    display: inline-block;
    background-color: #eff6ff;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.about-main-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.about-paragraph {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
    margin-top: 35px;
}

.feature-item-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item-check i {
    color: var(--primary-color);
    font-size: 16px;
}

.feature-item-check span {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.about-stats-card-wrapper {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.stats-floating-card {
    background: var(--white);
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    width: 100%;
    max-width: 380px;
    padding: 40px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
}

.main-stat-display {
    text-align: center;
    margin-bottom: 25px;
}

.big-number {
    display: block;
    font-size: 64px;
    font-weight: 700;
    color: #6366f1;
    line-height: 1;
}

.stat-label-top {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-top: 10px;
}

.divider-line {
    height: 1px;
    background-color: #f1f5f9;
    width: 100%;
    margin-bottom: 25px;
}

.sub-stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.sub-stats-row:last-child { margin-bottom: 0; }
.sub-stat-title { font-size: 13px; color: var(--text-light); }
.sub-stat-value { font-size: 16px; font-weight: 700; color: var(--primary-color); }

/* ==========================================================================
   6. SECCIÓN CONTACTO (CORREGIDO HORIZONTAL)
   ========================================================================== */
.contact-section {
    background-color: var(--light-bg);
    padding: 80px 0;
}

/* Solución al bug vertical: eliminamos restricción max-width antigua */
.contact-section .contact-container {
    max-width: 1200px; 
    margin: 0 auto;
    width: 90%;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.contact-info-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.contact-icon-circle {
    width: 48px;
    height: 48px;
    background-color: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: var(--primary-color);
    font-size: 18px;
}

.contact-info-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.contact-actions-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    font-family: inherit;
}

.btn-purple-grad {
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
    color: var(--white);
    border: none;
}

.btn-purple-grad:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.3);
}

.btn-outline-blue {
    background: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline-blue:hover {
    background-color: #eff6ff;
    transform: translateY(-2px);
}

/* ==========================================================================
   7. MODALES (GENERALES Y INTERNOS)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 850px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.modal-large {
    max-width: 950px !important;
    width: 95%;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover { color: var(--dark-bg); }

.modal-title { font-size: 24px; color: var(--dark-bg); margin-bottom: 15px; font-weight: 700;}
.modal-intro { color: var(--text-light); font-size: 14px; margin-bottom: 30px; line-height: 1.6; }
.modal-section-title { font-size: 18px; color: var(--dark-bg); margin: 25px 0 15px 0; font-weight: 700; }

.modal-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.modal-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }

.info-box, .solution-box, .practice-box {
    background: var(--light-bg);
    border: 1px solid #f1f5f9;
    padding: 20px;
    border-radius: 8px;
}

.info-icon { color: var(--primary-color); font-size: 24px; margin-bottom: 10px; }
.info-box h4, .solution-box h4 { font-size: 16px; margin-bottom: 8px; color: #1e293b; }
.info-box p, .solution-box p, .practice-box p { font-size: 13px; color: var(--text-light); }

.solution-box h4 { color: var(--primary-color); }
.solution-box ul { list-style: none; margin-top: 12px; padding: 0;}
.solution-box ul li { font-size: 13px; color: #334155; margin-bottom: 6px; display: flex; align-items: center; gap: 8px;}
.solution-box ul li i { color: var(--primary-color); }

.practice-box h5 { font-size: 14px; color: var(--primary-color); margin-bottom: 4px; }

.tech-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tech-item { background: var(--light-bg); padding: 12px 16px; border-radius: 6px; font-size: 13px; flex: 1; min-width: 200px; border: 1px solid #f1f5f9;}

.modal-vertical-stack { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.info-box-full { background: var(--white); border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; }
.box-header { display: flex; align-items: center; gap: 16px; margin-bottom: 15px; }
.icon-wrapper-small { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--white); flex-shrink: 0; }
.icon-blue-glow { background: linear-gradient(135deg, #4f46e5, #3b82f6); }
.sub-p { font-size: 13px; color: var(--text-light); margin-top: 2px; }

.bullet-list { list-style: none; padding-left: 52px; }
.bullet-list li { font-size: 13px; color: #334155; position: relative; margin-bottom: 6px; line-height: 1.5; }
.blue-bullets li::before { content: "•"; color: #3b82f6; font-weight: bold; display: inline-block; width: 1em; margin-left: -1em; }

.conclusion-box { background: var(--light-bg); border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; }
.conclusion-box h4 { font-size: 16px; color: var(--dark-bg); margin-bottom: 10px; font-weight: 700; }
.conclusion-box p { font-size: 14px; color: #475569; line-height: 1.6; }

.field-box { background-color: var(--light-bg) !important; border-color: #e2e8f0 !important; }
.gap-internal { gap: 30px !important; margin-top: 10px; }
.os-spec p { font-size: 13px; color: var(--text-light); margin: 8px 0 12px 0; line-height: 1.5; }
.os-title { font-weight: 700; font-size: 14px; display: block; }
.win-color { color: var(--primary-color); }
.lin-color { color: var(--dark-bg); }
.style-sub { padding-left: 15px !important; }
.note-text { font-size: 12px; color: var(--text-light); margin-top: 15px; padding-left: 52px; }
.training-card { padding: 20px !important; }
.sub-p-content { font-size: 13px; color: var(--text-light); padding-left: 52px; line-height: 1.5; }

/* ==========================================================================
   8. INTERNOS DE PRECIOS Y ABONADOS
   ========================================================================== */
.table-responsive-wrapper { width: 100%; overflow-x: auto; margin-top: 20px; border-radius: 8px; border: 1px solid #e2e8f0; }
.prices-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; background-color: var(--white); }
.prices-table th { background-color: var(--primary-color); color: var(--white); font-weight: 600; padding: 14px 16px; white-space: nowrap; }
.prices-table td { padding: 16px; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
.col-service { width: 65%; }
.col-price { width: 11%; text-align: center; }
.service-title { display: block; font-weight: 700; color: var(--dark-bg); margin-bottom: 6px; }
.service-desc { font-size: 13px; color: var(--text-light); line-height: 1.5; margin: 0; }
.price-value { font-weight: 700; color: var(--dark-bg); text-align: center; white-space: nowrap; }
.price-empty { color: #cbd5e1; text-align: center; }
.row-highlight { background-color: #f3e8ff !important; }
.row-highlight .service-title { color: #5b21b6; }
.pricing-disclaimer { background-color: #f1f5f9 !important; border-color: #e2e8f0 !important; padding: 15px 20px !important; }
.pricing-disclaimer p { font-size: 13px; color: #475569; line-height: 1.6; margin: 0; }

.subscriber-text-block p { font-size: 13.5px; color: #475569; line-height: 1.7; margin: 0; text-align: justify; }
.check-bullets { list-style: none !important; padding-left: 0 !important; }
.check-bullets li { position: relative; padding-left: 28px !important; margin-bottom: 12px; font-size: 13px; color: #475569; line-height: 1.5; }
.check-bullets li i { position: absolute; left: 0; top: 2px; color: var(--primary-color); font-size: 14px; }
.plain-list li { margin-bottom: 16px; display: flex; align-items: flex-start; padding-left: 0 !important; }
.plain-list li i { position: static; margin-right: 12px; margin-top: 3px; flex-shrink: 0; }
.plain-list li span { font-size: 13px; color: #475569; line-height: 1.5; }

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.main-footer {
    background-color: #0b1528;
    color: #94a3b8;
    padding: 60px 0 30px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-column { flex: 1; }
.brand-col { flex: 1.5; }

.logo-text-fallback {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1.5px;
    font-style: italic;
    display: inline-block;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 320px;
}

.footer-column h3 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links, .footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-contact-info li {
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--white); }
.footer-bottom { margin-top: 50px; border-top: 1px solid #1e293b; padding-top: 25px; }
.footer-bottom-container { max-width: 1200px; margin: 0 auto; width: 90%; }
.footer-bottom p { font-size: 13px; color: #64748b; margin: 0; }

/* ==========================================================================
   10. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .about-container { flex-direction: column; gap: 40px; }
    .about-stats-card-wrapper, .stats-floating-card { max-width: 100%; width: 100%; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .nav-links a { margin: 10px 0; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 32px; }
    .footer-container { flex-direction: column; gap: 35px; }
    .footer-description { max-width: 100%; }
    .footer-column h3 { margin-bottom: 15px; }
}

@media (max-width: 640px) {
    .contact-actions-row { flex-direction: column; width: 100%; }
    .btn-action { width: 100%; justify-content: center; }
}

.hero {
    position: relative; /* Obligatorio: actúa como el marco contenedor */
    min-height: 100vh; /* Ocupa el 100% del alto de la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden; /* Evita que el video rompa los márgenes de la pantalla */
    background-color: #0f172a; /* Color de fondo mientras el video carga */
}

/* Capa Fondo: El Video */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Hace que el video se adapte y llene todo el ancho/alto sin deformarse */
    z-index: 1; /* Nivel inferior */
}

/* Capa Media: El filtro oscuro */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 58, 138, 0.75) 100%);
    z-index: 2; /* Nivel medio (por encima del video) */
}

/* Capa Superior: El Texto y los Botones */
.hero-content {
    position: relative; /* Permite usar z-index */
    z-index: 3; /* Nivel superior (por encima del video y del filtro oscuro) */
    text-align: center;
    width: 100%;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--white);
}

.hero p {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* ==========================================================================
   12. SECCIÓN MÁTRIZ TECNOLÓGICA (LOGOS)
   ========================================================================== */
.tech-section {
    background-color: #ffffff; /* Fondo blanco impecable como tu imagen */
    padding: 80px 0;
    text-align: center;
}

.tech-main-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 50px;
    position: relative;
    letter-spacing: -0.5px;
}

/* Grilla flexible que organiza los logos de forma adaptativa */
.tech-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.tech-logo-card {
    width: 100%;
    max-width: 140px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.tech-logo-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.tech-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Evita cualquier tipo de distorsión en la marca */
    filter: grayscale(20%) opacity(0.85); /* Unifica levemente el tono inicial */
    transition: all 0.3s ease;
}

/* Efecto interactivo al pasar el cursor */
.tech-logo-card:hover {
    transform: translateY(-4px); /* Pequeña elevación */
}

.tech-logo-card:hover .tech-img {
    filter: grayscale(0%) opacity(1); /* Muestra el color original nítido */
}

/* Ajuste móvil para que queden bien distribuidos en pantallas pequeñas */
@media (max-width: 480px) {
    .tech-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .tech-main-title {
        font-size: 28px;
    }
}
/* ==========================================================================
   NUEVO BLOQUE: MAPA + FORMULARIO UNIFORMADO CON MCC
   ========================================================================== */

.contact-main-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    width: 100%;
    align-items: stretch; /* Obliga a que mapa y formulario midan lo mismo de alto */
}

.contact-map-column,
.contact-form-column {
    flex: 1;
    background: #fdfdfd; /* Fondo limpio para destacar los campos */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Contenedor del Mapa */
.contact-map-column {
    padding: 15px;
    display: flex;
}

.map-iframe-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

/* Contenedor del Formulario */
.contact-form-column {
    padding: 35px 40px;
    display: flex;
    flex-direction: column;
}

.form-block-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-blue);
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

/* Estructura de Filas del Formulario */
.mcc-custom-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
    justify-content: center;
}

.form-grid-2col {
    display: flex;
    gap: 20px;
}

.form-grid-2col .form-row {
    flex: 1;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Inputs Uniformizados con la estética de la Web */
.mcc-custom-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-blue);
}

.mcc-input {
    width: 100%;
    padding: 11px 15px;
    font-size: 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    background-color: #ffffff;
    color: var(--text-color);
    font-family: inherit;
    transition: all 0.3s ease;
}

.mcc-input:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.15);
}

.mcc-custom-form textarea.mcc-input {
    resize: none;
}

/* Fila del Checkbox de privacidad */
.checkbox-row {
    flex-direction: row !important;
    align-items: center;
    gap: 10px !important;
    margin-top: 5px;
}

.checkbox-row input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--purple); /* Pinta el check con tu color principal */
    cursor: pointer;
}

.checkbox-label {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--text-color) !important;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Fila del Botón de Envío */
.submit-row {
    margin-top: 10px;
}

.submit-row .btn-action {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
}

/* Ajuste Responsivo Excepcional (Mobile First) */
@media (max-width: 991px) {
    .contact-main-grid {
        flex-direction: column;
    }
    
    .map-iframe-wrapper {
        min-height: 350px;
    }
    
    .contact-form-column {
        padding: 25px 20px;
    }
}

@media (max-width: 576px) {
    .form-grid-2col {
        flex-direction: column;
        gap: 18px;
    }
}

/* ==========================================================================
   SECCIÓN INICIO (HERO) - DISEÑO ACTUALIZADO SEGÚN IMAGE_85C3EC.JPG
   ========================================================================== */

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 20px;
    box-sizing: border-box;
}

/* Video de Fondo y Filtro Oscuro */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(10, 24, 50, 0.6) 0%, rgba(5, 12, 26, 0.85) 100%);
    z-index: 2;
}

/* Contenedor del Contenido */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    font-family: 'Inter', sans-serif; /* Usando tipografía moderna limpia */
}

/* Logotipo */
.hero-logo-wrapper {
    margin-bottom: 25px;
}

.hero-main-logo {
    max-width: 160px;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.3));
}

/* Etiqueta Flotante (Pill) */
.hero-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 18px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;
    backdrop-filter: blur(5px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #0082fb; /* Punto azul de la imagen */
    border-radius: 50%;
    box-shadow: 0 0 8px #0082fb;
}

.badge-text {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.3px;
}

/* Título Principal */
.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px 0;
    letter-spacing: -1.5px;
}

.text-highlight-blue {
    color: #0082fb; /* El azul eléctrico exacto de la imagen */
}

/* Subtítulo */
.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 680px;
    margin-bottom: 40px;
}

/* Fila de Botones */
.hero-cta-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Botón Sólido Azul */
.btn-hero-solid {
    background: #0082fb;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 130, 251, 0.3);
}

.btn-hero-solid:hover {
    background: #006ecf;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 130, 251, 0.45);
}

.btn-arrow {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.btn-hero-solid:hover .btn-arrow {
    transform: translateX(4px);
}

/* Botón Outline Transparente */
.btn-hero-outline {
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Adaptación Responsiva Espectacular */
@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
        letter-spacing: -0.8px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 12px;
    }
    
    .btn-hero-solid, .btn-hero-outline {
        width: 100%;
        justify-content: center;
    }
}
/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP (ABAJO A LA IZQUIERDA)
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Posicionado exactamente a la izquierda */
    width: 60px;
    height: 60px;
    background-color: #25d366; /* Verde oficial de WhatsApp */
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999; /* Por encima de cualquier modal o video */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.whatsapp-icon {
    position: relative;
    z-index: 2;
}

/* Efecto de Pulso de Onda de fondo */
.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: 1;
    opacity: 0.7;
    animation: wpp-pulse-animation 2s infinite;
}

/* Comportamiento al pasar el mouse (Hover) */
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(32, 186, 90, 0.6);
    color: #fff;
}

/* Animación de Radar */
@keyframes wpp-pulse-animation {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

/* Ajuste para pantallas móviles */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 52px;
        height: 52px;
        font-size: 30px;
    }
}