/*
 * Pricing calculator — 2-color close-deal system
 * Amber (action / money) + Slate (trust / text)
 */
.pricing-page {
    --px-ink: #0f172a;
    --px-slate: #334155;
    --px-muted: #64748b;
    --px-line: #e2e8f0;
    --px-soft: #f8fafc;
    --px-amber: #f59e0b;
    --px-amber-dark: #d97706;
    --px-amber-deep: #b45309;
    --px-amber-soft: #fffbeb;
    --px-amber-line: #fde68a;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 45%, #fff 100%);
}
.pricing-hero { background: transparent; }
.pricing-hero__badge {
    background: var(--px-amber-soft);
    color: var(--px-amber-deep);
    border: 1px solid var(--px-amber-line);
}
.pricing-hero__title { color: var(--px-ink); }
.pricing-hero__title-accent {
    background: linear-gradient(90deg, #f59e0b 0%, #ea580c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.pricing-hero__sub { color: var(--px-muted); }
.pricing-hero__formula { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.25rem; }
.pricing-hero__chip {
    font-size: .75rem; font-weight: 700; padding: .35rem .7rem; border-radius: 999px;
    background: #fff; border: 1px solid var(--px-line); color: var(--px-slate);
}

.px-calc { padding: 0 1.5rem 4rem; max-width: 72rem; margin: 0 auto; }
.px-calc__grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) {
    .px-calc__grid { grid-template-columns: 1.35fr 0.95fr; gap: 1.75rem; }
}
.px-panel {
    background: #fff;
    border-radius: 1.25rem;
    border: 1px solid var(--px-line);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
    padding: 1.5rem 1.35rem;
}
@media (min-width: 768px) { .px-panel { padding: 1.85rem; } }
.px-panel__title { font-size: 1.05rem; font-weight: 800; color: var(--px-ink); margin: 0 0 .35rem; }
.px-panel__hint { font-size: .8125rem; color: var(--px-muted); margin: 0 0 1.25rem; line-height: 1.55; }

.px-vehicles { margin-bottom: 1.5rem; }
.px-vehicles__row {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .85rem;
}
.px-vehicles__label { font-size: .875rem; font-weight: 700; color: var(--px-ink); }
.px-vehicles__count {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: 1.5rem; font-weight: 800; color: var(--px-ink);
}
.px-vehicles__count span { font-size: .8125rem; font-weight: 600; color: var(--px-muted); }
.px-vehicles__input {
    width: 4.75rem; text-align: center; font-weight: 800; font-size: 1.125rem;
    border: 1.5px solid var(--px-line); border-radius: .7rem;
    padding: .45rem .5rem; color: var(--px-ink); background: var(--px-soft);
}
.px-vehicles__input:focus {
    outline: none;
    border-color: var(--px-amber);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
    background: #fff;
}
.px-slider {
    -webkit-appearance: none; appearance: none; width: 100%; height: .5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--px-amber) 0%, var(--px-amber) var(--px-progress, 5%), #e2e8f0 var(--px-progress, 5%), #e2e8f0 100%);
    outline: none; cursor: pointer;
}
.px-slider::-webkit-slider-thumb {
    -webkit-appearance: none; width: 1.4rem; height: 1.4rem; border-radius: 999px;
    background: linear-gradient(145deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%);
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(217, 119, 6, .4); cursor: grab;
}
.px-slider::-moz-range-thumb {
    width: 1.4rem; height: 1.4rem; border-radius: 999px;
    background: linear-gradient(145deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%);
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(217, 119, 6, .4); cursor: grab;
}
.px-slider__scale {
    display: flex; justify-content: space-between; margin-top: .45rem;
    font-size: .75rem; color: #94a3b8; font-weight: 600;
}

/* Core — light card, amber accent (friendly, not heavy green) */
.px-core {
    position: relative;
    padding: 1.2rem 1.2rem 1.1rem;
    border-radius: 1.1rem;
    background: #fff;
    border: 1.5px solid var(--px-amber-line);
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.1);
    margin-bottom: 1.5rem;
}
.px-core::before {
    content: "";
    position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
    border-radius: 1.1rem 0 0 1.1rem;
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%);
}
.px-core__top {
    display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem;
    margin-bottom: .75rem;
}
.px-core__badge {
    display: inline-flex; align-items: center;
    font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    background: var(--px-amber);
    color: #fff;
    padding: .3rem .55rem; border-radius: .45rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}
.px-core__title { font-size: 1.15rem; font-weight: 800; margin: 0 0 .35rem; color: var(--px-ink); letter-spacing: -.02em; }
.px-core__price { font-size: .8125rem; color: var(--px-muted); margin: 0; }
.px-core__price strong { color: var(--px-amber-deep); font-weight: 800; font-size: .95rem; }
.px-core__list {
    margin: 0; padding: .85rem 0 0; list-style: none;
    display: grid; gap: .42rem;
    border-top: 1px solid #f1f5f9;
}
.px-core__list li {
    font-size: .8rem; color: var(--px-slate);
    display: flex; gap: .5rem; align-items: flex-start; line-height: 1.4;
}
.px-core__list li::before {
    content: "";
    flex-shrink: 0; width: .75rem; height: .75rem; margin-top: .18rem;
    border-radius: 999px;
    background: var(--px-amber);
    box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px rgba(245, 158, 11, .35);
}

.px-cluster-list { display: grid; gap: .7rem; margin-bottom: .25rem; }
.px-cluster {
    display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center;
    padding: 1rem 1.05rem; border-radius: 1rem;
    border: 1.5px solid var(--px-line);
    background: #fff; cursor: pointer;
    transition: border-color .18s, background .18s, box-shadow .18s;
}
.px-cluster:hover {
    border-color: var(--px-amber-line);
    background: var(--px-amber-soft);
}
.px-cluster.is-on {
    border-color: var(--px-amber);
    background: var(--px-amber-soft);
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.25), 0 8px 20px rgba(245, 158, 11, 0.1);
}
.px-cluster__check { width: 1.2rem; height: 1.2rem; accent-color: var(--px-amber); cursor: pointer; }
.px-cluster__name { font-size: .9375rem; font-weight: 800; color: var(--px-ink); margin: 0; display: block; }
.px-cluster__sub { font-size: .75rem; color: var(--px-muted); margin: .22rem 0 0; line-height: 1.45; display: block; }
.px-cluster__price {
    font-size: .875rem; font-weight: 800; color: var(--px-amber-deep);
    white-space: nowrap; text-align: right;
}
.px-cluster__price small { display: block; font-weight: 600; color: #94a3b8; font-size: .68rem; margin-top: .1rem; }

.px-summary { position: sticky; top: 5.5rem; }

/* Estimate — warm amber highlight for conversion */
.px-total {
    text-align: center; padding: 1.35rem 1.1rem 1.2rem; margin-bottom: 1.15rem;
    border-radius: 1.1rem;
    background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 45%, #fef3c7 100%);
    border: 1.5px solid var(--px-amber);
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.18);
}
.px-total__label {
    font-size: .72rem; font-weight: 800; color: var(--px-amber-deep);
    text-transform: uppercase; letter-spacing: .08em;
}
.px-total__amount {
    font-size: clamp(1.85rem, 4vw, 2.5rem); font-weight: 800; color: var(--px-ink);
    letter-spacing: -.03em; margin: .4rem 0 .2rem; line-height: 1.1;
}
.px-total__period { font-size: .8125rem; color: var(--px-slate); margin: 0; }
.px-breakdown { margin: 0 0 1.15rem; padding: 0; list-style: none; }
.px-breakdown li {
    display: flex; justify-content: space-between; gap: .75rem;
    font-size: .8125rem; color: var(--px-slate); padding: .45rem 0;
    border-bottom: 1px dashed var(--px-line);
}
.px-breakdown li strong { color: var(--px-ink); font-weight: 800; white-space: nowrap; }
.px-breakdown__empty { color: #94a3b8; font-size: .8125rem; margin: 0 0 1rem; }

.px-form__title { font-size: .9375rem; font-weight: 800; color: var(--px-ink); margin: 0 0 .35rem; }
.px-form__sub { font-size: .75rem; color: var(--px-muted); margin: 0 0 1rem; line-height: 1.45; }
.px-field { margin-bottom: .75rem; }
.px-field label { display: block; font-size: .75rem; font-weight: 700; color: var(--px-slate); margin-bottom: .3rem; }
.px-field .req { color: #dc2626; }
.px-field input, .px-field textarea {
    width: 100%; border: 1.5px solid var(--px-line); border-radius: .7rem;
    padding: .7rem .8rem; font-size: .875rem; color: var(--px-ink); background: #fff;
}
.px-field input:focus, .px-field textarea:focus {
    outline: none;
    border-color: var(--px-amber);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}
.px-field textarea { min-height: 4.5rem; resize: vertical; }
.px-form__row { display: grid; gap: .75rem; }
@media (min-width: 480px) { .px-form__row--2 { grid-template-columns: 1fr 1fr; } }
.px-submit {
    width: 100%; margin-top: .45rem; padding: .95rem 1rem; border: none; border-radius: .8rem;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #fff; font-size: .9rem; font-weight: 800; cursor: pointer;
    box-shadow: 0 8px 22px rgba(234, 88, 12, 0.32);
    transition: transform .15s, filter .15s;
}
.px-submit:hover { filter: brightness(1.05); transform: translateY(-1px); }
.px-alert { padding: .75rem 1rem; border-radius: .7rem; font-size: .8125rem; margin-bottom: 1rem; }
.px-alert--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.px-alert--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.px-modules-detail {
    padding: 3.25rem 1.5rem 4rem;
    background: #fff;
    border-top: 1px solid var(--px-line);
}
.px-modules-detail__inner { max-width: 72rem; margin: 0 auto; }
.px-modules-detail__title { text-align: center; font-size: 1.65rem; font-weight: 800; color: var(--px-ink); margin: 0 0 .5rem; }
.px-modules-detail__sub {
    text-align: center; max-width: 36rem; margin: 0 auto 2rem; font-size: .9375rem; color: var(--px-muted); line-height: 1.55;
}
.px-detail-cluster { margin-bottom: 2rem; }
.px-detail-cluster h3 {
    font-size: 1.05rem; font-weight: 800; color: var(--px-ink); margin: 0 0 .35rem;
    padding-bottom: .55rem; border-bottom: 2px solid var(--px-amber-line);
}
.px-detail-cluster h3 span { color: var(--px-amber-deep) !important; }
.px-detail-cluster > p { font-size: .8125rem; color: var(--px-muted); margin: 0 0 1rem; }
.px-detail-grid { display: grid; gap: .85rem; }
@media (min-width: 768px) { .px-detail-grid { grid-template-columns: 1fr 1fr; } }
.px-detail-card {
    padding: 1.05rem 1.15rem; border-radius: .95rem;
    border: 1px solid var(--px-line); background: var(--px-soft);
}
.px-detail-card h4 { font-size: .875rem; font-weight: 800; color: var(--px-ink); margin: 0 0 .4rem; }
.px-detail-card p { font-size: .8125rem; color: var(--px-slate); line-height: 1.55; margin: 0; }

.pricing-notes { background: transparent; border-top: none; }
.pricing-notes__title { color: var(--px-ink); }
.pricing-note-card { border-color: var(--px-line); background: #fff; }
.pricing-note-card__icon { color: var(--px-amber-deep); }
.pricing-cta { background: transparent; }
.pricing-cta__box {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
}
.pricing-cta__btn {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #fff;
}
.pricing-cta__btn:hover { filter: brightness(1.05); }

/* Business enterprise card */
.px-business {
    max-width: 72rem;
    margin: 0 auto 3.5rem;
    padding: 0 1.5rem;
}
.px-business__card {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    padding: 1.75rem 1.5rem;
    border-radius: 1.25rem;
    border: 1.5px solid #c7d2fe;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 55%, #fff 100%);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}
@media (min-width: 900px) {
    .px-business__card {
        grid-template-columns: 1.35fr 0.9fr;
        padding: 2rem 2.25rem;
        gap: 2rem;
    }
}
.px-business__badge {
    display: inline-flex;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: #312e81;
    color: #fff;
    padding: .3rem .55rem;
    border-radius: .45rem;
    margin-bottom: .65rem;
}
.px-business__title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--px-ink);
    margin: 0 0 .35rem;
    letter-spacing: -.02em;
}
.px-business__sub {
    font-size: .9375rem;
    color: var(--px-slate);
    margin: 0 0 .75rem;
    line-height: 1.5;
}
.px-business__summary {
    font-size: .8125rem;
    color: var(--px-muted);
    margin: 0 0 1rem;
    line-height: 1.55;
}
.px-business__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .45rem;
}
.px-business__list li {
    position: relative;
    padding-left: 1.35rem;
    font-size: .8125rem;
    color: var(--px-slate);
    line-height: 1.45;
}
.px-business__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .35rem;
    width: .7rem;
    height: .7rem;
    border-radius: 999px;
    background: #4f46e5;
    box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #c7d2fe;
}
.px-business__aside {
    text-align: center;
    padding: 1.35rem 1.15rem;
    border-radius: 1rem;
    background: #0f172a;
    color: #fff;
}
.px-business__price {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 .25rem;
    letter-spacing: -.02em;
}
.px-business__period {
    font-size: .8125rem;
    color: #94a3b8;
    margin: 0 0 1.15rem;
}
.px-business__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: .85rem 1.25rem;
    border-radius: .75rem;
    font-weight: 800;
    font-size: .9375rem;
    text-decoration: none;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
}
.px-business__cta:hover { filter: brightness(1.06); color: #fff; }
.px-business__note {
    margin: .85rem 0 0;
    font-size: .75rem;
    color: #94a3b8;
    line-height: 1.45;
}
