/* ==========================================================================
   A G Plumbing — client brand system
   Sourced from real research (Google Business listing + reviews, verified
   2026-09-21): a plumbing company in Bryan, TX, established 2000 (26
   years), grown from a 2-man crew to 20+ plumbers today — meaningfully
   bigger and more organized than most leads in this campaign. 4.8 stars
   from 60 reviews, every owner reply reading like a genuine standardized
   company voice (not one guy texting back), and a real review describing
   emergency response during the February 2021 Texas winter storm. That's
   a confident, organized, modern-corporate story, not a small-shop one —
   so unlike this batch's other four demos (all small, personal, single- or
   two-person operations), A G Plumbing's design leans into a clean,
   stats-forward, geometric-sans corporate identity. No business photos
   exist to extract color from, so the palette is a designer choice (§1
   fallback): a confident cobalt blue (water, trust, scale) + white +
   a bright teal accent, deliberately brighter/more saturated than the
   muted navy already used by Dean Plumbing & Repair and the iron-brown
   used by Next Plumbing & Heating elsewhere in this repo.
   Typography: Manrope (geometric sans, display + body, all-sans — no
   serif anywhere, unlike every other plumbing demo in the repo) + Roboto
   Mono (stat labels).
   This page carries ZERO Lewis Digital branding.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Roboto+Mono:wght@400;500;700&display=swap');

:root {
  --cobalt: #1e5f9e;
  --cobalt-deep: #164a7c;
  --cobalt-bright: #2f7bc4;
  --ink-blue: #0f2438;
  --ink-blue-deep: #081420;
  --teal: #2fb88f;
  --teal-deep: #22916f;
  --teal-bright: #4dd0a8;
  --white: #ffffff;
  --cloud: #f2f6fa;
  --cloud-deep: #e4ecf4;
  --ink: #16232f;
  --ink-soft: #526074;
  --muted-on-dark: #b7c9dc;

  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Roboto Mono", "Courier New", monospace;

  --radius: 14px;
  --shadow: 0 22px 46px -26px rgba(8, 20, 32, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1160px, 92%); margin-inline: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--cobalt-deep);
  font-weight: 700; margin-bottom: 0.9rem;
}
.eyebrow--ondark { color: var(--teal-bright); }
.section { padding: 4.8rem 0; }
.section__title { font-size: clamp(1.8rem, 3.2vw, 2.4rem); max-width: 24em; color: var(--ink-blue); }
.section__title--ondark { color: var(--white); }
.section__lede { margin-top: 0.9rem; color: var(--ink-soft); max-width: 46em; font-size: 1.04rem; font-weight: 500; }
.section__lede--ondark { color: var(--muted-on-dark); }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; font-weight: 700; font-size: 0.96rem;
  padding: 0.9rem 1.8rem; border-radius: 999px; font-family: var(--font-display);
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn--teal { background: var(--teal); color: var(--ink-blue-deep); }
.btn--teal:hover { background: var(--teal-bright); }
.btn--line { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn--line:hover { border-color: var(--teal-bright); color: var(--teal-bright); }
.btn--line-dark { border-color: var(--cobalt); color: var(--cobalt); }
.btn--line-dark:hover { background: var(--cobalt); color: var(--white); }
.btn--big { font-size: 1.06rem; padding: 1.05rem 2.3rem; }

/* ---------- header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--cloud-deep); position: sticky; top: 0; z-index: 60; }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.9rem 0; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 10px; background: var(--cobalt); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center; flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; color: var(--ink-blue); }
.brand__tag { font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cobalt); }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.site-nav__cta) { display: none; color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: 0.92rem; }
.site-nav a:not(.site-nav__cta):hover { color: var(--cobalt); }
.site-nav__cta { background: var(--cobalt); color: var(--white) !important; padding: 0.6rem 1.25rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.site-nav__cta:hover { background: var(--cobalt-deep); }
@media (min-width: 860px) { .site-nav a:not(.site-nav__cta) { display: inline; } }

/* ---------- hero: corporate photo + floating stat card ---------- */
.hero { position: relative; background: var(--ink-blue); color: var(--white); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(15,36,56,0.96) 38%, rgba(15,36,56,0.6) 100%); }
.hero__inner { position: relative; padding: 5.2rem 0 7rem; max-width: 36em; }
.hero__title { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.3rem); margin-bottom: 1.1rem; }
.hero__title em { font-style: normal; color: var(--teal-bright); }
.hero__tagline { color: var(--muted-on-dark); font-size: 1.08rem; margin-bottom: 1.8rem; font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__stat-card {
  position: relative; z-index: 2; margin-top: -4.2rem; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.6rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.hero__stat { text-align: center; padding: 0 0.4rem; }
.hero__stat-value { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--cobalt); }
.hero__stat-label { font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); margin-top: 0.3rem; }
.hero__credit { position: relative; z-index: 1; font-size: 0.7rem; color: var(--muted-on-dark); padding-top: 0.6rem; }

/* ---------- storm-ready callout (signature section) ---------- */
.storm { background: var(--cobalt); color: var(--white); }
.storm__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.storm__copy h2 { color: var(--white); font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.storm__copy p { margin-top: 1rem; color: var(--white); opacity: 0.92; font-size: 1.02rem; font-weight: 500; }
.storm__source { margin-top: 1rem; font-size: 0.8rem; opacity: 0.8; font-family: var(--font-mono); }
.storm__photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.storm__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

/* ---------- services ---------- */
.services { background: var(--cloud); }
.service-grid { list-style: none; margin-top: 2.4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 1.7rem 1.6rem; box-shadow: var(--shadow); }
.service-card h3 { font-size: 1.04rem; margin-bottom: 0.5rem; color: var(--ink-blue); }
.service-card p { font-size: 0.92rem; color: var(--ink-soft); font-weight: 500; }
.services__note { margin-top: 2rem; font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; background: var(--white); border-radius: var(--radius); padding: 1rem 1.4rem; }
.services__note a { color: var(--cobalt); font-weight: 700; }

/* ---------- growth story ---------- */
.about { background: var(--white); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.2rem; align-items: center; margin-top: 2.2rem; }
.growth-track { position: relative; padding-left: 1.8rem; border-left: 3px solid var(--cloud-deep); }
.growth-step { position: relative; padding-bottom: 2rem; }
.growth-step:last-child { padding-bottom: 0; }
.growth-step::before { content: ""; position: absolute; left: -2.31rem; top: 0.2rem; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--teal); }
.growth-step__year { font-family: var(--font-mono); font-size: 0.76rem; color: var(--cobalt); text-transform: uppercase; letter-spacing: 0.05em; }
.growth-step h3 { font-size: 1.02rem; margin: 0.3rem 0 0.4rem; color: var(--ink-blue); }
.growth-step p { font-size: 0.94rem; color: var(--ink-soft); font-weight: 500; }
.about__source { margin-top: 1.4rem; font-size: 0.84rem; color: var(--ink-soft); }

/* ---------- hours / location ---------- */
.hours { background: var(--ink-blue); color: var(--white); }
.hours__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; margin-top: 2.2rem; }
.info-card { background: var(--ink-blue-deep); border-radius: var(--radius); padding: 1.8rem 1.9rem; border: 1px solid rgba(255,255,255,0.08); }
.info-card h3 { font-size: 1rem; margin-bottom: 1rem; color: var(--white); }
.info-card p { margin-bottom: 0.7rem; font-size: 0.98rem; color: var(--muted-on-dark); font-weight: 500; }
.info-card p a { color: var(--teal-bright); text-decoration: none; font-weight: 700; }
.info-card p a:hover { text-decoration: underline; }
.info-card__muted { font-size: 0.84rem !important; }

/* ---------- reviews ---------- */
.reviews { background: var(--cloud); }
.reviews__grid { display: grid; grid-template-columns: 0.7fr 1.5fr; gap: 3rem; align-items: center; margin-top: 2.2rem; }
.rating-card { text-align: center; background: var(--white); border-radius: var(--radius); padding: 2.2rem 1.5rem; box-shadow: var(--shadow); }
.rating-card__num { font-family: var(--font-display); font-weight: 800; font-size: 3rem; color: var(--cobalt); }
.rating-card__stars { color: var(--teal-deep); letter-spacing: 0.14em; font-size: 1.1rem; margin: 0.4rem 0; }
.rating-card__count { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft); }
.reviews__copy p { font-size: 1.02rem; color: var(--ink-soft); margin-bottom: 1rem; font-weight: 500; }
.reviews__placeholder { font-style: italic; color: var(--ink-soft); border-left: 4px solid var(--cobalt); padding-left: 1rem; margin: 1.1rem 0 1.3rem; }
.reviews__source { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- contact ---------- */
.contact { background: var(--ink-blue-deep); color: var(--white); text-align: center; padding: 5rem 0; }
.contact__title { color: var(--white); font-size: clamp(1.9rem, 3.8vw, 2.5rem); }
.contact__text { margin: 1.1rem auto 1.8rem; max-width: 34em; color: var(--muted-on-dark); font-size: 1.05rem; font-weight: 500; }
.contact__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.contact__note { margin-top: 1.6rem; font-size: 0.9rem; color: var(--muted-on-dark); }

/* ---------- footer ---------- */
.footer { background: var(--ink-blue-deep); color: var(--muted-on-dark); font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.08); }
.footer__inner { display: flex; flex-direction: column; gap: 0.35rem; align-items: center; text-align: center; padding: 1.8rem 0; }
.footer a { color: var(--teal-bright); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__stat-card { grid-template-columns: repeat(2, 1fr); }
  .storm__grid { grid-template-columns: 1fr; }
  .storm__photo { order: -1; max-width: 380px; margin-inline: auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .hours__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; text-align: center; }
  .reviews__placeholder { border-left: none; border-top: 4px solid var(--cobalt); padding-left: 0; padding-top: 0.9rem; }
}
@media (max-width: 640px) {
  .section { padding: 3.6rem 0; }
  .service-grid { grid-template-columns: 1fr; }
  .hero__actions, .contact__actions { flex-direction: column; align-items: stretch; }
  .hero__stat-card { grid-template-columns: 1fr 1fr; }
}
