/* ============================================================
   Redburn Plumbing — local trades site
   Archivo (display) + Inter (body). Navy + hi-vis safety orange.
   ============================================================ */

:root {
  --navy:     #13294B;
  --navy-d:   #0E1F39;
  --orange:   #F26A21;
  --orange-d: #D9551A;
  --steel:    #3E5C82;
  --paper:    #F5F6F8;
  --ink:      #1C2433;
  --slate:    #5C6877;
  --line:     #E2E5EA;
  --line-d:   rgba(255,255,255,0.12);

  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --pad-x: clamp(1.25rem, 5vw, 5.5rem);
  --band-y: clamp(4rem, 8vw, 7rem);

  --lift-1: 0 2px 6px rgba(19,41,75,.06), 0 14px 32px -16px rgba(19,41,75,.22);
  --lift-2: 0 4px 12px rgba(19,41,75,.08), 0 26px 52px -24px rgba(19,41,75,.36);

  /* faint grain so the dark navy bands aren't a flat fill */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.62;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: "Archivo", "Arial Black", system-ui, sans-serif;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(1.95rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
p { max-width: 62ch; }
strong { color: var(--navy); }

.eyebrow {
  font-family: var(--body);
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px;
  background: var(--orange); display: inline-block;
}

.wrap { max-width: 1220px; margin: 0 auto; padding: 0 var(--pad-x); }
.band { padding: var(--band-y) 0; position: relative; }
.band--paper { background: var(--paper); }
.band--white { background: #fff; }
.band--navy {
  background: var(--navy);
  color: #C2CCDA;
  background-image:
    var(--grain),
    radial-gradient(800px 360px at 86% -10%, rgba(242,106,33,.16), transparent 70%);
  background-blend-mode: overlay, normal;
}
.band--navy h1, .band--navy h2, .band--navy h3 { color: #fff; }
.band--navy .eyebrow { color: #FF8A4D; }
.band--navy strong { color: #fff; }

/* =========================================================
   HEADER
   ========================================================= */
.site-head {
  position: sticky; top: 0; z-index: 70;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 20px -16px rgba(19,41,75,.4);
}
.site-head__row {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__name {
  font-family: var(--display);
  font-size: 1.5rem; font-weight: 800; color: var(--navy);
  line-height: 1; letter-spacing: -0.01em;
}
.brand__name span { color: var(--orange); }

.head-right { display: flex; align-items: center; gap: 1.8rem; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a {
  text-decoration: none; font-size: 0.94rem; font-weight: 700;
  color: var(--slate);
  transition: color .15s ease;
}
.nav a:hover, .nav a.current { color: var(--navy); }

.head-phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 800;
  font-size: 1.05rem; color: var(--navy);
  text-decoration: none;
  background: #fff; border: 2px solid var(--orange);
  padding: 0.5rem 1rem; border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}
.head-phone:hover { background: var(--orange); color: #fff; }
.head-phone svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none; width: 46px; height: 46px;
  border: 2px solid var(--line); background: #fff;
  border-radius: 10px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2.5px; background: var(--navy);
  border-radius: 2px; margin: 0 auto; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding: clamp(3.2rem, 7vw, 5.5rem) 0;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(242,106,33,.14);
  color: var(--orange);
  border: 1px solid rgba(242,106,33,.4);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.85rem; border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero__badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
}
.hero h1 { max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero__lead {
  margin-top: 1.2rem; max-width: 44ch;
  font-size: 1.18rem; color: #B7C2D2;
}
.hero__actions { margin-top: 1.9rem; display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }
.hero__phone-cta {
  display: inline-flex; flex-direction: column;
  text-decoration: none;
}
.hero__phone-cta .pc-label {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #8DA0BC;
}
.hero__phone-cta .pc-num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem); color: #fff;
  line-height: 1.1;
}
.hero__phone-cta:hover .pc-num { color: var(--orange); }

.hero__media {
  position: relative;
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--lift-2);
  aspect-ratio: 4 / 3.4;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(19,41,75,.05), rgba(19,41,75,.34));
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 800; font-size: 0.98rem;
  padding: 0.95rem 1.7rem; border-radius: 10px;
  text-decoration: none; cursor: pointer; border: none;
  letter-spacing: -0.005em;
  transition: transform .14s ease, filter .16s ease, background .16s ease;
}
.btn--orange {
  background: linear-gradient(180deg, #F8793A, var(--orange));
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 12px 24px -10px rgba(242,106,33,.7);
}
.btn--orange:hover { filter: brightness(.97); transform: translateY(-2px); }
.btn--navy {
  background: var(--navy); color: #fff;
  box-shadow: var(--lift-1);
}
.btn--navy:hover { background: var(--navy-d); transform: translateY(-2px); }
.btn--ghost {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--white {
  background: #fff; color: var(--navy);
}
.btn--white:hover { transform: translateY(-2px); }

.link-arrow {
  font-family: var(--display); font-weight: 800; font-size: 0.95rem;
  text-decoration: none; color: var(--orange);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.link-arrow::after { content: "\2192"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust {
  background: var(--orange);
  color: #fff;
}
.trust__row {
  display: flex; flex-wrap: wrap;
  justify-content: space-around; gap: 1rem 2rem;
  padding: 1.1rem 0;
}
.trust__item {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 700; font-size: 0.92rem;
}
.trust__item svg { width: 20px; height: 20px; flex: none; }

/* =========================================================
   SECTION HEADER
   ========================================================= */
.section-head { max-width: 720px; }
.section-head h2 { margin-top: 0.9rem; }
.section-head p { margin-top: 1rem; }
.section-head--center { margin: 0 auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* =========================================================
   SERVICE CARDS
   ========================================================= */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem; margin-top: 2.8rem;
}
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.8rem 1.7rem 1.9rem;
  box-shadow: var(--lift-1);
  border-top: 4px solid var(--orange);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service:hover { transform: translateY(-5px); box-shadow: var(--lift-2); }
.service__icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(155deg, #1B3A66, var(--navy));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.service__icon svg { width: 26px; height: 26px; }
.service h3 { margin-bottom: 0.45rem; }
.service p { font-size: 0.96rem; color: var(--slate); }

/* =========================================================
   WHY US
   ========================================================= */
.why {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem; margin-top: 2.6rem;
}
.why__item {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-d);
  border-radius: 14px; padding: 1.7rem;
}
.why__n {
  font-family: var(--display); font-weight: 800;
  font-size: 2.4rem; color: var(--orange); line-height: 1;
}
.why__item h3 { color: #fff; font-size: 1.15rem; margin: 0.7rem 0 0.4rem; }
.why__item p { font-size: 0.9rem; color: #AEB9CA; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem; margin-top: 2.8rem;
}
.testimonial {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 1.8rem;
  box-shadow: var(--lift-1);
  transition: transform .2s ease;
}
.testimonial:hover { transform: translateY(-4px); }
.testimonial__stars { color: var(--orange); font-size: 1rem; letter-spacing: 2px; }
.testimonial__text {
  font-size: 0.98rem; color: var(--ink); margin: 0.8rem 0 1.1rem;
  line-height: 1.6;
}
.testimonial__who { display: flex; align-items: center; gap: 0.7rem; }
.testimonial__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(150deg, #1B3A66, var(--navy));
  color: #fff;
  font-family: var(--display); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.testimonial__name { font-family: var(--display); font-weight: 800; color: var(--navy); font-size: 0.95rem; }
.testimonial__meta { font-size: 0.8rem; color: var(--slate); }

/* =========================================================
   SERVICE AREA
   ========================================================= */
.area-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.area-towns {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 1.3rem;
}
.area-town {
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 0.4rem 0.95rem;
  font-size: 0.86rem; font-weight: 600; color: var(--ink);
}
.area-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 1.8rem;
  box-shadow: var(--lift-1);
}
.area-card dl dt {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--orange); margin-top: 1.3rem;
}
.area-card dl dt:first-child { margin-top: 0; }
.area-card dl dd {
  font-family: var(--display); font-weight: 700;
  font-size: 1.1rem; color: var(--navy); margin-top: 0.25rem;
}

/* =========================================================
   PROCESS (services page)
   ========================================================= */
.process { margin-top: 2.8rem; border-top: 1px solid var(--line-d); }
.process-step {
  display: grid; grid-template-columns: 84px 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-d);
}
.process-step__n {
  font-family: var(--display); font-weight: 800;
  font-size: 2.3rem; color: var(--orange); line-height: 1;
}
.process-step h3 { color: #fff; margin-bottom: 0.4rem; }
.process-step p { color: #AEB9CA; font-size: 0.97rem; }

/* =========================================================
   PRICING NOTE
   ========================================================= */
.pricing-note {
  background: #fff; border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 12px; padding: 1.6rem 1.8rem;
  box-shadow: var(--lift-1);
  max-width: 760px;
}
.pricing-note h3 { margin-bottom: 0.5rem; }
.pricing-note p { font-size: 0.97rem; color: var(--slate); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.co-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 1.9rem;
  box-shadow: var(--lift-1);
}
.co-field { margin-bottom: 1.3rem; }
.co-field label {
  display: block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 0.4rem;
}
.co-field input, .co-field select, .co-field textarea {
  width: 100%; font-family: var(--body); font-size: 1rem;
  color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 0.8rem 0.9rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.co-field textarea { min-height: 120px; resize: vertical; }
.co-field input:focus, .co-field select:focus, .co-field textarea:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242,106,33,.16);
}
.co-field input.invalid, .co-field textarea.invalid { border-color: #C53A1F; }
.co-err { display: none; font-size: 0.8rem; color: #C53A1F; margin-top: 0.3rem; }
.co-err.show { display: block; }
.co-note { font-size: 0.82rem; color: var(--slate); margin-top: 0.9rem; }
.co-success {
  display: none;
  background: #fff; border: 2px solid var(--orange);
  border-radius: 14px; padding: 1.7rem;
}
.co-success.show { display: block; }
.co-success h3 { margin-bottom: 0.4rem; }
.co-success p { font-size: 0.95rem; color: var(--slate); }

.co-aside dl dt {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--orange); margin-top: 1.4rem;
}
.co-aside dl dt:first-child { margin-top: 0; }
.co-aside dl dd {
  font-family: var(--display); font-weight: 700;
  font-size: 1.12rem; color: var(--navy); margin-top: 0.25rem;
}
.co-map {
  margin-top: 1.5rem;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--lift-1);
}
.co-map iframe { width: 100%; height: 280px; border: 0; }

/* =========================================================
   GENERIC PAGE HEAD
   ========================================================= */
.page-head { padding: clamp(3.2rem, 7vw, 5rem) 0 clamp(2.4rem, 5vw, 3.6rem); }
.page-head h1 { margin-top: 0.9rem; max-width: 17ch; }
.page-head p { margin-top: 1.1rem; max-width: 56ch; color: #B7C2D2; }

/* =========================================================
   CTA
   ========================================================= */
.cta { text-align: center; }
.cta h2 { max-width: 20ch; margin: 0.9rem auto 0; }
.cta p { margin: 1rem auto 0; }
.cta__actions {
  margin-top: 2rem; display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap; align-items: center;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-foot {
  background: var(--navy-d);
  color: #93A1B8;
  padding: clamp(3.2rem, 6vw, 4.6rem) 0 0;
}
.foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.4rem; padding-bottom: 2.8rem;
}
.foot__brand .brand__name { color: #fff; }
.foot__brand p { color: #93A1B8; margin-top: 0.9rem; max-width: 32ch; font-size: 0.93rem; }
.foot__brand .foot-phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.1rem;
  font-family: var(--display); font-weight: 800; font-size: 1.3rem;
  color: var(--orange); text-decoration: none;
}
.foot-col h4 {
  font-family: var(--display); font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; margin-bottom: 0.9rem;
}
.foot-col a {
  display: block; text-decoration: none; font-size: 0.94rem;
  color: #93A1B8; padding: 0.3rem 0;
  transition: color .15s ease;
}
.foot-col a:hover { color: var(--orange); }
.foot__legal {
  border-top: 1px solid var(--line-d);
  padding: 1.4rem 0; display: flex; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; color: #6E7C92;
}

/* =========================================================
   SCROLL-REVEAL — JS-gated
   ========================================================= */
.js .reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .hero__inner, .area-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero__media { aspect-ratio: 16 / 10; }
  .services, .testimonials { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .nav, .head-phone { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex; position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad-x) 1rem;
  }
  .nav.open a { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .services, .why, .testimonials, .foot-grid { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 1fr; gap: 0.5rem; }
  .trust__row { flex-direction: column; align-items: flex-start; padding: 1.2rem var(--pad-x); }
  .foot__legal { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .service, .testimonial, .btn, .hero__media img { transition: none; }
}
