/* ============================================================
   Hudson Plumbing — clean, professional, NYC plumber sample
   Navy + white + trust blue
   ============================================================ */

:root {
  --navy:        #0f2a44;
  --navy-2:      #143352;
  --bg:          #ffffff;
  --bone:        #fafaf7;
  --surface:     #f4f4f1;
  --ink:         #1a1a1d;
  --text:        #2c2c30;
  --muted:       #6b7280;
  --muted-2:     #9ca3af;
  --line:        #e5e7eb;
  --line-soft:   #f0f0ed;
  --blue:        #1e6fbf;
  --blue-dark:   #155a9a;
  --blue-soft:   #e8f0fa;
  --safety:      #dc2626;
  --shadow-sm:   0 2px 8px rgba(15,42,68,.06);
  --shadow-md:   0 12px 32px rgba(15,42,68,.1);

  --font: 'Inter', -apple-system, system-ui, sans-serif;
  --display: 'Outfit', 'Inter', -apple-system, system-ui, sans-serif;

  --max: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 10px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

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

/* ============================================================
   TOP BAR — emergency line
   ============================================================ */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  font-weight: 500;
}
.topbar-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 9px var(--gutter);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.topbar-l { display: flex; align-items: center; gap: 10px; }
.topbar-l .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.topbar-r { display: flex; gap: 18px; align-items: center; }
.topbar-r a { color: rgba(255,255,255,.85); transition: color .15s; }
.topbar-r a:hover { color: white; }
@media (max-width: 720px) { .topbar-r { display: none; } }

/* ============================================================
   HEADER
   ============================================================ */
header.head {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 50;
}
.head-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display); font-weight: 700;
  font-size: 21px; letter-spacing: -0.02em; color: var(--navy);
}
.brand-mark {
  width: 40px; height: 40px;
  background: var(--navy); color: white;
  display: grid; place-items: center;
  border-radius: var(--radius);
}
.brand-mark svg { width: 20px; height: 20px; }
nav.primary { display: flex; gap: 4px; justify-self: center; }
nav.primary a {
  font-weight: 500; font-size: 14.5px;
  padding: 9px 14px; color: var(--text);
  border-radius: var(--radius);
  transition: color .15s, background .15s;
}
nav.primary a:hover { color: var(--navy); background: var(--surface); }
.head-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--safety); color: white;
  padding: 11px 18px; border-radius: var(--radius);
  font-weight: 600; font-size: 14.5px;
  transition: background .15s, transform .15s;
  white-space: nowrap;
}
.head-cta:hover { background: #b91c1c; transform: translateY(-1px); }
.head-cta svg { width: 14px; height: 14px; }
.menu-toggle { display: none; }

@media (max-width: 880px) {
  .head-inner { gap: 12px; padding: 14px 16px; }
  nav.primary {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 10px;
  }
  nav.primary.open { display: flex; }
  nav.primary a { width: 100%; padding: 12px; }
  .menu-toggle {
    display: inline-grid; place-items: center;
    width: 38px; height: 38px;
    border: 1px solid var(--line); border-radius: var(--radius);
    color: var(--navy);
  }
  .menu-toggle svg { width: 18px; height: 18px; }
  .head-cta { padding: 10px 14px; font-size: 13.5px; }
  .head-cta-text { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: clamp(60px, 8vw, 110px) var(--gutter) clamp(50px, 7vw, 90px);
  background: linear-gradient(180deg, var(--bg), var(--bone));
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-meta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--blue);
  padding: 6px 14px;
  background: var(--blue-soft);
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05; letter-spacing: -0.03em;
  color: var(--navy); margin: 0 0 22px;
}
.hero p.lede {
  font-size: 18px; line-height: 1.55;
  color: var(--text); max-width: 540px; margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 22px;
  font-family: inherit; font-weight: 600; font-size: 15px;
  border-radius: var(--radius);
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--safety); color: white; }
.btn-primary:hover { background: #b91c1c; transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: white; }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost {
  border: 1.5px solid var(--line); color: var(--navy); background: transparent;
}
.btn-ghost:hover { border-color: var(--navy); background: var(--surface); }

.hero-photo {
  aspect-ratio: 5/6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: white;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 700; font-size: 14px;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 8px;
}
.hero-photo .badge svg { width: 18px; height: 18px; color: var(--blue); }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { aspect-ratio: 4/3; max-height: 380px; }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  background: var(--navy);
  color: white;
  padding: 22px var(--gutter);
}
.trust-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 15px;
}
.trust-item svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; }
.trust-item small { display: block; font-size: 12.5px; font-weight: 400; color: rgba(255,255,255,.7); margin-top: 2px; }
@media (max-width: 880px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: clamp(70px, 9vw, 110px) var(--gutter); }
.container { max-width: var(--max); margin: 0 auto; }

.section-head {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 700;
  color: var(--blue); letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.05; letter-spacing: -0.025em;
  color: var(--navy); margin: 0 0 12px;
}
.section-head p {
  font-size: 17px; line-height: 1.55;
  color: var(--muted); margin: 0;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc {
  background: var(--bg);
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.svc:hover {
  transform: translateY(-3px);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}
.svc .ico {
  width: 44px; height: 44px;
  background: var(--blue-soft); color: var(--blue);
  border-radius: var(--radius);
  display: grid; place-items: center;
}
.svc .ico svg { width: 22px; height: 22px; }
.svc h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 18px; color: var(--navy);
  margin: 0; letter-spacing: -0.005em;
}
.svc p {
  font-size: 14.5px; line-height: 1.55;
  color: var(--muted); margin: 0;
}

@media (max-width: 880px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .services { grid-template-columns: 1fr; } }

/* ============================================================
   WHY US — split with photo
   ============================================================ */
.why { background: var(--bone); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  max-width: var(--max); margin: 0 auto;
}
.why-photo {
  aspect-ratio: 5/6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-content h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05; letter-spacing: -0.025em;
  color: var(--navy); margin: 0 0 18px;
}
.why-content p {
  font-size: 16.5px; line-height: 1.65;
  color: var(--text); margin: 0 0 14px;
}
.why-list {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 14px;
}
.why-list li {
  display: grid; grid-template-columns: 26px 1fr;
  gap: 14px; align-items: start;
  font-size: 15.5px; color: var(--ink);
}
.why-list li svg {
  width: 24px; height: 24px;
  color: var(--blue); margin-top: 1px;
}
.why-list li b {
  font-family: var(--display); font-weight: 700;
  display: block; color: var(--navy);
  font-size: 16px; margin-bottom: 2px;
}
.why-list li small {
  display: block; font-size: 14px; color: var(--muted);
  margin-top: 2px; line-height: 1.55;
}

@media (max-width: 880px) {
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-photo { aspect-ratio: 16/11; max-height: 380px; order: -1; }
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.r-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.r-card .stars { color: #f59e0b; font-size: 14px; letter-spacing: 3px; }
.r-card blockquote {
  font-size: 15.5px; line-height: 1.55;
  color: var(--text); margin: 0;
}
.r-meta {
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13.5px;
}
.r-meta b { color: var(--navy); font-weight: 700; }
.r-meta small { color: var(--muted); display: block; font-size: 12.5px; }
.r-meta .where { color: var(--blue); font-weight: 600; font-size: 12.5px; }

@media (max-width: 880px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT CTA
   ============================================================ */
.cta {
  background: var(--navy);
  color: white;
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  text-align: center;
}
.cta-inner {
  max-width: 780px; margin: 0 auto;
}
.cta h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.05; letter-spacing: -0.025em;
  margin: 0 0 16px; color: white;
}
.cta p {
  color: rgba(255,255,255,.8); font-size: 17px;
  max-width: 560px; margin: 0 auto 30px;
}
.cta .phone-display {
  display: inline-block;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(36px, 5.5vw, 60px);
  letter-spacing: -0.025em;
  color: white;
  padding: 18px 36px;
  border: 2px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  margin-bottom: 22px;
  transition: background .15s, border-color .15s;
}
.cta .phone-display:hover { background: rgba(255,255,255,.05); border-color: var(--blue); }
.cta-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.cta-actions .btn-blue { background: var(--blue); }
.cta-actions .btn-ghost { color: white; border-color: rgba(255,255,255,.3); }
.cta-actions .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: white; color: white; }

/* ============================================================
   FOOTER
   ============================================================ */
footer.foot {
  background: #0a1c2e;
  color: rgba(255,255,255,.75);
  padding: 50px var(--gutter) 28px;
  font-size: 14px;
}
.foot-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.foot-brand {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.foot-brand .mk {
  width: 36px; height: 36px;
  background: var(--blue); color: white;
  display: grid; place-items: center;
  border-radius: var(--radius);
}
.foot-brand .mk svg { width: 18px; height: 18px; }
.foot-brand .name {
  font-family: var(--display); font-weight: 700;
  color: white; font-size: 18px;
}
.foot-tag p {
  margin: 0; max-width: 320px; line-height: 1.55;
  color: rgba(255,255,255,.65);
}
.foot-col h4 {
  font-family: var(--display); font-weight: 700;
  font-size: 13.5px; color: white;
  margin: 0 0 14px;
  letter-spacing: 0.005em;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: 8px; }
.foot-col li a { color: rgba(255,255,255,.7); transition: color .15s; }
.foot-col li a:hover { color: white; }
.foot-bottom {
  max-width: var(--max); margin: 22px auto 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px; color: rgba(255,255,255,.5);
}
@media (max-width: 880px) {
  .foot-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .foot-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE STICKY CALL BAR
   ============================================================ */
.mobile-call {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--safety); color: white;
  padding: 14px 18px; z-index: 100;
  text-align: center;
  font-weight: 600; font-size: 15.5px;
  border-top: 1px solid #b91c1c;
}
.mobile-call svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }
@media (max-width: 720px) {
  .mobile-call { display: block; }
  body { padding-bottom: 54px; }
}

/* ============================================================
   SAMPLE NOTICE — fictional disclosure
   ============================================================ */
.sample-banner {
  background: #fef3c7;
  color: #92400e;
  text-align: center;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 500;
}
.sample-banner a { color: #92400e; text-decoration: underline; font-weight: 600; }
