:root {
  --ink: #07162d;
  --muted: #647284;
  --paper: #ffffff;
  --soft: #f4f8ff;
  --line: #e4edf8;
  --blue: #075eea;
  --blue-deep: #0344b2;
  --cyan: #18b9b5;
  --gold: #d49a3a;
  --radius: 8px;
  --container: 1720px;
  --page-x: max(72px, calc((100vw - var(--container)) / 2));
  --shadow: 0 22px 60px rgba(28, 59, 103, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(140px, 1fr);
  gap: 30px;
  align-items: center;
  height: 92px;
  padding: 0 var(--page-x);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(222, 231, 244, 0.9);
  box-shadow: 0 12px 34px rgba(18, 45, 84, 0.08);
  backdrop-filter: blur(16px);
}

.brand-link,
.site-nav,
.hero__actions,
.hero-service-cards,
.site-footer,
.record-links {
  display: flex;
  align-items: center;
}

.brand-link {
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 154px;
  height: 62px;
  object-fit: contain;
}

.brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-nav {
  gap: clamp(28px, 4vw, 62px);
  justify-content: center;
  color: #111827;
  font-size: 17px;
  font-weight: 650;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding: 30px 0;
  transition: color 0.18s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 4px;
  background: var(--blue);
  border-radius: 999px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: translateY(0);
}

.header-phone {
  justify-self: end;
  min-width: 132px;
  padding: 13px 24px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(135deg, #075eea 0%, #0047c8 100%);
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(7, 94, 234, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.header-phone:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(7, 94, 234, 0.3);
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 188px var(--page-x) 176px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 29%, rgba(255, 255, 255, 0.84) 43%, rgba(255, 255, 255, 0.42) 61%, rgba(255, 255, 255, 0.08) 100%),
    url("./images/hero-blue-car-v2.jpg") right center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 92%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(660px, 100%);
}

.hero h1 {
  margin: 0;
  color: #071426;
  font-size: clamp(64px, 7.4vw, 112px);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero__lead {
  margin: 28px 0 0;
  color: #08172c;
  font-size: clamp(25px, 2.8vw, 40px);
  font-weight: 900;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.hero__lead span {
  color: var(--blue);
}

.hero__sub {
  max-width: 520px;
  margin: 26px 0 0;
  color: #4e5e73;
  font-size: 18px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.hero__actions {
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 174px;
  min-height: 58px;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 850;
  border-radius: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, #075eea 0%, #0047c8 100%);
  box-shadow: 0 18px 34px rgba(7, 94, 234, 0.24);
}

.button--ghost {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(7, 94, 234, 0.72);
}

.button--ghost:hover {
  background: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 16px 34px rgba(7, 94, 234, 0.12);
}

.hero-service-cards {
  position: relative;
  z-index: 5;
  width: min(var(--container), calc(100% - (var(--page-x) * 2)));
  margin: -116px auto 0;
  gap: 20px;
}

.service-tile {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 210px;
  overflow: hidden;
  padding: 32px 36px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.service-tile::before,
.service-tile::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  pointer-events: none;
}

.service-tile::before {
  z-index: 1;
  right: 0;
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 46%, rgba(255, 255, 255, 0.48) 70%, rgba(255, 255, 255, 0.06) 100%);
}

.service-tile::after {
  right: 0;
  width: 58%;
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
}

.service-tile--paint::after {
  background-image: url("./images/service-card-paint-v2.jpg");
}

.service-tile--spray::after {
  background-image: url("./images/service-card-spray-v2.jpg");
}

.service-tile--system::after {
  background-image: url("./images/service-card-system-v2.jpg");
}

.service-tile > * {
  position: relative;
  z-index: 2;
}

.service-tile__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #075eea 0%, #0047c8 100%);
  border-radius: 50%;
  box-shadow: 0 14px 24px rgba(7, 94, 234, 0.22);
}

.service-tile__icon::before,
.service-tile__icon::after {
  content: "";
  display: block;
  border-color: currentColor;
}

.service-tile__icon--paint::before {
  width: 25px;
  height: 13px;
  border: 3px solid currentColor;
  border-radius: 9px 11px 5px 5px;
}

.service-tile__icon--paint::after {
  position: absolute;
  width: 5px;
  height: 5px;
  margin-top: 18px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 18px 0 0 currentColor;
}

.service-tile__icon--spray {
  background: linear-gradient(135deg, #1a73ff 0%, #21b7c1 100%);
}

.service-tile__icon--spray::before {
  width: 25px;
  height: 12px;
  border: 3px solid currentColor;
  border-radius: 4px 10px 4px 4px;
  transform: rotate(-24deg);
}

.service-tile__icon--spray::after {
  position: absolute;
  width: 12px;
  height: 16px;
  margin-top: 18px;
  margin-left: -7px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-24deg);
}

.service-tile__icon--system {
  background: linear-gradient(135deg, #12b8b5 0%, #078d91 100%);
}

.service-tile__icon--system::before {
  width: 25px;
  height: 17px;
  border: 3px solid currentColor;
  border-radius: 3px;
}

.service-tile__icon--system::after {
  position: absolute;
  width: 18px;
  height: 3px;
  margin-top: 24px;
  background: currentColor;
  border-radius: 999px;
}

.service-tile h2 {
  margin: 0 0 12px;
  color: #06152a;
  font-size: 24px;
  line-height: 1.2;
}

.service-tile p {
  max-width: 300px;
  margin: 0;
  color: #657388;
  font-size: 16px;
  line-height: 1.68;
}

.service-tile a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 850;
}

.service-tile a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.section {
  padding: 96px var(--page-x);
}

.section__head {
  width: min(820px, 100%);
  margin-bottom: 40px;
}

.section__head--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section__head--split {
  width: min(820px, 100%);
  margin-bottom: 44px;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.section h2 {
  margin: 0;
  color: #06152a;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.2;
  letter-spacing: 0;
}

.section h2 span {
  color: var(--blue);
}

.section__head p:not(.section-kicker),
.standard-copy > p,
.contact-panel__intro p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.section--why {
  margin-top: 18px;
  background:
    radial-gradient(circle at 82% 16%, rgba(7, 94, 234, 0.1) 0, rgba(7, 94, 234, 0) 24%),
    linear-gradient(180deg, #f6fbff 0%, #eef6ff 100%);
}

.why-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.why-card {
  position: relative;
  min-height: 236px;
  padding: 30px 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 252, 255, 0.96) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(28, 59, 103, 0.1);
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), rgba(24, 185, 181, 0.24));
  border-radius: 0 0 999px 999px;
  opacity: 0.72;
}

.why-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -56px;
  width: 148px;
  height: 148px;
  background: rgba(7, 94, 234, 0.05);
  border-radius: 50%;
}

.why-card__icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  color: var(--blue);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.92) 0, rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #eaf3ff 0%, #d7e9ff 100%);
  border: 1px solid rgba(125, 176, 246, 0.38);
  border-radius: 18px;
  box-shadow: 0 16px 28px rgba(7, 94, 234, 0.12);
}

.why-card__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: #06152a;
  font-size: 22px;
}

.why-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}


.section--services {
  padding-top: 112px;
  background: #ffffff;
}

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

.service-card {
  min-width: 0;
  padding: 28px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #c5d9f4;
  box-shadow: 0 18px 45px rgba(20, 52, 96, 0.1);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  background: #eaf3ff;
  border: 1px solid #cfe1fa;
  border-radius: 8px;
}

.service-card__icon::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--blue);
}

.service-card__icon--paint::after {
  border-radius: 50%;
  box-shadow: inset 6px -6px 0 rgba(24, 185, 181, 0.28);
}

.service-card__icon--body::after {
  width: 24px;
  border-radius: 4px 14px 4px 12px;
}

.service-card__icon--care::after {
  border-radius: 6px;
  transform: rotate(45deg);
}

.service-card__icon--digital::after {
  width: 16px;
  height: 22px;
  border-radius: 4px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.service-card p,
.case-card p,
.check-list,
.contact-list dt {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.section--standard {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: center;
  background: linear-gradient(180deg, #f5f9ff 0%, #eef6ff 100%);
}

.standard-media {
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 94, 234, 0.02) 0%, rgba(3, 68, 178, 0.28) 100%),
    url("./images/hero-paint-service.jpg") 68% center / cover no-repeat;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(20, 52, 96, 0.16);
}

.standard-copy {
  min-width: 0;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 20px;
  width: 10px;
  height: 6px;
  border-bottom: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.section--cases {
  background: #ffffff;
}

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

.case-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: #ffffff;
  background: #06152a;
  border-radius: 16px;
}

.case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 19, 40, 0.02) 0%, rgba(5, 19, 40, 0.84) 100%),
    url("./images/hero-paint-service.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.case-card--one::before {
  background:
    linear-gradient(180deg, rgba(5, 19, 40, 0.02) 0%, rgba(5, 19, 40, 0.84) 100%),
    url("./images/service-card-paint-v2.jpg") center / cover no-repeat;
}

.case-card--two::before {
  background:
    linear-gradient(180deg, rgba(5, 19, 40, 0.02) 0%, rgba(5, 19, 40, 0.84) 100%),
    url("./images/service-card-spray-v2.jpg") center / cover no-repeat;
}

.case-card--three::before {
  background:
    linear-gradient(180deg, rgba(5, 19, 40, 0.02) 0%, rgba(5, 19, 40, 0.84) 100%),
    url("./images/hero-blue-car-v2.jpg") right center / cover no-repeat;
}

.case-card div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.case-card span {
  color: #89c6ff;
  font-weight: 900;
}

.case-card strong {
  display: block;
  margin: 8px 0;
  font-size: 24px;
}

.case-card p {
  color: rgba(255, 255, 255, 0.78);
}

.section--contact {
  padding-top: 76px;
  background: var(--soft);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 44px;
  align-items: start;
  padding: 44px;
  color: #ffffff;
  background:
    radial-gradient(circle at 84% 10%, rgba(24, 185, 181, 0.34) 0, rgba(24, 185, 181, 0) 28%),
    linear-gradient(135deg, #06152a 0%, #073f91 100%);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.contact-panel__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-panel__intro h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.18;
}

.contact-panel__intro p {
  color: rgba(255, 255, 255, 0.74);
  margin: 0 0 26px;
}

.contact-panel__intro .button {
  margin-top: 28px;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.contact-list div {
  min-width: 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.contact-list dt {
  color: rgba(255, 255, 255, 0.64);
}

.contact-list dd {
  margin: 8px 0 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  word-break: break-word;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 30px var(--page-x) 28px;
  color: rgba(216, 228, 242, 0.78);
  background: #07162d;
  text-align: center;
}

.footer-copy {
  margin: 0;
  color: rgba(216, 228, 242, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.footer-company {
  color: #ffffff;
  font-weight: 800;
}

.record-links {
  justify-content: center;
  gap: 8px 16px;
  flex-wrap: wrap;
  color: rgba(216, 228, 242, 0.58);
  font-size: 13px;
}

.record-links a {
  transition: color 0.18s ease;
}

.record-links a:hover {
  color: #ffffff;
}

.record-links a:empty,
.record-links a[data-empty] {
  display: none;
}

@media (max-width: 1180px) {
  :root {
    --page-x: 40px;
  }

  .site-header {
    grid-template-columns: minmax(190px, 1fr) auto;
  }

  .site-nav {
    display: none;
  }

  .why-layout,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .site-header {
    height: 76px;
  }

  .brand-logo {
    width: 132px;
    height: 54px;
  }

  .hero {
    min-height: 720px;
    padding-top: 126px;
    padding-bottom: 160px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.42) 100%),
      url("./images/hero-blue-car-v2.jpg") 68% bottom / cover no-repeat;
  }

  .hero__content {
    width: min(560px, 100%);
  }

  .hero-service-cards,
  .section--standard,
  .contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .section__head--split {
    width: min(820px, 100%);
  }

  .hero-service-cards {
    margin-top: -88px;
  }

  .standard-media {
    min-height: 360px;
  }

  .case-grid,
  .contact-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --page-x: 18px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    height: 70px;
  }

  .brand-link {
    gap: 8px;
  }

  .brand-logo {
    width: 112px;
    height: 48px;
  }

  .header-phone {
    display: none;
  }

  .hero {
    min-height: 660px;
    padding: 106px 18px 132px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(255, 255, 255, 0.46) 100%),
      url("./images/hero-blue-car-v2.jpg") 62% bottom / auto 68% no-repeat;
  }

  .hero__lead {
    max-width: 330px;
    font-size: 22px;
  }

  .hero__sub {
    max-width: 324px;
  }

  .hero__sub,
  .section__head p:not(.section-kicker),
  .standard-copy > p,
  .contact-panel__intro p {
    font-size: 15px;
  }

  .hero__actions {
    gap: 12px;
    margin-top: 30px;
  }

  .button {
    min-width: 132px;
    min-height: 48px;
    padding: 10px 18px;
    font-size: 15px;
    border-radius: 8px;
  }

  .hero-service-cards {
    width: calc(100% - 28px);
    margin-top: -70px;
  }

  .service-tile {
    min-height: 166px;
    padding: 22px;
  }

  .service-tile h2 {
    font-size: 22px;
  }

  .service-tile p {
    max-width: 230px;
    font-size: 14px;
  }

  .section {
    padding: 64px 18px;
  }

  .section--services {
    padding-top: 80px;
  }

  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-panel {
    padding: 28px 20px;
  }

  .site-footer {
    padding: 28px 18px;
  }
}
