/* =========================================
   VARIABLES Y RESET
   ========================================= */
:root {
    --navy: #002b5c;
    --blue: #0056b3;
    --white: #ffffff;
    --text-muted: #576574;
    --light-bg: #f8fafc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--navy); overflow-x: hidden; background: var(--white); line-height: 1.6; }

.container-full, .container-main { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* =========================================
   NAVBAR & HERO
   ========================================= */
.navbar { background: var(--white); padding: 20px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.05); }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { height: 60px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--navy); font-weight: 800; font-size: 13px; transition: color 0.3s; }
.nav-links a:hover { color: var(--blue); }
.btn-wa { background: var(--navy); color: var(--white); padding: 12px 25px; border-radius: 50px; text-decoration: none; font-weight: 800; transition: background 0.3s; }
.btn-wa:hover { background: var(--blue); }

.hero { height: 80vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-bg-container { position: absolute; right: 0; top: 0; width: 65%; height: 100%; z-index: 1; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-mask-light { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(to right, #ffffff 0%, #ffffff 25%, transparent 45%); 
}
.hero-content { position: relative; z-index: 10; max-width: 700px; }
.highlight { color: var(--blue); }
.price-line { font-size: 24px; color: var(--blue); margin-bottom: 10px; font-weight: 700; }
.sub-line { margin-bottom: 20px; font-size: 18px; }
.pills-wrapper { display: flex; gap: 10px; margin-bottom: 30px; }
.info-pill { background: #f1f5f9; padding: 10px 15px; border-radius: 5px; font-size: 10px; font-weight: 800; border: 1px solid #e2e8f0; }
.btn-premium { background: var(--navy); color: var(--white); padding: 20px 40px; text-decoration: none; font-weight: 800; border-radius: 4px; display: inline-flex; align-items: center; gap: 10px; transition: background 0.3s; }
.btn-premium:hover { background: var(--blue); }

/* =========================================
   SECCIONES PRINCIPALES
   ========================================= */
.target-audience { padding: 40px 0; border-bottom: 1px solid #eee; }
.audience-flex { display: flex; align-items: center; gap: 30px; }
.audience-intro h3 { font-size: 16px; font-weight: 800; }
.audience-intro p { font-size: 12px; color: var(--text-muted); }
.audience-divider { width: 1px; height: 40px; background: #ddd; }
.audience-grid { display: flex; justify-content: space-between; flex-grow: 1; align-items: center; }

.audience-item img { height: 80px; width: auto; object-fit: contain; display: block; margin: 0 auto; }
.audience-divider-mini { width: 1px; height: 40px; background: #eee; }

.mega-section { padding: 80px 0; }
.grid-main { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; }
.machinery-dark-zone { background: var(--navy); padding: 50px; border-radius: 15px; color: var(--white); }
.cards-layout { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-margin-top: 30px; }
.m-card-pro img { width: 100%; height: 100px; object-fit: cover; border-radius: 5px; margin-bottom: 10px; }
.m-card-pro span { font-size: 9px; font-weight: 700; display: block; text-align: center; }
.benefits-side-zone h3 { color: var(--blue); margin-bottom: 20px; font-size: 24px; }
.benefit-row { display: flex; gap: 15px; margin-bottom: 20px; align-items: center; }
.check-box { width: 10px; height: 10px; background: var(--blue); flex-shrink: 0; }

.how-it-works { padding: 100px 0; background: var(--white); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.sub-title { color: var(--blue); font-weight: 800; font-size: 12px; letter-spacing: 2px; }
.section-header h2 { font-size: 42px; font-weight: 800; margin: 10px 0; }
.section-header p { color: var(--text-muted); }

.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-bottom: 60px; position: relative; }
.step-card { text-align: center; padding: 20px; position: relative; }
.step-number { width: 30px; height: 30px; background: var(--navy); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; margin: 0 auto 20px; z-index: 2; position: relative; }
/* ICONOS DE LOS PASOS (1 AL 5) MÁS GRANDES */
.step-card img { height: 90px; width: auto; margin-bottom: 20px; } 
.step-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.step-card p { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.steps-grid::before { content: ''; position: absolute; top: 35px; left: 10%; right: 10%; height: 1px; background: #e2e8f0; z-index: 1; }

.features-bar { background: var(--light-bg); padding: 40px 30px; border-radius: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.feature-item { font-size: 11px; color: var(--navy); }
/* ICONOS DE LAS CARACTERÍSTICAS (11 AL 44) MÁS GRANDES Y CENTRADOS */
.feature-item img { height: 80px; width: auto; margin: 0 auto 15px auto; display: block; }
.feature-item strong { display: block; color: var(--blue); margin-bottom: 5px; font-size: 13px; }

.action-footer { text-align: center; margin-top: 50px; }
.btn-cta { background: var(--navy); color: var(--white); padding: 18px 40px; text-decoration: none; font-weight: 800; border-radius: 5px; transition: 0.3s; display: inline-block; }
.btn-cta:hover { background: var(--blue); transform: translateY(-3px); }

/* =========================================
   CONTACTO & SUCURSALES
   ========================================= */
.contact-branch-section { padding-top: 80px; background: var(--white); border-top: 1px solid #f1f5f9; }
.grid-contact { display: grid; grid-template-columns: 450px 1fr; gap: 60px; align-items: start; margin-bottom: 60px; }

.sub-title-form { color: var(--blue); font-weight: 800; font-size: 11px; letter-spacing: 1px; margin-bottom: 15px; display: block; }
.contact-card { background: var(--white); padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #f1f5f9; }
.contact-card h2 { font-size: 32px; line-height: 1.2; margin-bottom: 20px; }

.sofin-form { display: flex; flex-direction: column; gap: 15px; }
.sofin-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.sofin-form input, .sofin-form select, .sofin-form textarea { padding: 15px; border: 1px solid #e2e8f0; border-radius: 6px; background: #f8fafc; font-family: inherit; font-size: 14px; }
.sofin-form textarea { height: 100px; resize: none; }
.btn-form-submit { background: var(--navy); color: var(--white); border: none; padding: 18px; border-radius: 6px; font-weight: 800; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s; }
.btn-form-submit:hover:not(:disabled) { background: var(--blue); }
.btn-form-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.privacy { font-size: 11px; text-align: center; color: #94a3b8; margin-top: 10px; }

.branch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 30px; }
.branch-item { border: 1px solid #f1f5f9; padding: 20px 10px; border-radius: 8px; text-align: center; transition: transform 0.3s; }
.branch-item:hover { transform: translateY(-5px); }
.branch-item img { height: 45px; margin-bottom: 15px; }
.branch-item h4 { font-size: 13px; font-weight: 800; margin-bottom: 5px; }
.branch-item p { font-size: 10px; color: var(--text-muted); line-height: 1.3; }

.map-display { margin-top: 40px; display: flex; align-items: center; gap: 30px; }
.mexico-map { width: 60%; }
.map-info h3 { font-size: 18px; border-bottom: 2px solid var(--blue); padding-bottom: 10px; margin-bottom: 10px; }
.map-info p { font-size: 13px; color: var(--text-muted); }

.bottom-blue-bar { background: var(--navy); color: var(--white); padding: 40px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.f-item { font-size: 11px; opacity: 0.8; }
.f-item strong { display: block; font-size: 12px; color: var(--white); margin-bottom: 5px; }

@keyframes entryBlur { from { opacity: 0; transform: translateY(20px); filter: blur(5px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
.entry-animate { animation: entryBlur 0.6s ease forwards; }

/* =========================================
   MEDIA QUERIES
   ========================================= */

@media (max-width: 1024px) {
    .container-full, .container-main { padding: 0 30px; }
    .grid-main, .grid-contact { grid-template-columns: 1fr; gap: 40px; }
    .hero-bg-container { width: 50%; }
    .hero-mask-light { background: linear-gradient(to right, #ffffff 0%, #ffffff 10%, transparent 60%); }
    .cards-layout { grid-template-columns: repeat(3, 1fr); }
    .steps-grid, .branch-grid, .features-bar, .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid::before { display: none; }
    .audience-grid { flex-wrap: wrap; gap: 15px; justify-content: center; }
    .audience-divider, .audience-divider-mini { display: none; }
    .map-display { flex-direction: column; text-align: center; }
    .mexico-map { width: 80%; }
}

@media (max-width: 768px) {
    .container-full, .container-main { padding: 0 20px; }
    .nav-flex { flex-direction: column; gap: 15px; }
    .nav-right { flex-direction: column; gap: 15px; width: 100%; justify-content: center; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .hero { height: auto; padding: 80px 0; text-align: center; }
    .hero-bg-container { width: 100%; opacity: 0.15; } 
    .hero-mask-light { background: transparent; } 
    .hero-content { margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
    .pills-wrapper { flex-wrap: wrap; justify-content: center; }
    .audience-flex { flex-direction: column; text-align: center; }
    .audience-item img { height: 60px; } 
    .cards-layout { grid-template-columns: repeat(2, 1fr); }
    .steps-grid, .branch-grid, .features-bar, .footer-grid { grid-template-columns: 1fr; }
    .machinery-dark-zone, .contact-card { padding: 30px 20px; }
    .sofin-form .form-row { grid-template-columns: 1fr; }
    .btn-form-submit { justify-content: center; gap: 15px; }
    .mexico-map { width: 100%; }
}