/* ==========================================================================
   WEIPUTE AUTO SERVICE - core stylesheet
   Palette: graphite / paper / safety orange / workshop teal
   ========================================================================== */

:root {
  --ink: #12161a;
  --graphite: #1c2229;
  --graphite-2: #262e37;
  --steel: #59636f;
  --steel-light: #8a949f;
  --paper: #f4f6f8;
  --paper-2: #e9edf1;
  --white: #ffffff;
  --orange: #ff6a13;
  --orange-dark: #e2550a;
  --orange-soft: #fff1e7;
  --teal: #0d8a80;
  --teal-soft: #e6f4f2;
  --line: #dfe4e9;
  --line-dark: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 1px 2px rgba(18, 22, 26, 0.06), 0 4px 12px rgba(18, 22, 26, 0.06);
  --shadow-md: 0 10px 30px rgba(18, 22, 26, 0.12);
  --shadow-lg: 0 24px 60px rgba(18, 22, 26, 0.18);
  --radius: 8px;
  --container: 1240px;
  --header-h: 72px;
  --font: "Inter", "SF Pro Text", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Roboto Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.25;
  margin: 0 0 0.6em;
  letter-spacing: 0;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-lg {
  width: 28px;
  height: 28px;
}

/* ---------- utility bar ---------- */

.utility-bar {
  background: var(--graphite);
  color: #cfd6dd;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line-dark);
}

.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding-block: 4px;
}

.utility-list {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.utility-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.utility-list .icon {
  width: 15px;
  height: 15px;
  color: var(--orange);
}

.utility-link {
  color: var(--white);
  font-weight: 600;
}

.utility-link:hover {
  color: var(--orange);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
}

.brand-mark .icon {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: auto -14px -20px auto;
  width: 46px;
  height: 46px;
  background: var(--orange);
  transform: rotate(24deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-sub {
  font-size: 11px;
  color: var(--steel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 10px 13px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--graphite-2);
}

.main-nav a:hover {
  background: var(--paper);
  color: var(--orange-dark);
}

.main-nav a[aria-current="page"] {
  color: var(--orange-dark);
  background: var(--orange-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  margin-right: 4px;
}

.header-phone small {
  font-size: 11.5px;
  color: var(--steel);
}

.header-phone strong {
  font-size: 16px;
  font-family: var(--mono);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease,
    color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(255, 106, 19, 0.32);
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--graphite-2);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 16px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 690px;
  max-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(10, 13, 16, 0.94) 0%,
      rgba(10, 13, 16, 0.78) 46%,
      rgba(10, 13, 16, 0.34) 100%
    ),
    linear-gradient(0deg, rgba(10, 13, 16, 0.72) 0%, rgba(10, 13, 16, 0) 42%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 56px;
  align-items: center;
  padding-block: 84px 72px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffd9bf;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-badge .icon {
  width: 16px;
  height: 16px;
  color: var(--orange);
}

.hero h1 {
  font-size: 52px;
  line-height: 1.12;
  margin-bottom: 20px;
  max-width: 15em;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
  display: block;
}

.hero-lead {
  font-size: 18px;
  color: #dde3e9;
  max-width: 34em;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  color: #d5dce3;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points .icon {
  width: 17px;
  height: 17px;
  color: var(--orange);
}

/* hero answer panel = GEO summary card */

.hero-panel {
  background: rgba(245, 247, 249, 0.97);
  color: var(--ink);
  border-radius: 8px;
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--orange);
}

.hero-panel h2 {
  font-size: 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-panel h2 .icon {
  color: var(--teal);
}

.hero-panel p {
  font-size: 14.5px;
  color: #3d4650;
  margin-bottom: 16px;
}

.fact-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.fact-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.fact-list dt,
.fact-list .fact-key {
  color: var(--steel);
}

.fact-list .fact-val {
  font-weight: 700;
  text-align: right;
}

/* ---------- trust strip ---------- */

.trust-strip {
  background: var(--graphite);
  color: var(--white);
  border-bottom: 4px solid var(--orange);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 22px 24px;
  border-left: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-item:first-child {
  border-left: 0;
}

.trust-item .icon {
  color: var(--orange);
  width: 26px;
  height: 26px;
}

.trust-num {
  font-size: 22px;
  font-weight: 800;
  font-family: var(--mono);
  line-height: 1.1;
}

.trust-label {
  font-size: 13px;
  color: #b9c2cb;
}

/* ---------- generic section ---------- */

.section {
  padding-block: 78px;
}

.section-tight {
  padding-block: 56px;
}

.section-alt {
  background: var(--paper);
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-head {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.section-dark .eyebrow {
  color: #7fd8d0;
}

.section h2 {
  font-size: 34px;
}

.section-head p {
  color: var(--steel);
  font-size: 17px;
  margin-bottom: 0;
}

.section-dark .section-head p {
  color: #b9c2cb;
}

/* ---------- GEO answer block ---------- */

.geo-answer {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}

.geo-answer h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.geo-answer p {
  margin-bottom: 10px;
  color: #333b44;
}

.geo-answer p:last-child {
  margin-bottom: 0;
}

.geo-answer strong {
  color: var(--ink);
}

.geo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: #0a6b63;
}

.chip-orange {
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.chip-mono {
  font-family: var(--mono);
  background: var(--paper-2);
  color: var(--graphite-2);
}

/* ---------- service cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #c9d0d8;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.card p {
  color: var(--steel);
  font-size: 14.5px;
  margin-bottom: 16px;
}

.card-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.card-list li {
  display: flex;
  gap: 9px;
  padding: 5px 0;
  color: #39424c;
}

.card-list .icon {
  width: 16px;
  height: 16px;
  color: var(--teal);
  margin-top: 5px;
}

.card-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-tag {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 17px;
}

.price-tag small {
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--steel);
}

.card-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.15s ease;
}

.card-link:hover .icon {
  transform: translateX(3px);
}

/* ---------- price table ---------- */

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 15px;
}

caption {
  caption-side: top;
  text-align: left;
  padding: 18px 22px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

th,
td {
  padding: 14px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: var(--graphite);
  color: var(--white);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: #fafbfc;
}

td .price {
  font-family: var(--mono);
  font-weight: 700;
  white-space: nowrap;
}

.table-note {
  font-size: 13px;
  color: var(--steel);
  margin-top: 12px;
}

/* ---------- process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 20px;
}

.process li::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-dark);
  display: block;
  margin-bottom: 12px;
}

.process h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.process p {
  font-size: 14px;
  color: var(--steel);
  margin: 0;
}

/* ---------- brand history ---------- */

.history-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.history-item {
  position: relative;
  min-height: 220px;
  padding: 24px 22px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.history-item::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 34px;
  height: 34px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  opacity: 0.22;
}

.history-year {
  display: inline-block;
  color: var(--orange-dark);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.history-item h3 {
  font-size: 18px;
  margin-bottom: 9px;
}

.history-item p {
  margin: 0;
  color: var(--steel);
  font-size: 14.5px;
}

.history-note {
  margin-top: 22px;
}

/* ---------- split feature ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split > *,
.coverage > * {
  min-width: 0;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 8px;
}

.media-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: var(--white);
  border-radius: 8px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--orange);
  max-width: 260px;
}

.media-badge strong {
  display: block;
  font-size: 17px;
}

.media-badge span {
  font-size: 13px;
  color: var(--steel);
}

.media-collage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, 220px);
  gap: 12px;
  position: relative;
}

.media-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.media-collage img:first-child {
  grid-row: 1 / 3;
}

.media-collage .media-badge {
  left: 20px;
  bottom: 20px;
}

.feature-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.feature-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.feature-list .icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  border-radius: 8px;
}

.feature-list h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.feature-list p {
  font-size: 14.5px;
  color: var(--steel);
  margin: 0;
}

/* ---------- coverage / map ---------- */

.coverage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.area-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  background: var(--white);
}

.area-item strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.area-item .icon {
  width: 17px;
  height: 17px;
  color: var(--orange);
}

.area-item span {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--steel);
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.map-caption {
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--steel);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.map-caption a {
  color: var(--orange-dark);
  font-weight: 700;
  margin-inline: 4px;
  white-space: nowrap;
}

.map-caption a:hover {
  text-decoration: underline;
}

.address-block {
  background: var(--graphite);
  color: var(--white);
  border-radius: 8px;
  padding: 20px 22px;
  margin-top: 16px;
}

.address-block h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--white);
}

.address-block address {
  font-style: normal;
  color: #c8d0d8;
  font-size: 14.5px;
}

.address-block .tel-link {
  color: var(--orange);
  font-family: var(--mono);
  font-weight: 700;
}

/* ---------- reviews ---------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.stars {
  display: flex;
  gap: 3px;
  color: #f5a623;
  margin-bottom: 14px;
}

.stars .icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: none;
}

.review blockquote {
  margin: 0 0 18px;
  font-size: 15px;
  color: #333b44;
}

.review-author {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.review-author strong {
  display: block;
}

.review-author span {
  color: var(--steel);
  font-size: 13px;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 900px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 44px 20px 0;
  font-weight: 700;
  font-size: 17px;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 500;
  color: var(--orange);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "-";
}

.faq .faq-body {
  padding: 0 40px 22px 0;
  color: #3d4650;
  font-size: 15.5px;
}

.faq .faq-body p:last-child {
  margin-bottom: 0;
}

/* ---------- booking form ---------- */

.booking {
  background: var(--graphite);
  color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  box-shadow: var(--shadow-lg);
}

.booking-aside {
  padding: 42px 38px;
  background: linear-gradient(160deg, rgba(255, 106, 19, 0.16), rgba(13, 138, 128, 0.12)),
    var(--ink);
  border-right: 1px solid var(--line-dark);
}

.booking-aside h2 {
  font-size: 27px;
  color: var(--white);
}

.booking-aside p {
  color: #bcc5ce;
  font-size: 15px;
}

.booking-contact {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  font-size: 14.5px;
}

.booking-contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: #d7dee5;
}

.booking-contact .icon {
  color: var(--orange);
  width: 19px;
  height: 19px;
  margin-top: 3px;
}

.booking-form {
  padding: 36px 38px 40px;
  background: var(--white);
  color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.field label .req {
  color: var(--orange-dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 19, 0.14);
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.field-error {
  display: none;
  color: #c0392b;
  font-size: 13px;
  margin-top: 5px;
}

.field.has-error input,
.field.has-error select {
  border-color: #c0392b;
}

.field.has-error .field-error {
  display: block;
}

.form-consent {
  font-size: 12.5px;
  color: var(--steel);
  margin: 4px 0 16px;
}

.form-result {
  display: none;
  margin-top: 16px;
  border: 1px solid #bfe3df;
  background: var(--teal-soft);
  color: #0a5f58;
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 14.5px;
}

.form-result.is-visible {
  display: block;
}

.form-result strong {
  display: block;
  margin-bottom: 4px;
}

/* ---------- inline CTA band ---------- */

.cta-band {
  background: var(--orange);
  color: var(--white);
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 34px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: 25px;
  margin-bottom: 4px;
  color: var(--white);
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.cta-band .btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.75);
}

/* ---------- page hero (sub pages) ---------- */

.page-hero {
  background: var(--ink);
  color: var(--white);
  padding-block: 62px 56px;
  position: relative;
  overflow: hidden;
}

.page-hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 13, 16, 0.96) 0%, rgba(10, 13, 16, 0.82) 58%, rgba(10, 13, 16, 0.56) 100%),
    var(--page-hero-image) center / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border: 46px solid rgba(255, 106, 19, 0.14);
  border-radius: 50%;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: 13.5px;
  color: #98a2ad;
  margin-bottom: 18px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li::after {
  content: "/";
  margin-left: 8px;
  color: #5c6670;
}

.breadcrumb li:last-child::after {
  display: none;
}

.breadcrumb a:hover {
  color: var(--orange);
}

.page-hero h1 {
  font-size: 42px;
  margin-bottom: 14px;
  max-width: 20em;
}

.page-hero p {
  max-width: 62em;
  color: #c6ced6;
  font-size: 17px;
  margin-bottom: 0;
}

/* ---------- service detail rows ---------- */

.service-detail {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 34px;
  padding-block: 36px;
  border-bottom: 1px solid var(--line);
}

.service-detail:first-of-type {
  padding-top: 0;
}

.service-detail:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.service-detail h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.service-detail .detail-lead {
  color: var(--steel);
  font-size: 15px;
  margin-bottom: 0;
}

.detail-meta {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.detail-cols h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 8px;
}

.detail-cols ul {
  margin: 0;
  padding-left: 1.1em;
  font-size: 14.5px;
  color: #39424c;
}

.detail-cols li {
  margin-bottom: 5px;
}

/* ---------- callout ---------- */

.callout {
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 15px;
  color: #103f3b;
}

.callout strong {
  color: #0a302d;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: #b6bfc8;
  padding-top: 58px;
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 15.5px;
  margin-bottom: 14px;
}

.site-footer .brand-name {
  color: var(--white);
}

.site-footer .brand-sub {
  color: #8e99a4;
}

.site-footer .brand {
  margin-bottom: 16px;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-nap {
  font-style: normal;
  display: grid;
  gap: 10px;
}

.footer-nap a {
  color: var(--white);
  font-weight: 600;
}

.footer-nap a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 20px 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #858f99;
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .card:hover {
    transform: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero h1 {
    font-size: 42px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 64px 56px;
  }

  .hero {
    max-height: none;
  }

  .hero-panel {
    max-width: 620px;
  }

  .card-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .history-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process {
    grid-template-columns: repeat(3, 1fr);
  }

  .booking {
    grid-template-columns: 1fr;
  }

  .booking-aside {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .coverage,
  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split-media img {
    height: 380px;
  }

  .media-collage {
    grid-template-rows: repeat(2, 190px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 20px 20px;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .main-nav a {
    padding: 13px 12px;
    font-size: 16px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-phone {
    display: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(3) {
    border-left: 0;
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15.5px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .utility-list li:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero h1 {
    font-size: 33px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .media-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px;
  }

  .page-hero h1 {
    font-size: 31px;
  }

  .section {
    padding-block: 56px;
  }

  .section h2 {
    font-size: 26px;
  }

  .section-head p {
    font-size: 15.5px;
  }

  .card-grid,
  .review-grid,
  .history-grid,
  .process,
  .area-grid,
  .detail-cols,
  .form-row {
    grid-template-columns: 1fr;
  }

  .process li {
    padding: 20px;
  }

  .split-media img {
    height: 280px;
  }

  .map-frame iframe {
    height: 300px;
  }

  .booking-aside,
  .booking-form {
    padding: 28px 22px;
  }

  .cta-band .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* ==========================================================================
   施工案例列表与详情
   ========================================================================== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.filter-chip {
  padding: 9px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--graphite-2);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.filter-chip:hover {
  border-color: var(--ink);
}

.filter-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.case-cover {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}

.case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.case-card:hover .case-cover img {
  transform: scale(1.03);
}

.case-body {
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--steel);
  margin-bottom: 10px;
}

.case-meta span {
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.case-body h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.case-body h2 a:hover {
  color: var(--orange-dark);
}

.case-body p {
  font-size: 14.5px;
  color: var(--steel);
  margin-bottom: 18px;
}

.case-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--steel);
}

.cases-empty {
  text-align: center;
  color: var(--steel);
  padding: 40px 0;
}

/* ---------- 案例详情 ---------- */

.case-hero {
  background: var(--ink);
  color: var(--white);
  padding-block: 52px 48px;
}

.case-hero .breadcrumb {
  margin-bottom: 20px;
}

.case-hero-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.case-hero h1 {
  font-size: 38px;
  max-width: 22em;
  margin-bottom: 16px;
}

.case-lead {
  max-width: 60em;
  color: #c6ced6;
  font-size: 16.5px;
  margin-bottom: 28px;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  overflow: hidden;
}

.case-facts li {
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 16px;
}

.case-facts span {
  display: block;
  font-size: 12.5px;
  color: #98a2ad;
  margin-bottom: 4px;
}

.case-facts strong {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--white);
  word-break: break-word;
}

.case-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

.case-content h2 {
  font-size: 26px;
  margin-top: 34px;
}

.case-content h2:first-child {
  margin-top: 0;
}

.case-content h3 {
  font-size: 19px;
  margin-top: 26px;
}

.case-content p,
.case-content li {
  color: #333b44;
  font-size: 16px;
}

.case-content ul {
  padding-left: 1.3em;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0 10px;
}

.case-figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-2);
}

.case-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-video {
  margin: 18px 0;
}

.case-video video {
  width: 100%;
  border-radius: 8px;
  background: #000;
}

.case-video figcaption {
  font-size: 13.5px;
  color: var(--steel);
  margin-top: 8px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.case-side {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 18px;
}

.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.side-card h3 {
  font-size: 17px;
  margin-bottom: 14px;
}

.side-card .fact-list {
  margin-bottom: 16px;
}

.side-card .footer-links a {
  font-size: 14.5px;
  color: var(--graphite-2);
}

.side-card .footer-links a:hover {
  color: var(--orange-dark);
}

@media (max-width: 1080px) {
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-layout {
    grid-template-columns: 1fr;
  }

  .case-side {
    position: static;
  }

  .case-facts {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .case-grid,
  .case-gallery {
    grid-template-columns: 1fr;
  }

  .case-hero h1 {
    font-size: 27px;
  }

  .case-facts {
    grid-template-columns: 1fr 1fr;
  }

  .case-hero-actions .btn {
    width: 100%;
  }
}
