:root {
  --ink: #24303b;
  --ink-2: #111820;
  --panel: #ffffff;
  --panel-2: #f8fafb;
  --text: #202832;
  --muted: #697684;
  --line: #e3e8ed;
  --paper: #f7f9fa;
  --white: #ffffff;
  --red: #c91f2f;
  --red-dark: #a51624;
  --red-soft: #fff0f2;
  --red-hot: #dc3442;
  --green: #22845a;
  --amber: #b57912;
  --shadow: 0 14px 34px rgba(36, 48, 59, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
}

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

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(201, 31, 47, 0.32);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.route-transition {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  gap: 0.9rem;
  background:
    radial-gradient(circle at 50% 44%, rgba(201, 31, 47, 0.18), transparent 32%),
    rgba(36, 48, 59, 0.9);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.route-transition.is-active {
  opacity: 1;
  transform: translateY(0);
}

.route-transition strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.route-line {
  position: relative;
  width: min(520px, calc(100vw - 48px));
  height: 58px;
}

.route-line::before,
.route-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.route-line::before {
  background: rgba(255, 255, 255, 0.18);
}

.route-line::after {
  background: repeating-linear-gradient(90deg, var(--red) 0 34px, transparent 34px 52px);
  animation: roadDash 640ms linear infinite;
}

.route-car {
  position: absolute;
  left: 0;
  top: 7px;
  width: 92px;
  color: var(--white);
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.35));
}

.route-transition.is-active .route-car {
  animation: carDrive 760ms cubic-bezier(0.64, 0.02, 0.24, 1) both;
}

.route-car svg {
  width: 100%;
  height: auto;
  fill: var(--red);
  stroke: var(--white);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-car circle {
  fill: var(--ink);
}

@keyframes carDrive {
  0% {
    transform: translateX(0) translateY(0);
  }

  56% {
    transform: translateX(calc(min(520px, calc(100vw - 48px)) - 96px)) translateY(-2px);
  }

  100% {
    transform: translateX(calc(min(520px, calc(100vw - 48px)) - 96px)) translateY(0);
  }
}

@keyframes roadDash {
  to {
    background-position: 52px 0;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(16, 20, 25, 0.08);
}

.nav,
.section-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  padding: 0;
  background: transparent;
  border-radius: var(--radius);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-backdrop,
.nav-menu-head,
.nav-menu-note,
.nav-menu-contact {
  display: none;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-cta {
  min-height: 40px;
  padding: 0.58rem 0.95rem;
  color: var(--white) !important;
  background: var(--red);
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  padding: 0.68rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  transition: transform 160ms ease, opacity 160ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(2.6rem, 5vw, 4.6rem);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(36, 48, 59, 0.9) 0%, rgba(36, 48, 59, 0.74) 48%, rgba(36, 48, 59, 0.2) 100%),
    url("assets/ayr-shop-service-bay.jpg") center / cover no-repeat,
    #f7f9fa;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.54fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--red);
}

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

h1 {
  max-width: 700px;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.06rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.65rem 0 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.15;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 14px 30px rgba(201, 31, 47, 0.22);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 710px;
  margin: 0;
}

.hero-stats div {
  min-height: 86px;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.hero-stats dt {
  color: var(--red);
  font-weight: 900;
  font-size: 0.86rem;
}

.hero-stats dd {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
}

.hero-panel {
  display: grid;
  gap: 0.9rem;
}

.corporate-panel {
  align-self: end;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(17, 24, 32, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-photo-card {
  position: relative;
  min-height: 240px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.hero-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.45));
}

.hero-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center;
}

.quote-box {
  padding: 0.85rem;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow);
}

.quote-box span,
.quote-box small {
  display: block;
  color: var(--muted);
}

.quote-box strong {
  display: block;
  margin: 0.12rem 0;
  color: var(--red);
  font-size: 1.18rem;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.service-strip span {
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 0.45rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 900;
}

.section,
.fleet,
.contact {
  padding: clamp(3rem, 6vw, 5.2rem) 0;
}

.intro-band,
.services-section,
.appointment-section,
.guide-section,
.faq-section {
  background: var(--white);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.command-section {
  background:
    linear-gradient(90deg, rgba(201, 31, 47, 0.06), transparent 42%),
    #f8f9fa;
}

.command-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.command-grid p {
  color: var(--muted);
  font-size: 1.06rem;
}

.operations-media {
  position: relative;
  min-height: 360px;
}

.operations-media > img {
  width: 76%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.command-console {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(340px, 72%);
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #2d3844;
  color: var(--white);
  box-shadow: var(--shadow);
}

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

.appointment-shell > .section-heading {
  max-width: 820px;
}

.appointment-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.appointment-steps span {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
  color: var(--muted);
  font-weight: 900;
}

.appointment-steps span.is-active {
  color: var(--red);
  background: var(--red-soft);
  border-color: #f0c4ca;
}

.appointment-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(440px, 1.05fr);
  gap: 1rem;
  align-items: start;
}

.schedule-note {
  display: grid;
  gap: 0.18rem;
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafb;
}

.schedule-note span {
  color: var(--muted);
}

.appointment-help {
  margin-top: 1rem;
  padding: 1rem;
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: #fbfcfd;
}

.appointment-help h3 {
  margin-bottom: 0.55rem;
}

.appointment-help ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.appointment-help li + li {
  margin-top: 0.35rem;
}

.intake-card,
.appointment-card,
.setup-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.intake-card {
  display: grid;
  gap: 1rem;
}

.form-section-title {
  display: grid;
  gap: 0.1rem;
  padding-top: 0.25rem;
}

.form-section-title strong {
  font-size: 1.02rem;
}

.form-section-title span {
  color: var(--muted);
  font-size: 0.9rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.field-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.intake-card label,
.check-field legend {
  display: grid;
  gap: 0.35rem;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 900;
}

.intake-card input,
.intake-card select,
.intake-card textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
  color: var(--text);
  font: inherit;
}

.intake-card textarea {
  resize: vertical;
}

.intake-card input:focus,
.intake-card select:focus,
.intake-card textarea:focus {
  outline: 3px solid rgba(201, 31, 47, 0.14);
  border-color: rgba(201, 31, 47, 0.42);
}

.check-field {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
}

.check-field legend {
  padding: 0 0.3rem;
}

.check-field label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 800;
}

.check-field input {
  width: 16px;
  min-height: 16px;
}

.intake-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.form-message {
  margin: 0;
  min-height: 1.3rem;
  color: var(--muted);
  font-weight: 800;
}

.calendar-column {
  display: grid;
  gap: 1rem;
}

.cal-card {
  min-height: 650px;
  overflow: hidden;
}

.cal-embed {
  width: 100%;
  min-height: 630px;
}

.booking-setup {
  margin-top: 1rem;
}

.summary-card {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
}

.summary-card p {
  margin: 0;
  color: var(--muted);
}

.setup-card {
  box-shadow: none;
  background: #fbfcfd;
}

.client-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
}

.client-note strong,
.client-note span {
  display: block;
}

.client-note strong {
  color: var(--text);
}

.client-note span {
  color: var(--muted);
  margin-right: auto;
}

.light-btn {
  color: var(--text);
  background: var(--white);
  border-color: var(--line);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.guide-grid article {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.guide-tag {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-tag.ok {
  color: #176343;
  background: #e5f5ee;
}

.guide-tag.warn {
  color: #875806;
  background: #fff2d7;
}

.guide-tag.danger {
  color: #8d101b;
  background: #fff0f2;
}

.guide-grid ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.guide-grid li + li {
  margin-top: 0.45rem;
}

.checklist-band {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: #f0f4f6;
  color: var(--muted);
}

.checklist-band strong {
  color: var(--text);
}

.symptom-helper {
  display: grid;
  grid-template-columns: 0.8fr 1.15fr 0.95fr;
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
}

.helper-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.symptom-options {
  display: grid;
  gap: 0.55rem;
}

.symptom-options button {
  min-height: 42px;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.symptom-options button:hover,
.symptom-options button.is-selected {
  border-color: rgba(201, 31, 47, 0.32);
  background: var(--red-soft);
  color: var(--red-dark);
}

.symptom-result {
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(34, 132, 90, 0.22);
  border-radius: var(--radius);
  background: #f0fbf6;
}

.symptom-result strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #176343;
}

.symptom-result p {
  margin-bottom: 0;
  color: var(--muted);
}

.symptom-result.is-warn {
  border-color: rgba(181, 121, 18, 0.28);
  background: #fff8e9;
}

.symptom-result.is-warn strong {
  color: #875806;
}

.symptom-result.is-danger {
  border-color: rgba(201, 31, 47, 0.24);
  background: var(--red-soft);
}

.symptom-result.is-danger strong {
  color: var(--red-dark);
}

.symptom-result.is-empty {
  border-color: var(--line);
  background: var(--white);
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.service-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 32, 0.68);
  backdrop-filter: blur(5px);
}

.modal-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1fr);
  width: min(940px, 100%);
  max-height: min(86vh, 760px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.modal-media {
  min-height: 100%;
  background: var(--ink);
}

.modal-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.modal-body {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.modal-body h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.modal-body > p {
  color: var(--muted);
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}

.modal-grid div,
.modal-advice {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
}

.modal-grid strong,
.modal-advice strong {
  display: block;
  margin-bottom: 0.45rem;
}

.modal-grid ul {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--muted);
}

.modal-grid li + li {
  margin-top: 0.35rem;
}

.modal-advice {
  margin-bottom: 1rem;
  border-color: rgba(201, 31, 47, 0.18);
  background: var(--red-soft);
}

.modal-advice p {
  margin: 0;
  color: var(--text);
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-close span {
  position: absolute;
  left: 11px;
  right: 11px;
  top: 20px;
  height: 2px;
  background: var(--text);
}

.modal-close span:first-child {
  transform: rotate(45deg);
}

.modal-close span:last-child {
  transform: rotate(-45deg);
}

.console-top {
  display: flex;
  gap: 0.4rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.console-top span:first-child {
  background: var(--red);
}

.console-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 62px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pill {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.pill.green {
  color: #176343;
  background: #e5f5ee;
}

.pill.amber {
  color: #875806;
  background: #fff2d7;
}

.pill.red {
  color: #ffdfe1;
  background: rgba(201, 31, 47, 0.18);
}

.console-meter {
  height: 10px;
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.console-meter span {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--red-hot));
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.service-media-grid figure,
.fleet-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-media-grid img,
.fleet-photo img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.service-media-grid figcaption {
  padding: 0.78rem 0.9rem;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 900;
}

.service-card,
.benefit-list article,
.testimonial-grid blockquote {
  margin: 0;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card {
  min-height: 190px;
  cursor: pointer;
}

.service-card:hover,
.service-card:focus-visible,
.benefit-list article:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 31, 47, 0.24);
  box-shadow: 0 16px 38px rgba(16, 20, 25, 0.1);
}

.card-action {
  display: inline-flex;
  align-items: center;
  margin-top: 0.8rem;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 900;
}

.card-action::after {
  content: "+";
  margin-left: 0.35rem;
}

.icon,
.steps span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: #fff0f1;
  color: var(--red);
  font-weight: 900;
  font-size: 0.82rem;
}

.service-card p,
.steps p,
.benefit-list p,
.testimonial-grid p,
.faq-list p,
.contact p {
  color: var(--muted);
}

.fleet {
  color: var(--text);
  background: #eef3f6;
}

.fleet-inner {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.fleet-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.fleet-photo {
  margin: 1rem 0 1.2rem;
}

.fleet-photo img {
  height: 190px;
}

.fleet-board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.board-row {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.board-row:last-child {
  border-bottom: 0;
}

.board-head {
  color: var(--muted);
  background: #f5f7f8;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status {
  width: max-content;
  padding: 0.26rem 0.55rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.status.ok {
  color: #176343;
  background: #e5f5ee;
}

.status.warn {
  color: #875806;
  background: #fff2d7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.steps article {
  min-height: 220px;
  padding: 1.35rem;
  border-right: 1px solid var(--line);
}

.steps article:last-child {
  border-right: 0;
}

.benefits {
  background: #f8f9fa;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.testimonial-grid blockquote {
  background: #fbfcfc;
}

.testimonial-grid p {
  color: var(--text);
  font-size: 1rem;
}

.testimonial-grid cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
}

.narrow {
  width: min(860px, calc(100% - 32px));
}

.faq-list {
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  cursor: pointer;
  padding: 1.15rem 0;
  font-weight: 900;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--red);
}

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

.contact {
  color: var(--text);
  background: #f0f4f6;
}

.contact .eyebrow {
  color: var(--red);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact p {
  color: var(--muted);
  font-size: 1.06rem;
}

.contact-card {
  display: grid;
  gap: 0.78rem;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow);
}

.contact-card a:not(.btn) {
  font-weight: 900;
}

.contact-card address {
  color: var(--muted);
  font-style: normal;
}

.contact-card .btn-secondary {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  min-height: 48px;
  padding: 0.82rem 1rem;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 12px 34px rgba(17, 97, 49, 0.34);
}

.footer {
  padding: 2rem 0;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
}

.footer-logo {
  width: 130px;
  height: 54px;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.26));
}

.footer p {
  margin: 0.35rem 0 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
  font-weight: 800;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 20%, rgba(201, 31, 47, 0.14), transparent 34%),
    linear-gradient(135deg, #f7f9fa, #e9eef2);
}

.error-shell {
  width: min(720px, 100%);
}

.error-card {
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.error-card img {
  width: 220px;
  margin-bottom: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.16));
}

.error-card h1 {
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.error-card p {
  color: var(--muted);
}

.dark-btn {
  color: var(--text);
  border-color: var(--line);
  background: var(--white);
}

@media (max-width: 940px) {
  body.nav-open,
  body.modal-open {
    overflow: hidden;
  }

  .site-header {
    z-index: 90;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    position: relative;
    z-index: 95;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: block;
    background: rgba(17, 24, 32, 0.52);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    width: min(86vw, 380px);
    padding: 1rem;
    overflow-y: auto;
    color: var(--text);
    background: var(--white);
    border-left: 1px solid var(--line);
    box-shadow: -18px 0 50px rgba(16, 20, 25, 0.24);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.78rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfcfd;
    color: var(--text);
    font-weight: 900;
  }

  .nav-links a:hover {
    color: var(--red);
    border-color: rgba(201, 31, 47, 0.28);
  }

  .nav-links .nav-cta {
    justify-content: center;
    min-height: 52px;
    margin-top: 0.35rem;
    border-color: var(--red);
    background: var(--red);
    color: var(--white) !important;
  }

  .nav-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.25rem 0.1rem 0.45rem;
  }

  .nav-menu-head strong,
  .nav-menu-head small {
    display: block;
  }

  .nav-menu-head strong {
    font-size: 1.08rem;
  }

  .nav-menu-head small,
  .nav-menu-note,
  .nav-menu-contact span {
    color: var(--muted);
  }

  .nav-close {
    position: relative;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfcfd;
  }

  .nav-close span {
    position: absolute;
    left: 11px;
    right: 11px;
    top: 20px;
    height: 2px;
    background: var(--text);
  }

  .nav-close span:first-child {
    transform: rotate(45deg);
  }

  .nav-close span:last-child {
    transform: rotate(-45deg);
  }

  .nav-menu-note {
    display: block;
    margin: 0 0 0.35rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
  }

  .nav-menu-contact {
    display: grid;
    gap: 0.1rem;
    margin-top: auto;
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f7f9fa;
  }

  .nav-menu-contact strong {
    color: var(--red);
    font-size: 1.1rem;
  }

  .hero-grid,
  .split,
  .appointment-grid,
  .command-grid,
  .fleet-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 620px;
  }

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

  .service-grid,
  .service-media-grid,
  .symptom-helper,
  .benefit-list,
  .testimonial-grid,
  .guide-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

  .operations-media > img {
    width: 100%;
  }

  .fleet-photo img {
    height: 220px;
  }

  .modal-card {
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-columns: 1fr;
    max-height: 90vh;
  }

  .modal-media img {
    min-height: 220px;
    height: 220px;
  }
}

@media (max-width: 640px) {
  .nav,
  .section-inner,
  .narrow {
    width: min(100% - 24px, 1160px);
  }

  .nav {
    min-height: 66px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-text small {
    display: none;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.58rem;
  }

  h3 {
    font-size: 1rem;
  }

  .hero {
    padding: 1.85rem 0 2rem;
    background:
      linear-gradient(180deg, rgba(36, 48, 59, 0.94) 0%, rgba(36, 48, 59, 0.84) 60%, rgba(36, 48, 59, 0.78) 100%),
      url("assets/ayr-shop-service-bay.jpg") center / cover no-repeat,
      #f7f9fa;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-actions {
    margin: 1.25rem 0;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 0.55rem;
  }

  .hero-stats div {
    min-height: 0;
    padding: 0.75rem;
  }

  .hero-stats dd {
    font-size: 0.88rem;
  }

  .corporate-panel {
    padding: 0.7rem;
    gap: 0.65rem;
  }

  .quote-box {
    padding: 0.75rem;
  }

  .hero-stats,
  .service-grid,
  .service-media-grid,
  .symptom-helper,
  .benefit-list,
  .testimonial-grid,
  .guide-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .appointment-steps,
  .field-grid,
  .field-grid.three,
  .check-field,
  .service-strip,
  .board-row,
  .board-head {
    grid-template-columns: 1fr;
  }

  .appointment-steps {
    gap: 0.45rem;
  }

  .appointment-steps span {
    min-height: 38px;
    justify-items: start;
    padding: 0 0.75rem;
    font-size: 0.88rem;
  }

  .intake-card,
  .appointment-card,
  .setup-card,
  .contact-card {
    padding: 1rem;
  }

  .section-heading {
    margin-bottom: 1.3rem;
  }

  .section,
  .fleet,
  .contact {
    padding: 2.6rem 0;
  }

  .operations-media {
    min-height: auto;
  }

  .operations-media > img {
    height: 220px;
  }

  .command-console {
    position: relative;
    width: 100%;
    margin-top: 0.85rem;
  }

  .hero-photo {
    height: 250px;
  }

  .hero-photo-card,
  .hero-photo-card img,
  .service-media-grid img,
  .fleet-photo img {
    min-height: 0;
    height: 160px;
  }

  .service-card {
    min-height: 0;
  }

  .symptom-helper {
    padding: 0.9rem;
  }

  .symptom-options button {
    min-height: 46px;
  }

  .modal-card {
    width: min(100%, 420px);
    max-height: calc(100dvh - 24px);
  }

  .modal-media img {
    height: 170px;
    min-height: 170px;
  }

  .modal-body {
    padding: 1rem;
    padding-top: 1.25rem;
  }

  .modal-body h2 {
    margin-right: 2.6rem;
    font-size: 1.45rem;
    line-height: 1.15;
  }

  .modal-body > p {
    font-size: 0.95rem;
  }

  .modal-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .modal-close {
    top: 0.65rem;
    right: 0.65rem;
  }

  .service-media-grid figcaption {
    padding: 0.7rem 0.8rem;
  }

  .board-row {
    gap: 0.35rem;
    padding: 0.9rem;
  }

  .footer {
    padding-bottom: 5.5rem;
  }

  .steps article,
  .steps article:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .floating-whatsapp {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 46px;
    padding: 0.75rem 1rem;
    text-align: center;
  }

  .cal-card {
    min-height: 620px;
  }

  .cal-embed {
    min-height: 600px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
