/* MR Newby Autoparts — shared styles for the inner pages.
   Layout: full-bleed bands (black, Apple grey, white, navy), left-aligned,
   condensed uppercase display type at poster scale, quiet body text. */
:root {
  --black: #000000;
  --paper: #f5f5f7;
  --white: #ffffff;
  --navy: #1c2856;
  --electric: #3a63ff;
  --ink: #1d1d1f;
  --sub-d: rgba(255,255,255,.62);
  --sub-l: #6e6e73;
  --line-dark: rgba(255,255,255,.14);
  --line-light: rgba(0,0,0,.1);
  --field: #1c1d21;
  --card-d: #0f1013;
  --wa: #25d366;
  --wa-ink: #04210f;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
  color-scheme: dark;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font-family: var(--body); font-size: 17px; line-height: 1.5;
  font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--black); }
a { color: inherit; }
::selection { background: var(--electric); color: var(--white); }
:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%; max-width: 1320px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
}
.display {
  font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 900;
  text-transform: uppercase; line-height: .86; letter-spacing: -.01em; text-wrap: balance; margin: 0;
}
.lede { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; max-width: 36ch; margin: 0; }
.sub-d { color: var(--sub-d); }
.sub-l { color: var(--sub-l); }

/* Bands */
.band { padding-block: clamp(80px, 11vw, 150px); position: relative; overflow: hidden; }
.b-black { background: var(--black); color: var(--white); }
.b-paper { background: var(--paper); color: var(--ink); }
.b-white { background: var(--white); color: var(--ink); }
.b-navy { background: var(--navy); color: var(--white); }
.h-xl { font-size: clamp(56px, 9vw, 150px); }
.h-l { font-size: clamp(46px, 6.4vw, 100px); }
.h-m { font-size: clamp(36px, 4.2vw, 60px); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .section-head { grid-template-columns: 1.2fr 1fr; align-items: end; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .4s var(--ease), background-color .3s, color .3s, box-shadow .3s;
}
.btn:hover { transform: scale(1.035); }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-white { background: var(--white); color: var(--black); }
.btn-black { background: var(--black); color: var(--white); }
.btn-ghost { background: rgba(255,255,255,.1); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Nav */
.nav { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; transition: background-color .4s, transform .5s var(--ease); }
.nav.scrolled { background: rgba(0,0,0,.62); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 var(--line-dark); }
.nav.hide { transform: translateY(-110%); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--white); }
.brand b { font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 900; font-size: 26px; letter-spacing: .01em; text-transform: uppercase; line-height: 1; }
.brand span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 600; }
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,.78); transition: color .2s; padding-block: 4px; }
.nav-links a:hover { color: var(--white); }
.nav .btn { height: 38px; padding: 0 16px; font-size: 14px; }
@media (max-width: 860px) { .nav-links { display: none; } .brand span { display: none; } }

/* Page hero */
.page-hero { position: relative; overflow: hidden; padding-top: calc(60px + clamp(70px, 12vw, 160px)); padding-bottom: clamp(60px, 8vw, 110px); }
.page-hero h1 { font-size: clamp(68px, 13vw, 220px); }
.page-hero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.page-hero h1 .ln > span { display: inline-block; }
.page-hero .lede { margin-top: 26px; }
.page-hero .ctas { margin-top: 30px; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--sub-d); text-decoration: none; margin-bottom: 22px; }
.crumb:hover { color: var(--white); }
.ghost-word { position: absolute; left: -2vw; right: -2vw; bottom: -5vw; pointer-events: none; font-size: 30vw; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); white-space: nowrap; line-height: .8; }
.glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 60% at 80% 40%, rgba(58,99,255,.3), transparent 70%); }

/* Lists */
.rule-list { list-style: none; margin: 0; padding: 0; display: grid; }
.rule-list li { padding-block: 16px; border-top: 1px solid var(--line-light); }
.b-black .rule-list li, .b-navy .rule-list li { border-color: var(--line-dark); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 4px 14px; padding-block: 24px; border-top: 1px solid var(--line-dark); }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 900; font-size: 46px; line-height: .85; color: var(--electric); }
.steps b { font-weight: 600; font-size: 19px; }
.steps span { color: var(--sub-d); }

/* Contact cards + hours */
.contact-cards { display: grid; gap: 10px; }
.ccard { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-radius: 18px; background: #111214; box-shadow: inset 0 0 0 1px var(--line-dark); color: var(--white); }
.ccard div { min-width: 0; }
.ccard small { display: block; font-size: 13px; color: rgba(255,255,255,.55); }
.ccard b { display: block; font-weight: 600; font-size: 17px; overflow-wrap: anywhere; user-select: all; }
.copy-btn { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; border: 0; background: rgba(255,255,255,.1); color: var(--white); font: 600 13px var(--body); cursor: pointer; }
.copy-btn:hover { background: rgba(255,255,255,.18); }
.hours { list-style: none; margin: 0; padding: 0; display: grid; font-variant-numeric: tabular-nums; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; border-top: 1px solid var(--line-light); }
.hours li span:last-child { white-space: nowrap; }
.b-black .hours li { border-color: var(--line-dark); }
.hours li.today { font-weight: 700; }
.hours li.today span:first-child::after { content: " · today"; color: var(--electric); font-weight: 600; }

/* Form fields */
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field > .lbl { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.72); }
.field em { font-style: normal; font-weight: 400; color: rgba(255,255,255,.42); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; border: 0; border-radius: 14px; padding: 15px 16px;
  background: var(--field); color: var(--white); font: 400 16px/1.3 var(--body);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: #222329; box-shadow: inset 0 0 0 2px var(--electric); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.3); }
.field.err input, .field.err textarea, .field.err .chips { box-shadow: inset 0 0 0 2px #ff6b5b; border-radius: 14px; }
.row { display: grid; gap: 14px; }
@media (min-width: 620px) { .row.two { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } .row.three { grid-template-columns: minmax(0,1.4fr) minmax(0,.6fr) minmax(0,1fr); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--field); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font-size: 15px; font-weight: 600; color: rgba(255,255,255,.8); transition: background-color .25s, color .25s, box-shadow .25s, transform .3s var(--ease); }
.chip input:checked + span { background: var(--white); color: var(--black); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--electric); outline-offset: 2px; }
.chip:active span { transform: scale(.96); }

/* Footer */
.foot { background: var(--black); padding-top: 70px; overflow: hidden; color: var(--white); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; font-size: 14px; color: rgba(255,255,255,.62); }
.foot-top nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-top a { text-decoration: none; }
.foot-top a:hover { color: var(--white); }
.foot-word { font-size: 30vw; line-height: .78; margin-top: 50px; color: var(--white); white-space: nowrap; text-align: center; transform: translateY(6%); }
.foot-bottom { padding-block: 18px max(18px, env(safe-area-inset-bottom, 0px)); font-size: 12px; color: rgba(255,255,255,.45); border-top: 1px solid var(--line-dark); position: relative; background: var(--black); }
.foot-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Floating WhatsApp + toast */
.fab {
  position: fixed; z-index: 40; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  height: 56px; min-width: 56px; padding: 0 16px; border-radius: 999px; display: flex; align-items: center; gap: 10px;
  background: var(--wa); color: var(--wa-ink); text-decoration: none; font-weight: 700; font-size: 15px;
  box-shadow: 0 14px 34px -8px rgba(37,211,102,.55); transition: transform .5s var(--ease), opacity .4s;
}
.fab:hover { transform: translateY(-3px) scale(1.03); }
.fab svg { width: 26px; height: 26px; flex: none; }
.fab.tuck { transform: translateY(140%); opacity: 0; }
@media (max-width: 560px) { .fab span { display: none; } .fab { padding: 0; justify-content: center; width: 56px; } }
.toast { position: fixed; z-index: 70; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 14px; background: var(--white); color: var(--black); font-size: 14px; font-weight: 600; transition: all .4s var(--ease); pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Next-page band */
.next { display: block; text-decoration: none; background: var(--navy); color: var(--white); }
.next .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(50px, 7vw, 90px); }
.next small { display: block; font-size: 14px; color: var(--sub-d); margin-bottom: 10px; }
.next .display { font-size: clamp(52px, 9vw, 140px); transition: transform .8s var(--ease); }
.next:hover .display { transform: translateX(18px); }
.next-arrow { flex: none; width: clamp(56px, 7vw, 96px); height: clamp(56px, 7vw, 96px); border-radius: 50%; background: var(--white); display: grid; place-items: center; transition: transform .8s var(--ease); }
.next-arrow svg { width: 40%; height: 40%; stroke: var(--black); }
.next:hover .next-arrow { transform: rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
