/* --- Variables y Paleta de Marca --- */
:root {
    --brand-navy: #1b517b;
    --brand-blue: #1E90FF;
    --brand-cyan: #00CED1;
    --brand-teal: #20B2AA;
    --brand-green: #32CD32;
    --brand-light: #f8f9fa;
    --brand-dark: #1a1a1a;
    --text-muted: #b0b8c4;
    
    --gradient-hero: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-navy) 100%);
    --gradient-action: linear-gradient(90deg, var(--brand-cyan) 0%, var(--brand-blue) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; background-color: var(--brand-dark); color: var(--brand-light); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, .btn { font-family: 'Montserrat', sans-serif; }

/* --- Navegación --- */
.navbar { position: fixed; top: 0; width: 100%; background: rgba(27, 81, 123, 0.65); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid rgba(0, 206, 209, 0.2); padding: 15px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-img { max-height: 80px; width: auto; display: block; }
.nav-menu { display: flex; gap: 20px; align-items: center; }
.nav-menu a { text-decoration: none; color: var(--brand-light); font-weight: 600; font-size: 14px; transition: 0.3s; }
.nav-menu a:not(.btn):hover { color: var(--brand-cyan); }
.nav-highlight { color: var(--brand-cyan) !important; border-bottom: 1px solid var(--brand-cyan); }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--brand-light); }

/* --- Botones --- */
.btn { padding: 10px 24px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: all 0.3s ease; display: inline-block; cursor: pointer; border: none; font-size: 14px; }
.btn-lg { padding: 15px 35px; font-size: 16px; }
.btn-primary { background: var(--gradient-action); color: #fff; box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 206, 209, 0.6); }
.btn-glow { border: 1px solid var(--brand-cyan); color: var(--brand-cyan); }
.btn-glow:hover { background: var(--brand-cyan); color: var(--brand-navy); box-shadow: 0 0 15px var(--brand-cyan); }
.btn-outline { border: 2px solid rgba(248, 249, 250, 0.3); color: var(--brand-light); background: rgba(27, 81, 123, 0.3); }
.btn-outline:hover { border-color: var(--brand-light); background: rgba(248, 249, 250, 0.1); }
.btn-outline-dark { border: 2px solid var(--brand-navy); color: var(--brand-navy); }
.btn-outline-dark:hover { background: var(--brand-navy); color: #fff; }
.full-width { display: block; width: 100%; text-align: center; }

/* --- Hero --- */
.hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; background: var(--brand-dark); overflow: hidden; }
.video-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.video-wrapper video { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.video-mobile { display: none !important; }
.video-desktop { display: block !important; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(27, 81, 123, 0.85) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 800px; margin-top: 60px; }
.badge-tech { background: rgba(32, 178, 170, 0.15); color: var(--brand-cyan); border: 1px solid var(--brand-teal); padding: 6px 14px; border-radius: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; display: inline-block; }
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 24px; color: var(--brand-light); }
.text-gradient { background: linear-gradient(90deg, var(--brand-cyan), var(--brand-green)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; max-width: 650px; }
.hero-actions { display: flex; gap: 20px; margin-bottom: 60px; }

/* Trust Bar */
.trust-bar { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; color: var(--text-muted); font-size: 14px; }
.trust-logos { display: flex; gap: 25px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand-light); }
.trust-item i { color: var(--brand-green); }

/* --- Diferenciadores (Rediseño: Confianza y Claridad) --- */
.difference-section { padding: 100px 0; background: linear-gradient(to bottom, #ffffff 0%, #f4f7f9 100%); color: var(--brand-dark); position: relative; }
.difference-section h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--brand-navy); }
.intro-center { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.intro-center p { color: #555; font-size: 1.1rem; }
.section-tag { color: var(--brand-teal); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; display: block; margin-bottom: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card-glass { background: #ffffff; border: 1px solid #eef2f6; padding: 40px 30px; border-radius: 20px; transition: all 0.4s ease; box-shadow: 0 10px 30px rgba(27, 81, 123, 0.05); }
.card-glass:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(30, 144, 255, 0.15); border-color: var(--brand-blue); }
.icon-box { width: 60px; height: 60px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 25px; }
.color-1 { background: rgba(0, 206, 209, 0.1); color: var(--brand-cyan); }
.color-2 { background: rgba(30, 144, 255, 0.1); color: var(--brand-blue); }
.color-3 { background: rgba(32, 205, 50, 0.1); color: var(--brand-green); }
.card-glass h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--brand-navy); font-weight: 700; }
.card-glass p { color: #666; font-size: 0.95rem; line-height: 1.7; }

/* --- Planes (NUEVO) --- */
.pricing-section { padding: 100px 0; background: var(--brand-light); color: var(--brand-dark); }
.dark-title { color: var(--brand-navy); }
.dark-text { color: #555; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }

.pricing-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 15px; padding: 30px; display: flex; flex-direction: column; transition: 0.3s; position: relative; }
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

/* Card Recomendada (Pro) */
.pricing-card.recommended { border: 2px solid var(--brand-blue); box-shadow: 0 10px 25px rgba(30, 144, 255, 0.15); }
.badge-pop { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand-blue); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; }

/* Card Dark (White Label) */
.dark-card { background: var(--brand-navy); color: #fff; border: none; }
.dark-card .p-subtitle { color: rgba(255,255,255,0.7); }

.p-header { margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 20px; text-align: center; }
.dark-card .p-header { border-bottom-color: rgba(255,255,255,0.1); }
.p-header h3 { font-size: 1.8rem; font-weight: 800; color: var(--brand-navy); margin-bottom: 5px; }
.p-subtitle { font-size: 0.9rem; font-weight: 600; color: #777; text-transform: uppercase; }

.p-body { flex-grow: 1; }
.p-desc { font-size: 0.9rem; margin-bottom: 20px; color: #666; text-align: center; }
.check-list-sm { list-style: none; padding: 0; font-size: 0.9rem; }
.check-list-sm li { margin-bottom: 10px; padding-left: 20px; position: relative; color: #444; }
.check-list-sm li::before { content: '•'; position: absolute; left: 0; color: var(--brand-blue); font-size: 1.2rem; line-height: 1; }
.light-checks li { color: #ddd; }

.p-footer { margin-top: 25px; }

/* Servicios Adicionales */
.addons-box { margin-top: 60px; background: #eef2f6; padding: 30px; border-radius: 15px; text-align: center; border: 1px dashed var(--brand-navy); }
.addons-box h4 { color: var(--brand-navy); margin-bottom: 20px; }
.addons-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; font-weight: 600; color: #555; }
.addons-grid span i { color: var(--brand-green); margin-right: 8px; }

/* --- Equipo (NUEVO) --- */
.team-section { padding: 100px 0; background: var(--brand-dark); }
.highlight { color: var(--brand-blue); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.team-member { text-align: center; background: rgba(255,255,255,0.02); padding: 40px 20px; border-radius: 20px; }
.member-img { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 20px; border: 3px solid var(--brand-cyan); overflow: hidden; background: var(--brand-navy); }
.member-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.team-member h4 { color: var(--brand-light); font-size: 1.3rem; margin-bottom: 5px; }
.team-member .role { display: block; color: var(--brand-teal); font-size: 0.9rem; font-weight: 700; margin-bottom: 15px; text-transform: uppercase; }
.team-member p { font-size: 0.9rem; color: var(--text-muted); }

/* --- Contacto & Footer --- */
.cta-section { padding: 80px 0; text-align: center; background: var(--gradient-hero); }
/* --- Formulario con Captcha --- */
.simple-form { display: flex; flex-direction: column; align-items: center; gap: 20px; margin: 30px 0;}
.form-inputs { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; width: 100%; }
.simple-form input { padding: 12px 20px; border-radius: 50px; border: none; width: 280px; outline: none; background: var(--brand-light); color: var(--brand-dark);}
.captcha-container { margin-bottom: 10px; display: flex; justify-content: center; }
.contact-info-direct { margin-top: 30px; display: flex; justify-content: center; gap: 30px; color: var(--brand-cyan); font-weight: 600; }

footer { background: var(--brand-navy); padding: 50px 0 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }
.footer-brand h4 { color: var(--brand-light); font-size: 1.5rem; }
.address-box { margin-top: 15px; color: #dce5ee; font-size: 0.85rem; line-height: 1.4; opacity: 0.8; }
.footer-links a { color: #dce5ee; margin-left: 20px; text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--brand-cyan); }
.copyright { text-align: center; font-size: 0.8rem; color: #aab5c2; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }
.footer-logo-link { display: inline-block; vertical-align: middle; margin-left: 20px; transition: opacity 0.3s ease; }
.footer-logo-link img { max-height: 35px; width: auto; filter: brightness(0) invert(1); opacity: 0.7; }
.footer-logo-link:hover img {opacity: 1;filter: none; }

/* --- Utilidades y Responsive --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 768px) {

    .hero { align-items: flex-start; padding-top: 140px; height: auto; min-height: 100dvh;}
    .hero-content { margin-top: 0; padding-left: 15px; padding-right: 15px; text-align: center;}
    .hero h1 { font-size: 2.2rem; line-height: 1.2;}
    .hero-actions { flex-direction: column; gap: 15px; width: 100%; padding: 0 20px; }
    .btn { width: 100%; text-align: center;}
    .video-desktop { display: none !important; }
    .video-mobile { display: block !important; }

    .menu-toggle { display: block; color: var(--brand-light); font-size: 24px; }
    .nav-menu { display: block; position: absolute; top: 70px; left: 0; width: 100%; background: rgba(27, 81, 123, 0.98); flex-direction: column; align-items: center; padding: 20px 0; gap: 20px; transform: translateY(-150%); transition: transform 0.4s ease; z-index: 999; }
    .nav-menu.active { display: flex; transform: translateY(0); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
    .nav-menu .btn { width: 80%; text-align: center; }
    .logo-img { max-height: 40px; }
    .contact-info-direct { flex-direction: column; gap: 10px; }

    .footer-logo-link { margin-left: 0; margin-top: 15px; display: block; width: 100%; text-align: center; }
}