/* Request Service – Step 1
   只作用于 .page-request-service
   依赖 service-details.css 里的变量和 .img-slot 等基础样式
*/

.page-request-service {
    background: #e5ecf5;
    background-image: radial-gradient(circle at 0 0, rgba(255,255,255,.6) 0, transparent 55%),
                      radial-gradient(circle at 100% 100%, rgba(255,255,255,.6) 0, transparent 55%);
}

/* 外层壳子，模仿 Rainbow 中间一块白卡片 */
.request-main {
    padding: 72px 0 96px;
}

.request-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

.rs-container {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    padding: 32px 40px 32px;
}

/* 顶部 header + 步骤条 */
.rs-header {
    background-color: #ffffff !important;
    margin-bottom: 22px;
}


/* Stepper */
.rs-stepper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-inline: 12%;
}
  
.rs-step-line {
    position: absolute;
    top: 50%;
    left: 12%;
    right: 12%;
    height: 2px;
    background: #d1d5db;
    transform: translateY(-50%);
    z-index: 0;
}

.rs-step {
    position: relative;
    z-index: 1;
}
  
.rs-step-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
    background: #e5e7eb;
    color: #4b5563;
    line-height: 1 !important;
}
  
.rs-step--active .rs-step-icon {
    background: #16a34a;
    color: #fff;
}

/* 标题 */
.rs-title {
    font-size: 32px;
    margin: 0;
    text-align: center;
    color: var(--brand-blue);
}

/* 白卡片内容 */
.rs-card {
    margin-top: 10px;
}

.rs-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 32px;
    align-items: flex-start;
}
  
@media (max-width: 960px) {
    .rs-container {
        padding: 24px 18px 26px;
    }
    .rs-grid {
        grid-template-columns: 1fr;
    }
}
  
/* 左侧表单 */
.rs-form-wrapper {
    border-radius: 14px;
}

.rs-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.rs-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rs-half {
    flex: 1 1 0;
    min-width: 0;
}

.rs-full {
    flex: 1 1 100%;
}

/* 三列布局：City / State / Zip */
.rs-third {
    flex: 1 1 calc(33.33% - 10px);
    min-width: 0;
}

.rs-field label {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.rs-field input {
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    padding: 8px 10px;
    font-size: 14px;
    line-height: 1.4;
    background: #f9fafb;
    outline: none;
}

.rs-field input:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 1px rgba(187, 6, 6, 0.25);
    background: #ffffff;
}

.star {
    color: var(--brand-red);
}

/* 错误提示（默认让它比较淡，如果要严格校验可用 JS 显示/隐藏） */
.rs-error {
    margin: 2px 0 0;
    font-size: 12px;
    color: #b91c1c;
}

/* checkbox 文案 */
.rs-checkbox {
    display: block;
}

.rs-checkbox > label {
    position: relative;
    display: block;
    padding-left: 26px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.rs-checkbox > label input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 3px;
    margin: 0;
}

.rs-help {
    margin: 4px 0 0 26px;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.6;
}

/* 按钮区域 */
.rs-actions {
    align-items: center;
    margin-top: 6px;
}

.rs-primary-btn {
    border: none;          /* 去掉浏览器默认边框 */
    outline: none;
    cursor: pointer !important; 
}

.rs-back-link {
    margin-left: 18px;
    font-size: 14px;
    color: #374151;
    text-decoration: none;
}

.rs-back-link:hover {
    text-decoration: underline;
}

/* 右侧应急面板 */
.rs-aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rs-aside-media .img-slot {
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.26);
}

.rs-aside-body h2 {
    font-size: 18px;
    margin-bottom: 6px;
    color: #111827;
}

.rs-aside-body p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 6px;
}

.rs-aside-phone {
    display: inline-block;
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 900;
    color: var(--brand-red);
    text-decoration: none;
}

.rs-aside-phone:hover {
    text-decoration: underline;
}

/* 响应式小调 */
@media (max-width: 768px) {
    .request-main {
        padding-top: 64px;
        padding-bottom: 72px;
    }
    .rs-title {
        font-size: 26px;
    }
    .rs-stepper {
        padding-inline: 10%;
    }
    .rs-aside-media {
        border: 1px solid #c5c2c2;
    }
    .rs-aside-media .img-slot {
        display: none;
    }
}




/* ===== Step 2 – Service Details 额外样式 ===== */

/* 顶部说明文字 */
.rs-lead {
    max-width: 48rem;
    margin: 0 auto 8px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}

/* Step 1 完成状态 */
.rs-step--done .rs-step-icon {
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

/* Step 2 激活状态略突出一点（相比 step1 完成） */
.rs-step--active .rs-step-icon {
    background: var(--brand-red);
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(187, 6, 6, 0.2);
}


/* Radio 组 */
.rs-radio-group {
    border: 0;
    padding: 0;
    display: flex !important;
    flex-direction: row; 
    align-items: center;
    gap: 8px;
}

.rs-radio-group legend {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.field-checkbox {
    display: block; /* 覆盖 .field 中的 flex 布局 */
  }


.rs-radio-option {
    display: inline-flex !important;
    align-items: center;
    margin-right: 20px;
    font-size: 14px;
    color: #111827;
}

.rs-radio-option input[type="radio"] {
    margin-right: 6px;
}

/* 下拉 + 搜索图标 */
.rs-select-with-icon label {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.rs-select-wrap {
    position: relative;
    max-width: 500px;
}

.rs-select-wrap select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    padding: 8px 34px 8px 10px;
    font-size: 14px;
    background: #f9fafb;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.rs-select-wrap select:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 1px rgba(187, 6, 6, 0.25);
    background: #ffffff;
}
  
/* 右侧小放大镜，仅作装饰，pointer-events 关闭以免挡住下拉 */
.rs-select-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    padding: 0;
    font-size: 15px;
    line-height: 1;
    pointer-events: none;  /* 不拦截点击，下拉仍然可以点 */
}



/* ===== Step 3 – Confirmation / Thank You ===== */

.rs-container--final {
    padding: 28px 32px 36px;
}

@media (max-width: 960px) {
    .rs-container--final {
        padding: 22px 18px 28px;
    }
}

/* 顶部完成提示卡片 */

.rs-final-header-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    margin-bottom: 26px;
}

.rs-final-check {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 2px solid #16a34a;
    display: grid;
    place-items: center;
    background: #dcfce7;
    flex-shrink: 0;
}

.rs-final-check span {
    font-size: 22px;
    color: #15803d;
    font-weight: 800;
}

.rs-final-header-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rs-final-title {
    font-size: 22px;
    color: var(--brand-blue);
    margin: 0;
}

.rs-final-next-steps h2 {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}

.rs-final-next-steps ul {
    list-style: disc;
    padding-left: 18px;
}

.rs-final-next-steps li {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .rs-final-header-card {
        align-items: flex-start;
    }
}

/* 主布局：左侧内容 + 右侧摘要卡片 */

.rs-final-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr);
    gap: 28px;
    align-items: flex-start;
}

@media (max-width: 960px) {
    .rs-final-layout {
        grid-template-columns: 1fr;
    }
}

/* 左侧视频 */

.rs-final-main {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.rs-video-card {
    border-radius: 16px;
    overflow: hidden;
    background: #020617;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
}

.rs-video-inner {
    padding: 0;
}

.rs-video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.rs-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* 客户评价 */

.rs-testimonials-heading {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.rs-testimonial {
    padding: 10px 0 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.5);
}

.rs-testimonial:last-of-type {
    border-bottom: none;
}

.rs-testimonial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    background: #ffffff !important;
}

.rs-testimonial-header h3 {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.rs-stars {
    font-size: 14px;
    color: #f59e0b;
}

.rs-testimonial p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink);
}

/* 右侧摘要卡片 */

.rs-summary-card {
    background: #eef2ff;
    border-radius: 16px;
    padding: 18px 18px 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.rs-summary-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1f2937;
}

.rs-summary-section + .rs-summary-section {
    margin-top: 12px;
}

.rs-summary-section h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #111827;
}

.rs-summary-section p {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

.rs-summary-section strong {
    font-weight: 700;
}

.rs-summary-footer {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.7);
}

.rs-summary-footer p {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.6;
}

.rs-summary-footer a {
    color: var(--brand-red);
    text-decoration: none;
}

.rs-summary-footer a:hover {
    text-decoration: underline;
}
