:root {
  --navy-950: #061426;
  --navy-900: #081c33;
  --navy-800: #0b2948;
  --blue-700: #123f6c;
  --gold-500: #e7b642;
  --gold-400: #f2c85d;
  --cream: #f7f4ed;
  --white: #fff;
  --ink: #111820;
  --muted: #5b6470;
  --line: #dfe3e6;
  --shell: 1180px;
  --shadow: 0 24px 70px rgb(4 19 36 / 16%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-size: 1rem;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgb(6 20 38 / 97%);
  box-shadow: 0 8px 30px rgb(0 0 0 / 18%);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  text-decoration: none;
}

.brand img {
  display: block;
  width: 128px;
  height: auto;
}

.desktop-nav {
  display: none;
}

.header-call {
  display: grid;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: right;
  text-decoration: none;
}

.header-call span {
  color: var(--gold-400);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  overflow: hidden;
  align-items: end;
  background: var(--navy-950);
  color: var(--white);
}

.hero-photo,
.hero-wash {
  position: absolute;
  inset: 0;
}

.hero-photo {
  background-image: url("assets/first-class-collision-flyer.jpg");
  background-position: 50% 20%;
  background-size: cover;
  filter: saturate(0.8) contrast(1.04);
  opacity: 0.45;
  transform: scale(1.01);
}

.hero-wash {
  background:
    linear-gradient(180deg, rgb(6 20 38 / 35%) 0%, rgb(6 20 38 / 65%) 35%, var(--navy-950) 91%),
    linear-gradient(90deg, rgb(6 20 38 / 95%) 0%, rgb(6 20 38 / 55%) 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  padding-top: 142px;
  padding-bottom: 58px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold-400);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 2px;
  background: currentcolor;
}

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

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 12vw, 5.8rem);
  line-height: 0.93;
}

h1 em {
  color: var(--gold-400);
  font-weight: inherit;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 30px;
  color: #e0e8ee;
  font-size: 1.07rem;
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  border: 2px solid transparent;
  border-radius: 5px;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 19px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button-primary {
  background: var(--gold-500);
  color: var(--navy-950);
}

.button-primary:hover {
  background: var(--gold-400);
}

.button-secondary {
  border-color: rgb(255 255 255 / 55%);
  color: var(--white);
}

.button-secondary:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy-950);
}

.button-light {
  background: var(--white);
  color: var(--navy-950);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 24px;
  margin: 27px 0 0;
  padding: 0;
  color: #dbe4eb;
  font-size: 0.84rem;
  font-weight: 700;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust-list svg {
  width: 18px;
  fill: none;
  stroke: var(--gold-400);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.estimate-card {
  padding: 26px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-top: 4px solid var(--gold-500);
  background: rgb(9 35 62 / 88%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.card-kicker {
  margin-bottom: 10px;
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.estimate-card h2 {
  margin-bottom: 12px;
  font-size: 2rem;
}

.estimate-card p:not(.card-kicker) {
  margin-bottom: 18px;
  color: #d5dee6;
  line-height: 1.65;
}

.estimate-card a {
  display: block;
  margin-bottom: 7px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 700;
  text-decoration-color: var(--gold-500);
  text-underline-offset: 5px;
}

.estimate-card > span {
  color: #aebdca;
  font-size: 0.82rem;
  font-weight: 700;
}

.quick-info {
  position: relative;
  z-index: 2;
  background: var(--gold-500);
}

.quick-info-grid {
  display: grid;
}

.quick-info-grid > * {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgb(6 20 38 / 20%);
  color: var(--navy-950);
  text-decoration: none;
}

.quick-info-grid > *:last-child {
  border-bottom: 0;
}

.info-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgb(6 20 38 / 28%);
  border-radius: 50%;
  place-items: center;
}

.info-icon svg {
  width: 20px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.quick-info-grid small,
.quick-info-grid strong {
  display: block;
}

.quick-info-grid small {
  margin-bottom: 3px;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-info-grid strong {
  font-size: 0.94rem;
}

.section {
  padding: 84px 0;
}

.services {
  background:
    radial-gradient(circle at 90% 10%, rgb(231 182 66 / 8%), transparent 26rem),
    var(--cream);
}

.section-heading {
  display: grid;
  gap: 20px;
  margin-bottom: 42px;
}

.section-heading h2,
.contact-copy h2 {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--navy-900);
  font-size: clamp(2.25rem, 8.5vw, 4rem);
  line-height: 1.03;
}

.section-heading > p,
.contact-copy > p {
  max-width: 580px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.service-grid {
  display: grid;
  gap: 14px;
}

.service-card {
  position: relative;
  min-height: 258px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  border-color: rgb(18 63 108 / 35%);
  box-shadow: 0 15px 35px rgb(4 19 36 / 9%);
  transform: translateY(-3px);
}

.service-card.featured {
  background: var(--navy-900);
  color: var(--white);
}

.service-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #bbc1c7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.featured .service-number {
  color: rgb(255 255 255 / 38%);
}

.service-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 38px;
  border-radius: 50%;
  background: #f5ecd4;
  color: var(--blue-700);
  place-items: center;
}

.featured .service-icon {
  background: var(--gold-500);
  color: var(--navy-950);
}

.service-icon svg {
  width: 27px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-card h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.featured p {
  color: #c9d3dc;
}

.insurance-band {
  padding: 70px 0;
  background:
    linear-gradient(90deg, rgb(8 28 51 / 98%), rgb(11 41 72 / 94%)),
    url("assets/first-class-collision-flyer.jpg") center 35% / cover;
  color: var(--white);
}

.insurance-inner {
  display: grid;
  gap: 25px;
  align-items: center;
}

.shield-large {
  width: 70px;
  color: var(--gold-400);
}

.shield-large svg {
  width: 100%;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.insurance-inner h2 {
  max-width: 550px;
  margin-bottom: 0;
  font-size: clamp(2rem, 8vw, 3.3rem);
  line-height: 1.02;
}

.insurance-inner > p {
  margin: 0;
  color: #cbd5de;
  line-height: 1.7;
}

.process {
  background: var(--white);
}

.section-heading.centered {
  justify-items: center;
  text-align: left;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading.centered .eyebrow > span {
  display: none;
}

.process-grid {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-grid li {
  position: relative;
  padding: 8px 0 40px 72px;
}

.process-grid li:not(:last-child)::after {
  position: absolute;
  top: 53px;
  bottom: 4px;
  left: 25px;
  width: 1px;
  background: var(--line);
  content: "";
}

.process-grid li > span {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 50px;
  height: 50px;
  border: 2px solid var(--gold-500);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  place-items: center;
}

.process-grid h3 {
  margin-bottom: 8px;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  gap: 38px;
}

.contact-copy > p {
  margin-top: 22px;
}

.contact-actions {
  align-items: flex-start;
  margin-top: 28px;
}

.text-link {
  padding: 12px 0;
  color: var(--blue-700);
  font-weight: 800;
  text-underline-offset: 4px;
}

.location-card {
  padding: 28px;
  border-top: 5px solid var(--gold-500);
  background: var(--navy-900);
  box-shadow: var(--shadow);
  color: var(--white);
}

.location-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.location-top svg {
  width: 24px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.location-card address {
  display: grid;
  margin-bottom: 28px;
  color: #cbd5de;
  font-size: 1rem;
  font-style: normal;
  line-height: 1.65;
}

.location-card address strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.hours-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid rgb(255 255 255 / 14%);
  border-bottom: 1px solid rgb(255 255 255 / 14%);
  color: #aebdca;
  font-size: 0.85rem;
}

.hours-row strong {
  color: var(--white);
}

.location-card > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  color: var(--gold-400);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.location-card > a svg {
  width: 18px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.final-cta {
  padding: 78px 0;
  background: var(--gold-500);
  color: var(--navy-950);
  text-align: center;
}

.final-cta p {
  margin-bottom: 13px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.final-cta h2 {
  max-width: 740px;
  margin: 0 auto 28px;
  font-size: clamp(2.3rem, 9vw, 4.3rem);
  line-height: 1;
}

footer {
  padding: 42px 0 110px;
  background: var(--navy-950);
  color: #aab8c4;
}

.footer-inner {
  display: grid;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.8rem;
}

.footer-brand {
  width: fit-content;
}

.footer-brand img {
  width: 180px;
}

.mobile-call {
  position: fixed;
  z-index: 60;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 18px;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 6px;
  background: var(--gold-500);
  box-shadow: 0 12px 30px rgb(0 0 0 / 28%);
  color: var(--navy-950);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-call svg {
  width: 22px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.mobile-call span {
  display: grid;
}

.mobile-call small {
  font-size: 0.61rem;
  letter-spacing: 0.1em;
}

@media (min-width: 620px) {
  .shell {
    width: min(calc(100% - 64px), var(--shell));
  }

  .hero-actions,
  .contact-actions {
    flex-direction: row;
    align-items: center;
  }

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

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

  .quick-info-grid > * {
    padding: 18px;
    border-right: 1px solid rgb(6 20 38 / 20%);
    border-bottom: 0;
  }

  .quick-info-grid > *:last-child {
    border-right: 0;
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .process-grid li {
    padding: 0;
    text-align: center;
  }

  .process-grid li:not(:last-child)::after {
    top: 25px;
    right: -15px;
    bottom: auto;
    left: calc(50% + 35px);
    width: calc(100% - 40px);
    height: 1px;
  }

  .process-grid li > span {
    position: relative;
    z-index: 1;
    margin: 0 auto 22px;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .footer-inner {
    grid-template-columns: 1.3fr 1fr auto;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .header-inner {
    min-height: 88px;
  }

  .brand img {
    width: 168px;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .desktop-nav a {
    color: #dce5ec;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
  }

  .desktop-nav a:hover {
    color: var(--gold-400);
  }

  .hero {
    min-height: 790px;
    align-items: center;
  }

  .hero-photo {
    background-position: 74% 25%;
    background-size: 50% auto;
    background-repeat: no-repeat;
    opacity: 0.7;
  }

  .hero-wash {
    background:
      linear-gradient(180deg, rgb(6 20 38 / 10%) 0%, var(--navy-950) 100%),
      linear-gradient(90deg, var(--navy-950) 0%, var(--navy-950) 40%, rgb(6 20 38 / 66%) 63%, rgb(6 20 38 / 35%) 100%);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 315px;
    align-items: end;
    padding-top: 155px;
    padding-bottom: 80px;
  }

  .estimate-card {
    align-self: end;
  }

  .section {
    padding: 116px 0;
  }

  .section-heading {
    grid-template-columns: 1.45fr 0.75fr;
    align-items: end;
    margin-bottom: 58px;
  }

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

  .insurance-inner {
    grid-template-columns: 80px 1.5fr 1fr auto;
    gap: 30px;
  }

  .insurance-inner .eyebrow {
    margin-bottom: 12px;
  }

  .section-heading.centered {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .section-heading.centered p {
    text-align: center;
  }

  .contact-grid {
    gap: 90px;
  }

  .location-card {
    padding: 42px;
  }

  .mobile-call {
    display: none;
  }

  footer {
    padding-bottom: 42px;
  }
}

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