/* ===== 重置与基础 ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== 顶部信息栏 ===== */
.top-bar {
    background: #0a5c6b;
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left span {
    margin-right: 24px;
}

.top-bar-left i {
    margin-right: 6px;
    color: #ffd700;
}

.top-bar-right a {
    margin: 0 8px;
    color: #fff;
}

.top-bar-right a:hover {
    color: #ffd700;
}

.top-bar-right span {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== 导航栏 ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 50%;
}

/* 导航菜单 */
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: block;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-item > a i {
    font-size: 10px;
    margin-left: 4px;
}

.nav-item:hover > a,
.nav-item.active > a {
    color: #0a5c6b;
    background: rgba(10, 92, 107, 0.06);
}

nav-item > a {
    cursor: pointer;
}

/* 下拉菜单 */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
    padding: 6px 0;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #555;
    transition: all 0.3s;
}

.dropdown li a:hover {
    background: rgba(10, 92, 107, 0.06);
    color: #0a5c6b;
    padding-left: 26px;
}

/* CTA按钮 */
.nav-cta {
    background: linear-gradient(135deg, #0a5c6b, #12a3b5);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-cta:hover {
    background: linear-gradient(135deg, #12a3b5, #0a5c6b);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10, 92, 107, 0.3);
}

/* ===== 移动端菜单按钮 ===== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== 轮播Banner ===== */
.hero {
    position: relative;
    height: 520px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    max-width: 650px;
    color: #fff;
    padding: 40px 0;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #ffd700;
    color: #333 !important;
    border-color: #ffd700;
    margin-right: 12px;
}

.btn-primary:hover {
    background: #ffc700;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
}

.btn-outline {
    background: transparent;
    color: #fff !important;
    border-color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-block {
    width: 100%;
}

/* 轮播导航点 */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.hero-dots .dot.active {
    background: #ffd700;
    border-color: #ffd700;
    transform: scale(1.2);
}

/* 轮播箭头 */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-arrow:hover {
    background: rgba(10, 92, 107, 0.8);
    border-color: rgba(10, 92, 107, 0.9);
}

/* ===== 快捷入口 ===== */
.quick-links {
    background: #f8fbfc;
    padding: 20px 0;
    border-bottom: 1px solid #e8f0f2;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    padding: 18px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.quick-item i {
    font-size: 28px;
    color: #0a5c6b;
    transition: all 0.3s;
}

.quick-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 92, 107, 0.15);
}

.quick-item:hover i {
    color: #12a3b5;
    transform: scale(1.1);
}

/* ===== 通用板块标题 ===== */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8f0f2;
}

.section-title h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0a5c6b;
}

.section-title h2 span {
    font-weight: 400;
    font-size: 16px;
    color: #999;
    margin-left: 8px;
    font-family: Georgia, serif;
}

.more-link {
    font-size: 14px;
    color: #0a5c6b;
    font-weight: 500;
}

.more-link:hover {
    color: #12a3b5;
}

/* ===== 资讯板块 ===== */
.info-section {
    padding: 50px 0;
    background: #fff;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.info-block {
    background: #f8fbfc;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
    border: 1px solid #e8f0f2;
}

.info-block:hover {
    box-shadow: 0 6px 20px rgba(10, 92, 107, 0.08);
    transform: translateY(-2px);
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0a5c6b;
}

.info-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0a5c6b;
}

.info-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #e0e8ea;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li a {
    font-size: 13px;
    color: #555;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.3s;
}

.info-list li a:hover {
    color: #0a5c6b;
    padding-left: 4px;
}

/* ===== 互惠故事 ===== */
.stories-section {
    padding: 50px 0;
    background: #f8fbfc;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.story-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.story-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(10, 92, 107, 0.5);
}

.story-content {
    padding: 18px 20px 22px;
}

.story-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: #0a5c6b;
    margin-bottom: 8px;
}

.story-content p {
    font-size: 13px;
    color: #777;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== 互惠生资源 ===== */
.aupairs-section {
    padding: 50px 0;
    background: #fff;
}

.aupairs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.aupair-card {
    background: #f8fbfc;
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e8f0f2;
    cursor: pointer;
}

.aupair-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(10, 92, 107, 0.12);
    border-color: #0a5c6b;
}

.aupair-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a5c6b, #12a3b5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 24px;
    color: #fff;
}

.aupair-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.aupair-card p {
    font-size: 12px;
    color: #999;
}

/* ===== 家长反馈 ===== */
.feedback-section {
    padding: 50px 0;
    background: #f8fbfc;
}

.feedback-slider {
    overflow: hidden;
}

.feedback-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.feedback-card {
    min-width: calc(33.333% - 16px);
    background: #fff;
    border-radius: 12px;
    padding: 30px 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    position: relative;
}

.feedback-quote {
    font-size: 28px;
    color: #0a5c6b;
    opacity: 0.2;
    margin-bottom: 10px;
}

.feedback-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feedback-author {
    font-size: 14px;
    font-weight: 600;
    color: #0a5c6b;
    text-align: right;
}

.feedback-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.feedback-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0d8da;
    cursor: pointer;
    transition: all 0.3s;
}

.feedback-dots span.active {
    background: #0a5c6b;
    transform: scale(1.2);
}

/* ===== 申请区域 ===== */
.apply-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0a5c6b 0%, #0d7a8a 50%, #12a3b5 100%);
    color: #fff;
}

.apply-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.apply-info h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.apply-info > p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 24px;
}

.apply-benefits li {
    padding: 8px 0;
    font-size: 15px;
}

.apply-benefits i {
    color: #ffd700;
    margin-right: 10px;
}

/* 表单 */
.apply-form {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 36px;
    color: #333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fff;
    color: #333;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
    outline: none;
    border-color: #0a5c6b;
    box-shadow: 0 0 0 3px rgba(10, 92, 107, 0.1);
}

.apply-form textarea {
    margin-bottom: 14px;
    resize: vertical;
}

.apply-form .btn-primary {
    background: linear-gradient(135deg, #0a5c6b, #12a3b5);
    border-color: transparent;
    color: #fff !important;
    font-size: 16px;
    padding: 14px;
}

.apply-form .btn-primary:hover {
    background: linear-gradient(135deg, #12a3b5, #0a5c6b);
    box-shadow: 0 6px 20px rgba(10, 92, 107, 0.3);
}

/* ===== 页脚 ===== */
.footer {
    background: #1a2a30;
    color: #b0c4c8;
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    border-radius: 50%;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.8;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #12a3b5;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 13px;
    color: #b0c4c8;
    transition: all 0.3s;
}

.footer-col ul li a:hover {
    color: #ffd700;
    padding-left: 4px;
}

.footer-contact li {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    color: #12a3b5;
    width: 16px;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #b0c4c8;
    transition: all 0.3s;
    font-size: 16px;
}

.footer-social a:hover {
    background: #12a3b5;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.footer-links a {
    color: #b0c4c8;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffd700;
}

/* ===== 侧边悬浮 ===== */
.side-float {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.side-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    color: #333;
    font-size: 12px;
    transition: all 0.3s;
    gap: 2px;
}

.side-item i {
    font-size: 18px;
}

.side-item span {
    font-size: 10px;
    white-space: nowrap;
}

.side-item:hover {
    background: #0a5c6b;
    color: #fff;
    transform: translateX(-4px);
}

/* ===== 内页Banner ===== */
.page-banner {
    padding: 60px 0;
    color: #fff;
    text-align: center;
}

.page-banner h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-banner p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.breadcrumb {
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: #fff;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
}

/* ===== 内页内容布局 ===== */
.page-content {
    padding: 50px 0;
    background: #f8fbfc;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.content-main {
    background: #fff;
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.article-block {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid #e8f0f2;
}

.article-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.article-block h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0a5c6b;
    margin-bottom: 16px;
}

.article-block p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

/* ===== 侧边栏 ===== */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-block {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.sidebar-block h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0a5c6b;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0a5c6b;
}

.sidebar-nav li {
    margin-bottom: 4px;
}

.sidebar-nav li a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: #555;
    border-radius: 6px;
    transition: all 0.3s;
}

.sidebar-nav li a:hover,
.sidebar-nav li.active a {
    background: rgba(10, 92, 107, 0.06);
    color: #0a5c6b;
    font-weight: 600;
}

.sidebar-block p {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.sidebar-block p i {
    color: #0a5c6b;
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* ===== 特色网格 ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    background: #f8fbfc;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e8f0f2;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(10, 92, 107, 0.1);
}

.feature-item i {
    font-size: 36px;
    color: #0a5c6b;
    margin-bottom: 12px;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 13px;
    color: #777;
    margin-bottom: 0;
}

/* ===== 对比表格 ===== */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 14px;
}

.compare-table th,
.compare-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid #e8f0f2;
}

.compare-table th {
    background: #0a5c6b;
    color: #fff;
    font-weight: 600;
}

.compare-table tr:nth-child(even) {
    background: #f8fbfc;
}

.compare-table tr:hover {
    background: #e8f4f8;
}

/* ===== 优势列表 ===== */
.benefit-list {
    margin-top: 16px;
}

.benefit-list li {
    padding: 10px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    border-bottom: 1px dashed #e8f0f2;
}

.benefit-list li:last-child {
    border-bottom: none;
}

.benefit-list li i {
    color: #0a5c6b;
    margin-right: 10px;
}

/* ===== 案例卡片 ===== */
.case-card-full {
    background: #f8fbfc;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #e8f0f2;
    transition: all 0.3s;
}

.case-card-full:hover {
    box-shadow: 0 6px 20px rgba(10, 92, 107, 0.08);
}

.case-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.case-tag {
    background: #0a5c6b;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.case-header h3 {
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

.case-card-full p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.case-meta {
    display: flex;
    gap: 20px;
    margin-top: 14px;
    font-size: 13px;
    color: #999;
}

.case-meta i {
    margin-right: 6px;
    color: #0a5c6b;
}

/* ===== 见证卡片 ===== */
.testimonial-card-full {
    background: #f8fbfc;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 20px;
    border: 1px solid #e8f0f2;
}

.testimonial-quote {
    font-size: 28px;
    color: #0a5c6b;
    opacity: 0.2;
    margin-bottom: 10px;
}

.testimonial-card-full p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
}

.testimonial-author {
    text-align: right;
}

.testimonial-author strong {
    display: block;
    font-size: 15px;
    color: #0a5c6b;
}

.testimonial-author span {
    font-size: 13px;
    color: #999;
}

/* ===== FAQ列表 ===== */
.faq-item {
    background: #f8fbfc;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 14px;
    border: 1px solid #e8f0f2;
}

.faq-question {
    font-size: 15px;
    font-weight: 600;
    color: #0a5c6b;
    margin-bottom: 10px;
}

.faq-question i {
    margin-right: 10px;
}

.faq-answer {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    padding-left: 26px;
}

/* ===== 表单页面 ===== */
.apply-form-page .form-group {
    margin-bottom: 16px;
}

.apply-form-page label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.apply-form-page .required {
    color: #e74c3c;
}

.apply-form-page input,
.apply-form-page select,
.apply-form-page textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fff;
    color: #333;
}

.apply-form-page input:focus,
.apply-form-page select:focus,
.apply-form-page textarea:focus {
    outline: none;
    border-color: #0a5c6b;
    box-shadow: 0 0 0 3px rgba(10, 92, 107, 0.1);
}

.apply-form-page .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ===== 流程列表 ===== */
.process-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: #555;
    border-bottom: 1px dashed #e8f0f2;
}

.process-list li:last-child {
    border-bottom: none;
}

.process-list li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #0a5c6b;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

/* ===== 合作伙伴网格 ===== */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.partner-card {
    background: #f8fbfc;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e8f0f2;
    transition: all 0.3s;
    position: relative;
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(10, 92, 107, 0.1);
}

.partner-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0a5c6b, #12a3b5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 14px;
}

.partner-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.partner-card p {
    font-size: 13px;
    color: #777;
    line-height: 1.7;
    margin-bottom: 0;
}

.partner-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(10, 92, 107, 0.1);
    color: #0a5c6b;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

/* ===== 新闻列表 ===== */
.news-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e8f0f2;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    flex-shrink: 0;
    width: 70px;
    text-align: center;
    background: #f8fbfc;
    border-radius: 10px;
    padding: 12px 8px;
    border: 1px solid #e8f0f2;
}

.news-date .day {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #0a5c6b;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.news-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.news-content h4:hover {
    color: #0a5c6b;
}

.news-content p {
    font-size: 13px;
    color: #777;
    line-height: 1.7;
    margin-bottom: 10px;
}

.news-more {
    font-size: 13px;
    color: #0a5c6b;
    font-weight: 500;
}

.news-more:hover {
    color: #12a3b5;
}

.news-more i {
    margin-left: 4px;
}

/* ===== 联系网格 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    background: #f8fbfc;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid #e8f0f2;
}

.contact-item i {
    font-size: 32px;
    color: #0a5c6b;
    margin-bottom: 12px;
}

.contact-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 15px;
    color: #0a5c6b;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item span {
    font-size: 12px;
    color: #999;
}

/* ===== 快速导航网格 ===== */
.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #f8fbfc;
    border-radius: 12px;
    padding: 24px 16px;
    border: 1px solid #e8f0f2;
    transition: all 0.3s;
    text-align: center;
}

.quick-nav-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(10, 92, 107, 0.1);
    border-color: #0a5c6b;
}

.quick-nav-item i {
    font-size: 28px;
    color: #0a5c6b;
}

.quick-nav-item span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* ===== 流程步骤 ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.process-step {
    background: #f8fbfc;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid #e8f0f2;
    position: relative;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #0a5c6b;
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    margin: 0 auto 12px;
}

.process-step h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: #777;
    margin-bottom: 0;
}

/* ===== 响应式调整（内页） ===== */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-block {
        flex: 1;
        min-width: 250px;
    }

    .feature-grid,
    .partner-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .process-steps,
    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 40px 0;
    }

    .page-banner h1 {
        font-size: 26px;
    }

    .content-main {
        padding: 24px;
    }

    .apply-form-page .form-row {
        grid-template-columns: 1fr;
    }

    .process-steps,
    .quick-nav-grid {
        grid-template-columns: 1fr;
    }

    .news-item {
        flex-direction: column;
        gap: 12px;
    }

    .news-date {
        width: auto;
        display: flex;
        gap: 8px;
        align-items: baseline;
        padding: 8px 12px;
    }

    .news-date .day {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .feature-grid,
    .partner-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aupairs-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .apply-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* 移动端导航 */
    .mobile-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 0;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s;
        overflow-y: auto;
    }

    .nav-list.open {
        left: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item > a {
        padding: 14px 16px;
        border-bottom: 1px solid #f0f4f5;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        min-width: auto;
        padding: 0;
        display: none;
    }

    .nav-item:hover .dropdown {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

    .aupairs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .feedback-card {
        min-width: calc(100% - 0px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-links a {
        margin: 0 10px;
    }

    .side-float {
        right: 10px;
        bottom: 80px;
    }

    .side-item {
        width: 44px;
        height: 44px;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .hero-prev {
        left: 10px;
    }

    .hero-next {
        right: 10px;
    }

    .apply-form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .apply-info h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .top-bar-left span {
        margin-right: 12px;
        font-size: 12px;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }

    .aupairs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }
}

/* 互惠生资源列表页 */
.aupair-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.aupair-list-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.aupair-list-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10,92,107,0.12);
    border-color: #0a5c6b;
}

.aupair-list-card .aupair-avatar {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a5c6b, #12a3b5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.aupair-list-card .aupair-info h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.aupair-list-card .aupair-info p {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.aupair-list-card .aupair-brief {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

.aupair-view-btn {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    color: #0a5c6b;
    font-weight: 600;
}

/* 互惠生详情页 */
.aupair-detail-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #f0f9fa, #e8f4f8);
    border-bottom: 1px solid #eee;
}

.detail-avatar {
    width: 90px;
    height: 90px;
    min-width: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a5c6b, #12a3b5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
}

.detail-basic h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-tags span {
    padding: 4px 12px;
    background: #fff;
    border-radius: 20px;
    font-size: 13px;
    color: #0a5c6b;
    border: 1px solid #d0e8ec;
}

.detail-body {
    padding: 30px;
}

.detail-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section h3 {
    font-size: 16px;
    color: #0a5c6b;
    margin-bottom: 10px;
}

.detail-section h3 i {
    margin-right: 8px;
}

.detail-section p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.detail-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* 故事列表页 */
.story-list-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.story-list-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10,92,107,0.12);
    border-color: #0a5c6b;
}

.story-list-img {
    width: 120px;
    height: 100px;
    min-width: 120px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #0a5c6b;
}

.story-list-info h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.story-list-info p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.story-list-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

.story-list-meta i {
    margin-right: 4px;
}

/* 文章详情页 */
.story-detail-article {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    border: 1px solid #eee;
}

.article-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    color: #999;
}

.article-meta i {
    margin-right: 5px;
}

.article-body p {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 15px;
}

.article-body strong {
    color: #333;
}

.article-footer {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* 首页故事卡片和互惠生卡片可点击 */
.stories-grid .story-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.stories-grid .story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(10,92,107,0.15);
}

.aupairs-grid .aupair-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.aupairs-grid .aupair-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(10,92,107,0.15);
}

@media (max-width: 768px) {
    .aupair-list-grid {
        grid-template-columns: 1fr;
    }

    .story-list-card {
        flex-direction: column;
    }

    .story-list-img {
        width: 100%;
        height: 80px;
    }

    .detail-header {
        flex-direction: column;
        text-align: center;
    }

    .detail-tags {
        justify-content: center;
    }

    .detail-actions,
    .article-footer {
        flex-direction: column;
    }
}

/* ===== 微信弹窗 ===== */
.wechat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}
.wechat-modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px 50px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.wechat-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}
.wechat-modal-close:hover {
    color: #333;
}
.wechat-modal-content h3 {
    margin-bottom: 10px;
    color: #333;
}
.wechat-modal-content .wechat-id {
    font-size: 24px;
    font-weight: bold;
    color: #07c160;
    background: #f0f9f0;
    padding: 10px 25px;
    border-radius: 8px;
    margin: 10px 0;
    user-select: all;
    cursor: pointer;
}

/* ===== 微信弹窗 ===== */
.wechat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}
.wechat-modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px 50px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.wechat-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}
.wechat-modal-close:hover {
    color: #333;
}
.wechat-modal-content h3 {
    margin-bottom: 10px;
    color: #333;
}
.wechat-modal-content .wechat-id {
    font-size: 24px;
    font-weight: bold;
    color: #07c160;
    background: #f0f9f0;
    padding: 10px 25px;
    border-radius: 8px;
    margin: 10px 0;
    user-select: all;
    cursor: pointer;
}