:root {
  --ink: #151b1c;
  --muted: #626c6b;
  --line: #d8dedb;
  --paper: #f7f6f1;
  --white: #ffffff;
  --teal: #073f3d;
  --teal-2: #0c5551;
  --orange: #ff7a18;
  --soft: #eef1ee;
  --shadow: 0 24px 60px rgba(8, 26, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Noto Sans TC",
    "PingFang TC",
    "Microsoft JhengHei",
    system-ui,
    sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(18, 36, 38, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 36, 38, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 0 48px;
  background: rgba(247, 246, 241, 0.93);
  border-bottom: 1px solid rgba(21, 27, 28, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.brand-mark img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand > img {
  width: 172px;
  max-height: 58px;
  height: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 36px);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a,
.phone-link {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.desktop-nav a:hover,
.phone-link:hover {
  color: var(--teal);
  transform: translateY(-1px);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon,
.link-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.icon svg,
.link-icon svg,
.contact-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  color: var(--ink);
  font-weight: 800;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: var(--white);
  background: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-2);
}

.btn-orange {
  color: var(--white);
  background: var(--orange);
}

.btn-outline {
  color: var(--teal);
  background: transparent;
  border-color: var(--teal);
}

.btn-large {
  min-height: 64px;
  padding: 0 34px;
  font-size: 18px;
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 44%, rgba(255, 122, 24, 0.14), transparent 22%),
    linear-gradient(90deg, #101b1c 0%, #101b1c 46%, #2a342f 100%);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  left: auto;
  width: 62%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 21, 23, 0.98) 0%, rgba(8, 21, 23, 0.86) 40%, rgba(8, 21, 23, 0.22) 72%, rgba(8, 21, 23, 0.02) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 108px 48px 92px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 710px;
  margin-bottom: 18px;
  font-size: clamp(50px, 6.2vw, 88px);
  font-weight: 900;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-copy {
  max-width: 570px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.quick-contact {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) repeat(2, minmax(180px, 240px)) minmax(320px, 1.5fr);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(24, 33, 32, 0.06);
}

.quick-contact > * {
  min-height: 84px;
  padding: 18px 28px;
  border-right: 1px solid var(--line);
}

.quick-contact > *:last-child {
  border-right: 0;
}

.quick-contact strong,
.quick-contact a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 22px;
  font-weight: 900;
}

.quick-contact small,
.quick-contact span {
  display: block;
}

.quick-contact small,
.quick-contact > div > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.contact-icon {
  position: relative;
  display: block;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  color: var(--teal);
  background: #eef4f0;
  border-radius: 50%;
}

.contact-icon.green {
  color: var(--white);
  background: #31b55b;
}

.contact-icon svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  display: block;
  transform: translate(-50%, -50%);
}

.quick-contact .contact-icon svg {
  transform: translate(-50%, -50%);
}

.service-areas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.service-areas span {
  padding: 6px 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  background: #f1f2ee;
  border-radius: 999px;
}

.services-panel {
  display: block;
  max-width: 1180px;
  margin: 30px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 70px 68px minmax(300px, 1fr) minmax(280px, 420px) 88px;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.service-list article:last-child {
  border-bottom: 0;
}

.num,
.service-icon,
.service-action {
  display: grid;
  place-items: center;
}

.num {
  font-size: 26px;
  font-weight: 700;
  border-right: 1px solid var(--line);
}

.service-icon {
  color: var(--white);
  font-weight: 900;
  background: var(--teal);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.service-list article div {
  align-self: center;
  padding: 16px 30px;
}

.service-list article > img,
.service-list article > picture {
  width: 100%;
  height: 100%;
  min-height: 92px;
  border-left: 1px solid var(--line);
}

.service-list article > picture img {
  width: 100%;
  height: 100%;
  min-height: 92px;
  object-fit: cover;
}

.service-list h2 {
  margin-bottom: 4px;
  font-size: 24px;
  line-height: 1.2;
}

.service-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.service-action {
  width: 100%;
  color: var(--ink);
  font-size: 34px;
  font-weight: 700;
  background: transparent;
  border-left: 1px solid var(--line);
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.service-action:hover {
  color: var(--white);
  background: var(--orange);
}

.compare-section {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 3fr;
  gap: 34px;
  max-width: 1180px;
  margin: 36px auto 0;
  padding: 48px;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 122, 24, 0.16), transparent 28%),
    linear-gradient(135deg, #071c1f, #0b2b2f 60%, #071617);
}

.section-intro h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.05;
  text-wrap: balance;
}

.section-intro p {
  max-width: 440px;
  color: var(--muted);
  font-weight: 600;
}

.section-intro.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.text-button {
  display: inline-flex;
  margin-top: 18px;
  padding: 12px 18px;
  color: var(--white);
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: center;
}

.compare-grid figure {
  margin: 0;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.compare-grid img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.compare-grid figcaption {
  padding: 10px 14px 14px;
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.training-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  max-width: 1180px;
  margin: 0 auto;
  background: var(--white);
}

.training-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: left center;
}

.training-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 76px);
}

.training-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4.8vw, 58px);
  font-weight: 900;
  line-height: 1.08;
}

.training-copy h3 {
  margin-bottom: 22px;
  color: var(--orange);
  font-size: 24px;
}

.training-copy p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
}

.orange {
  color: var(--orange);
}

.training-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.training-points span {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  border: 1px solid var(--line);
}

.process-section {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 0 62px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.process-section .section-intro {
  padding-left: 48px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0 48px 0 0;
  list-style: none;
}

.process-list li {
  position: relative;
  text-align: center;
}

.process-list li:not(:last-child)::after {
  position: absolute;
  top: 20px;
  left: calc(50% + 28px);
  width: calc(100% - 34px);
  height: 1px;
  content: "";
  background: var(--line);
}

.process-list span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  background: var(--orange);
  border-radius: 50%;
}

.process-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.metrics-section {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  max-width: 1180px;
  min-height: 178px;
  margin: 0 auto;
  overflow: hidden;
  color: var(--white);
  background: #071c1f;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  padding: 34px 50px;
}

.metrics div {
  padding-right: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  color: var(--orange);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 900;
  line-height: 1;
}

.metrics span {
  display: block;
  margin: 8px 0;
  font-size: 20px;
  font-weight: 900;
}

.metrics p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.metrics-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviews-section {
  display: grid;
  grid-template-columns: 260px repeat(2, 1fr);
  gap: 30px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 48px;
  background: var(--white);
}

.review-card {
  min-height: 210px;
  padding: 34px 38px;
  border: 1px solid var(--line);
}

.review-card span {
  display: block;
  height: 40px;
  font-size: 78px;
  line-height: 0.8;
}

.review-card p {
  color: #293231;
  font-size: 18px;
  font-weight: 700;
}

.review-card strong,
.review-card small {
  display: block;
}

.review-card strong {
  margin-top: 22px;
}

.review-card small {
  margin-top: 6px;
  color: var(--orange);
  letter-spacing: 0.12em;
}

.faq-section {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 38px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 48px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  background: #fbfbf8;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  padding: 16px 20px;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  color: var(--orange);
  font-size: 24px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-weight: 600;
}

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1180px;
  min-height: 210px;
  margin: 0 auto;
  overflow: hidden;
  color: var(--white);
  background: #102728;
}

.final-cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.final-cta::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(6, 22, 23, 0.94), rgba(6, 22, 23, 0.68));
}

.final-copy,
.final-contact {
  position: relative;
  z-index: 1;
  padding: 38px 48px;
}

.final-copy h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.08;
}

.final-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.final-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  font-size: 24px;
  font-weight: 900;
}

.final-contact small {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.final-contact span {
  grid-column: span 2;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto 36px;
  padding: 18px 0;
  color: var(--muted);
  font-size: 13px;
}

.service-page {
  background: var(--white);
}

.service-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 38px;
  max-width: 1180px;
  margin: 34px auto 0;
  padding: 48px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 122, 24, 0.18), transparent 28%),
    linear-gradient(135deg, #061617, #0a3331);
}

.service-hero h1 {
  font-size: clamp(42px, 5.2vw, 72px);
}

.service-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 600;
}

.service-hero img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.service-hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.service-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 34px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 0 0;
}

.service-side {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 24px;
  background: #f7f8f5;
  border: 1px solid var(--line);
}

.service-side strong,
.service-side a {
  display: block;
}

.service-side strong {
  margin-bottom: 12px;
  font-size: 18px;
}

.service-side a {
  padding: 10px 0;
  color: var(--muted);
  font-weight: 800;
  border-top: 1px solid var(--line);
}

.service-side .btn {
  margin-top: 18px;
  color: var(--white);
}

.service-side a.btn {
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 56px;
  margin-top: 22px;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 0;
  color: var(--white) !important;
  font-size: 16px;
  line-height: 1;
  text-align: center;
}

.service-side > a.btn.btn-primary {
  background: var(--teal) !important;
  border-top: 0 !important;
}

.service-content {
  display: grid;
  gap: 24px;
}

.detail-block {
  padding: 32px 36px;
  background: var(--white);
  border: 1px solid var(--line);
}

.detail-block h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
}

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

.detail-card,
.step-card {
  padding: 18px;
  background: #f7f8f5;
  border: 1px solid var(--line);
}

.detail-card strong,
.step-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.detail-card p,
.step-card p,
.detail-block li {
  color: var(--muted);
  font-weight: 600;
}

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

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  background: var(--orange);
  border-radius: 50%;
}

.price-list,
.service-faq {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-list li {
  padding: 14px 18px;
  background: #f7f8f5;
  border-left: 4px solid var(--teal);
}

.service-faq details {
  border: 1px solid var(--line);
}

.service-faq summary {
  padding: 16px 18px;
  font-weight: 900;
  cursor: pointer;
}

.service-faq p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
  font-weight: 600;
}

.service-switch {
  max-width: 1180px;
  margin: 34px auto;
  padding: 30px 36px;
  background: #071c1f;
  color: var(--white);
}

.service-switch h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.service-switch nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-switch a {
  padding: 10px 16px;
  color: var(--white);
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

@media (max-width: 1050px) {
  .site-header {
    padding: 0 22px;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-button {
    display: grid;
    gap: 7px;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 12px;
    background: var(--teal);
    border: 0;
  }

  .menu-button span {
    height: 2px;
    background: var(--white);
  }

  .mobile-nav {
    position: fixed;
    top: 72px;
    right: 16px;
    left: 16px;
    z-index: 45;
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .mobile-nav a {
    padding: 14px;
    font-weight: 800;
  }

  .quick-contact,
  .services-panel,
  .compare-section,
  .training-section,
  .process-section,
  .metrics-section,
  .reviews-section,
  .faq-section,
  .service-hero,
  .service-layout,
  .service-switch,
  .final-cta {
    width: calc(100% - 28px);
  }

  .quick-contact {
    grid-template-columns: 1fr 1fr;
  }

  .quick-contact > * {
    border-bottom: 1px solid var(--line);
  }

  .services-panel {
    display: block;
  }

  .compare-section,
  .training-section,
  .process-section,
  .metrics-section,
  .reviews-section,
  .faq-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .service-hero,
  .service-layout {
    grid-template-columns: 1fr;
  }

  .service-side {
    position: static;
  }

  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-section .section-intro,
  .process-list {
    padding: 0 36px;
  }

  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-list li::after {
    display: none;
  }
}

@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 64px;
    padding: 0 14px;
    gap: 12px;
  }

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

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand-mark img {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    display: block;
    max-width: calc(100vw - 98px);
    overflow: hidden;
    font-size: 15px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-copy small {
    display: none;
  }

  .menu-button {
    width: 42px;
    height: 42px;
    padding: 12px;
  }

  .mobile-nav {
    top: 64px;
    right: 10px;
    left: 10px;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    padding: 10px;
  }

  .mobile-nav a {
    min-height: 46px;
    padding: 12px 14px;
  }

  .quick-contact,
  .services-panel,
  .compare-section,
  .training-section,
  .process-section,
  .metrics-section,
  .reviews-section,
  .faq-section,
  .service-hero,
  .service-layout,
  .service-switch,
  .final-cta {
    width: calc(100% - 20px);
  }

  .hero {
    min-height: auto;
  }

  .hero-image {
    width: 100%;
    opacity: 0.9;
  }

  .hero-image img {
    object-position: 72% 32%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 21, 23, 0.94) 0%, rgba(8, 21, 23, 0.82) 54%, rgba(8, 21, 23, 0.38) 100%),
      linear-gradient(180deg, rgba(8, 21, 23, 0.12) 0%, rgba(8, 21, 23, 0.48) 100%);
  }

  .hero-content {
    padding: 58px 18px 42px;
  }

  h1 {
    max-width: 100%;
    margin-bottom: 14px;
    font-size: 34px;
    line-height: 1.12;
    text-wrap: auto;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1.45;
  }

  .hero-copy {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .btn,
  .btn-large {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    font-size: 16px;
  }

  .quick-contact {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .quick-contact > * {
    min-height: auto;
    padding: 16px 18px;
    border-right: 0;
  }

  .quick-contact strong,
  .quick-contact a {
    gap: 12px;
    font-size: 18px;
    line-height: 1.2;
  }

  .quick-contact small,
  .quick-contact > div > span {
    font-size: 11px;
  }

  .contact-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .contact-icon svg {
    width: 18px;
    height: 18px;
  }

  .service-areas {
    gap: 8px;
  }

  .service-areas span {
    padding: 5px 10px;
    font-size: 12px;
  }

  .services-panel {
    margin-top: 18px;
  }

  .service-list article {
    grid-template-columns: 40px 44px minmax(0, 1fr) 112px 42px;
    min-height: 108px;
  }

  .service-list article > img,
  .service-list article > picture {
    grid-column: auto;
    grid-row: auto;
    height: 100%;
    min-height: 108px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .service-list article div {
    min-width: 0;
    padding: 12px 10px;
  }

  .service-list h2 {
    margin-bottom: 3px;
    font-size: 17px;
  }

  .service-list p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .num {
    font-size: 18px;
  }

  .service-icon svg {
    width: 22px;
    height: 22px;
  }

  .service-action {
    font-size: 28px;
  }

  .compare-section {
    margin-top: 22px;
    padding: 30px 18px;
    gap: 22px;
  }

  .compare-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .compare-grid figure {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .compare-grid img {
    height: 260px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .section-intro h2,
  .training-copy h2,
  .final-copy h2 {
    font-size: 30px;
    line-height: 1.15;
    text-wrap: auto;
  }

  .training-points,
  .metrics,
  .final-contact {
    grid-template-columns: 1fr;
  }

  .training-copy {
    padding: 28px 18px 32px;
  }

  .training-copy h3 {
    margin-bottom: 14px;
    font-size: 20px;
  }

  .training-copy p {
    font-size: 15px;
  }

  .training-points {
    gap: 10px;
    margin-top: 18px;
  }

  .training-points span {
    min-height: 52px;
  }

  .training-image img {
    min-height: 240px;
  }

  .process-section {
    gap: 22px;
    padding: 34px 0;
  }

  .process-section .section-intro,
  .process-list {
    padding: 0 18px;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .process-list li {
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 12px;
    text-align: left;
  }

  .process-list span {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .process-list strong {
    margin-bottom: 3px;
    font-size: 16px;
  }

  .process-list p {
    font-size: 13px;
  }

  .metrics {
    gap: 18px;
    padding: 30px 22px;
  }

  .metrics div {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .metrics div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .metrics-section img {
    min-height: 170px;
  }

  .reviews-section {
    gap: 16px;
    padding: 30px 18px;
  }

  .review-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .review-card p {
    font-size: 16px;
  }

  .faq-section {
    gap: 18px;
    padding: 30px 18px;
  }

  .faq-list summary {
    align-items: flex-start;
    min-height: auto;
    padding: 15px 16px;
    font-size: 15px;
    line-height: 1.45;
  }

  .faq-list details p {
    padding: 0 16px 16px;
  }

  .service-hero {
    gap: 20px;
    margin-top: 16px;
    padding: 28px 18px;
  }

  .service-hero h1 {
    font-size: 36px;
    line-height: 1.1;
  }

  .service-hero p {
    font-size: 15px;
    line-height: 1.7;
  }

  .service-hero img {
    min-height: 200px;
    max-height: 260px;
  }

  .service-layout {
    gap: 18px;
    padding-top: 18px;
  }

  .service-side {
    padding: 18px;
  }

  .detail-block {
    padding: 24px 18px;
  }

  .detail-block h2 {
    font-size: 26px;
  }

  .detail-grid,
  .step-list {
    grid-template-columns: 1fr;
  }

  .detail-card,
  .step-card {
    padding: 16px;
  }

  .service-switch {
    margin: 22px auto;
    padding: 24px 18px;
  }

  .service-switch nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-switch a {
    min-height: 46px;
    padding: 12px 14px;
  }

  .final-cta {
    min-height: auto;
  }

  .final-copy,
  .final-contact {
    padding: 30px 18px;
  }

  .final-contact {
    gap: 16px;
    font-size: 20px;
  }

  .final-contact span {
    grid-column: auto;
  }

  .site-footer {
    width: calc(100% - 20px);
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .hero-content {
    padding-top: 68px;
  }

  h1 {
    font-size: 30px;
  }

  .service-list article {
    grid-template-columns: 36px 40px minmax(0, 1fr) 92px 38px;
    min-height: 102px;
  }

  .service-list article div {
    padding: 10px 8px;
  }

  .service-list h2 {
    font-size: 17px;
  }

  .service-list p {
    font-size: 10px;
  }

  .service-list article > img,
  .service-list article > picture {
    min-height: 102px;
  }

  .compare-grid figure {
    flex-basis: 88%;
  }

  .compare-grid img {
    height: 235px;
  }
}
