.hero-section {
    background: #f9fbff;
    padding: 50px 0 80px;
}

.hero-container {
    width: 1440px;
    margin: 0 auto;
}

.hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px;
}

.hero-title-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 551px;
}

.hero-title {
    font-weight: 700;
    font-size: 56px;
    line-height: 1.286;
    letter-spacing: -1.7864px;
    color: #1f1f1f;
}

.hero-title .blue {
    color: #2752ff;
}

.hero-subtitle {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: -0.24px;
    color: #4e555e;
}

.hero-img {
    width: 310px;
    height: 184px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.hero-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    align-items: stretch;
    width: 1413px;
    gap: 24px;
}

/* Calculator Form */
.calculator-card {
    width: 757px;
    background: white;
    border-radius: 20px;
    box-shadow: 0px 0px 4px 0px rgba(78,98,114,0.2);
    padding: 24px;
}

.calculator-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.calculator-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.0912px;
    color: #2752ff;
}

.reset-btn {
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    background: none;
    border: none;
    color: #4e555e;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.0912px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 8px;
}

.form-label-text {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.429;
    letter-spacing: 0.203px;
    color: #4e555e;
}

.required {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.334;
    letter-spacing: 0.3024px;
    color: #ff4209;
}

.input-field {
    width: 100%;
    height: 42px;
    background: white;
    border: 1px solid #eceef3;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 16px;
    line-height: 1.625;
    letter-spacing: 0.0912px;
    color: #1f1f1f;
}

.input-field::placeholder {
    color: #98a1ac;
}

.input-field:focus {
    outline: none;
    border-color: #2752ff;
}

.form-row {
    display: flex;
    gap: 24px;
}

.form-row .form-group {
    flex: 1;
}

/* Radio Options */
.radio-group {
    background: #f9fafd;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.radio-circle {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    border: 1px solid #98a1ac;
    background: white;
    position: relative;
    transition: all 0.2s;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option input[type="radio"]:checked + .radio-circle {
    border-color: #2752ff;
}

.radio-option input[type="radio"]:checked + .radio-circle::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2752ff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-label {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.0912px;
    color: #98a1ac;
    transition: color 0.2s;
}

.radio-option input[type="radio"]:checked ~ .radio-label {
    color: #1f1f1f;
}

.radio-desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.625;
    letter-spacing: 0.0912px;
    color: #98a1ac;
    transition: color 0.2s;
}

.radio-option input[type="radio"]:checked ~ .radio-desc {
    color: #1f1f1f;
}

.radio-cost {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.625;
    letter-spacing: 0.0912px;
    color: #98a1ac;
    transition: color 0.2s;
}

.radio-option input[type="radio"]:checked ~ .radio-cost {
    color: #1f1f1f;
}

/* Vehicle Cards */
.vehicle-grid {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
/*
.vehicle-card {
    width: 164px;
    background: white;
    border: 1px solid transparent;
    border-radius: 16px;
    box-shadow: 0px 0px 4px 0px rgba(78,98,114,0.2);
    padding: 16px 8px 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.vehicle-card:hover {
    transform: translateY(-2px);
}

.vehicle-card.selected {
    background: #f9fbff;
    border-color: #2752ff;
}


.vehicle-card:has(input:checked) {
    background: #f9fbff;
    border: 1px solid #2752ff;
}

.vehicle-card:has(input:checked):hover {
    transform: none;
    box-shadow: 0px 0px 4px 0px rgba(78, 98, 114, 0.2);
}
*/

.vehicle-card {
    display: block;
    cursor: pointer;
}

.vehicle-inner {
    width: 164px;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 16px;
    box-shadow: 0 0 4px rgba(78,98,114,0.2);
    padding: 16px 8px 8px;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vehicle-card:hover .vehicle-inner {
    transform: translateY(-2px);
}

.vehicle-card input:checked + .vehicle-inner {
  background: #f9fbff;
  border: 1px solid #2752ff;
}

.vehicle-badge {
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.429;
    letter-spacing: 0.203px;
    color: white;
}

.vehicle-badge.truck { background: #2752ff; }
.vehicle-badge.labo { background: #4ec56b; }
.vehicle-badge.damas { background: #9747ff; }
.vehicle-badge.motorcycle { background: #ff7563; }

.vehicle-img {
    width: 148px;
    height: 84px;
    margin: 8px 0;
    border-radius: 8px;
    object-fit: contain;
    display: block;
    background: transparent;
}

.vehicle-desc {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.429;
    letter-spacing: 0.203px;
    color: #4e555e;
    text-align: center;
}

.result-card {
    width: 632px;
    background: white;
    border-radius: 20px;
    box-shadow: 0px 0px 4px 0px rgba(78,98,114,0.2);
    padding: 20px;
}

.result-content {
    position: relative;
    height: 100%;

    display: flex;
    flex-direction: column;
}

#map {
    position: absolute;
    z-index: 10;

    border-radius: 20px;
    width: 100%;
    height: 100%;
}

.loading-box {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;

    border-radius: 20px;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 8px rgba(0,0,0,0.6);
    z-index: 20;

    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease;
}

.loading-box.active {
    opacity: 1;
    visibility: visible;
}

.spinner {
    display: none;
    width: 42px;
    height: 42px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-box .msg {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.distance-card {
    position: absolute;
    top: 0;

    background: white;
    border-radius: 20px;
    box-shadow: 0px 0px 4px 0px rgba(78,98,114,0.2);
    padding: 16px 24px;
    width: 100%;

    z-index: 30;
}

.distance-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.distance-icon {
    width: 32px;
    height: 32px;
    background: #155dfc;
    border-radius: 40px;
}

.distance-text {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.445;
    letter-spacing: -0.0036px;
    color: #1f1f1f;
}

.distance-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #eeeeee;
}

.distance-km {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.625;
    letter-spacing: 0.0912px;
    color: #2752ff;
}

.distance-bottom-box {
    position: relative;
    z-index: 30;
}

.price-section {
    background: #2752ff;
    border-radius: 20px;
    padding: 16px 24px;
    width: 100%;
    text-align: center;
}

.price-label {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.0912px;
    color: white;
    margin-bottom: 8px;
}

.price-amount {
    font-weight: 700;
    font-size: 56px;
    line-height: 1.286;
    letter-spacing: -1.7864px;
    color: #eef1ff;
    margin-bottom: 16px;
}

.price-note {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.625;
    letter-spacing: 0.0912px;
    color: #eef1ff;
    margin-top: 8px;
}

.placeholder-text {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.445;
    letter-spacing: -0.0036px;
    color: white;
    text-align: center;
}

/* Features Section */
.features-section {
    padding: 80px 280px;
}

.features-container {
    max-width: 1440px;
    margin: 0 auto;
}

.section-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.334;
    letter-spacing: -0.972px;
    color: #1f1f1f;
    text-align: center;
    margin-bottom: 60px;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 120px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 180px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: 0px 0px 4px 0px rgba(78,98,114,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon.blue { background: #f9fbff; }
.feature-icon.green { background: #f9fff9; }
.feature-icon.purple { background: #fbf9ff; }
.feature-icon.orange { background: #fffbf9; }

.feature-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.334;
    letter-spacing: -0.552px;
    color: #1f1f1f;
}

.feature-desc {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.0912px;
    color: #1f1f1f;
    text-align: center;
}

/* Steps Section */
.steps-section {
    background: #183878;
    padding: 80px 280px;
}

.steps-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 120px;
}

.steps-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.334;
    letter-spacing: -0.972px;
    color: white;
    text-align: center;
    margin-bottom: 60px;
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.step-number {
    width: 46px;
    height: 46px;
    border: 1px solid white;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.445;
    letter-spacing: -0.0036px;
    color: white;
}

.step-img {
    width: 190px;
    height: 164px;
    border-radius: 20px;
    object-fit: cover;
    display: block;
    background: white; /* fallback */
}

.step-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.334;
    letter-spacing: -0.552px;
    color: white;
    text-align: center;
}

.step-desc {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.0912px;
    color: white;
    text-align: center;
}

.step-divider {
    width: 50px;
    height: 2px;
    background: transparent;
    position: relative;
}

.step-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: white;
    background-image: repeating-linear-gradient(90deg, white 0, white 6px, transparent 6px, transparent 12px);
}

.learn-more-btn {
    background: white;
    color: #2752ff;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.0912px;
    cursor: pointer;
    border: none;
    width: 574px;
    margin: 0 auto;
    display: block;
    transition: all 0.2s;
}

.learn-more-btn:hover {
    background: #f0f0f0;
}


img { max-width: 100%; }

.date-range-inline {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.date-inline-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.date-wrapper {
    flex: 1;
    position: relative;
}

/* 배지 */
.date-badge {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.date-badge.up {
    background: #2752ff;
}

.date-badge.down {
    background: #2dbf5b;
}

/* 기본 달력 아이콘 숨기기 */
.date-field::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* 커스텀 달력 아이콘 */
.date-wrapper::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    /*background: url('/assets/icon-calendar.svg') no-repeat center;
    background-size: contain;*/
    pointer-events: none;
    opacity: 0.6;
}


.schedule-with-icon {
    position: relative;
}

.schedule-box {
    min-height: 42px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 0px 16px 0 44px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;

    cursor: pointer;
}

.schedule-with-icon svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.schedule-item {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.schedule-badge {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
}

.schedule-badge.start {
    background: #3B82F6;
}

.schedule-badge.end {
    background: #22C55E;
}

.schedule-item .text {
    font-size: 16px;
    color: #9ca3af;

    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.schedule-item .text.active {
    color: #111827;
}

.estimate-btn {
    width: 100%;
    background: #2752ff;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.0912px;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.estimate-btn:hover {
    background: #1a3acc;
}

.estimate-btn:disabled {
    background: #f5f6fa;
    color: #98a1ac;
    border: 1px solid #eceef3;
    cursor: not-allowed;
}

.submit-btn {
    margin-top: 20px;
    width: 100%;
    height: 52px;

    background-color: #ffffff;
    border: 1.5px solid #2752ff;
    border-radius: 12px;

    color: #2752ff;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-btn:hover {
    background: #f3f6ff;
    color: #1f45e5;
    border-color: #1f45e5;
}

.submit-btn:disabled {
    background: #f5f6fa;
    color: #98a1ac;
    border: 1px solid #eceef3;
    cursor: not-allowed;
}