/* 隐藏元素 */
.hidden {
    display: none !important;
}

/* 显示元素 - 块级显示 */
.block {
    display: block !important;
}

/* 显示元素 - 弹性布局 */
.flex {
    display: flex !important;
}

/* 显示元素 - 网格布局 */
.grid {
    display: grid !important;
}

button {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    outline: none;
    cursor: pointer;
}

body {
    padding: 0;
    margin: 0;
    background-color: #F8F8F8;
}

/* 顶部导航 */
.navbar {
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(1rem); /* 约10px */
    box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.05);
}

/* 内部容器 */
.navbar-container {
    margin: 0 auto;
    padding: 1.2rem 1.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 左侧 Logo */
.navbar-left {
    display: flex;
    align-items: center;
}
.navbar-logo {
    height: 2rem;
    width: auto;
}

/* 右侧电话区域 */
.navbar-right {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    color: #555;
}
.navbar-phone-icon {
    width: 1.6rem;
    height: 1.6rem;
    margin-right: 0.2rem;
}
.navbar-phone {
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}
.navbar-phone:hover {
    color: #ff7a00;
}


/* 主容器样式 */
.main-container {
    margin: 0 auto;
    padding: 0 1.6rem 2rem;
}



/* ===== 定制旅行介绍区域 ===== */
.custom-section {
    margin: 2.4rem 0;
    padding: 2.4rem 2.4rem;
}

/* 标题 */
.custom-title {
    font-size: clamp(2rem, 3vw, 4rem);
    font-weight: 700;
    margin: 0 0 1.2rem 0;
    color: #222;
    line-height: 1.3;
}
.custom-title .highlight {
    color: #ff7a00;
}

/* 副标题 */
.custom-subtitle {
    color: #666;
    font-size: 1.6rem;
    margin-bottom:  0 0 3rem 0;
}

/* 白色卡片 */
.custom-card {
    background: #fff;
    border-radius: 5rem;
    padding: 1.2rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.06);
}

/* 头像组 */
.custom-avatars {
    display: flex;
    align-items: center;
}
.custom-avatars img + img {
    margin-left: -1rem; /* 头像叠层效果 */
}
.custom-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 0.2rem solid #fff;
    object-fit: cover;
    display: block;
}

/* 右侧文字 */
.custom-text {
    color: #444;
    font-size: 1.3rem;
    font-weight: 500;
    margin-left: 1rem;
}


/* 表单样式 */
.form-section {
    background-color: #fff;
    border-radius: 2rem;
    padding: 2rem;
    margin-bottom: 2.4rem;
}




/* ===== 进度条 ===== */
.progress-container {
    margin-bottom: 2.4rem;
}
.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}
.step-indicator {
    font-size: 1.4rem;
    font-weight: 500;
    color: #ff7a00; /* 主色 */
}
.progress-text {
    font-size: 1.2rem;
    color: #888;
}
.progress-bar-bg {
    height: 0.8rem;
    background: #eee;
    border-radius: 1rem;
    overflow: hidden;
}
.progress-bar-active {
    height: 100%;
    background: #ff7a00;
    border-radius: 1rem;
    transition: width 0.5s;
}




.form-step-title {
    font-size: 2rem; /* 约 20px */
    font-weight: 700;
    margin-bottom: 1.6rem;
}


.form-option {
    position: relative;
}

.form-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.form-label {
    display: flex;
    align-items: center;
    padding: 1.6rem;
    border: 0.2rem solid #ddd;
    border-radius: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.5rem;
}

.form-radio:checked + .form-label {
    border-color: #FF7A00;
    background-color: rgba(255, 122, 0, 0.1);
}

/* 自定义日历容器 */
.custom-date-picker {
    padding: 1.2rem; /* 内边距 */
    background-color: #f9fafb; /* 浅灰背景 */
    border-radius: 1rem; /* 圆角 */
}

/* 日历主体 */
.calendar-container {
    background-color: #fff;
    border-radius: 1rem;
    padding: 1.2rem;
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.05);
}

/* 日历头部 */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: #FF7F50;
}

/* 上下月按钮 */
.calendar-btn {
    padding: 0.8rem;
    border-radius: 50%;
    font-size: 1.4rem;
}

/* 星期栏 */
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
    color: #6b7280;
    font-weight: 600;
}

/* 日期格子 */
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-size: 1.4rem;
    justify-items: center;
    align-items: center;
}

.calendar-days div {
    display: flex;
    justify-content: center;
    align-items: center;    
    width: 4rem;
    height: 4rem;
    margin: 0.5rem 0;
    text-align: center;
    border-radius: 0.8rem;
    cursor: pointer;
}

/* 选中样式 */
.calendar-days .selected {
    background-color: #ff7a00;
    color: #fff;
}

/* 可选：区间样式 */
.calendar-days .in-range {
    background-color: #ffe5cc;
}

/* 不可点击 */
.calendar-days .disabled {
    color: #c0c0c0;
    cursor: not-allowed;
    background-color: #f3f3f3;
}


/* 表单组 */
.form-group {
    margin-bottom: 2rem;
}

/* 文字标签 */
.form-label-text {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    display: block;
    color: #444;
}

/* 表单选项容器 */
.form-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem; /* 间距 */
}

/* grid布局的选项 */
.grid-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* 每个选项 */
.form-option {
    position: relative;
}

/* 隐藏原生radio/checkbox */
.form-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}


/* 每个选项 */
.form-option {
    position: relative;
}

/* 隐藏原生radio */
.form-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}


/* label内部文字内容 */
.label-content {
    display: flex;
    flex-direction: column;
}

.option-title {
    font-size: 1.5rem;
}

.option-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 0.2rem 0 0 0;
}


/* step标题和副标题 */
.step-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* 每个选项 */
.form-option {
    position: relative;
}

/* 隐藏原生checkbox */
.form-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* label内部文字内容 */
.label-content {
    display: flex;
    flex-direction: column;
}

/* step标题 */
.step-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #222;
}

/* 表单选项容器 */
.form-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-options.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* 每个选项 */
.form-option {
    position: relative;
}

/* 隐藏原生checkbox */
.form-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}


/* 联系信息 */
.contact-section {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    color: #222;
}


.text-required {
    color: #ff0000;
}

.form-hint {
    font-size: 1.2rem;
    color: #666;
    margin-left: 0.3rem;
}

.form-input {
    padding: 0.8rem;
    border: 0.2rem solid #ddd;
    border-radius: 0.8rem;
    width: 95%;
}

.form-input:focus {
    outline: none;
    border-color: #ff7a00;
}

.form-error {
    color: #ff0000;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}


.success-message {
    background-color: #fff;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    border-radius: 2rem;
    text-align: center;
}

.success-icon {
    width: 5rem;
    height: 5rem;
    background-color: rgba(0, 123, 255, 0.1); /* 可改为你的secondary颜色 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.success-icon i {
    font-size: 2rem;
    color: #007bff; /* secondary颜色 */
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #222;
}

.success-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.success-hint {
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 1.5rem;
}

.success-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
    padding: 0.75rem 1.5rem;
    border-radius: 3rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.success-btn i {
    margin-right: 0.5rem;
}

.success-btn:hover {
    background-color: #007bff;
    color: #fff;
}




.nav-buttons {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    align-items: center;
    width: 100%;
    min-height: 5rem;
}

.nav-buttons .btn {
    padding: 1.5rem 2.4rem;
    border-radius: 2.4rem;
    font-weight: 500;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.nav-buttons .btn i {
    margin: 0;
}

/* 上一步按钮 */
.prev-btn {
    border: 1px solid #ccc;
    background-color: #fff;
    color: #555;
}

.prev-btn:hover {
    background-color: #f0f0f0;
}

/* 下一步 & 提交按钮 */
.next-btn, .submit-btn {
    display: flex;
    align-items: center;
    border: none;
    background-color: #ff7a00;
    color: #fff;
}

/* 右侧按钮容器 */
.next-wrapper {
    display: flex;
    gap: 1rem;
    margin-left: auto;
}



.why-choose-us {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0.2rem 0.6rem rgba(0,0,0,0.05);
}

.why-choose-us h2 {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #FF7A00; /* 主色 */
}

.stat-label {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

.service-promises h3 {
    font-weight: bold;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.service-promises ul {
    list-style: none;
    padding-left: 0;
}

.service-promises li {
    display: flex;
    align-items: start;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.service-promises li::before {
    content: '✔';
    color: #FF7A00;
    margin-right: 0.5rem;
}

.service-quote {
    background: #f9fafb;
    border: 1px solid #eee;
    border-radius: 1rem;
    padding: 1rem;
    font-size: 1.4rem;
    font-style: italic;
    color: #555;
}

.service-quote p:last-child {
    font-size: 1rem;
    color: #999;
}



.parent-testimonials {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0.2rem 0.6rem rgba(0,0,0,0.05);
}

.parent-testimonials h2 {
    margin-top: 0;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.testimonial-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-item {
    padding: 1rem;
    border: 1px solid #f0f0f0;
    border-radius: 1rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.75rem;
}

.name {
    font-size: 1.4rem;
    margin: 0;
}

.stars {
    color: #FF7A00;
    font-size: 1.2rem;
    display: flex;
}

.testimonial-text {
    font-size: 1.2rem;
    color: #555;
}




.parent-stats {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.stats-slogan {
    color: #555;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.stats-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.stats-item {
    text-align: center;
}

.stats-value {
    font-size: 2.4rem;
    font-weight: bold;
    color: #FF7A00;
}

.stats-label {
    font-size: 1.2rem;
    color: #888;
    margin: 0;
}

.site-footer {
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 2rem 1rem;
    font-family: sans-serif;
    color: #555;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-top {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 100px; /* 可调整 */
    height: auto;
    margin-bottom: 0.5rem;
}

.footer-slogan {
    font-size: 1.4rem;
    color: #666;
    margin-top: 0;
    margin-bottom: 1rem;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: all 0.3s;
    text-decoration: none;
}

.btn i {
    margin-right: 0.6rem;
}

.btn-phone {
    padding: 1rem 1.5rem;
    font-size: 1.4rem;
    background-color: rgba(255, 122, 0, 0.1);
    color: #FF7A00;
}

.btn-phone:hover {
    background-color: #FF7A00;
    color: #fff;
}

.btn-wechat {
    padding: 1rem 1.5rem;
    font-size: 1.4rem;
    background-color: rgba(0, 159, 127, 0.1);
    color: #009F7F;
}

.btn-wechat:hover {
    background-color: #009F7F;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
    font-size: 1.4rem;
    color: #888;
    line-height: 1.4;
}

.footer-bottom p {
    margin: 0.5rem;
}

.footer-record {
    margin-top: 0.2rem;
    font-size: 1.2rem;
}





/* 提示框容器，默认隐藏 */
#message-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FF7A00;
    color: #fff;
    padding: 1.5rem 2.5rem;
    border-radius: 0.6rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

/* 显示状态 */
#message-container.show {
    opacity: 1;
}

/* 隐藏状态 */
#message-container.hidden {
    display: none;
}

.message-text {
    font-size: 1.4rem;
}