:root {
  color-scheme: light;
  --primary-red: #d7000f;
  --primary-red-hover: #b9000d;
  --primary-red-soft: #faeeee;
  --surface-white: #ffffff;
  --surface-soft: #fbfbfb;
  --surface-filter: #fdf2f2;
  --text-main: #101010;
  --text-heading: #0e232d;
  --text-body: #666666;
  --text-muted: #999999;
  --line-soft: #f8f8f8;
  --card-shadow: 0 18px 36px rgba(0, 0, 0, 0.03);
  --font-base: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --font-english: "Outfit", "Microsoft YaHei", Arial, sans-serif;
  --container-wide: min(1640px, calc(100vw - 280px));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--surface-white);
  color: var(--text-main);
  font-family: var(--font-base);
}

button {
  font-family: inherit;
}

.outlet-page {
  width: 100%;
  overflow: hidden;
  background: var(--surface-white);
}

.outlet-page::after {
  content: "";
  display: block;
  height: 30px;
  background: var(--surface-white);
}

.outlet-page .motion-page-fade,
.outlet-page .motion-soft-reveal,
.outlet-page .motion-media-reveal {
  animation: none;
}

.outlet-page a {
  color: inherit;
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.outlet-container {
  width: var(--container-wide);
  margin: 0 auto;
}

.support-hero {
  height: 546px;
  background: var(--surface-soft);
}

.support-hero__inner {
  position: relative;
  height: 100%;
}

.support-hero__heading {
  position: absolute;
  top: 104px;
  left: 19px;
}

.section-kicker {
  margin: 0 0 25px;
  color: var(--primary-red);
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.support-hero h1 {
  margin: 0;
  color: var(--text-main);
  font-size: 68px;
  line-height: 1.32;
  font-weight: 400;
  letter-spacing: 0;
}

.support-hero__copy {
  position: absolute;
  top: 177px;
  right: -19px;
  width: 668px;
  color: var(--text-body);
  font-size: 16px;
  line-height: 33px;
  font-weight: 400;
  letter-spacing: 0;
}

.support-hero__copy p {
  margin: 0;
}

.support-tabs {
  position: absolute;
  left: 19px;
  bottom: 85px;
  display: inline-flex;
  align-items: center;
  height: 51px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--primary-red-soft);
}

.support-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 79px;
  height: 33px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text-main);
  font-size: 14px;
  line-height: 33px;
  font-weight: 700;
  letter-spacing: 0;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.support-tab + .support-tab {
  margin-left: 6px;
}

.support-tab.is-active,
.support-tab:hover,
.support-tab:focus {
  background: var(--primary-red);
  color: #ffffff;
}

.outlet-section {
  background: var(--surface-white);
}

.service-outlet {
  min-height: 1794px;
  padding-top: 105px;
  padding-bottom: 90px;
}

.sales-outlet {
  min-height: 1320px;
  padding-top: 95px;
  padding-bottom: 45px;
  background: var(--surface-soft);
}

.section-heading {
  position: relative;
  width: max-content;
  margin: 0 auto;
  padding-left: 40px;
  color: var(--text-heading);
  text-align: center;
}

.section-heading__mark {
  position: absolute;
  top: -13px;
  left: 0;
  width: 60px;
  height: 60px;
  border-radius: 4px;
  background: linear-gradient(132deg, #d70010 0%, #ff7257 41%, #ffffff 100%);
}

.section-heading h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  transform: translateX(-1.25px);
  color: var(--text-heading);
  font-size: 52px;
  line-height: 60px;
  font-weight: 700;
  letter-spacing: 0;
}

.section-heading p {
  position: relative;
  z-index: 1;
  margin: 22px 0 0;
  transform: translate(-8.75px, -1px);
  color: var(--text-main);
  font-family: var(--font-english);
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0;
}

.filter-panel {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: 100%;
  height: 208px;
  margin-top: 87px;
  padding: 0 40px 0 50px;
  border-radius: 26px;
  background: var(--surface-filter);
}

.sales-outlet .section-heading p {
  transform: translate(-0.75px, -1px);
}

.filter-panel p {
  margin: 0;
  color: var(--text-main);
  font-size: 24px;
  line-height: 41px;
  font-weight: 700;
  letter-spacing: 0;
}

.filter-panel__controls {
  display: flex;
  align-items: center;
  gap: 56px;
}

.select-group {
  position: relative;
  width: 390px;
}

.select-group--wide {
  width: 660px;
}

.select-group--wide .select-control {
  padding-left: 39px;
}

.select-control {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 72px;
  padding: 0 15px 0 29px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 72px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: box-shadow 0.25s ease;
}

.select-control:hover,
.select-control:focus,
.select-group.is-open .select-control {
  box-shadow: 0 14px 30px rgba(215, 0, 15, 0.1);
}

.select-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  border-radius: 50%;
  background: var(--primary-red);
  color: #ffffff;
  font-size: 15px;
}

.select-icon .iconfont {
  display: block;
  font-size: 15px;
  transform: rotate(90deg);
}

.select-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 9;
  display: none;
  margin: 0;
  padding: 12px;
  list-style: none;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 55px rgba(44, 18, 20, 0.14);
}

.select-group.is-open .select-menu {
  display: block;
}

.select-menu button {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #555555;
  font-size: 16px;
  text-align: left;
  padding: 0 16px;
  cursor: pointer;
}

.select-menu button:hover,
.select-menu button:focus {
  background: var(--primary-red-soft);
  color: var(--primary-red);
}

.filter-panel--sales {
  margin-top: 74px;
  background: #f9eeee;
}

.filter-panel--sales .filter-panel__controls {
  width: 660px;
}

.outlet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 68px;
  margin-top: 70px;
}

.sales-grid {
  margin-top: 70px;
  row-gap: 58px;
}

.sales-grid .outlet-card p {
  line-height: 33px;
}

.outlet-card {
  min-height: 310px;
  padding: 42px 40px 35px;
  border-radius: 16px;
  background: #ffffff;
  color: var(--text-main);
  box-shadow: var(--card-shadow);
}

.service-grid .outlet-card:last-child {
  transform: translateY(-18px);
}

.service-grid .outlet-card:nth-child(n + 4):nth-child(-n + 6) {
  padding-top: 44px;
  padding-bottom: 33px;
}

.service-grid .outlet-card:nth-child(-n + 3) p {
  line-height: 33px;
}

.outlet-card--active {
  background: var(--primary-red);
  color: #ffffff;
}

.outlet-card h3 {
  margin: 0;
  color: inherit;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: 0;
}

.card-divider {
  width: 100%;
  height: 1px;
  margin: 30px 0 42px;
  background: var(--line-soft);
}

.outlet-card--active .card-divider {
  background: rgba(255, 255, 255, 0.75);
}

.outlet-card p {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
  margin: 0;
  color: inherit;
  font-size: 18px;
  line-height: 32px;
  font-weight: 400;
  letter-spacing: 0;
}

.outlet-card p + p {
  margin-top: 23px;
}

.outlet-card .iconfont {
  color: var(--primary-red);
  font-size: 24px;
  line-height: 32px;
}

.outlet-card--active .iconfont {
  color: #ffffff;
}

.outlet-card span {
  min-width: 0;
}

@media (max-width: 1500px) {
  :root {
    --container-wide: calc(100vw - 80px);
  }

  .support-hero__copy {
    right: 0;
    width: 45%;
  }

  .support-hero h1 {
    font-size: 58px;
    line-height: 78px;
  }

  .filter-panel {
    padding: 0 40px;
  }

  .filter-panel__controls {
    gap: 28px;
  }

  .select-group {
    width: 320px;
  }

  .select-group--wide {
    width: 540px;
  }
}

@media (max-width: 1199px) {
  :root {
    --container-wide: calc(100vw - 64px);
  }

  .support-hero {
    height: auto;
    padding: 76px 0 70px;
  }

  .support-hero__inner,
  .support-hero__heading,
  .support-hero__copy,
  .support-tabs {
    position: static;
  }

  .support-hero__inner {
    display: grid;
    gap: 30px;
  }

  .support-hero h1 {
    font-size: 48px;
    line-height: 1.35;
  }

  .support-hero__copy {
    width: 100%;
    max-width: 760px;
  }

  .support-tabs {
    width: max-content;
  }

  .service-outlet,
  .sales-outlet {
    min-height: 0;
  }

  .filter-panel {
    height: auto;
    min-height: 208px;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 40px;
  }

  .filter-panel__controls,
  .filter-panel--sales .filter-panel__controls {
    width: 100%;
  }

  .select-group,
  .select-group--wide {
    width: 100%;
  }

  .outlet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }
}

@media (max-width: 767px) {
  :root {
    --container-wide: calc(100vw - 30px);
  }

  .support-hero {
    padding: 52px 0 48px;
  }

  .section-kicker {
    margin-bottom: 18px;
  }

  .support-hero h1 {
    font-size: 34px;
  }

  .support-hero__copy {
    font-size: 14px;
    line-height: 24px;
  }

  .support-tabs {
    display: flex;
    width: 100%;
    padding: 8px;
  }

  .support-tab {
    flex: 1;
    min-width: 0;
    padding: 0 8px;
    font-size: 13px;
  }

  .service-outlet,
  .sales-outlet {
    padding-top: 56px;
    padding-bottom: 58px;
  }

  .section-heading {
    padding-left: 31px;
  }

  .section-heading__mark {
    width: 44px;
    height: 44px;
  }

  .section-heading h2 {
    font-size: 32px;
    line-height: 44px;
  }

  .section-heading p {
    margin-top: 6px;
    font-size: 15px;
    line-height: 18px;
  }

  .filter-panel,
  .filter-panel--sales {
    margin-top: 44px;
    padding: 28px 22px;
    border-radius: 18px;
  }

  .filter-panel p {
    font-size: 21px;
    line-height: 32px;
  }

  .filter-panel__controls {
    flex-direction: column;
    gap: 16px;
  }

  .select-control {
    height: 62px;
    padding-left: 22px;
    font-size: 16px;
    line-height: 62px;
  }

  .select-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .outlet-grid,
  .sales-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
    row-gap: 22px;
  }

  .outlet-card {
    min-height: 0;
    padding: 30px 28px;
    border-radius: 14px;
  }

  .outlet-card h3 {
    font-size: 22px;
    line-height: 30px;
  }

  .card-divider {
    margin: 22px 0 28px;
  }

  .outlet-card p {
    font-size: 16px;
    line-height: 28px;
  }
}

@media (max-width: 420px) {
  :root {
    --container-wide: calc(100vw - 24px);
  }

  .support-hero h1 {
    font-size: 30px;
  }

  .support-tab {
    font-size: 12px;
  }

  .outlet-card {
    padding: 26px 22px;
  }

  .outlet-card p {
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 12px;
    font-size: 15px;
  }
}
