/* ============================================================
   MI MUDANZA · Capa de diseño y conversión (2026)
   Se carga después de styles.css y redefine tokens, hero, botones,
   formulario, barra fija de contacto y detalles de consistencia.
   ============================================================ */

:root {
    --primary-color: #1F2D3D;
    --secondary-color: #121C26;
    --dark-color: #1B2733;
    --light-color: #F6F4EF;
    --white: #FFFFFF;
    --gray: #5B6975;
    --gray-light: #CFD6DC;
    --success: #1FAF5A;
    --danger: #D64545;

    --accent: #FF6B35;
    --accent-deep: #E4551F;
    --accent-soft: #FFF1EA;
    --wa: #1FAF5A;
    --wa-deep: #168F49;
    --gold: #FFC857;
    --line: #E6E2DA;

    --logo-glow-primary: 255, 107, 53;
    --logo-glow-secondary: 255, 200, 87;

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 1px 2px rgba(27, 39, 51, 0.05), 0 2px 8px rgba(27, 39, 51, 0.06);
    --shadow-md: 0 2px 4px rgba(27, 39, 51, 0.05), 0 12px 28px rgba(27, 39, 51, 0.10);
    --shadow-lg: 0 4px 8px rgba(27, 39, 51, 0.07), 0 24px 48px rgba(27, 39, 51, 0.16);

    --transition: all 0.2s ease-out;
}

body {
    color: var(--dark-color);
    -webkit-font-smoothing: antialiased;
}

p {
    max-width: 72ch;
}

.section-header p,
.hero-subtitle,
.local-text p {
    margin-left: auto;
    margin-right: auto;
}

/* Foco visible siempre */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(255, 107, 53, 0.55);
    outline-offset: 2px;
}

/* El selector de paletas ya no existe: por si queda algún resto */
.color-palette-selector { display: none !important; }

/* ------------------------------------------------------------
   Botones
   ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.6rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0.005em;
    text-decoration: none;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background-color 0.18s ease-out, color 0.18s ease-out;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(31, 45, 61, 0.22);
}
.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(31, 45, 61, 0.28);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
}
.btn-secondary:hover { background: var(--dark-color); color: var(--white); }

.btn-wa {
    background: var(--wa);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(31, 175, 90, 0.35);
}
.btn-wa:hover {
    background: var(--wa-deep);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(31, 175, 90, 0.42);
}
.btn-wa i { font-size: 1.25em; }

.btn-ghost {
    background: rgba(255, 255, 255, 0.10);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: var(--white); color: var(--dark-color); border-color: var(--white); }

.btn-lg { padding: 1.05rem 2rem; font-size: 1.08rem; }
.btn-block { width: 100%; }

.btn[disabled],
.btn.is-loading { opacity: 0.8; cursor: progress; transform: none; }

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.btn-primary-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--wa) !important;
    color: var(--white) !important;
    border-radius: 10px;
    padding: 0.6rem 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(31, 175, 90, 0.3);
}
.btn-primary-nav:hover { background: var(--wa-deep) !important; }

.nav-wa-mobile {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--wa);
    color: var(--white);
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(31, 175, 90, 0.3);
}
.nav-wa-mobile:hover { background: var(--wa-deep); color: var(--white); }

@media (max-width: 768px) {
    .nav-wa-mobile { display: inline-flex; margin-left: auto; margin-right: 0.9rem; }
    .mobile-menu-toggle { padding: 6px; }
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
    min-height: auto;
    padding: clamp(2.75rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5.5rem);
    background: var(--secondary-color);
}

.hero-video {
    background: var(--secondary-color) url('../images/hero-poster.jpg') center / cover no-repeat;
}

.hero-overlay {
    background: linear-gradient(180deg,
        rgba(18, 28, 38, 0.50) 0%,
        rgba(18, 28, 38, 0.42) 45%,
        rgba(18, 28, 38, 0.80) 100%);
}

.hero-content { max-width: 860px; }

.hero-logo {
    margin-bottom: 1.25rem;
    animation: none;
}
.hero-logo img {
    height: clamp(120px, 24vw, 230px);
    width: auto;
    max-width: 90%;
    filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.45));
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto 1.1rem;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.hero-eyebrow i { color: var(--gold); }

.hero-title {
    font-size: clamp(2.15rem, 6vw, 3.9rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-title .highlight {
    color: #FF8F60;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    font-size: clamp(1.02rem, 2.3vw, 1.3rem);
    font-weight: 400;
    line-height: 1.55;
    max-width: 58ch;
    margin: 0 auto 1.75rem;
    opacity: 0.96;
}

.hero-buttons {
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.hero-buttons .btn { min-width: 250px; }

.hero-reply {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 auto 1.6rem;
    opacity: 0.95;
}
.hero-reply .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #3DDC84;
    box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.25);
}

.hero-features {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    justify-content: center;
}
.feature-item {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.86rem;
    font-weight: 500;
}
.feature-item i { font-size: 1rem; margin: 0; color: var(--gold); }
.feature-item span { font-size: inherit; font-weight: inherit; }

@media (max-width: 768px) {
    .hero { margin-top: 64px; }
    .hero-logo img { max-width: 78%; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { width: 100%; min-width: 0; }
    .hero-features { gap: 0.4rem; }
    .feature-item { padding: 0.42rem 0.72rem; font-size: 0.78rem; }
}

/* ------------------------------------------------------------
   Secciones y tarjetas
   ------------------------------------------------------------ */
.section-header { margin-bottom: 2.5rem; }
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: -0.015em;
    line-height: 1.15;
}
.section-subtitle { color: var(--gray); font-size: 1.08rem; }

.service-card,
.step,
.factor-card,
.feature-box {
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.service-card { border-radius: var(--radius-md); }
.service-card:hover,
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card.featured { background: var(--dark-color); border-color: var(--dark-color); }
.service-card.featured .badge { background: var(--accent); color: var(--white); }
.service-icon { background: var(--accent-soft); color: var(--accent); }
.service-icon i { color: var(--accent); }
.service-card.featured .service-icon { background: rgba(255, 255, 255, 0.12); }
.service-card.featured .service-icon i { color: var(--white); }
.service-features li i { color: var(--wa); }

.step-number { background: var(--accent); box-shadow: 0 6px 16px rgba(255, 107, 53, 0.35); }
.step-icon i { color: var(--dark-color); }

/* Bloque local de las landings */
.local-highlight { background: var(--dark-color); }
.local-highlight::before { background: var(--accent); }
.local-icon { background: var(--accent); }
.local-text strong { color: #FF9A6C; text-shadow: none; }
.local-cta .btn-primary {
    background: var(--wa);
    box-shadow: 0 8px 22px rgba(31, 175, 90, 0.35);
}
.local-cta .btn-primary:hover { background: var(--wa-deep); }

/* Chips y FAQ del bloque SEO local */
.mm-local-seo .mm-chip,
.mm-local-seo .mm-link { border-color: var(--line); }

/* ------------------------------------------------------------
   Contacto y formulario
   ------------------------------------------------------------ */
.contact { background: var(--light-color); }
.contact-wrapper { align-items: start; }
.contact-info {
    background: var(--dark-color);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}
.contact-info h3 { font-size: 1.6rem; letter-spacing: -0.01em; }
.method-icon { background: rgba(255, 255, 255, 0.10); border-radius: 12px; }
.badge-online { background: var(--wa); }

.contact-form-container {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: clamp(1.25rem, 4vw, 2.5rem);
}

.contact-form { gap: 1.1rem; }
.form-row { gap: 1.1rem; }

.form-group label {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
}
.form-group label small {
    font-weight: 400;
    color: var(--gray);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem 1rem;
    border: 1.5px solid var(--gray-light);
    border-radius: 12px;
    background: var(--white);
    font-size: 1rem;
    color: var(--dark-color);
    transition: border-color 0.18s ease-out, box-shadow 0.18s ease-out;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9AA6B0; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(31, 45, 61, 0.12);
}
.form-group.has-error input,
.form-group.has-error select { border-color: var(--danger); background: #FFF7F7; }
.error-message {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #B93838;
    font-size: 0.85rem;
    margin-top: 0.4rem;
}

.mm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.form-success[hidden] { display: none; }
.form-success {
    display: grid;
    gap: 0.5rem;
    padding: 1.25rem 1.4rem;
    border-radius: 14px;
    background: #EAF8EF;
    border: 1px solid #BFE8CC;
    color: #155E33;
}
.form-success strong { font-size: 1.05rem; }
.form-success a { color: #0F6E3A; font-weight: 600; text-decoration: underline; }

@media (max-width: 968px) {
    .contact-wrapper { display: flex; flex-direction: column; }
    .contact-form-container { order: -1; }
}
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Barra fija de contacto (móvil y tablet)
   ------------------------------------------------------------ */
.mm-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    display: none;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(27, 39, 51, 0.12);
    transform: translateY(110%);
    transition: transform 0.28s ease-out;
}
.mm-sticky.show { transform: none; }

.mm-sticky-wa,
.mm-sticky-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    color: var(--white);
    transition: background-color 0.18s ease-out, transform 0.18s ease-out;
}
.mm-sticky-wa { flex: 1; background: var(--wa); }
.mm-sticky-wa:hover, .mm-sticky-wa:active { background: var(--wa-deep); color: var(--white); }
.mm-sticky-wa i { font-size: 1.35rem; }
.mm-sticky-call { background: var(--dark-color); min-width: 116px; }
.mm-sticky-call:hover, .mm-sticky-call:active { background: var(--secondary-color); color: var(--white); }

@media (max-width: 991px) {
    .mm-sticky { display: flex; }
    body.mm-has-sticky { padding-bottom: 78px; }
    .fab-contact { display: none !important; }
    .chatbot-window { bottom: 90px; }
}

/* ------------------------------------------------------------
   FAB (escritorio): sin animación permanente, sin autoapertura
   ------------------------------------------------------------ */
.fab-main {
    animation: none;
    box-shadow: 0 8px 22px rgba(255, 107, 53, 0.35);
}
.fab-main:hover { transform: scale(1.06); }
.whatsapp-float { display: none !important; }

/* ------------------------------------------------------------
   Detalles
   ------------------------------------------------------------ */
.footer-logo { filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35)); }
.pricing-cta .btn-primary { background: var(--wa); box-shadow: 0 8px 22px rgba(31, 175, 90, 0.35); }
.pricing-cta .btn-primary:hover { background: var(--wa-deep); }

img { height: auto; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* Los 4 pasos en una sola fila en pantallas anchas */
@media (min-width: 1100px) {
    .process-steps { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   v2 · Móvil primero: tipografía legible, hero con foto real,
   galería, cobertura, ilustraciones y TruckDate
   ============================================================ */
html { -webkit-text-size-adjust: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }

/* --- Hero: foto sólida en celular, video solo desde tablet --- */
.hero {
    background: var(--secondary-color) url('../images/hero-poster.jpg') center / cover no-repeat;
}
.hero-video {
    opacity: 0;
    transition: opacity 0.8s ease-out;
    background: transparent;
}
.hero-video.is-playing { opacity: 1; }

@media (max-width: 767px) {
    .hero-video { display: none; }
    .hero {
        background: #121C26 url('../images/hero-movil.webp') center 35% / cover no-repeat;
        padding: 2.25rem 0 3rem;
    }
    .hero-overlay {
        background: linear-gradient(180deg,
            rgba(18, 28, 38, 0.62) 0%,
            rgba(18, 28, 38, 0.46) 42%,
            rgba(18, 28, 38, 0.88) 100%);
    }
}

/* --- Tipografía móvil: nada por debajo de ~15px --- */
@media (max-width: 768px) {
    html { font-size: 18px; }
    .hero-logo img { height: 116px; max-width: 72%; }
    .hero-eyebrow { font-size: 0.88rem; padding: 0.45rem 0.9rem; }
    .hero-title { font-size: 2.35rem; }
    .hero-subtitle { font-size: 1.08rem; line-height: 1.55; }
    .hero-reply { font-size: 0.95rem; }
    .feature-item { font-size: 0.86rem; padding: 0.5rem 0.85rem; }
    .section-title { font-size: 1.95rem; }
    .section-subtitle { font-size: 1.06rem; line-height: 1.55; }
    .service-card p, .step p, .feature-content p, .factor-card p,
    .local-text p, .about-text, .technology-description, .tech-feature p { font-size: 1.02rem; line-height: 1.6; }
    .service-features li { font-size: 1rem; }
    .service-card h3, .step h3 { font-size: 1.35rem; }
    .form-group label { font-size: 1rem; }
    .form-note { font-size: 0.9rem; }
    .mm-local-seo .mm-head p, .mm-local-seo p, .mm-local-seo li { font-size: 1.03rem; }
    .footer-col p, .footer-col ul li a, .footer-bottom { font-size: 0.97rem; }
    .contact-info > p, .method-content a, .method-content p { font-size: 1rem; }
    .method-content span { font-size: 0.9rem; }
}

/* --- Escritorio: más presencia, menos aire vacío --- */
@media (min-width: 1024px) {
    .hero { min-height: min(calc(100vh - 70px), 820px); padding: 4rem 0 5rem; }
    .hero-content { max-width: 960px; }
    .hero-logo img { height: clamp(200px, 19vw, 270px); }
    .hero-eyebrow { font-size: 0.95rem; }
    .hero-title { font-size: clamp(3.4rem, 5.2vw, 4.6rem); }
    .hero-subtitle { font-size: 1.4rem; max-width: 62ch; }
    .hero-buttons .btn-lg { padding: 1.15rem 2.4rem; font-size: 1.15rem; min-width: 280px; }
    .hero-reply { font-size: 1rem; }
    .feature-item { font-size: 0.95rem; padding: 0.6rem 1.1rem; }
    .section-title { font-size: clamp(2.4rem, 3.2vw, 3rem); }
    .section-subtitle { font-size: 1.2rem; max-width: 720px; }
    .service-card { padding: 2.5rem; }
    .service-card h3 { font-size: 1.5rem; }
    .step h3 { font-size: 1.45rem; }
    .service-card p, .service-features li, .step p, .factor-card p, .feature-content p,
    .about-text, .technology-description, .tech-feature p { font-size: 1.06rem; line-height: 1.65; }
    .contact-form-container { padding: 2.75rem; }
    .form-group input, .form-group select, .form-group textarea { font-size: 1.05rem; padding: 1rem 1.1rem; }
    .local-text h2 { font-size: 1.9rem; }
    .local-text p { font-size: 1.1rem; }
}

/* --- Etiqueta pequeña sobre los títulos --- */
.mm-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-deep);
}
.mm-kicker::before {
    content: '';
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: var(--accent);
}
.mm-kicker--light { color: #FFB08A; }
.mm-kicker--light::before { background: #FFB08A; }

/* --- Galería de fotos reales --- */
.mm-galeria {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    background: var(--white);
}
.mm-galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 230px;
    grid-auto-flow: dense;
    gap: 14px;
}
.mm-foto {
    position: relative;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    background: var(--light-color);
    cursor: zoom-in;
    box-shadow: var(--shadow-sm);
    transform: translateZ(0);
}
.mm-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mm-foto:hover img { transform: scale(1.05); }
.mm-foto--xl { grid-column: span 2; grid-row: span 2; }
.mm-foto--tall { grid-row: span 2; }
.mm-foto figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 2.6rem 1rem 0.9rem;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: linear-gradient(180deg, rgba(18, 28, 38, 0) 0%, rgba(18, 28, 38, 0.78) 100%);
}
.mm-foto--xl figcaption { font-size: 1.05rem; padding-left: 1.25rem; }
.mm-galeria-hint { display: none; }

@media (max-width: 991px) {
    .mm-galeria-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
    .mm-foto--xl { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 767px) {
    .mm-galeria { padding-bottom: 2.5rem; }
    .mm-galeria .container { padding-right: 0; }
    .mm-galeria-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0.25rem 1.5rem 1rem 0;
        margin-right: 0;
        scrollbar-width: none;
    }
    .mm-galeria-grid::-webkit-scrollbar { display: none; }
    .mm-foto, .mm-foto--xl, .mm-foto--tall {
        flex: 0 0 80%;
        aspect-ratio: 4 / 5;
        scroll-snap-align: center;
        grid-column: auto; grid-row: auto;
    }
    .mm-foto figcaption { font-size: 0.95rem; }
    .mm-galeria-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.75rem;
        padding-right: 1.5rem;
        color: var(--gray);
        font-size: 0.9rem;
        font-weight: 500;
    }
}

/* Visor de fotos */
.mm-lightbox {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: 100vw;
    max-height: 100vh;
    width: 100vw;
    height: 100vh;
}
.mm-lightbox::backdrop { background: rgba(10, 16, 24, 0.92); }
.mm-lightbox-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
}
.mm-lightbox img {
    max-width: min(96vw, 1200px);
    max-height: 82vh;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.mm-lightbox figcaption { color: #E8ECF1; font-weight: 500; text-align: center; }
.mm-lightbox button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}
.mm-lightbox button:hover { background: rgba(255, 255, 255, 0.24); }
.mm-lightbox .mm-lb-prev { left: 0.75rem; }
.mm-lightbox .mm-lb-next { right: 0.75rem; }
.mm-lightbox .mm-lb-close { top: 1rem; right: 1rem; transform: none; }
@media (max-width: 767px) {
    .mm-lightbox .mm-lb-prev, .mm-lightbox .mm-lb-next { top: auto; bottom: 1.25rem; transform: none; }
}

/* --- Cobertura nacional con mapa --- */
.mm-cobertura {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    background: radial-gradient(120% 90% at 85% 10%, #26384B 0%, var(--dark-color) 55%, #121C26 100%);
    color: var(--white);
    overflow: hidden;
}
.mm-cobertura-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.mm-cobertura h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
}
.mm-cobertura h2 em { font-style: normal; color: #FF9A6C; }
.mm-cobertura p { color: rgba(255, 255, 255, 0.85); font-size: 1.08rem; line-height: 1.65; max-width: 56ch; margin-bottom: 1.75rem; }
.mm-stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 1.25rem 2rem;
    margin: 0 0 2rem;
    padding: 0;
}
.mm-stats li { display: grid; gap: 0.15rem; }
.mm-stats strong { font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; color: #FFC857; letter-spacing: -0.02em; }
.mm-stats span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }
.mm-cobertura-map { position: relative; }
.mm-cobertura-map svg { width: 100%; max-height: 560px; display: block; margin: 0 auto; }
.mp-country {
    fill: rgba(255, 255, 255, 0.06);
    stroke: rgba(255, 255, 255, 0.55);
    stroke-width: 1.4;
    stroke-linejoin: round;
    stroke-dasharray: 3200;
    stroke-dashoffset: 3200;
}
.is-in .mp-country { animation: mp-draw 3s ease-out forwards; }
.mp-route {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    opacity: 0.95;
}
.mp-route { opacity: 0; }
.is-in .mp-route { animation: mp-draw 1.3s ease-out forwards, mp-show 0.25s linear forwards; }
.is-in .mp-route--1 { animation-delay: 0.9s; }
.is-in .mp-route--2 { animation-delay: 1.1s; }
.is-in .mp-route--3 { animation-delay: 1.3s; }
.is-in .mp-route--4 { animation-delay: 1.5s; }
.is-in .mp-route--5 { animation-delay: 1.7s; }
.is-in .mp-route--6 { animation-delay: 1.9s; }
.is-in .mp-route--7 { animation-delay: 2.1s; }
.is-in .mp-route--8 { animation-delay: 2.3s; }
.is-in .mp-route--9 { animation-delay: 2.5s; }
.is-in .mp-route--10 { animation-delay: 2.7s; }
@keyframes mp-show { to { opacity: 0.95; } }
.mp-node { opacity: 0; transform-box: fill-box; transform-origin: center; }
.is-in .mp-node { animation: mp-node 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.mp-hub { transform-box: fill-box; transform-origin: center; }
.is-in .mp-hub { animation: mp-ping 2.6s ease-out 2.4s infinite; }
.mp-label { fill: rgba(255, 255, 255, 0.85); font-size: 13px; font-family: 'Poppins', sans-serif; font-weight: 600; opacity: 0; }
.is-in .mp-label { animation: mp-fade 0.5s ease-out forwards; }
@keyframes mp-draw { to { stroke-dashoffset: 0; } }
@keyframes mp-node { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes mp-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes mp-ping { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(3.2); opacity: 0; } }
@media (max-width: 991px) {
    .mm-cobertura-grid { grid-template-columns: 1fr; }
    .mm-cobertura-map svg { max-height: 420px; }
    .mm-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (max-width: 480px) {
    .mm-stats { grid-template-columns: 1fr 1fr; }
}

/* --- Pasos con ilustraciones propias --- */
.step-icon { margin: 1.75rem 0 1.25rem; display: flex; justify-content: center; }
.step-icon svg { width: 104px; height: 104px; }
.step-icon .il-bg { fill: var(--accent-soft); }
.step-icon .il-stroke { fill: none; stroke: var(--dark-color); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.step-icon .il-fill { fill: var(--dark-color); }
.step-icon .il-accent { fill: var(--accent); }
.step-icon .il-accent-stroke { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.step-icon .il-white { fill: var(--white); }
.step-icon .il-wa { fill: var(--wa); }
.step:hover .step-icon svg { transform: translateY(-3px); }
.step-icon svg { transition: transform 0.3s ease-out; }

/* --- TruckDate --- */
.td-wordmark { margin: 0.75rem 0 1.25rem; }
.td-wordmark svg { height: 52px; width: auto; display: block; }
.technology-visual .td-ilustracion {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 1.5rem;
    display: block;
    filter: drop-shadow(0 24px 40px rgba(27, 39, 51, 0.18));
}
.td-ilustracion .td-route { stroke-dasharray: 8 10; animation: td-dash 1.6s linear infinite; }
@keyframes td-dash { to { stroke-dashoffset: -36; } }
.technology-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.technology-description a { color: var(--accent-deep); }
.tech-feature i { color: var(--accent); }
@media (max-width: 768px) {
    .technology-content { grid-template-columns: 1fr; }
    .technology-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .mp-country, .mp-route { stroke-dashoffset: 0; opacity: 0.95; }
    .mp-node, .mp-label { opacity: 1; }
}

@media (max-width: 768px) {
    .hero-eyebrow { font-size: 0.82rem; white-space: nowrap; }
    .hero-reply { font-size: 0.92rem; white-space: nowrap; }
}

/* Nota VIP: que no corte palabras */
.vip-note { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.4rem; }
.vip-note strong { display: inline; white-space: nowrap; }

/* --- Camión ilustrado --- */
.local-icon.local-icon--camion {
    width: 250px;
    height: auto;
    border-radius: 0;
    background: none;
    flex-shrink: 0;
}
.local-icon--camion svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35)); }
.pricing-cta {
    display: grid;
    grid-template-columns: minmax(220px, 300px) 1fr;
    align-items: center;
    gap: 2rem;
    text-align: left;
}
.pricing-cta .mm-camion { margin: 0; }
.pricing-cta .mm-camion svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35)); }
.pricing-cta-body { display: grid; gap: 1rem; justify-items: start; }
.pricing-cta-body p { margin: 0; font-size: 1.35rem; font-weight: 600; }
@media (max-width: 768px) {
    .local-icon.local-icon--camion { width: min(78%, 300px); height: auto; margin: 0 auto 0.5rem; }
    .pricing-cta { grid-template-columns: 1fr; text-align: center; gap: 1.25rem; }
    .pricing-cta .mm-camion { max-width: 300px; margin: 0 auto; }
    .pricing-cta-body { justify-items: center; }
    .pricing-cta-body p { font-size: 1.2rem; }
}

/* --- Camión en marcha --- */
[data-mm-camion] .cm-wheel { transform-box: fill-box; transform-origin: center; animation: cm-spin 1.1s linear infinite; }
[data-mm-camion] .cm-body { animation: cm-bob 1.5s ease-in-out infinite; }
[data-mm-camion] .cm-road { animation: cm-road 0.8s linear infinite; }
[data-mm-camion] .cm-speed-line { transform-box: fill-box; animation: cm-speed 0.9s ease-out infinite; }
[data-mm-camion] .cm-speed-line:nth-child(2) { animation-delay: 0.3s; }
[data-mm-camion] .cm-speed-line:nth-child(3) { animation-delay: 0.6s; }
[data-mm-camion] .cm-beam { transform-box: fill-box; transform-origin: left center; animation: cm-beam 1.5s ease-in-out infinite; }
@keyframes cm-spin { to { transform: rotate(360deg); } }
@keyframes cm-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.5px); } }
@keyframes cm-road { to { stroke-dashoffset: 44; } }
@keyframes cm-speed { 0% { transform: translateX(14px); opacity: 0; } 25% { opacity: 0.95; } 100% { transform: translateX(-46px); opacity: 0; } }
@keyframes cm-beam { 0%, 100% { opacity: 0.7; transform: scaleX(1) translateY(0); } 50% { opacity: 1; transform: scaleX(1.1) translateY(-1.5px); } }

/* --- Videos en la galería --- */
.mm-foto--video { cursor: pointer; }
.mm-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    padding-left: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease-out, background-color 0.25s ease-out;
}
.mm-foto--video:hover .mm-play { transform: translate(-50%, -50%) scale(1.08); background: var(--accent); color: #fff; }
.mm-foto--video figcaption::before {
    content: 'VIDEO';
    display: inline-block;
    margin-right: 0.5rem;
    padding: 0.12rem 0.45rem;
    border-radius: 6px;
    background: var(--accent);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    vertical-align: middle;
}
.mm-lightbox video {
    max-width: min(96vw, 520px);
    max-height: 82vh;
    border-radius: 14px;
    background: #000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* --- Portal de clientes: sin desbordes ni saltos en celular --- */
.portal-cta { overflow-x: clip; }
@media (max-width: 768px) {
    .portal-cta-visual { margin-top: 0; }
    .portal-images-stack {
        height: auto;
        max-width: none;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        align-items: start;
    }
    .portal-image-container,
    .portal-image-container.back-image,
    .portal-image-container.front-image,
    .portal-image-container.back-image.active,
    .portal-image-container.front-image.active {
        position: static;
        top: auto; right: auto; left: auto;
        transform: none;
        padding: 8px;
        border-radius: 16px;
        transition: none;
    }
}

/* ============================================================
   Celular compacto: mismas secciones, la mitad de pantallas
   ============================================================ */
@media (max-width: 768px) {
    .services, .process, .pricing, .about, .contact, .google-reviews, .mm-galeria, .mm-cobertura { padding-top: 3rem; padding-bottom: 3rem; }
    .section-header { margin-bottom: 1.5rem; }

    /* Servicios: 2 columnas */
    .services-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .service-card { padding: 1rem 0.85rem; border-radius: 14px; }
    .service-card:hover { transform: none; }
    .service-icon { width: 42px; height: 42px; font-size: 1.05rem; margin-bottom: 0.6rem; }
    .service-card h3 { font-size: 1rem; line-height: 1.25; margin-bottom: 0.4rem; }
    .service-card p { font-size: 0.84rem; line-height: 1.4; margin-bottom: 0.5rem; }
    .service-features { gap: 0.2rem; }
    .service-features li { font-size: 0.8rem; line-height: 1.3; }
    .service-card .badge { font-size: 0.62rem; padding: 0.25rem 0.5rem; top: 10px; right: 10px; }

    /* Pasos: 2 columnas */
    .process-steps { grid-template-columns: 1fr 1fr; gap: 26px 10px; }
    .step { padding: 1.6rem 0.75rem 1rem; }
    .step:hover { transform: none; }
    .step-number { width: 36px; height: 36px; font-size: 1rem; top: -16px; }
    .step-icon { margin: 0.5rem 0 0.6rem; }
    .step-icon svg { width: 68px; height: 68px; }
    .step h3 { font-size: 1rem; margin-bottom: 0.35rem; }
    .step p { font-size: 0.84rem; line-height: 1.4; }

    /* Por qué elegirnos: 2 columnas */
    .features-list { grid-template-columns: 1fr 1fr; gap: 10px; }
    .feature-box { flex-direction: column; gap: 0.5rem; padding: 0.9rem 0.8rem; }
    .feature-content h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
    .feature-content p { font-size: 0.82rem; line-height: 1.4; }

    /* Factores de precio: 2 columnas */
    .pricing-factors { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 1.5rem; }
    .factor-card { padding: 1rem 0.75rem; }
    .factor-card i { font-size: 1.5rem; margin-bottom: 0.5rem; }
    .factor-card h4 { font-size: 0.95rem; }
    .factor-card p { font-size: 0.82rem; line-height: 1.4; }

    /* Servidores públicos y VIP (home): categorías en 2 columnas */
    .heroes-categories { grid-template-columns: 1fr 1fr; gap: 10px; }
    .hero-category { padding: 1rem 0.75rem; }
    .hero-category h3 { font-size: 0.9rem; }
}

/* ============================================================
   Galería como carrusel también en escritorio (una fila, flechas)
   ============================================================ */
@media (min-width: 768px) {
    .mm-galeria .container { position: relative; }
    .mm-galeria-grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        padding: 0.25rem 0 1rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .mm-galeria-grid::-webkit-scrollbar { display: none; }
    .mm-foto, .mm-foto--xl, .mm-foto--tall {
        flex: 0 0 auto;
        height: clamp(320px, 34vw, 440px);
        aspect-ratio: 3 / 4;
        scroll-snap-align: start;
    }
    .mm-foto--xl { aspect-ratio: 4 / 3; }
    .mm-galeria-nav {
        position: absolute;
        top: 50%;
        left: 0; right: 0;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        pointer-events: none;
        padding: 0 0.25rem;
    }
    .mm-galeria-nav button {
        pointer-events: auto;
        width: 52px; height: 52px;
        border-radius: 50%;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.96);
        color: var(--dark-color);
        font-size: 1.1rem;
        cursor: pointer;
        box-shadow: var(--shadow-md);
        transition: transform 0.18s ease-out, background-color 0.18s ease-out, color 0.18s ease-out;
    }
    .mm-galeria-nav button:hover { background: var(--dark-color); color: #fff; transform: scale(1.06); }
    .mm-galeria-nav button[disabled] { opacity: 0.35; cursor: default; transform: none; }
}
@media (max-width: 767px) {
    .mm-galeria-nav { display: none; }
}
.mm-prueba {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 0.9rem;
    margin: 0.75rem auto 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
}
.mm-prueba span { display: inline-flex; align-items: center; gap: 0.35rem; }
.mm-prueba i { color: #F4B400; }
.mm-prueba .mm-prueba-sep { color: var(--gray-light); }
@media (max-width: 768px) { .mm-prueba { font-size: 0.9rem; gap: 0.3rem 0.7rem; } }

/* --- Atendido por sus dueños --- */
.mm-duenos {
    padding: clamp(3rem, 7vw, 5.5rem) 0;
    background: linear-gradient(180deg, #FBFAF7 0%, var(--light-color) 100%);
}
.mm-duenos-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
}
.mm-duenos-foto {
    margin: 0;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #fff;
}
.mm-duenos-foto img { width: 100%; height: auto; display: block; }
.mm-duenos-foto figcaption {
    position: absolute;
    left: 1rem; bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(27, 39, 51, 0.88);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
}
.mm-duenos-foto figcaption .dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.25); }
.mm-duenos h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--dark-color);
    margin-bottom: 1rem;
}
.mm-duenos h2 em { font-style: normal; color: var(--accent-deep); }
.mm-duenos-text > p { color: var(--gray); font-size: 1.08rem; line-height: 1.65; margin-bottom: 1.25rem; }
.mm-duenos-puntos {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}
.mm-duenos-puntos li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 1rem;
    color: var(--dark-color);
}
.mm-duenos-puntos li i { color: var(--wa); margin-top: 0.2rem; }
.mm-duenos-firma {
    margin-top: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}
.mm-duenos-firma span { color: var(--gray); font-weight: 400; }
@media (max-width: 900px) {
    .mm-duenos-grid { grid-template-columns: 1fr; }
    .mm-duenos-foto { max-width: 520px; margin: 0 auto; }
    .mm-duenos-text { text-align: center; }
    .mm-duenos-puntos li { justify-content: center; text-align: left; }
    .mm-duenos-text .btn { width: 100%; }
}

/* Avatares junto a la promesa de respuesta */
.mm-avatars { display: inline-flex; align-items: center; margin-right: 0.35rem; }
.mm-avatars img {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    background: #fff;
}
.mm-avatars img + img { margin-left: -10px; }
.hero-reply .mm-avatars img { border-color: rgba(255, 255, 255, 0.9); }
.contact-info .mm-avatars img { width: 30px; height: 30px; border-color: var(--dark-color); }
.mm-responden { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.4rem; color: #fff; font-size: 0.9rem; }
.mm-responden .badge-online { margin: 0; }

/* Ajustes móviles del bloque de dueños y avatares */
.hero .mm-avatars, .contact-info .mm-avatars { display: inline-flex !important; flex-direction: row; align-items: center; }
.hero .mm-avatars img, .contact-info .mm-avatars img { display: block !important; margin: 0; }
.hero .mm-avatars img + img, .contact-info .mm-avatars img + img { margin-left: -10px; }
.mm-responden { display: inline-flex !important; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.mm-duenos-puntos { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; }
.mm-duenos-puntos li { justify-content: flex-start; }
@media (max-width: 768px) {
    .hero-reply { white-space: normal; justify-content: center; }
}
@media (max-width: 480px) {
    .mm-duenos-text .btn { white-space: nowrap; padding-left: 1rem; padding-right: 1rem; font-size: 1.02rem; }
}

/* Nombres debajo de cada dueño */
.mm-duenos-foto figcaption.mm-duenos-nombres {
    left: 0; right: 0; bottom: 0;
    display: flex;
    justify-content: space-between;
    padding: 2.4rem 6% 0.9rem;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(27, 39, 51, 0) 0%, rgba(27, 39, 51, 0.72) 100%);
    backdrop-filter: none;
    font-size: 1rem;
}
.mm-duenos-nombres span {
    flex: 1;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.mm-duenos-nombres span:first-child { padding-right: 6%; }
.mm-duenos-nombres span:last-child { padding-left: 6%; }

/* Nombres centrados bajo cada rostro (Mercedes ~34% del ancho, Pablo ~66%) */
.mm-duenos-foto figcaption.mm-duenos-nombres { display: block; padding: 2.4rem 0 0.9rem; height: 4.2rem; }
.mm-duenos-nombres span { position: absolute; bottom: 0.9rem; transform: translateX(-50%); flex: none; padding: 0 !important; white-space: nowrap; }
.mm-duenos-nombres span:first-child { left: 34%; }
.mm-duenos-nombres span:last-child { left: 66.5%; }
