/* CT-007 Grandmark Plumbing — page-local Design Gate Shell B
   Palette from logo: deep teal / cyan + soft slate on white (orange accent sparingly)
   Fonts: Plus Jakarta Sans (display) + Figtree (body) — distinct from Zalin Outfit/Source Sans 3
   Self-contained — does NOT depend on ../shared/styles.css */

:root {
  --teal: #006d87;
  --teal-deep: #045466;
  --cyan: #00a2c7;
  --cyan-soft: #e8f7fb;
  --slate: #3d4f5c;
  --ink: #1e2a32;
  --muted: #5a6b76;
  --line: #d9e3e8;
  --soft: #f3f7f9;
  --white: #ffffff;
  --accent: #f17336; /* logo orange — used sparingly */
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 14px 36px rgba(4, 84, 102, 0.1);
  --banner-h: 36px;
  --cta-bar-h: 64px;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --max: 1040px;
}

*, *::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.55;
  color: var(--ink);
  background: var(--white);
  padding-bottom: calc(var(--cta-bar-h) + 1rem);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6rem;
}
p { margin: 0 0 0.85rem; }
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Demo banner — sticky */
.demo-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--teal-deep);
  color: #eaf6fa;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.55rem 1rem;
  min-height: var(--banner-h);
}

/* Top bar */
.topbar {
  position: sticky;
  top: var(--banner-h);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
}
.topbar-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}
.topbar-name { display: none; }
@media (min-width: 520px) {
  .topbar-name { display: inline; }
}
.topbar-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn-call {
  background: var(--teal);
  color: var(--white);
}
.btn-call:hover {
  background: var(--teal-deep);
  color: var(--white);
}
.btn-wa {
  background: #128c7e;
  color: var(--white);
}
.btn-wa:hover {
  background: #0e7368;
  color: var(--white);
}
.btn-ghost {
  background: var(--white);
  color: var(--teal-deep);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.btn-lg {
  padding: 0.85rem 1.35rem;
  font-size: 1rem;
}

/* Shell B — soft colour-field hero, logo + typography, address prominence */
.hero-local {
  /* Extra top padding so sticky banner + topbar don’t clip H1 */
  padding: 3.25rem 0 2.75rem;
  background:
    radial-gradient(1200px 480px at 85% -10%, rgba(0, 162, 199, 0.18), transparent 60%),
    radial-gradient(900px 420px at 0% 100%, rgba(0, 109, 135, 0.12), transparent 55%),
    var(--soft);
  border-bottom: 1px solid var(--line);
}
.hero-local__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .hero-local__grid {
    grid-template-columns: 1.35fr 0.85fr;
    gap: 2.5rem;
  }
}
.hero-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.hero-local h1 {
  font-size: clamp(1.85rem, 4.8vw, 2.85rem);
  max-width: 16ch;
  margin-bottom: 0.9rem;
}
.hero-lead {
  color: var(--muted);
  max-width: 44ch;
  font-size: 1.08rem;
  margin-bottom: 1.35rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}
.address-chip {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow);
  max-width: 28rem;
}
.address-chip strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}
.address-chip span { color: var(--muted); font-size: 0.95rem; }
.address-chip a { font-weight: 600; }

.hero-mark {
  justify-self: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
  max-width: 280px;
  width: 100%;
}
.hero-mark img {
  margin: 0 auto 1rem;
  width: min(200px, 100%);
  height: auto;
}
.hero-mark p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.02em;
}

/* Sections */
section { padding: 3.1rem 0; }
section.soft { background: var(--soft); }
.section-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-bottom: 0.4rem;
}
.section-sub {
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 1.6rem;
}

/* Services */
.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .services { grid-template-columns: 1fr 1fr; }
}
.services li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
}
.services strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.services span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Hours strip */
.hours-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}
.hours-strip h2 {
  color: var(--white);
  font-size: 1.15rem;
  margin: 0;
}
.hours-strip .time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.hours-strip .hint {
  width: 100%;
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Named reviews — honest plain list, no star widget */
.review-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.review-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
}
.review-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cyan-soft);
  color: var(--teal-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}
.review-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.review-list span {
  color: var(--muted);
  font-size: 0.92rem;
}
.soft-note {
  margin-top: 1.15rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Contact / map weight */
.grid-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}
.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.card p:last-child { margin-bottom: 0; }
.map-card {
  background: linear-gradient(160deg, var(--cyan-soft), var(--white));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.map-card h3 { margin-bottom: 0; }
.map-card .btn { align-self: flex-start; margin-top: 0.35rem; }

/* CTA band */
.cta-band {
  background: var(--cyan-soft);
  text-align: center;
}
.cta-band .section-sub { margin-inline: auto; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

/* Footer */
.site-foot {
  padding: 1.5rem 0 2rem;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

/* Sticky mobile CTA — Call + WhatsApp */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(4, 84, 102, 0.1);
}
.sticky-cta .btn { flex: 1; }
@media (min-width: 860px) {
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}
