﻿/* ============================================
   钢琴书·深圳调音 - 电脑端样式
   参考风格：钢琴书平台页面
   ============================================ */

/* ---------- CSS 变量 ---------- */
:root {
    --color-primary: #1C2733;
    --color-primary-light: #34495E;
    --color-accent: #58BD38;
    --color-accent-hover: #E67E22;
    --color-bg: #FAFAF9;
    --color-bg-alt: #F5F4F0;
    --color-text: #2C2C2C;
    --color-text-light: #2D2D2D;
    --color-text-muted: #666;
    --color-white: #FFFFFF;
    --color-border: #E8E5DF;
    --color-green: #27AE60;
    --font-heading: "微软雅黑", 'Segoe UI', 'Georgia', 'Noto Serif SC', 'STSong', serif;
    --font-body: "微软雅黑", 'Segoe UI', 'Georgia', 'Noto Serif SC', 'STSong', serif;
    --container-max: 1200px;
    --radius: 10px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --transition: 0.3s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; color: #2D2D2D; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮 ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 35px;
	border-radius: 50px;
	font-size: 20px;
	font-weight: bold;
	cursor: pointer;
	transition: all var(--transition); 		
	border: 2px solid transparent;
	white-space: nowrap;
}
.btn_su {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 0px;
	border-radius: 50px;
	font-size: 20px;
	font-weight: bold;
	cursor: pointer;
	transition: all var(--transition); 		
	border: 2px solid transparent;
	white-space: nowrap;
	margin: 0px 25%;
	width: 50%;
}
.btn--primary {
    background-color: var(--color-accent); color: var(--color-white);
    border-color: var(--color-accent);
}
.btn--primary:hover {
    background-color: var(--color-accent-hover); border-color: var(--color-accent-hover);
    transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn--outline {
    background-color: transparent; color: var(--color-primary);
    border-color: var(--color-border);
}
.btn--outline:hover {
    background-color: #FF9900; color: var(--color-white);
}
.btn--full { width: 100%; }

/* ---------- 顶部导航栏 ---------- */
.header {
    position: sticky; top: 0; z-index: 1000;
    background-color: rgba(255,255,255,0.80); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 90px; }
.header__logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 25px; font-weight: 700; color: var(--color-primary); }
.header__logo-icon { 	
    background: url(../images/logo_3.png) no-repeat right center;
	background-size: 32px 32px;
	font-size: 36px;
	width: 40px;
	height: 50px; 
}
.header__menu { display: flex; gap: 32px; }
.header__link {
    font-size: 16px; color: var(--color-text-light); padding: 8px 0;
    border-bottom: 2px solid transparent; transition: all var(--transition);
}
.header__link:hover,
.header__link--active { color: var(--color-primary); border-bottom-color: var(--color-accent); }

.header__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.header__toggle-bar { width: 24px; height: 2px; background-color: var(--color-primary); border-radius: 2px; transition: all var(--transition); }

/* ---------- 首屏英雄区 ---------- */
.hero { padding: 80px 0 100px; background: linear-gradient(135deg, #FAFAF9 0%, #F0EDE6 100%); }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero__title {
    font-family: var(--font-heading); font-size: 45px; font-weight: 700;
    color: var(--color-primary); line-height: 1.25; margin-bottom: 20px;
}
.hero__subtitle { font-size: 18px; color: var(--color-text-light); margin-bottom: 36px; line-height: 1.7; }
.hero__actions { display: flex; gap: 16px; margin-bottom: 50px; }
.hero__stats { display: flex; gap: 48px; }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-number { font-family: var(--font-heading); font-size: 36px; font-weight: 700; color: var(--color-accent); }
.hero__stat-label { font-size: 14px; color: var(--color-text-muted); margin-top: 4px; }
.hero__visual {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.hero__placeholder {
    width: 550px;
    height: auto;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__placeholder img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.hero__badge { display: inline-block; font-size: 15px; font-weight: 600; color: var(--color-accent); background: var(--color-accent-light); padding: 8px 18px; border-radius: 50px; margin-bottom: 20px; }


.hero__floating-card {
    position: absolute; bottom: -20px; left: -30px;
    background: #fff; border-radius: 12px; padding: 5px 22px 5px 18px;
    box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 500; color: var(--color-primary);
}
.hero__floating-card .hero__floating-icon {
    font-size: 24px; 
}

/* ---------- 通用区块标题 ---------- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header__title { font-family: var(--font-heading); font-size: 36px; font-weight: 700; color: var(--color-primary); margin-bottom: 12px; }
.section-header__subtitle { font-size: 16px; color: var(--color-text-light); max-width: 560px; margin: 0 auto; }

/* ========== 在线预约 ========== */
.booking { padding: 80px 0; background-color: var(--color-bg-alt); }
.booking__form {
    max-width: 780px; margin: 0 auto; background-color: var(--color-white);
    padding: 60px; border-radius: var(--radius);
    box-shadow: var(--shadow-sm); border: 1px solid var(--color-border);
}
.booking__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.booking__field { margin-bottom: 20px; }
.booking__field--full { grid-column: 1 / -1; }
.booking__label { display: block; font-size: 15px; font-weight: bold; color: var(--color-primary); margin-bottom: 8px; }
.booking__input,
.booking__textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--color-border);
    border-radius: var(--radius); font-size: 15px; font-family: var(--font-body);
    color: var(--color-text); background-color: var(--color-bg);
    transition: border-color var(--transition);
}
.booking__input:focus,
.booking__textarea:focus { outline: none; border-color: var(--color-accent); background-color: var(--color-white); }
.booking__textarea { resize: vertical; min-height: 80px; }
.booking__hint { text-align: center; font-size: 14px; color: var(--color-text-muted); margin-top: 16px; }

/* ========== 3. 专业钢琴服务 ========== */
.services { padding: 80px 0; background-color: var(--color-white); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
    padding: 36px 28px; border-radius: var(--radius); background-color: var(--color-bg);
    border: 1px solid var(--color-border); transition: all var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); background-color: var(--color-white); }
.service-card__icon { font-size: 40px; margin-bottom: 18px; }
.service-card__icon img {
    width: 45px;
	height: auto;
} 

.service-card__title { font-family: var(--font-heading); font-size: 24px; color: var(--color-primary); margin-bottom: 10px; }
.service-card__desc { font-size: 15px; color: var(--color-text-light); line-height: 1.7; margin-bottom: 14px; }
.service-card__list { margin-bottom: 16px; }
.service-card__list li { font-size: 15px; color: var(--color-text-muted); padding: 3px 0; padding-left: 18px; position: relative; }
.service-card__list li::before { content: '•'; position: absolute; left: 0; color: var(--color-accent); }
.service-card__link { font-size: 14px; color: var(--color-accent); font-weight: 500; transition: color var(--transition); }
.service-card__link:hover { color: var(--color-accent-hover); }

/* ========== 4. 为何选择钢琴书的推荐？ ========== */
.why-us { padding: 80px 0; background-color: var(--color-bg-alt); }
.why-us__intro {
    max-width: 800px; margin: 0 auto 48px; text-align: center;
    font-size: 16px; color: var(--color-text-light); line-height: 42px;
}
.why-us__intro strong { color: var(--color-primary); }
.why-us__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-us-card {
    padding: 36px 28px; border-radius: var(--radius); background-color: var(--color-white);
    border: 1px solid var(--color-border); text-align: center; transition: all var(--transition);
}
.why-us-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-us-card__icon {
	font-size: 44px;
	margin-bottom: 16px;
	display: flex;
	justify-content: center;
}
.why-us-card__icon img {
	width: 38px;
	height: auto;
}

.why-us-card__title { font-family: var(--font-heading); font-size: 20px; color: var(--color-primary); margin-bottom: 10px; }
.why-us-card__desc { font-size: 15px; color: var(--color-text-light); line-height: 1.6; }

/* ========== 5. 服务范围（深圳各区） ========== */
.areas { padding: 80px 0; background-color: var(--color-white); }
.areas__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; }
.area-card {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 15px 15px; border-radius: var(--radius); background-color: var(--color-bg);
    border: 1px solid var(--color-border); transition: all var(--transition); cursor: default;
}
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background-color: var(--color-white); }
.area-card__icon { font-size: 32px; }
.area-card__name { font-size: 16px; font-weight: 500; color: var(--color-primary); }
.areas__note { text-align: center; font-size: 14px; color: var(--color-text-muted); margin-top: 28px; }

/* ========== 6. 服务价格卡片 ========== */
.pricing { padding: 80px 0; background-color: var(--color-bg-alt); }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
    background-color: var(--color-white); border-radius: var(--radius);
    border: 1px solid var(--color-border); padding: 32px 24px;
    position: relative; transition: all var(--transition);
    display: flex; flex-direction: column;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card--popular { border-color: var(--color-accent); border-width: 2px; }
.pricing-card__badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background-color: var(--color-accent); color: var(--color-white);
    padding: 4px 20px; border-radius: 50px; font-size: 12px; font-weight: 600;
    white-space: nowrap;
}
.pricing-card__icon { font-size: 40px; text-align: center; margin-bottom: 16px; margin-top: 8px; }
.pricing-card__title { font-family: var(--font-heading); font-size: 24px; color: var(--color-primary); text-align: center; margin-bottom: 20px; }
.pricing-card__prices { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 16px 0; margin-bottom: 16px; }
.pricing-card__price-item { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; }
.pricing-card__type { font-size: 15px; color: var(--color-text-light); }
.pricing-card__amount { font-size: 24px; font-weight: 700; color: var(--color-accent); font-family: var(--font-heading); }
.pricing-card__unit { font-size: 14px; font-weight: 400; color: var(--color-text-muted); }
.pricing-card__features { margin-bottom: 16px; flex-grow: 1; }
.pricing-card__features li {
    font-size: 15px; color: var(--color-text-light); padding: 4px 0; padding-left: 20px;
    position: relative;
}
.pricing-card__features li::before { content: '✓'; position: absolute; left: 0; color: var(--color-green); font-weight: 700; }
.pricing-card__note { font-size: 14px; color: var(--color-text-muted); text-align: center; font-style: italic; margin-top: auto; }
.pricing__general-note { text-align: center; font-size: 14px; color: var(--color-text-muted); margin-top: 32px; }

/* ========== 7. 常见问题 ========== */
.faq { padding: 80px 0; background-color: var(--color-white); }
.faq__list { max-width: 720px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--color-border); padding: 20px 0; }
.faq__question {
    font-size: 17px; font-weight: 500; color: var(--color-primary);
    cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center;
}
.faq__item:hover .faq__question, .faq__question:hover {
    color: var(--color-accent); 
	font-weight: bold;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after { content: '+'; font-size: 22px; color: var(--color-accent); transition: transform var(--transition); }
details[open] .faq__question::after { content: '−'; }
.faq__answer { font-size: 15px; color: var(--color-text-light); line-height: 2.0; padding-top: 12px; }

/* ========== 页脚 ========== */
.footer { padding: 60px 0 30px; background-color: var(--color-primary); color: rgba(255,255,255,0.8); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__title { font-family: var(--font-heading); font-size: 18px; color: var(--color-white); margin-bottom: 16px; }
.footer__desc { font-size: 14px; line-height: 1.7; }
.footer__links li { margin-bottom: 10px; font-size: 14px; }
.footer__links a:hover { color: var(--color-accent); }
.footer__bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); text-align: center; font-size: 14px; opacity: 0.7; }
