/* ==========================================================================
   دیزل ژنراتور — Pure HTML/CSS design system
   ========================================================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: block;
}

:root {
  --ink: #10231f;
  --ink-soft: #415550;
  --paper: #fbfcf8;
  --surface: #ffffff;
  --surface-soft: #f1f6f0;
  --line: #dce6df;
  --green: #126b52;
  --green-dark: #0a4d3a;
  --mint: #dff5e7;
  --lime: #c8f05a;
  --amber: #e9a846;
  --blue: #3e7ccb;
  --red: #c95346;
  --shadow: 0 24px 70px rgba(26, 61, 51, 0.1);
  --shadow-soft: 0 12px 36px rgba(26, 61, 51, 0.07);
  --radius-lg: 36px;
  --radius-md: 24px;
  --radius-sm: 14px;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

html,
body,
button,
input,
textarea,
select {
  font-family: "Vazirmatn", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: var(--green);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700 !important;
  line-height: 1.55;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(22px, 2.2vw, 32px) !important;
}

h3 {
  font-size: clamp(17px, 1.45vw, 20px) !important;
}

h4,
h5,
h6 {
  font-size: 15px !important;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  right: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.reading-progress {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(
    to left,
    var(--lime) 0 var(--reading-progress, 0%),
    transparent var(--reading-progress, 0%) 100%
  );
}

.site-header {
  position: relative;
  z-index: 50;
  background: rgba(251, 252, 248, 0.92);
  border-bottom: 1px solid rgba(16, 35, 31, 0.08);
  backdrop-filter: blur(16px);
}

.site-header.is-sticky {
  position: sticky;
  top: 0;
}

.header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  display: block;
  width: 46px;
  height: 38px;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 9px;
  box-shadow: inset 0 0 0 2px rgba(200, 240, 90, 0.08);
}

.brand-mark::before {
  position: absolute;
  inset: 8px 7px 7px;
  content: "";
  border: 2px solid var(--lime);
  border-radius: 4px;
}

.brand-mark::after {
  position: absolute;
  top: 15px;
  left: 11px;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--lime);
  border-radius: 50%;
}

.brand-mark i {
  position: absolute;
  right: 11px;
  display: block;
  width: 11px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
}

.brand-mark i:nth-child(1) {
  top: 13px;
}

.brand-mark i:nth-child(2) {
  top: 18px;
}

.brand-mark i:nth-child(3) {
  top: 23px;
}

.brand > span:last-child {
  display: grid;
  line-height: 1.2;
}

.brand strong {
  font-size: 20px;
  font-weight: 700;
}

.brand small {
  margin-top: 5px;
  color: #6b7a75;
  font-size: 13px;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #53645f;
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  padding-block: 28px;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 100%;
  height: 2px;
  content: "";
  background: var(--green);
  transition: left 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  left: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.text-action {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  color: #fff;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(18, 107, 82, 0.16);
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--green-dark);
  box-shadow: 0 16px 36px rgba(18, 107, 82, 0.22);
  transform: translateY(-2px);
}

.button--small {
  min-height: 44px;
  padding-inline: 17px;
  font-size: 13px;
}

.button--ghost {
  color: var(--ink);
  background: transparent;
  border-color: #cbd7d0;
  box-shadow: none;
}

.button--ghost:hover,
.button--ghost:focus-visible {
  color: var(--green-dark);
  background: #fff;
}

.button--light {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: none;
}

.button--light:hover,
.button--light:focus-visible {
  color: var(--ink);
  background: #d5f678;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-menu {
  position: fixed;
  z-index: 45;
  inset: 84px 0 0;
  padding: 24px 20px;
  background: rgba(251, 252, 248, 0.98);
  backdrop-filter: blur(24px);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav {
  display: grid;
  width: min(100%, 520px);
  margin-inline: auto;
  gap: 8px;
}

.mobile-menu a {
  padding: 15px 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: #6c7c77;
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb span[aria-hidden] {
  color: #a4b1ac;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.eyebrow i {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border: 2px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(200, 240, 90, 0.18);
}

.eyebrow--light {
  color: #d9e9e2;
}

.home-hero {
  position: relative;
  padding: 78px 0 0;
  overflow: hidden;
}

.grid-background {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 107, 82, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 107, 82, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.home-hero__grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 55px;
}

.hero-copy h1 {
  max-width: 740px;
  margin: 24px 0;
  font-size: clamp(23px, 3vw, 41px);
  font-weight: 700;
  letter-spacing: 0;
}

.hero-copy h1 em {
  position: relative;
  color: var(--green);
  font-style: normal;
  white-space: nowrap;
}

.hero-copy h1 em::after {
  position: absolute;
  right: 4px;
  bottom: -8px;
  width: 64%;
  height: 8px;
  content: "";
  background: var(--lime);
  border-radius: 10px;
  transform: rotate(-1deg);
}

.hero-copy > p {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 2.05;
}

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

.hero-proof {
  display: grid;
  margin-top: 42px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.hero-proof div {
  display: grid;
  gap: 3px;
  padding-inline: 19px;
  border-right: 1px solid var(--line);
}

.hero-proof div:first-child {
  padding-right: 0;
  border-right: 0;
}

.hero-proof strong {
  color: var(--green);
  font-size: 24px;
  font-weight: 700;
}

.hero-proof span {
  color: #71807b;
  font-size: 13px;
  font-weight: 700;
}

.generator-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #e5eee8;
  border: 1px solid #dce9dd;
  border-radius: 64px 64px 20px 64px;
  box-shadow: var(--shadow);
}

.generator-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(135deg, rgba(10, 77, 58, 0.05), transparent 55%);
}

.generator-photo {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
}

.trust-strip {
  position: relative;
  display: grid;
  align-items: center;
  margin-top: 78px;
  padding: 26px 32px;
  color: #677772;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 21px 21px 0 0;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 700;
  grid-template-columns: 0.7fr repeat(5, 1fr);
}

.trust-strip span {
  color: #9ba7a3;
  font-size: 13px;
}

.trust-strip div {
  text-align: center;
}

.section {
  padding: 105px 0;
}

.section--tight {
  padding: 76px 0;
}

.section--white {
  background: #fff;
}

.section--soft {
  background: var(--surface-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 50px;
}

.section-heading h2 {
  margin: 13px 0 18px;
  font-size: clamp(16px, 2vw, 26px);
  font-weight: 700;
}

.section-heading p {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.section-heading--split {
  display: grid;
  max-width: none;
  align-items: end;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
}

.section-heading--split p {
  padding-bottom: 10px;
}

.explain-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
}

.explain-main {
  position: relative;
  padding: 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.article-number {
  display: inline-grid;
  width: 48px;
  height: 48px;
  color: var(--green);
  background: var(--mint);
  border-radius: 15px;
  font-size: 14px;
  font-weight: 700;
  place-items: center;
}

.explain-main h3 {
  margin: 24px 0 18px;
  font-size: 15px;
}

.explain-main p {
  color: var(--ink-soft);
  font-size: 15px;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  color: var(--green);
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
}

.component-stack {
  display: grid;
  gap: 12px;
}

.component-stack a {
  display: grid;
  align-items: center;
  padding: 23px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  grid-template-columns: 48px 1fr;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.component-stack a:hover,
.component-stack a:focus-visible {
  border-color: #aac8b9;
  transform: translateX(-5px);
}

.component-stack a > span {
  color: #96a49f;
  font-size: 13px;
  font-weight: 700;
}

.component-stack h3 {
  margin-bottom: 3px;
  font-size: 13px;
}

.component-stack p {
  margin: 0;
  color: #6e7e79;
  font-size: 13px;
}

.services-section {
  padding: 110px 0;
  background: #edf4ed;
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce6df;
  border-radius: 26px;
  grid-column: span 4;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.service-card:nth-child(1),
.service-card:nth-child(6) {
  grid-column: span 8;
}

.service-card:hover {
  z-index: 1;
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card__top > span {
  color: #9aa8a3;
  font-size: 13px;
  font-weight: 700;
}

.service-card__top i {
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--green);
  background: var(--mint);
  border-radius: 14px;
  font-size: 17px;
  font-style: normal;
  place-items: center;
}

.service-card h3 {
  margin: 30px 0 12px;
  font-size: 13px;
}

.service-card p {
  max-width: 520px;
  margin-bottom: 22px;
  color: #61716c;
  font-size: 14px;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.service-card__tags span {
  padding: 5px 9px;
  color: #5a6e67;
  background: #f2f6f2;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.service-card > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.service-card:nth-child(1) {
  color: #fff;
  background: var(--green-dark);
}

.service-card:nth-child(1) p,
.service-card:nth-child(1) .service-card__top > span {
  color: #c8d9d2;
}

.service-card:nth-child(1) .service-card__tags span {
  color: #dce9e4;
  background: rgba(255, 255, 255, 0.09);
}

.service-card:nth-child(1) > a {
  color: var(--lime);
}

.service-card:nth-child(6) {
  background:
    radial-gradient(circle at 15% 10%, rgba(200, 240, 90, 0.55), transparent 32%),
    #fff;
}

.selection-section {
  padding: 115px 0;
  color: #fff;
  background: #0f2b24;
}

.selection-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
}

.selection-copy {
  position: sticky;
  top: 120px;
  align-self: start;
}

.selection-copy .kicker {
  color: var(--lime);
}

.selection-copy .button--light {
  color: var(--green-dark);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.selection-copy .button--light:hover,
.selection-copy .button--light:focus-visible {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.selection-copy h2 {
  margin: 16px 0 20px;
  font-size: clamp(18px, 2vw, 28px);
}

.selection-copy p {
  margin-bottom: 30px;
  color: #b9cbc5;
}

.selection-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.selection-list li {
  display: grid;
  padding: 27px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  grid-template-columns: 70px 1fr;
}

.selection-list li > span {
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
}

.selection-list h3 {
  margin-bottom: 7px;
  font-size: 13px;
}

.selection-list p {
  margin: 0;
  color: #a9bdb6;
  font-size: 13px;
}

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

.decision-card {
  min-height: 300px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
}

.decision-card--featured {
  background: #e8f4e8;
  transform: translateY(-15px);
}

.decision-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  color: var(--green);
  background: var(--mint);
  border-radius: 16px;
  font-size: 22px;
  place-items: center;
}

.decision-card h3 {
  margin: 28px 0 12px;
  font-size: 13px;
}

.decision-card p {
  color: #64736f;
  font-size: 14px;
}

.decision-card a {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}

.faq-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-intro h2 {
  margin: 14px 0 16px;
  font-size: clamp(16px, 2vw, 24px);
}

.faq-intro p {
  color: #657570;
  font-size: 15px;
}

.faq-list details {
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary i {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: var(--green);
  background: var(--mint);
  border-radius: 10px;
  font-style: normal;
  place-items: center;
  transition: transform 180ms ease;
}

.faq-list details[open] summary i {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 720px;
  margin: 15px 0 0;
  padding-left: 50px;
  color: #61716c;
  font-size: 14px;
}

.consultation-section {
  padding: 100px 0;
  color: #fff;
  background:
    radial-gradient(circle at 13% 20%, rgba(200, 240, 90, 0.15), transparent 28%),
    #0d3027;
}

.consultation-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
}

.consultation-grid h2 {
  margin: 20px 0;
  font-size: clamp(19px, 2.25vw, 30px);
}

.consultation-grid > div > p {
  color: #b9cbc4;
  font-size: 15px;
}

.consultation-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.consultation-points span {
  padding: 7px 10px;
  color: #d6e4df;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
}

.email-contact-card {
  display: grid;
  padding: 30px;
  gap: 18px;
  color: var(--ink);
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

.email-contact-card__label {
  color: #6c7a76;
  font-size: 13px;
  font-weight: 700;
}

.email-contact-card__address {
  direction: ltr;
  unicode-bidi: isolate;
  overflow-wrap: anywhere;
  color: var(--green-dark);
  font-family: Arial, Tahoma, sans-serif;
  font-size: clamp(17px, 2.3vw, 28px);
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

.email-contact-card p {
  margin: 0;
  color: #667670;
  font-size: 13px;
}

.email-contact-card .button {
  width: 100%;
}

.site-footer {
  padding: 70px 0 22px;
  color: #d9e5e1;
  background: #091f19;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.7fr);
  gap: 55px;
}

.brand--footer .brand-mark {
  background: #fff;
}

.brand--footer .brand-mark i {
  background: var(--green);
}

.brand--footer small {
  color: #849b93;
}

.footer-intro p {
  max-width: 340px;
  margin: 22px 0;
  color: #8fa49d;
  font-size: 13px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a8b9b3;
  font-size: 13px;
  font-weight: 700;
}

.footer-status span {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(200, 240, 90, 0.1);
}

.site-footer h2 {
  margin: 6px 0 18px;
  color: #fff;
  font-size: 16px !important;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin: 9px 0;
}

.site-footer li a {
  color: #8fa49d;
  font-size: 13px;
  font-weight: 700;
}

.site-footer li a:hover {
  color: var(--lime);
}

.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 18px;
}

.footer-legal-row a {
  color: #a4b6b0;
  font-size: 13px;
  font-weight: 700;
}

.footer-legal-row a:hover,
.footer-legal-row a:focus-visible {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 20px;
  color: #71877f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 9px;
}

/* ==========================================================================
   Service pages — shared editorial layer
   ========================================================================== */

.service-page {
  --service-accent: var(--green);
  --service-soft: var(--mint);
  --service-deep: var(--green-dark);
}

.service-hero {
  position: relative;
  padding: 34px 0 88px;
  overflow: hidden;
  background: #f7faf6;
  border-bottom: 1px solid var(--line);
}

.service-hero::after {
  position: absolute;
  top: 0;
  left: -130px;
  width: 430px;
  height: 430px;
  content: "";
  background: var(--service-soft);
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
}

.service-hero__inner {
  position: relative;
  z-index: 1;
}

.service-hero .breadcrumb {
  margin-bottom: 52px;
}

.service-hero__grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 70px;
}

.service-index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--service-accent);
  font-size: 13px;
  font-weight: 700;
}

.service-index::before {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

.service-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(21px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: 0;
}

.service-hero h1 em {
  color: var(--service-accent);
  font-style: normal;
}

.service-hero__lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 2.05;
}

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-page .button:not(.button--ghost):not(.button--light) {
  background: var(--service-accent);
  border-color: var(--service-accent);
}

.service-hero__panel {
  position: relative;
  min-height: 440px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.service-hero__panel::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px dashed color-mix(in srgb, var(--service-accent) 30%, transparent);
  border-radius: 29px;
  pointer-events: none;
}

.metric-orbit {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 370px;
  place-items: center;
}

.metric-orbit__core {
  position: relative;
  z-index: 2;
  display: grid;
  width: 165px;
  height: 165px;
  padding: 20px;
  color: #fff;
  background: var(--service-deep);
  border: 12px solid var(--service-soft);
  border-radius: 50%;
  text-align: center;
  place-content: center;
}

.metric-orbit__core strong {
  display: block;
  font-size: 34px;
  font-weight: 700;
}

.metric-orbit__core span {
  font-size: 13px;
}

.metric-orbit__item {
  position: absolute;
  display: grid;
  min-width: 125px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.metric-orbit__item strong {
  color: var(--service-accent);
  font-size: 16px;
}

.metric-orbit__item span {
  color: #75847f;
  font-size: 13px;
}

.metric-orbit__item:nth-child(2) {
  top: 35px;
  right: 28px;
}

.metric-orbit__item:nth-child(3) {
  top: 130px;
  left: 2px;
}

.metric-orbit__item:nth-child(4) {
  right: 5px;
  bottom: 28px;
}

.metric-orbit__item:nth-child(5) {
  bottom: 14px;
  left: 76px;
}

.service-photo {
  width: var(--shell);
  height: 300px;
  margin: 34px auto;
  overflow: hidden;
  background: #e8efea;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-sales .service-photo img,
.theme-installation .service-photo img {
  object-position: 18% center;
}

.theme-repair .service-photo img,
.theme-maintenance .service-photo img,
.theme-coupling .service-photo img {
  object-position: 52% center;
}

.theme-parts .service-photo img,
.theme-emergency .service-photo img,
.theme-ats .service-photo img,
.theme-sizing .service-photo img {
  object-position: 86% center;
}

.service-toc {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.service-toc__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 62px;
  overflow-x: auto;
  scrollbar-width: none;
}

.service-toc__inner::-webkit-scrollbar {
  display: none;
}

.service-toc strong {
  flex: 0 0 auto;
  color: var(--service-accent);
  font-size: 13px;
}

.service-toc a {
  flex: 0 0 auto;
  color: #65756f;
  font-size: 13px;
  font-weight: 700;
}

.article-shell {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 55px;
}

.article-main {
  min-width: 0;
}

.prose-section {
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.prose-section:first-child {
  padding-top: 0;
}

.prose-section__number {
  display: inline-flex;
  margin-bottom: 13px;
  color: var(--service-accent);
  font-size: 13px;
  font-weight: 700;
}

.prose-section h2 {
  margin-bottom: 20px;
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 700;
}

.prose-section h3 {
  margin: 31px 0 12px;
  font-size: 13px;
}

.prose-section p {
  color: #425650;
  font-size: 16px;
  line-height: 2.15;
}

.prose-section p + p {
  margin-top: 18px;
}

.prose-section strong {
  color: var(--ink);
}

.article-aside {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 14px;
}

.aside-card {
  padding: 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.aside-card--accent {
  color: #fff;
  background: var(--service-deep);
  border-color: var(--service-deep);
}

.aside-card h2,
.aside-card h3 {
  margin-bottom: 12px;
  font-size: 13px;
}

.aside-card p {
  margin-bottom: 14px;
  color: #65756f;
  font-size: 13px;
}

.aside-card--accent p {
  color: #c3d1cc;
}

.aside-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aside-card li {
  position: relative;
  margin: 10px 0;
  padding-right: 15px;
  color: #586a64;
  font-size: 13px;
  font-weight: 700;
}

.aside-card--accent li {
  color: #d5e0dc;
}

.aside-card li::before {
  position: absolute;
  top: 9px;
  right: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--service-accent);
  border-radius: 50%;
}

.aside-card--accent li::before {
  background: var(--lime);
}

.aside-card a {
  color: var(--service-accent);
  font-size: 13px;
  font-weight: 700;
}

.aside-card--accent a {
  color: var(--lime);
}

.highlight-box {
  position: relative;
  margin: 34px 0;
  padding: 30px 32px;
  overflow: hidden;
  background: var(--service-soft);
  border-right: 4px solid var(--service-accent);
  border-radius: 18px;
}

.highlight-box::after {
  position: absolute;
  top: -50px;
  left: -30px;
  width: 130px;
  height: 130px;
  content: "";
  border: 1px solid color-mix(in srgb, var(--service-accent) 25%, transparent);
  border-radius: 50%;
}

.highlight-box h3 {
  margin-top: 0;
  color: var(--service-deep);
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

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

.content-list--two {
  grid-template-columns: 1fr 1fr;
}

.content-list li {
  position: relative;
  padding: 17px 44px 17px 17px;
  color: #435650;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 13px;
}

.content-list li::before {
  position: absolute;
  top: 18px;
  right: 17px;
  display: grid;
  width: 18px;
  height: 18px;
  color: var(--service-accent);
  content: "✓";
  background: var(--service-soft);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  place-items: center;
}

.data-table-wrap {
  margin: 32px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.data-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
}

.data-table th,
.data-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: right;
}

.data-table th {
  color: var(--service-deep);
  background: var(--service-soft);
  font-weight: 700;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.process-flow {
  display: grid;
  margin: 34px 0;
  padding: 0;
  counter-reset: process;
  list-style: none;
  gap: 11px;
}

.process-flow li {
  position: relative;
  display: grid;
  min-height: 84px;
  align-items: center;
  padding: 18px 74px 18px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  counter-increment: process;
}

.process-flow li::before {
  position: absolute;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  color: #fff;
  content: counter(process, decimal-leading-zero);
  background: var(--service-accent);
  border-radius: 13px;
  font-size: 13px;
  font-weight: 700;
  place-items: center;
}

.process-flow strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.process-flow span {
  color: #6a7a75;
  font-size: 13px;
}

.quote-panel {
  margin: 42px 0;
  padding: 38px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent),
    var(--service-deep);
  border-radius: 25px;
}

.quote-panel blockquote {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.9;
}

.quote-panel footer {
  margin-top: 20px;
  color: #b9cac4;
  font-size: 13px;
}

.service-faq {
  margin-top: 35px;
}

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

.service-faq summary {
  font-size: 15px;
  font-weight: 700;
  list-style: none;
}

.service-faq summary::-webkit-details-marker {
  display: none;
}

.service-faq p {
  margin: 12px 0 0;
  color: #586a64;
  font-size: 13px;
}

.related-services {
  padding: 90px 0;
  background: #eef4ee;
}

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

.related-card {
  display: flex;
  min-height: 185px;
  flex-direction: column;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.related-card span {
  color: #96a59f;
  font-size: 13px;
  font-weight: 700;
}

.related-card h3 {
  margin: 20px 0 8px;
  font-size: 13px;
}

.related-card p {
  color: #697a74;
  font-size: 13px;
}

.related-card a {
  margin-top: auto;
  color: var(--service-accent);
  font-size: 13px;
  font-weight: 700;
}

.service-cta {
  padding: 85px 0;
  color: #fff;
  background: var(--service-deep);
}

.service-cta__inner {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 0.8fr;
  gap: 70px;
}

.service-cta h2 {
  margin-bottom: 15px;
  font-size: clamp(16px, 2vw, 25px);
}

.service-cta p {
  margin-bottom: 0;
  color: #bdcec8;
}

.service-cta__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ==========================================================================
   Ten distinct service visual languages
   ========================================================================== */

.theme-sales {
  --service-accent: #126b52;
  --service-soft: #dff5e7;
  --service-deep: #0a4d3a;
}

.theme-sales .service-hero__panel {
  background:
    linear-gradient(rgba(18, 107, 82, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 107, 82, 0.06) 1px, transparent 1px),
    #fff;
  background-size: 24px 24px;
}

.theme-repair {
  --service-accent: #b94d3f;
  --service-soft: #fae9e4;
  --service-deep: #652a24;
}

.theme-repair .service-hero {
  background: #fff8f5;
}

.diagnostic-panel {
  display: grid;
  height: 100%;
  align-content: center;
  gap: 10px;
}

.diagnostic-line {
  display: grid;
  align-items: center;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid #eedbd5;
  border-radius: 13px;
  grid-template-columns: 10px 1fr auto;
  gap: 11px;
}

.diagnostic-line > i {
  width: 8px;
  height: 8px;
  background: #62a977;
  border-radius: 50%;
}

.diagnostic-line.is-alert > i {
  background: var(--service-accent);
}

.diagnostic-line span {
  color: #705d57;
  font-size: 13px;
  font-weight: 700;
}

.diagnostic-line strong {
  color: var(--service-accent);
  font-size: 13px;
}

.theme-maintenance {
  --service-accent: #2f7b61;
  --service-soft: #e2f3e9;
  --service-deep: #164b3b;
}

.theme-maintenance .service-hero {
  background:
    radial-gradient(circle at 80% 20%, #e2f3e9 0 12%, transparent 12.2%),
    #f7fbf8;
}

.calendar-board {
  display: grid;
  height: 100%;
  align-content: center;
  gap: 12px;
}

.calendar-board__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.calendar-board__header strong {
  font-size: 18px;
}

.calendar-board__header span {
  padding: 5px 10px;
  color: var(--service-accent);
  background: var(--service-soft);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.calendar-row {
  display: grid;
  align-items: center;
  padding: 12px;
  background: #f9fbf8;
  border-radius: 12px;
  grid-template-columns: 56px 1fr 56px;
}

.calendar-row > span {
  color: #7e8d88;
  font-size: 13px;
  font-weight: 700;
}

.calendar-row strong {
  font-size: 13px;
}

.calendar-row i {
  height: 6px;
  background: var(--service-soft);
  border-radius: 8px;
}

.theme-installation {
  --service-accent: #966b24;
  --service-soft: #fbf0d9;
  --service-deep: #5b421d;
}

.theme-installation .service-hero {
  background: #fffaf1;
}

.site-plan {
  position: relative;
  min-height: 360px;
  background:
    linear-gradient(rgba(150, 107, 36, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 107, 36, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  border: 1px solid #eadcbc;
  border-radius: 20px;
}

.site-plan__block {
  position: absolute;
  display: grid;
  padding: 14px;
  color: var(--service-deep);
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--service-accent);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 700;
  place-items: center;
}

.site-plan__block:nth-child(1) {
  top: 38px;
  right: 30px;
  width: 45%;
  height: 100px;
}

.site-plan__block:nth-child(2) {
  top: 165px;
  right: 20%;
  width: 50%;
  height: 80px;
}

.site-plan__block:nth-child(3) {
  right: 42px;
  bottom: 28px;
  width: 38%;
  height: 67px;
}

.site-plan__block:nth-child(4) {
  bottom: 35px;
  left: 29px;
  width: 28%;
  height: 85px;
}

.theme-parts {
  --service-accent: #6f5db7;
  --service-soft: #eeeafd;
  --service-deep: #3d3268;
}

.theme-parts .service-hero {
  background: #faf9ff;
}

.parts-grid-visual {
  display: grid;
  height: 100%;
  align-content: center;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.part-tile {
  display: grid;
  min-height: 120px;
  padding: 15px;
  background: #fff;
  border: 1px solid #e4def6;
  border-radius: 15px;
}

.part-tile i {
  display: grid;
  width: 36px;
  height: 36px;
  color: var(--service-accent);
  background: var(--service-soft);
  border-radius: 10px;
  font-style: normal;
  place-items: center;
}

.part-tile strong {
  align-self: end;
  font-size: 13px;
}

.theme-emergency {
  --service-accent: #d47a22;
  --service-soft: #fff0d9;
  --service-deep: #6d3d14;
}

.theme-emergency .service-hero {
  background: #fffaf3;
}

.readiness-gauge {
  display: grid;
  height: 100%;
  min-height: 360px;
  place-items: center;
}

.readiness-gauge__ring {
  display: grid;
  width: 235px;
  height: 235px;
  background:
    radial-gradient(circle at center, #fff 0 58%, transparent 58.5%),
    conic-gradient(var(--service-accent) 0 78%, #f0e7d9 78% 100%);
  border-radius: 50%;
  place-items: center;
}

.readiness-gauge__ring div {
  text-align: center;
}

.readiness-gauge__ring strong {
  display: block;
  color: var(--service-accent);
  font-size: 48px;
  font-weight: 700;
}

.readiness-gauge__ring span {
  color: #88715d;
  font-size: 13px;
  font-weight: 700;
}

.theme-ats {
  --service-accent: #2e72a0;
  --service-soft: #e1f0f7;
  --service-deep: #173f59;
}

.theme-ats .service-hero {
  background: #f5fafc;
}

.power-flow {
  display: grid;
  height: 100%;
  align-content: center;
  grid-template-columns: 1fr 60px 1fr;
  gap: 10px;
}

.power-node {
  display: grid;
  min-height: 120px;
  color: var(--service-deep);
  background: #fff;
  border: 2px solid var(--service-accent);
  border-radius: 18px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  place-content: center;
}

.power-node--load {
  grid-column: 2 / span 2;
  width: 70%;
  min-height: 80px;
  justify-self: center;
}

.power-switch {
  position: relative;
  display: grid;
  min-height: 120px;
  color: #fff;
  background: var(--service-deep);
  border-radius: 18px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  place-content: center;
}

.theme-coupling {
  --service-accent: #367f78;
  --service-soft: #e0f2ef;
  --service-deep: #1b4c48;
}

.theme-coupling .service-hero {
  background: #f4faf9;
}

.assembly-stack {
  display: grid;
  height: 100%;
  align-content: center;
  gap: 9px;
}

.assembly-layer {
  position: relative;
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 19px;
  color: #fff;
  background: var(--service-deep);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(27, 76, 72, 0.12);
}

.assembly-layer:nth-child(even) {
  margin-inline: 25px;
  color: var(--service-deep);
  background: var(--service-soft);
}

.assembly-layer strong {
  font-size: 13px;
}

.assembly-layer span {
  font-size: 13px;
  opacity: 0.75;
}

.theme-sizing {
  --service-accent: #1b7660;
  --service-soft: #ddf4e8;
  --service-deep: #0e493a;
}

.theme-sizing .service-hero {
  background:
    linear-gradient(120deg, transparent 0 72%, rgba(27, 118, 96, 0.06) 72% 100%),
    #f7fbf8;
}

.calculator-card {
  position: relative;
  z-index: 1;
}

.calculator-card h2 {
  margin-bottom: 5px;
  font-size: 13px;
}

.calculator-card > p {
  margin-bottom: 20px;
  color: #687a74;
  font-size: 13px;
}

.calculator-fields {
  display: grid;
  gap: 11px;
}

.calculator-fields label {
  display: grid;
  gap: 5px;
  color: #536760;
  font-size: 13px;
  font-weight: 700;
}

.calculator-fields input,
.calculator-fields select {
  width: 100%;
  min-height: 45px;
  padding: 0 12px;
  background: #f7faf7;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.calculator-result {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 17px;
  padding: 18px;
  color: #fff;
  background: var(--service-deep);
  border-radius: 14px;
}

.calculator-result span {
  font-size: 13px;
}

.calculator-result strong {
  font-size: 30px;
}

.calculator-result small {
  font-size: 13px;
}

.calculator-disclaimer {
  margin: 10px 0 0;
  color: #788781;
  font-size: 13px;
}

/* ==========================================================================
   Page-specific content modules
   ========================================================================== */

.comparison-cards {
  display: grid;
  margin: 32px 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.comparison-card {
  padding: 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.comparison-card.is-recommended {
  background: var(--service-soft);
  border-color: var(--service-accent);
}

.comparison-card small {
  color: var(--service-accent);
  font-size: 13px;
  font-weight: 700;
}

.comparison-card h3 {
  margin: 13px 0 9px;
}

.comparison-card p {
  margin-bottom: 0;
  font-size: 13px;
}

.symptom-grid {
  display: grid;
  margin: 30px 0;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.symptom-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.symptom-card span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  color: var(--service-accent);
  background: var(--service-soft);
  border-radius: 9px;
  font-size: 13px;
  place-items: center;
}

.symptom-card h3 {
  margin: 15px 0 7px;
  font-size: 13px;
}

.symptom-card p {
  margin: 0;
  font-size: 13px;
}

.timeline {
  position: relative;
  display: grid;
  margin: 34px 0;
  gap: 0;
}

.timeline::before {
  position: absolute;
  top: 10px;
  right: 21px;
  bottom: 10px;
  width: 1px;
  content: "";
  background: var(--line);
}

.timeline article {
  position: relative;
  padding: 0 65px 30px 0;
}

.timeline article::before {
  position: absolute;
  z-index: 1;
  top: 3px;
  right: 11px;
  width: 20px;
  height: 20px;
  content: "";
  background: var(--service-accent);
  border: 6px solid var(--service-soft);
  border-radius: 50%;
}

.timeline time {
  color: var(--service-accent);
  font-size: 13px;
  font-weight: 700;
}

.timeline h3 {
  margin: 5px 0 8px;
}

.risk-matrix {
  display: grid;
  margin: 30px 0;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.risk-cell {
  min-height: 115px;
  padding: 15px;
  background: #f7faf7;
  border-radius: 12px;
}

.risk-cell.is-high {
  background: #f9e8e3;
}

.risk-cell.is-medium {
  background: #fff2d9;
}

.risk-cell.is-low {
  background: #e5f3e9;
}

.risk-cell strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.risk-cell span {
  color: #657670;
  font-size: 13px;
}

.spec-sheet {
  margin: 30px 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.spec-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.spec-sheet__head h3 {
  margin: 0;
}

.spec-sheet__head span {
  color: var(--service-accent);
  font-size: 13px;
  font-weight: 700;
}

.spec-sheet__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.spec-sheet__grid div {
  display: grid;
  padding: 12px;
  background: #f7faf7;
  border-radius: 10px;
}

.spec-sheet__grid small {
  color: #84928d;
  font-size: 13px;
}

.spec-sheet__grid strong {
  font-size: 13px;
}

/* ==========================================================================
   Component guides
   ========================================================================== */

.component-page--engine {
  --service-accent: #a65d16;
  --service-soft: #fff0d9;
  --service-deep: #68400f;
}

.component-page--alternator {
  --service-accent: #2878a8;
  --service-soft: #e3f3fb;
  --service-deep: #174f70;
}

.component-page--controller {
  --service-accent: #6b58b2;
  --service-soft: #eeeafe;
  --service-deep: #413475;
}

.component-page--ats {
  --service-accent: #087a6b;
  --service-soft: #dcf6ef;
  --service-deep: #075246;
}

.component-page .service-hero__panel {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--service-soft) 52%, #fff), #fff 72%);
}

.component-page--engine .service-photo img {
  object-position: 14% 55%;
}

.component-page--alternator .service-photo img {
  object-position: 42% 52%;
}

.component-page--controller .service-photo img {
  object-position: 70% 50%;
}

.component-page--ats .service-photo img {
  object-position: 92% 50%;
}

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal-page {
  background: #f7faf7;
}

.legal-hero {
  padding: 54px 0 76px;
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 240, 90, 0.35), transparent 23%),
    linear-gradient(145deg, #f8fbf5, #eef6f0);
  border-bottom: 1px solid var(--line);
}

.legal-page--terms .legal-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(233, 168, 70, 0.2), transparent 23%),
    linear-gradient(145deg, #fbfaf6, #f4f2e9);
}

.legal-hero .breadcrumb {
  margin-bottom: 54px;
}

.legal-hero h1 {
  max-width: 900px;
  margin: 12px 0 22px;
  font-size: clamp(30px, 4.5vw, 56px);
}

.legal-hero > .shell > p {
  max-width: 850px;
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 2;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-meta span {
  padding: 8px 13px;
  color: #50645d;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(164, 187, 176, 0.6);
  border-radius: 999px;
  font-size: 13px;
}

.legal-section {
  padding-top: 72px;
}

.legal-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 70px;
}

.legal-nav {
  position: sticky;
  top: 112px;
  display: grid;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  gap: 4px;
}

.legal-nav strong {
  margin-bottom: 10px;
  font-size: 15px;
}

.legal-nav a {
  padding: 7px 9px;
  color: #586b65;
  border-radius: 8px;
  font-size: 14px;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: var(--green-dark);
  background: var(--surface-soft);
}

.legal-content {
  min-width: 0;
  padding: 12px 46px 52px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.legal-content > section {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}

.legal-content > section:last-child {
  border-bottom: 0;
}

.legal-content h2 {
  margin-bottom: 20px;
}

.legal-content h3 {
  margin: 30px 0 10px;
}

.legal-content p,
.legal-content li {
  color: #3f514c;
  line-height: 2.05;
}

.legal-content a:not(.button) {
  color: var(--green);
  border-bottom: 1px solid color-mix(in srgb, var(--green) 35%, transparent);
}

.legal-highlight,
.legal-note {
  padding: 22px 24px;
  background: #f2f8f1;
  border: 1px solid #d8e8da;
  border-right: 4px solid var(--lime);
  border-radius: 16px;
}

.legal-highlight ul,
.legal-rights {
  margin: 0;
  padding-right: 22px;
}

.legal-highlight p:last-child,
.legal-note:last-child {
  margin-bottom: 0;
}

.legal-table-wrap {
  margin: 26px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.legal-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: top;
}

.legal-table th {
  color: var(--green-dark);
  background: #edf5ef;
  font-size: 14px;
}

.legal-table td {
  color: #445650;
  font-size: 14px;
  line-height: 1.8;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-grid {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.legal-grid article {
  padding: 20px;
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.legal-grid strong {
  color: var(--green-dark);
}

.legal-grid p {
  margin: 7px 0 0;
  font-size: 14px;
}

.legal-rights li,
.legal-steps li {
  margin-bottom: 12px;
}

.legal-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0;
  padding: 20px;
  background: var(--green-dark);
  border-radius: 18px;
  gap: 18px;
}

.legal-contact strong {
  color: #fff;
  font-family: Arial, Tahoma, sans-serif;
  font-size: 16px;
}

.legal-contact .button {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

/* ==========================================================================
   About page
   ========================================================================== */

.about-page {
  background: #fbfcf8;
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 92px;
  background:
    radial-gradient(circle at 13% 18%, rgba(200, 240, 90, 0.32), transparent 25%),
    linear-gradient(145deg, #fbfcf8 0%, #eff7f1 100%);
  border-bottom: 1px solid var(--line);
}

.about-hero .breadcrumb {
  position: relative;
  z-index: 1;
  margin-bottom: 58px;
}

.about-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  gap: 72px;
}

.about-hero h1 {
  max-width: 820px;
  margin: 20px 0 24px;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.32;
}

.about-hero h1 em {
  position: relative;
  color: var(--green);
  font-style: normal;
}

.about-hero h1 em::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 100%;
  height: 8px;
  background: var(--lime);
  border-radius: 999px;
  content: "";
}

.about-hero__grid > div:first-child > p {
  max-width: 790px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 2;
}

.about-hero__panel {
  padding: 28px;
  color: #fff;
  background: var(--green-dark);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px 28px 8px 28px;
  box-shadow: 0 28px 70px rgba(9, 46, 37, 0.18);
}

.about-hero__panel-label {
  display: block;
  margin-bottom: 16px;
  color: var(--lime);
  font-size: 13px;
}

.about-hero__panel div {
  display: grid;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  grid-template-columns: 48px 1fr;
  gap: 13px;
}

.about-hero__panel div:last-child {
  border-bottom: 0;
}

.about-hero__panel strong {
  color: var(--lime);
  font-size: 14px;
}

.about-hero__panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.about-intro__grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 90px;
}

.about-intro h2 {
  position: sticky;
  top: 120px;
  margin-top: 14px;
}

.about-copy {
  padding-right: 36px;
  border-right: 3px solid var(--lime);
}

.about-copy p {
  color: #40524d;
  font-size: 17px;
  line-height: 2.15;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-principles {
  padding: 92px 0;
  background: #edf4ef;
  border-block: 1px solid var(--line);
}

.about-principles__grid {
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.about-principles__grid article {
  min-height: 285px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #d9e4dd;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.about-principles__grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  color: var(--green-dark);
  background: var(--lime);
  border-radius: 14px 14px 4px 14px;
  font-size: 13px;
  place-items: center;
}

.about-principles__grid h3 {
  margin: 46px 0 12px;
}

.about-principles__grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.about-method__grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 90px;
}

.about-method__intro {
  position: sticky;
  top: 120px;
}

.about-method__intro h2 {
  margin: 14px 0 18px;
}

.about-method__intro p {
  color: var(--ink-soft);
  line-height: 2;
}

.about-method__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.about-method__steps li {
  display: grid;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 58px 1fr;
  gap: 20px;
}

.about-method__steps li:first-child {
  padding-top: 0;
}

.about-method__steps li > span {
  display: grid;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 14px;
  place-items: center;
}

.about-method__steps h3 {
  margin: 0 0 8px;
}

.about-method__steps p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.9;
}

.about-scope {
  padding: 92px 0;
  background: var(--green-dark);
}

.about-scope .section-heading h2,
.about-scope .kicker {
  color: #fff;
}

.about-scope .kicker {
  opacity: 0.72;
}

.about-scope__grid {
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-scope__grid article {
  padding: 30px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
}

.about-scope__grid article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 20px;
}

.about-scope__grid span {
  color: var(--lime);
  font-size: 13px;
}

.about-scope__grid h3 {
  margin: 0;
  color: #fff;
}

.about-scope__grid p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.95;
}

.about-scope__grid a {
  color: var(--lime);
  font-size: 14px;
}

.about-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 54px;
  color: #fff;
  background:
    radial-gradient(circle at 8% 20%, rgba(200, 240, 90, 0.22), transparent 24%),
    var(--green);
  border-radius: 32px;
  gap: 48px;
}

.about-contact h2 {
  max-width: 720px;
  margin: 13px 0 14px;
  color: #fff;
}

.about-contact p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.95;
}

.about-contact .kicker {
  color: var(--lime);
}

.about-contact .button {
  flex: 0 0 auto;
  direction: ltr;
}

.about-credit {
  padding: 0 0 82px;
}

.about-credit p {
  margin: 0;
  padding-top: 30px;
  color: #65746f;
  border-top: 1px solid var(--line);
  font-size: 14px;
  text-align: center;
}

.about-credit a {
  color: var(--green);
  border-bottom: 1px solid rgba(17, 118, 87, 0.32);
}

.about-credit a:hover,
.about-credit a:focus-visible {
  color: var(--green-dark);
  border-bottom-color: var(--green-dark);
}

.not-found {
  display: grid;
  min-height: 100vh;
  padding: 40px;
  background:
    radial-gradient(circle at 20% 30%, var(--mint), transparent 30%),
    var(--paper);
  place-items: center;
}

.not-found__card {
  max-width: 650px;
  padding: 55px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  text-align: center;
}

.not-found__card strong {
  display: block;
  color: var(--green);
  font-size: 80px;
  line-height: 1;
}

.not-found__card h1 {
  margin: 20px 0 12px;
  font-size: 17px;
}

.not-found__card p {
  color: var(--ink-soft);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1020px) {
  .desktop-nav,
  .text-action {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .home-hero__grid,
  .service-hero__grid {
    grid-template-columns: 1fr;
  }

  .generator-visual {
    min-height: 480px;
  }

  .generator-photo {
    height: 480px;
  }

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(6) {
    grid-column: span 6;
  }

  .article-shell {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 32px;
  }

  .legal-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 34px;
  }

  .legal-content {
    padding-inline: 34px;
  }

  .about-hero__grid,
  .about-intro__grid,
  .about-method__grid {
    gap: 46px;
  }

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

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

  .footer-grid > div:last-child {
    display: none;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 30px, 680px);
  }

  .section,
  .services-section,
  .selection-section,
  .related-services {
    padding: 78px 0;
  }

  .home-hero {
    padding-top: 55px;
  }

  .section-heading--split,
  .explain-grid,
  .selection-grid,
  .faq-grid,
  .consultation-grid,
  .service-cta__inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .selection-copy,
  .faq-intro {
    position: static;
  }

  .decision-grid,
  .related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .decision-card--featured {
    transform: none;
  }

  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .trust-strip > span {
    grid-column: 1 / -1;
  }

  .article-shell {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
  }

  .legal-nav strong {
    width: 100%;
  }

  .about-hero__grid,
  .about-intro__grid,
  .about-method__grid {
    grid-template-columns: 1fr;
  }

  .about-intro h2,
  .about-method__intro {
    position: static;
  }

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

  .article-aside {
    position: static;
    grid-row: 1;
    grid-template-columns: 1fr 1fr;
  }

  .service-cta__actions {
    justify-content: flex-start;
  }

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

  .footer-intro {
    grid-column: 1 / -1;
  }

  .comparison-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .header-inner {
    min-height: 74px;
  }

  .brand small,
  .header-actions .button {
    display: none;
  }

  .mobile-menu {
    inset-top: 74px;
  }

  .hero-copy h1,
  .service-hero h1 {
    font-size: 21px;
  }

  .hero-copy > p,
  .service-hero__lead {
    font-size: 15px;
  }

  .hero-actions .button,
  .service-hero__actions .button {
    width: 100%;
  }

  .hero-proof {
    gap: 10px;
  }

  .hero-proof div {
    padding-inline: 9px;
  }

  .generator-visual {
    min-height: 390px;
    border-radius: 35px 35px 14px 35px;
  }

  .generator-photo {
    height: 390px;
  }

  .service-photo {
    height: 220px;
    border-radius: 20px;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
    padding: 22px 18px;
  }

  .explain-main {
    padding: 28px;
    border-radius: 24px;
  }

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(6) {
    min-height: 300px;
    grid-column: span 12;
  }

  .decision-grid,
  .related-grid,
  .content-list--two,
  .symptom-grid,
  .spec-sheet__grid,
  .risk-matrix {
    grid-template-columns: 1fr;
  }

  .email-contact-card {
    padding: 20px;
  }

  .service-hero {
    padding-bottom: 60px;
  }

  .service-hero .breadcrumb {
    margin-bottom: 38px;
  }

  .service-hero__panel {
    min-height: 380px;
    padding: 20px;
    border-radius: 27px;
  }

  .metric-orbit__item {
    min-width: 100px;
    padding: 10px;
  }

  .article-aside {
    grid-template-columns: 1fr;
  }

  .prose-section {
    padding: 44px 0;
  }

  .prose-section p {
    font-size: 15px;
  }

  .highlight-box,
  .quote-panel {
    padding: 24px;
  }

  .quote-panel blockquote {
    font-size: 17px;
  }

  .service-cta__actions {
    display: grid;
  }

  .legal-hero {
    padding: 38px 0 54px;
  }

  .legal-hero .breadcrumb {
    margin-bottom: 38px;
  }

  .legal-hero > .shell > p {
    font-size: 16px;
  }

  .legal-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-content {
    padding: 0 22px 30px;
    border-radius: 22px;
  }

  .legal-content > section {
    padding: 38px 0;
  }

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

  .legal-contact {
    align-items: stretch;
    flex-direction: column;
  }

  .legal-contact .button {
    width: 100%;
  }

  .about-hero {
    padding: 38px 0 60px;
  }

  .about-hero .breadcrumb {
    margin-bottom: 38px;
  }

  .about-hero h1 {
    font-size: 31px;
  }

  .about-hero__grid > div:first-child > p {
    font-size: 16px;
  }

  .about-hero__panel,
  .about-contact {
    padding: 24px;
    border-radius: 22px;
  }

  .about-copy {
    padding-right: 20px;
  }

  .about-copy p {
    font-size: 16px;
  }

  .about-principles,
  .about-scope {
    padding: 72px 0;
  }

  .about-principles__grid,
  .about-scope__grid {
    grid-template-columns: 1fr;
  }

  .about-principles__grid article {
    min-height: 0;
  }

  .about-scope__grid article > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .about-contact .button {
    width: 100%;
  }

  .power-flow {
    grid-template-columns: 1fr;
  }

  .power-node--load {
    width: 100%;
    grid-column: auto;
  }

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

  .footer-grid > div {
    display: block !important;
  }

  .footer-intro {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
