/* J-Lo Home Services — yellow / charcoal / warm neutrals, Barlow Semi Condensed + Work Sans */

:root {
  --yellow: #e8b923;
  --yellow-deep: #c9990a;
  --yellow-soft: #f5d563;
  --yellow-pale: #fff9e6;
  --ink: #1a1a1a;
  --ink-soft: #2d2d2d;
  --muted: #5c5c5c;
  --cream: #f7f4ed;
  --white: #ffffff;
  --card: #ffffff;
  --line: #d8d8d8;
  --shadow: 0 20px 50px rgba(26, 26, 26, 0.08);
  --radius: 14px;
  --font-display: "Barlow Semi Condensed", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, sans-serif;
  --max: 1100px;
  /* Hero: solid grey field + faint yellow blueprint grid */
  --hero-bg: #2a2a2e;
  --hero-grid-yellow: rgba(232, 185, 35, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

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

a {
  color: var(--ink-soft);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

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

/* Header — title bar layout aligned with One Pitt Stop Auto Care */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  height: 52px;
  width: auto;
  max-width: min(200px, 42vw);
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.1;
}

.brand-tag {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.2;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
}

.nav a {
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--ink-soft);
}

.nav a:hover {
  color: var(--yellow-deep);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
  max-width: 100%;
}

.header-cta:hover {
  background: var(--yellow-soft);
  color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
  padding-block: 3.5rem 4rem;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  background-color: var(--hero-bg);
  background-image:
    linear-gradient(var(--hero-grid-yellow) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-yellow) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0;
  background-repeat: repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Even tint for text contrast — no diagonal fade */
  background: rgba(10, 10, 12, 0.22);
}

.hero-tape {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow),
    var(--yellow) 12px,
    var(--ink) 12px,
    var(--ink) 24px
  );
  opacity: 0.85;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.hero-eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow-soft);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--white);
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
}

.hero-lead strong {
  color: var(--white);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.btn-primary:hover {
  background: var(--yellow-soft);
  border-color: var(--yellow-soft);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  border-color: var(--yellow);
  color: var(--yellow-soft);
}

.hero-highlights {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-highlights li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--yellow);
}

/* Sections */
.section {
  padding-block: 4rem 4.25rem;
}

.section-alt {
  background: var(--white);
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  letter-spacing: 0.02em;
  color: var(--ink);
}

.section-intro {
  margin: 0 0 2.25rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.section-intro-tight {
  margin-bottom: 1.5rem;
}

.service-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--yellow-pale);
  border: 1px solid rgba(232, 185, 35, 0.35);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.45rem;
  box-shadow: var(--shadow);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  background: var(--white);
  color: var(--yellow-deep);
  border: 1px solid rgba(232, 185, 35, 0.4);
}

.service-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.service-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.5;
}

.service-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.35rem;
}

.service-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-size: 1.25em;
  line-height: 1.5;
  color: var(--ink-soft);
}

.service-list li:last-child {
  margin-bottom: 0;
}

/* Why us */
.section-why {
  background: var(--cream);
  border-block: 1px solid rgba(26, 26, 26, 0.06);
}

.section-why .container {
  width: min(100% - 1.25rem, 1240px);
  max-width: 1240px;
}

.why-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.why-logo-wrap {
  display: flex;
  justify-content: center;
}

.why-logo {
  display: block;
  height: auto;
  width: auto;
  max-height: 130px;
  max-width: min(260px, 85vw);
  object-fit: contain;
}

@media (min-width: 860px) {
  .why-grid {
    /* Wider left track so copy can spread; logo column stays narrower on the right */
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 300px) minmax(0, 0.62fr);
    column-gap: clamp(2rem, 4vw, 3.5rem);
    row-gap: 2.25rem;
    align-items: center;
  }

  .trust-panel {
    justify-self: end;
    transform: translateX(8px);
  }

  .why-logo-wrap {
    justify-content: flex-end;
    justify-self: stretch;
    align-self: center;
  }

  .why-logo {
    max-height: 185px;
    max-width: min(290px, 30vw);
  }
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.checklist li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--ink-soft);
}

.check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 6px;
  line-height: 1;
}

.trust-panel {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 2px solid var(--yellow);
  box-shadow: var(--shadow);
}

.trust-panel-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: var(--yellow-soft);
}

.trust-panel-text {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}

.trust-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trust-bullets li {
  font-size: 0.9375rem;
  padding-left: 1.1rem;
  position: relative;
  color: rgba(255, 255, 255, 0.88);
}

.trust-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 1px;
}

/* Contact */
.section-contact {
  background: var(--ink-soft);
  padding-block: 4.25rem 4.5rem;
}

.section-title-on-dark {
  color: var(--white);
}

.section-intro-on-dark {
  color: rgba(255, 255, 255, 0.82);
  max-width: 38rem;
}

.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.contact-copy {
  justify-self: start;
  width: 100%;
  max-width: 36rem;
}

.contact-map-aside {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.contact-map-frame {
  display: block;
  width: 100%;
  min-height: 280px;
  height: clamp(280px, 45vw, 420px);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  outline: 2px solid rgba(232, 185, 35, 0.45);
  outline-offset: 0;
}

.contact-map-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--yellow-soft);
  text-decoration: none;
  align-self: flex-start;
}

.contact-map-link:hover {
  color: var(--yellow);
  text-decoration: underline;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 2.5rem 3rem;
    align-items: stretch;
  }

  .contact-map-aside {
    height: 100%;
    min-height: 22rem;
  }

  .contact-map-frame {
    flex: 1 1 auto;
    min-height: 320px;
    height: auto;
  }
}

.contact-cards {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 560px) {
  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }

  .contact-card-email {
    grid-column: 1 / -1;
  }
}

.contact-card-email .contact-value {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  word-break: break-word;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 185, 35, 0.45);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.contact-card:hover {
  background: rgba(232, 185, 35, 0.12);
  border-color: var(--yellow);
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-soft);
}

.contact-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}

.contact-hint {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

.contact-note {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  max-width: 36rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding-block: 1.75rem;
  border-top: 4px solid var(--yellow);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: var(--white);
}

.footer-meta {
  margin: 0 0 1rem;
  font-size: 0.875rem;
}

.footer-contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.footer-email,
.footer-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.footer-email {
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--yellow);
}

.footer-email:hover {
  background: var(--yellow-soft);
  border-color: var(--yellow-soft);
  color: var(--ink);
}

.footer-phone {
  color: var(--yellow-soft);
  background: transparent;
  border: 2px solid rgba(232, 185, 35, 0.55);
}

.footer-phone:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.footer-credit {
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.footer-credit a {
  color: var(--yellow);
  text-decoration-color: rgba(232, 185, 35, 0.65);
  text-underline-offset: 0.14em;
}

.footer-credit a:hover {
  color: var(--yellow-soft);
  text-decoration-color: var(--yellow-soft);
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .header-cta {
    width: 100%;
    font-size: 0.75rem;
    padding: 0.55rem 1rem;
  }
}
