:root {
    --navy: #06152d;
    --blue: #1245db;
    --lime: #83e600;
    --ink: #111827;
    --muted: #687386;
    --line: #e3e8ef;
    --soft: #f4f6f9;
    --white: #fff;
    --max: 1240px;
}

/* Base */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--ink);
    font-family: "Noto Sans KR", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
}
img {
    display: block;
    max-width: 100%;
}
.detail-container {
    width: min(calc(100% - 48px), var(--max));
    margin: 0 auto;
}

/* Header and breadcrumb */
.detail-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgba(6, 21, 45, 0.08);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
}
.detail-header-inner {
    width: min(calc(100% - 48px), var(--max));
    height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.detail-brand {
    width: 240px;
    overflow: hidden;
}
.detail-brand img {
    width: 240px;
}
.detail-header nav {
    display: flex;
    gap: 40px;
    font-size: 14px;
    font-weight: 600;
}
.detail-call {
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--line);
}
.detail-call small {
    color: var(--muted);
    font-size: 11px;
}
.detail-call strong {
    color: var(--blue);
    font-size: 19px;
}
.breadcrumb {
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.breadcrumb .detail-container {
    height: 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8791a0;
    font-size: 12px;
}
.breadcrumb strong {
    color: var(--ink);
}

/* Vehicle hero */
.vehicle-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fb 0%, #e9edf3 100%);
}
.vehicle-hero.has-video {
    min-height: 620px;
    color: #fff;
    background: #06152d;
}
.vehicle-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vehicle-hero-shade {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 11, 25, 0.88) 0%, rgba(3, 11, 25, 0.58) 38%, rgba(3, 11, 25, 0.12) 72%),
        linear-gradient(0deg, rgba(3, 11, 25, 0.34), transparent 48%);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    z-index: 2;
    min-height: 520px;
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
}
.vehicle-hero.has-video .hero-grid {
    min-height: 620px;
    grid-template-columns: minmax(0, 560px) 1fr;
}
.hero-copy {
    position: relative;
    z-index: 2;
    padding: 65px 0;
}
.detail-tag {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 5px;
    color: white;
    background: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}
.hero-kicker {
    margin: 28px 0 10px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
}
.vehicle-hero.has-video .hero-kicker {
    color: #8bea12;
}
.hero-copy h1 {
    margin: 0;
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.12;
    letter-spacing: -0.06em;
}
.hero-subtitle {
    margin: 18px 0 36px;
    color: var(--muted);
    font-size: 16px;
}
.vehicle-hero.has-video .hero-subtitle {
    color: rgba(255, 255, 255, 0.78);
}
.quick-specs {
    margin: 0;
    display: flex;
    gap: 0;
}
.quick-specs div {
    min-width: 120px;
    padding-right: 25px;
    margin-right: 25px;
    border-right: 1px solid #cfd6e0;
}
.vehicle-hero.has-video .quick-specs div {
    border-color: rgba(255, 255, 255, 0.28);
}
.quick-specs div:last-child {
    border: 0;
}
.quick-specs dt {
    color: #8b94a2;
    font-size: 11px;
}
.vehicle-hero.has-video .quick-specs dt {
    color: rgba(255, 255, 255, 0.62);
}
.quick-specs dd {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 700;
}
.hero-vehicle {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-vehicle img {
    position: relative;
    z-index: 2;
    width: 110%;
    max-width: none;
    filter: drop-shadow(0 30px 30px rgba(5, 18, 38, 0.2));
}
.hero-glow {
    position: absolute;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.95),
        rgba(255, 255, 255, 0) 70%
    );
}
.image-note {
    position: absolute;
    right: 0;
    bottom: 26px;
    color: #929baa;
    font-size: 10px;
}

/* Sticky estimate navigation */
.estimate-steps {
    position: sticky;
    z-index: 30;
    top: 82px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--navy);
    box-shadow: 0 10px 25px rgba(5, 18, 38, 0.12);
}
.estimate-steps .detail-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.estimate-steps a {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #b8c3d3;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}
.estimate-steps a:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.estimate-steps a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}
.estimate-steps span {
    color: var(--lime);
    font-size: 10px;
    font-weight: 800;
}

/* Estimate layout */
.estimate-area {
    padding: 32px 0 120px;
    background: #f5f7fa;
}
.estimate-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 32px;
    align-items: start;
}
.estimate-content {
    min-width: 0;
}
.estimate-intro {
    display: none;
}
.estimate-intro > span,
.other-models .detail-container > span {
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
}
.estimate-intro h2 {
    margin: 12px 0 8px;
    font-size: 34px;
    letter-spacing: -0.05em;
}
.estimate-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}
.choice-section {
    scroll-margin-top: 175px;
    margin-bottom: 24px;
    padding: 38px 40px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
}
.choice-heading {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}
.choice-heading > span {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: var(--blue);
    font-size: 11px;
    font-weight: 800;
}
.choice-heading h3 {
    margin: 1px 0 5px;
    font-size: 22px;
    letter-spacing: -0.04em;
}
.choice-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

/* Model and color selection */
.contract-heading {
    padding-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.contract-heading h3 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.04em;
}
.contract-heading p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 12px;
}
.contract-defer {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 0;
    color: #242830;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
}
.contract-defer span {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border: 1px solid #d6dce4;
    border-radius: 50%;
    color: #bcc4ce;
    font-size: 10px;
}
.contract-defer.is-selected span {
    color: #fff;
    border-color: var(--blue);
    background: var(--blue);
}
.choice-block {
    padding-top: 28px;
}
.choice-block h4 {
    margin: 0 0 14px;
    font-size: 14px;
}
.choice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.choice {
    min-width: 112px;
    padding: 13px 18px;
    border: 1px solid #dbe1e9;
    border-radius: 8px;
    color: #586376;
    background: white;
    cursor: pointer;
}
.choice:hover {
    border-color: #9db2ef;
}
.choice.is-selected {
    color: var(--blue);
    border-color: var(--blue);
    background: #f1f5ff;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px var(--blue);
}
.model-option {
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid var(--blue);
    border-radius: 10px;
    background: #f7f9ff;
}
.model-option span:first-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.model-option small {
    color: var(--muted);
}
.model-check {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: var(--blue);
    font-size: 12px;
}
.popular-note {
    margin-top: 12px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    background: #f4f7fb;
}
.popular-note strong {
    color: var(--blue);
    font-size: 12px;
}
.popular-note span {
    color: var(--muted);
    font-size: 10px;
}
.subheading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.spec-button,
.all-models {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
}
.popular-title {
    padding: 13px 15px;
    border-radius: 8px;
    color: var(--blue);
    background: #f4f7fb;
    font-size: 12px;
    font-weight: 700;
}
.popular-title small {
    float: right;
    color: var(--muted);
    font-weight: 400;
}
.model-list {
    display: grid;
    gap: 8px;
}
.model-row {
    width: 100%;
    padding: 18px;
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    text-align: left;
    cursor: pointer;
}
.model-row b {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf1f6;
}
.model-row span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.model-row small {
    color: var(--blue);
}
.model-row em {
    font-style: normal;
    font-weight: 700;
}
.model-row.is-selected {
    border-color: var(--blue);
    box-shadow: inset 0 0 0 1px var(--blue);
}
.all-models {
    width: 100%;
    margin-top: 10px;
}
.vehicle-spec-table {
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.vehicle-spec-table div {
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    border-bottom: 1px solid var(--line);
}
.vehicle-spec-table div:last-child {
    border-bottom: 0;
}
.vehicle-spec-table span {
    color: var(--muted);
    font-size: 12px;
}
.vehicle-spec-table strong {
    font-size: 13px;
}
.defer-choice {
    margin-top: 22px;
    padding: 10px 15px;
    border: 1px solid #dbe1e9;
    border-radius: 7px;
    color: #667185;
    background: #fff;
    cursor: pointer;
}
.defer-choice:hover,
.defer-choice.is-selected {
    color: var(--blue);
    border-color: var(--blue);
    background: #f1f5ff;
}
.tip-box {
    margin: 14px 0 0;
    padding: 14px 16px;
    border-radius: 8px;
    color: var(--muted);
    background: #f4f7fb;
    font-size: 11px;
}
.tip-box strong {
    margin-right: 6px;
    color: var(--blue);
}
.multiple-note {
    margin-left: 8px;
    color: var(--muted);
    font-size: 11px;
}
.color-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.color-choice {
    padding: 15px 8px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 9px;
    border: 1px solid #dbe1e9;
    border-radius: 9px;
    background: white;
    cursor: pointer;
}
.color-choice i {
    width: 32px;
    height: 32px;
    border: 1px solid #d5d9df;
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px white;
}
.color-choice .multi {
    background: conic-gradient(#111 0 25%, #eee 0 50%, #777 0 75%, #1245db 0);
}
.color-choice span {
    font-size: 11px;
}
.color-choice.is-selected {
    color: var(--blue);
    border-color: var(--blue);
    box-shadow: inset 0 0 0 1px var(--blue);
}
.color-choice.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* Vehicle options */
.option-list {
    padding-top: 25px;
    display: grid;
    gap: 10px;
}
.option-list label {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 9px;
    cursor: pointer;
}
.option-list input {
    width: 18px;
    height: 18px;
    margin: 0 14px 0 0;
    accent-color: var(--blue);
}
.option-list span {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}
.option-list small {
    color: var(--muted);
}
.option-list b {
    color: var(--blue);
    font-size: 12px;
}
.option-heading > div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}
.option-heading small {
    color: #8c949f;
    font-size: 10px;
}
.vehicle-option-list {
    display: grid;
    gap: 8px;
}
.vehicle-option-list label {
    min-height: 58px;
    padding: 10px 14px;
    display: grid;
    grid-template-columns: 18px 1fr auto;
    align-items: center;
    gap: 8px;
    border: 1px solid #aeb5bf;
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
}
.vehicle-option-list label.is-selected {
    border-color: #17191d;
    box-shadow: inset 0 0 0 1px #17191d;
}
.vehicle-option-list input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.vehicle-option-list > label > i {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border: 1px solid #c8ced6;
    border-radius: 50%;
    color: #b6bdc6;
    font-size: 9px;
    font-style: normal;
}
.vehicle-option-list label.is-selected > i {
    color: #fff;
    border-color: #e60012;
    background: #e60012;
}
.vehicle-option-list > label > span {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: 10px;
}
.vehicle-option-list strong {
    font-size: 16px;
}
.vehicle-option-list em {
    padding: 2px 5px;
    color: #27bcd0;
    background: #e8fafc;
    font-size: 9px;
    font-style: normal;
}
.vehicle-option-list small {
    width: 100%;
    color: #969da7;
    font-size: 9px;
}
.vehicle-option-list small b {
    font-size: 7px;
}
.vehicle-option-list mark {
    color: #111;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
}
.apply-options {
    margin-top: 16px;
    padding: 13px 22px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--navy);
    font-weight: 700;
    cursor: pointer;
}
.option-guide {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

/* Contract and insurance controls */
.contract-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.compact .choice {
    min-width: 0;
}
.condition-description {
    margin-bottom: 14px;
}
.condition-description strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}
.condition-description p,
.choice-help {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.65;
}
.guarantee-block > h4 {
    display: flex;
    align-items: center;
    gap: 7px;
}
.help-mark {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #d8dee7;
    border-radius: 50%;
    color: #aab3c0;
    font-size: 11px;
    font-weight: 500;
}
.guarantee-panel {
    padding: 24px 30px;
    border: 1px solid #e1e5ea;
    border-radius: 15px;
    background: #f7f8fa;
}
.guarantee-panel .condition-description strong {
    font-size: 15px;
}
.guarantee-panel .condition-description p {
    color: #353b45;
    font-size: 12px;
}
.guarantee-panel .condition-description b {
    font-weight: 700;
}
.deposit-description {
    margin-top: 22px;
}
.segmented-choice {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: hidden;
    border: 1px solid #e0e4ea;
    border-radius: 15px;
    background: #fff;
}
.segmented-choice button {
    height: 58px;
    border: 0;
    border-right: 1px solid #e0e4ea;
    background: #fff;
    font-size: 15px;
    cursor: pointer;
}
.segmented-choice button:last-child {
    border-right: 0;
}
.segmented-choice button.is-selected {
    position: relative;
    z-index: 1;
    margin: -1px;
    border: 1px solid #17191d;
    border-radius: 14px;
    font-weight: 700;
}
.period-choice {
    grid-template-columns: repeat(3, 1fr);
    background: #f7f8fa;
}
.period-choice button {
    background: #f7f8fa;
}
.period-choice button.is-selected {
    background: #fff;
}
.four-choice {
    grid-template-columns: repeat(4, 1fr);
    background: #f7f8fa;
}
.four-choice button {
    background: #f7f8fa;
}
.four-choice button.is-selected {
    background: #fff;
}
.insurance-note {
    margin: 10px 0 0;
    color: #7d8693;
    font-size: 10px;
    line-height: 1.65;
}
.insurance-detail-list {
    overflow: hidden;
    border: 1px solid #e0e4ea;
    border-radius: 14px;
    background: #fff;
}
.insurance-detail-list div {
    padding: 15px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e0e4ea;
}
.insurance-detail-list div:last-child {
    border-bottom: 0;
}
.insurance-detail-list span,
.insurance-detail-list strong {
    font-size: 12px;
}
.insurance-detail-list span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.insurance-detail-list .help-mark {
    font-style: normal;
}
.choice-help {
    margin: -5px 0 14px;
}
.insurance-panel {
    margin-top: 30px;
    padding: 24px;
    border-radius: 12px;
    background: #f4f7fb;
}
.insurance-panel > h4 {
    margin: 0 0 5px;
    font-size: 16px;
}
.insurance-panel .choice-block {
    padding-top: 18px;
}
.insurance-panel h5 {
    margin: 0 0 12px;
    font-size: 13px;
}
.insurance-summary {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #dfe5ed;
}
.insurance-summary div {
    padding: 14px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
}
.insurance-summary span {
    color: var(--muted);
    font-size: 11px;
}
.insurance-summary strong {
    font-size: 12px;
}
.deposit-control {
    width: 280px;
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    border: 1px solid var(--line);
    border-radius: 9px;
    overflow: hidden;
}
.deposit-control button {
    border: 0;
    background: #f4f7fb;
    color: var(--blue);
    font-size: 22px;
    cursor: pointer;
}
.deposit-control strong {
    padding: 13px;
    text-align: center;
}
.contract-notes {
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 10px;
    background: #f4f7fb;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}
.contract-notes p {
    margin: 2px 0;
}
.rate-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 9px;
}
.rate-choice {
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
}
.rate-choice span {
    font-weight: 700;
}
.rate-choice small {
    color: var(--muted);
    font-size: 9px;
}
.rate-choice strong {
    color: var(--blue);
    font-size: 11px;
}
.rate-choice.is-selected {
    border-color: var(--blue);
    background: #f1f5ff;
    box-shadow: inset 0 0 0 1px var(--blue);
}
.included-benefits {
    padding-top: 25px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.included-benefits div {
    padding: 22px 16px;
    border-radius: 10px;
    background: #f4f7fb;
    text-align: center;
}
.included-benefits strong {
    display: block;
    font-size: 14px;
}
.included-benefits span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 10px;
}

/* Sticky estimate summary */
.quote-card {
    position: sticky;
    top: 176px;
    align-self: start;
    padding: 28px;
    border: 1px solid #dce2eb;
    border-radius: 18px;
    background: white;
    box-shadow: 0 20px 50px rgba(6, 21, 45, 0.11);
}
.quote-label {
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
}
.quote-card h2 {
    margin: 10px 0 3px;
    font-size: 24px;
    letter-spacing: -0.05em;
}
.quote-card > p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}
.quote-vehicle {
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quote-vehicle img {
    width: 105%;
    max-width: none;
}
.quote-selections {
    margin: 0;
    padding: 17px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.quote-selections div {
    margin: 9px 0;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
.quote-selections dt {
    color: var(--muted);
    font-size: 11px;
}
.quote-selections dd {
    margin: 0;
    max-width: 220px;
    font-size: 12px;
    font-weight: 600;
    text-align: right;
}
.quote-price {
    padding: 23px 0 18px;
    text-align: right;
}
.quote-price span {
    display: block;
    color: var(--muted);
    font-size: 11px;
}
.quote-price strong {
    display: block;
    margin: 5px 0;
    color: var(--blue);
    font-size: 29px;
    letter-spacing: -0.04em;
}
.quote-price small {
    color: #929baa;
    font-size: 9px;
}
.quote-button {
    width: 100%;
    padding: 16px;
    border: 0;
    border-radius: 9px;
    color: white;
    background: var(--blue);
    font-weight: 700;
    cursor: pointer;
}
.quote-button:hover {
    background: #0c36b6;
}
.manager-link {
    margin-top: 10px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 9px;
}
.manager-link span {
    font-size: 11px;
}
.manager-link strong {
    color: var(--blue);
    font-size: 15px;
}

/* Consultation modal */
.consultation-modal .modal-dialog {
    max-width: 420px;
}
.consultation-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(6, 21, 45, 0.22);
}
.consultation-modal .modal-header {
    padding: 28px 28px 14px;
    justify-content: center;
    border: 0;
}
.consultation-modal .modal-title {
    margin: 0;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.04em;
}
.consultation-modal-heading {
    padding: 0 22px;
    text-align: center;
}
.consultation-modal-heading p {
    margin: 8px 0 0;
    color: #7a8493;
    font-size: 12px;
    line-height: 1.55;
    word-break: keep-all;
}
.consultation-modal .btn-close {
    position: absolute;
    top: 22px;
    right: 22px;
}
.consultation-modal .modal-body {
    padding: 12px 24px 18px;
}
.consultation-fields {
    display: grid;
    gap: 12px;
}
.consultation-fields .form-control {
    height: 54px;
    padding: 0 16px;
    border-color: #d9dee6;
    border-radius: 10px;
    font-size: 14px;
}
.consultation-summary {
    min-height: 205px;
    margin-top: 14px;
    padding: 17px;
    border: 1px solid #d9dee6;
    border-radius: 10px;
    color: #4f5968;
    background: #f8fafc;
    font-size: 13px;
    line-height: 1.65;
    white-space: pre-wrap;
}
.consultation-agree {
    margin-top: 17px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #697386;
    font-size: 12px;
}
.consultation-agree .form-check-input {
    margin-top: 0;
}
.privacy-detail {
    padding: 0;
    border: 0;
    color: #697386;
    background: transparent;
    text-decoration: underline;
}
.consultation-modal .modal-footer {
    padding: 0 24px 24px;
    border: 0;
}
.consultation-submit {
    width: 100%;
    min-height: 52px;
    border-radius: 28px;
    font-weight: 700;
}

/* Related models and footer */
.other-models {
    padding: 100px 0;
    background: white;
}
.other-models h2 {
    margin: 10px 0 35px;
    font-size: 32px;
    letter-spacing: -0.05em;
}
.other-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.other-grid a {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #f5f7fa;
}
.other-grid img {
    width: 100%;
    aspect-ratio: 16/8.5;
    object-fit: cover;
}
.other-grid div {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    background: white;
}
.other-grid span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
}
.detail-footer {
    padding: 55px 0;
    color: #8791a1;
    background: #08111f;
    font-size: 12px;
}
.detail-footer .detail-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
}
.detail-footer strong {
    color: white;
    font-size: 18px;
}
.detail-footer p {
    margin: 0;
}

/* Refined contract controls */
#contract {
    padding: 44px 46px;
}
#contract .choice-block {
    padding-top: 34px;
}
#contract .choice-block > h4 {
    margin-bottom: 10px;
    font-size: 15px;
    letter-spacing: -0.02em;
}
#contract .choice-help {
    margin: 0 0 14px;
    color: #8a94a3;
}
.guarantee-panel {
    padding: 30px;
    border: 1px solid #e5e9ef;
    border-radius: 20px;
    background: linear-gradient(145deg, #f8fafc 0%, #f3f6fa 100%);
    box-shadow: 0 10px 28px rgba(6, 21, 45, 0.05);
}
.guarantee-panel .condition-description {
    margin-bottom: 16px;
}
.guarantee-panel .condition-description strong {
    margin-bottom: 8px;
    font-size: 16px;
}
.guarantee-panel .condition-description p {
    color: #697587;
    line-height: 1.7;
}
.guarantee-panel .condition-description p b {
    color: #2e3848;
}
.guarantee-panel .deposit-description {
    margin-top: 28px;
    padding-top: 27px;
    border-top: 1px solid #e1e6ed;
}
.segmented-choice {
    padding: 5px;
    gap: 5px;
    overflow: visible;
    border: 0;
    border-radius: 14px;
    background: #e9edf3;
}
.segmented-choice button {
    height: 52px;
    border: 0 !important;
    border-radius: 10px;
    color: #596577;
    background: transparent;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}
.segmented-choice button:hover {
    color: var(--navy);
    background: rgba(255, 255, 255, 0.72);
}
.segmented-choice button.is-selected {
    margin: 0;
    color: #fff;
    border: 0 !important;
    border-radius: 10px;
    background: linear-gradient(135deg, #0b2345, #123f78);
    box-shadow: 0 6px 15px rgba(11, 35, 69, 0.2);
    transform: translateY(-1px);
}
.period-choice,
.four-choice {
    background: #edf1f6;
}
.fuel-choice {
    width: 180px;
    grid-template-columns: 1fr;
}
.period-choice button,
.four-choice button {
    background: transparent;
}
.period-choice button.is-selected,
.four-choice button.is-selected {
    color: #fff;
    background: linear-gradient(135deg, #0b2345, #123f78);
}
.help-mark {
    border-color: #d4dbe5;
    color: #929dad;
    background: #fff;
}
.insurance-panel {
    margin-top: 34px;
    padding: 30px;
    border: 1px solid #e5e9ef;
    border-radius: 20px;
    background: linear-gradient(145deg, #f8fafc 0%, #f3f6fa 100%);
    box-shadow: 0 10px 28px rgba(6, 21, 45, 0.05);
}
.insurance-panel > h4 {
    font-size: 18px;
}
.insurance-panel .choice-block {
    padding-top: 27px;
}
.insurance-panel .choice-block + .choice-block {
    margin-top: 4px;
    padding-top: 27px;
    border-top: 1px solid #e1e6ed;
}
.insurance-note {
    padding: 13px 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
}
.insurance-detail-list {
    border: 0;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px #e0e5ec;
}
.insurance-detail-list div {
    padding: 17px 20px;
}
.contract-heading {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
}
.contract-defer {
    padding: 9px 12px;
    border-radius: 9px;
    transition: background 0.18s ease;
}
.contract-defer:hover {
    background: #f3f6fa;
}
.contract-defer.is-selected {
    color: var(--blue);
    background: #eef3ff;
}
.contract-defer.is-selected span {
    box-shadow: 0 4px 10px rgba(18, 69, 219, 0.2);
}

/* Responsive */
@media (max-width: 640px) {
    #contract {
        padding: 30px 20px;
    }
    .guarantee-panel,
    .insurance-panel {
        padding: 22px 16px;
        border-radius: 16px;
    }
    .segmented-choice {
        gap: 3px;
        padding: 4px;
    }
    .segmented-choice button {
        height: 48px;
        font-size: 12px;
    }
}
@media (max-width: 980px) {
    .detail-header nav {
        display: none;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-copy {
        padding-bottom: 0;
    }
    .hero-vehicle {
        min-height: 350px;
    }
    .estimate-layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 32%);
        gap: 20px;
    }
    .quote-card {
        position: sticky;
        top: 156px;
        padding: 22px;
    }
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 720px) {
    .estimate-layout {
        grid-template-columns: 1fr;
    }
    .quote-card {
        position: relative;
        top: auto;
    }
}
@media (max-width: 640px) {
    .detail-container,
    .detail-header-inner {
        width: min(calc(100% - 30px), var(--max));
    }
    .detail-header-inner {
        height: 68px;
    }
    .detail-brand,
    .detail-brand img {
        width: 190px;
    }
    .detail-call {
        display: none;
    }
    .hero-grid {
        min-height: 620px;
    }
    .hero-copy {
        padding-top: 45px;
    }
    .hero-copy h1 {
        font-size: 38px;
    }
    .quick-specs {
        flex-wrap: wrap;
    }
    .quick-specs div {
        min-width: 90px;
        margin-right: 12px;
        padding-right: 12px;
    }
    .hero-vehicle {
        min-height: 280px;
    }
    .estimate-steps {
        top: 68px;
    }
    .estimate-steps a {
        height: 58px;
        font-size: 0;
    }
    .estimate-steps a span {
        font-size: 11px;
    }
    .estimate-area {
        padding: 60px 0 80px;
    }
    .estimate-intro h2 {
        font-size: 28px;
    }
    .choice-section {
        padding: 28px 20px;
    }
    .color-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .contract-grid {
        grid-template-columns: 1fr;
    }
    .included-benefits {
        grid-template-columns: 1fr;
    }
    .insurance-summary {
        grid-template-columns: 1fr;
    }
    .popular-note {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
    .vehicle-spec-table div {
        grid-template-columns: 80px 1fr;
    }
    .rate-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .deposit-control {
        width: 100%;
    }
    .guarantee-panel {
        padding: 20px 14px;
    }
    .segmented-choice button {
        height: 52px;
        font-size: 13px;
    }
    .contract-heading {
        align-items: flex-start;
        gap: 15px;
    }
    .contract-defer {
        font-size: 12px;
    }
    .other-grid {
        grid-template-columns: 1fr;
    }
    .detail-footer .detail-container {
        grid-template-columns: 1fr;
    }
    .breadcrumb {
        display: none;
    }
}
