:root {
  --brand: #ff3131;
  --brand-deep: #ec2626;
  --brand-dark: #b9121c;
  --brand-soft: #fff0f0;
  --ink: #20242c;
  --muted: #69717f;
  --line: #e8e1dc;
  --page: #f8f5f2;
  --white: #ffffff;
  --gold: #c89148;
  --green: #1f8f5f;
  --shadow: 0 18px 48px rgba(32, 36, 44, .10);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.wrap {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.98);
  box-shadow: 0 8px 24px rgba(32, 36, 44, .08);
}
.top-strip {
  border-bottom: 1px solid var(--line);
  background: #221b18;
  color: rgba(255,255,255,.82);
  font-size: 13px;
}
.top-strip-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}
.top-strip a:hover { color: var(--white); }
.nav-shell { background: var(--white); }
.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 310px;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(255,49,49,.14);
}
.brand span { display: flex; flex-direction: column; min-width: 0; }
.brand strong { font-size: 16px; line-height: 1.25; white-space: nowrap; }
.brand em { font-style: normal; color: var(--muted); font-size: 12px; line-height: 1.25; }
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.main-nav a {
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #464c57;
}
.main-nav a:hover,
.main-nav a.is-active {
  color: var(--brand);
  background: var(--brand-soft);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 12px;
  margin: 0 auto;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  position: relative;
}
.menu-toggle span::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  border-top: 2px solid var(--ink);
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  font-weight: 900;
  font-size: 14px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(255,49,49,.22);
}
.btn-primary:hover { background: var(--brand-deep); }
.btn-light { background: var(--white); color: var(--brand-deep); }
.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,.56); background: rgba(255,255,255,.08); }

.hero {
  height: min(620px, calc(100svh - 124px));
  min-height: 520px;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(62, 10, 11, .90), rgba(149, 18, 24, .70) 48%, rgba(28, 24, 20, .28)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.hero-content { padding: 56px 0; }
.eyebrow {
  margin: 0 0 14px;
  color: #ffe4e4;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.label {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 18px;
  width: min(760px, 100%);
  font-size: 52px;
  line-height: 1.12;
  font-weight: 900;
}
.hero-lead {
  width: min(700px, 100%);
  margin: 0 0 28px;
  color: rgba(255,255,255,.90);
  font-size: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-stats {
  margin: 0;
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  overflow: hidden;
}
.hero-stats div { padding: 16px 18px; border-right: 1px solid rgba(255,255,255,.18); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats dt { margin: 0; font-size: 22px; font-weight: 900; }
.hero-stats dd { margin: 2px 0 0; color: rgba(255,255,255,.78); font-size: 13px; }

.page-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(51, 14, 13, .88), rgba(166, 26, 30, .66), rgba(26, 23, 20, .24)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}
.page-hero.plain {
  color: var(--ink);
  background: linear-gradient(180deg, var(--brand-soft), #fff);
}
.page-hero h1 { margin: 0 0 12px; font-size: 42px; line-height: 1.18; }
.page-hero p:not(.eyebrow) { width: min(680px, 100%); margin: 0; color: rgba(255,255,255,.88); font-size: 17px; }
.page-hero.plain p:not(.eyebrow) { color: var(--muted); }

.section { padding: 86px 0; }
.section-tint { background: var(--page); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 56px;
  align-items: end;
  margin-bottom: 34px;
}
h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
}
.section-head p:not(.label),
.split-copy p,
.content-card p,
.feature-grid p,
.process-grid span,
.timeline p,
.case-card p,
.identity-panel dd,
.legal p {
  color: var(--muted);
}

.service-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-preview,
.content-card,
.feature-grid article,
.process-grid article,
.timeline article,
.case-card,
.identity-panel,
.inquiry-form,
.contact-cards article,
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(32,36,44,.06);
}
.service-preview { overflow: hidden; }
.service-preview img { width: 100%; height: 230px; object-fit: cover; }
.service-preview div { padding: 22px; }
.service-preview span,
.case-card span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}
.service-preview h3,
.content-card h3,
.feature-grid h3,
.process-grid strong,
.timeline h3,
.case-card h3,
.contact-cards h3 {
  margin: 6px 0 8px;
  font-size: 20px;
  line-height: 1.3;
}
.service-preview p,
.content-card p,
.feature-grid p,
.case-card p { margin: 0; }

.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 48px;
  align-items: center;
}
.split-copy h2 { margin-bottom: 16px; }
.split-copy p { margin: 0 0 18px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.process-grid article { padding: 22px; }
.process-grid span { display: block; font-size: 14px; }
.feature-grid,
.cards-3 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.section-action {
  margin-top: 26px;
}
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid article,
.content-card { padding: 22px; }
.card-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}

.cta-band {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: var(--white);
  padding: 58px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-inner h2 { max-width: 760px; }
.cta-inner .label { color: #ffe2e2; }

.timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}
.timeline article { padding: 20px; min-height: 210px; }
.timeline span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  font-weight: 900;
}

.photo-panel {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.photo-panel img { width: 100%; height: 480px; object-fit: cover; }
.check-list { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 22px; color: #3f4650; }
.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  position: absolute;
  left: 0;
  top: 10px;
}

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.filter-btn {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 8px 16px;
  font-weight: 900;
  color: var(--ink);
}
.filter-btn[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--white); }
.case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.case-card { overflow: hidden; }
.case-card.is-hidden { display: none; }
.case-card img { width: 100%; height: 210px; object-fit: cover; }
.case-card div { padding: 18px; }

.identity-panel { padding: 28px; }
.identity-panel h3 { margin: 0 0 16px; font-size: 24px; }
.identity-panel dl { margin: 0; display: grid; gap: 14px; }
.identity-panel div { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.identity-panel div:last-child { border-bottom: 0; padding-bottom: 0; }
.identity-panel dt { font-weight: 900; }
.identity-panel dd { margin: 3px 0 0; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 46px;
  align-items: start;
}
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.contact-cards article { padding: 20px; }
.contact-cards p { color: var(--muted); word-break: break-word; }
.copy-btn {
  min-height: 34px;
  border: 1px solid rgba(255,49,49,.24);
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}
.inquiry-form { padding: 26px; }
.inquiry-form h3 { margin: 0 0 16px; font-size: 24px; }
.inquiry-form label { display: grid; gap: 7px; margin-bottom: 12px; font-weight: 900; font-size: 13px; }
.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfb;
  padding: 11px 12px;
  outline: none;
  font-weight: 400;
}
.inquiry-form textarea { min-height: 116px; resize: vertical; }
.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255,49,49,.12);
}
.form-result {
  display: none;
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(31,143,95,.28);
  color: #145d3d;
  background: #edf8f1;
  white-space: pre-line;
  font-size: 14px;
}
.faq-list { display: grid; gap: 12px; }
.faq-item { overflow: hidden; }
.faq-question {
  width: 100%;
  min-height: 58px;
  border: 0;
  background: var(--white);
  padding: 16px 18px;
  text-align: left;
  font-weight: 900;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-question::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
.faq-item.is-open .faq-question::after { content: "-"; }
.faq-answer { display: none; padding: 0 18px 18px; color: var(--muted); }
.faq-item.is-open .faq-answer { display: block; }

.legal {
  max-width: 900px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.legal h2 { margin-top: 24px; font-size: 24px; }
.legal h2:first-child { margin-top: 0; }

.site-footer {
  background: #1d1917;
  color: rgba(255,255,255,.78);
  padding: 42px 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr 1fr;
  gap: 42px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); margin-bottom: 12px; }
.footer-brand img { width: 38px; height: 38px; border-radius: 8px; background: var(--white); }
.site-footer h3 { color: var(--white); margin: 0 0 12px; font-size: 16px; }
.site-footer a { display: block; margin: 6px 0; color: rgba(255,255,255,.78); }
.site-footer p { margin: 6px 0; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .brand { min-width: 260px; }
  .main-nav a { padding: 10px 9px; }
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feature-grid, .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout, .split, .section-head { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .wrap { width: min(100% - 32px, 1200px); }
  .top-strip-inner { justify-content: flex-start; flex-wrap: wrap; gap: 10px; padding: 6px 0; }
  .nav-inner { min-height: 66px; }
  .brand { min-width: 0; }
  .brand strong { white-space: normal; font-size: 14px; }
  .brand em { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 104px;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 10px;
  }
  .main-nav.is-open { display: flex; }
  .menu-toggle { display: block; }
  .nav-actions .btn { display: none; }
  .hero { height: 590px; min-height: 520px; }
  .hero h1 { font-size: 36px; }
  .hero-lead { font-size: 16px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .hero-stats div:last-child { border-bottom: 0; }
  .page-hero h1 { font-size: 32px; }
  .section { padding: 62px 0; }
  h2 { font-size: 28px; }
  .service-preview-grid, .cards-3, .process-grid, .timeline, .contact-cards, .footer-grid { grid-template-columns: 1fr; }
  .case-grid, .feature-grid { grid-template-columns: 1fr; }
  .photo-panel img { height: 320px; }
}
