*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  color: #222;
  background: #fff;
  font-size: 16px;
  line-height: 1.75;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip:focus {
  left: 12px;
  z-index: 50;
  background: #fff;
  padding: 8px 12px;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-top: 3px solid #ff5000;
  border-bottom: 1px solid #ececec;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 12px;
  flex-wrap: wrap;
}

.logo {
  max-width: 100%;
}

.logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 170px;
}

@media (min-width: 900px) {
  .logo img {
    height: 170px;
    max-height: none;
  }
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #222;
}

.nav {
  display: none;
  width: 100%;
  flex-direction: column;
  padding-bottom: 8px;
}

.nav.open { display: flex; }

.nav a {
  padding: 12px 0;
  border-top: 1px solid #f2f2f2;
}

.nav a.active,
.nav-phone { color: #ff5000; font-weight: 600; }

.hero { background: #141414; color: #fff; position: relative; }

.hero-slide {
  display: none;
  position: relative;
  min-height: 520px;
  background: #141414 center / cover no-repeat;
  align-items: center;
}

.hero-slide.active { display: flex; }

.hero-slide.is-fallback {
  background-image: linear-gradient(105deg, #141414 0%, #242424 52%, #4a2418 130%);
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .28) 72%, rgba(0, 0, 0, .18));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #ffb088;
  font-size: 14px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.28;
  font-weight: 600;
}

.hero .lead {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .92);
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.hero-dot {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero-dot::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 16px auto 0;
  background: rgba(255, 255, 255, .55);
  transform: rotate(45deg);
}

.hero-dot.active::before { background: #ff5000; }

.btn {
  display: inline-block;
  background: #ff5000;
  color: #fff;
  border: 0;
  padding: 12px 22px;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
}

.btn:hover { background: #e24700; }

.section { padding: 56px 0; }

.section.alt { background: #f6f6f6; }

.section-head { margin-bottom: 26px; max-width: 680px; }

.section-head h2,
.article > h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 600;
}

.section-head h2::before,
.article > h2::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  background: #ff5000;
  transform: rotate(45deg);
}

.section-head p { margin: 0; color: #444; }

.section-more { margin: 22px 0 0; }

.card-grid { display: grid; gap: 18px; }

.card {
  background: #fff;
  border: 1px solid #ececec;
  display: flex;
  flex-direction: column;
}

.card-cover {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f3f3;
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-mark {
  width: 48px;
  height: 48px;
  margin: 22px 0 0 22px;
  background: #ff5000;
  color: #fff;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
}

.card-mark span {
  transform: rotate(-45deg);
  font-weight: 600;
}

.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card h3 { margin: 0; font-size: 20px; line-height: 1.4; }

.card p { margin: 0; color: #444; flex: 1; }

.text-link { color: #e24700; font-weight: 600; }

.text-link:hover { text-decoration: underline; }

.tag {
  display: inline-block;
  width: fit-content;
  background: #fff3ed;
  color: #e24700;
  padding: 2px 8px;
  font-size: 13px;
}

.split { display: grid; gap: 28px; }

.info-panel {
  background: #1a1a1a;
  color: #fff;
  padding: 28px;
}

.info-panel h2 {
  margin: 0 0 12px;
  font-size: 20px;
  color: #fff;
}

.info-panel p { margin: 0 0 14px; }

.info-panel a { color: #fff; }

.form-card {
  background: #fff;
  border: 1px solid #ececec;
  padding: 20px;
}

.form { display: grid; gap: 14px; }

.form-row { display: grid; gap: 14px; }

label { display: grid; gap: 6px; font-size: 14px; }

input,
textarea,
select {
  width: 100%;
  border: 1px solid #ddd;
  background: #fff;
  padding: 10px 12px;
  border-radius: 0;
}

textarea { min-height: 140px; resize: vertical; }

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(255, 80, 0, .2);
  border-color: #ff5000;
}

.req { color: #ff5000; }

.hint { color: #777; font-size: 13px; margin: 6px 0 0; }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.page-banner {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #1c1c1c center / cover no-repeat;
}

.page-banner.is-fallback {
  background-image: linear-gradient(100deg, #171717 0%, #2a2a2a 62%, #5a2a16 140%);
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .62));
}

.page-banner-inner {
  position: relative;
  z-index: 1;
  padding: 48px 0 32px;
}

.page-banner h1 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.3;
}

.page-banner p {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, .92);
}

.page { padding: 36px 0 64px; }

.article { width: min(800px, 100%); }

.breadcrumb { margin: 0 0 18px; color: #666; font-size: 14px; }

.breadcrumb a:hover { color: #e24700; }

.content p { margin: 0 0 12px; }

.content ul,
.content ol { margin: 0 0 14px; padding-left: 1.2em; }

.content li { margin: 4px 0; }

.intro { margin-bottom: 28px; max-width: 760px; }

.muted { color: #666; }

.alert {
  background: #f3faf4;
  border: 1px solid #cfe8d4;
  color: #146c2e;
  padding: 12px 14px;
  margin: 16px 0;
}

.alert-error {
  background: #fff6f3;
  border-color: #ffd4c8;
  color: #9a3412;
}

.contact-lines p { margin: 0 0 14px; white-space: pre-line; }

.site-footer {
  background: #141414;
  color: #d7d7d7;
  border-top: 3px solid #ff5000;
  padding-top: 48px;
}

.footer-grid { display: grid; gap: 28px; }

.footer-name {
  display: block;
  color: #fff;
  font-size: 18px;
  margin-bottom: 8px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
}

.site-footer a:hover { color: #ffb088; }

.footer-nav { display: grid; gap: 8px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  border-top: 1px solid #2a2a2a;
  margin-top: 28px;
  padding: 16px 0 20px;
  font-size: 13px;
  color: #aaa;
}

@media (min-width: 700px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .container { width: min(1120px, calc(100% - 48px)); }

  .header-inner { flex-wrap: nowrap; }

  .nav {
    display: flex;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 0;
  }

  .nav a { border: 0; padding: 8px 12px; }

  .nav-toggle { display: none; }

  .hero-slide { min-height: 600px; }

  .hero h1 { font-size: 46px; }

  .section { padding: 80px 0; }

  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }

  .split { grid-template-columns: 1.15fr .85fr; align-items: start; gap: 48px; }

  #contact .split { grid-template-columns: .75fr 1.25fr; }

  .page-banner { min-height: 300px; }
}
