/* Moving Calculator – v3.0 – Two-column navy minimalist */

.mc-wrap {
    --mc-white-high:  rgba(255,255,255,0.90);
    --mc-white-mid:   rgba(255,255,255,0.55);
    --mc-white-low:   rgba(255,255,255,0.30);
    --mc-white-ghost: rgba(255,255,255,0.06);
    --mc-border:      rgba(255,255,255,0.10);
    --mc-border-hi:   rgba(255,255,255,0.45);
    --mc-active-bg:   rgba(255,255,255,0.14);
    --mc-rule:        rgba(255,255,255,0.08);

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    max-width: 1170px;
    margin: 0 auto;
    padding: 2.5rem;
    border-radius: 20px;
    box-sizing: border-box;
}

.mc-wrap *,
.mc-wrap *::before,
.mc-wrap *::after {
    box-sizing: inherit;
}

/* ── Company name ── */
.mc-company {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mc-white-low);
    margin: 0 0 1.75rem;
}

/* ── Section labels ── */
.mc-sec-lbl {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mc-white-low);
    margin: 0 0 1rem;
}

/* ── Two-column layout ── */
.mc-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.75rem;
    align-items: start;
}

/* ── Size grid – 2 cols inside left panel ── */
.mc-size-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mc-size-btn {
    background: var(--mc-white-ghost);
    border: 1px solid var(--mc-border);
    border-radius: 10px;
    padding: 13px 10px;
    text-align: center;
    cursor: pointer;
    transition: background .18s, border-color .18s;
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.3;
}

.mc-size-btn:hover {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.20);
}

.mc-size-btn.mc-active {
    background: var(--mc-active-bg);
    border-color: var(--mc-border-hi);
}

.mc-btn-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--mc-white-high);
    display: block;
}

.mc-btn-sub {
    font-size: 11px;
    color: var(--mc-white-low);
    display: block;
}

.mc-size-btn.mc-active .mc-btn-sub {
    color: var(--mc-white-mid);
}

/* ── Divider ── */
.mc-rule {
    border: none;
    border-top: 1px solid var(--mc-rule);
    margin: 1.75rem 0;
}

/* ── Distance ── */
.mc-dist-wrap {
    margin-top: .25rem;
}

.mc-dist-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: .875rem;
}

.mc-dist-top span:first-child {
    font-size: 15px;
    color: var(--mc-white-mid);
}

.mc-dist-top span:last-child {
    font-size: 22px;
    font-weight: 500;
    color: #fff;
}

.mc-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 2px;
    background: rgba(255,255,255,.18);
    border-radius: 1px;
    outline: none;
    cursor: pointer;
    display: block;
}

.mc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    transition: transform .15s;
}

.mc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.mc-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    cursor: pointer;
}

.mc-dist-note {
    font-size: 12px;
    color: var(--mc-white-low);
    margin: .625rem 0 0;
}

/* ── Right column stat rows ── */
.mc-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--mc-rule);
    transition: opacity .15s;
}

.mc-stat-row:first-of-type {
    border-top: 1px solid var(--mc-rule);
}

.mc-stat-l {
    font-size: 14px;
    color: var(--mc-white-low);
}

.mc-stat-r {
    font-size: 16px;
    font-weight: 500;
    color: var(--mc-white-high);
}

/* ── Price result block ── */
.mc-price-block {
    margin-top: 1.75rem;
    border: 1px solid var(--mc-border-hi);
    border-radius: 14px;
    padding: 1.5rem;
}

.mc-price-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--mc-white-low);
    margin: 0 0 .5rem;
}

.mc-price-big {
    font-size: 46px;
    font-weight: 300;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -.02em;
    transition: all .2s ease;
}

.mc-price-range {
    font-size: 14px;
    color: var(--mc-white-mid);
    margin: .625rem 0 0;
}

.mc-badge {
    display: inline-block;
    margin-top: 1rem;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--mc-white-low);
    border: 1px solid var(--mc-border);
    border-radius: 4px;
    padding: 3px 9px;
}

/* ── CTA ── */
.mc-cta {
    display: block;
    margin-top: 1.25rem;
    background: #ffffff;
    color: #1E3A8A !important;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 0;
    border-radius: 10px;
    text-align: center;
    text-decoration: none !important;
    letter-spacing: .01em;
    transition: opacity .15s;
}

.mc-cta:hover {
    opacity: .88;
}

/* ── Responsive: stack on mobile ── */
@media (max-width: 620px) {
    .mc-wrap {
        padding: 1.75rem 1.25rem;
    }

    .mc-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mc-left {
        margin-bottom: 0;
    }

    .mc-rule-col {
        display: block;
        border: none;
        border-top: 1px solid var(--mc-rule);
        margin: 1.75rem 0;
    }

    .mc-price-big {
        font-size: 38px;
    }
}
