﻿

@media screen and (max-width: 768px) {

.btn--big {
	width: 70%;
	margin: 0px 15%;
}

/* ---------- 导航栏 ---------- */
.header__nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
    transform: translateY(-110%);
    opacity: 0;
    transition: all 0.35s ease;
    z-index: 999;
}

.header__nav--open {
    transform: translateY(0);
    opacity: 1;
}

.header__logo {
    font-size: 22px;
}

.header__logo-icon {
	background: url(../images/logo_3.png) no-repeat right center;
	background-size: 28px 28px;
	width: 30px;
	height: 40px;
}

.header__menu {
    flex-direction: column;
    gap: 0;
    padding: 0 24px;
}

.header__menu li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.header__menu li:last-child {
    border-bottom: none;
}

.header__link {
    display: block;
    font-size: 18px;
    border-bottom: none;
}

.header__toggle {
    display: flex;
}

/* 汉堡菜单动画 */
.header__toggle--open .header__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__toggle--open .header__toggle-bar:nth-child(2) {
    opacity: 0;
}

.header__toggle--open .header__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 首屏 ---------- */
.hero {
    padding: 48px 0 60px;
}

.hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}
.hero__floating-card {
    bottom: -15px; left: -0px;
}

.hero__title {
    font-size: 36px;
}

.hero__subtitle {
    font-size: 16px;
}

.hero__actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero__stats {
    justify-content: center;
    gap: 28px;
}

.hero__stat-number {
    font-size: 28px;
}

.hero__visual {
    order: -1;
}

.hero__placeholder {
    width: 100%;
    height: auto;
	padding: 0px 0%;
}

.hero__placeholder-icon {
    font-size: 64px;
}

/* ---------- 区块标题 ---------- */
.section-header {
    margin-bottom: 36px;
}

.section-header__title {
	font-size: 32px;
	font-weight: bold;
}

.section-header__subtitle {
    font-size: 15px;
}

/* ---------- 服务项目 ---------- */
.services {
    padding: 48px 0;
}

.services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

/* ---------- 调律师团队 ---------- */
.team {
    padding: 48px 0;
}

.team__grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

/* ---------- 服务范围 ---------- */
.areas { padding: 48px 0; }
.areas__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }


/* ---------- 价格表 ---------- */
.pricing {
    padding: 48px 0;
}

.pricing__table {
    font-size: 15px;
}

.pricing__table thead th,
.pricing__table tbody td {
    padding: 10px 10px;
	font-size: 14px;
}

.pricing__note {
    font-size: 14px;
}

/* ---------- 预约表单 ---------- */
.booking {
    padding: 48px 0;
}

.booking__form {
    padding: 24px 24px 50px 24px;
}

.booking__row {
    grid-template-columns: 1fr;
    gap: 0;
}

/* ---------- 常见问题 ---------- */
.faq {
    padding: 48px 0;
}

.faq__question {
    font-size: 15px;
}

/* ---------- 页脚 ---------- */
.footer {
    padding: 40px 0 20px;
}

.footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
	text-align: center;
}

.footer__desc img {
	width: 80%;
	padding: 0px 0% 0px 20%;
	text-align: center;
}

/* ---------- 按钮 ---------- */
.btn {
    padding: 12px 24px;
    font-size: 18px;
}

}




/* ---------- 小屏手机适配 (< 400px) ---------- */
@media (max-width: 400px) {
    .hero__title {
        font-size: 28px;
    }

    .hero__stats {
        gap: 18px;
    }

    .hero__stat-number {
        font-size: 24px;
    }

    .hero__stat-label {
        font-size: 12px;
    }

    .section-header__title {
        font-size: 24px;
    }

    .container {
        padding: 0 16px;
    }
}
