:root {
  --orange: #f15a24;
  --orange-dark: #d94817;
  --ink: #202124;
  --text: #3f4146;
  --muted: #76787d;
  --line: #eeeeee;
  --soft: #f7f7f7;
  --soft-2: #f2f2f2;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(32, 33, 36, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 74px;
  padding: 0 clamp(20px, 5vw, 82px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(238, 238, 238, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 168px;
}

.brand-logo {
  width: 154px;
  height: auto;
}

.footer-brand .brand-logo {
  width: 178px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
  color: #45474c;
  font-size: 13px;
  white-space: nowrap;
}

.nav a {
  position: relative;
  padding: 26px 0 23px;
}

.nav a.active,
.nav a:hover {
  color: var(--orange);
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  background: var(--orange);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.header-cta,
.btn.primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 10px 24px rgba(241, 90, 36, 0.2);
}

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

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

.hero,
.page-hero,
.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
  min-height: 620px;
  padding: 58px 0 72px;
}

.hero-copy,
.page-hero > div {
  position: relative;
}

.overline {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.page-hero h1 {
  font-size: clamp(34px, 4vw, 48px);
}

.hero h1::after,
.page-hero h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 22px 0 0;
  background: var(--orange);
}

.hero-sub,
.page-hero p {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 42px;
}

.proof-strip span {
  min-height: 92px;
  padding: 16px 14px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 13px;
}

.proof-strip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 27px;
  line-height: 1.1;
}

.hero-visual {
  position: relative;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
  border-radius: 18px;
}

.tech-card {
  position: absolute;
  right: 34px;
  bottom: -22px;
  max-width: 330px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.tech-card strong,
.tech-card span {
  display: block;
}

.tech-card strong {
  color: var(--ink);
  font-size: 17px;
}

.tech-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 72px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.intro-band,
.callout {
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100% - 1180px) / 2));
  padding-right: max(24px, calc((100% - 1180px) / 2));
  background: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 34px;
  padding-left: 18px;
  border-left: 4px solid var(--orange);
}

.section-head h2,
.split h2,
.callout h2,
.process-card h2,
.contact-card h2,
.long-card h2,
.tech-grid h2,
.team-card h2,
.case-card h2,
.article-card h2,
.store-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.section-head p,
.split p,
.callout p,
.long-card p,
.tech-grid p,
.case-card p,
.article-card p,
.store-card p,
.contact-card p,
.process-card li {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.feature-grid,
.service-grid,
.tech-grid,
.store-grid,
.contact-grid,
.article-grid,
.image-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.feature-grid article,
.service-card,
.long-card,
.tech-grid article,
.store-card,
.contact-card,
.case-card,
.article-card,
.process-card,
.image-card-grid article {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(32, 33, 36, 0.04);
}

.feature-grid article {
  min-height: 150px;
}

.feature-grid strong {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 19px;
}

.feature-grid span {
  color: var(--muted);
}

.service-card {
  min-height: 234px;
}

.service-card h3,
.image-card-grid h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
}

.service-card p,
.image-card-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.rounded-img,
.page-hero img,
.gallery-grid img,
.image-card-grid img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.rounded-img {
  aspect-ratio: 16 / 10;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--orange);
  font-weight: 800;
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: clamp(30px, 5vw, 62px);
  align-items: center;
  margin-top: 28px;
  padding: 42px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(32, 33, 36, 0.04);
}

.page-hero img {
  aspect-ratio: 16 / 10;
  box-shadow: none;
}

.content-columns {
  columns: 2 360px;
  column-gap: 18px;
}

.long-card {
  break-inside: avoid;
  margin-bottom: 18px;
}

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

.image-card-grid img {
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  box-shadow: none;
  background: var(--soft-2);
}

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

.team-card {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 250px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(32, 33, 36, 0.04);
}

.team-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  background: var(--soft-2);
}

.team-card h2 {
  margin-bottom: 6px;
  font-size: 28px;
}

.team-card strong,
.case-card span,
.store-card span {
  display: block;
  margin-bottom: 11px;
  color: var(--orange);
  font-weight: 800;
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.gallery-grid img {
  aspect-ratio: 16 / 9;
}

.gallery-grid img:first-child {
  grid-row: span 2;
  height: 100%;
}

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

.appointment-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.appointment-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.appointment-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.big-phone {
  color: var(--orange) !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.not-found {
  min-height: 58vh;
}

.footer {
  margin-top: 64px;
  padding: 56px clamp(20px, 5vw, 82px) 26px;
  color: var(--text);
  background: var(--white);
  border-top: 1px solid var(--line);
}

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

.footer p {
  margin: 8px 0;
  color: var(--muted);
}

.footer h3 {
  margin: 0 0 14px;
  color: var(--ink);
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 20px;
  color: #8e9095;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav {
    order: 3;
    flex: 0 0 100%;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    padding: 7px 0;
  }

  .nav a.active::after {
    bottom: 0;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero,
  .page-hero,
  .split,
  .appointment-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .proof-strip,
  .service-grid,
  .feature-grid,
  .tech-grid,
  .store-grid,
  .contact-grid,
  .article-grid,
  .image-card-grid,
  .team-grid,
  .case-list,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery-grid img:first-child {
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: auto;
  }

  .brand-logo {
    width: 136px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .page-hero,
  .section {
    width: min(100% - 28px, 1180px);
  }

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

  .hero-sub,
  .page-hero p {
    font-size: 16px;
  }

  .page-hero {
    padding: 28px;
  }

  .proof-strip,
  .service-grid,
  .feature-grid,
  .tech-grid,
  .store-grid,
  .contact-grid,
  .article-grid,
  .image-card-grid,
  .team-grid,
  .case-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card img {
    max-height: 380px;
  }

  .section,
  .intro-band,
  .callout {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .tech-card {
    position: static;
    margin-top: 14px;
  }

  .content-columns {
    columns: 1;
  }
}
