/* All Family Plumbing & Remodeling — mock site (Cultron-adjacent build) */

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

:root {
  /* Brand — trust-first utility, warm accent */
  --navy-900: #0b2a42;
  --navy-800: #0e3b5c;
  --navy-700: #134a73;
  --navy-50:  #eef4fa;

  --steel-700: #334155;
  --steel-500: #64748b;
  --steel-300: #cbd5e1;
  --steel-100: #e2e8f0;
  --steel-50:  #f8fafc;

  --ember-600: #d65a31;     /* warm accent for urgency CTAs */
  --ember-500: #e76f51;
  --ember-50:  #fdf1ec;

  --green-600: #2f855a;
  --amber-500: #eab308;

  --ink:       #0f172a;
  --ink-soft:  #334155;
  --ink-muted: #64748b;

  --bg:        #ffffff;
  --bg-tint:   #f4f7fb;
  --bg-dark:   #0b2a42;

  --border:    #e2e8f0;
  --border-strong: #cbd5e1;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,0.06);
  --shadow-md: 0 8px 24px -12px rgba(15,23,42,0.18);
  --shadow-lg: 0 30px 60px -30px rgba(15,23,42,0.25);

  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);

  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Manrope', 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); letter-spacing: -0.015em; color: var(--ink); margin: 0; }
h1 { font-size: clamp(40px, 5.2vw, 58px); line-height: 1.05; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }
h5 { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); }
p  { margin: 0 0 16px; color: var(--ink-soft); }
a  { color: var(--navy-700); text-decoration: none; transition: color 180ms var(--ease); }
a:hover { color: var(--ember-600); }

.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; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 900px) { .container { padding: 0 40px; } }

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ember-600);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.kicker--light { color: var(--ember-500); }

.small { font-size: 13px; color: var(--ink-muted); }
.muted { color: var(--ink-muted); font-size: 13px; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms var(--ease), background 200ms var(--ease), box-shadow 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--ember-600);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(214, 90, 49, 0.55);
}
.btn-primary:hover { background: var(--ember-500); color: #fff; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--border-strong);
}
.btn-outline:hover { background: var(--navy-50); color: var(--navy-900); border-color: var(--navy-700); }

.btn-phone { font-variant-numeric: tabular-nums; }

/* ===================== Nav ===================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.logo-words { display: flex; flex-direction: column; line-height: 1; }
.logo-line-1 { font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.logo-line-2 { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-top: 2px; }

.nav-links {
  display: none;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--navy-800); border-bottom-color: var(--ember-500); }
@media (min-width: 1000px) { .nav-links { display: flex; } }

.nav-ctas { display: flex; gap: 10px; align-items: center; }
.btn-phone .btn-phone span { display: none; }
@media (max-width: 640px) {
  .btn-phone span { display: none; }
  .btn-phone { width: 40px; height: 40px; padding: 0; border-radius: 999px; }
  .btn-primary.btn-lg { padding: 12px 18px; }
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  padding: 56px 0 64px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(19, 74, 115, 0.06), transparent 50%),
    radial-gradient(ellipse at 85% 85%, rgba(231, 111, 81, 0.06), transparent 50%);
  pointer-events: none;
}
@media (min-width: 900px) { .hero { padding: 80px 0 100px; } }

.hero-grid {
  position: relative;
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 64px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-50);
  color: var(--navy-800);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 3px rgba(47, 133, 90, 0.18); }

.hero h1 { margin-bottom: 22px; }
.hero .lead { font-size: 18px; max-width: 560px; color: var(--ink-soft); margin-bottom: 32px; line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  max-width: 560px;
}
.meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -0.01em;
}
.meta-item span {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-media { position: relative; }
.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(231, 111, 81, 0.14), transparent 40%);
  pointer-events: none;
}
.hero-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.hero-card h3 { margin-bottom: 10px; }
.hero-card p { font-size: 14.5px; margin-bottom: 20px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(47, 133, 90, 0.08);
  color: var(--green-600);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-600);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-checks {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-checks li {
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}
.hero-checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(47, 133, 90, 0.12);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%232f855a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

/* ===================== Trust strip ===================== */
.trust {
  padding: 28px 0;
  background: var(--navy-900);
  color: #fff;
}
.trust ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) {
  .trust ul { grid-template-columns: repeat(4, 1fr); }
}
.trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}
.trust li svg { color: var(--ember-500); flex-shrink: 0; }

/* ===================== Sections ===================== */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--navy-900); color: #fff; }
.section--dark h2, .section--dark h3, .section--dark h4, .section--dark h5 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.8); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head--centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 17px; color: var(--ink-muted); margin: 0; }
.section--dark .section-head p { color: rgba(255,255,255,0.75); }

/* ===================== Cards ===================== */
.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon--blue { background: var(--navy-50); color: var(--navy-800); }
.card-icon--slate { background: var(--steel-100); color: var(--steel-700); }
.card-icon--orange { background: var(--ember-50); color: var(--ember-600); }
.card-icon--green { background: rgba(47, 133, 90, 0.1); color: var(--green-600); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 16px; }
.card-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.card-list li {
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ember-500);
}

/* ===================== Area ===================== */
.area-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 1000px) { .area-grid { grid-template-columns: 1.5fr 1fr; } }

.area-counties {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin: 28px 0 24px;
}
@media (min-width: 700px) { .area-counties { grid-template-columns: repeat(3, 1fr); } }
.county h4 { margin-bottom: 10px; color: var(--navy-800); }
.county ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.county li { font-size: 14px; color: var(--ink-soft); }

.area-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  align-self: start;
}
.area-card-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--ember-600); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.area-card-head .pin { width: 28px; height: 28px; border-radius: 8px; background: var(--ember-50); color: var(--ember-600); display: inline-flex; align-items: center; justify-content: center; }
.area-card h4 { margin-bottom: 8px; }
.area-card address { font-style: normal; color: var(--ink-soft); margin-bottom: 20px; font-size: 14.5px; }
.area-detail {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 16px;
  margin: 0 0 20px;
  font-size: 14px;
}
.area-detail dt { font-weight: 600; color: var(--ink-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 2px; }
.area-detail dd { margin: 0; color: var(--ink); word-break: break-word; }

/* ===================== Why ===================== */
.why-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 1000px) { .why-grid { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.why-bullets {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.why-bullets li {
  padding: 14px 16px;
  background: var(--bg-tint);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--ink-soft);
  border-left: 3px solid var(--ember-500);
}
.why-bullets strong { color: var(--ink); }

.why-card {
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: """;
  position: absolute;
  top: -20px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 180px;
  font-weight: 800;
  color: rgba(231, 111, 81, 0.18);
  line-height: 1;
  pointer-events: none;
}
.why-card blockquote { margin: 0; position: relative; }
.why-card blockquote p { color: rgba(255,255,255,0.94); font-size: 18px; line-height: 1.5; font-family: var(--font-display); font-weight: 600; margin-bottom: 18px; }
.why-card blockquote p em { color: var(--ember-500); font-style: normal; }
.why-card blockquote footer { color: rgba(255,255,255,0.65); font-size: 13px; font-weight: 500; }

/* ===================== Stats ===================== */
.stats {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--ember-500);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.stat-label span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ===================== Form ===================== */
.form-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 1000px) { .form-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }

.form-bullets { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.form-bullets li { font-size: 14px; color: var(--ink-soft); padding-left: 24px; position: relative; }
.form-bullets li::before { content: "✓"; position: absolute; left: 0; top: -2px; color: var(--green-600); font-weight: 800; font-size: 16px; }

.request-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.request-form .row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .request-form .row { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(19, 74, 115, 0.12);
}
.field textarea { resize: vertical; }

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(47, 133, 90, 0.1);
  color: var(--green-600);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}
.form-foot { margin: 6px 0 0; font-size: 12px; color: var(--ink-muted); }

/* ===================== Footer ===================== */
.site-foot {
  background: var(--navy-900);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
  margin-top: 48px;
}
.foot-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-logo .logo-line-1 { color: #fff; }
.foot-logo .logo-line-2 { color: var(--ember-500); }
.foot-about { font-size: 14px; color: rgba(255,255,255,0.65); margin-top: 16px; max-width: 320px; }
.site-foot h5 { color: var(--ember-500); margin-bottom: 12px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-links li { font-size: 14px; color: rgba(255,255,255,0.75); }
.foot-links a { color: rgba(255,255,255,0.85); }
.foot-links a:hover { color: var(--ember-500); }
.foot-legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media (min-width: 700px) { .foot-legal { flex-direction: row; justify-content: space-between; } }

/* ===================== Sticky mobile call ===================== */
.sticky-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--ember-600);
  color: #fff;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 14px 30px -10px rgba(214, 90, 49, 0.6);
  text-decoration: none;
}
.sticky-call:hover { background: var(--ember-500); color: #fff; transform: translateY(-1px); }
@media (max-width: 700px) { .sticky-call { display: inline-flex; } }

/* ===================== Reduced motion ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .status-dot { animation: none; }
}
