/* ============================================
   鑫岸建材 · 国内修缮维修官网
   主样式表 - 营销转化导向
   配色：深蓝主色 #1a4d6d + 金色点缀 #c9924a
   ============================================ */

:root {
  --primary: #1a4d6d;
  --primary-dark: #133a52;
  --primary-light: #2a6a94;
  --accent: #c9924a;
  --accent-light: #e0aa60;
  --ink: #1a1a1a;
  --gray-900: #1f2937;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --danger: #dc2626;
  --success: #16a34a;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }
ul, ol { list-style: none; }

/* Container */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 900px; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; color: var(--ink); }
h1 { font-size: clamp(28px, 5vw, 48px); }
h2 { font-size: clamp(24px, 4vw, 36px); }
h3 { font-size: clamp(18px, 3vw, 24px); }
h4 { font-size: 18px; }
p { margin-bottom: 1em; color: var(--gray-700); }
.text-sm { font-size: 14px; }
.text-xs { font-size: 13px; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; font-size: 16px; font-weight: 600;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  transition: var(--transition); text-decoration: none; line-height: 1.2;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-light); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn--outline:hover { background: var(--white); color: var(--primary); }
.btn--dark { background: var(--primary); color: var(--white); }
.btn--dark:hover { background: var(--primary-dark); color: var(--white); }
.btn--lg { padding: 18px 40px; font-size: 18px; }
.btn--sm { padding: 10px 24px; font-size: 14px; }
.btn--full { width: 100%; }
.btn--tel {
  background: var(--success); color: var(--white); font-size: 20px; padding: 16px 32px;
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.header--scrolled { box-shadow: var(--shadow-md); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.header__logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0;
}
.header__logo-img { height: 40px; width: auto; }
.header__logo-text { font-size: 20px; font-weight: 700; color: var(--primary); }
.header__logo-text span { color: var(--accent); }
.header__nav { display: flex; align-items: center; gap: 8px; }
.header__nav-link {
  padding: 8px 14px; font-size: 15px; font-weight: 500; color: var(--gray-700);
  border-radius: var(--radius-sm); transition: var(--transition);
}
.header__nav-link:hover,
.header__nav-link--active { color: var(--primary); background: rgba(26,77,109,0.08); }
.header__cta { flex-shrink: 0; }
.header__menu-btn {
  display: none; width: 44px; height: 44px; border: none; background: none;
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.header__menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--transition); }

/* Mobile Nav */
.nav-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999;
}
.nav-mobile {
  display: none; position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
  background: var(--white); z-index: 1001; flex-direction: column; padding: 80px 24px 24px;
  box-shadow: var(--shadow-lg); transition: right 0.3s ease; overflow-y: auto;
}
.nav-mobile.is-open { right: 0; }
.nav-mobile .header__nav-link {
  display: block; padding: 14px 16px; font-size: 16px; border-bottom: 1px solid var(--gray-100);
}
.nav-mobile .btn { margin-top: 16px; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white); overflow: hidden; margin-top: 72px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__content { position: relative; z-index: 2; max-width: 680px; }
.hero__badge {
  display: inline-block; background: rgba(201,146,74,0.2); color: var(--accent);
  padding: 6px 16px; border-radius: 20px; font-size: 14px; font-weight: 600;
  letter-spacing: 1px; margin-bottom: 20px; border: 1px solid rgba(201,146,74,0.3);
}
.hero__title { font-size: clamp(32px, 6vw, 56px); color: var(--white); margin-bottom: 20px; line-height: 1.2; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__desc { font-size: 18px; opacity: 0.9; margin-bottom: 32px; line-height: 1.7; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero__tel-display {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  padding: 16px 24px; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.15);
}
.hero__tel-number { font-size: 28px; font-weight: 700; color: var(--accent); letter-spacing: 1px; }
.hero__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero__stat { text-align: center; }
.hero__stat-num { font-size: 36px; font-weight: 700; color: var(--accent); }
.hero__stat-label { font-size: 14px; opacity: 0.75; }
.hero__bg-shape {
  position: absolute; right: -100px; top: 50%; transform: translateY(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,146,74,0.15) 0%, transparent 70%);
  z-index: 1;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section { padding: 80px 0; }
.section--gray { background: var(--gray-50); }
.section--primary { background: var(--primary); color: var(--white); }
.section--dark { background: var(--gray-900); color: var(--white); }
.section__header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section__label {
  display: inline-block; color: var(--accent); font-size: 14px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.section__title { margin-bottom: 16px; }
.section--primary .section__title,
.section--dark .section__title { color: var(--white); }
.section__desc { font-size: 17px; opacity: 0.8; }
.section--primary .section__desc { color: rgba(255,255,255,0.85); }

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--gray-100);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card__icon {
  width: 64px; height: 64px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700; margin-bottom: 16px;
}
.service-card__icon--gold { background: linear-gradient(135deg, #b8860b, var(--accent)); }
.service-card__title { font-size: 20px; margin-bottom: 10px; }
.service-card__desc { font-size: 15px; color: var(--gray-500); margin-bottom: 16px; }
.service-card__price {
  display: inline-block; background: var(--gray-50); color: var(--primary);
  padding: 6px 14px; border-radius: 20px; font-size: 14px; font-weight: 600;
}
.service-card__body { padding: 28px 24px; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 600; font-size: 14px; margin-top: 12px;
}
.service-card__link:hover { gap: 10px; }

/* ============================================
   PAIN POINTS
   ============================================ */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pain-card {
  background: var(--white); border-radius: var(--radius-md); padding: 24px;
  border-left: 4px solid var(--danger); box-shadow: var(--shadow-sm);
}
.pain-card__icon { font-size: 32px; margin-bottom: 12px; }
.pain-card__title { font-size: 17px; margin-bottom: 8px; }
.pain-card__text { font-size: 14px; color: var(--gray-500); margin: 0; }

/* ============================================
   ADVANTAGES / WHY US
   ============================================ */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.adv-item {
  text-align: center; padding: 32px 20px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--gray-100); transition: var(--transition);
}
.adv-item:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.adv-item__num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; margin: 0 auto 16px;
}
.adv-item__num--gold { background: linear-gradient(135deg, #b8860b, var(--accent)); }
.adv-item__title { font-size: 17px; margin-bottom: 8px; }
.adv-item__text { font-size: 14px; color: var(--gray-500); margin: 0; }

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; counter-reset: step; }
.process-step {
  flex: 1; min-width: 150px; max-width: 200px; text-align: center;
  padding: 24px 16px; position: relative;
}
.process-step::after {
  content: ''; position: absolute; top: 40px; right: -12px;
  width: 24px; height: 2px; background: var(--gray-300);
}
.process-step:last-child::after { display: none; }
.process-step__num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; margin: 0 auto 16px;
  counter-increment: step;
}
.process-step:nth-child(even) .process-step__num { background: var(--accent); }
.process-step__title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.process-step__text { font-size: 13px; color: var(--gray-500); }

/* ============================================
   CASES / PORTFOLIO
   ============================================ */
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.case-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: var(--transition); border: 1px solid var(--gray-100);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card__image {
  height: 220px; background: linear-gradient(135deg, var(--gray-200), var(--gray-100));
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500); font-size: 48px;
}
.case-card__body { padding: 20px; }
.case-card__tag {
  display: inline-block; background: rgba(26,77,109,0.08); color: var(--primary);
  padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; margin-bottom: 10px;
}
.case-card__title { font-size: 18px; margin-bottom: 8px; }
.case-card__meta { font-size: 14px; color: var(--gray-500); }
.case-card__meta span { margin-right: 16px; }

/* Placeholder for case images */
.case-placeholder {
  background: linear-gradient(135deg, #e8f4fd 0%, #d1e9f7 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--primary); font-size: 14px;
}
.case-placeholder--before { background: linear-gradient(135deg, #ffe4e4 0%, #fccaca 100%); color: var(--danger); }
.case-placeholder--after { background: linear-gradient(135deg, #e4f7e4 0%, #cafcca 100%); color: var(--success); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white); text-align: center; padding: 60px 20px; border-radius: var(--radius-xl);
}
.cta-banner__title { font-size: clamp(24px, 4vw, 36px); color: var(--white); margin-bottom: 12px; }
.cta-banner__desc { font-size: 17px; opacity: 0.9; margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner__tel { font-size: clamp(28px, 5vw, 42px); font-weight: 700; color: var(--accent); }

/* ============================================
   COMPARISON TABLE
   ============================================ */
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th {
  background: var(--primary); color: var(--white); padding: 14px 18px;
  text-align: left; font-weight: 600;
}
.compare-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.compare-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.compare-table td {
  padding: 14px 18px; border-bottom: 1px solid var(--gray-100); color: var(--gray-700);
}
.compare-table tr:nth-child(even) td { background: var(--gray-50); }
.compare-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.compare-table .check { color: var(--success); font-weight: 700; }
.compare-table .cross { color: var(--danger); }

/* ============================================
   CONTACT / FORM
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 600; color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm); font-size: 15px; font-family: inherit;
  transition: var(--transition); background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,77,109,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: rgba(26,77,109,0.08); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-info-label { font-size: 14px; color: var(--gray-500); margin-bottom: 2px; }
.contact-info-value { font-size: 16px; font-weight: 600; color: var(--ink); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-900); color: rgba(255,255,255,0.7); padding: 48px 0 24px;
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer__brand p { font-size: 14px; margin-top: 12px; line-height: 1.7; }
.footer__col-title { color: var(--white); font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: rgba(255,255,255,0.65); font-size: 14px; transition: var(--transition); }
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px;
}

/* ============================================
   FLOATING TEL BUTTON (Mobile)
   ============================================ */
.floating-tel {
  display: none; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 998; background: var(--success); color: var(--white);
  padding: 14px 32px; border-radius: 30px; font-size: 18px; font-weight: 700;
  box-shadow: 0 4px 20px rgba(22,163,74,0.4); text-decoration: none;
  animation: pulse-green 2s infinite; white-space: nowrap;
}
.floating-tel:hover { color: var(--white); transform: translateX(-50%) translateY(-2px); }

/* ============================================
   PAGE HERO (Sub pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white); padding: 120px 0 60px; text-align: center;
}
.page-hero__title { color: var(--white); margin-bottom: 12px; }
.page-hero__desc { font-size: 17px; opacity: 0.85; max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; margin-top: 20px; font-size: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--accent); }

/* ============================================
   CONTENT PAGES
   ============================================ */
.content-body { max-width: 800px; margin: 0 auto; padding: 48px 20px; }
.content-body h2 { margin-top: 36px; margin-bottom: 12px; color: var(--primary); }
.content-body h3 { margin-top: 28px; margin-bottom: 10px; }
.content-body p { margin-bottom: 16px; line-height: 1.8; }
.content-body ul { margin: 16px 0; padding-left: 24px; }
.content-body ul li { list-style: disc; margin-bottom: 8px; color: var(--gray-700); }
.content-body strong { color: var(--ink); }

/* Price card for service pages */
.price-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white); border-radius: var(--radius-lg); padding: 32px; text-align: center;
  margin: 32px 0;
}
.price-card__label { font-size: 14px; opacity: 0.8; margin-bottom: 8px; }
.price-card__price { font-size: 42px; font-weight: 700; color: var(--accent); }
.price-card__note { font-size: 13px; opacity: 0.7; margin-top: 8px; }

/* Feature list */
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.feature-item {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px;
  background: var(--gray-50); border-radius: var(--radius-md);
}
.feature-item__icon {
  width: 28px; height: 28px; border-radius: 50%; background: var(--success);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 14px; font-weight: 700;
}
.feature-item__text { font-size: 14px; color: var(--gray-700); }

/* FAQ Section */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-question {
  width: 100%; padding: 20px 0; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-size: 16px; font-weight: 600; color: var(--ink);
  text-align: left; font-family: inherit;
}
.faq-question::after { content: '+'; font-size: 24px; color: var(--primary); transition: var(--transition); }
.faq-item.is-open .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.faq-answer-inner { padding: 0 0 20px; color: var(--gray-500); line-height: 1.7; }
.faq-item.is-open .faq-answer { max-height: 300px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__bg-shape { width: 400px; height: 400px; right: -150px; }
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .header__menu-btn { display: flex; }
  .nav-overlay.is-active { display: block; }
  .nav-mobile { display: flex; }
  .hero { min-height: auto; padding: 80px 0 60px; }
  .hero__tel-display { flex-direction: column; text-align: center; }
  .hero__stats { justify-content: center; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .floating-tel { display: flex; }
  .process-steps { gap: 16px; }
  .process-step::after { display: none; }
  .feature-list { grid-template-columns: 1fr; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
  .section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__title { font-size: 28px; }
  .hero__desc { font-size: 16px; }
  .hero__tel-number { font-size: 22px; }
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .btn--lg { padding: 14px 28px; font-size: 16px; }
}

/* Utility */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================
   RELATED SERVICES (内部链接推荐)
   ============================================ */
.related-services {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin: 36px 0;
}
.related-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.related-service-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--ink);
  transition: all 0.25s ease;
}
.related-service-link:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.related-service-link:hover .related-service-link__text strong {
  color: var(--primary);
}
.related-service-link__icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
}
.related-service-link__text {
  flex: 1;
  min-width: 0;
}
.related-service-link__text strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  transition: color 0.25s ease;
}
.related-service-link__text small {
  display: block;
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}
.related-service-link__arrow {
  font-size: 18px;
  color: var(--gray-300);
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.related-service-link:hover .related-service-link__arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 997;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26,77,109,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(201,146,74,0.4);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 80px; /* above floating-tel */
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
  .related-services__grid {
    grid-template-columns: 1fr;
  }
}
