/* ==========================================================================
   NextGen Repair — site styles
   Colors and fonts are set once here in :root. Change a value here and it
   updates everywhere on the site.
   ========================================================================== */

:root {
  /* Brand colors */
  --dark-900: #1c1c1e;   /* charcoal: header, footer, dark sections */
  --dark-800: #2b2b2e;
  --dark-700: #3d3d41;
  --gold-400: #d4ad5a;   /* bright gold: buttons, highlights on dark */
  --gold-700: #8a6420;   /* deep gold: text/links on light backgrounds */
  --gold-50:  #faf5ea;
  --gold-gradient: linear-gradient(90deg, #9c6d2c, #e6c878 45%, #b7853a 75%, #d9b866);

  /* Neutrals */
  --ink: #1f2023;         /* main text */
  --muted: #55585f;       /* secondary text */
  --line: #e2e2e5;        /* borders */
  --bg: #ffffff;
  --bg-alt: #f5f5f4;

  --red-600: #c03030;
  --amber-600: #a35d00;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 20, 22, .06), 0 6px 20px rgba(20, 20, 22, .07);
  --max: 1120px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-700); text-underline-offset: 2px; }
a:hover { color: var(--dark-700); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--dark-900); }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

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

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold-400); color: var(--dark-900);
  padding: .75rem 1rem; font-weight: 700; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.25rem;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold-400); color: var(--dark-900); }
.btn-primary:hover { background: #e2c27a; color: var(--dark-900); }
.btn-outline { border-color: currentColor; color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-dark { background: var(--dark-900); color: #fff; }
.btn-dark:hover { background: var(--dark-700); color: #fff; }
.btn-outline-dark { border-color: var(--dark-900); color: var(--dark-900); background: transparent; }
.btn-outline-dark:hover { background: var(--dark-900); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--dark-900); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }

/* Logo image: images/logo.png (made from your original, images/logo-original.jpg) */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 42px; width: auto; }
.site-footer .logo img { height: 48px; }
@media (max-width: 380px) { .logo img { height: 34px; } }

.nav-toggle {
  display: none; background: transparent; border: 2px solid rgba(255,255,255,.25); color: #fff;
  border-radius: 10px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.site-nav a { white-space: nowrap; color: #e4e4e7; text-decoration: none; padding: .5rem .7rem; border-radius: 8px; font-weight: 600; }
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--gold-400); border-radius: 0; }
.site-nav .nav-call { margin-left: .5rem; }
.site-nav .nav-call a { background: var(--gold-400); color: var(--dark-900); border-radius: 999px; padding: .5rem 1rem; }
.site-nav .nav-call a:hover { background: #e2c27a; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--dark-900); border-bottom: 1px solid rgba(255,255,255,.1); padding: .5rem 20px 1.25rem; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding: .85rem .5rem; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold-400); padding-left: .9rem; }
  .site-nav .nav-call { margin: 1rem 0 0; }
  .site-nav .nav-call a { text-align: center; border: 0; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(212,173,90,.18), transparent 60%),
    linear-gradient(180deg, var(--dark-900), var(--dark-800));
  color: #ececee; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero h1 .accent { background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); max-width: 44ch; color: #cfd0d4; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 1rem; }
.hero .btn-row { margin-top: 1.75rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 2rem 0 0; padding: 0; list-style: none; color: #cfd0d4; font-size: .98rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-facts .icon { color: var(--gold-400); }

.page-hero { background: linear-gradient(180deg, var(--dark-900), var(--dark-800)); color: #cfd0d4; padding: 3rem 0 2.5rem; }
.page-hero h1 { color: #fff; }
.page-hero p { max-width: 60ch; font-size: 1.15rem; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 62ch; margin-bottom: 2rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.h3 { font-size: 1.2rem; letter-spacing: 0; }
.card h3, .card .h3 { display: flex; align-items: center; gap: .6rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .muted { color: var(--muted); }

.icon-badge { display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; background: var(--gold-50); color: var(--gold-700); margin-bottom: 1rem; }
.icon-badge .icon { width: 26px; height: 26px; }

.text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.text-link:hover { text-decoration: underline; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.5rem 1.5rem 4.5rem; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); position: absolute; left: 1.25rem; top: 1.35rem;
  width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--dark-900); color: var(--gold-400);
  font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps h3 { margin-bottom: .25rem; }
.steps p { margin: 0; color: var(--muted); }

/* Check lists */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; }
.check-list .icon { color: var(--gold-700); margin-top: .2em; }
.x-list .icon { color: var(--red-600); }
.warn-list .icon { color: var(--amber-600); }

/* Pricing */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.price-table th, .price-table td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { background: var(--dark-900); color: #fff; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table .price { font-weight: 800; font-size: 1.2rem; color: var(--dark-900); white-space: nowrap; text-align: right; }
.price-table thead th:last-child { text-align: right; }
.price-table small { display: block; color: var(--muted); font-size: .92rem; margin-top: .2rem; }

.note { border-left: 4px solid var(--gold-400); background: var(--gold-50); padding: 1rem 1.25rem; border-radius: 0 10px 10px 0; }
.note-warn { border-left-color: #e0a100; background: #fff7e0; }
.note p:last-child { margin: 0; }

/* Hours / info */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .icon { color: var(--gold-700); margin-top: .25em; }
.info-list strong { display: block; color: var(--dark-900); }

.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: .4rem 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.closed td:last-child { color: var(--muted); font-weight: 400; }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; font-weight: 700; color: var(--dark-900); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--gold-700); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 1.25rem 1.1rem; color: var(--ink); }
.faq .answer p:last-child { margin: 0; }

.policy { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.policy h3 { display: flex; gap: .6rem; align-items: center; }

/* Reviews */
.stars { color: #c99a2e; letter-spacing: .1em; font-size: 1.1rem; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .75rem; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { margin: 0; }
.review figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: var(--dark-900); }
.review-source { font-size: .85rem; color: var(--muted); background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 999px; padding: .1rem .6rem; }

/* CTA band */
.cta-band { background: var(--dark-900); color: #cfd0d4; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta-band h2 { color: #fff; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band p { margin: 0; max-width: 50ch; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; color: var(--dark-900); }
.field .hint { font-weight: 400; color: var(--muted); font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #babcc2; border-radius: 10px; padding: .75rem .85rem; min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-700); box-shadow: 0 0 0 3px rgba(212,173,90,.35); }
.hp-field { display: none !important; }
.form-status { padding: 1rem 1.25rem; border-radius: 10px; font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status.ok { background: var(--gold-50); color: #145c28; border: 1px solid #b6e6c3; }
.form-status.err { background: #fdecec; color: #8a1f1f; border: 1px solid #f3c1c1; }

/* ---------- Photo slots ---------- */
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.site-footer { background: #121214; color: #a9abb0; padding: 3rem 0 6.5rem; font-size: .97rem; }
.site-footer a { color: #e4e4e7; }
.site-footer a:hover { color: var(--gold-400); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h2 { font-size: 1rem; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .2rem 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2rem; padding-top: 1.25rem; font-size: .88rem; }
@media (min-width: 1081px) { .site-footer { padding-bottom: 2rem; } }

/* ---------- Mobile sticky action bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: .5rem; padding: .6rem 12px calc(.6rem + env(safe-area-inset-bottom)); background: rgba(28,28,30,.97);
  border-top: 1px solid rgba(255,255,255,.1); }
.mobile-bar .btn { min-height: 50px; padding: .5rem; }
@media (min-width: 1081px) { .mobile-bar { display: none; } }

/* ---------- Text-message links ----------
   Computers usually can't send texts, so on devices with a mouse the
   Text buttons are hidden and "Text (570)..." shows as plain text. */
@media (hover: hover) and (pointer: fine) {
  .sms-btn { display: none; }
  .sms-link { pointer-events: none; color: inherit; text-decoration: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.stack > * + * { margin-top: 1.25rem; }
