/* Morrow Auto Care — graphite, white and copper */

:root {
  --graphite: #1d2124;
  --graphite-2: #2b3034;
  --steel: #6b7378;
  --line: #d9dcde;
  --paper: #ffffff;
  --mist: #f3f4f5;
  --copper: #b06a35;
  --copper-dark: #8a4f24;
  --copper-light: #e2a878;
  --radius: 4px;
  --max: 1180px;
  --font: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--paper);
}

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

a {
  color: var(--copper-dark);
}

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.5rem 1rem;
  background: var(--graphite);
  color: var(--paper);
  z-index: 20;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Portfolio strip */
.concept-strip {
  padding: 0.4rem 1.25rem;
  font-size: 0.8125rem;
  color: #c9cdd0;
  background: #111416;
  text-align: center;
}

.concept-strip a {
  color: var(--copper-light);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem clamp(1.25rem, 4vw, 3rem);
  background: var(--graphite);
  color: var(--paper);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--copper);
  border-radius: var(--radius);
  color: var(--copper-light);
  font-size: 1rem;
}

.site-header nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  color: #dfe2e4;
  text-decoration: none;
  font-size: 0.9375rem;
}

.nav-list a:hover {
  color: var(--copper-light);
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--copper);
  color: var(--paper);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--copper-dark);
}

.button-small {
  padding: 0.5rem 0.95rem;
  font-size: 0.9375rem;
}

.text-link {
  color: var(--paper);
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: min(84vh, 760px);
  background: var(--graphite);
}

.hero-image {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

.hero-panel {
  grid-area: 1 / 1;
  align-self: end;
  max-width: 36rem;
  margin: 0 0 clamp(1.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(29, 33, 36, 0.92);
  border-left: 4px solid var(--copper);
  color: var(--paper);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-light);
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  line-height: 1.15;
}

.hero-lede {
  margin: 1rem 0 1.5rem;
  color: #d3d7da;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.75rem;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -0.01em;
}

.section-intro {
  max-width: 42rem;
  margin: 0 0 2.5rem;
  color: var(--steel);
}

.tag {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-dark);
}

.tag-inline {
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Packages */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.package {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.package-featured {
  border-top: 4px solid var(--copper);
  background: var(--mist);
}

.package h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.price {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.price-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

.duration {
  margin: 0.25rem 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--steel);
}

.includes {
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.includes li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
}

.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.55rem;
  height: 2px;
  background: var(--copper);
}

/* Vehicle */
.section-dark {
  max-width: none;
  background: var(--graphite);
  color: var(--paper);
}

.section-dark > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-dark .section-head {
  border-color: #464c51;
}

.section-dark .tag {
  color: var(--copper-light);
}

.vehicle-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.vehicle-columns h3 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  color: var(--copper-light);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid #464c51;
  text-align: left;
  font-weight: 400;
}

.data-table thead th {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a9b0b5;
}

.data-table td {
  text-align: right;
  font-weight: 700;
}

.data-table thead th:last-child {
  text-align: right;
}

.condition-list {
  margin: 0;
}

.condition-list div {
  padding: 0.75rem 0;
  border-bottom: 1px solid #464c51;
}

.condition-list dt {
  font-weight: 700;
}

.condition-list dd {
  margin: 0.25rem 0 0;
  color: #c3c8cb;
}

/* On site */
.onsite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.onsite-item h3 {
  margin: 0 0 0.5rem;
  padding-top: 0.75rem;
  border-top: 3px solid var(--graphite);
  font-size: 1.125rem;
}

.onsite-item p {
  margin: 0;
  color: var(--graphite-2);
}

.area {
  margin-top: 3rem;
  padding: 1.75rem;
  background: var(--mist);
  border-radius: var(--radius);
}

.area h3 {
  margin: 0 0 0.25rem;
}

.area p {
  margin: 0 0 1rem;
  color: var(--steel);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
}

/* Process */
.section-rule {
  border-top: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--copper-dark);
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
}

.steps p {
  margin: 0;
  color: var(--steel);
}

/* Quote */
.quote {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  border-top: 1px solid var(--line);
}

.quote-copy p {
  color: var(--steel);
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 700;
  font-size: 0.9375rem;
}

.field input,
.field select {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #a7adb1;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--graphite);
  font: inherit;
}

.quote-form .button {
  grid-column: 1 / -1;
  justify-self: start;
}

.form-output {
  grid-column: 1 / -1;
  display: block;
  color: var(--graphite-2);
}

.form-output:empty {
  display: none;
}

/* Footer */
.site-footer {
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  background: #111416;
  color: #a9b0b5;
  font-size: 0.8125rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--copper-light);
}

/* Responsive */
@media (max-width: 960px) {
  .package-grid,
  .onsite-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .quote {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

  .site-header nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
  }

  .nav-list {
    flex-wrap: wrap;
    gap: 0.15rem 1rem;
    padding-bottom: 0.25rem;
  }

  .nav-list a {
    display: inline-block;
    white-space: nowrap;
    padding: 0.35rem 0;
  }

  .site-header .button-small {
    margin-left: auto;
  }

  .hero {
    min-height: 0;
  }

  .hero-image {
    height: 52vw;
    min-height: 240px;
  }

  .hero-panel {
    grid-area: auto;
    margin: 0;
    border-left: 0;
    border-top: 4px solid var(--copper);
    background: var(--graphite);
  }

  .vehicle-columns,
  .steps,
  .quote-form {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
