/* Bold, modern, high-impact styling for Shafer Diesel */

:root {
  --bg0: #07070a;
  --bg1: #0d0d14;
  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.7);
  --muted2: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.14);
  --accent: #ff4d2e;
  --accent2: #ffb020;
  --good: #2fe58a;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  --shadow2: 0 10px 30px rgba(0, 0, 0, 0.4);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(255, 77, 46, 0.18), transparent 55%),
    radial-gradient(900px 560px at 80% 10%, rgba(255, 176, 32, 0.12), transparent 52%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  color: #000;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 999;
}

.skip-link:focus {
  left: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(7, 7, 10, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
}

.brand-logo {
  height: 80px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
}

.footer .brand-logo {
  height: 56px;
  max-width: 260px;
}

.site-header .brand-title strong {
  display: none;
}

.footer .brand-title strong {
  display: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 77, 46, 0.95), rgba(255, 176, 32, 0.85));
  box-shadow: 0 12px 28px rgba(255, 77, 46, 0.22);
  position: relative;
}

.brand-mark:after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  border: 2px solid rgba(0, 0, 0, 0.35);
  transform: rotate(12deg);
  opacity: 0.35;
}

.brand-title {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-title strong {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-title span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 850;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.01em;
  padding: 10px 0;
  position: relative;
}

.nav a:hover {
  color: var(--text);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.2s ease;
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
  font-weight: 700;
  font-size: 14px;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
}

.btn-primary {
  border-color: rgba(255, 77, 46, 0.42);
  background: linear-gradient(135deg, rgba(255, 77, 46, 0.95), rgba(255, 176, 32, 0.85));
  color: #0b0b0f;
  box-shadow: 0 18px 40px rgba(255, 77, 46, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(255, 77, 46, 1), rgba(255, 176, 32, 0.95));
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-weight: 800;
}

.btn-ghost:hover {
  color: var(--text);
}

.mobile-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 800;
  cursor: pointer;
}

.hero {
  padding: 52px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 22px;
  align-items: stretch;
}

.hero-copy {
  padding: 24px 0;
  min-width: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 13px;
  justify-content: space-between;
}

.eyebrow-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 176, 32, 1), rgba(255, 77, 46, 0.98));
  box-shadow: 0 18px 40px rgba(255, 77, 46, 0.18);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.eyebrow-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.eyebrow-line1,
.eyebrow-line2 {
  line-height: 1.1;
  white-space: nowrap;
}

.eyebrow-line1 {
  font-weight: 950;
  color: var(--text);
}

.eyebrow-line2 {
  color: var(--muted);
  font-weight: 800;
}

.eyebrow-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 77, 46, 1), rgba(255, 176, 32, 1));
  color: #0b0b0f;
  font-weight: 950;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 40px rgba(255, 77, 46, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.eyebrow-cta:hover {
  filter: brightness(1.05);
}

@keyframes dotPulse {
  0% {
    box-shadow: 0 0 0 6px rgba(255, 77, 46, 0.18);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 77, 46, 0.06);
  }
  100% {
    box-shadow: 0 0 0 6px rgba(255, 77, 46, 0.18);
  }
}

.hero h1 {
  margin: 14px 0 12px;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  max-width: 58ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.hero-mini {
  margin-top: 18px;
  color: var(--muted2);
  font-size: 13px;
  font-weight: 700;
}

.hero-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(700px 280px at 25% 10%, rgba(255, 77, 46, 0.18), transparent 55%),
    radial-gradient(500px 250px at 85% 30%, rgba(255, 176, 32, 0.14), transparent 55%),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  min-width: 0;
}

.hero-card .stripe {
  position: absolute;
  inset: -60px -140px auto auto;
  width: 420px;
  height: 220px;
  transform: rotate(-10deg);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 77, 46, 0.35), rgba(255, 176, 32, 0.22));
  filter: blur(1px);
}

.hero-card-inner {
  padding: 22px;
  position: relative;
}

.diag-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.badge {
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.badge span {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 800;
}

.e-cm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  position: relative;
  overflow: hidden;
}

.e-cm .label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.e-cm .big {
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.e-cm-text {
  position: relative;
  z-index: 2;
}

.hero-laptop-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 66%;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-laptop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  border-radius: 0;
  box-shadow: none;
  z-index: 0;

  /* Fade photo out to transparent on the left edge (no visible seam). */
  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 8%,
    rgba(0, 0, 0, 1) 34%,
    rgba(0, 0, 0, 1) 100%
  );
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 8%,
    rgba(0, 0, 0, 1) 34%,
    rgba(0, 0, 0, 1) 100%
  );
}

/* Crossfade between two diagnostics images */
.hero-laptop-a,
.hero-laptop-b {
  transition: opacity 1800ms ease-in-out;
  will-change: opacity;
}

.hero-laptop-a {
  opacity: 1;
}

.hero-laptop-b {
  opacity: 0;
}

.hero-laptop-wrap.is-b .hero-laptop-a {
  opacity: 0;
}

.hero-laptop-wrap.is-b .hero-laptop-b {
  opacity: 1;
}

.hero-laptop-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Subtle readability tint only; must be 0 at the left boundary to avoid seams. */
  background: linear-gradient(
    90deg,
    rgba(7, 7, 10, 0) 0%,
    rgba(7, 7, 10, 0.18) 24%,
    rgba(7, 7, 10, 0) 72%
  );
}

.section {
  padding: 46px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.6;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.photo {
  margin: 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow2);
  overflow: hidden;
  position: relative;
}

.photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.02);
}

.photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  font-weight: 950;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow2);
  overflow: hidden;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(380px 180px at 10% 0%, rgba(255, 77, 46, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover::before {
  opacity: 1;
}

.card-body {
  padding: 18px 18px 16px;
  position: relative;
}

.card h3 {
  margin: 10px 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.card .icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255, 77, 46, 0.12);
  border: 1px solid rgba(255, 77, 46, 0.26);
  display: grid;
  place-items: center;
}

.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 700;
  font-size: 14px;
}

.check {
  margin-top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 8px;
  background: rgba(47, 229, 138, 0.14);
  border: 1px solid rgba(47, 229, 138, 0.3);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.copy-block {
  padding: 18px;
}

.copy-block h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.copy-block p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.stat {
  flex: 1 1 180px;
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.stat strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.stat span {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 850;
}

.cta-band {
  margin-top: 14px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(680px 220px at 10% 0%, rgba(255, 77, 46, 0.26), transparent 55%),
    radial-gradient(500px 210px at 95% 40%, rgba(255, 176, 32, 0.18), transparent 52%),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-band h3 {
  margin: 0;
  font-size: 20px;
}

.cta-band p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 700;
}

.footer {
  padding: 28px 0 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  align-items: start;
}

.footer p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--text);
}

.fineprint {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 800;
  font-size: 12.5px;
}

.page-title {
  padding: 38px 0 20px;
}

.page-title h1 {
  margin: 0;
  font-size: 36px;
  letter-spacing: -0.02em;
}

.page-title p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 700;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.service-detail {
  padding: 18px;
}

.service-detail h3 {
  margin: 0;
  font-size: 18px;
}

.service-detail p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 700;
}

.service-detail ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 14px;
}

.form {
  padding: 18px;
}

.form label {
  display: block;
  font-weight: 900;
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 8px;
}

.field {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  font-weight: 800;
  outline: none;
}

.field:focus {
  border-color: rgba(255, 77, 46, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 77, 46, 0.15);
}

textarea.field {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 800;
  line-height: 1.6;
  font-size: 13px;
}

.notice {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(47, 229, 138, 0.3);
  background: rgba(47, 229, 138, 0.12);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 900;
  line-height: 1.6;
}

.muted {
  color: var(--muted);
}

.contact-card {
  padding: 18px;
}

.contact-card h3 {
  margin: 0;
  font-size: 18px;
}

.contact-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 12px;
  margin-top: 14px;
  align-items: start;
}

.contact-row span {
  color: var(--muted2);
  font-weight: 900;
  font-size: 13px;
}

.contact-row strong,
.contact-row a {
  color: var(--text);
  font-weight: 900;
  font-size: 14px;
}

.map-link {
  margin-top: 16px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  font-weight: 900;
  color: var(--muted);
}

.map-link:hover {
  color: var(--text);
}

.divider {
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.10);
  margin: 16px 0;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 44px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .brand-logo {
    height: 54px;
    max-width: 230px;
  }

  .brand-title span {
    font-size: 12px;
  }

  .eyebrow-icon {
    width: 38px;
    height: 38px;
  }

  .eyebrow-line1,
  .eyebrow-line2 {
    white-space: normal;
  }

  .eyebrow-cta {
    padding: 9px 14px;
  }

  .nav,
  .header-actions .btn-ghost {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* No eyebrow pulse animation in this layout. */
}

.mobile-menu {
  display: none;
  padding-bottom: 14px;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--muted);
  font-weight: 900;
}

.mobile-menu a:hover {
  color: var(--text);
}

.mobile-menu .menu-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.mobile-menu.is-open {
  display: block;
}

