:root {
  --bg: #172023;
  --surface: #222d31;
  --ink: #f4f2eb;
  --muted: #bdc9cd;
  --line: #52646b;
  --accent: #e8b66a;
  --action: #b92e27;
  --action-ink: #fff;
  --wrap: 1280px;
  --header: 88px;
  --radius: 2px;
  --heading: "AKIRO Web Heading", Arial, sans-serif;
  --body: "AKIRO Web Sans", Arial, sans-serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 24px);
}
body {
  margin: 0;
  padding-bottom: 28px;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure {
  margin: 0;
}
button {
  border-radius: var(--radius);
}
button,
a {
  touch-action: manipulation;
}
button:not(.button) {
  font: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
a:hover {
  text-decoration-thickness: 2px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(calc(100% - 40px), var(--wrap));
  margin-inline: auto;
}
.section {
  padding-block: 76px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: -0.025em;
}
h1,
h2 {
  font-family: var(--heading);
  font-weight: 400;
}
h1 {
  font-size: clamp(58px, 8.5vw, 124px);
  margin-bottom: 28px;
}
h2 {
  font-size: clamp(42px, 4.5vw, 66px);
  margin-bottom: 28px;
}
h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
h2 em {
  font-style: normal;
  color: var(--accent);
}
p {
  margin-bottom: 22px;
}
.eyebrow {
  font:
    600 11px/1.5 "Courier New",
    monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 15px 22px;
  min-height: 54px;
  font: 700 14px/1.4 var(--body);
  border: 1px solid transparent;
  text-decoration: none;
  border-radius: var(--radius);
  text-align: center;
  transition:
    background 0.15s,
    color 0.15s;
}
.button.primary {
  background: var(--action);
  color: var(--action-ink);
  border-color: var(--action);
}
.button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.button:hover {
  filter: brightness(1.12);
}
.text-link {
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
  min-height: 44px;
  padding-block: 10px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.section-heading {
  margin-bottom: 40px;
}
.section-heading > p:last-child {
  color: var(--muted);
  max-width: 420px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.navrow {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: block;
  flex-shrink: 0;
}
.brand img {
  width: 152px;
  height: auto;
}
.desktop-nav {
  display: none;
}
.header-phone {
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  margin-left: auto;
}
.menu-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 10px 14px;
  background: none;
  border: 0;
  font-size: 14px !important;
  min-height: 48px;
}
.menu-trigger span {
  font-size: 20px;
}
.desktop-link {
  display: none;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 20px;
  z-index: 200;
  background: var(--action);
  color: var(--action-ink);
  padding: 12px;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}
.num {
  font:
    12px/1.2 "Courier New",
    monospace;
  color: var(--accent);
}
.service-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  padding: 24px 0;
}
.service-row {
  border-top: 1px solid var(--line);
}
.service-row:last-child {
  border-bottom: 1px solid var(--line);
}
.service-row h3 {
  margin: 0;
}
.plus {
  margin-left: auto;
  font:
    28px/1 Arial,
    sans-serif;
  transition: transform 0.15s;
}
.service-toggle[aria-expanded="true"] .plus {
  transform: rotate(45deg);
}
.service-panel {
  padding: 0 0 28px;
  display: grid;
  gap: 20px;
}
.service-panel p {
  color: var(--muted);
  max-width: 470px;
}
.service-panel img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.gallery-photo {
  padding: 0;
  border: 0;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  display: block;
  width: 100%;
  text-align: left;
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}
.gallery-photo:hover img {
  transform: scale(1.025);
}
.photo-expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  background: #111c;
  color: white;
  display: grid;
  place-items: center;
}
.mazda-grid {
  display: grid;
  gap: 36px;
}
.mazda-image {
  position: relative;
  min-height: 300px;
}
.mazda-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: #152127e8;
  padding: 8px 12px;
  color: #fff;
  font:
    10px "Courier New",
    monospace;
  letter-spacing: 0.1em;
}
.mazda-copy > p:not(.eyebrow) {
  color: var(--muted);
}
.mazda-copy h3 {
  margin-top: 30px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 24px;
}
.steps li {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.steps li > span {
  display: block;
  color: var(--accent);
  font:
    28px/1.2 "Courier New",
    monospace;
  margin-bottom: 28px;
}
.steps p {
  color: var(--muted);
  max-width: 360px;
  margin: 0;
}
.contact-section {
  background: var(--surface);
}
.contact-grid {
  display: grid;
  gap: 42px;
}
.contact-info h2 {
  margin-bottom: 36px;
}
.big-phone {
  display: block;
  text-decoration: none;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.contact-email {
  font-size: 17px;
}
.contact-info dl {
  margin: 32px 0;
  display: grid;
  gap: 24px;
}
.contact-info dt {
  font:
    11px "Courier New",
    monospace;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.contact-info dd {
  margin: 0;
}
.contact-info dd small {
  font-size: 14px;
  color: var(--muted);
}
.contact-note {
  max-width: 390px;
  color: var(--muted);
  font-size: 15px;
  margin-top: 30px;
}
.form-card {
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg);
}
.demo-label {
  font:
    10px/1.6 "Courier New",
    monospace;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 22px;
}
.form-card h3 {
  font-size: 28px;
}
.form-intro {
  font-size: 14px;
  color: var(--muted);
}
.fields {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}
.fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}
.fields input,
.fields select,
.fields textarea {
  width: 100%;
  min-width: 0;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px;
  font-size: 16px;
  min-height: 50px;
  line-height: 1.4;
}
.fields input::placeholder,
.fields textarea::placeholder {
  color: var(--muted);
  opacity: 1;
  font-size: 14px;
}
.fields textarea {
  resize: vertical;
}
.form-card .button {
  width: 100%;
}
.form-note {
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0 0;
}
.form-status:empty {
  display: none;
}
.form-status {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 18px;
  margin-top: 20px;
  font-size: 15px;
}
.mobile-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: fixed;
  bottom: 28px;
  inset-inline: 0;
  z-index: 34;
  box-shadow: 0 -5px 20px #0002;
  background: var(--bg);
}
.mobile-contact a {
  min-height: 54px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  border-top: 1px solid var(--line);
}
.mobile-contact a:last-child {
  background: var(--action);
  color: var(--action-ink);
  border-top-color: var(--action);
}
footer {
  padding: 52px 0 38px;
  background: #101719;
  color: #e8eceb;
}
.footer-main {
  display: grid;
  gap: 28px;
}
.footer-main p {
  font-size: 14px;
  color: #bbc5c5;
  margin: 0;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 30px 0;
}
.legal-links button {
  background: none;
  border: 0;
  text-align: left;
  font-size: 12px !important;
  color: #d0d8d8;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
  padding: 4px 0;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  border-top: 1px solid #414a4c;
  padding-top: 24px;
  font-size: 11px;
  color: #b7c2c2;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom a {
  margin-left: auto;
}
dialog {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--bg);
  width: min(800px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  overscroll-behavior: contain;
  border-radius: var(--radius);
}
dialog::backdrop {
  background: #081012bd;
  backdrop-filter: blur(5px);
}
.dialog-close,
.legal-close {
  display: block;
  position: sticky;
  top: 0;
  margin: 12px 12px 0 auto;
  padding: 10px 18px;
  min-height: 44px;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
}
.dialog-body,
.legal {
  padding: 24px;
}
.dialog-body h2,
.legal h2 {
  font-size: 36px;
}
.dialog-body > img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  margin-bottom: 24px;
}
.dialog-body details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.dialog-body summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 32px;
}
.dialog-body details p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 18px;
}
.legal p,
.legal li {
  font-size: 15px;
}
.legal h3 {
  font-size: 23px;
  margin-top: 26px;
}
.lightbox {
  width: min(1140px, calc(100% - 24px));
}
.lightbox figure {
  padding: 16px;
}
.lightbox img {
  width: 100%;
  max-height: 72dvh;
  object-fit: contain;
  background: #101719;
}
.lightbox figcaption {
  font-size: 14px;
  margin-top: 14px;
}
.nav-dialog {
  width: calc(100% - 24px);
  max-width: 560px;
  padding: 24px;
  margin-top: 12px;
}
.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.menu-top button {
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px;
  min-height: 44px;
}
.nav-dialog nav {
  display: grid;
  margin: 32px 0;
}
.nav-dialog nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 25px;
  text-decoration: none;
}
.nav-dialog > p {
  font-size: 14px;
  color: var(--muted);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.contact-section:target {
  scroll-margin-top: 24px;
}
@media (max-width: 760px) {
  body {
    padding-bottom: 82px;
  }
  .section {
    padding-block: 58px;
  }
  .header {
    --header: 72px;
    height: 72px;
  }
  .brand img {
    width: 126px;
  }
  .navrow {
    gap: 10px;
  }
  .header-phone {
    font-size: 12px;
  }
  .menu-trigger {
    font-size: 12px !important;
    padding-left: 8px;
  }
  .header-phone {
    display: none;
  }
  .menu-trigger {
    margin-left: auto;
  }
  .hero-actions .button {
    flex: 1 1 auto;
    padding-inline: 14px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-lead {
    font-size: 18px;
  }
  .form-card {
    padding: 22px 18px;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-bottom a {
    margin-left: 0;
  }
  .contact-info h2 {
    font-size: 48px;
  }
}
@media (min-width: 761px) {
  .wrap {
    width: min(calc(100% - 80px), var(--wrap));
  }
  .section {
    padding-block: 100px;
  }
  .desktop-nav {
    display: flex;
    margin-left: auto;
    gap: 28px;
  }
  .desktop-nav a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
  }
  .header-phone {
    margin-left: 20px;
  }
  .theme-a .menu-trigger,
  .theme-b .menu-trigger {
    display: none;
  }
  .section-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 0 56px;
  }
  .section-heading > .eyebrow {
    grid-column: 1/-1;
  }
  .section-heading h2 {
    margin-bottom: 0;
  }
  .section-heading > p:last-child {
    margin: 0;
  }
  .service-panel {
    grid-template-columns: 1fr 1fr;
    margin-left: 48px;
    align-items: center;
    gap: 60px;
  }
  .service-panel img {
    height: 300px;
  }
  .service-toggle {
    font-size: 28px !important;
  }
  .mazda-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: center;
  }
  .mazda-image {
    height: 530px;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .steps li > span {
    margin-bottom: 42px;
  }
  .contact-grid {
    grid-template-columns: 0.95fr 1fr;
    gap: 80px;
  }
  .contact-info dl {
    grid-template-columns: 1fr 1fr;
  }
  .fields {
    grid-template-columns: 1fr 1fr;
  }
  .fields .full {
    grid-column: 1/-1;
  }
  .form-card {
    padding: 36px;
  }
  .mobile-contact {
    display: none;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }
  .dialog-body,
  .legal {
    padding: 36px;
  }
  .desktop-link {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

html {
  scroll-behavior: auto;
}

body {
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  font-variation-settings: "wdth" 100;
}
h1,
h2 {
  font-family: var(--heading);
  font-weight: 600;
  letter-spacing: -0.025em;
  text-transform: none;
  line-height: 1.08;
}
h1 {
  font-size: clamp(70px, 8.7vw, 126px);
}
h2 {
  font-size: clamp(40px, 4.4vw, 64px);
  margin: 0;
}
h2 em {
  font-style: normal;
  color: #bbcbd0;
}
h3 {
  font-family: var(--heading);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.16;
  font-size: 25px;
}
.eyebrow {
  font: 500 12px/1.55 var(--body);
  letter-spacing: 0.105em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.muted {
  color: var(--muted);
}
.button {
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 500;
  min-height: 56px;
  gap: 28px;
  padding-inline: 24px;
}
.button.secondary {
  border-color: #83949b;
}
.button:hover {
  filter: none;
  box-shadow: inset 0 0 0 1px currentColor;
}
.button.primary:hover {
  background: #a52822;
}
.button.primary {
  border-color: transparent;
}
.text-link {
  font-size: 15px;
  font-weight: 500;
}
.section {
  padding-block: 78px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: #172023f7;
  border-bottom: 1px solid #47585e;
}
.navigation {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 28px;
}
.brand img {
  width: 156px;
}
.desktop-nav {
  display: none;
}
.nav-phone {
  margin-left: auto;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.nav-phone span {
  margin-left: 12px;
}
.menu-trigger {
  margin-left: auto;
  background: none;
  border: 0;
  padding: 10px 0;
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 14px !important;
  min-height: 48px;
}
.menu-trigger span {
  font-size: 21px;
}
.hero {
  display: grid;
  gap: 36px;
  padding-block: 40px 34px;
}
.hero-copy {
  min-width: 0;
}
.hero h1 {
  font-size: 76px;
  line-height: 0.98;
  margin: 25px 0 26px;
}
.hero .eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 0;
}
.status-dot {
  display: inline-block;
  vertical-align: middle;
  width: 6px;
  height: 6px;
  background: var(--accent);
  margin: 0 7px 2px 0;
}
.period {
  color: var(--accent);
}
.hero-lead {
  font-size: 19px;
  line-height: 1.6;
  color: #c7d1d4;
  max-width: 460px;
  margin-bottom: 28px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.actions .button {
  flex: 1 1 calc(50% - 5px);
  min-width: 0;
  gap: 16px;
  padding-inline: 14px;
  font-size: 14px;
}
.hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 32px;
  color: #b8c7cc;
  font-size: 11px;
  letter-spacing: 0.045em;
  font-weight: 500;
}
.hero-photo {
  position: relative;
  min-width: 0;
}
.hero-photo > img {
  width: 100%;
  height: 355px;
  object-fit: cover;
  object-position: 45% 50%;
}
.hero-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 13px;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: #becbd0;
}
.photo-tag {
  position: absolute;
  bottom: 49px;
  right: 16px;
  color: #fff4dc;
  background: #172023dd;
  border-left: 2px solid #e8b66a;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0;
}
.facts {
  border-block: 1px solid #47585e;
}
.facts .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-block: 12px;
}
.facts p {
  margin: 0;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #3f5057;
}
.facts p > span {
  font-size: 12px;
  color: var(--accent);
  margin-right: 20px;
}
.facts a {
  font-size: 13px;
  min-height: 44px;
  padding-top: 15px;
  color: #d3dcdf;
}
.intro {
  display: grid;
  gap: 28px;
}
.intro-copy p {
  color: var(--muted);
  max-width: 570px;
}
.intro-copy p:first-child {
  font-size: 21px;
  color: #e1e7e8;
}
.intro-copy p:last-child {
  margin-bottom: 0;
}
.services-section {
  background: #222d31;
}
.section-head {
  display: grid;
  gap: 26px;
  margin-bottom: 40px;
}
.section-head > p,
.section-head > div > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 510px;
  margin-bottom: 0;
}
.service-columns {
  display: grid;
  gap: 42px;
}
.service-group {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font: 500 13px/1.5 var(--body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: #e8b66a;
}
.service-group span {
  color: #b4c5cb;
  font-size: 12px;
}
.service {
  display: grid;
  grid-template-columns: 25px 1fr 42px;
  gap: 12px;
  border-top: 1px solid #586b74;
  padding: 22px 0;
}
.service-number {
  font-size: 12px;
  line-height: 1.8;
  color: #afc2ca;
  margin-top: 3px;
}
.service h3 {
  font-size: 24px;
  margin: 0 0 10px;
}
.service p {
  font-size: 15px;
  line-height: 1.6;
  color: #bfccd2;
  margin: 0;
  max-width: 420px;
}
.service-action {
  width: 42px;
  height: 46px;
  display: grid;
  place-items: center;
  text-decoration: none;
  border: 1px solid #657b86;
  font-size: 22px;
  color: #e5bb80;
}
.service-action:hover {
  background: #354850;
}
.service-note {
  display: flex;
  align-items: start;
  gap: 17px;
  margin-top: 15px;
  padding: 22px;
  background: #1a2529;
}
.service-note > span {
  color: var(--accent);
  font-size: 30px;
  line-height: 1;
}
.service-note p {
  margin: 0;
  font-size: 15px;
  color: #bdcdd3;
}
.service-note a {
  display: inline-block;
  padding-top: 6px;
  min-height: 40px;
  color: #eef2ee;
}
.story {
  background: #efefe7;
  color: #243237;
  --muted: #4a5e65;
  --accent: #79531e;
  --ink: #243237;
  --line: #a3b1b0;
}
.story h2 em {
  color: #526970;
}
.story .section-head {
  gap: 24px;
}
.story .section-head > div > p:not(.eyebrow) {
  max-width: 480px;
  color: #4a5e65;
}
.story-context {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 16px !important;
}
.story-grid {
  display: grid;
  gap: 32px;
}
.photo-button {
  display: block;
  border: 0;
  background: #0e191e;
  padding: 0;
  width: 100%;
  position: relative;
  text-align: left;
  overflow: hidden;
}
.photo-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}
.photo-button:hover img {
  transform: scale(1.02);
}
.photo-button:focus-visible {
  outline: 3px solid #b56821;
  outline-offset: 5px;
}
.expand {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  background: #0d191edb;
  color: #f4f2eb;
  display: grid;
  place-items: center;
  font-size: 24px;
}
.story-grid .photo-button {
  height: 330px;
}
.story-before img {
  object-position: 50% 50%;
}
.story-during img {
  object-position: 50% 64%;
}
.story-after img {
  object-position: 50% 55%;
}
.story-grid figcaption {
  padding-top: 22px;
}
.story-grid figcaption > span {
  font-size: 12px;
  letter-spacing: 0.09em;
  font-weight: 500;
  color: #695020;
}
.story-grid h3 {
  font-size: 28px;
  margin: 12px 0;
}
.story-grid p {
  font-size: 16px;
  line-height: 1.6;
  color: #4a5e65;
  margin: 0;
  max-width: 390px;
}
.story-end {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
  border-top: 1px solid #a3b1b0;
  margin-top: 38px;
  padding-top: 26px;
}
.story-end p {
  font-size: 15px;
  margin: 0;
  color: #4a5e65;
}
.story-end strong {
  font-weight: 500;
  color: #243237;
}
.story-end .text-link {
  color: #243237;
}
.gallery .section-head {
  align-items: end;
}
.gallery-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}
.gallery-controls > span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-right: auto;
  color: #bfced4;
}
.gallery-controls button {
  width: 50px;
  height: 50px;
  border: 1px solid #7d939e;
  background: none;
  font-size: 24px !important;
  line-height: 1;
}
.gallery-controls button:hover {
  background: #31434b;
}
.gallery-stage {
  outline-offset: 8px;
}
.gallery-slide .photo-button {
  height: 350px;
}
.gallery-slide:first-child img {
  object-position: 50% 44%;
}
.gallery-slide:nth-child(2) img {
  object-position: 50% 55%;
}
.gallery-slide:nth-child(3) img {
  object-position: 50% 40%;
}
.gallery-slide:nth-child(4) img {
  object-position: 50% 45%;
}
.gallery-slide figcaption {
  display: grid;
  gap: 12px;
  padding-top: 22px;
}
.gallery-slide figcaption > div > span {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.gallery-slide h3 {
  margin: 8px 0 0;
  font-size: 27px;
}
.gallery-slide figcaption > p {
  color: #bdccd2;
  font-size: 14px;
  margin: 0;
  max-width: 350px;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 26px;
}
.gallery-thumb {
  padding: 3px;
  border: 1px solid #6d8591;
  background: #142026;
  min-width: 0;
  min-height: 54px;
}
.gallery-thumb[aria-pressed="true"] {
  border: 3px solid #e8b66a;
  padding: 1px;
}
.gallery-thumb img {
  height: 64px;
  width: 100%;
  object-fit: cover;
  opacity: 0.65;
}
.gallery-thumb[aria-pressed="true"] img {
  opacity: 1;
}
.specialization {
  background: #233035;
}
.specialization-grid {
  display: grid;
  gap: 30px;
  align-items: center;
}
.specialization figure > img {
  height: 350px;
  width: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.specialization figcaption {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.07em;
  padding-top: 15px;
  color: #c3ced2;
}
.specialization h2 {
  margin-bottom: 28px;
}
.specialization p:not(.eyebrow) {
  max-width: 500px;
  color: #e0e6e8;
}
.specialization p.muted {
  color: #bdccd2;
}
.specialization .button {
  margin-top: 10px;
}
.process ol {
  display: grid;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 24px;
}
.process li {
  border-top: 1px solid #61737c;
  padding-top: 24px;
}
.process li > span {
  font-family: var(--heading);
  font-size: 35px;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 22px;
}
.process li h3 {
  font-size: 27px;
  margin-bottom: 12px;
}
.process li p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 370px;
  margin-bottom: 0;
}
.contact-section {
  background: #e9ece8;
  color: #243237;
  --ink: #243237;
  --bg: #f7f6ef;
  --surface: #dee5e0;
  --muted: #4a5e65;
  --accent: #77521e;
  --line: #809397;
  --action: #b92e27;
  --action-ink: #fff;
}
.contact-section h2 em {
  color: #526970;
}
.contact-section .eyebrow {
  color: #725022;
}
.contact-section .form-card {
  border-top: 3px solid #b92e27;
  border-color: #93a3a4;
  border-top-color: #b92e27;
  background: #f7f6ef;
  box-shadow: 0 12px 40px #11222908;
}
.contact-info h2 {
  font-size: 45px;
}
.contact-info dd small,
.contact-note {
  color: #4a5e65;
}
.contact-info dt {
  font: 500 12px/1.5 var(--body);
  letter-spacing: 0.07em;
}
.big-phone {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 38px;
}
.form-card h3 {
  font-family: var(--heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.12;
}
.demo-label {
  font: 500 11px/1.6 var(--body);
  letter-spacing: 0.05em;
  color: #745522;
}
.fields label {
  font-size: 14px;
  font-weight: 500;
}
.fields input,
.fields select,
.fields textarea {
  border-color: #879a9e;
  background: #f7f6ef;
  font-family: var(--body);
  font-weight: 400;
}
.form-note {
  font-size: 13px;
  color: #4a5e65;
  line-height: 1.6;
}
.form-intro {
  font-size: 15px;
}
.form-card .button {
  font-family: var(--body);
}
.form-status {
  background: #e0e8e1;
  border-color: #526970;
  color: #243237;
  font-size: 15px;
}
.menu-dialog {
  padding: 24px;
  margin-top: 12px;
  border-color: #80959f;
  max-width: 580px;
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.dialog-top button {
  border: 1px solid #81969f;
  padding: 10px;
  min-height: 44px;
  background: none;
  font-size: 14px !important;
}
.dialog-top strong {
  font-size: 17px;
  font-weight: 500;
}
.menu-dialog nav {
  display: grid;
  margin: 26px 0;
}
.menu-dialog nav a {
  padding: 14px 0;
  border-bottom: 1px solid #637b86;
  font-size: 26px;
  font-family: var(--heading);
  text-decoration: none;
}
.menu-dialog p {
  font-size: 15px;
  color: #c1ced3;
}
.mobile-contact {
  bottom: 30px;
  --action: #b92e27;
  --action-ink: #fff;
  background: #172023;
  color: #f4f2eb;
}
.mobile-contact a {
  font-size: 14px;
  min-height: 58px;
}
.footer-main p {
  font-size: 15px;
}
.footer-bottom {
  font-size: 12px;
  line-height: 1.6;
}
.legal-links button {
  font-size: 13px !important;
}
.legal,
.dialog-body {
  font-family: var(--body);
}
.legal h2,
.dialog-body h2 {
  font: 600 38px/1.1 var(--heading);
}
.legal h3 {
  font-family: var(--heading);
  font-size: 26px;
  font-weight: 600;
}
.legal p,
.legal li {
  font-size: 16px;
}
.dialog-close,
.legal-close {
  font-family: var(--body);
  font-size: 14px;
  min-height: 48px;
}
.lightbox figcaption {
  font-size: 15px;
}
.lightbox img {
  object-fit: contain;
}
.skip-link {
  font-size: 15px;
  background: #b92e27;
  color: #fff;
}
a,
button,
input,
textarea,
select,
summary {
  scroll-margin-block: 120px;
}
input,
textarea,
select {
  scroll-margin-bottom: 150px;
}
.gallery-stage:focus-visible {
  outline: 3px solid #e8b66a;
}
@media (max-width: 760px) {
  body {
    padding-bottom: 88px;
  }
  .site-header {
    --header: 76px;
    height: 76px;
  }
  .navigation {
    gap: 16px;
  }
  .nav-phone {
    display: none;
  }
  .brand img {
    width: 136px;
  }
  .hero h1 {
    font-size: clamp(64px, 19vw, 82px);
  }
  .hero-photo figcaption {
    font-size: 10px;
  }
  .hero-foot {
    font-size: 11px;
  }
  .hero-lead {
    font-size: 18px;
  }
  .hero .eyebrow {
    max-width: 310px;
  }
  .contact-info h2 {
    font-size: 43px;
  }
  .photo-tag {
    font-size: 12px;
  }
  .service-action {
    width: 42px;
    height: 48px;
  }
  .section-head > p br {
    display: none;
  }
}
@media (min-width: 761px) {
  .section {
    padding-block: 106px;
  }
  .navigation {
    gap: 28px;
  }
  .desktop-nav {
    display: flex;
    gap: 26px;
    margin-left: auto;
  }
  .desktop-nav a {
    font: 500 14px/1.4 var(--body);
    text-decoration: none;
  }
  .nav-phone {
    margin-left: 20px;
    font-size: 15px;
  }
  .menu-trigger {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr 1.08fr;
    gap: 60px;
    align-items: center;
    padding-block: 58px 38px;
  }
  .hero h1 {
    font-size: clamp(96px, 8.7vw, 126px);
    line-height: 0.98;
    margin: 28px 0;
  }
  .hero .eyebrow {
    font-size: 12px;
  }
  .hero-lead {
    font-size: 21px;
    line-height: 1.6;
    margin-bottom: 32px;
  }
  .actions {
    gap: 12px;
  }
  .actions .button {
    flex: 0 1 auto;
    padding-inline: 23px;
    font-size: 15px;
    gap: 26px;
  }
  .hero-foot {
    margin-top: 42px;
    font-size: 12px;
    gap: 26px;
  }
  .hero-photo > img {
    height: 570px;
    object-position: 46% 50%;
  }
  .hero-photo figcaption {
    font-size: 11px;
    padding-top: 16px;
  }
  .photo-tag {
    bottom: 61px;
    right: 22px;
    font-size: 14px;
    padding: 16px 20px;
  }
  .facts .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 20px;
    gap: 25px;
  }
  .facts p {
    border: 0;
    padding: 0;
    font-size: 15px;
  }
  .facts p > span {
    font-size: 12px;
    margin-right: 14px;
  }
  .facts a {
    padding: 10px 0;
    font-size: 13px;
  }
  .intro {
    grid-template-columns: 1.1fr 1fr;
    gap: 90px;
    align-items: start;
  }
  .intro h2 {
    font-size: 54px;
  }
  .intro-copy {
    padding-top: 41px;
  }
  .intro-copy p:first-child {
    font-size: 23px;
  }
  .section-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 50px;
  }
  .section-head > .gallery-controls {
    justify-self: end;
  }
  .service-columns {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  .service {
    grid-template-columns: 30px 1fr 48px;
    gap: 16px;
    padding: 25px 0;
  }
  .service h3 {
    font-size: 28px;
  }
  .service p {
    font-size: 16px;
  }
  .service-action {
    width: 48px;
    height: 48px;
  }
  .service-group {
    font-size: 14px;
    margin-bottom: 25px;
  }
  .service-note {
    margin-top: 30px;
    padding: 28px;
  }
  .story .section-head {
    gap: 80px;
  }
  .story .section-head > div > p:not(.eyebrow) {
    font-size: 18px;
  }
  .story .section-head .story-context {
    font-size: 13px !important;
    margin-top: 18px !important;
  }
  .story-grid {
    grid-template-columns: 1.1fr 0.83fr 1.1fr;
    gap: 24px;
  }
  .story-grid .photo-button {
    height: 380px;
  }
  .story-grid h3 {
    font-size: 28px;
  }
  .story-grid p {
    font-size: 16px;
  }
  .story-end {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 30px;
    margin-top: 38px;
  }
  .story-end p {
    font-size: 16px;
  }
  .gallery-controls {
    min-width: 225px;
  }
  .gallery-controls > span {
    font-size: 14px;
  }
  .gallery-slide .photo-button {
    height: 570px;
  }
  .gallery-slide figcaption {
    grid-template-columns: 1fr 340px;
    align-items: end;
    gap: 40px;
    padding-top: 25px;
  }
  .gallery-slide figcaption > div > span {
    font-size: 12px;
  }
  .gallery-slide h3 {
    font-size: 33px;
  }
  .gallery-slide figcaption > p {
    font-size: 16px;
  }
  .gallery-thumbs {
    width: 520px;
    gap: 15px;
    margin-top: 30px;
  }
  .gallery-thumb img {
    height: 76px;
  }
  .specialization-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 80px;
  }
  .specialization figure > img {
    height: 520px;
    object-position: 50% 45%;
  }
  .specialization h2 {
    font-size: 58px;
  }
  .specialization figcaption {
    font-size: 12px;
  }
  .specialization p:not(.eyebrow) {
    font-size: 18px;
  }
  .process ol {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .process li > span {
    font-size: 40px;
    margin-bottom: 28px;
  }
  .contact-grid {
    gap: 80px;
    grid-template-columns: 1fr 1fr;
  }
  .contact-info h2 {
    font-size: 59px;
  }
  .big-phone {
    font-size: 44px;
  }
  .form-card h3 {
    font-size: 36px;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .desktop-nav {
    gap: 18px;
  }
  .desktop-nav a {
    font-size: 12px;
  }
  .nav-phone {
    display: none;
  }
  .hero {
    gap: 35px;
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 92px;
  }
  .hero-photo > img {
    height: 530px;
  }
  .actions .button {
    font-size: 14px;
    padding-inline: 15px;
  }
  .intro,
  .service-columns,
  .section-head,
  .specialization-grid,
  .contact-grid {
    gap: 36px;
  }
  .facts a {
    display: none;
  }
  .story-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }
  .story-grid .photo-button {
    height: 300px;
  }
  .specialization h2 {
    font-size: 47px;
  }
  .contact-info h2 {
    font-size: 49px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.hero .eyebrow,
.hero-foot,
.hero-photo figcaption,
.gallery-slide figcaption > div > span,
.specialization figcaption,
.demo-label {
  font-size: 12px;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hero h1 {
    font-size: clamp(66px, 8.8vw, 92px);
  }
  .actions .button {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    font-size: 13px;
    padding-inline: 12px;
    gap: 15px;
  }
}
@media (max-width: 760px) {
  .service {
    grid-template-columns: 25px 1fr 48px;
  }
  .service-action {
    width: 48px;
    height: 48px;
  }
}
.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (min-width: 1101px) {
  .nav-phone {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
  }
}
/* Phase 3: shared production components and long-form specialist page. */
body {
  padding-bottom: 0;
}
.mobile-contact {
  bottom: 0;
}
.anchor-alias {
  display: block;
  scroll-margin-top: 110px;
}
h1,
h2 {
  font-weight: 600;
}
h3 {
  font-family: var(--heading);
  font-weight: 600;
}
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.field input,
.field textarea {
  background: #f7f6ef;
  border: 1px solid #6d858c;
  color: #243237;
  font-size: 16px;
  line-height: 1.5;
  padding: 13px;
  min-height: 50px;
  width: 100%;
  border-radius: 0;
}
.field textarea {
  resize: vertical;
}
.field label {
  font-size: 14px;
  font-weight: 500;
}
.inline-button {
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-align: left;
  min-height: 44px;
}
.form-note {
  margin: 12px 0;
}
.form-status:empty {
  display: none;
}
.form-status {
  padding: 18px;
  margin-top: 18px;
  scroll-margin-block: 140px;
}
.form-card button[type="submit"] {
  width: 100%;
}
.site-footer {
  background: #142026;
  border-top: 1px solid #617680;
  padding: 62px 0 34px;
}
.footer-grid {
  display: grid;
  gap: 28px;
}
.footer-brand img {
  width: 170px;
  height: auto;
}
.footer-grid p {
  font-size: 15px;
  color: #c7d1d4;
}
.footer-label {
  color: #e8b66a;
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-links {
  display: grid;
  justify-items: start;
}
.footer-links button {
  background: none;
  border: 0;
  padding: 10px 0;
  min-height: 44px;
  text-decoration: underline;
  font-size: 14px !important;
  text-align: left;
}
.footer-bottom {
  border-top: 1px solid #617680;
  padding-top: 24px;
  margin-top: 32px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: #c7d1d4;
  font-size: 13px;
}
.legal-close {
  font-size: 24px;
  width: 50px;
  padding: 4px;
}
.legal {
  padding-top: 14px;
}
.legal h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.legal p,
.legal li {
  color: #c7d1d4;
}
.legal a {
  overflow-wrap: anywhere;
}
.menu-dialog nav a {
  font-size: 25px;
}
.site-header .brand {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.site-header .nav-phone {
  white-space: nowrap;
}
.menu-trigger {
  margin-left: auto;
}
.menu-dialog .button {
  width: 100%;
}
.specialist-hero {
  padding: 38px 0 62px;
}
.specialist-hero-grid {
  display: grid;
  gap: 32px;
}
.specialist-hero .hero-media {
  order: 2;
}
.specialist-hero .hero-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: 50% 50%;
}
.specialist-hero h1 {
  font-size: clamp(43px, 11.5vw, 66px);
  line-height: 1.06;
  max-width: 850px;
}
.specialist-hero .hero-lead {
  font-size: 21px;
  color: #e5e7df;
  max-width: 660px;
}
.specialist-hero .lead {
  font-size: 17px;
  color: #bfcdd2;
  max-width: 660px;
}
.stat {
  padding: 20px 0;
  border-block: 1px solid #586b74;
  font-size: 15px;
  margin: 26px 0;
}
.stat strong {
  font-family: var(--heading);
  font-size: 32px;
  color: #e8b66a;
  margin-right: 12px;
}
.specialist-page .tone-surface {
  background: #222d31;
}
.specialist-page .tone-light {
  background: #efefe7;
  color: #243237;
  --muted: #4a5e65;
  --accent: #79531e;
  --ink: #243237;
  --line: #a3b1b0;
}
.specialist-page .section h2 {
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.13;
  max-width: 980px;
  letter-spacing: -0.018em;
}
.specialist-page .section h3 {
  font-size: 27px;
  line-height: 1.2;
  margin-top: 26px;
}
.specialist-page .section p {
  max-width: 860px;
}
.specialist-page .section .lead {
  font-size: 20px;
  line-height: 1.6;
}
.specialist-page .muted {
  color: var(--muted);
}
.grid-2 {
  display: grid;
  gap: 30px;
  align-items: start;
}
.photo {
  min-width: 0;
}
.photo img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: #101a1e;
}
.photo .photo-button {
  height: auto;
}
.caption {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  padding-top: 16px;
  max-width: 760px;
}
.camshaft-gallery,
.gallery3 {
  display: grid;
  gap: 26px;
  margin: 34px 0;
}
.camshaft-gallery img {
  height: 380px;
  object-fit: contain;
}
.gallery3 img {
  height: 380px;
  object-fit: contain;
}
.quote {
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  margin-top: 30px;
  font-size: 21px;
  max-width: 860px;
}
.engine-models-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  margin: 30px 0;
  scroll-margin-block: 120px;
}
.engine-models-table {
  border-collapse: collapse;
  min-width: 660px;
  width: 100%;
  text-align: left;
  font-size: 15px;
}
.engine-models-table caption {
  text-align: left;
  padding: 20px;
  font-size: 14px;
  color: var(--muted);
}
.engine-models-table th,
.engine-models-table td {
  border-top: 1px solid var(--line);
  padding: 18px;
  vertical-align: top;
}
.engine-models-table thead {
  color: var(--accent);
}
.engine-models-table tbody th {
  font-weight: 500;
}
.engine-models-note {
  font-size: 14px;
}
.checklist {
  display: grid;
  gap: 26px;
  margin-top: 32px;
}
.checklist > div {
  border-top: 1px solid var(--line);
}
.checklist h3 {
  margin: 22px 0 14px !important;
}
.number-block {
  display: grid;
  gap: 24px;
}
.number-block .number {
  font-family: var(--heading);
  font-size: 130px;
  line-height: 1;
  color: var(--accent);
}
.specialist-page .steps {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  margin-top: 32px;
}
.specialist-page .step {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.specialist-page .step b {
  font-size: 18px;
  color: var(--accent);
}
.specialist-page .step strong {
  font-weight: 500;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 0;
}
.faq summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}
.faq details p {
  padding: 0 0 14px;
  color: var(--muted);
}
.contact-strip {
  display: flex;
  gap: 16px 30px;
  flex-wrap: wrap;
  margin: 30px 0;
}
.contact-strip a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.specialist-page #kontakt {
  background: #e9ece8;
  color: #243237;
  --ink: #243237;
  --muted: #4a5e65;
  --accent: #77521e;
  --line: #809397;
}
.specialist-page #kontakt .button {
  font-size: 14px;
  min-width: 0;
  white-space: normal;
}
.specialist-page .hero-content .actions .button {
  flex: 1 1 100%;
}
@media (min-width: 761px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
  }
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .field.full {
    grid-column: 1/-1;
  }
  .specialist-hero {
    padding: 60px 0 80px;
  }
  .specialist-hero-grid {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 50px;
  }
  .specialist-hero .hero-media {
    order: 2;
  }
  .specialist-hero .hero-media img {
    height: 660px;
  }
  .specialist-hero h1 {
    font-size: clamp(46px, 5vw, 70px);
  }
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .camshaft-gallery,
  .gallery3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
  }
  .checklist {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 50px;
  }
  .number-block {
    grid-template-columns: 220px 1fr;
    gap: 60px;
  }
  .number-block .number {
    font-size: 190px;
  }
  .specialist-page .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 40px;
  }
  .replacement-parts-photo img {
    max-height: 580px;
  }
}
@media (max-width: 760px) {
  body {
    padding-bottom: 58px;
  }
  .mobile-contact a {
    min-height: 58px;
  }
  .hero .actions .button {
    font-size: 14px;
  }
  .specialist-page .actions .button {
    flex-basis: 100%;
  }
  .specialist-page .section {
    padding-block: 68px;
  }
  .specialist-page .section h2 {
    overflow-wrap: anywhere;
  }
  .photo img {
    max-height: 490px;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .site-header .desktop-nav {
    gap: 16px;
  }
  .site-header .desktop-nav a {
    font-size: 12px;
  }
  .specialist-hero-grid {
    gap: 30px;
  }
  .specialist-hero h1 {
    font-size: 48px;
  }
  .grid-2 {
    gap: 32px;
  }
  .number-block {
    grid-template-columns: 150px 1fr;
    gap: 32px;
  }
  .number-block .number {
    font-size: 135px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  .site-header,
  .mobile-contact,
  dialog,
  .menu-trigger,
  .gallery-controls,
  .gallery-thumbs,
  .form-card {
    display: none !important;
  }
  body {
    padding: 0;
    background: white;
    color: black;
  }
  .wrap {
    width: 100%;
  }
  .section {
    padding-block: 24px;
  }
  a {
    color: inherit;
  }
  .gallery-slide[hidden] {
    display: block !important;
  }
}

/* Integrated form: explicit visual states, no extra animation. */
.form-card button[type="submit"]:disabled { background:#52616a; color:#fff; border-color:#52616a; cursor:not-allowed; }
.form-status[data-stav="chyba"] { border-left:4px solid #9b251e; background:#fff0e8; color:#52251b; }
.form-status[data-stav="ok"] { border-left:4px solid #26704b; background:#eaf5ef; color:#173c2a; }

/* AKIRO owner-reviewed direction: simpler intro, photos where each service is explained. */
.home-photo-revision .hero h1 {
  font-family: var(--body);
  font-size: clamp(44px, 6.2vw, 86px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 16px 0 20px;
}
.home-photo-revision .hero .hero-location {
  color: #d2d9db;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
}
.home-photo-revision .hero-photo figcaption {
  justify-content: flex-start;
  letter-spacing: .04em;
}
.home-photo-revision .service-cards {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
}
.home-photo-revision .service-card {
  display: grid;
  grid-template: auto 1fr / minmax(0,1fr) 44px;
  gap: 0;
  align-items: stretch;
  padding: 0;
  border: 1px solid #4c5e65;
  background: #25343a;
  min-width: 0;
  overflow: hidden;
}
.home-photo-revision .service-photo {
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #192629;
}
.home-photo-revision .service-bezny-servis .service-photo {object-position: center 55%;}
.home-photo-revision .service-rozvody .service-photo {object-position: center 25%;}
.home-photo-revision .service-card-copy {
  padding: 15px 0 19px 16px;
  overflow-wrap: anywhere;
}
.home-photo-revision .service-card h3 {margin-bottom: 5px;}
.home-photo-revision .service-card .service-action {
  height: 100%;
  width: 44px;
  border: 0;
  color: #efc282;
  align-self: stretch;
}
.home-photo-revision .service-card .service-action:focus-visible {outline-offset: -4px;}
.home-photo-revision .service-callout {margin: 18px 0 0; padding: 12px 16px;}
.home-photo-revision .service-callout a {padding: 0 0 0 4px; min-height: auto;}
.home-photo-revision .gallery-slide figcaption h3 {margin-bottom: 0;}
.location-map {
  margin: 22px 0 15px;
  padding: 16px;
  border: 1px solid #a4b0ae;
  background: #f1f1e9;
  color: #243237;
  scroll-margin-top: 86px;
}
.location-map h3 {margin: 0 0 7px; font-size: 23px;}
.location-map p {margin: 0 0 9px;}
.location-map .map-note {font-size: 13px; color: #465c64; margin: 8px 0 0;}
.location-map-actions {display: flex; flex-wrap: wrap; gap: 5px 14px; align-items: center;}
.location-map-actions a {min-height: 44px; display: inline-flex; align-items: center;}
.location-map-panel:not([hidden]) {margin-top: 12px;}
.location-map-panel iframe {display: block; width: 100%; height: 285px; border: 0; background: #eef0e8;}
@media (max-width: 960px) {
  .home-photo-revision .service-cards {grid-template-columns: repeat(2,minmax(0,1fr));}
}
@media (max-width: 540px) {
  .home-photo-revision .hero h1 {font-size: clamp(40px, 13vw, 61px);}
  .home-photo-revision .service-cards {grid-template-columns: 1fr; gap: 14px;}
}

/* Mazda enquiry: retain the desktop table and offer readable facts on a phone. */
.engine-model-cards { display: none; }
#servisni-poptavka { scroll-margin-top: 106px; }
[data-mazda-request][hidden] { display: none !important; }
.mazda-request-label {
  padding: 12px 14px;
  border-left: 3px solid #9b682c;
  background: #eee9dc;
  color: #27343a;
  grid-column: 1 / -1;
  margin: 0 0 4px;
}
.mazda-vin-field small { color: #455960; line-height: 1.45; }
@media (max-width: 760px) {
  .engine-models-scroll { display: none; }
  .engine-model-cards {
    display: grid;
    gap: 12px;
    margin: 20px 0 13px;
  }
  .engine-model-card {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #729099;
    background: #1e3037;
    color: #edf2f0;
  }
  .engine-model-card h3 { color: #edf2f0; font-size: 24px; margin: 0 0 9px; }
  .engine-model-card dl, .engine-model-card dd { margin: 0; }
  .engine-model-card dl > div + div { margin-top: 8px; }
  .engine-model-card dt { color: #c9d9d9; font-size: 14px; }
  .engine-model-card dd { color: #fff4de; font-weight: 600; line-height: 1.4; }
  #servisni-poptavka { scroll-margin-top: 82px; }
}

/* Static arrival map: local, legible and in the AKIRO palette. */
.arrival-map {padding:0; background:#f5f3e9; border:1px solid #a2a7a0; overflow:hidden;}
.arrival-copy {padding:16px 16px 12px;}
.arrival-map .arrival-kicker {margin:0 0 4px; color:#775522; font-size:11px; font-weight:600; letter-spacing:.08em;}
.arrival-map .arrival-copy h3 {font-size:26px; margin:0 0 5px;}
.arrival-map .arrival-copy p {margin-bottom:0;}
.arrival-figure {margin:0; background:#f1ebdd;}
.arrival-figure > img {display:block;width:100%;height:auto;aspect-ratio:720/438;}
.arrival-figure > figcaption {padding:6px 12px;border-top:1px solid #d8d2c3;color:#455961;font-size:12px;}
.arrival-figure > figcaption a {color:inherit;text-underline-offset:2px;}
.arrival-actions {padding-top:12px;}
.arrival-nav {display:inline-flex;gap:9px;min-height:46px;align-items:center;justify-content:center;text-decoration:none;}
.arrival-nav svg {flex:none;}
.service-camera-link {display:inline-block; margin-top:7px; color:#f0c991; text-underline-offset:3px; font-size:14px;}
.camera-check {scroll-margin-top:72px;}
.camera-check-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.18fr);gap:clamp(24px,5vw,65px);align-items:center;}
.camera-check-copy h2 {margin:5px 0 17px;}
.camera-check-copy .button {margin-top:12px;}
.camera-check-photo {margin:0; min-width:0;}
.camera-check-photo img {display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;}
.camera-check-photo figcaption {color:inherit;margin-top:7px;font-size:14px;}
@media (max-width:760px) {
  .camera-check-grid {grid-template-columns:1fr;}
  .arrival-nav {width:100%;}
}

.work-cases {background:#e9ece6;color:#23323a;scroll-margin-top:76px;}
.work-cases .eyebrow {color:#75531f;}
.work-cases-lead {max-width:700px;margin-top:4px;color:#43565d;}
.work-case {background:#f8f7ef;border:1px solid #aab4ac;padding:clamp(16px,3vw,29px);min-width:0;}
.work-case-intro h3 {color:#243237;font-size:clamp(23px,4vw,33px);margin:0 0 7px;}
.work-case-intro p {color:#40535c;margin:0 0 14px;}
.work-case-grid,.gj-parts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start;}
.work-case-grid,#generalka-mazda-6-gj {margin-top:16px;}
.case-compare {display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.case-photo {margin:0 0 13px;min-width:0;}
.work-case .case-photo figcaption {color:#354c54;margin-top:5px;font-weight:600;font-size:14px;}
.work-case .photo-button {aspect-ratio:4/3;width:100%;height:auto;background:#1f2b30;}
.work-case .photo-button img {height:100%;width:100%;object-fit:cover;}
.case-compare .photo-button {aspect-ratio:3/4;max-height:470px;}
.case-compare .photo-button img {object-fit:contain;}
#motor-pred-a-po > .case-photo .photo-button {aspect-ratio:16/7;}
.photo-rotated, .photo-button img.photo-rotated {transform:rotate(180deg);}
.photo-button:hover img.photo-rotated {transform:rotate(180deg) scale(1.02);}
@media(max-width:920px){.work-case-grid,.gj-parts{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.work-case-grid,.gj-parts{grid-template-columns:1fr;} .case-compare{gap:7px;}}

/* Keep the whole documentary shot: car, engine bay and parts in one frame. */
.home-photo-revision .hero-photo--work>img {
  width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;background:#172227;
}
.home-photo-revision .hero-photo--work figcaption a {color:inherit;text-underline-offset:3px;}
.case-video {margin:2px 0 18px;scroll-margin-top:95px;}
.case-video h4 {margin:0 0 3px;color:#263740;font-size:20px;}
.case-video p {margin:0 0 9px;color:#44575e;}
.case-video video {display:block;width:100%;max-width:900px;height:auto;aspect-ratio:16/9;background:#151e20;}
@media(min-width:761px) {.home-photo-revision .hero-photo--work {width:min(100%,515px);justify-self:end;}}

.work-case .mps-bearing .photo-button {aspect-ratio:3/4;max-height:420px;}
.work-case .mps-bearing img {object-fit:contain;}
.gj-parts.gj-parts-single {grid-template-columns:minmax(0,550px);}

/* Job notes and photographs from the workshop. */
.gj-work-summary {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 18px;}
.gj-work-summary>div {padding:14px 16px;border:1px solid #cbd2c6;background:#f0f1e9;color:#344951;min-width:0;}
.gj-work-summary h4 {margin:0 0 5px;color:#23323a;font-size:17px;}
.gj-work-summary ul {margin:0;padding-left:19px;}
.gj-work-summary p {margin:7px 0 0;font-size:14px;}
.sh-job-photos {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2.5vw,24px);margin-top:24px;}
.sh-job-photos .case-photo {margin:0;}
.sh-job-photos .photo-button {display:block;width:100%;aspect-ratio:4/3;background:#192529;}
.sh-job-photos .photo-button img {display:block;width:100%;height:100%;object-fit:contain;}
.sh-job-photos figcaption {padding-top:5px;font-size:14px;}
@media(max-width:650px) {.gj-work-summary,.sh-job-photos {grid-template-columns:1fr;}}

/* Tie parts expertise to the existing introduction and keep case notes scannable. */
.parts-origin {border-top:1px solid currentColor;margin-top:20px;padding-top:15px;}
.intro-copy .parts-origin p:first-child {margin:0 0 8px;font-size:inherit;}
.parts-origin .text-link {display:inline-block;overflow-wrap:anywhere;}
.more-cases {margin-top:clamp(28px,5vw,56px);scroll-margin-top:84px;}
.more-cases>h3 {margin:0 0 11px;color:#23323a;}
.more-cases .work-case {height:100%;display:flex;flex-direction:column;align-items:flex-start;}
.more-cases .work-case-intro {flex:1;}
.more-cases .work-case-intro .eyebrow {color:#75531f;margin-bottom:7px;}
.more-cases h4 {color:#243237;font-size:clamp(19px,2.2vw,24px);line-height:1.15;margin:0 0 8px;}
.more-cases .text-link {color:#59401d;font-size:14px;}

/* Symptom-first entry point and source-backed owner guide. */
.sh-symptoms,.sh-guide,.sh-guide h3[id] {scroll-margin-top:90px;}
.sh-symptoms-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0;}
.sh-symptoms-grid article {padding:clamp(16px,3vw,24px);border:1px solid #647478;background:#273337;min-width:0;}
.specialist-page .sh-symptoms-grid h3 {margin:0 0 7px;font-size:clamp(20px,2.6vw,27px);}
.sh-symptoms-grid p {margin:0 0 11px;}
.sh-symptoms a:not(.button),.sh-guide a {color:#f0c991;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;}
.sh-symptom-safety,.sh-guide-note {border-left:3px solid #c48e48;padding-left:12px;}
.sh-symptoms .actions {margin:18px 0 8px;}
.sh-guide .wrap>p {max-width:760px;}
@media(max-width:680px) {.sh-symptoms-grid {grid-template-columns:1fr;}}

.more-cases .social-part-detail .photo-button img {object-position:50% 74%;}
.more-cases .social-workshop-detail .photo-button img {object-position:50% 58%;}

#vw-passat-b8-viden .case-compare, #vw-t-roc-oprava .case-compare, #mazda-6-mps-po-nehode .case-compare {width:100%;}
#vw-passat-b8-viden .photo-button, #vw-t-roc-oprava .photo-button, #mazda-6-mps-po-nehode .photo-button {aspect-ratio:4/3;}

#vw-t-roc-oprava .troc-stages, #mazda-6-mps-po-nehode .troc-stages {grid-template-columns:repeat(3,minmax(0,1fr));}
@media(max-width:460px){#vw-t-roc-oprava .troc-stages, #mazda-6-mps-po-nehode .troc-stages{grid-template-columns:1fr;}}

/* Both preview and production use the same form controls. */
.preview-form-note {display:none;}
html:has(meta[name="akiro-form-mode"][content="disabled"]) .preview-form-note {display:revert;}
html:has(meta[name="akiro-form-mode"][content="disabled"]) .live-form-note {display:none;}

.more-cases .case-photo-note {margin:8px 0 0;font-size:.8rem;color:#56636a;}
