/* ============================================
   Affordable Plumbing Services LLC
   Palette: navy #0B3B5C, copper #B5713C,
            steel #EEF2F5, ink #1A2226, white
   Display: Archivo Black / Archivo
   Body: Inter
   ============================================ */

:root {
  --navy: #0B3B5C;
  --navy-dark: #082A42;
  --copper: #B5713C;
  --copper-light: #D89457;
  --steel: #EEF2F5;
  --ink: #1A2226;
  --white: #FFFFFF;
  --line: #D7DEE4;

  --font-display: 'Archivo Black', 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

/* ---------- Sticky call bar ---------- */

.callbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--copper);
  border-bottom: 3px solid var(--navy-dark);
}

.callbar__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.15s ease;
}

.callbar__link:hover,
.callbar__link:focus-visible {
  background: rgba(0,0,0,0.08);
}

.callbar__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.callbar__text strong {
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 42, 66, 0.97) 0%,
    rgba(8, 42, 66, 0.85) 22%,
    rgba(8, 42, 66, 0.35) 55%,
    rgba(8, 42, 66, 0.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 3rem 1.5rem 3.5rem;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  color: var(--white);
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--copper-light);
  margin: 0 0 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  color: var(--white);
}

.hero__sub {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  margin: 0 0 2rem;
}

.hero__years {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--copper-light);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 6px;
  transition: transform 0.12s ease, background 0.15s ease;
}

.btn--primary {
  background: var(--copper);
  color: var(--white);
  padding: 1.1rem 2.4rem;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 0 var(--navy-dark);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--copper-light);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 var(--navy-dark);
}

.btn--large {
  background: var(--white);
  color: var(--navy);
  padding: 1.3rem 3rem;
  font-size: 1.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.btn--large:hover,
.btn--large:focus-visible {
  background: var(--steel);
}

/* ---------- Signature: pipe-fitting rule ---------- */

.pipe-rule {
  height: 14px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--copper) 0px,
      var(--copper) 2px,
      transparent 2px,
      transparent 10px
    );
  position: relative;
}

.pipe-rule::before,
.pipe-rule::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14px;
  background: var(--navy);
}

.pipe-rule::before { left: 0; }
.pipe-rule::after { right: 0; }

/* ---------- Section shell ---------- */

main section {
  padding: 4rem 1.5rem;
  max-width: 780px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--navy);
  text-align: center;
  margin: 0 0 2.5rem;
  letter-spacing: -0.01em;
}

.section-title--light {
  color: var(--white);
}

/* ---------- Services manifest ---------- */

.services { background: var(--white); }

.manifest {
  border-top: 2px solid var(--navy);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.manifest--two-column {
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.manifest__column {
  display: flex;
  flex-direction: column;
}

.manifest__column:first-child {
  border-right: 1px solid var(--line);
  padding-right: 1.5rem;
}

.manifest__column:last-child {
  padding-left: 1.5rem;
}

.manifest__row {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.manifest__label {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}


/* ---------- Areas served ---------- */

.areas {
  background: var(--navy-dark);
  max-width: none;
  margin: 0;
  padding: 0;
}

.areas__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.areas__intro {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin: -1.5rem 0 0;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
  font-size: 0.9rem;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin: 0 0 0.5rem;
}

.footer__area {
  margin: 0 0 0.75rem;
}

.footer__phone {
  margin: 0;
}

.footer__phone a {
  text-decoration: none;
  color: var(--copper-light);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ---------- Focus visibility ---------- */

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--copper-light);
  outline-offset: 2px;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- Mobile tuning ---------- */

@media (max-width: 480px) {
  main section { padding: 3rem 1.25rem; }
  .manifest__label { font-size: 1.05rem; }
  .btn--large { padding: 1.1rem 2.2rem; font-size: 1.3rem; }
  .manifest--two-column {
    grid-template-columns: 1fr;
  }
  .manifest__column:first-child {
    border-right: none;
    padding-right: 0.25rem;
  }
  .manifest__column:last-child {
    padding-left: 0.25rem;
  }
}
