/* Hail Repair Team — replacement site
   Dark steel + white + deep red. Mobile-first. No WordPress, no jQuery. */

:root {
  --bg: #0f1418;
  --bg-elev: #151c22;
  --surface: #1b242c;
  --steel: #2a3540;
  --line: #33404c;
  --text: #f4f6f8;
  --muted: #c5ced6;
  --faint: #8b98a4;
  --accent: #c8102e;
  --accent-hover: #e2183a;
  --accent-soft: rgba(200, 16, 46, 0.14);
  --on-accent: #ffffff;
  --focus: #7ec8ff;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --header-h: 4.5rem;
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

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

a {
  color: var(--accent-hover);
  text-underline-offset: 0.15em;
}

a:hover {
  color: #ff5a6e;
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
}

.skip:focus {
  top: 0;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 20, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo-link img {
  height: 42px;
  width: auto;
  background: #000;
  border-radius: 6px;
}

.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-word strong {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.logo-word span {
  font-size: 0.72rem;
  color: var(--faint);
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

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

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

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

.nav-toggle span {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav {
  display: none;
}

.site-nav.open,
.site-nav:target {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem 1rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-nav a {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--text);
}

.header-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--muted);
  color: var(--text);
  background: var(--surface);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 3.25rem 0 3.5rem;
  background:
    radial-gradient(1200px 420px at 80% -10%, rgba(200, 16, 46, 0.18), transparent 55%),
    linear-gradient(180deg, #121920 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 280px;
  background: repeating-linear-gradient(
    -18deg,
    transparent 0 14px,
    rgba(255, 255, 255, 0.015) 14px 15px
  );
  pointer-events: none;
}

.kicker {
  display: inline-block;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.85rem;
}

h1,
h2,
h3,
.display {
  font-family: var(--display);
  letter-spacing: 0.02em;
  line-height: 1.08;
  margin: 0 0 0.75rem;
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 7vw, 4.1rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.35rem;
  text-transform: uppercase;
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0;
}

.tagline {
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0.35rem 0 1rem;
}

.location-card {
  margin-top: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  max-width: 32rem;
  box-shadow: var(--shadow);
}

.location-card strong {
  display: block;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.location-card p {
  margin: 0.2rem 0;
  color: var(--muted);
}

.location-card a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.location-card a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

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

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.bg-elev {
  background: var(--bg-elev);
}

/* Process steps */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.3rem;
  position: relative;
}

.step time,
.step .time {
  display: inline-block;
  font-weight: 700;
  color: var(--accent-hover);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.step h3 {
  margin: 0.35rem 0 0.4rem;
}

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

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--display);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}

/* Cards / grid */
.grid-2,
.grid-3 {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card h3 {
  margin-top: 0;
}

.warranty {
  background:
    linear-gradient(135deg, var(--accent-soft), transparent 45%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem 1.4rem;
}

.warranty h2 {
  margin-bottom: 0.5rem;
}

.quote {
  border-left: 3px solid var(--accent);
  padding: 0.2rem 0 0.2rem 1.1rem;
  color: var(--muted);
  font-style: italic;
  margin: 1.25rem 0 0;
}

.quote cite {
  display: block;
  font-style: normal;
  color: var(--text);
  font-weight: 700;
  margin-top: 0.7rem;
}

/* Contact strip */
.contact-strip {
  background: var(--steel);
  padding: 2.4rem 0;
}

.contact-strip h2 {
  margin-bottom: 0.4rem;
}

.contact-strip p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.contact-meta {
  color: var(--muted);
}

.contact-meta a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.contact-meta a:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

/* Forms */
form {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
}

input,
textarea,
select {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--focus);
}

.form-note {
  color: var(--faint);
  font-size: 0.92rem;
  margin: 0;
}

.req {
  color: var(--accent-hover);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.site-footer h2 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

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

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

.legal {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.88rem;
}

/* About / prose */
.prose p {
  color: var(--muted);
}

.prose p strong,
.prose li strong {
  color: var(--text);
}

.prose ul {
  color: var(--muted);
}

/* Map / address block */
.addr-block {
  display: grid;
  gap: 0.35rem;
}

.phone-xl {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--text);
}

.phone-xl:hover {
  color: var(--accent-hover);
}

.eyebrow {
  color: var(--faint);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

/* 404 */
.center-page {
  min-height: 60vh;
  display: grid;
  align-content: center;
  padding: 3rem 0;
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.open {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }

  .site-nav a {
    padding: 0.45rem 0.75rem;
  }

  .header-cta {
    display: inline-flex;
  }

  .steps {
    grid-template-columns: repeat(5, 1fr);
  }

  .step {
    padding-top: 1.4rem;
    min-height: 100%;
  }

  .step::before {
    position: static;
    margin-bottom: 0.85rem;
  }

  .grid-2 {
    grid-template-columns: 1.1fr 0.9fr;
  }

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

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

  .hero {
    padding: 4.5rem 0 4.75rem;
  }

  .logo-link img {
    height: 48px;
  }
}

@media (min-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .btn,
  .nav-toggle span {
    transition: none;
  }
}

@media (max-width: 420px) {
  .logo-word {
    display: none;
  }
}

.time {
  color: var(--accent-hover);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}
