/*
 * LadaMóvil — Rediseño público Fase 1
 * Aplicado únicamente en staging.
 */

:root {
    --lm-navy: #102a43;
    --lm-navy-2: #173f5f;
    --lm-blue: #1677ff;
    --lm-blue-dark: #075fc7;
    --lm-cyan: #12b5cb;
    --lm-green: #14866d;
    --lm-orange: #c65d12;
    --lm-red: #b42318;
    --lm-bg: #f7f9fc;
    --lm-card: #ffffff;
    --lm-soft: #edf3f8;
    --lm-border: #dbe5ee;
    --lm-text: #152536;
    --lm-muted: #5d7184;
    --lm-shadow: 0 12px 32px rgba(16, 42, 67, .09);
    --lm-radius: 18px;
    --lm-max: 1180px;
}

html {
    scroll-behavior: smooth;
}

body.lm-redesign {
    margin: 0;
    color: var(--lm-text);
    background: var(--lm-bg);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    line-height: 1.55;
}

body.lm-redesign *,
body.lm-redesign *::before,
body.lm-redesign *::after {
    box-sizing: border-box;
}

body.lm-redesign a {
    color: inherit;
}

body.lm-redesign .skip-link {
    position: fixed;
    left: 16px;
    top: -70px;
    z-index: 9999;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--lm-navy);
    color: #fff;
}

body.lm-redesign .skip-link:focus {
    top: 16px;
}

/* Header */

body.lm-redesign .main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(219, 229, 238, .9);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 18px rgba(16, 42, 67, .05);
}

body.lm-redesign .header-inner {
    width: min(var(--lm-max), calc(100% - 40px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

body.lm-redesign .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: Montserrat, Inter, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--lm-navy);
}

body.lm-redesign .lm-brand-mark {
    width: 34px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px 14px 18px 18px;
    background: var(--lm-navy);
    color: #fff;
    box-shadow: 0 6px 16px rgba(16, 42, 67, .18);
}

body.lm-redesign .lm-brand-mark svg {
    width: 22px;
    height: 22px;
}

body.lm-redesign .nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

body.lm-redesign .nav-links a {
    text-decoration: none;
    color: var(--lm-muted);
    font-size: .93rem;
    font-weight: 650;
    transition: color .2s ease;
}

body.lm-redesign .nav-links a:hover,
body.lm-redesign .nav-links a:focus-visible {
    color: var(--lm-blue);
}

body.lm-redesign .nav-links .nav-cta {
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--lm-navy);
    color: #fff;
}

body.lm-redesign .nav-links .nav-cta:hover {
    background: var(--lm-blue-dark);
    color: #fff;
}

/* Hero */

body.lm-redesign .hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 15%, rgba(18, 181, 203, .15), transparent 34%),
        linear-gradient(150deg, #fff 0%, #f4f8fc 58%, #eaf5fa 100%);
    border-bottom: 1px solid var(--lm-border);
}

body.lm-redesign .hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -170px;
    width: 420px;
    height: 420px;
    border: 70px solid rgba(22, 119, 255, .07);
    border-radius: 50%;
    pointer-events: none;
}

body.lm-redesign .hero-content {
    position: relative;
    z-index: 2;
    width: min(var(--lm-max), calc(100% - 40px));
    margin: 0 auto;
    padding: 82px 0 76px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: center;
    gap: 70px;
}

body.lm-redesign .hero-copy {
    max-width: 690px;
}

body.lm-redesign .hero-eyebrow,
body.lm-redesign .section-label,
body.lm-redesign .info-block-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--lm-blue-dark);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

body.lm-redesign .hero h1 {
    margin: 14px 0 20px;
    color: var(--lm-navy);
    font-family: Montserrat, Inter, sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.7rem);
    line-height: 1.02;
    letter-spacing: -.045em;
}

body.lm-redesign .hero h1 em {
    color: var(--lm-blue);
    font-style: normal;
}

body.lm-redesign .hero-subtitle {
    max-width: 650px;
    margin: 0;
    color: var(--lm-muted);
    font-size: 1.08rem;
}

body.lm-redesign .hero-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

body.lm-redesign .btn-hero-primary,
body.lm-redesign .btn-hero-secondary,
body.lm-redesign .channel-button,
body.lm-redesign .btn-search,
body.lm-redesign .btn-buy,
body.lm-redesign .btn-wa {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 12px;
    padding: 12px 18px;
    text-decoration: none;
    font-size: .92rem;
    font-weight: 750;
    cursor: pointer;
    transition:
        transform .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}

body.lm-redesign .btn-hero-primary,
body.lm-redesign .btn-search,
body.lm-redesign .btn-buy,
body.lm-redesign .channel-button-primary {
    background: var(--lm-blue);
    color: #fff;
    box-shadow: 0 9px 22px rgba(22, 119, 255, .22);
}

body.lm-redesign .btn-hero-primary:hover,
body.lm-redesign .btn-search:hover,
body.lm-redesign .btn-buy:hover {
    transform: translateY(-1px);
    background: var(--lm-blue-dark);
}

body.lm-redesign .btn-hero-secondary {
    border: 1px solid var(--lm-border);
    background: #fff;
    color: var(--lm-navy);
}

body.lm-redesign .hero-product-card {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(219, 229, 238, .95);
    border-radius: 24px;
    background: rgba(255, 255, 255, .93);
    box-shadow: var(--lm-shadow);
}

body.lm-redesign .hero-product-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px dashed rgba(22, 119, 255, .18);
    border-radius: 17px;
    pointer-events: none;
}

body.lm-redesign .hero-product-card > * {
    position: relative;
    z-index: 1;
}

body.lm-redesign .hero-product-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 20px;
    background: var(--lm-navy);
    color: #fff;
    font-size: 1.45rem;
}

body.lm-redesign .hero-product-card h2 {
    margin: 0 0 8px;
    color: var(--lm-navy);
    font-size: 1.24rem;
}

body.lm-redesign .hero-product-card p {
    margin: 0;
    color: var(--lm-muted);
    font-size: .92rem;
}

body.lm-redesign .hero-price {
    margin: 22px 0 4px;
    color: var(--lm-navy);
    font-family: Montserrat, Inter, sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
}

body.lm-redesign .hero-price small {
    color: var(--lm-muted);
    font-family: Inter, sans-serif;
    font-size: .78rem;
    font-weight: 600;
}

body.lm-redesign .hero-product-points {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
    color: var(--lm-muted);
    font-size: .88rem;
}

body.lm-redesign .hero-product-points i {
    width: 19px;
    color: var(--lm-green);
}

body.lm-redesign .trust-strip {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.lm-redesign .trust-item {
    padding: 7px 10px;
    border: 1px solid var(--lm-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    color: var(--lm-muted);
    font-size: .77rem;
    font-weight: 650;
}

/* Process */

body.lm-redesign .how-section {
    padding: 72px 0;
    background: #fff;
}

body.lm-redesign .how-inner,
body.lm-redesign .catalog-section,
body.lm-redesign .post-catalog {
    width: min(var(--lm-max), calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

body.lm-redesign .how-section h2,
body.lm-redesign .catalog-section h2,
body.lm-redesign .post-catalog h3 {
    color: var(--lm-navy);
    font-family: Montserrat, Inter, sans-serif;
}

body.lm-redesign .how-section h2 {
    margin: 10px 0 34px;
    font-size: clamp(1.9rem, 4vw, 2.65rem);
}

body.lm-redesign .steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

body.lm-redesign .step {
    padding: 24px;
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius);
    background: var(--lm-bg);
}

body.lm-redesign .step-num {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 13px;
    background: var(--lm-navy);
    color: #fff;
    font-family: Montserrat, Inter, sans-serif;
    font-weight: 800;
}

body.lm-redesign .step h3 {
    margin: 0 0 8px;
    color: var(--lm-navy);
}

body.lm-redesign .step p {
    margin: 0;
    color: var(--lm-muted);
    font-size: .9rem;
}

/* Catalog */

body.lm-redesign .catalog-section {
    padding: 78px 0 36px;
}

body.lm-redesign .catalog-header {
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
    align-items: end;
    gap: 32px;
}

body.lm-redesign .catalog-header h2 {
    margin: 8px 0 4px;
    font-size: clamp(1.9rem, 4vw, 2.65rem);
}

body.lm-redesign .catalog-header p {
    margin: 0;
    color: var(--lm-muted);
}

body.lm-redesign .search-form {
    display: flex;
    align-items: stretch;
    gap: 9px;
}

body.lm-redesign .search-wrap {
    position: relative;
    flex: 1;
}

body.lm-redesign .search-wrap > i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lm-muted);
    pointer-events: none;
}

body.lm-redesign .search-wrap input,
body.lm-redesign .web-request-field input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--lm-border);
    border-radius: 12px;
    background: #fff;
    color: var(--lm-text);
    font: inherit;
    outline: none;
}

body.lm-redesign .search-wrap input {
    padding: 12px 15px 12px 42px;
}

body.lm-redesign .web-request-field input {
    padding: 11px 13px;
}

body.lm-redesign .search-wrap input:focus,
body.lm-redesign .web-request-field input:focus {
    border-color: var(--lm-blue);
    box-shadow: 0 0 0 3px rgba(22, 119, 255, .12);
}

body.lm-redesign .btn-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    color: var(--lm-muted);
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
}

body.lm-redesign .alert-bar {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 17px;
    border: 1px solid var(--lm-border);
    border-radius: 14px;
    background: #fff;
    color: var(--lm-muted);
    box-shadow: 0 5px 16px rgba(16, 42, 67, .045);
}

body.lm-redesign .alert-bar > i {
    margin-top: 3px;
    color: var(--lm-blue);
}

body.lm-redesign .alert-bar strong {
    color: var(--lm-text);
}

body.lm-redesign .alert-warn {
    border-color: #f4d4b6;
    background: #fff9f2;
}

body.lm-redesign .alert-warn > i {
    color: var(--lm-orange);
}

body.lm-redesign .alert-pending {
    border-color: #c8dced;
    background: #f3f8fc;
}

body.lm-redesign .alert-actions {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.lm-redesign .grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.lm-redesign .card {
    min-width: 0;
    padding: 22px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius);
    background: var(--lm-card);
    box-shadow: 0 7px 22px rgba(16, 42, 67, .065);
    transition: transform .18s ease, box-shadow .18s ease;
}

body.lm-redesign .card:hover {
    transform: translateY(-2px);
    box-shadow: var(--lm-shadow);
}

body.lm-redesign .card.is-agotado {
    opacity: .68;
    box-shadow: none;
}

body.lm-redesign .card-lada {
    padding-right: 120px;
    color: var(--lm-navy);
    font-family: Montserrat, Inter, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

body.lm-redesign .stock-badge {
    align-self: flex-start;
    margin: -30px 0 17px auto;
    padding: 6px 9px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
}

body.lm-redesign .stock-ok {
    background: #e5f6ef;
    color: var(--lm-green);
}

body.lm-redesign .stock-low {
    background: #fff0e4;
    color: var(--lm-orange);
}

body.lm-redesign .stock-out {
    background: #f1f3f5;
    color: #657789;
}

body.lm-redesign .card-cities {
    min-height: 44px;
    margin: 0;
    color: var(--lm-muted);
    font-size: .88rem;
    overflow-wrap: anywhere;
}

body.lm-redesign .card-divider {
    width: 100%;
    margin: 18px 0;
    border: 0;
    border-top: 1px solid var(--lm-border);
}

body.lm-redesign .card-price {
    color: var(--lm-navy);
    font-family: Montserrat, Inter, sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
}

body.lm-redesign .card-price small {
    color: var(--lm-muted);
    font-family: Inter, sans-serif;
    font-size: .72rem;
}

body.lm-redesign .card-note {
    margin: 5px 0 17px;
    color: var(--lm-muted);
    font-size: .78rem;
}

body.lm-redesign .btn-buy {
    width: 100%;
    margin-top: auto;
}

body.lm-redesign .btn-buy.disabled {
    background: var(--lm-soft);
    color: #7a8b9a;
    box-shadow: none;
    cursor: not-allowed;
}

body.lm-redesign .pagination {
    margin: 30px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--lm-muted);
}

body.lm-redesign .pagination a {
    padding: 9px 13px;
    border: 1px solid var(--lm-border);
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    font-weight: 700;
}

/* Empty state and request */

body.lm-redesign .empty-state {
    padding: 32px;
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius);
    background: #fff;
    text-align: center;
}

body.lm-redesign .empty-state-icon {
    color: var(--lm-blue);
    font-size: 2rem;
}

body.lm-redesign .web-lada-request {
    max-width: 820px;
    margin: 24px auto 0;
    padding: 24px;
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius);
    background: var(--lm-bg);
    text-align: left;
}

body.lm-redesign .web-lada-request h4 {
    margin: 0 0 5px;
    color: var(--lm-navy);
    font-size: 1.3rem;
}

body.lm-redesign .web-request-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

body.lm-redesign .web-request-field label {
    display: block;
    margin: 0 0 6px;
    color: var(--lm-text);
    font-size: .8rem;
    font-weight: 750;
}

body.lm-redesign .web-request-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Information and FAQ */

body.lm-redesign .post-catalog {
    padding: 46px 0 76px;
}

body.lm-redesign .info-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

body.lm-redesign .info-block {
    padding: 26px;
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius);
    background: #fff;
}

body.lm-redesign .info-block h3 {
    margin: 9px 0 8px;
}

body.lm-redesign .info-block p {
    color: var(--lm-muted);
}

body.lm-redesign .faq-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

body.lm-redesign .faq-list li {
    padding: 16px 17px;
    border: 1px solid var(--lm-border);
    border-radius: 13px;
    background: var(--lm-bg);
}

body.lm-redesign .faq-q {
    color: var(--lm-navy);
    font-weight: 800;
}

body.lm-redesign .faq-a {
    margin-top: 5px;
    color: var(--lm-muted);
    font-size: .9rem;
}

/* Footer */

body.lm-redesign .footer {
    padding: 48px 20px 30px;
    background: var(--lm-navy);
    color: #dce8f3;
    text-align: left;
}

body.lm-redesign .lm-footer-inner {
    width: min(var(--lm-max), 100%);
    margin: 0 auto;
}

body.lm-redesign .lm-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, minmax(120px, 1fr));
    gap: 34px;
}

body.lm-redesign .footer a {
    color: #dce8f3;
    text-decoration: none;
}

body.lm-redesign .footer a:hover {
    color: #fff;
    text-decoration: underline;
}

body.lm-redesign .lm-footer-title {
    margin-bottom: 12px;
    color: #fff;
    font-family: Montserrat, Inter, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
}

body.lm-redesign .lm-footer-links {
    display: grid;
    gap: 9px;
    font-size: .86rem;
}

body.lm-redesign .lm-footer-copy {
    max-width: 310px;
    color: #b9cad9;
    font-size: .88rem;
}

body.lm-redesign .lm-footer-bottom {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: #aabed0;
    font-size: .78rem;
}

body.lm-redesign .hg3-development-signature {
    margin: 0;
}

/* Hide modules postponed for this redesign */



/* Responsive */

@media (max-width: 980px) {
    body.lm-redesign .nav-links {
        gap: 15px;
    }

    body.lm-redesign .nav-links a:not(.nav-cta) span {
        display: none;
    }

    body.lm-redesign .hero-content {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 38px;
    }

    body.lm-redesign .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.lm-redesign .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.lm-redesign .lm-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body.lm-redesign .header-inner,
    body.lm-redesign .hero-content,
    body.lm-redesign .how-inner,
    body.lm-redesign .catalog-section,
    body.lm-redesign .post-catalog {
        width: min(100% - 28px, var(--lm-max));
    }

    body.lm-redesign .header-inner {
        min-height: 64px;
    }

    body.lm-redesign .logo {
        font-size: 1.08rem;
    }

    body.lm-redesign .lm-brand-mark {
        width: 31px;
        height: 34px;
    }

    body.lm-redesign .nav-links {
        gap: 10px;
    }

    body.lm-redesign .nav-links a:not(.nav-cta) {
        display: none;
    }

    body.lm-redesign .nav-links .nav-cta {
        padding: 9px 12px;
        font-size: .8rem;
    }

    body.lm-redesign .hero-content {
        padding: 58px 0 52px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    body.lm-redesign .hero h1 {
        font-size: clamp(2.3rem, 12vw, 3.25rem);
    }

    body.lm-redesign .hero-product-card {
        padding: 24px;
    }

    body.lm-redesign .trust-strip {
        gap: 6px;
    }

    body.lm-redesign .how-section {
        padding: 54px 0;
    }

    body.lm-redesign .steps-grid,
    body.lm-redesign .grid,
    body.lm-redesign .info-row,
    body.lm-redesign .web-request-grid,
    body.lm-redesign .lm-footer-grid {
        grid-template-columns: 1fr;
    }

    body.lm-redesign .catalog-section {
        padding-top: 56px;
    }

    body.lm-redesign .catalog-header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.lm-redesign .search-form {
        flex-wrap: wrap;
    }

    body.lm-redesign .search-wrap {
        flex-basis: 100%;
    }

    body.lm-redesign .btn-search {
        flex: 1;
    }

    body.lm-redesign .card-lada {
        padding-right: 0;
    }

    body.lm-redesign .stock-badge {
        margin: 10px 0 16px;
    }

    body.lm-redesign .lm-footer-bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    body.lm-redesign *,
    body.lm-redesign *::before,
    body.lm-redesign *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
