/* Website Factory shared base styles. Mobile first: phone layout is the default,
   wider screens are added with min-width media queries. Colours come from the
   --accent variables set on <body> by the build (chosen by niche). */
:root {
  --accent: #1e3a8a;
  --accent-dark: #172e6b;
  --accent-soft: #e8edf8;
  --ink: #16191d;
  --muted: #4b5563;
  --line: #e3e6ea;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --radius: 12px;
  --wrap: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55;
  color: var(--ink); background: var(--bg); overflow-wrap: break-word;
}
img, iframe, svg, video { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 8.5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 6vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.05rem; margin-top: 1.2em; }
p { margin: 0 0 1em; }
a { color: var(--accent-dark); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }

/* Preview notice: always visible, never dismissable */
.concept-notice {
  background: #111827; color: #fff; font-size: .86rem; line-height: 1.4;
  padding: 8px 20px; text-align: center;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: var(--ink); font-weight: 800; }
.brand-logo { width: 40px; height: 40px; object-fit: contain; flex: none; }
.brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.site-nav { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; max-width: 100%;
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer;
}
.btn-call, .btn-primary { background: var(--accent); color: #fff; }
.btn-call:hover, .btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--accent-dark); border-color: currentColor; }
.btn-small { padding: 9px 18px; font-size: .95rem; flex: none; }
.btn:disabled { opacity: .6; cursor: wait; }
a:focus-visible, .btn:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-note { color: var(--muted); font-size: .95rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--accent-dark); margin-bottom: .75em; }

/* Reviews */
.review-list { display: grid; gap: 16px; }
.review {
  margin: 0; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--accent);
  border-radius: var(--radius); padding: 18px 20px;
}
.review blockquote { margin: 0 0 12px; font-size: 1.02rem; white-space: pre-line; }
.review figcaption { font-size: .9rem; color: var(--muted); }
.reviewer { font-weight: 700; color: var(--ink); }

/* Area, hours and map */
.visit-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.visit-info h3:first-of-type { margin-top: 0; }
.address { font-weight: 600; }
.chips { list-style: none; margin: 0 0 1.2em; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--accent-soft); color: var(--accent-dark); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .95rem; max-width: 100%; }
.hours-list { margin: 0 0 1em; display: grid; gap: 2px; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line); padding: 5px 0; }
.hours-row dt { font-weight: 600; }
.hours-row dd { margin: 0; text-align: right; }
.hours-text { font-weight: 600; }
.map-frame {
  position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link { font-size: .95rem; margin: 10px 0 0; }

/* Contact form */
.call-line { font-size: 1.1rem; }
.form-note {
  background: #fff7e6; border: 1px solid #f0cf86; border-radius: var(--radius);
  padding: 12px 14px; font-size: .95rem; margin-bottom: 14px;
}
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid #c4cad3; border-radius: 10px; background: #fff; color: var(--ink);
}
.contact-form button { justify-self: start; }
.form-status { margin: 0; font-weight: 600; }
.form-status.is-ok { color: #166534; }
.form-status.is-err { color: #b91c1c; }

/* Footer */
.site-footer { background: #111827; color: #e5e7eb; padding: 36px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-name { font-weight: 800; font-size: 1.1rem; color: #fff; margin-bottom: .3em; }
.footer-notice { color: #cbd5e1; font-size: .88rem; margin: 0; }

/* Sticky phone call bar (used by templates that add class has-call-bar) */
.call-bar { display: none; }
.has-call-bar { padding-bottom: 84px; }
.has-call-bar .call-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  display: flex; justify-content: center; align-items: center; padding: 15px 18px;
  border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

@media (min-width: 760px) {
  body { font-size: 18px; }
  .site-nav { display: flex; gap: 22px; }
  .site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
  .site-nav a:hover { color: var(--accent-dark); }
  .section { padding: 80px 0; }
  .visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; }
  .review-list { grid-template-columns: repeat(2, 1fr); }
  .has-call-bar { padding-bottom: 0; }
  .has-call-bar .call-bar { display: none; }
}

/* CREW: small operator, one main service. Lead: huge call button + plain service checklist. */
.crew-hero {
  background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 100%);
  padding: 44px 0 36px; border-bottom: 1px solid var(--line);
}
.crew-actions { display: grid; gap: 12px; max-width: 440px; margin: 20px 0 12px; }
.btn-huge { flex-direction: column; gap: 2px; width: 100%; padding: 18px 24px; border-radius: 18px; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.btn-huge .btn-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; opacity: .9; }
.btn-huge .btn-number { font-size: clamp(1.4rem, 7vw, 1.9rem); font-weight: 800; }
.crew-actions .btn-ghost { width: 100%; }
.crew-hours { color: var(--muted); font-weight: 600; margin: 0; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li {
  display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
}
.check-list li::before {
  content: ""; grid-row: span 2; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.svc-name { font-weight: 700; align-self: center; min-height: 30px; display: flex; align-items: center; }
.svc-detail { grid-column: 2; color: var(--muted); font-size: .95rem; }

@media (min-width: 760px) {
  .crew-hero { padding: 72px 0 60px; }
  .crew-actions { grid-template-columns: auto auto; max-width: none; justify-content: start; align-items: stretch; }
  .btn-huge { width: auto; min-width: 300px; }
  .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
