* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

body {
    background: #07111f;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    min-height: 110px;
    padding: 22px 8%;

    background:
      linear-gradient(180deg, rgba(4, 10, 20, 0.12), rgba(4, 10, 20, 0.12)),
      url("images/podium-engine-diagnostics-hero.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right 68%;
    background-color: #07111f;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(214, 170, 69, 0.18);
}

.brand {
    display: flex;
    align-items: center;
    justify-self: start;
  width: auto;
  max-width: min(500px, 42vw);
  min-width: 0;
  flex: 0 1 auto;
}

.brand-icon {
    display: block;
  width: min(380px, 100%);
  min-width: 0;
    max-width: none;
  flex-shrink: 1;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(214,170,69,0.25));
    transition: all 0.35s ease;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #ffffff;
}

.brand-subtitle {
    font-size: 12px;
    letter-spacing: 5px;
    color: #d6aa45;
    margin-top: 4px;
    text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
  gap: 26px;
  min-width: 0;
  max-width: min(100%, 760px);
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  transition: color 0.25s ease;
}

nav a:not(.nav-button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: #d6aa45;
  transition: width 0.25s ease;
}

nav a:not(.nav-button):hover {
  color: #d6aa45;
}

nav a:not(.nav-button):hover::after {
  width: 100%;
}

.nav-button {
  color: #07111f;
  background: #d6aa45;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(214, 170, 69, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.nav-button:hover {
  color: #07111f;
  background: #e0b956;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(214, 170, 69, 0.42);
}
.nav-call-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d6aa45;
    border: 2px solid #d6aa45;
    background: transparent;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.nav-call-button:hover {
    background: #d6aa45;
    color: #07111f;
}

.brand:hover .brand-icon {
  filter: drop-shadow(0 0 18px rgba(214, 170, 69, 0.45));
  transform: scale(1.03);
}
.hero {
    min-height: 82vh;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: 56px;
    padding: 55px 8% 90px;
    background:
        radial-gradient(circle at bottom right, #123f7a 0%, transparent 48%),
        #07111f;
}

/* Restrained hero image treatment: the diagnostics photo lives only in
   the visual column (never behind hero-content text), framed to match
   .diagnostic-panel's own rounded/bordered style, with a gradient overlay
   so the card sitting on top of it stays fully legible. */
.hero-visual {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("images/podium-engine-diagnostics-hero.webp") center 38% / cover no-repeat;
  opacity: 0.6;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(165deg, rgba(7, 17, 31, 0.55) 0%, rgba(7, 17, 31, 0.86) 60%, rgba(7, 17, 31, 0.96) 100%);
}

.hero-content {
    max-width: 900px;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(214,170,69,0.18);
}

.hero-text {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.7;
  color: #d8e2f0;
  margin-bottom: 32px;
}

 .button {
  display: inline-block;
  text-decoration: none;
  margin-right: 14px;
  margin-bottom: 12px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary {
    background: #d6aa45;
    color: #07111f;
    box-shadow: 0 12px 35px rgba(214, 170, 69, 0.22);
}

.secondary {
  border: 1px solid #d6aa45;
  color: #d6aa45;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.trust-section {
  padding: 40px 8% 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  background: #07111f;
}

.trust-card {
  border: 1px solid rgba(214, 170, 69, 0.25);
  background: rgba(255, 255, 255, 0.04);
  padding: 28px;
  border-radius: 22px;
}

.trust-card span {
  color: #d6aa45;
  font-weight: 700;
  font-size: 13px;
}

.trust-card h3 {
  margin: 16px 0 12px;
  font-size: 22px;
}

.trust-card p {
  color: #d8e2f0;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .trust-section {
    grid-template-columns: 1fr;
  }
}.services {
  padding: 90px 8%;
  background: #081523;
}

.services h2 {
  font-size: 42px;
  margin-bottom: 32px;
}

.services {
  padding: 100px 8%;
  background: #081523;
}

.services .container {
  max-width: 1180px;
  margin: 0 auto;
}

.services h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #ffffff;
  margin-bottom: 22px;
}

.services .section-intro {
    max-width: 700px;
    color: rgba(255,255,255,0.78);
    font-size: 1.02rem;
    line-height: 1.65;
    margin-bottom: 30px;
}

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

.area-card {
    padding: 22px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 18px;
    border: 1px solid rgba(214,170,69,0.20);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 14px 35px rgba(0,0,0,0.20);
    transition: all 0.3s ease;
    text-align: center;
}

.area-card:hover {
    transform: translateY(-4px);
    border-color: rgba(214,170,69,0.45);
    background: rgba(255,255,255,0.075);
}

.area-card span {
    display: inline-block;
    color: #d6aa45;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.area-card h3 {
    color: #ffffff;
    font-size: 1.15rem;
    margin: 0;
}

.service-card p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Issue 3.2 Premium Services Grid */

.services {
  padding: 100px 8%;
}

.services .container {
  max-width: 1280px;
  margin: 0 auto;
}

.services h2 {
  max-width: 760px;
  margin-bottom: 18px;
}

.services .section-intro {
  max-width: 820px;
  margin-bottom: 42px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

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

.service-card {
  position: relative;
  min-height: 260px;
  padding: 32px;
  overflow: hidden;

  border: 1px solid rgba(214, 170, 69, 0.18);
  border-radius: 24px;

  background:
    radial-gradient(
      circle at top right,
      rgba(49, 113, 230, 0.16),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.025)
    );

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 3px;

  background: linear-gradient(
    90deg,
    #d6aa45,
    #f0cf76
  );

  box-shadow: 0 0 18px rgba(214, 170, 69, 0.45);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(214, 170, 69, 0.48);

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.34),
    0 0 36px rgba(214, 170, 69, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.service-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;
  margin-bottom: 24px;

  border: 1px solid rgba(214, 170, 69, 0.28);
  border-radius: 16px;

  background: rgba(214, 170, 69, 0.1);

  font-size: 1.6rem;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.18);
}

.service-card h3 {
  margin-bottom: 16px;

  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.2;
}

.service-card p {
  margin: 0;

  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}
@media (max-width: 700px) {

  body {
    overflow-x: hidden;
  }

  .site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
}

  .brand {
    width: 220px;
    max-width: 100%;
    margin: 0 auto;
  }

  .brand-icon {
    width: 100%;
    max-width: 220px;
    height: auto;
  }

  .site-header nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px 14px;
  }

  .site-header nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 8px;
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.25;
  }

  .site-header .nav-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 54px 22px 70px;
  }

  .hero-content {
    width: 100%;
    max-width: none;
  }

  .hero .eyebrow {
    margin-bottom: 14px;
    font-size: 0.82rem;
  }

  .hero h1 {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: clamp(2.8rem, 14vw, 4rem);
    line-height: 0.98;
    letter-spacing: -2px;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-text {
    max-width: 100%;
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-proof span,
  .hero-proof a {
    width: 100%;
    justify-content: flex-start;
    border-radius: 16px;
  }

  .hero-visual {
    width: 100%;
    margin-top: 42px;
  }

  .diagnostic-panel {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 22px;
    border-radius: 24px;
  }

  .diagnostic-header {
    flex-direction: column;
    gap: 12px;
  }

  .system-status {
    align-self: flex-start;
  }

  .diagnostic-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-bar-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .services {
    padding: 74px 20px;
  }

  .services .section-intro {
    margin-bottom: 30px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card {
    min-height: auto;
    padding: 26px;
  }
}

.booking-section {
    padding: 120px 24px;
    background: linear-gradient(135deg, rgba(7, 18, 35, 0.98), rgba(15, 27, 48, 0.98));
    border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.booking-section .container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.section-eyebrow {
  color: #d4af37;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
}

.booking-section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 18px;
  color: #ffffff;
}

.booking-section .section-intro {
  max-width: 720px;
  margin: 0 auto 40px;

.booking-return-banner {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(214, 170, 69, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.booking-return-link {
  width: fit-content;
  color: #f7e2a2;
  font-weight: 800;
  text-decoration: none;
}

.booking-return-link:hover {
  text-decoration: underline;
}

.booking-context-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.booking-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 40px 0;
}

.booking-item {
  padding: 28px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  text-align: left;
}

.booking-item h3 {
  margin-bottom: 12px;
  color: #ffffff;
}

.booking-item p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.booking-section .button {
  display: inline-block;
  margin-top: 10px;
}

@media (max-width: 800px) {
  .booking-card {
    grid-template-columns: 1fr;
  }
}/* Areas Covered Section */

.areas-section {
  padding: 80px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

.areas-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

.areas-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #ffffff;
  margin-bottom: 16px;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.area-card {
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 800px) {
  .areas-grid {
    grid-template-columns: 1fr;
  }
}/* Laurus Standard Section */

.laurus-section {
  padding: 90px 24px;
  background: linear-gradient(135deg, rgba(6, 16, 31, 0.96), rgba(13, 34, 59, 0.96));
  border-top: 1px solid rgba(212, 175, 55, 0.22);
}

.laurus-section .container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.laurus-section h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  color: #ffffff;
  margin-bottom: 18px;
}

.laurus-section .section-intro {
  max-width: 760px;
  margin: 0 auto 42px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

/* Laurus Standard Section */
.laurus-section {
  padding: 100px 24px;
  background: linear-gradient(135deg, rgba(6, 16, 31, 0.96), rgba(13, 34, 59, 0.96));
  border-top: 1px solid rgba(212, 175, 55, 0.22);
}

.laurus-section .container {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.laurus-section h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  color: #ffffff;
  margin-bottom: 18px;
}

.laurus-section .section-intro {
  max-width: 760px;
  margin: 0 auto 46px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.laurus-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.laurus-step {
  padding: 26px 22px;
  border-radius: 22px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(255, 255, 255, 0.055);
  text-align: left;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transition: all 0.3s ease;
}

.laurus-step:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(255, 255, 255, 0.075);
}

.laurus-step span {
  display: inline-block;
  color: #d6aa45;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.laurus-step h3 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.laurus-step p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .laurus-steps {
    grid-template-columns: 1fr;
  }

}
/* Footer Section */
.site-footer {
  background: #050b16;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 70px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 50px;
}

.site-footer h3,
.site-footer h4 {
  color: #ffffff;
  margin-bottom: 16px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  line-height: 1.8;
}

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

.site-footer a:hover {
  color: #d4af37;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 24px;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}/* Issue 1.9 - Trust Bar */

.trust-bar {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.trust-bar-grid {
    display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    text-align: center;
}

.trust-bar-grid div {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 0.95rem;
}
/* Issue 2.0 - Premium Polish */

html {
  scroll-behavior: smooth;
}

.service-card,
.trust-card,
.laurus-card,
.area-card,
.booking-item {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.trust-card:hover,
.laurus-card:hover,
.area-card:hover,
.booking-item:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.button,
.nav-button {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover,
.nav-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(212, 175, 55, 0.22);
}
/* Issue 2.1 - Fade Animation */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero,
.services,
.trust-section,
.booking-section,
.site-footer {
    animation: fadeUp 0.8s ease forwards;
}

    
/* Issue 2 Premium Polish */

body {
  background:
    radial-gradient(circle at 70% 25%, rgba(28, 96, 190, 0.45), transparent 32%),
    linear-gradient(135deg, #050814 0%, #07111f 45%, #0b1f3a 100%);
}

.site-header {
  padding: 12px 8%;
  background:
    linear-gradient(180deg, rgba(3, 10, 22, 0.12), rgba(3, 10, 22, 0.12)),
    url("images/podium-engine-diagnostics-hero.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
  background-color: #07111f;
  border-bottom: 1px solid rgba(214, 170, 69, 0.22);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.hero,
.section,
.booking {
  position: relative;
}

.hero h1,
.section h2,
.booking h2 {
  letter-spacing: -1.5px;
}

.hero p,
.section p,
.booking p {
  color: rgba(255,255,255,0.82);
}

.card,
.service-card,
.booking-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
}

.card:hover,
.service-card:hover,
.booking-card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 170, 69, 0.38);
}

.btn,
.book-btn,
button {
  box-shadow: 0 14px 35px rgba(214, 170, 69, 0.25);
}

.btn:hover,
.book-btn:hover,
button:hover {
  transform: translateY(-2px);
}
/* Issue 3.1 LOS Diagnostic Dashboard */

.diagnostic-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-top: -40px;
  padding: 30px;
  overflow: hidden;
  isolation: isolate;

  border: 1px solid rgba(214, 170, 69, 0.38);
  border-radius: 30px;

  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(55, 123, 255, 0.3),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      rgba(16, 47, 103, 0.96),
      rgba(6, 20, 52, 0.98)
    );

  box-shadow:
    0 34px 95px rgba(0, 0, 0, 0.46),
    0 0 70px rgba(37, 111, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transition:
    transform 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.diagnostic-panel:hover {
  transform: translateY(-8px);
  border-color: rgba(214, 170, 69, 0.64);

  box-shadow:
    0 44px 115px rgba(0, 0, 0, 0.52),
    0 0 90px rgba(37, 111, 255, 0.3),
    0 0 36px rgba(214, 170, 69, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.diagnostic-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -95px;
  right: -75px;
  width: 260px;
  height: 260px;

  border: 1px solid rgba(98, 167, 255, 0.2);
  border-radius: 50%;

  box-shadow:
    0 0 0 28px rgba(75, 143, 255, 0.045),
    0 0 0 58px rgba(75, 143, 255, 0.024);

  animation: diagnostic-pulse 5s ease-in-out infinite;
}

.diagnostic-panel::after {
  content: "";
  position: absolute;
  z-index: 5;
  left: 8%;
  right: 8%;
  top: -10%;
  height: 2px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(92, 169, 255, 0.28),
    rgba(255, 255, 255, 0.92),
    rgba(92, 169, 255, 0.28),
    transparent
  );

  box-shadow: 0 0 18px rgba(92, 169, 255, 0.78);
  opacity: 0;

  animation: diagnostic-scan 5s ease-in-out infinite;
}

.diagnostic-header {
  position: relative;
  z-index: 3;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;

  margin-bottom: 24px;
}

.diagnostic-header p {
  margin: 0 0 8px;

  color: #e0b953;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.diagnostic-header h2 {
  margin: 0;

  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.7px;
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;

  padding: 8px 12px;
  border: 1px solid rgba(80, 220, 150, 0.28);
  border-radius: 999px;

  background: rgba(44, 179, 112, 0.1);
  color: #79e3ae;

  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.system-status::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;

  border-radius: 50%;
  background: #55df9e;

  box-shadow:
    0 0 0 4px rgba(85, 223, 158, 0.1),
    0 0 16px rgba(85, 223, 158, 0.72);

  animation: los-status-pulse 2s ease-in-out infinite;
}

.vehicle-status {
  position: relative;
  z-index: 3;

  margin-bottom: 20px;
  padding: 18px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.92rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;

  border-radius: 50%;
  background: #55df9e;

  box-shadow:
    0 0 0 5px rgba(85, 223, 158, 0.1),
    0 0 18px rgba(85, 223, 158, 0.7);
}

.scan-progress {
  width: 100%;
  height: 8px;
  overflow: hidden;

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.scan-progress-fill {
  width: 100%;
  height: 100%;
  border-radius: inherit;

  background: linear-gradient(
    90deg,
    #2b7cff,
    #61b0ff,
    #e0b953
  );

  box-shadow: 0 0 18px rgba(70, 145, 255, 0.55);
  animation: scan-progress-load 1.4s ease-out both;
}

.scan-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  margin-top: 10px;

  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
}

.scan-meta strong {
  color: #f0c965;
}

.diagnostic-data {
  position: relative;
  z-index: 3;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;

  margin-bottom: 16px;
}

.diagnostic-data div {
  padding: 14px;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.04);
}

.diagnostic-data span {
  display: block;
  margin-bottom: 6px;

  color: rgba(255, 255, 255, 0.54);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.diagnostic-data strong {
  display: block;

  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.25;
}

.analysis-ready {
  position: relative;
  z-index: 3;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  margin-bottom: 16px;
  padding: 14px 16px;

  border: 1px solid rgba(214, 170, 69, 0.28);
  border-radius: 16px;

  background: rgba(214, 170, 69, 0.09);
}

.analysis-ready span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 700;
}

.analysis-ready strong {
  color: #efc962;
  font-size: 0.76rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.diagnostic-footer {
  position: relative;
  z-index: 3;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;

  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);

  color: rgba(255, 255, 255, 0.48);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.diagnostic-footer span:last-child {
  color: #e0b953;
}

.diagnostic-footer-link {
  color: #d6aa45;
  text-decoration: none;
  font-weight: 700;
}

.diagnostic-footer-link:hover {
  color: #ffffff;
}

.diagnostic-footer-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

@keyframes diagnostic-scan {
  0% {
    top: -10%;
    opacity: 0;
  }

  15% {
    opacity: 0.72;
  }

  60% {
    opacity: 0.62;
  }

  76% {
    top: 108%;
    opacity: 0;
  }

  100% {
    top: 108%;
    opacity: 0;
  }
}

@keyframes diagnostic-pulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.55;
  }

  50% {
    transform: scale(1.06);
    opacity: 0.95;
  }
}

@keyframes los-status-pulse {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes scan-progress-load {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .diagnostic-panel {
    margin-top: 0;
    padding: 24px;
  }

  .diagnostic-header {
    align-items: flex-start;
  }

  .diagnostic-data {
    grid-template-columns: 1fr;
  }

  .diagnostic-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .diagnostic-panel,
  .diagnostic-panel::before,
  .diagnostic-panel::after,
  .system-status::before,
  .scan-progress-fill {
    animation: none;
    transition: none;
  }
}

/* Issue 2.3 Premium Hero Proof Badges */

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-proof span,
.hero-proof a {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
}

/* Compact icon-led trust strip (Gripe #6) - consolidates the old hero-proof
   pills and the separate .trust-bar section, which repeated the same three
   messages. Row layout matches .service-route-card's visual language. */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.trust-strip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  border: 1px solid rgba(214, 170, 69, 0.28);
  background: rgba(214, 170, 69, 0.12);
  color: #f7e2a2;
}

.trust-strip-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-strip-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.trust-strip-label {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.86rem;
}

.trust-strip-desc {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  line-height: 1.35;
}

/* Issue 2.4 - Premium Service Cards */

.service-card {
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );
  border: 1px solid rgba(214,170,69,0.18);
  border-radius: 24px;
  padding: 34px;
  transition: all .35s ease;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(214,170,69,.45);
  box-shadow:
    0 30px 80px rgba(0,0,0,.35),
    0 0 40px rgba(214,170,69,.12);
}

.service-card h3 {
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.service-card p {
  color: rgba(255,255,255,.82);
  line-height: 1.8;
}

.service-card::before {
  content: "";
  display: block;
  width: 55px;
  height: 4px;
  background: linear-gradient(90deg,#d6aa45,#ffd76a);
  border-radius: 50px;
  margin-bottom: 18px;
}
/* Issue 3.1 - LOS Timeline */

.service-card p br {
  line-height: 2;
}

.laurus-section .service-card:nth-child(3) {
  border: 1px solid rgba(214,170,69,.38);
  box-shadow:
    0 0 45px rgba(214,170,69,.10),
    0 30px 80px rgba(0,0,0,.35);
}
/* Issue 3.2 - LOS Dashboard Preview */

  .los-preview {
    padding: 48px 8%;
}

.los-dashboard {
  margin-top: 36px;
  max-width: 820px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(214,170,69,.28);
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
}

.los-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.los-row:last-child {
  border-bottom: none;
}

.los-row strong {
  color: #f5d47a;
}
/* Issue 3.3 - Why Podium Stats */

.why-podium {
  padding: 110px 8%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.stat-card {
  padding: 34px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(214,170,69,.22);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.stat-card h3 {
  font-size: 2.6rem;
  color: #f5d47a;
  margin-bottom: 14px;
}

.stat-card p {
  color: rgba(255,255,255,.82);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
.service-card{
    transition: all .35s ease;
    cursor:pointer;
}

.service-card:hover{
    transform:translateY(-10px);
    border-color:#d6aa45;
    box-shadow:0 30px 80px rgba(214,170,69,.22);
}

.service-card:hover h3{
    color:#f5d47a;
}
/* Issue 3.4 - Premium Card Motion */

.service-card {
  transition: all .35s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: #d6aa45;
  box-shadow: 0 30px 80px rgba(214,170,69,.22);
}

.service-card:hover h3 {
  color: #f5d47a;
}
/* ===== LOS Dashboard ===== */

.los-dashboard{
    margin-top:25px;
    border-radius:18px;
    overflow:hidden;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(214,170,69,.18);
}

.los-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 22px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.los-item:last-child{
    border-bottom:none;
}

.los-item span{
    color:rgba(255,255,255,.82);
}

.los-item strong{
    color:#f5d47a;
}
/* Issue 3.5 - Vehicle Passport Preview */

.passport-preview {
  margin-top: 34px;
  max-width: 520px;
  padding: 30px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  border: 1px solid rgba(214,170,69,.3);
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
}

.passport-preview h3 {
  font-size: 1.8rem;
  margin-bottom: 22px;
  color: #ffffff;
}

.passport-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.passport-row span {
  color: rgba(255,255,255,.75);
}

.passport-row strong {
  color: #f5d47a;
}

.passport-footer {
  margin-top: 22px;
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(214,170,69,.16);
  color: #f5d47a;
  border: 1px solid rgba(214,170,69,.35);
  font-weight: 800;
}
.dashboard-label{
    color:#d6aa45;
    font-size:.82rem;
    letter-spacing:3px;
    font-weight:700;
    margin-bottom:10px;
    text-transform:uppercase;
}

.dashboard-subtitle {
    color: rgba(255,255,255,.78);
    max-width: 620px;
    line-height: 1.7;
    margin: 18px 0 26px;
}

/* Issue 2.2 - Clean LOS Intro Badges */

.los-preview .trust-bar-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.los-preview .trust-bar-grid div {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(214,170,69,0.26);
  color: rgba(255,255,255,0.9);
  font-weight: 800;
  font-size: 0.9rem;
}

.los-preview {
  padding-bottom: 70px;
}
/* Issue 3.3 - Learn More Link */

.learn-more-link {
    display: inline-block;
    margin-top: 28px;
    color: #d6aa45;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition: all .25s ease;
}

.learn-more-link:hover {
    color: #ffffff;
    transform: translateX(6px);
}
/* Issue 3.3 - Learn More Link */

.learn-more-link {
    display: inline-block;
    margin-top: 28px;
    color: #d6aa45;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition: all .25s ease;
}

.learn-more-link:hover {
    color: #ffffff;
    transform: translateX(6px);
}
/* Issue 3.3 - Why Podium */

.why-podium{
    padding:90px 8%;
    background:linear-gradient(180deg,#0b1020,#11182d);
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:24px;
    margin-top:40px;
}

.stat-card{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(214,170,69,.18);
    border-radius:22px;
    padding:28px;
    transition:.3s;
}

.stat-card:hover{
    transform:translateY(-6px);
    border-color:#d6aa45;
}

.stat-card h3{
    color:#d6aa45;
    font-size:1.8rem;
    margin-bottom:12px;
}

.stat-card p{
    color:rgba(255,255,255,.82);
    line-height:1.7;
}
/* ---------- Areas Covered ---------- */

.areas-section{
    padding:90px 8%;
}

.areas-layout{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
    margin-top:40px;
}

.areas-copy ul{
    list-style:none;
    padding:0;
    margin:0;
}

.areas-copy li{
    margin-bottom:18px;
    font-size:1.08rem;
    color:rgba(255,255,255,.88);
}

.map-card{
    background: rgba(255,255,255,.04);
    border:1px solid rgba(214,170,69,.20);
    border-radius:24px;
    padding:18px;
    overflow:hidden;
    box-shadow:0 18px 45px rgba(0,0,0,.25);
    max-width:520px;
}


.map-card img{
    width:100%;
    display:block;
    border-radius:16px;
}
/* Issue 3.3 Final Mobile Layout Override */

@media screen and (max-width: 700px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .site-header {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
    padding: 20px !important;
    gap: 18px !important;
    background-image:
      linear-gradient(180deg, rgba(3, 10, 22, 0.06), rgba(3, 10, 22, 0.06)),
      url("images/podium-engine-diagnostics-hero.webp");
    background-position: 58% 60%;
  }

  .brand {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }

  .brand-icon {
    display: block !important;
    width: 300px !important;
    max-width: calc(100vw - 48px) !important;
    min-width: 0 !important;
    flex-shrink: 0 !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .site-header nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .site-header nav a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 0 !important;
    min-height: 46px;
    padding: 9px 6px !important;
    font-size: 0.86rem !important;
    line-height: 1.2 !important;
    text-align: center;
    white-space: normal !important;
  }

  .site-header nav .nav-button {
    grid-column: 1 / -1;
    width: 100% !important;
  }

  .hero {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    width: 100% !important;
    min-height: auto !important;
    gap: 36px !important;
    padding: 52px 20px 68px !important;
  }

  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hero .eyebrow {
    display: block;
    margin-bottom: 14px !important;
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
  }

  .hero h1 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 22px !important;
    font-size: clamp(2.7rem, 13vw, 3.8rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -1.8px !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  .hero-lead,
  .hero-text {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100%;
    gap: 12px !important;
    margin-top: 24px !important;
  }

  .hero-actions .button {
    display: flex;
    justify-content: center;
    width: 100% !important;
    text-align: center;
  }

  .hero-proof {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100%;
    gap: 10px !important;
    margin-top: 22px !important;
  }

  .hero-proof span,
  .hero-proof a {
    width: 100% !important;
    justify-content: flex-start !important;
    border-radius: 16px !important;
  }

  .hero-visual {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .diagnostic-panel {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 22px !important;
    transform: none !important;
  }

  .diagnostic-header {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .diagnostic-footer {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .trust-bar-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    text-align: center;
  }

  .services {
    padding: 70px 20px !important;
  }

  .service-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .service-card {
    min-height: auto !important;
    padding: 26px !important;
  }
}/* ==================================================
   PREMIUM FOOTER
================================================== */

.site-footer {
  position: relative;
  padding: 72px 0 0;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(28, 105, 255, 0.2),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      #081226 0%,
      #0b1d3d 50%,
      #061020 100%
    );
  border-top: 1px solid rgba(255, 197, 61, 0.7);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 240px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    #ffd35a,
    #f2a900,
    #ffd35a,
    transparent
  );
  box-shadow: 0 0 22px rgba(255, 190, 44, 0.6);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand {
  max-width: 420px;
}

.footer-brand h3,
.footer-column h4 {
  margin: 0 0 18px;
  color: #ffffff;
}

.footer-brand h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.footer-column h4 {
  position: relative;
  padding-bottom: 12px;
  font-size: 1rem;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  border-radius: 999px;
  background: #f2b41f;
}

.footer-brand p,
.footer-column p,
.footer-column a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.75;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column a {
  display: inline-block;
  margin-bottom: 9px;
  text-decoration: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-column a:hover {
  color: #ffd35a;
  transform: translateX(4px);
}

.footer-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(214, 170, 69, 0.34);
  border-radius: 12px;
  background: rgba(214, 170, 69, 0.08);
  color: #f7e2a2 !important;
  font-weight: 700;
  line-height: 1.35;
}

.footer-instagram-link svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-instagram-link:hover {
  color: #ffd35a !important;
  border-color: rgba(214, 170, 69, 0.52);
  background: rgba(214, 170, 69, 0.14);
  transform: translateX(0);
}

.nav-instagram-mobile {
  display: none !important;
}

.nav-call-mobile {
  display: none !important;
}

.nav-instagram-mobile svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-instagram-mobile span {
  display: block;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.footer-brand-tags span {
  padding: 8px 12px;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-powered {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 14px;
  color: #ffd35a;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
  border: 1px solid rgba(255, 197, 61, 0.3);
  border-radius: 12px;
  background: rgba(255, 197, 61, 0.07);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

.footer-bottom > p:last-child {
  text-align: right;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
  color: #ffd35a;
}

@media (max-width: 1000px) {
  .footer-main {
    grid-template-columns: 1.3fr 1fr;
  }
}

@media (max-width: 700px) {
  .site-footer {
    padding-top: 54px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 42px;
  }

  .footer-brand {
    max-width: none;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 24px 0;
    text-align: center;
  }

  .footer-bottom > p:last-child {
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 12px 18px;
  }
}/* ==================================================
 /* ==================================================
   FOOTER ISSUE 3.2 UPGRADE
================================================== */

.site-footer {
  padding-top: 74px;
  /* Fix: .site-footer never had a horizontal gutter across any prior pass,
     so footer content sat flush against the viewport edge at every width
     (worst at ~390-400px). Match the 8% convention used by every other
     section (.site-header, .service-routes, etc). */
  padding-left: 8%;
  padding-right: 8%;
}

.footer-main {
  grid-template-columns: 1.35fr 0.7fr 1fr 0.9fr;
  gap: 42px;
  padding-bottom: 58px;
}

.footer-brand {
  min-width: 0;
  max-width: 390px;
}

.footer-logo {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
  margin: 0 0 20px;
  object-fit: contain;
}

.footer-brand h3 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.footer-brand p {
  max-width: 370px;
}

@media (max-width: 1000px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .site-footer {
    padding-top: 56px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 44px;
  }

  .footer-brand {
    max-width: none;
  }

  .footer-logo {
    width: 190px;
  }

  .footer-brand h3 {
    font-size: 1.5rem;
  }
}

/* ==================================================
   COMPACT HOMEPAGE FOOTER (Gripe #7)
   Scoped to new .footer-compact-* classes only - the .footer-main /
   .footer-brand / .footer-column classes above are left untouched since
   every other page still uses that structure.
================================================== */

.footer-compact-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 0 32px;
  text-align: center;
}

.footer-compact-brand {
  margin-bottom: 22px;
}

.footer-compact-logo {
  display: block;
  width: 120px;
  max-width: 60%;
  height: auto;
  margin: 0 auto 12px;
}

.footer-compact-tagline {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-compact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.footer-compact-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(214, 170, 69, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

a.footer-compact-action:hover {
  border-color: #d6aa45;
  color: #ffd35a;
}

.footer-compact-action-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #d6aa45;
}

.footer-compact-action-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-compact-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 26px;
}

.footer-compact-nav a {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-compact-nav a:hover {
  color: #ffd35a;
}

.footer-compact-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0 auto 28px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 197, 61, 0.3);
  border-radius: 14px;
  background: rgba(255, 197, 61, 0.06);
}

.footer-compact-badge-title {
  color: #ffd35a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.footer-compact-badge-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.76rem;
}

.footer-compact-legal {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-compact-legal p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
}

.footer-compact-legal-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.footer-compact-legal-links a:hover {
  color: #ffd35a;
}

/* ==================================================
   MOBILE COVERAGE MAP FIX
================================================== */

  @media (max-width: 700px) {

    .site-header {
        padding: 20px 24px !important;
    }

    .brand-icon {
        max-width: 220px !important;
    }

    .areas-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    }

  .areas-copy {
    width: 100% !important;
  }

  .map-card {
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    padding: 14px !important;
  }

  .map-card img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}/* ==================================================
   MOBILE COVERAGE MAP FIX
================================================== */

@media (max-width: 700px) {
  .areas-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 28px !important;
  }

  .areas-copy,
  .map-card {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
  }

  .map-card {
    order: 2 !important;
    margin: 0 !important;
    padding: 12px !important;
  }

  .map-card img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 auto !important;
  }
}/* =========================================
   PODIUM BOOKING FORM
========================================= */

.booking-form {
    width: 100%;
  max-width: 900px;
  margin: 48px auto 0;
  padding: 36px;
    text-align: left;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(214, 170, 69, 0.22);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

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

.booking-form .form-group {
    display: flex;
    flex-direction: column;
  gap: 9px;
}

.booking-form .form-group-full,
.booking-form .postcode-group {
    grid-column: 1 / -1;
}

.booking-form label {
    color: #f5f7fa;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 14px 16px;
    color: #ffffff;
    font: inherit;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    outline: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

  .booking-form input::placeholder,
  .booking-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

  .booking-form input:focus,
  .booking-form select:focus,
  .booking-form textarea:focus {
    background: rgba(255, 255, 255, 0.09);
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}

  .booking-form textarea {
    min-height: 140px;
    resize: vertical;
}

  .postcode-lookup {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: end;
  }

  .postcode-button {
    min-height: 48px;
    padding: 0 18px;
    margin: 0;
    white-space: nowrap;
  }

  .booking-form .postcode-group {
    gap: 10px;
  }

  .booking-form .postcode-message {
    margin-top: 0;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(214, 170, 69, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.76);
    min-height: auto;
  }

  .booking-form .postcode-message.is-error {
    border-color: rgba(255, 159, 159, 0.28);
    background: rgba(255, 159, 159, 0.08);
    color: #ffd0d0;
  }

  .booking-form .postcode-message.is-success {
    border-color: rgba(127, 224, 161, 0.28);
    background: rgba(127, 224, 161, 0.08);
    color: #d7f7e1;
  }

  .booking-form .postcode-message.is-info {
    border-color: rgba(214, 170, 69, 0.22);
    background: rgba(214, 170, 69, 0.07);
    color: rgba(255, 255, 255, 0.84);
  }

  .booking-form .postcode-message.is-loading {
    border-color: rgba(120, 186, 255, 0.28);
    background: rgba(49, 113, 230, 0.12);
    color: #dceeff;
  }

  .booking-form .postcode-button[disabled] {
    opacity: 0.75;
    cursor: not-allowed;
  }

  .booking-form .address-select-group {
    margin-top: 0;
  }

  .booking-form .form-help {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.72);
  }

.booking-form .button {
    display: block;
    width: fit-content;
    margin: 28px auto 0;
    border: 0;
    cursor: pointer;
}

.form-compliance-group {
  margin-top: 4px;
}

.form-compliance-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 600;
}

.form-compliance-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 18px;
  accent-color: #d4af37;
}

.optional-marketing-label {
  color: rgba(255, 255, 255, 0.84);
}

.form-privacy-note {
  margin-top: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.6;
}

.form-privacy-note a {
  color: #d6aa45;
  font-weight: 700;
}

.form-privacy-note a:hover {
  color: #f0c86e;
}

@media (max-width: 700px) {
    .booking-section {
        padding: 80px 18px;
    }

    .booking-form {
        margin-top: 36px;
        padding: 24px 18px;
        border-radius: 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-field-full {
        grid-column: auto;
    }

    .booking-form .button {
        width: 100%;
        text-align: center;
    }
}/* Mobile hero refinement */
@media (max-width: 700px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 24px 70px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 58px);
    line-height: 1.02;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
  }

  .hero-text {
    font-size: 17px;
    line-height: 1.65;
  }
}/* Mobile hero refinement */
@media (max-width: 700px) {
  .site-header {
    padding-bottom: 32px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 24px 64px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(42px, 11.5vw, 52px);
    line-height: 0.98;
    letter-spacing: -1px;
    margin-bottom: 24px;
  }

  .hero-lead {
    margin-bottom: 16px;
  }

  .hero-text {
    font-size: 17px;
    line-height: 1.6;
  }

  .hero-visual {
    margin-top: 8px;
  }
}/* ===== Introductory Offer Banner ===== */

.offer-banner {
    background: linear-gradient(135deg, #1b2d4f 0%, #243f68 100%);
    border: 2px solid #d4af37;
    border-radius: 18px;
    padding: 28px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.offer-badge {
    display: inline-block;
    background: #d4af37;
    color: #0f1b2d;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 999px;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.offer-banner h3 {
    color: #ffffff;
    margin: 0 0 12px;
    font-size: 1.8rem;
}

.offer-banner p {
    color: #d9e2ef;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.offer-price {
    display: inline-block;
    background: #d4af37;
    color: #0f1b2d;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 600;
}

.offer-price strong {
    font-size: 2rem;
    margin-left: 8px;
}

@media (max-width: 768px) {
    .offer-banner {
        padding: 20px;
    }

    .offer-banner h3 {
        font-size: 1.4rem;
    }

    .offer-price {
        display: block;
    }

    .offer-price strong {
        display: block;
        margin: 6px 0 0;
    }
}

/* ===== Compact Booking Service Picker (book.html) ===== */

.booking-service-picker {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 24px 0;
}

.booking-service-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-align: left;
    padding: 18px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.booking-service-option:hover {
    transform: translateY(-2px);
    border-color: #d4af37;
}

.booking-service-option.is-selected {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.12);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.18);
}

.booking-service-option-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.booking-service-option-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.35;
}

.booking-service-option-price {
    flex-shrink: 0;
    color: #d4af37;
    font-weight: 800;
    font-size: 1.05rem;
}

.booking-service-option-desc {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    line-height: 1.5;
}

.booking-service-option-cta {
    margin-top: 4px;
    color: #d4af37;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
}

.booking-trust-strip {
    margin: 4px 0 20px;
}

@media (max-width: 640px) {
    .booking-service-picker {
        grid-template-columns: 1fr;
    }
}

.form-help {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #bfc7d5;
    line-height: 1.4;
}

.postcode-message {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #f4b400;
  min-height: 1.2em;
}

.postcode-message.is-error {
  color: #ff9f9f;
}

.postcode-message.is-success {
  color: #7fe0a1;
}

.address-select-group {
  margin-top: 10px;
}

.address-select-group[hidden] {
  display: none !important;
}
/* =========================
   Mobile Booking Form
========================= */
@media (max-width: 768px) {
  .booking-form {
    margin-top: 36px;
    padding: 24px 18px;
    border-radius: 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .booking-form .form-group-full,
  .booking-form .postcode-group {
    grid-column: auto;
  }

  .postcode-lookup {
    grid-template-columns: 1fr;
  }

  .postcode-button,
  .booking-form .button {
    width: 100%;
  }

  .booking-form .button {
    text-align: center;
  }

  .garage-lookup-confirmation-grid {
    grid-template-columns: 1fr;
  }
}

/* Sprint 1: Engineering-led hierarchy and solution pathways */
.hero-lead {
  margin-top: 8px;
  margin-bottom: 10px;
  color: #d6aa45;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solution-strip {
  padding: 70px 20px;
  background: linear-gradient(180deg, rgba(9, 22, 39, 0.95), rgba(6, 16, 30, 0.96));
  border-top: 1px solid rgba(214, 170, 69, 0.22);
  border-bottom: 1px solid rgba(214, 170, 69, 0.18);
}

.solution-strip .container {
  max-width: 1180px;
  margin: 0 auto;
}

.solution-strip h2 {
  margin-bottom: 28px;
  font-size: clamp(1.8rem, 5.8vw, 2.8rem);
  line-height: 1.15;
  color: #ffffff;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.solution-card {
  padding: 22px;
  border: 1px solid rgba(214, 170, 69, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.solution-card h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 1.1rem;
}

.solution-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.65;
}

.solution-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 28px;
}

.solution-actions .button {
  margin: 0;
  text-align: center;
}

@media (min-width: 900px) {
  .solution-strip {
    padding: 88px 8%;
  }

  .solution-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .solution-actions {
    display: flex;
    flex-wrap: wrap;
  }
}

/* Sprint 1 mobile fix: hero only */
@media (max-width: 700px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-height: auto;
    padding: 38px 20px 56px;
  }

  .hero-content,
  .hero-visual,
  .diagnostic-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero h1 {
    font-size: clamp(2rem, 9.2vw, 2.85rem);
    line-height: 0.94;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
  }

  .hero-lead {
    margin-bottom: 8px;
    line-height: 1.4;
  }

  .hero-text {
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.58;
  }

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

  .hero-actions .button {
    width: 100%;
    margin: 0;
    text-align: center;
  }

  .hero-visual {
    order: 2;
    margin-top: 2px;
  }

  .diagnostic-panel {
    margin: 0;
  }
}

.mobile-header-actions {
  display: none;
}

.site-header {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between;
  min-height: 88px;
  padding: 10px 6%;
}

.brand {
  max-width: min(330px, 32vw) !important;
}

.brand-icon {
  width: auto !important;
  max-width: 100%;
  max-height: 58px;
}

#site-nav {
  gap: 14px;
}

#site-nav a {
  font-size: 0.92rem;
}

/* Sprint 1 mobile header compact menu */
@media (max-width: 700px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    min-height: 0;
    padding: 10px 20px 8px;
    gap: 8px;
  }

  .brand {
    margin: 0 auto;
  }

  .mobile-header-actions {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .mobile-menu-toggle {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(214, 170, 69, 0.38);
    border-radius: 999px;
    background: rgba(7, 17, 31, 0.8);
    color: #d6aa45;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
  }

  .mobile-book-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    width: 100%;
    margin: 0;
    padding: 0 16px;
  }

  .site-header nav {
    display: none !important;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 4px;
    padding: 0;
  }

  .site-header.menu-open nav {
    display: grid !important;
  }

  .site-header:not(.menu-open) nav {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .site-header nav a {
    justify-content: flex-start;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(214, 170, 69, 0.15);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
    text-align: left;
  }

  .site-header nav .nav-button {
    display: none !important;
  }

  .site-header nav .nav-call-button {
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(214, 170, 69, 0.3);
    background: rgba(214, 170, 69, 0.08);
    font-size: 0.88rem;
    font-weight: 600;
  }

  .hero {
    padding-top: 14px;
  }
}

/* My Garage prototype */
.garage-page {
  background:
    radial-gradient(circle at 18% 0%, rgba(31, 88, 176, 0.22), transparent 35%),
    linear-gradient(180deg, #050b16 0%, #07111f 100%);
}

.garage-hero {
  padding: 60px 20px 28px;
}

.garage-hero .container,
.garage-section .container {
  max-width: 1180px;
  margin: 0 auto;
}

.garage-hero h1 {
  margin-top: 10px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 6.8vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -1px;
}

.garage-preview-label {
  display: inline-block;
  max-width: 760px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(214, 170, 69, 0.3);
  background: rgba(214, 170, 69, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
}

.garage-section {
  padding: 16px 20px 36px;
}

.garage-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 4.8vw, 2.2rem);
}

.garage-card {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(214, 170, 69, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.garage-card-head h2 {
  margin-bottom: 8px;
}

.garage-kicker {
  margin-bottom: 8px;
  color: #d6aa45;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.garage-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.garage-overview-grid div {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.garage-overview-grid span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.garage-overview-grid strong {
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.45;
}

.garage-health-grid,
.garage-reports-grid,
.garage-recommendations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.health-item h3,
.report-card h3,
.recommendation-card h3,
.garage-timeline h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 1.08rem;
}

.health-item p,
.report-card p,
.garage-timeline p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.garage-timeline {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.recommendation-card ul {
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.recommendation-card li {
  margin-bottom: 8px;
}

.garage-actions-section {
  padding-bottom: 60px;
}

.garage-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.garage-actions .button {
  margin: 0;
  text-align: center;
}

.garage-onboarding-intro {
  max-width: 760px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.garage-upgrade-form {
  margin-top: 22px;
  border-color: rgba(214, 170, 69, 0.3);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.garage-upgrade-form textarea {
  min-height: 120px;
}

.garage-upgrade-form #upgrade-selected {
  border-color: rgba(214, 170, 69, 0.42);
  background: rgba(214, 170, 69, 0.07);
}

.garage-upgrade-form #upgrade-selected:focus {
  background: rgba(214, 170, 69, 0.1);
}

.garage-onboarding-form {
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.garage-onboarding-form,
.garage-onboarding-form .form-grid,
.garage-onboarding-form .form-group,
.garage-onboarding-form .form-compliance-group,
.garage-onboarding-form input,
.garage-onboarding-form select,
.garage-onboarding-form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.garage-onboarding-form .form-group-full {
  grid-column: 1 / -1;
}

.garage-onboarding-form label,
.garage-onboarding-form legend {
  display: block;
  margin-bottom: 8px;
  color: #f5f7fa;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.garage-onboarding-form input,
.garage-onboarding-form select,
.garage-onboarding-form textarea {
  width: 100%;
  padding: 14px 16px;
  color: #ffffff;
  font: inherit;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  outline: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.garage-onboarding-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
}

.garage-upgrade-form select option,
.garage-onboarding-form select option {
  color: #07111f;
  background: #f5f7fa;
}

.garage-onboarding-form .form-compliance-label {
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
  overflow-wrap: anywhere;
  word-break: normal;
}

.garage-onboarding-form textarea {
  min-height: 130px;
  resize: vertical;
}

.garage-reg-lookup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.garage-lookup-button {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #d6aa45;
  color: #07111f;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(214, 170, 69, 0.28);
}

.garage-lookup-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.garage-lookup-message {
  margin-top: 8px;
  min-height: 1.2em;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.garage-lookup-message.is-loading {
  color: rgba(255, 255, 255, 0.86);
}

.garage-lookup-message.is-success {
  color: #7fe0a1;
}

.garage-lookup-message.is-info {
  color: rgba(255, 255, 255, 0.86);
}

.garage-lookup-message.is-error {
  color: #ffd0d0;
}

.garage-manual-entry-help {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(214, 170, 69, 0.24);
  background: rgba(214, 170, 69, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  line-height: 1.45;
}

.garage-edit-row {
  margin-top: 2px;
}

.garage-edit-details-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(214, 170, 69, 0.38);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #d6aa45;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.garage-lookup-confirmation-card {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(214, 170, 69, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.garage-lookup-confirmation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.garage-lookup-confirmation-head h3 {
  margin: 4px 0 0;
  color: #ffffff;
  font-size: 1.1rem;
}

.garage-lookup-confirmation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.garage-lookup-confirmation-grid article {
  padding: 12px 13px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.garage-lookup-confirmation-grid span {
  display: block;
  color: #d6aa45;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.garage-lookup-confirmation-grid strong {
  display: block;
  margin-top: 5px;
  color: #ffffff;
  line-height: 1.45;
}

.garage-lookup-confirmation-form-grid {
  margin-top: -2px;
}

/* Trial: compact gateway homepage + focused service pages */
.gateway-value,
.service-routes,
.garage-preview-short,
.homepage-final-cta,
.service-page-content,
.service-page-hero {
  padding: 64px 8%;
}

.gateway-value-grid,
.service-routes-grid,
.service-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.gateway-value-card,
.service-route-card,
.service-page-card,
.garage-preview-short-points p {
  border-radius: 18px;
  border: 1px solid rgba(214, 170, 69, 0.2);
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
}

/* Compact tappable row layout for START HERE service routes (Gripe #4) */
.service-routes-grid {
  gap: 10px;
}

.service-route-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-route-card:hover,
.service-route-card:focus-visible {
  transform: translateY(-2px);
  border-color: #d6aa45;
  background: rgba(255, 255, 255, 0.08);
}

.service-route-card:focus-visible {
  outline: 2px solid #d6aa45;
  outline-offset: 3px;
}

.service-route-card .card-icon {
  margin-bottom: 0;
}

.service-route-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.service-route-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.25;
}

.service-route-desc {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.4;
}

.service-route-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  color: #d6aa45;
}

.service-route-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Card icon - same visual language as Our Garage's stroke icons
   (.garage-feature-icon), reused here so the public site and My Garage
   feel like one consistent product rather than two different styles. */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1px solid rgba(214, 170, 69, 0.28);
  background: rgba(214, 170, 69, 0.12);
  color: #f7e2a2;
  flex: 0 0 auto;
}

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

.garage-preview-short-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 18px;
  align-items: start;
}

.garage-preview-short-points {
  display: grid;
  gap: 10px;
}

.homepage-final-cta {
  text-align: center;
}

.homepage-final-cta-actions {
  margin-top: 16px;
}

.service-page-hero {
  padding-top: 46px;
  padding-bottom: 26px;
}

.service-page-lead {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.84);
}

.service-page-actions {
  margin-top: 24px;
}

/* ==================================================
   PERFORMANCE & UPGRADES - image-led cards, matching the same
   visual standard as the My Garage Performance & Upgrades cards.
   Scoped to this page only (upgrades-coding-performance.html);
   .service-page-grid/.service-page-card above are untouched and
   still used by diagnose-repair.html and service-vehicle-care.html.
================================================== */
.service-page-content h2 {
  color: #ffffff;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: -0.5px;
  margin: 6px 0 0;
}

/* The header nav links here as #performance-cards so the click lands on
   the cards directly, not above them at the hero - this offsets for the
   sticky site-header so the anchor target isn't hidden underneath it. */
#performance-cards {
  scroll-margin-top: 100px;
}

.performance-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 28px;
}

.performance-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(214, 170, 69, 0.18);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.performance-card:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 170, 69, 0.4);
}

.performance-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0c1626;
}

.performance-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Both photos carry their key detail (tailpipes, the laptop screen) in
   the upper part of the frame - biasing the crop up keeps that fully
   in view instead of splitting the trim evenly top/bottom. */
.performance-card-photo-exhaust,
.performance-card-photo-tuning {
  object-position: center 35%;
}

.performance-card-body {
  padding: 20px;
  display: grid;
  gap: 8px;
}

.performance-card-kicker {
  color: #d6aa45;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.performance-card-body h3 {
  color: #ffffff;
  font-size: 1.1rem;
  margin: 0;
}

.performance-card-body p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.performance-card-cta {
  display: inline-block;
  margin-top: 6px;
  color: #f7e2a2;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}

.performance-card-cta:hover {
  color: #d6aa45;
}

@media (min-width: 700px) {
  .performance-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .performance-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Tablet/mobile compact header behavior */
.mobile-header-actions {
  display: none;
}

.mobile-menu-toggle {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(214, 170, 69, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 960px) {
  .site-header {
    min-height: 68px !important;
    padding: 8px 4% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
  }

  .brand {
    max-width: min(260px, 58vw) !important;
  }

  .brand-icon {
    width: auto !important;
    max-width: 100%;
    max-height: 46px;
  }

  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .mobile-book-button {
    padding: 10px 14px;
    font-size: 0.82rem;
    min-height: 40px;
    margin: 0;
    white-space: nowrap;
  }

  .site-header #site-nav {
    position: absolute;
    top: calc(100% + 6px);
    left: 4%;
    right: 4%;
    z-index: 1001;
    display: none;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(214, 170, 69, 0.25);
    background: rgba(7, 17, 31, 0.96);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38);
  }

  .site-header.menu-open #site-nav {
    display: grid !important;
  }

  .site-header #site-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .site-header #site-nav .nav-button {
    width: 100%;
    margin: 0;
  }

  .site-header #site-nav .nav-instagram-mobile {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    height: auto;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(214, 170, 69, 0.26);
    background: rgba(214, 170, 69, 0.1);
    color: #f7e2a2;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
  }

  .hero {
    padding-top: 34px;
  }

  .gateway-value,
  .service-routes,
  .garage-preview-short,
  .homepage-final-cta,
  .service-page-content,
  .service-page-hero {
    padding-left: 4%;
    padding-right: 4%;
  }

  .gateway-value-grid,
  .service-routes-grid,
  .service-page-grid,
  .garage-preview-short-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 64px !important;
    position: sticky !important;
    top: 0;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
  }

  .brand {
    max-width: min(180px, 52vw) !important;
  }

  .brand-icon {
    width: auto !important;
    max-width: 100%;
    max-height: 40px;
  }

  .mobile-menu-toggle {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .mobile-book-button {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 0.8rem;
  }
}

.garage-submit-frame {
  display: none;
}

.garage-onboarding-submit {
  width: 100%;
  max-width: 340px;
}

.garage-onboarding-form.is-submitted {
  opacity: 0.98;
}

.garage-onboarding-confirmation {
  margin-top: 18px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(214, 170, 69, 0.3);
  background: linear-gradient(145deg, rgba(214, 170, 69, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.garage-onboarding-confirmation h3 {
  margin-bottom: 6px;
  color: #f7e2a2;
  font-size: 1.05rem;
}

.garage-onboarding-confirmation p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.garage-onboarding-form input:focus,
.garage-onboarding-form select:focus,
.garage-onboarding-form textarea:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}

.garage-onboarding-form h2,
.garage-onboarding-form p,
.garage-onboarding-form label {
  overflow-wrap: anywhere;
  word-break: normal;
}

.garage-upgrades-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.garage-upgrades-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.garage-upgrades-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.garage-upgrades-grid input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #d4af37;
}

.garage-consent-row {
  margin-top: 4px;
}

.garage-form-footnote {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
}

.garage-journey-section {
  padding-top: 0;
}

.garage-journey-card,
.garage-dashboard-header {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(214, 170, 69, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.garage-journey-card + .garage-journey-card {
  margin-top: 12px;
}

.garage-beta-form {
  margin-top: 14px;
}

.garage-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.garage-form-field {
  display: grid;
  gap: 8px;
}

.garage-form-field-full {
  grid-column: 1 / -1;
}

.garage-beta-form label {
  color: #f5f7fa;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.garage-beta-form input,
.garage-beta-form select,
.garage-beta-form textarea,
.garage-dashboard-selector {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: #ffffff;
  font: inherit;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  outline: none;
  box-sizing: border-box;
}

.garage-beta-form select,
.garage-dashboard-selector {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.garage-beta-form select option,
.garage-dashboard-selector option {
  color: #07111f;
  background: #f5f7fa;
}

.garage-beta-form input:focus,
.garage-beta-form select:focus,
.garage-beta-form textarea:focus,
.garage-dashboard-selector:focus,
.garage-modal-close:focus,
.garage-manage-vehicle-item .button:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}

.garage-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.84);
}

.garage-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #d4af37;
}

.garage-form-message {
  margin-top: 10px;
  min-height: 1.4em;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
}

.garage-form-message.is-error {
  color: #ffd0d0;
}

.garage-form-message.is-success {
  color: #7fe0a1;
}

.garage-form-message.is-info {
  color: rgba(255, 255, 255, 0.86);
}

.garage-beta-note,
.garage-beta-storage-note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  line-height: 1.55;
}

.garage-journey-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.garage-dashboard-header {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.garage-dashboard-greeting {
  margin-bottom: 6px;
}

.garage-dashboard-controls {
  display: grid;
  gap: 8px;
}

.garage-dashboard-controls label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
}

.garage-dashboard-controls .button {
  margin: 0;
  min-height: 44px;
  text-align: center;
}

.garage-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 18px;
}

.garage-modal[hidden] {
  display: none;
}

.garage-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 26, 0.78);
  backdrop-filter: blur(4px);
}

.garage-modal-panel {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(214, 170, 69, 0.28);
  background:
    linear-gradient(155deg, rgba(16, 29, 49, 0.96), rgba(10, 20, 36, 0.96));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.38);
}

.garage-modal-panel-compact {
  width: min(520px, 100%);
}

.garage-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.garage-modal-close {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(214, 170, 69, 0.3);
  background: rgba(255, 255, 255, 0.04);
  color: #f7e2a2;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.garage-manage-divider {
  margin: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.garage-manage-vehicle-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.garage-manage-vehicle-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.garage-manage-vehicle-info h4 {
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 1rem;
}

.garage-manage-vehicle-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.garage-manage-vehicle-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.garage-manage-vehicle-actions .button {
  min-height: 44px;
  margin: 0;
}

.garage-remove-button,
.garage-reset-button {
  border-color: rgba(255, 168, 168, 0.42);
  color: #ffd6d6;
}

.garage-empty-state {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
}

body.garage-modal-open {
  overflow: hidden;
}

@media (min-width: 900px) {
  .garage-hero {
    padding: 138px 8% 34px;
  }

  .garage-section {
    padding: 18px 8% 44px;
  }

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

  .garage-overview-grid .overview-status {
    grid-column: 1 / -1;
  }

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

  .garage-reports-grid,
  .garage-recommendations-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

.privacy-page {
  background:
    radial-gradient(circle at 16% 0%, rgba(31, 88, 176, 0.2), transparent 35%),
    linear-gradient(180deg, #050b16 0%, #07111f 100%);
}

.privacy-hero {
  padding: 60px 20px 18px;
}

.privacy-section {
  padding: 12px 20px 80px;
}

.privacy-hero .container,
.privacy-section .container {
  max-width: 1120px;
  margin: 0 auto;
}

.privacy-page h1 {
  margin-top: 10px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.privacy-intro {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

.privacy-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.privacy-card {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(214, 170, 69, 0.2);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.privacy-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 3.8vw, 1.45rem);
  line-height: 1.3;
}

.privacy-card p,
.privacy-card li {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.privacy-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.privacy-card a {
  color: #d6aa45;
}

.privacy-card a:hover {
  color: #f0c86e;
}

.privacy-meta-card p {
  margin-bottom: 8px;
}

@media (min-width: 900px) {
  .privacy-hero {
    padding: 138px 8% 24px;
  }

  .privacy-section {
    padding: 18px 8% 86px;
  }

  .privacy-content {
    gap: 16px;
  }
}

.garage-page {
  padding-bottom: 120px;
}

.garage-hero {
  padding: 34px 20px 24px;
}

.garage-hero-layout {
  display: grid;
  gap: 18px;
}

.garage-hero-copy,
.garage-hero-visual,
.garage-feature-card,
.garage-option-card,
.garage-package-card,
.garage-category-card,
.garage-trust-strip > div,
.garage-mobile-cta {
  border: 1px solid rgba(214, 170, 69, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.garage-hero-copy,
.garage-hero-visual {
  padding: 22px;
  border-radius: 24px;
}

.garage-hero h1 {
  max-width: 12ch;
  margin-top: 12px;
  margin-bottom: 12px;
}

.garage-beta-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(214, 170, 69, 0.35);
  background: rgba(214, 170, 69, 0.12);
  color: #f7e2a2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.garage-welcome-title {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: clamp(1.25rem, 4.2vw, 1.75rem);
  line-height: 1.2;
}

.garage-welcome-text {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.garage-preview-label {
  margin-top: 4px;
  margin-bottom: 16px;
}

.garage-hero-intro,
.garage-section-intro {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.garage-hero-intro {
  margin-bottom: 18px;
}

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

.garage-hero-stats div {
  padding: 14px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.garage-hero-stats span,
.garage-price-row span,
.garage-trust-strip span,
.garage-category-card span {
  display: block;
  color: #d6aa45;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.garage-hero-stats strong {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
}

.garage-hero-stats small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
}

.garage-hero-visual {
  display: grid;
  gap: 14px;
}

.garage-preview-chip {
  display: inline-flex;
  width: fit-content;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(214, 170, 69, 0.12);
  border: 1px solid rgba(214, 170, 69, 0.2);
  color: #f7e2a2;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.garage-vehicle-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(214, 170, 69, 0.16);
  background:
    radial-gradient(circle at 50% 28%, rgba(214, 170, 69, 0.2), transparent 35%),
    linear-gradient(180deg, rgba(19, 29, 49, 0.96), rgba(7, 17, 31, 0.96));
}

.garage-vehicle-image-glow {
  position: absolute;
  inset: 18% 8% 24%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(214, 170, 69, 0.22), transparent 68%);
  filter: blur(20px);
}

.garage-vehicle-image span {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 4.4vw, 1.55rem);
  font-weight: 800;
  text-align: center;
}

.garage-vehicle-image-media {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 92%;
  height: clamp(240px, 34vw, 380px);
  object-fit: contain;
  object-position: center;
  transform: scale(1.35);
  transform-origin: center;
}

/* Neutral vehicle-image placeholder - used until a real, permitted UKVD
   image (or a customer-uploaded photo) is available. Never a stock photo
   of an unrelated vehicle. */
.garage-vehicle-image-placeholder {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 12px;
}

.garage-vehicle-image-placeholder-icon {
  width: 64px;
  height: 64px;
  fill: rgba(214, 170, 69, 0.55);
}

.garage-vehicle-image-placeholder-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

.garage-vehicle-header-art-placeholder .garage-vehicle-image-placeholder-icon {
  width: 40px;
  height: 40px;
  fill: rgba(214, 170, 69, 0.5);
}

.garage-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.garage-hero-badges span {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(214, 170, 69, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  font-weight: 700;
}

.garage-category-strip {
  padding-top: 8px;
}

.garage-dashboard-section {
  padding-top: 4px;
}

.garage-page.garage-page-dashboard-mode {
  padding-bottom: calc(108px + env(safe-area-inset-bottom));
}

.garage-page.garage-page-dashboard-mode .garage-hero {
  padding-top: 20px;
  padding-bottom: 14px;
}

.garage-page.garage-page-dashboard-mode .garage-hero-intro,
.garage-page.garage-page-dashboard-mode .garage-section-intro,
.garage-page.garage-page-dashboard-mode .garage-legacy-content {
  display: none;
}

.garage-page.garage-page-dashboard-mode .garage-hero h1 {
  max-width: none;
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 6vw, 2.15rem);
}

.garage-page.garage-page-dashboard-mode .garage-hero-copy,
.garage-page.garage-page-dashboard-mode .garage-hero-visual {
  padding: 18px;
}

.garage-page.garage-page-dashboard-mode .garage-vehicle-image {
  min-height: 170px;
}

.garage-page.garage-page-dashboard-mode .garage-vehicle-image-media {
  height: clamp(160px, 28vw, 240px);
  transform: scale(1.2);
}

.garage-dashboard-shell {
  display: grid;
  gap: 14px;
}

.garage-dashboard-views {
  display: grid;
}

.garage-dashboard-view {
  display: grid;
  gap: 14px;
}

.garage-dashboard-view[hidden] {
  display: none;
}

.garage-home-summary-grid,
.garage-health-header-grid,
.garage-bookings-grid {
  display: grid;
  gap: 12px;
}

.garage-panel {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(214, 170, 69, 0.18);
  background:
    radial-gradient(circle at top right, rgba(214, 170, 69, 0.08), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.garage-panel-heading-row,
.garage-vehicle-header-top,
.garage-view-topbar,
.garage-health-card-head,
.garage-primary-actions-support,
.garage-health-detail-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.garage-panel h3,
.garage-detail-view-card h3,
.garage-health-screen-card h3 {
  margin: 4px 0 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 4vw, 1.45rem);
  line-height: 1.25;
}

.garage-status-pill,
.garage-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.garage-status-pill-green,
.garage-status-badge-green {
  border-color: rgba(90, 199, 120, 0.4);
  background: rgba(90, 199, 120, 0.14);
  color: #b8f3c8;
}

.garage-status-pill-amber,
.garage-status-badge-amber {
  border-color: rgba(214, 170, 69, 0.42);
  background: rgba(214, 170, 69, 0.16);
  color: #f7e2a2;
}

.garage-status-pill-red,
.garage-status-badge-red {
  border-color: rgba(233, 93, 93, 0.45);
  background: rgba(233, 93, 93, 0.14);
  color: #ffd0d0;
}

.garage-status-pill-neutral,
.garage-status-badge-neutral {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
}

.garage-registration-hero {
  display: block;
  color: #ffffff;
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.garage-vehicle-header-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 14px;
  margin-top: 10px;
}

.garage-vehicle-subtitle,
.garage-inline-meta {
  color: rgba(255, 255, 255, 0.76);
}

.garage-dashboard-vehicle-image {
  width: 100%;
  height: 100%;
  min-height: 96px;
  object-fit: contain;
  object-position: center;
}

.garage-vehicle-header-art {
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid rgba(214, 170, 69, 0.14);
  background:
    radial-gradient(circle at 50% 28%, rgba(214, 170, 69, 0.16), transparent 35%),
    linear-gradient(180deg, rgba(19, 29, 49, 0.96), rgba(7, 17, 31, 0.96));
}

.garage-vehicle-stat-row,
.garage-status-summary-grid,
.garage-health-detail-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.garage-vehicle-stat-row div,
.garage-status-summary-grid article,
.garage-booking-status-card,
.garage-health-header-summary div,
.garage-health-detail-stats div,
.garage-empty-intent-card,
.garage-upgrade-summary-card {
  padding: 12px 13px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.garage-vehicle-stat-row span,
.garage-status-summary-grid span,
.garage-booking-status-card span,
.garage-health-header-summary span,
.garage-health-detail-stats span,
.garage-health-card-label,
.garage-tyre-chip span {
  display: block;
  color: #d6aa45;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.garage-vehicle-stat-row strong,
.garage-status-summary-grid strong,
.garage-booking-status-card strong,
.garage-health-header-summary strong,
.garage-health-detail-stats strong,
.garage-tyre-chip strong {
  display: block;
  margin-top: 5px;
  color: #ffffff;
}

.garage-vehicle-utility-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.garage-quick-actions-grid-dashboard {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.garage-primary-actions-support {
  justify-content: flex-start;
  margin-top: 12px;
  flex-wrap: wrap;
}

.garage-inline-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #f7e2a2;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.garage-primary-actions-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.16);
}

.garage-dashboard-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.garage-feature-launch-card,
.garage-health-card {
  width: 100%;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.garage-feature-launch-card:hover,
.garage-health-card:hover,
.garage-feature-launch-card:focus-visible,
.garage-health-card:focus-visible,
.garage-more-tab:focus-visible,
.garage-mobile-nav-item:focus-visible,
.garage-view-back-button:focus-visible,
.garage-inline-link:focus-visible {
  border-color: rgba(214, 170, 69, 0.4);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
  outline: none;
}

.garage-feature-launch-card strong,
.garage-health-card strong,
.garage-empty-intent-card strong,
.garage-upgrade-summary-card strong {
  display: block;
  color: #ffffff;
}

.garage-feature-launch-card small,
.garage-health-card p,
.garage-booking-status-card p,
.garage-empty-intent-card p,
.garage-upgrade-summary-card p,
.garage-health-screen-note {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.garage-feature-icon,
.garage-health-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(214, 170, 69, 0.18);
  background: rgba(214, 170, 69, 0.12);
  color: #f7e2a2;
  flex: 0 0 auto;
}

.garage-feature-icon-solid {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.06);
}

.garage-health-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border-width: 1px;
}

.garage-health-card-icon-green {
  border-color: rgba(90, 199, 120, 0.4);
  background: rgba(90, 199, 120, 0.14);
  color: #b8f3c8;
}

.garage-health-card-icon-amber {
  border-color: rgba(214, 170, 69, 0.42);
  background: rgba(214, 170, 69, 0.16);
  color: #f7e2a2;
}

.garage-health-card-icon-red {
  border-color: rgba(233, 93, 93, 0.42);
  background: rgba(233, 93, 93, 0.14);
  color: #ffc8c8;
}

.garage-health-card-icon-neutral {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 247, 250, 0.9);
}

.garage-health-detail-icon-tone-green {
  border-color: rgba(90, 199, 120, 0.4);
  background: rgba(90, 199, 120, 0.14);
  color: #b8f3c8;
}

.garage-health-detail-icon-tone-amber {
  border-color: rgba(214, 170, 69, 0.42);
  background: rgba(214, 170, 69, 0.16);
  color: #f7e2a2;
}

.garage-health-detail-icon-tone-red {
  border-color: rgba(233, 93, 93, 0.42);
  background: rgba(233, 93, 93, 0.14);
  color: #ffc8c8;
}

.garage-health-detail-icon-tone-neutral {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 247, 250, 0.9);
}

.garage-feature-icon svg,
.garage-health-detail-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.garage-health-card-icon svg,
.garage-health-detail-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.garage-view-back-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.garage-health-header-summary {
  display: grid;
  gap: 10px;
  align-content: start;
}

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

.garage-health-card {
  display: grid;
  gap: 10px;
}

.garage-health-card-head > div {
  min-width: 0;
  flex: 1 1 auto;
}

.garage-health-card .garage-status-badge {
  /* Shrinkable (never grown) and capped at the row's own width, so a
     badge that ends up alone on its own wrapped line can never force
     horizontal overflow either. */
  flex: 0 1 auto;
  max-width: 100%;
}

.garage-health-card .garage-health-card-label {
  /* break-word (not anywhere): wraps at normal word boundaries first,
     and unlike `anywhere` it does not widen the browser's min-content
     assumption for this column, so a narrow flex/grid track no longer
     shrinks on the (wrong) assumption that any character can break -
     that assumption was exactly what caused multi-word labels like
     "Front Brake Pads" to wrap one letter per line. Genuinely
     unbreakable overlong text still gets a last-resort break, so this
     stays a safety net against real overflow, not just a cosmetic
     change. */
  overflow-wrap: break-word;
}

.garage-health-card strong {
  overflow-wrap: anywhere;
}

@media (min-width: 431px) {
  /* Was `display: grid; grid-template-columns: auto minmax(0, 1fr) auto`,
     which let the label column shrink to 0 with no fallback - the label
     and the status badge could then render into the same horizontal
     space (measured, confirmed overlap at 1280px for longer label/badge
     combinations, e.g. "Front Brake Pads" + "Serviceable"). Flex-wrap
     instead: the label/metric column gets a real minimum width
     (min-width/flex-basis below) rather than 0, so when a card is too
     narrow for icon + label + badge on one line, the flex algorithm
     wraps the badge onto its own row - it can never occupy the same box
     as the label. Same technique already used for phones at
     max-width: 430px (see that block above); this brings the tablet/
     desktop range in line with it instead of using a second, unsafe
     layout system.
  */
  .garage-health-card-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .garage-health-card-head > div {
    display: grid;
    align-content: start;
    gap: 4px;
    min-height: 42px;
    min-width: 130px;
    flex: 1 1 130px;
  }

  .garage-health-card .garage-status-badge {
    align-self: flex-start;
    margin-top: 0;
  }
}

.garage-health-card-green {
  border-color: rgba(90, 199, 120, 0.22);
}

.garage-health-card-amber {
  border-color: rgba(214, 170, 69, 0.24);
}

.garage-health-card-red {
  border-color: rgba(233, 93, 93, 0.28);
}

.garage-health-card-neutral {
  border-color: rgba(255, 255, 255, 0.12);
}

/* Native <progress> element - fill width comes from its value/max
   attributes, never an inline style, so this stays compliant with a
   strict style-src 'self' CSP. Track/fill colours are set entirely here,
   in the external stylesheet, via the standard progress pseudo-elements
   (WebKit/Blink and Firefox render <progress> very differently, hence
   both). */
.garage-progress-bar {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.garage-progress-bar::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.garage-progress-bar::-webkit-progress-value {
  background: linear-gradient(90deg, #d6aa45, #f7e2a2);
  border-radius: 999px;
}

.garage-progress-bar::-moz-progress-bar {
  background: linear-gradient(90deg, #d6aa45, #f7e2a2);
  border-radius: 999px;
}

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

.garage-tyre-chip {
  padding: 9px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.garage-tyre-chip-green {
  border-color: rgba(90, 199, 120, 0.22);
}

.garage-tyre-chip-amber {
  border-color: rgba(214, 170, 69, 0.24);
}

.garage-tyre-chip-red {
  border-color: rgba(233, 93, 93, 0.28);
}

.garage-document-grid-expanded,
.garage-booking-actions-grid,
.garage-dashboard-feature-grid-detail {
  margin-top: 12px;
}

.garage-empty-intent-card,
.garage-upgrade-summary-card {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.garage-more-tab-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.garage-more-tab {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.garage-more-tab.is-active {
  border-color: rgba(214, 170, 69, 0.4);
  background: rgba(214, 170, 69, 0.12);
  color: #f7e2a2;
}

.garage-more-panel[hidden] {
  display: none;
}

.garage-mobile-bottom-nav {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
  z-index: 30;
  width: calc(100vw - 24px);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-radius: 24px;
  border: 1px solid rgba(214, 170, 69, 0.2);
  background: rgba(7, 17, 31, 0.94);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.garage-mobile-nav-item {
  width: 100%;
  min-height: 50px;
  padding: 0 6px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.garage-mobile-nav-item span {
  pointer-events: none;
}

.garage-mobile-nav-item.is-active {
  background: rgba(214, 170, 69, 0.14);
  color: #f7e2a2;
}

.garage-health-detail-grid {
  display: grid;
  gap: 14px;
}

.garage-health-detail-message,
#garage-health-detail-message {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

@media (max-width: 700px) {
  .garage-dashboard-header {
    gap: 12px;
  }

  .garage-dashboard-controls {
    gap: 8px;
  }

  .garage-dashboard-controls .button {
    min-width: 0;
  }
}

@media (min-width: 768px) {
  .garage-home-summary-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }

  .garage-health-header-grid,
  .garage-bookings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .garage-dashboard-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .garage-health-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .garage-more-tab-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 340px) {
  .garage-hero,
  .garage-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .garage-page.garage-page-dashboard-mode .garage-hero-copy,
  .garage-page.garage-page-dashboard-mode .garage-hero-visual,
  .garage-panel {
    padding: 14px;
  }

  .garage-vehicle-header-body,
  .garage-vehicle-utility-actions,
  .garage-quick-actions-grid-dashboard,
  .garage-dashboard-feature-grid,
  .garage-vehicle-stat-row,
  .garage-status-summary-grid,
  .garage-health-detail-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .garage-hero,
  .garage-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .garage-vehicle-header-body {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 10px;
  }

  .garage-vehicle-header-art {
    padding: 4px;
  }

  .garage-dashboard-vehicle-image {
    min-height: 72px;
  }

  .garage-panel,
  .garage-page.garage-page-dashboard-mode .garage-hero-copy,
  .garage-page.garage-page-dashboard-mode .garage-hero-visual {
    padding: 16px;
  }

  .garage-vehicle-utility-actions .button {
    min-height: 40px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (min-width: 980px) {
  .garage-page.garage-page-dashboard-mode {
    padding-bottom: 40px;
  }

  .garage-dashboard-shell {
    max-width: 1160px;
    margin: 0 auto;
  }

  .garage-dashboard-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .garage-dashboard-controls {
    grid-template-columns: auto minmax(260px, 320px) repeat(4, auto);
    align-items: center;
  }

  .garage-vehicle-header-body {
    grid-template-columns: minmax(0, 1fr) 180px;
  }

  .garage-primary-actions-card {
    padding: 20px;
  }

  .garage-dashboard-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .garage-mobile-bottom-nav {
    display: none;
  }
}

.garage-dashboard-top-grid,
.garage-dashboard-content-grid {
  display: grid;
  gap: 12px;
}

.garage-main-vehicle-card,
.garage-quick-actions-card,
.garage-dashboard-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(214, 170, 69, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.garage-main-vehicle-card,
.garage-quick-actions-card,
.garage-dashboard-card,
.garage-document-card,
.garage-timeline-list li {
  min-height: 100%;
}

.garage-main-vehicle-card h2,
.garage-quick-actions-card h2,
.garage-dashboard-card h2 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: clamp(1.15rem, 4.5vw, 1.6rem);
  line-height: 1.25;
}

.garage-demo-badge {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(214, 170, 69, 0.3);
  background: rgba(214, 170, 69, 0.1);
  color: #f7e2a2;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.garage-main-vehicle-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.garage-main-vehicle-meta div {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.garage-main-vehicle-meta span,
.garage-timeline-list span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.garage-main-vehicle-meta strong {
  color: #ffffff;
  line-height: 1.4;
}

.garage-health-advisory {
  color: #f7e2a2;
}

.garage-quick-actions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.garage-quick-actions-grid .button,
.garage-main-vehicle-card .button,
.garage-dashboard-card .button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  text-align: center;
}

.garage-disabled-button {
  opacity: 0.7;
  cursor: not-allowed;
}

.garage-status-note {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.garage-dashboard-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.56;
}

.garage-document-grid {
  display: grid;
  gap: 8px;
}

.garage-document-card {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(214, 170, 69, 0.2);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.garage-document-card strong {
  color: #ffffff;
  font-size: 0.95rem;
}

.garage-document-card small {
  color: rgba(255, 255, 255, 0.72);
}

.garage-document-card:hover {
  border-color: rgba(214, 170, 69, 0.42);
}

.garage-timeline-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.garage-timeline-list li {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.garage-timeline-list strong {
  color: #ffffff;
}

.garage-actions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.garage-action-item {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 120px;
}

.garage-action-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.garage-action-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(214, 170, 69, 0.25);
  background: rgba(214, 170, 69, 0.12);
  color: #f7e2a2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.garage-action-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.garage-action-badge-priority {
  border-color: rgba(214, 170, 69, 0.42);
  background: rgba(214, 170, 69, 0.18);
  color: #f7e2a2;
}

.garage-action-item h3 {
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.3;
}

.garage-action-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

.garage-feedback-button {
  margin: 10px auto 0;
  display: inline-flex;
}

.garage-ai-section {
  padding-top: 0;
}

.garage-ai-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(214, 170, 69, 0.18);
  background:
    radial-gradient(circle at top right, rgba(35, 93, 190, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.garage-ai-context,
.garage-ai-response-grid {
  display: grid;
  gap: 12px;
}

.garage-ai-context {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.garage-ai-context div,
.garage-ai-response-grid div {
  padding: 14px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.garage-ai-context span,
.garage-ai-response-grid span,
.garage-ai-kicker {
  display: block;
  color: #d6aa45;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.garage-ai-context strong,
.garage-ai-response-grid strong {
  display: block;
  margin-top: 6px;
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.45;
}

.garage-ai-preset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.garage-ai-preset-button,
.garage-ai-submit {
  min-height: 48px;
}

.garage-ai-preset-button {
  padding: 12px 14px;
  border: 1px solid rgba(214, 170, 69, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.garage-ai-preset-button:hover {
  border-color: rgba(214, 170, 69, 0.42);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.garage-ai-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.garage-ai-input {
  width: 100%;
  padding: 14px 16px;
  color: #ffffff;
  font: inherit;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  outline: none;
}

.garage-ai-input:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}

.garage-ai-submit {
  margin: 0;
  min-width: 148px;
}

.garage-ai-response {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(214, 170, 69, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.garage-ai-notice {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.65;
}

.garage-page section[id],
.garage-page form[id] {
  scroll-margin-top: 146px;
}

.garage-category-grid,
.garage-feature-grid,
.garage-option-grid,
.garage-package-grid {
  display: grid;
  gap: 14px;
}

.garage-category-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 20px;
  color: inherit;
  text-decoration: none;
}

.garage-category-card strong,
.garage-feature-card h3,
.garage-option-card h3,
.garage-package-card h3 {
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.2;
}

.garage-category-card p,
.garage-feature-card p,
.garage-option-card p,
.garage-package-card p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.garage-feature-card,
.garage-option-card,
.garage-package-card {
  overflow: hidden;
  border-radius: 22px;
}

.garage-feature-card {
  display: grid;
}

/* aspect-ratio (not a fixed min-height) so the crop stays consistent
   whether the card is in a 1/2/3-column row - a fixed height would let
   the same box go from near-square (mobile) to a wide letterbox
   (desktop 3-col), cropping each breakpoint differently. Once real
   photos replace the placeholder span, they need width:100%;height:100%;
   object-fit:cover;display:block to fill this box without stretching. */
.garage-card-image {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 45% 35%, rgba(214, 170, 69, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(12, 22, 38, 0.98), rgba(7, 17, 31, 0.96));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.garage-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Both shots carry their key detail (exhaust tips, the laptop screen)
   in the upper portion of the frame - biasing the crop up keeps that
   fully in view instead of splitting the trim evenly top/bottom. */
.garage-card-photo-exhaust,
.garage-card-photo-tuning {
  object-position: center 35%;
}

.garage-card-image span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(214, 170, 69, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.garage-card-image-alt {
  background:
    radial-gradient(circle at 60% 35%, rgba(55, 122, 214, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(12, 22, 38, 0.98), rgba(7, 17, 31, 0.96));
}

.garage-card-image-alt-2 {
  background:
    radial-gradient(circle at 42% 35%, rgba(214, 170, 69, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(12, 22, 38, 0.98), rgba(7, 17, 31, 0.96));
}

.garage-card-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.garage-price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
}

.garage-price-row strong {
  color: #f7e2a2;
  font-size: 1.18rem;
  white-space: nowrap;
}

.garage-card-button {
  width: 100%;
  text-align: center;
}

.garage-option-card,
.garage-package-card {
  padding: 20px;
}

.garage-option-grid-three {
  margin-top: 14px;
}

.garage-option-grid {
  margin-top: 14px;
}

.garage-package-card ul {
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.garage-package-card li {
  margin-bottom: 8px;
}

.garage-trust-section {
  padding-top: 0;
}

.garage-trust-strip {
  display: grid;
  gap: 12px;
}

.garage-trust-strip > div {
  padding: 18px;
  border-radius: 18px;
}

.garage-trust-strip strong {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

.garage-mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1050;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border-radius: 20px;
  backdrop-filter: blur(14px);
}

.garage-mobile-cta .button {
  margin: 0;
  text-align: center;
}

@media (min-width: 760px) {
  .garage-hero {
    padding: 48px 20px 30px;
  }

  .garage-hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: start;
    gap: 20px;
  }

  .garage-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .garage-feature-grid,
  .garage-option-grid,
  .garage-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .garage-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .garage-dashboard-content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

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

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

  .garage-ai-response-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .garage-hero {
    padding: 58px 8% 34px;
  }

  .garage-section {
    padding: 18px 8% 44px;
  }

  .garage-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .garage-option-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .garage-option-grid-three {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .garage-trust-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .garage-dashboard-top-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .garage-mobile-cta {
    display: none;
  }

  .garage-page {
    padding-bottom: 0;
  }
}

@media (max-width: 700px) {
  .garage-reg-lookup {
    grid-template-columns: 1fr;
  }

  .garage-lookup-button,
  .garage-edit-details-button {
    width: 100%;
  }

  .garage-onboarding-form .form-grid {
    grid-template-columns: 1fr;
  }

  .garage-onboarding-form .form-group,
  .garage-onboarding-form .form-group-full,
  .garage-onboarding-form .form-compliance-group {
    grid-column: auto;
  }

  .garage-onboarding-submit {
    max-width: 100%;
  }

  .garage-onboarding-confirmation {
    margin-top: 14px;
    padding: 16px;
  }

  .garage-page section[id],
  .garage-page form[id] {
    scroll-margin-top: 96px;
  }

  .garage-page {
    overflow-x: clip;
    padding-bottom: calc(156px + env(safe-area-inset-bottom));
  }

  .garage-hero {
    padding: 22px 20px 16px;
  }

  .garage-hero-copy,
  .garage-hero-visual,
  .garage-feature-card,
  .garage-option-card,
  .garage-package-card,
  .garage-category-card,
  .garage-trust-strip > div {
    border-radius: 16px;
    border: 1px solid rgba(214, 170, 69, 0.22);
    background:
      linear-gradient(155deg, rgba(16, 29, 49, 0.9), rgba(10, 20, 36, 0.9));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
  }

  .garage-hero h1 {
    font-size: clamp(1.9rem, 7.4vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  .garage-hero-intro,
  .garage-section-intro,
  .garage-category-card p,
  .garage-feature-card p,
  .garage-option-card p,
  .garage-package-card p,
  .garage-onboarding-intro {
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .garage-upgrade-form {
    margin-top: 16px;
  }

  .garage-section {
    padding: 10px 20px 24px;
  }

  #upgrade-options,
  #upgrade-options > .container {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-width: 0;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    transform: none;
  }

  #upgrade-options .garage-feature-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }

  #upgrade-options .garage-feature-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    transform: none;
    box-sizing: border-box;
  }

  #upgrade-options h2,
  #upgrade-options h3,
  #upgrade-options p {
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }

  .garage-section h2 {
    font-size: clamp(1.28rem, 5.8vw, 1.58rem);
    line-height: 1.24;
    margin-bottom: 10px;
  }

  .garage-category-grid,
  .garage-option-grid,
  .garage-package-grid,
  .garage-trust-strip {
    gap: 10px;
  }

  .garage-feature-grid,
  .garage-option-grid-three,
  .garage-package-grid {
    grid-template-columns: 1fr;
  }

  .garage-coding-grid {
    grid-template-columns: 1fr;
  }

  .garage-card-body,
  .garage-option-card,
  .garage-package-card {
    padding: 14px;
    gap: 8px;
  }

  .garage-feature-card h3,
  .garage-option-card h3,
  .garage-package-card h3,
  .garage-category-card strong {
    font-size: 1rem;
    line-height: 1.24;
  }

  .garage-price-row {
    gap: 10px;
    align-items: baseline;
  }

  .garage-price-row strong {
    font-size: 1.02rem;
  }

  .garage-card-button {
    width: auto;
    margin: 2px 0 0;
    padding: 10px 16px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
  }

  .garage-mobile-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: calc(100vw - 20px);
    padding: 9px;
    gap: 8px;
    border-radius: 16px;
    padding-bottom: calc(9px + env(safe-area-inset-bottom));
  }

  .garage-mobile-cta .button {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}

@media (min-width: 430px) and (max-width: 700px) {
  .garage-coding-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .garage-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .garage-journey-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .garage-dashboard-controls {
    grid-template-columns: minmax(220px, 1fr) repeat(4, auto);
    align-items: end;
  }

  .garage-dashboard-controls label {
    grid-column: 1 / -1;
  }

  .garage-manage-vehicle-item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .garage-manage-vehicle-actions {
    grid-template-columns: repeat(3, auto);
  }
}

@media (max-width: 560px) {
  .garage-modal {
    padding: 10px;
  }

  .garage-modal-panel {
    padding: 14px;
    max-height: 90vh;
  }
}

/* Vehicle Health phone hardening (320px to 430px) */
@media (max-width: 430px) {
  .garage-page,
  .garage-page.garage-page-dashboard-mode {
    overflow-x: hidden;
    padding-bottom: calc(272px + env(safe-area-inset-bottom));
  }

  .garage-dashboard-shell,
  .garage-dashboard-views,
  .garage-dashboard-view,
  .garage-panel,
  .garage-health-screen-card,
  .garage-health-grid,
  .garage-health-card,
  .garage-health-card * {
    min-width: 0;
  }

  .garage-health-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .garage-dashboard-view[data-dashboard-view="health"] {
    padding-bottom: calc(94px + env(safe-area-inset-bottom));
  }

  .garage-health-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: grid;
    gap: 10px;
  }

  .garage-health-card-head,
  .garage-panel-heading-row,
  .garage-health-detail-overview {
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
  }

  .garage-health-card-head > * {
    min-width: 0;
    max-width: 100%;
  }

  .garage-health-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }

  .garage-health-card-icon svg,
  .garage-health-detail-icon svg {
    width: 21px;
    height: 21px;
  }

  .garage-status-badge,
  .garage-status-pill,
  .garage-health-card .garage-status-badge,
  .garage-health-card .garage-status-pill {
    position: static;
    width: auto;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
    height: auto;
    line-height: 1.25;
    padding: 6px 10px;
  }

  .garage-health-card strong,
  .garage-health-card p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .garage-health-card-label {
    overflow-wrap: break-word;
    word-break: normal;
  }

  .garage-progress-bar {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .garage-tyre-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  .garage-tyre-chip {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .garage-mobile-bottom-nav {
    left: 10px;
    right: 10px;
    width: auto;
    max-width: none;
    gap: 6px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border-radius: 18px;
    box-sizing: border-box;
  }

  .garage-mobile-nav-item {
    min-height: 42px;
    padding: 0 4px;
    font-size: 0.72rem;
  }

  .garage-page .container,
  .garage-page .garage-section,
  .garage-page .garage-panel,
  .garage-page .garage-health-screen-card,
  .garage-page .garage-dashboard-shell {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }
}

/* LOS Core Lite internal prototype */
.los-admin-page {
  background:
    radial-gradient(circle at 16% 0%, rgba(31, 88, 176, 0.2), transparent 35%),
    linear-gradient(180deg, #050b16 0%, #07111f 100%);
  overflow-x: hidden;
  padding-bottom: 40px;
}

.los-admin-hero,
.los-section {
  padding: 22px 20px;
}

.los-admin-hero .container,
.los-section .container {
  max-width: 1180px;
  margin: 0 auto;
}

.los-admin-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.los-prototype-badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(214, 170, 69, 0.3);
  background: rgba(214, 170, 69, 0.1);
  color: #f7e2a2;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.los-admin-page h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 6.6vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.los-admin-intro,
.los-demo-note {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.los-demo-note {
  font-size: 0.9rem;
}

.los-section h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 4.8vw, 1.9rem);
}

.los-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.los-summary-card,
.los-enquiry-table-wrap,
.los-record-card,
.los-timeline li {
  border: 1px solid rgba(214, 170, 69, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.los-summary-card {
  padding: 14px;
}

.los-summary-card span,
.los-time {
  display: block;
  color: #d6aa45;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.los-summary-card strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1.1;
}

.los-summary-card small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.66);
}

.los-section-heading {
  margin-bottom: 12px;
}

.los-enquiry-table-wrap {
  overflow: hidden;
}

.los-enquiry-table {
  width: 100%;
  border-collapse: collapse;
}

.los-enquiry-table th,
.los-enquiry-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.los-enquiry-table th {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.los-enquiry-table td {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
}

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

.los-status,
.los-priority {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.los-status-new {
  color: #ffffff;
  background: rgba(214, 170, 69, 0.24);
}

.los-status-reviewing {
  color: #d9e7ff;
  background: rgba(52, 122, 215, 0.3);
}

.los-status-contacted {
  color: #d7f7e1;
  background: rgba(84, 178, 113, 0.28);
}

.los-status-booked {
  color: #ffe9b2;
  background: rgba(217, 142, 51, 0.28);
}

.los-status-closed {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.14);
}

.los-priority.high {
  color: #ffd2d2;
  background: rgba(210, 78, 78, 0.28);
}

.los-priority.medium {
  color: #ffe8ba;
  background: rgba(196, 143, 55, 0.26);
}

.los-priority.low {
  color: #d5e9ff;
  background: rgba(74, 118, 182, 0.25);
}

.los-table-button {
  margin: 0;
  min-height: 36px;
  padding: 8px 14px;
  font-size: 0.82rem;
}

.los-record-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.los-record-card {
  padding: 16px;
}

.los-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.los-record-block {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.los-record-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.los-record-block h3 {
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 1rem;
}

.los-record-block p,
.los-record-block li {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
}

.los-record-block ul,
.los-record-block ol {
  margin: 0;
  padding-left: 20px;
}

.los-record-block textarea,
.los-record-block select {
  width: 100%;
  padding: 12px 14px;
  color: #ffffff;
  font: inherit;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
}

.los-record-block textarea {
  min-height: 100px;
  resize: vertical;
}

.los-timeline-section {
  padding-bottom: 48px;
}

.los-timeline {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.los-timeline li {
  padding: 14px;
}

.los-timeline strong {
  display: block;
  margin-top: 4px;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 1rem;
}

.los-timeline p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

@media (min-width: 760px) {
  .los-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 1024px) {
  .los-admin-hero,
  .los-section {
    padding: 22px 8%;
  }

  .los-summary-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .garage-dashboard-section,
  .garage-dashboard-section .container,
  .garage-dashboard-top-grid,
  .garage-dashboard-content-grid,
  .garage-main-vehicle-card,
  .garage-quick-actions-card,
  .garage-dashboard-card,
  .garage-document-grid,
  .garage-document-card,
  .garage-timeline-list,
  .garage-timeline-list li {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .garage-main-vehicle-card,
  .garage-quick-actions-card,
  .garage-dashboard-card {
    padding: 14px;
    border-radius: 16px;
  }

  .garage-main-vehicle-meta {
    gap: 8px;
  }

  .garage-feedback-button {
    width: 100%;
    justify-content: center;
  }

  .garage-ai-card {
    padding: 16px;
    border-radius: 16px;
  }

  .garage-ai-context,
  .garage-ai-preset-grid,
  .garage-ai-response-grid,
  .garage-ai-input-row {
    grid-template-columns: 1fr;
  }

  .garage-ai-preset-button {
    text-align: left;
  }

  .garage-ai-submit {
    width: 100%;
    min-width: 0;
  }

  .garage-vehicle-image-media {
    transform: scale(1.15);
  }

  .los-enquiry-table thead {
    display: none;
  }

  .los-enquiry-table,
  .los-enquiry-table tbody,
  .los-enquiry-table tr,
  .los-enquiry-table td {
    display: block;
    width: 100%;
  }

  .los-enquiry-table tr {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .los-enquiry-table tr:last-child {
    border-bottom: 0;
  }

  .los-enquiry-table td {
    padding: 7px 0;
    border: 0;
  }

  .los-enquiry-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: #d6aa45;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

@media (max-width: 700px) {
  .los-admin-page h1 {
    font-size: clamp(1.8rem, 8.2vw, 2.3rem);
  }

  .los-section h2 {
    font-size: clamp(1.2rem, 6vw, 1.5rem);
  }

  .los-admin-intro,
  .los-record-block p,
  .los-record-block li,
  .los-timeline p,
  .los-enquiry-table td {
    font-size: 0.9rem;
  }
}

/* Desktop header restoration: keep mobile/tablet compact behavior unchanged */
@media (min-width: 961px) {
  .site-header {
    min-height: 92px;
    padding: 14px clamp(28px, 3vw, 54px);
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center !important;
    column-gap: clamp(20px, 2vw, 34px);
  }

  .brand {
    max-width: min(360px, 28vw) !important;
    min-width: 240px;
  }

  .brand-icon {
    width: auto !important;
    max-width: 100%;
    max-height: 96px;
  }

  #site-nav {
    width: 100%;
    max-width: 980px;
    margin-left: auto;
    margin-right: 0;
    display: grid;
    grid-template-columns: repeat(5, max-content) max-content max-content;
    justify-content: end;
    align-items: center;
    gap: clamp(10px, 1.1vw, 18px);
  }

  #site-nav a {
    min-width: 0;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    font-size: 0.93rem;
    text-align: center;
    justify-self: center;
  }

  #site-nav a.nav-call-button,
  #site-nav a.nav-button {
    justify-self: end;
    white-space: nowrap;
  }

  #site-nav a.nav-call-button {
    margin-left: clamp(4px, 0.6vw, 10px);
    padding: 10px 16px;
    font-size: 0.88rem;
  }

  #site-nav a.nav-button {
    margin: 0;
    padding: 11px 20px;
    font-size: 0.88rem;
  }
}

@media (min-width: 1600px) {
  .site-header {
    max-width: 1520px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 430px) {
  .garage-section.garage-dashboard-section {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* LOS Core Lite Issue 1 workflow */
.los-lite-summary-section,
.los-lite-customers-section {
  padding-bottom: 10px;
}

.los-lite-panel-header {
  margin-bottom: 10px;
}

.los-lite-customer-toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.los-lite-customer-toolbar label {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.los-lite-customer-toolbar input {
  width: 100%;
  padding: 12px 14px;
  color: #ffffff;
  font: inherit;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
}

.los-lite-reset-button {
  margin: 0;
  width: fit-content;
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.84rem;
}

.los-lite-customer-table-wrap {
  margin-top: 8px;
}

/* Final header layout authority */
.site-header-inner {
  width: min(100%, 1400px);
  margin: 0 auto;
}

@media (min-width: 961px) {
  .site-header {
    min-height: 104px !important;
    padding: 0 clamp(20px, 2.6vw, 44px) !important;
    background-position: right 28% !important;
  }

  .site-header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(18px, 2vw, 30px);
  }

  .site-header .brand {
    max-width: none !important;
    min-width: 0;
    flex: 0 0 auto;
  }

  .site-header .brand-icon {
    width: clamp(230px, 19vw, 300px) !important;
    max-width: none;
    height: auto;
    max-height: none;
  }

  .site-header .site-header-nav,
  .site-header #site-nav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 1.35vw, 24px);
    margin: 0;
    min-width: 0;
    flex-wrap: nowrap;
  }

  .site-header .site-header-nav a,
  .site-header #site-nav a {
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    font-size: clamp(0.83rem, 0.9vw, 1rem);
    min-width: 0;
    line-height: 1.2;
  }

  .site-header .site-header-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
    min-width: max-content;
  }

  .site-header .site-header-actions .nav-call-button,
  .site-header .site-header-actions .nav-button {
    margin: 0;
    white-space: nowrap;
    min-height: 40px;
    font-size: 0.84rem;
  }

  .site-header .site-header-actions .nav-call-button {
    padding: 9px 14px;
  }

  .site-header .site-header-actions .nav-button {
    padding: 10px 16px;
  }

  .site-header .mobile-header-actions {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .site-header-inner {
    display: contents;
  }

  .site-header .site-header-actions {
    display: none !important;
  }
}

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

  .site-header {
    min-height: 70px !important;
    padding: calc(8px + env(safe-area-inset-top)) 12px 8px !important;
    gap: 8px !important;
    background-position: 58% 52%, 58% 52% !important;
  }

  .site-header .site-header-inner {
    display: flex !important;
    align-items: center;
    width: 100%;
    gap: 6px;
  }

  .site-header .brand {
    max-width: min(190px, 52vw) !important;
    min-width: 72px !important;
    margin: 0 !important;
  }

  .site-header .brand-icon {
    width: clamp(72px, calc(42.8vw - 38px), 112px) !important;
    max-width: 100%;
    max-height: none !important;
    flex-shrink: 0;
  }

  .site-header .mobile-header-actions {
    display: flex !important;
    align-items: center;
    gap: 6px;
    margin-left: auto;
  }

  .site-header .mobile-menu-toggle,
  .site-header .mobile-book-button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .site-header .mobile-book-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0;
    white-space: nowrap;
  }

  .site-header .site-header-actions {
    display: none !important;
  }

  .site-header #site-nav {
    top: calc(100% + 6px);
    left: 12px;
    right: 12px;
  }

  .site-header #site-nav .nav-button {
    display: none !important;
  }

  .site-header #site-nav .nav-call-mobile,
  .site-header #site-nav .nav-call-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(214, 170, 69, 0.3);
    background: rgba(214, 170, 69, 0.08);
    color: rgba(255, 255, 255, 0.94);
    text-align: center;
  }

  .hero {
    padding-top: 14px !important;
  }
}

.los-lite-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.los-lite-back {
  margin: 0;
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.84rem;
}

.los-lite-record-card {
  padding: 16px;
}

.los-lite-detail-grid {
  gap: 10px;
}

.los-lite-detail-grid .los-record-block {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 0;
}

.los-lite-detail-grid .los-record-block p {
  margin-bottom: 6px;
}

.los-lite-linked-vehicles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.los-lite-vehicle-card {
  border: 1px solid rgba(214, 170, 69, 0.2);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.los-lite-vehicle-card h4 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
}

.los-lite-vehicle-card p {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
}

.los-lite-save-note {
  margin: 10px 0 0;
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.84rem;
}

.los-lite-activity-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.los-lite-activity-list li {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.los-lite-activity-list strong {
  display: block;
  margin-top: 4px;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 0.95rem;
}

@media (min-width: 760px) {
  .los-lite-customer-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 10px;
  }

  .los-lite-customer-toolbar label {
    grid-column: 1 / -1;
  }

  .los-lite-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .los-lite-customer-table th {
    display: none;
  }

  .los-lite-customer-table,
  .los-lite-customer-table tbody,
  .los-lite-customer-table tr,
  .los-lite-customer-table td {
    display: block;
    width: 100%;
  }

  .los-lite-customer-table tr {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .los-lite-customer-table td {
    padding: 6px 0;
    border: 0;
  }

  .los-lite-customer-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: #d6aa45;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

/* ==================================================
   Our Garage — premium motorsport dashboard refinements
   Extends the existing navy/gold panel system. No new
   colours, fonts or dependencies introduced.
   ================================================== */

/* --- Vehicle as the visual focus --------------------------------- */

.garage-vehicle-header-card {
  position: relative;
  overflow: hidden;
}

.garage-vehicle-header-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 62%, rgba(214, 170, 69, 0.10) 63%, rgba(214, 170, 69, 0.10) 65%, transparent 66%);
  pointer-events: none;
}

.garage-vehicle-header-body {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr;
}

.garage-vehicle-header-art {
  order: -1;
  min-height: 210px;
  padding: 10px;
}

.garage-dashboard-vehicle-image {
  min-height: 170px;
}

.garage-registration-hero {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(214, 170, 69, 0.45);
  font-family: Consolas, "SFMono-Regular", "Roboto Mono", monospace;
  letter-spacing: 0.14em;
}

@media (min-width: 640px) {
  .garage-vehicle-header-body {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 250px);
    align-items: center;
  }

  .garage-vehicle-header-art {
    order: 0;
    min-height: 230px;
  }

  .garage-dashboard-vehicle-image {
    min-height: 190px;
  }
}

/* --- Vehicle status: Healthy / Attention Needed / Urgent ---------- */

.garage-status-summary-card {
  border-left: 3px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.2s ease;
}

.garage-status-summary-card:has(.garage-status-badge-green) {
  border-left-color: rgba(90, 199, 120, 0.65);
}

.garage-status-summary-card:has(.garage-status-badge-amber) {
  border-left-color: rgba(214, 170, 69, 0.65);
}

.garage-status-summary-card:has(.garage-status-badge-red) {
  border-left-color: rgba(233, 93, 93, 0.65);
}

.garage-status-summary-card .garage-status-badge {
  min-height: 34px;
  padding: 0 16px;
  font-size: 0.82rem;
}

.garage-status-summary-card #garage-dashboard-health {
  font-size: clamp(1.1rem, 4.2vw, 1.5rem);
}

/* --- MOT / service / recommendations / bookings tiles -------------- */

.garage-status-summary-grid article {
  position: relative;
  padding-left: 15px;
}

.garage-status-summary-grid article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 2px;
  background: rgba(214, 170, 69, 0.35);
}

.garage-status-summary-grid strong {
  font-size: 1.02rem;
}

/* --- Primary garage actions: equal-weight pit-wall row -------------- */

.garage-pit-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.garage-pit-actions .button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(214, 170, 69, 0.16), rgba(214, 170, 69, 0.06));
  border: 1px solid rgba(214, 170, 69, 0.4);
  color: #f7e2a2;
  text-align: center;
  font-size: 0.92rem;
  box-shadow: none;
}

.garage-pit-actions .button:hover,
.garage-pit-actions .button:focus-visible {
  background: linear-gradient(145deg, rgba(214, 170, 69, 0.26), rgba(214, 170, 69, 0.1));
  border-color: rgba(214, 170, 69, 0.6);
  transform: translateY(-2px);
}

@media (min-width: 640px) {
  .garage-pit-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* --- Secondary feature grid: quieter than the primary actions ------ */

.garage-dashboard-feature-grid-label {
  margin: 4px 0 -2px;
}

.garage-dashboard-feature-grid .garage-feature-launch-card {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
}

.garage-dashboard-feature-grid .garage-feature-icon {
  width: 36px;
  height: 36px;
}

.garage-dashboard-feature-grid .garage-feature-icon svg {
  width: 17px;
  height: 17px;
}

.garage-dashboard-feature-grid strong {
  font-size: 0.94rem;
}

.garage-dashboard-feature-grid small {
  font-size: 0.82rem;
}

/* --- Spacing / hierarchy rhythm ------------------------------------ */

.garage-dashboard-shell {
  gap: 16px;
}

.garage-panel + .garage-panel,
.garage-dashboard-view > .garage-panel {
  margin-top: 0;
}

.garage-primary-actions-card h3 {
  letter-spacing: -0.01em;
}

/* thank-you.html - moved from inline style attributes so the site can run
   under a strict Content-Security-Policy (style-src without 'unsafe-inline'). */
.thankyou-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.thankyou-banner {
  max-width: 800px;
}

.thankyou-divider {
  margin: 30px 0;
  opacity: 0.2;
}

.los-login-form {
  max-width: 420px;
}

/* Mobile nav dropdown: guarantee a fully opaque, fully-covering panel so
   hero/page content behind it can never bleed through and menu items stay
   legible. Placed last and matched on .menu-open for maximum specificity,
   overriding any earlier positioning/background rules for this element. */
@media (max-width: 960px) {
  .site-header.menu-open #site-nav {
    left: 4% !important;
    right: 4% !important;
    width: auto !important;
    margin: 0 !important;
    background: #07111f !important;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.55);
  }
}

@media (max-width: 430px) {
  .site-header.menu-open #site-nav {
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    margin: 0 !important;
  }
}

/* Podium Control Centre - Increment 1 (staff identity, vehicle search,
   health-check toggle grid). Reuses the existing los-* card/table/badge
   styling and the same green/amber/red tone tokens already used for
   customer-facing status badges, so the staff tool and My Garage read as
   one consistent product rather than two different visual languages. */
.los-staff-identity {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(214, 170, 69, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #f7e2a2;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.los-health-check-block {
  grid-column: 1 / -1;
}

.los-health-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.los-health-item {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.los-health-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.los-health-item-head strong {
  font-size: 0.92rem;
}

.los-health-tone-toggle {
  display: flex;
  gap: 4px;
}

.los-tone-button {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 34px;
}

.los-tone-button.is-selected.los-tone-green {
  border-color: rgba(90, 199, 120, 0.6);
  background: rgba(90, 199, 120, 0.16);
  color: #b8f3c8;
}

.los-tone-button.is-selected.los-tone-amber {
  border-color: rgba(214, 170, 69, 0.6);
  background: rgba(214, 170, 69, 0.18);
  color: #f7e2a2;
}

.los-tone-button.is-selected.los-tone-red {
  border-color: rgba(233, 93, 93, 0.6);
  background: rgba(233, 93, 93, 0.16);
  color: #ffd0d0;
}

.los-health-item-note {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .los-admin-title-row {
    flex-wrap: wrap;
  }

  .los-tone-button {
    flex: 1;
    padding: 8px 6px;
  }

  .los-health-tone-toggle {
    width: 100%;
  }
}

/* ---------------------------------------------------------------------
   MOT History - vehicle confirmation collapsible section, My Garage
   dashboard MOT panel, and the full-history More-tab panel. Reuses the
   existing tone (.garage-status-badge-*), panel (.garage-panel) and
   kicker/label conventions throughout rather than introducing a second
   design language.
--------------------------------------------------------------------- */

.garage-mot-provenance-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  font-style: italic;
}

.garage-mot-summary-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.garage-mot-defects-summary,
.garage-mot-defect-group {
  display: grid;
  gap: 8px;
}

.garage-mot-defect-group {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.garage-mot-defect-group span {
  display: block;
  color: #d6aa45;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.garage-mot-defect-group ul {
  margin: 4px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.garage-mot-defect-group-dangerous {
  border-color: rgba(233, 93, 93, 0.4);
  background: rgba(233, 93, 93, 0.08);
}

.garage-mot-defect-group-major {
  border-color: rgba(233, 93, 93, 0.28);
  background: rgba(233, 93, 93, 0.05);
}

.garage-mot-defect-group-minor,
.garage-mot-defect-group-advisory {
  border-color: rgba(214, 170, 69, 0.3);
  background: rgba(214, 170, 69, 0.06);
}

/* Confirmation-screen collapsible "View MOT history" block */

.garage-mot-lookup-block {
  display: grid;
  gap: 10px;
}

.garage-mot-history-toggle::after {
  content: " \25BE";
}

.garage-mot-history-toggle[aria-expanded="true"]::after {
  content: " \25B4";
}

.garage-mot-history-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

/* Repeated MOT record cards */

.garage-mot-repeated-items-inner {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}

.garage-mot-repeated-item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(214, 170, 69, 0.3);
  background: rgba(214, 170, 69, 0.06);
}

.garage-mot-repeated-item-dangerous {
  border-color: rgba(233, 93, 93, 0.4);
  background: rgba(233, 93, 93, 0.08);
}

.garage-mot-repeated-item p {
  margin: 0;
  color: #ffffff;
  font-weight: 600;
}

.garage-mot-repeated-item small {
  color: rgba(255, 255, 255, 0.64);
}

/* Full MOT history list (dashboard More-tab panel) */

.garage-mot-history-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.garage-mot-history-item {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.garage-mot-history-item-green {
  border-left-color: rgba(90, 199, 120, 0.6);
}

.garage-mot-history-item-red {
  border-left-color: rgba(233, 93, 93, 0.6);
}

.garage-mot-history-item-neutral {
  border-left-color: rgba(255, 255, 255, 0.2);
}

.garage-mot-history-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.garage-mot-history-item-date {
  font-weight: 700;
  color: #ffffff;
}

.garage-mot-history-item-mileage {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.garage-mot-history-item-detail {
  display: grid;
  gap: 8px;
  padding: 0 14px 14px;
}

.garage-mot-history-item-detail[hidden] {
  display: none;
}

.garage-mot-item-source,
.garage-mot-item-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
}

.garage-mot-history-empty {
  color: rgba(255, 255, 255, 0.7);
}

.garage-mot-source-note {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
}

@media (max-width: 480px) {
  .garage-mot-history-item-mileage {
    margin-left: 0;
    width: 100%;
  }
}

/* ---------------------------------------------------------------------
   UKVD Vehicle Specification - dashboard teaser card and the full
   "Specification" More-tab panel. Reuses the same tone
   (.garage-status-badge-*), panel (.garage-panel), kicker/label and
   provenance-note (.garage-mot-provenance-note/.garage-mot-source-note)
   conventions as the MOT History block above, rather than introducing a
   second design language.
--------------------------------------------------------------------- */

.garage-ukvd-section {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.garage-ukvd-section:first-child {
  border-top: 0;
  padding-top: 8px;
}

.garage-ukvd-section h4 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}

.garage-ukvd-field-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin: 0;
}

.garage-ukvd-field-list dt {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.garage-ukvd-field-list dd {
  margin: 2px 0 0;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
}

.garage-ukvd-tyre-list,
.garage-ukvd-battery-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.garage-ukvd-tyre-list li,
.garage-ukvd-battery-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.garage-ukvd-tyre-list strong,
.garage-ukvd-battery-list strong {
  color: #ffffff;
}

.garage-ukvd-equipment-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.garage-ukvd-equipment-group h5 {
  margin: 0 0 6px;
  color: #d6aa45;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.garage-ukvd-equipment-group ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

@media (max-width: 700px) {
  .garage-ukvd-field-list,
  .garage-ukvd-equipment-groups {
    grid-template-columns: 1fr;
  }
}