/* All Go Plumbing & Drainage Ltd - Harper Design Studio
   Brand: dark blue, light blue, green, white. Mobile-first. */

:root {
  --dark-blue: #0a2e52;
  --dark-blue-90: #123a63;
  --blue: #1273c4;
  --blue-dark: #0f5fa3;
  --light-blue: #eaf4fb;
  --light-blue-2: #d3e8f7;
  --green: #2ca24d;
  --green-dark: #23853e;
  --ink: #14202b;
  --muted: #55636f;
  --line: #e2e8ee;
  --white: #ffffff;
  --bg-soft: #f6f9fc;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(10, 46, 82, .08);
  --shadow: 0 8px 24px rgba(10, 46, 82, .10);
  --shadow-lg: 0 18px 45px rgba(10, 46, 82, .16);
  --maxw: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; color: var(--dark-blue); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section--blue { background: var(--dark-blue); color: #dce7f2; }
.section--blue h2, .section--blue h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .6rem;
}
.section--blue .eyebrow { color: #7cc2f0; }

.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section--blue .section-head p { color: #b9cbde; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--call { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn--call:hover { background: var(--green-dark); }
.btn--quote { background: var(--blue); color: #fff; }
.btn--quote:hover { background: var(--blue-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { background: #fff; color: var(--dark-blue); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--lg { padding: 16px 30px; font-size: 1.06rem; }
.btn--block { width: 100%; justify-content: center; }

/* Top utility bar */
.topbar {
  background: var(--dark-blue);
  color: #cfe0f0;
  font-size: .86rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar .topbar__badges { display: flex; gap: 18px; }
.topbar .topbar__badges span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 720px) {
  .topbar .topbar__badges { display: none; }
  .topbar .container { justify-content: center; }
}

/* Header / nav */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; color: var(--dark-blue); font-size: 1.05rem; letter-spacing: -.01em; }
.brand__tag { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  color: var(--ink);
  font-weight: 600;
  font-size: .96rem;
  padding: 8px 14px;
  border-radius: 8px;
}
.nav__links a:hover { background: var(--light-blue); text-decoration: none; }
.nav__links a.is-active { color: var(--blue); }
.nav__cta { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px; background: var(--dark-blue);
  border-radius: 2px; transition: .2s;
}
.nav__toggle span + span { margin-top: 5px; }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 10px 16px 18px; gap: 2px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; border-radius: 10px; }
  .nav .btn--quote { display: none; }
}

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(10,46,82,.86), rgba(10,46,82,.92)),
    radial-gradient(1200px 500px at 80% -10%, rgba(18,115,196,.55), transparent 60%),
    var(--dark-blue);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("assets/pattern.svg");
  background-size: 520px;
  opacity: .10;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero__lead { font-size: 1.15rem; color: #cfe0f2; max-width: 46ch; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 20px 30px;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16);
}
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta strong { font-size: 1.5rem; color: #fff; }
.hero__meta span { font-size: .85rem; color: #a9c2da; }

/* Trust strip */
.trust {
  background: var(--light-blue);
  border-bottom: 1px solid var(--light-blue-2);
}
.trust .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 34px; padding: 18px 20px;
}
.trust span {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--dark-blue); font-size: .95rem;
}
.trust svg { flex: none; }

/* Grid helpers */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--light-blue-2); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--light-blue); color: var(--blue);
  margin-bottom: 16px;
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Feature list (why choose) */
.feature { display: flex; gap: 14px; }
.feature__tick {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(44,162,77,.15); color: var(--green);
  display: grid; place-items: center; margin-top: 2px;
}
.section--blue .feature__tick { background: rgba(124,194,240,.18); color: #7cc2f0; }
.feature h3 { margin-bottom: .2rem; font-size: 1.05rem; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }
.section--blue .feature p { color: #b9cbde; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 20px; }
.step__num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800;
  display: grid; place-items: center; margin-bottom: 14px;
}

/* Testimonials */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm); height: 100%;
}
.quote__stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 10px; font-size: 1rem; }
.quote p { font-size: 1rem; color: var(--ink); }
.quote__by { font-weight: 700; color: var(--dark-blue); font-size: .92rem; margin: 0; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 12px; }
.areas span {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-weight: 600; color: var(--dark-blue); font-size: .93rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--blue), var(--dark-blue));
  color: #fff; border-radius: var(--radius-lg);
  padding: 40px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d5e6f5; max-width: 52ch; margin: 0 auto 22px; }
.cta-band .hero__cta { justify-content: center; margin-bottom: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.info-row { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.info-row__icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--light-blue); color: var(--blue); display: grid; place-items: center;
}
.info-row h3 { margin: 0 0 2px; font-size: 1rem; }
.info-row p { margin: 0; color: var(--muted); }
.info-row a { font-weight: 600; }

form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--dark-blue); }
.field input, .field textarea, .field select {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,115,196,.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
}

.map-embed {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--light-blue); min-height: 260px;
  display: grid; place-items: center; color: var(--muted); text-align: center; padding: 20px;
}
.map-embed iframe { width: 100%; min-height: 300px; border: 0; display: block; }

/* Page hero (inner pages) */
.pagehero {
  background: linear-gradient(180deg, rgba(10,46,82,.9), rgba(10,46,82,.95)), var(--dark-blue);
  color: #fff; padding: 56px 0;
}
.pagehero h1 { color: #fff; margin-bottom: .3rem; }
.pagehero p { color: #cfe0f2; max-width: 54ch; margin: 0; }
.crumb { font-size: .85rem; color: #9db8d4; margin-bottom: 14px; }
.crumb a { color: #cfe0f2; }

/* Emergency inline banner */
.alert {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between;
  background: var(--green); color: #fff; padding: 16px 22px; border-radius: var(--radius);
}
.alert strong { font-size: 1.05rem; }
.alert .btn--outline { background: #fff; border-color: #fff; }

/* Footer */
.footer { background: var(--dark-blue); color: #b7cadd; padding: 56px 0 26px; }
.footer a { color: #d7e6f5; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: .95rem; margin: 0 0 14px; letter-spacing: .02em; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; font-size: .92rem; }
.footer__brand img { height: 52px; margin-bottom: 14px; }
.footer__brand p { font-size: .9rem; color: #9fb6cd; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between;
  font-size: .84rem; color: #8ca6c0;
}
.footer__bottom a { color: #b7cadd; }

/* Sticky mobile call bar */
.callbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: none; gap: 10px; padding: 10px 14px;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(10,46,82,.10);
}
.callbar .btn { flex: 1; }
@media (max-width: 720px) {
  .callbar { display: flex; }
  body { padding-bottom: 76px; }
}

.mt-0 { margin-top: 0; }
.center { text-align: center; }
