/* =====================================================================
   Máximo Impulso – Sistema de diseño moderno (se carga al final)
   Unifica todas las páginas bajo un mismo lenguaje visual.
   ===================================================================== */

:root {
    --mx-brand: #1E88E5;
    --mx-brand-dark: #0B5CAD;
    --mx-accent: #FF9800;
    --mx-ink: #0B1120;
    --mx-ink-2: #1B2538;
    --mx-text: #475569;
    --mx-muted: #64748B;
    --mx-line: #E6EBF2;
    --mx-surface: #F6F8FB;
    --mx-radius: 18px;
    --mx-radius-lg: 24px;
    --mx-shadow-sm: 0 1px 2px rgba(11, 17, 32, .04), 0 4px 14px rgba(11, 17, 32, .05);
    --mx-shadow-md: 0 10px 30px rgba(11, 17, 32, .08);
    --mx-shadow-lg: 0 24px 60px rgba(11, 17, 32, .14);
    --mx-ease: cubic-bezier(.22, .61, .36, 1);
}

html { scroll-behavior: smooth; }

body {
    color: var(--mx-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--mx-ink);
    letter-spacing: -.02em;
    line-height: 1.2;
}
h1 { letter-spacing: -.03em; }
.lead { color: var(--mx-text); font-weight: 400; }
.text-muted { color: var(--mx-muted) !important; }
a { transition: color .2s ease; }
::selection { background: rgba(30, 136, 229, .2); }

section.py-5, main.py-5 { padding-top: clamp(3.5rem, 7vw, 6rem) !important; padding-bottom: clamp(3.5rem, 7vw, 6rem) !important; }
.bg-light { background: var(--mx-surface) !important; }

/* ---------- Títulos de sección ---------- */
.section-title, .title-gradient {
    font-family: var(--font-title);
    color: var(--mx-ink) !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none !important;
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}
.title-gradient::after {
    content: '';
    display: block;
    width: 56px; height: 4px; border-radius: 4px;
    margin: .85rem auto 0;
    background: linear-gradient(90deg, var(--mx-brand), var(--mx-accent));
}
.text-start.title-gradient::after, .text-md-start.title-gradient::after { margin-left: 0; }

/* ---------- Navbar ---------- */
.navbar {
    background: rgba(255, 255, 255, .86) !important;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(11, 17, 32, .06);
    box-shadow: none !important;
    padding-top: .45rem; padding-bottom: .45rem;
    transition: box-shadow .3s ease, background .3s ease;
}
.navbar.is-scrolled { box-shadow: 0 8px 30px rgba(11, 17, 32, .08) !important; }
.navbar-brand img { animation: none !important; filter: none !important; transition: transform .3s var(--mx-ease); }
.navbar-brand:hover img { transform: scale(1.04); }
.navbar-nav { gap: .15rem; }
.nav-link {
    position: relative;
    color: var(--mx-ink-2) !important;
    font-size: .92rem; font-weight: 500;
    padding: .55rem .85rem !important;
    border-radius: 10px;
}
.nav-link:hover { color: var(--mx-brand) !important; background: rgba(30, 136, 229, .07); }
.nav-link.active { color: var(--mx-brand) !important; background: rgba(30, 136, 229, .1); }
.nav-link.nav-highlight {
    color: #C76A00 !important; font-weight: 600;
    background: rgba(255, 152, 0, .12);
}
.nav-link.nav-highlight:hover, .nav-link.nav-highlight.active { background: rgba(255, 152, 0, .2); color: #B35F00 !important; }
.navbar-toggler { border: 0; box-shadow: none !important; }

/* ---------- Hero / encabezados de página ---------- */
.page-header, .blog-post-header {
    background: var(--mx-ink) !important;
    padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
    position: relative; overflow: hidden; isolation: isolate;
}
.page-header::before, .blog-post-header::before {
    content: ''; position: absolute; inset: 0; width: auto; height: auto;
    border-radius: 0; filter: none; animation: none; z-index: -2;
    background:
        radial-gradient(60% 80% at 8% 0%, rgba(30, 136, 229, .45), transparent 60%),
        radial-gradient(50% 70% at 100% 100%, rgba(255, 152, 0, .28), transparent 60%);
}
.page-header::after, .blog-post-header::after {
    content: ''; position: absolute; inset: 0; width: auto; height: auto;
    border-radius: 0; filter: none; animation: none; z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.page-header .container { z-index: 2; }
.page-header h1, .blog-post-title {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    text-shadow: none;
}
.page-header .lead {
    color: #C9D6E8; text-shadow: none;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    max-width: 760px; margin-left: auto; margin-right: auto;
}
.animated-gradient-text {
    background: linear-gradient(90deg, #64B5F6, #ffffff, #FFB74D, #64B5F6);
    background-size: 300% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none; animation: animated-gradient 12s ease-in-out infinite;
}
.hero-pro { padding-bottom: 0; }
.hero-pro .hero-title { font-size: clamp(2.2rem, 5.6vw, 4rem); color: #fff; }
.hero-badge { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }
.blog-post-header .text-black { color: #fff !important; }

/* ---------- Botones ---------- */
.btn {
    border-radius: 50rem;
    font-weight: 600; letter-spacing: .01em;
    padding: .65rem 1.5rem;
    transition: transform .25s var(--mx-ease), box-shadow .25s var(--mx-ease), background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
    background: linear-gradient(135deg, var(--mx-brand), var(--mx-brand-dark)); border: 0; color: #fff;
    box-shadow: 0 8px 20px rgba(30, 136, 229, .3);
}
.btn-primary:hover, .btn-primary:focus { background: linear-gradient(135deg, #2f95ee, #0a4f95); box-shadow: 0 12px 28px rgba(30, 136, 229, .4); color: #fff; }
.btn-outline-primary { color: var(--mx-brand-dark); border: 1.5px solid rgba(30, 136, 229, .5); background: transparent; }
.btn-outline-primary:hover { background: var(--mx-brand); border-color: var(--mx-brand); color: #fff; box-shadow: 0 8px 20px rgba(30, 136, 229, .25); }
.btn-orange, .btn-secondary {
    background: linear-gradient(135deg, #FFA726, #F57C00); border: 0; color: #fff;
    box-shadow: 0 8px 20px rgba(255, 152, 0, .32);
}
.btn-orange:hover, .btn-secondary:hover { background: linear-gradient(135deg, #ffb340, #e57200); color: #fff; box-shadow: 0 12px 28px rgba(255, 152, 0, .42); }
.btn-success { background: #25D366; border: 0; color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn-success:hover { background: #1fbf5c; box-shadow: 0 12px 28px rgba(37, 211, 102, .4); }
.btn-read-more { border-radius: 50rem; padding: .6rem 1.4rem; background: linear-gradient(135deg, var(--mx-brand), var(--mx-brand-dark)); }

/* ---------- Tarjetas ---------- */
.card {
    background: #fff;
    border: 1px solid var(--mx-line);
    border-radius: var(--mx-radius);
    box-shadow: var(--mx-shadow-sm);
    transition: transform .35s var(--mx-ease), box-shadow .35s var(--mx-ease), border-color .35s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--mx-shadow-md) !important; border-color: rgba(30, 136, 229, .35); }
.card.shadow, .card.shadow-lg { box-shadow: var(--mx-shadow-sm) !important; }

/* Tarjetas de servicio (servicios.html) */
.service-card {
    background: #fff !important; color: var(--mx-text) !important;
    border: 1px solid var(--mx-line); border-radius: var(--mx-radius);
    box-shadow: var(--mx-shadow-sm);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--mx-shadow-md) !important; border-color: rgba(30, 136, 229, .4); background: #fff !important; }
.service-card h4, .service-card h5, .service-card:hover h4, .service-card:hover h5 { color: var(--mx-ink) !important; }
.service-card p, .service-card:hover p { color: var(--mx-muted) !important; }
.service-icon {
    width: 72px; height: 72px; border-radius: 20px;
    background: #EAF3FD !important; margin-bottom: 1.25rem;
    transition: transform .35s var(--mx-ease);
}
.service-card-orange .service-icon, .service-icon-orange { background: #FFF3E0 !important; }
.service-card:hover .service-icon { transform: scale(1.06) rotate(-3deg); }
.service-icon i, .service-card:hover .service-icon i {
    font-size: 2rem; animation: none !important;
    background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--mx-brand) !important;
}
.service-card-orange .service-icon i, .service-icon-orange i, .service-card-orange:hover .service-icon i { color: #F57C00 !important; }
/* neutraliza estados móviles antiguos */
.js-scroll-animations .service-card.service-card-blue.is-visible,
.js-scroll-animations .service-card.service-card-orange.is-visible { background: #fff !important; color: var(--mx-text) !important; }
.js-scroll-animations .service-card.is-visible h4,
.js-scroll-animations .service-card.is-visible p { color: inherit !important; }
.blog-content .service-card { border-left: 4px solid var(--mx-brand); padding: 1.75rem; box-shadow: var(--mx-shadow-sm); }
.blog-content .service-card:hover h3, .blog-content .service-card:hover p { color: inherit !important; }

/* Precios */
.pricing-card, .pricing-card.pricing-card-blue {
    background: #fff; border: 1px solid var(--mx-line); border-radius: var(--mx-radius-lg);
    box-shadow: var(--mx-shadow-sm);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--mx-shadow-md); border-color: rgba(30, 136, 229, .4); }
.pricing-card .card-header, .pricing-card .card-footer { background: transparent !important; border: 0; }
.pricing-card.pricing-card-gold {
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--mx-brand), var(--mx-accent)) border-box;
    border: 2px solid transparent; transform: none; box-shadow: var(--mx-shadow-lg);
}
@media (min-width: 992px) { .pricing-card.pricing-card-gold { transform: translateY(-10px); } .pricing-card.pricing-card-gold:hover { transform: translateY(-16px); } }
.pricing-card.pricing-card-gold .badge, .badge.bg-primary {
    background: linear-gradient(135deg, var(--mx-brand), var(--mx-brand-dark)) !important; color: #fff !important;
    border-radius: 50rem; letter-spacing: .06em; padding: .55em 1.1em;
}
.pricing-card .card-title { color: var(--mx-ink); letter-spacing: -.03em; }
.pricing-card ul li { padding: .35rem 0; }
.pricing-card .text-primary, .text-primary { color: var(--mx-brand) !important; }

.store-type-card, .extra-item, .value-card {
    border-radius: var(--mx-radius); border: 1px solid var(--mx-line); box-shadow: var(--mx-shadow-sm);
}
.store-type-card:hover, .extra-item:hover, .value-card:hover { transform: translateY(-5px); box-shadow: var(--mx-shadow-md) !important; }
.value-card-blue { background: linear-gradient(160deg, #EAF3FD, #fff) !important; }
.value-card-orange { background: linear-gradient(160deg, #FFF3E0, #fff) !important; }
.value-card .bi { color: var(--mx-brand) !important; }
.value-card-orange .bi { color: #F57C00 !important; }
.about-us-img { animation: none !important; border: 6px solid #fff; box-shadow: var(--mx-shadow-lg); }

/* Recursos / blog */
.resource-card {
    border: 1px solid var(--mx-line); border-radius: var(--mx-radius); box-shadow: var(--mx-shadow-sm);
}
.resource-card img { transition: transform .5s var(--mx-ease); }
.resource-card:hover { transform: translateY(-6px); box-shadow: var(--mx-shadow-md); }
.resource-card:hover img { transform: scale(1.05); }
.resource-card { overflow: hidden; }
.resource-card h3 { font-family: var(--font-title); font-size: 1.15rem; }
.card-category { background: rgba(30, 136, 229, .1); color: var(--mx-brand-dark); letter-spacing: .02em; }
.recursos-grid { gap: 28px; max-width: 1240px; margin-left: auto; margin-right: auto; }

/* Proceso (cómo trabajamos) - Paleta coherente Máximo Impulso (Azul y Oro) */
.process-icon {
    width: 110px; height: 110px; border-radius: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    position: relative; border: 4px solid #ffffff !important;
    transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 14px 32px rgba(15, 23, 42, .12);
}
/* Pasos 1, 2, 3 en Azul Corporativo Vibrante */
.process-step-1 .process-icon,
.process-step-2 .process-icon,
.process-step-3 .process-icon {
    background: linear-gradient(135deg, #2196F3 0%, #0D47A1 100%) !important;
    box-shadow: 0 14px 32px rgba(30, 136, 229, .35);
}
/* Paso 4 (Lanzamiento / El Impulso) en Dorado Vibrante de la Marca */
.process-step-4 .process-icon {
    background: linear-gradient(135deg, #FFB300 0%, #E65100 100%) !important;
    box-shadow: 0 14px 32px rgba(255, 152, 0, .38);
}
.process-icon i {
    font-size: 2.8rem !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,.25));
}
.process-step:hover .process-icon {
    transform: translateY(-8px) scale(1.08) !important;
}
.process-step-1:hover .process-icon,
.process-step-2:hover .process-icon,
.process-step-3:hover .process-icon {
    box-shadow: 0 22px 46px rgba(30, 136, 229, .52) !important;
}
.process-step-4:hover .process-icon {
    box-shadow: 0 22px 46px rgba(255, 152, 0, .55) !important;
}
.process-step-badge {
    position: absolute; top: -6px; right: -6px; width: 34px; height: 34px;
    border-radius: 50%; background: #0A192F; color: #FFFFFF; font-size: .82rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    border: 3px solid #FFFFFF; box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.process-step-4 .process-step-badge {
    background: #E65100; color: #FFFFFF;
}
/* Línea de tiempo que va del Azul al Dorado del Lanzamiento */
.process-steps .process-line-desktop::after {
    background: linear-gradient(90deg, #1E88E5 0%, #1E88E5 65%, #FF9800 100%) !important;
    box-shadow: 0 0 14px rgba(30, 136, 229, .4);
}

/* Tarjetas de Entregables coherentes */
.deliverable-card {
    background: #FFFFFF; border: 1px solid var(--mx-line); border-radius: 20px;
    padding: 2rem 1.6rem; height: 100%; transition: all .3s ease; position: relative; overflow: hidden;
}
.deliverable-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.deliverable-card.card-step-1::before,
.deliverable-card.card-step-2::before,
.deliverable-card.card-step-3::before {
    background: linear-gradient(90deg, #2196F3, #0D47A1);
}
.deliverable-card.card-step-4::before {
    background: linear-gradient(90deg, #FFB300, #E65100);
}
.deliverable-card:hover {
    transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15, 23, 42, .09);
    border-color: rgba(30, 136, 229, .35);
}
.deliverable-card.card-step-4:hover {
    border-color: rgba(255, 152, 0, .4);
}
.deliverable-pill {
    display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem;
    border-radius: 50rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    margin-bottom: 1.1rem;
}
.card-step-1 .deliverable-pill,
.card-step-2 .deliverable-pill,
.card-step-3 .deliverable-pill {
    background: rgba(30, 136, 229, .1); color: #1E88E5;
}
.card-step-4 .deliverable-pill {
    background: rgba(255, 152, 0, .14); color: #E65100;
}
.deliverable-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.deliverable-list li {
    position: relative; padding-left: 1.6rem; margin-bottom: .8rem; font-size: .92rem; color: #475569; line-height: 1.5;
}
.deliverable-list li i { position: absolute; left: 0; top: 2px; font-size: 1rem; }
.card-step-1 .deliverable-list li i,
.card-step-2 .deliverable-list li i,
.card-step-3 .deliverable-list li i { color: #1E88E5; }
.card-step-4 .deliverable-list li i { color: #E65100; }

/* Compromisos coherentes (Alternancia armónica Azul y Dorado) */
.commitment-card {
    background: #FFFFFF; border: 1px solid var(--mx-line); border-radius: 20px;
    padding: 2.2rem 1.8rem; height: 100%; transition: all .3s ease;
}
.commitment-card:hover {
    transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
    border-color: rgba(30, 136, 229, .35);
}
.commitment-icon {
    width: 62px; height: 62px; border-radius: 18px; display: inline-flex;
    align-items: center; justify-content: center; font-size: 1.85rem; margin-bottom: 1.25rem;
}
.ci-blue { background: rgba(30, 136, 229, .1); color: #1E88E5; }
.ci-gold { background: rgba(255, 152, 0, .12); color: #E65100; }

/* Banner CTA Proceso */
.process-cta-banner h2, .process-cta-banner h3 { color: #FFFFFF !important; }
.process-cta-banner {
    background: linear-gradient(135deg, #0A192F 0%, #0F2A4A 100%);
    border-radius: 28px; padding: 4.5rem 2.5rem; color: #FFFFFF;
    position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 24px 60px rgba(10, 25, 47, .25);
}
.process-cta-banner::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px;
    border-radius: 50%; background: radial-gradient(circle, rgba(30, 136, 229, .28), transparent 70%);
    pointer-events: none;
}
.process-tech-chip {
    display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.1rem;
    border-radius: 50rem; font-size: .88rem; font-weight: 600; color: #0F172A;
    background: #FFFFFF; border: 1px solid var(--mx-line); box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
}
.process-tech-chip i { font-size: 1.15rem; color: var(--mx-brand); }

/* FAQ */
#faqAccordion .accordion-item, .accordion-item { border-radius: var(--mx-radius) !important; border: 1px solid var(--mx-line); box-shadow: var(--mx-shadow-sm); margin-bottom: .9rem; overflow: hidden; }
#faqAccordion .accordion-item:hover { transform: none; box-shadow: var(--mx-shadow-md); }
.accordion-button { font-weight: 600; color: var(--mx-ink); padding: 1.15rem 1.4rem; }
.accordion-button:not(.collapsed) { color: var(--mx-brand-dark) !important; background: rgba(30, 136, 229, .06) !important; box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(30, 136, 229, .2); }

/* Alertas y formularios */
.alert { border-radius: var(--mx-radius); border: 1px solid var(--mx-line); border-left: 4px solid var(--mx-brand); background: #fff; box-shadow: var(--mx-shadow-sm); }
.alert-heading { color: var(--mx-ink); }
.contact-form-container, .contact-info-container {
    border: 1px solid var(--mx-line); border-radius: var(--mx-radius-lg) !important;
    box-shadow: var(--mx-shadow-md) !important;
}
.contact-info-container { background: var(--mx-surface); }
.form-control, .form-select {
    border-radius: 12px; border: 1px solid #D5DDE8; padding: .75rem 1rem; background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus, .form-select:focus { border-color: var(--mx-brand); box-shadow: 0 0 0 4px rgba(30, 136, 229, .15); }
.form-label { font-weight: 600; color: var(--mx-ink-2); font-size: .92rem; }

/* CTA final */
.final-cta {
    background: radial-gradient(60% 120% at 100% 0%, rgba(255, 152, 0, .35), transparent 60%), linear-gradient(135deg, #0B5CAD, #1E88E5) !important;
    color: #fff; position: relative; overflow: hidden;
}
.final-cta h2 { color: #fff; }
section.bg-light.text-center .lead { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Componentes de home.css, afinados ---------- */
.ms-feature, .feature-box, .price-hero-card { border-radius: var(--mx-radius); border-color: var(--mx-line); box-shadow: var(--mx-shadow-sm); }
.ms-feature .ico, .feature-box .ico, .feature-box.orange .ico, .ms-feature.orange .ico {
    border-radius: 16px; box-shadow: 0 10px 22px rgba(30, 136, 229, .25);
}
.feature-box.orange .ico, .ms-feature.orange .ico { box-shadow: 0 10px 22px rgba(255, 152, 0, .28); }
.feature-box:hover, .ms-feature:hover { box-shadow: var(--mx-shadow-md); }
.price-hero-card { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--mx-brand), var(--mx-accent)) border-box; border-radius: var(--mx-radius-lg); box-shadow: var(--mx-shadow-lg); }
.sub-banner { border-radius: var(--mx-radius-lg); box-shadow: var(--mx-shadow-lg); }
.sub-banner h2 { color: #fff; }
.ms-partner-tag { border-radius: 50rem; }
.step-num { box-shadow: 0 12px 28px rgba(30, 136, 229, .3); }

/* ---------- Footer unificado ---------- */
.site-footer { background: var(--mx-ink); color: #A9B6C9; padding: 4rem 0 0; position: relative; overflow: hidden; }
.site-footer::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(50% 60% at 0% 0%, rgba(30, 136, 229, .18), transparent 70%);
}
.site-footer .container { position: relative; }
.site-footer h6 { color: #fff; font-family: var(--font-title); font-size: .95rem; letter-spacing: .02em; margin-bottom: 1.1rem; }
.site-footer a { color: #A9B6C9; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; font-size: .95rem; }
.footer-brand { font-family: var(--font-title); color: #fff; font-size: 1.35rem; letter-spacing: -.02em; }
.footer-brand span { color: var(--mx-accent); }
.footer-logo img { transition: transform .3s var(--mx-ease); }
.footer-logo:hover img { transform: scale(1.04); }
.footer-ms {
    display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.1rem;
    padding: .5rem 1rem; border-radius: 50rem; font-size: .85rem; font-weight: 600; color: #fff;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
}
.footer-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .07); color: #fff; font-size: 1.1rem;
}
.footer-social a:hover { background: var(--mx-brand); transform: translateY(-3px); }
.footer-bottom {
    margin-top: 3rem; padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, .09);
    font-size: .88rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
}

/* ---------- Animación de entrada (solo escritorio) ---------- */
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
    .mx-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--mx-ease), transform .7s var(--mx-ease); }
    .mx-reveal.mx-in { opacity: 1; transform: none; }
}

/* ---------- Móvil ---------- */
@media (max-width: 991.98px) {
    .navbar-collapse { padding: .75rem 0 1rem; }
    .nav-link { padding: .7rem 1rem !important; }
    .pricing-card.pricing-card-gold { transform: none; }
}
@media (max-width: 575.98px) {
    .btn-lg { width: 100%; }
    .site-footer { padding-top: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Ajustes */
.step-num { position: relative; z-index: 1; }
.steps-pro::before { z-index: 0; }
.mock-float { z-index: 3; }
.hero-mockup .mock-window { position: relative; z-index: 2; }

.animated-gradient-text { background: linear-gradient(90deg, #7CC0FF 0%, #ffffff 50%, #FFC266 100%); background-size: 100% 100%; animation: none; -webkit-background-clip: text; background-clip: text; }
.blog-content .service-card p:last-child { margin-bottom: 0; }
.blog-content .service-card.mb-5 { margin-bottom: 1.5rem !important; }

/* ---------- Azure / Partner ID ---------- */
.ms-partner-tag .bi { color: var(--mx-brand); font-size: 1.3rem; }
.partner-id {
    display: inline-flex; align-items: center; gap: .7rem; text-align: left;
    padding: .65rem 1.2rem; border-radius: 50rem; font-size: .9rem; color: var(--mx-text);
    background: #fff; border: 1px solid var(--mx-line); box-shadow: var(--mx-shadow-sm);
}
.partner-id .bi { color: var(--mx-brand); font-size: 1.2rem; flex-shrink: 0; }
.partner-id strong { color: var(--mx-ink); }
.footer-cert { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.1rem; align-items: flex-start; }
.footer-cert .footer-ms { margin-top: 0; }
.footer-ms .bi, .footer-id .bi { color: #64B5F6; }
.footer-id { display: inline-flex; align-items: flex-start; gap: .6rem; font-size: .82rem; color: #A9B6C9; line-height: 1.4; padding-left: .25rem; }
.footer-id .bi { margin-top: .1rem; }
.hero-badge .bi { color: #64B5F6; }
.sub-banner .lead, .sub-banner p, .sub-banner li { color: #D5E0F0 !important; opacity: 1 !important; }
.sub-banner .sub-price, .sub-banner .sub-price small { color: #fff !important; }


/* =====================================================================
   HERO "COMBINACIÓN MAESTRA" – Escaparate Interactivo + Ecosistema 3D
   ===================================================================== */

.hero-master {
    padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(4rem, 6vw, 5.2rem) !important;
    background: #060B16 !important;
}

/* Aurora animada de fondo */
.hero-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}
.hero-aurora .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(95px);
    opacity: .55;
    animation: aurora-float 14s ease-in-out infinite alternate;
}
.hero-aurora .orb-1 {
    width: 560px; height: 560px;
    top: -200px; left: -140px;
    background: radial-gradient(circle, rgba(30, 136, 229, .75), transparent 70%);
}
.hero-aurora .orb-2 {
    width: 520px; height: 520px;
    bottom: -180px; right: -120px;
    background: radial-gradient(circle, rgba(255, 152, 0, .6), transparent 70%);
    animation-delay: -5s;
}
.hero-aurora .orb-3 {
    width: 680px; height: 320px;
    top: 18%; left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(56, 189, 248, .32), transparent 70%);
    animation-delay: -9s;
}
@keyframes aurora-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -25px) scale(1.08); }
}

/* Insignia superior con pulso en vivo */
.hero-badge-wrap {
    display: flex;
    justify-content: center;
}
.hero-master .hero-badge {
    background: rgba(15, 23, 42, .75);
    border: 1px solid rgba(124, 192, 255, .3);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .12);
    padding: .55rem 1.25rem;
    font-size: .92rem;
}
.hero-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22C55E;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .7);
    animation: live-pulse 2s infinite;
}
@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Título con frase rotativa */
.hero-master .hero-title {
    font-size: clamp(2.1rem, 4.8vw, 3.65rem);
    max-width: 940px;
    line-height: 1.15;
}
.hero-rotator-wrap {
    display: block;
    min-height: 1.2em;
    margin-top: .12rem;
}
#heroRotatingText {
    display: inline-block;
    transition: opacity .32s ease, transform .32s ease;
    position: relative;
}
#heroRotatingText.is-switching {
    opacity: 0;
    transform: translateY(10px);
}
#heroRotatingText::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: .82em;
    background: #FFB74D;
    margin-left: 6px;
    vertical-align: -4px;
    border-radius: 2px;
    animation: cursor-blink 1.1s steps(2, start) infinite;
}
@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Escenario interactivo */
.hero-stage {
    max-width: 900px;
    margin: 2.4rem auto 0;
    position: relative;
    z-index: 3;
}

/* Pestañas del escaparate */
.showcase-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .45rem;
    padding: .4rem;
    border-radius: 50rem;
    background: rgba(15, 23, 42, .82);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(12px);
    margin-bottom: 1.6rem;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
}
.showcase-tab {
    border: 0;
    background: transparent;
    color: #94A3B8;
    font-family: var(--font-text);
    font-weight: 600;
    font-size: .86rem;
    padding: .52rem 1.15rem;
    border-radius: 50rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    transition: all .25s ease;
}
.showcase-tab i {
    font-size: .95rem;
    color: #64B5F6;
    transition: color .25s ease, transform .25s ease;
}
.showcase-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, .06);
}
.showcase-tab.active {
    background: linear-gradient(135deg, #1E88E5, #0B5CAD);
    color: #fff;
    box-shadow: 0 6px 18px rgba(30, 136, 229, .45);
}
.showcase-tab.active i {
    color: #FFB74D;
    transform: scale(1.08);
}

/* Contenedor del navegador + elementos flotantes */
.hero-master .hero-mockup {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
}
.hero-master .mock-window {
    background: #F1F5F9;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 32px 80px rgba(0, 0, 0, .6), 0 -6px 50px rgba(30, 136, 229, .28);
    overflow: hidden;
    text-align: left;
    position: relative;
    z-index: 2;
}
.hero-master .mock-bar {
    background: #0F172A;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 11px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.mock-dots {
    display: flex;
    gap: 7px;
}
.mock-nav-arrows {
    display: flex;
    gap: 8px;
    color: #64748B;
    font-size: .78rem;
}
.hero-master .mock-url {
    flex: 1;
    max-width: 390px;
    margin: 0 auto;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    padding: 5px 14px;
    font-size: .8rem;
    color: #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.hero-master .mock-url .bi {
    color: #22C55E;
    margin: 0;
}
.mock-ssl-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .73rem;
    font-weight: 600;
    color: #7DD3FC;
    background: rgba(56, 189, 248, .12);
    border: 1px solid rgba(56, 189, 248, .28);
    padding: 4px 10px;
    border-radius: 50rem;
    white-space: nowrap;
}
.ssl-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22C55E;
    display: inline-block;
    box-shadow: 0 0 8px #22C55E;
}

/* Viewport y escenas */
.mock-viewport {
    background: #F1F5F9;
    padding: 18px 20px 22px;
    min-height: 325px;
}
.showcase-scene {
    display: none;
    animation: scene-enter .38s cubic-bezier(.22, .61, .36, 1);
}
.showcase-scene.active {
    display: block;
}
@keyframes scene-enter {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Barra interna de cada sitio demo */
.sc-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    margin-bottom: 14px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .03);
}
.sc-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sc-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.sc-logo-orange { background: linear-gradient(135deg, #FF9800, #E65100); }
.sc-logo-blue { background: linear-gradient(135deg, #1E88E5, #0B5CAD); }
.sc-logo-dark { background: linear-gradient(135deg, #1E293B, #0F172A); }
.sc-brand strong {
    display: block;
    font-size: .86rem;
    color: #0F172A;
    line-height: 1.15;
}
.sc-brand small {
    display: block;
    font-size: .71rem;
    color: #64748B;
}
.sc-menu {
    display: flex;
    gap: 4px;
    font-size: .75rem;
    font-weight: 600;
    color: #64748B;
}
.sc-menu span {
    padding: 4px 10px;
    border-radius: 6px;
}
.sc-menu span.active {
    background: #EFF6FF;
    color: #1E88E5;
}
.sc-cart-pill, .sc-status-online {
    font-size: .74rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 50rem;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #0F172A;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.sc-status-online {
    background: #ECFDF5;
    border-color: #A7F3D0;
    color: #047857;
}

/* Grilla interna de las escenas */
.sc-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 14px;
    align-items: stretch;
}

/* Escena 1: Tienda Online */
.sc-featured-card {
    background: linear-gradient(145deg, #0F172A 0%, #1E293B 100%);
    color: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
}
.sc-featured-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.sc-tag-hot {
    background: rgba(255, 152, 0, .2);
    border: 1px solid rgba(255, 152, 0, .45);
    color: #FFB74D;
    font-size: .71rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 50rem;
}
.sc-stars {
    color: #FBBF24;
    font-size: .76rem;
    font-weight: 700;
}
.sc-stars small { color: #94A3B8; font-weight: 400; }
.sc-featured-card h4 {
    color: #fff;
    font-size: .98rem;
    font-weight: 700;
    margin: 0 0 5px;
    line-height: 1.3;
}
.sc-featured-card p {
    color: #CBD5E1;
    font-size: .75rem;
    margin: 0 0 10px;
    line-height: 1.45;
}
.sc-featured-visual {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    padding: 9px 12px;
    margin-bottom: 12px;
}
.sc-coffee-bag {
    background: linear-gradient(135deg, #FF9800, #D97706);
    border-radius: 10px;
    padding: 9px 11px;
    text-align: center;
    color: #fff;
    min-width: 106px;
    box-shadow: 0 6px 16px rgba(245, 158, 11, .3);
}
.sc-coffee-bag i { font-size: 1.25rem; display: block; margin-bottom: 2px; }
.sc-coffee-bag span { display: block; font-size: .71rem; font-weight: 700; line-height: 1.1; }
.sc-coffee-bag small { font-size: .64rem; opacity: .9; }
.sc-price-box { flex: 1; }
.sc-old-price { display: block; font-size: .68rem; color: #94A3B8; text-decoration: line-through; }
.sc-big-price { font-family: var(--font-title); font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1.1; }
.sc-stock { display: inline-flex; align-items: center; gap: 4px; font-size: .69rem; color: #4ADE80; font-weight: 600; margin-top: 2px; }
.sc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sc-btn-primary {
    background: linear-gradient(135deg, #1E88E5, #0B5CAD);
    color: #fff;
    font-size: .74rem;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(30, 136, 229, .35);
}
.sc-btn-ghost {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    font-size: .74rem;
    font-weight: 600;
    padding: 7px 11px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.sc-side-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
}
.sc-mini-product {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 11px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .03);
}
.sc-mp-ico {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.sc-mp-ico.blue { background: #EFF6FF; color: #1E88E5; }
.sc-mp-ico.orange { background: #FFF7ED; color: #EA580C; }
.sc-mp-info { flex: 1; min-width: 0; }
.sc-mp-info strong { display: block; font-size: .8rem; color: #0F172A; line-height: 1.2; }
.sc-mp-info > span { display: block; font-size: .7rem; color: #64748B; margin-bottom: 3px; }
.sc-mp-bottom { display: flex; align-items: center; justify-content: space-between; }
.sc-mp-bottom b { font-size: .84rem; color: #0F172A; font-family: var(--font-title); }
.sc-badge-soft {
    font-size: .67rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50rem;
    background: #ECFDF5;
    color: #059669;
    display: inline-block;
}
.sc-badge-soft.orange { background: #FFF7ED; color: #EA580C; }
.sc-live-strip {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1E40AF;
    border-radius: 10px;
    padding: 8px 11px;
    font-size: .72rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}

/* Escena 2: Reservas y Citas */
.sc-calendar-card, .sc-booking-summary {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 15px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sc-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .8rem;
    color: #0F172A;
}
.sc-cal-header span {
    font-size: .72rem;
    font-weight: 600;
    color: #1E88E5;
    background: #EFF6FF;
    padding: 2px 8px;
    border-radius: 6px;
}
.sc-days-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
    margin: 10px 0;
}
.sc-day {
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 6px 4px;
    text-align: center;
    background: #F8FAFC;
    color: #334155;
}
.sc-day span { display: block; font-size: .66rem; color: #64748B; }
.sc-day b { font-size: .88rem; font-family: var(--font-title); }
.sc-day.active {
    background: linear-gradient(135deg, #1E88E5, #0B5CAD);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 14px rgba(30, 136, 229, .3);
}
.sc-day.active span { color: #DBEAFE; }
.sc-slots-label { font-size: .72rem; font-weight: 600; color: #475569; margin-bottom: 6px; }
.sc-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    margin-bottom: 10px;
}
.sc-slot {
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    padding: 5px 8px;
    font-size: .74rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
}
.sc-slot.active {
    background: #ECFDF5;
    border-color: #10B981;
    color: #047857;
}
.sc-cal-note {
    font-size: .7rem;
    color: #475569;
    background: #F8FAFC;
    border-radius: 8px;
    padding: 7px 10px;
}
.sc-cal-note i { color: #F59E0B; margin-right: 4px; }
.sc-booking-summary h5 { font-size: .92rem; font-weight: 700; color: #0F172A; }
.sc-doc { font-size: .75rem; color: #475569; margin-bottom: 8px; }
.sc-doc i { color: #1E88E5; }
.sc-book-details {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: .74rem;
    margin-bottom: 8px;
}
.sc-book-details > div {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
}
.sc-book-details span { color: #64748B; }
.sc-book-details strong { color: #0F172A; }

/* Escena 3: Web Empresarial */
.sc-corp-hero {
    background: linear-gradient(145deg, #0F172A, #1E3A8A);
    color: #fff;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sc-tag-corp {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    font-size: .7rem;
    font-weight: 600;
    background: rgba(255, 255, 255, .12);
    color: #93C5FD;
    padding: 3px 10px;
    border-radius: 50rem;
    margin-bottom: 8px;
}
.sc-corp-hero h4 { color: #fff; font-size: .98rem; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.sc-corp-hero p { color: #CBD5E1; font-size: .75rem; line-height: 1.45; margin-bottom: 10px; }
.sc-corp-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: .72rem;
    color: #E2E8F0;
}
.sc-corp-checks i { color: #4ADE80; margin-right: 3px; }
.sc-seo-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 13px;
}
.sc-seo-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .71rem;
    font-weight: 600;
    color: #1E88E5;
    margin-bottom: 4px;
}
.sc-seo-card strong { display: block; font-size: .82rem; color: #0F172A; margin-bottom: 4px; }
.sc-seo-stars { color: #FBBF24; font-size: .78rem; font-weight: 700; }
.sc-seo-stars span { color: #64748B; font-weight: 500; font-size: .71rem; }
.sc-kpi-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.sc-kpi-mini {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}
.sc-kpi-mini b {
    display: block;
    font-family: var(--font-title);
    font-size: 1.25rem;
    color: #1E88E5;
    line-height: 1.1;
}
.sc-kpi-mini span { font-size: .7rem; color: #64748B; }

/* Escena 4: Panel Admin */
.sc-admin-body { display: flex; flex-direction: column; gap: 12px; }
.sc-admin-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.sc-akpi {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 11px 14px;
}
.sc-akpi small { display: block; font-size: .7rem; color: #64748B; }
.sc-akpi strong {
    display: block;
    font-family: var(--font-title);
    font-size: 1.18rem;
    color: #0F172A;
    margin: 2px 0;
}
.sc-akpi span { font-size: .69rem; font-weight: 600; }
.sc-akpi span.up { color: #059669; }
.sc-akpi span.neutral { color: #1E88E5; }

.sc-admin-bottom {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 12px;
}
.sc-chart-box, .sc-recent-list {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px 14px;
}
.sc-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.sc-chart-head strong { font-size: .78rem; color: #0F172A; }
.sc-chart-head span { font-size: .68rem; color: #64748B; }
.sc-bars {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    height: 86px;
    align-items: end;
    padding-top: 6px;
}
.sc-bar-col {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
}
.sc-bar-col span {
    width: 100%;
    border-radius: 6px 6px 3px 3px;
    background: #BFDBFE;
    display: block;
}
.sc-bar-col.active span {
    background: linear-gradient(180deg, #FF9800, #1E88E5);
}
.sc-bar-col small { font-size: .64rem; color: #64748B; }

.sc-recent-list > strong {
    display: block;
    font-size: .78rem;
    color: #0F172A;
    margin-bottom: 8px;
}
.sc-act-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 0;
    border-top: 1px solid #F1F5F9;
}
.sc-act-item:first-of-type { border-top: 0; }
.sc-act-item .dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.sc-act-item .dot.green { background: #10B981; }
.sc-act-item .dot.blue { background: #1E88E5; }
.sc-act-item .dot.orange { background: #F59E0B; }
.sc-act-item b { display: block; font-size: .74rem; color: #0F172A; line-height: 1.15; }
.sc-act-item small { display: block; font-size: .67rem; color: #64748B; }

/* Tarjetas flotantes exteriores (sin tapar contenido) */
.hero-master .mock-float {
    position: absolute;
    z-index: 6;
    background: rgba(15, 23, 42, .94);
    backdrop-filter: blur(12px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    padding: .6rem .95rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;
    gap: .7rem;
    text-align: left;
    pointer-events: none;
}
.hero-master .mock-float.f-sale {
    top: 56px;
    left: -82px;
}
.hero-master .mock-float.f-speed {
    bottom: 24px;
    left: -76px;
    animation-delay: 1.4s;
}
.hero-master .mock-float.f-seo {
    top: 48px;
    right: -78px;
    animation-delay: 2.6s;
}
.mf-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.mf-icon.mf-green { background: rgba(34, 197, 94, .2); color: #4ADE80; }
.mf-icon.mf-blue { background: rgba(56, 189, 248, .2); color: #38BDF8; }
.mf-gauge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: conic-gradient(#22C55E 0% 96%, rgba(255,255,255,.15) 96% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-size: .82rem;
    font-weight: 800;
    color: #4ADE80;
    position: relative;
    flex-shrink: 0;
}
.mf-gauge::before {
    content: '99';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mf-text strong {
    display: block;
    font-size: .8rem;
    color: #fff;
    line-height: 1.2;
}
.mf-text span {
    display: block;
    font-size: .7rem;
    color: #94A3B8;
}

/* Celular 3D superpuesto abajo a la derecha */
.mock-phone {
    position: absolute;
    right: -76px;
    bottom: -26px;
    width: 172px;
    background: #0B1120;
    border-radius: 26px;
    padding: 7px;
    border: 2px solid rgba(255, 255, 255, .24);
    box-shadow: 0 24px 55px rgba(0, 0, 0, .65), 0 0 0 1px rgba(15, 23, 42, .95);
    z-index: 5;
    text-align: left;
    animation: float-y 6s ease-in-out infinite;
    animation-delay: .8s;
}
.mp-notch {
    width: 54px;
    height: 11px;
    background: #0B1120;
    border-radius: 0 0 10px 10px;
    margin: 0 auto -6px;
    position: relative;
    z-index: 2;
}
.mp-screen {
    background: linear-gradient(165deg, #0F172A 0%, #1E293B 100%);
    border-radius: 20px;
    padding: 10px 11px 12px;
    color: #fff;
}
.mp-status {
    display: flex;
    justify-content: space-between;
    font-size: .62rem;
    color: #94A3B8;
    margin-bottom: 8px;
}
.mp-app-head {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
}
.mp-mini-logo {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: linear-gradient(135deg, #1E88E5, #FF9800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    color: #fff;
}
.mp-app-head strong { display: block; font-size: .72rem; line-height: 1.1; color: #fff; }
.mp-app-head small { display: block; font-size: .62rem; color: #38BDF8; }
.mp-hero-card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    padding: 9px;
    margin-bottom: 8px;
}
.mp-pill {
    display: inline-block;
    font-size: .58rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 152, 0, .22);
    color: #FFB74D;
    padding: 2px 6px;
    border-radius: 50rem;
    margin-bottom: 4px;
}
.mp-hero-card strong {
    display: block;
    font-size: .71rem;
    line-height: 1.25;
    color: #F8FAFC;
    margin-bottom: 6px;
}
.mp-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .64rem;
}
.mp-price-row span { color: #4ADE80; font-weight: 600; }
.mp-price-row b { color: #FBBF24; }
.mp-wa-btn {
    background: #25D366;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    text-align: center;
    padding: 6px 8px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, .35);
}

/* Responsividad de la Combinación Maestra */
@media (max-width: 1199.98px) {
    .hero-master .mock-float.f-sale { left: -24px; }
    .hero-master .mock-float.f-speed { left: -20px; }
    .hero-master .mock-float.f-seo { right: -20px; }
    .mock-phone { right: -24px; }
}
@media (max-width: 991.98px) {
    .hero-master .mock-float,
    .mock-phone { display: none; }
    .sc-grid, .sc-admin-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .showcase-tabs { border-radius: 18px; width: 100%; }
    .showcase-tab { flex: 1 1 45%; justify-content: center; font-size: .8rem; padding: .48rem .75rem; }
    .sc-menu, .mock-nav-arrows, .mock-ssl-pill { display: none; }
    .sc-admin-kpis { grid-template-columns: 1fr; }
}


/* =====================================================================
   AJUSTES DE PRECISIÓN: Alineación 2 líneas + Márgenes Exteriores + Móvil
   ===================================================================== */

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Título en 2 líneas limpias sin palabras huérfanas */
.hero-master .hero-title {
    font-size: clamp(1.75rem, 3.7vw, 3.05rem) !important;
    max-width: 1060px !important;
    line-height: 1.18 !important;
}

/* Escenario más amplio para alojar tarjetas y celular en los márgenes exteriores */
.hero-stage {
    max-width: 1180px !important;
}
.hero-master .hero-mockup {
    max-width: 730px !important;
}

/* Elementos exteriores 100% estáticos en escritorio (sin movimiento para visualización limpia) */
.hero-master .mock-float,
.hero-master .mock-phone {
    animation: none !important;
    transform: none !important;
}

.hero-master .mock-float {
    padding: .58rem .92rem !important;
    border-radius: 13px !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .45) !important;
}
.hero-master .mock-float.f-sale {
    top: 36px !important;
    left: -206px !important;
}
.hero-master .mock-float.f-speed {
    bottom: 36px !important;
    left: -198px !important;
}
.hero-master .mock-float.f-seo {
    top: 28px !important;
    right: -206px !important;
}

/* Celular 3D estático en el margen exterior derecho */
.mock-phone {
    right: -158px !important;
    bottom: -18px !important;
    width: 164px !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .6) !important;
}

/* Pantallas medianas de portátil (992px – 1240px) */
@media (min-width: 992px) and (max-width: 1239.98px) {
    .hero-master .hero-mockup {
        max-width: 640px !important;
    }
    .hero-master .mock-float.f-sale { left: -165px !important; }
    .hero-master .mock-float.f-speed { left: -160px !important; }
    .hero-master .mock-float.f-seo { right: -165px !important; }
    .mock-phone { right: -135px !important; width: 150px !important; }
}

/* Perfección en pantallas móviles (< 576px) */
@media (max-width: 575.98px) {
    .hero-master {
        padding: 2.5rem 0 3rem !important;
    }
    .hero-master .hero-badge {
        font-size: .78rem !important;
        padding: .45rem .85rem !important;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }
    .hero-master .hero-title {
        font-size: 1.75rem !important;
    }
    .hero-rotator-wrap {
        min-height: 2.35em;
    }
    .hero-master .lead {
        font-size: .98rem !important;
    }
    .hero-chip {
        font-size: .82rem !important;
        padding: .38rem .8rem !important;
    }
    .mock-viewport {
        padding: 12px !important;
    }
    .sc-topbar {
        flex-wrap: wrap;
        padding: 8px 10px !important;
    }
    .sc-featured-visual {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}


/* Prevención total de desbordamiento horizontal en móviles */
.hero-stage,
.hero-master .hero-mockup,
.hero-master .mock-window,
.mock-viewport,
.sc-grid,
.sc-grid > *,
.sc-admin-bottom > *,
.sc-admin-kpis > * {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 575.98px) {
    .ms-partner-tag,
    .partner-id,
    .footer-ms {
        max-width: 100%;
        white-space: normal;
        border-radius: 16px;
        text-align: left;
    }
    .hero-master .mock-bar {
        padding: 9px 12px;
        gap: 8px;
    }
    .hero-master .mock-url {
        font-size: .72rem;
        padding: 4px 8px;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .sc-cart-pill,
    .sc-status-online {
        font-size: .68rem;
        padding: 4px 8px;
    }
    .sc-actions {
        flex-direction: column;
    }
    .sc-btn-primary,
    .sc-btn-ghost {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

.sc-menu span {
    white-space: nowrap;
}
.sc-brand {
    min-width: 0;
}


/* Enlaces legales en el pie de página */
.footer-legal {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .88rem;
}
.footer-legal a {
    color: #A9B6C9;
    text-decoration: none;
    transition: color .2s ease;
}
.footer-legal a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Cajas explicativas amigables para planes y tiendas */
.hosting-explainer {
    background: rgba(30, 136, 229, .06);
    border: 1px solid rgba(30, 136, 229, .22);
    border-radius: 14px;
    font-size: .88rem;
    line-height: 1.5;
}
.gateway-explainer {
    background: rgba(255, 152, 0, .08);
    border: 1px solid rgba(255, 152, 0, .25);
    border-radius: 14px;
    font-size: .88rem;
    line-height: 1.5;
}


/* =====================================================================
   OPTIMIZACIÓN MÓVIL MULTIDISPOSITIVO & MULTINAVEGADOR
   (Xiaomi, Samsung, Motorola, iPhone / Safari, Chrome, Edge, Mi Browser)
   Alineación centrada, jerarquía balanceada y consistencia tipográfica
   ===================================================================== */

/* Normalización de renderizado tipográfico entre navegadores */
html {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    overflow-x: hidden !important;
    width: 100%;
}

body {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    overflow-x: hidden !important;
    width: 100%;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* =====================================================================
   REGLAS EXCLUSIVAS PARA VISTA MÓVIL (@media max-width: 767.98px)
   ===================================================================== */
@media (max-width: 767.98px) {

    /* --- 1. Alineación y Espaciado de Cabeceras y Títulos --- */
    .page-header,
    .page-header .container,
    .hero-master,
    .hero-master .container {
        text-align: center !important;
    }

    .page-header h1,
    .page-header h2,
    .page-header p,
    .page-header .lead,
    .hero-master .hero-title,
    .hero-master .lead {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Badges de cabecera centrados */
    .hero-badge-wrap,
    .hero-badge,
    .ms-partner-tag,
    .partner-id {
        display: inline-flex !important;
        justify-content: center !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Chips de confianza del hero centrados */
    .hero-trust {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: .5rem !important;
        margin: 1.25rem auto !important;
        max-width: 100% !important;
    }

    .hero-chip {
        font-size: .8rem !important;
        padding: .4rem .75rem !important;
        text-align: center !important;
    }

    /* --- 2. Títulos de Secciones y Textos Introductorios --- */
    .section-title,
    .section-subtitle,
    h2.section-title,
    h3.section-title {
        text-align: center !important;
    }

    section .container > .text-center,
    section .text-center {
        text-align: center !important;
    }

    section .lead {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Insignias de sección centradas */
    .badge.rounded-pill {
        display: inline-block !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* --- 3. Línea de Tiempo / Nuestro Proceso (como-trabajamos.html) --- */
    .process-steps {
        position: relative !important;
        padding-left: 0 !important;
    }

    /* Ocultar línea horizontal que pertenece a escritorio */
    .process-line-desktop {
        display: none !important;
    }

    /* Pista vertical de fondo (recorrido estático elegante) */
    .process-steps::before {
        content: '' !important;
        display: block !important;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: var(--timeline-top-mobile, 40px) !important;
        height: var(--timeline-height-mobile, calc(100% - 80px)) !important;
        width: 6px !important;
        background: #E2E8F0 !important;
        border-radius: 999px !important;
        z-index: 1 !important;
        box-shadow: inset 0 1px 3px rgba(0,0,0,0.06) !important;
    }

    /* Recorrido vertical dinámico iluminado con gradiente azul a dorado según el scroll */
    .process-steps::after {
        content: '' !important;
        display: block !important;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: var(--timeline-top-mobile, 40px) !important;
        height: var(--timeline-progress, 0px) !important;
        max-height: var(--timeline-height-mobile, 100%) !important;
        width: 6px !important;
        background: linear-gradient(180deg, #1E88E5 0%, #1976D2 70%, #FF9800 100%) !important;
        box-shadow: 0 0 14px rgba(30, 136, 229, 0.7), 0 0 25px rgba(255, 152, 0, 0.45) !important;
        border-radius: 999px !important;
        z-index: 1 !important;
        transition: height 0.12s ease-out;
    }

    .process-step {
        position: relative !important;
        z-index: 2 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        margin-bottom: 2.8rem !important;
        padding: 0 1rem !important;
        transition: transform 0.35s ease;
    }

    .process-step .process-icon {
        position: relative !important;
        z-index: 3 !important;
        margin: 0 auto 1.25rem !important;
        width: 86px !important;
        height: 86px !important;
        border-radius: 24px !important;
        font-size: 2.2rem !important;
        border: 4px solid #ffffff !important;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.14) !important;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    /* Efecto dinámico cuando el recorrido vertical llega a cada paso */
    .process-step.step-active .process-icon {
        transform: scale(1.08) !important;
    }
    .process-step-1.step-active .process-icon,
    .process-step-2.step-active .process-icon,
    .process-step-3.step-active .process-icon {
        box-shadow: 0 16px 36px rgba(30, 136, 229, 0.55), 0 0 18px rgba(30, 136, 229, 0.35) !important;
    }
    .process-step-4.step-active .process-icon {
        box-shadow: 0 16px 36px rgba(255, 152, 0, 0.65), 0 0 22px rgba(255, 152, 0, 0.45) !important;
    }

    .process-step .process-step-badge {
        z-index: 4 !important;
    }

    /* Contenedor de texto con tarjeta protegida para que la línea pase por detrás sin afectar la lectura */
    .process-step .process-content {
        background: #ffffff !important;
        border-radius: 20px !important;
        padding: 1.15rem 1.35rem !important;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08) !important;
        border: 1px solid rgba(30, 136, 229, 0.16) !important;
        position: relative !important;
        z-index: 4 !important;
        max-width: min(340px, calc(100% - 24px)) !important;
        margin: 0.5rem auto 0 !important;
        text-align: center !important;
        transition: all 0.35s ease !important;
    }

    .process-step .process-content h5 {
        color: #0B1120 !important;
        font-weight: 700 !important;
        font-size: 1.15rem !important;
        margin-bottom: 0.45rem !important;
        text-align: center !important;
    }

    .process-step .process-content p {
        color: #475569 !important;
        font-size: 0.94rem !important;
        line-height: 1.55 !important;
        margin-bottom: 0 !important;
        text-align: center !important;
    }

    /* Iluminación elegante de la tarjeta cuando el recorrido llega al paso */
    .process-step.step-active .process-content {
        border-color: rgba(30, 136, 229, 0.45) !important;
        box-shadow: 0 12px 32px rgba(30, 136, 229, 0.16) !important;
    }
    .process-step-4.step-active .process-content {
        border-color: rgba(255, 152, 0, 0.55) !important;
        box-shadow: 0 12px 32px rgba(255, 152, 0, 0.18) !important;
    }

    /* Soporte para modo oscuro */
    body.dark-mode .process-step .process-content {
        background: #1E1E1E !important;
        border-color: rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    }
    body.dark-mode .process-step .process-content h5 {
        color: #F8FAFC !important;
    }
    body.dark-mode .process-step .process-content p {
        color: #94A3B8 !important;
    }

    /* Tarjetas de Entregables por Fase centradas */
    .deliverable-card,
    .phase-card {
        text-align: center !important;
        padding: 1.75rem 1.25rem !important;
    }

    .deliverable-card .phase-badge,
    .phase-card .phase-badge {
        display: inline-block !important;
        margin: 0 auto .75rem !important;
    }

    .deliverable-card h4,
    .deliverable-card h5,
    .deliverable-card p {
        text-align: center !important;
    }

    /* Lista de entregables con alineación prolija */
    .deliverable-card ul,
    .deliverables-list {
        display: inline-block !important;
        text-align: left !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }

    /* Tarjetas de Compromisos centradas */
    /* Sección Nuestro Compromiso (index.html) perfectamente centrada en móvil */
    .commitment-section,
    .commitment-section .row,
    .commitment-section .col-md-4,
    .commitment-section .col-md-8,
    .commitment-section h3,
    .commitment-section p {
        text-align: center !important;
    }

    .commitment-card,
    .commitment-box {
        text-align: center !important;
        align-items: center !important;
    }

    .commitment-card .ico,
    .commitment-box .ico {
        margin: 0 auto 1rem !important;
    }

    /* --- 4. Tarjetas de Precios y Beneficios (index.html & precios.html) --- */
    .pricing-card,
    .card.h-100 {
        text-align: center !important;
    }

    .card-header,
    .card-body,
    .card-footer {
        text-align: center !important;
    }

    .card-title,
    .card-subtitle {
        text-align: center !important;
    }

    /* Listas dentro de tarjetas de precios */
    .pricing-card ul,
    .card ul.list-unstyled {
        display: block !important;
        margin: 0 auto 1.25rem !important;
        text-align: left !important;
    }

    .hosting-explainer,
    .gateway-explainer {
        text-align: left !important;
        padding: 1rem !important;
        margin-top: .75rem !important;
    }

    .hosting-explainer .small,
    .gateway-explainer .small {
        font-size: .84rem !important;
        line-height: 1.45 !important;
    }

    /* Botones de tarjetas a 100% de ancho para fácil pulsación */
    .pricing-card .btn,
    .card .btn:not(.btn-sm) {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        min-height: 48px !important;
        font-size: 1rem !important;
    }

    /* --- 5. Sección de Comercio Electrónico (precios.html) --- */
    .store-type-card {
        text-align: center !important;
    }

    .store-type-card .card-body {
        align-items: center !important;
        text-align: center !important;
    }

    .store-type-card p {
        text-align: center !important;
    }

    .store-type-card ul {
        text-align: left !important;
        max-width: 320px !important;
        margin: 0 auto 1.25rem !important;
    }

    .store-type-card .btn {
        width: 100% !important;
    }

    /* --- 6. Banner de Suscripción Mensual (sub-banner) --- */
    .sub-banner {
        text-align: center !important;
        padding: 2.2rem 1.25rem !important;
        border-radius: 20px !important;
    }

    .sub-banner .sub-pill {
        display: inline-block !important;
        margin: 0 auto .75rem !important;
    }

    .sub-banner h2,
    .sub-banner p,
    .sub-banner .lead {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .sub-banner .sub-price {
        text-align: center !important;
        margin: 1.25rem auto !important;
    }

    .sub-banner .btn {
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
    }

    /* Banner de Llamado a la Acción en Proceso (process-cta-banner) */
    .process-cta-banner {
        text-align: center !important;
        padding: 2.5rem 1.25rem !important;
    }

    .process-cta-banner h2,
    .process-cta-banner p,
    .process-cta-banner .lead {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .process-cta-banner .d-flex {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: .75rem !important;
    }

    .process-cta-banner .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    /* --- 7. Tarjetas de Servicios y Nosotros --- */
    .service-card,
    .feature-box,
    .ms-feature {
        text-align: center !important;
        padding: 1.75rem 1.25rem !important;
    }

    .service-card .ico,
    .feature-box .ico,
    .ms-feature .ico {
        margin: 0 auto 1.1rem !important;
    }

    .service-card h4,
    .service-card h5,
    .service-card p,
    .feature-box h5,
    .feature-box p,
    .ms-feature h5,
    .ms-feature p {
        text-align: center !important;
    }

    /* --- 8. Formularios y Página de Contacto (contacto.html) --- */
    .contact-card,
    .contact-info-card {
        text-align: center !important;
    }

    .contact-info-card .ico,
    .contact-info-icon {
        margin: 0 auto 1rem !important;
    }

    .contact-info-card p,
    .contact-info-card h4,
    .contact-info-card h5 {
        text-align: center !important;
    }

    /* Inputs confortables para evitar zoom indeseado en iPhone/iOS */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
        -webkit-appearance: none !important;
        border-radius: 12px !important;
    }

    /* Botones de envío a ancho completo */
    .contact-form .btn,
    form .btn[type="submit"] {
        width: 100% !important;
        min-height: 48px !important;
        font-size: 1.05rem !important;
    }

    /* --- 9. Pie de Página Unificado (site-footer) --- */
    .site-footer {
        text-align: center !important;
        padding-top: 3rem !important;
    }

    .site-footer .footer-logo {
        display: inline-block !important;
        margin: 0 auto 1rem !important;
    }

    .site-footer .footer-logo img {
        margin: 0 auto !important;
    }

    .site-footer p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 320px !important;
    }

    .site-footer .footer-ms {
        margin: 1rem auto 1.5rem !important;
        display: inline-flex !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .site-footer h6 {
        text-align: center !important;
        margin-top: 1rem !important;
        margin-bottom: .8rem !important;
    }

    .site-footer ul {
        text-align: center !important;
        margin-bottom: 1.5rem !important;
    }

    .site-footer ul li {
        text-align: center !important;
    }

    .site-footer .footer-social {
        justify-content: center !important;
        margin: 1.25rem auto !important;
    }

    .site-footer .footer-bottom {
        text-align: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: .75rem !important;
        padding: 1.5rem 0 !important;
    }

    .site-footer .footer-bottom span {
        text-align: center !important;
        width: 100% !important;
    }

    .footer-legal {
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: .5rem !important;
        width: 100% !important;
        text-align: center !important;
        margin: .5rem auto 0 !important;
        font-size: .84rem !important;
    }
    .footer-legal a {
        white-space: nowrap !important;
    }
}
