/* ============================================================
   Fullbore Plumbing Ltd — static site styles (desktop-first)
   ============================================================ */

:root {
  --navy: #0e2a47;
  --navy-2: #143a63;
  --blue: #1a73b5;
  --blue-light: #e8f1f8;
  --orange: #f26b21;
  --orange-dark: #d95a15;
  --red: #d63a2f;
  --red-dark: #b92e24;
  --bg: #f4f7fa;
  --text: #22303c;
  --muted: #5b6b7a;
  --radius: 10px;
  --shadow: 0 2px 14px rgba(14, 42, 71, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 8px; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: background .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary  { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-emergency { background: var(--red); color: #fff; }
.btn-emergency:hover { background: var(--red-dark); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #155f96; }
.btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.btn-outline:hover { box-shadow: inset 0 0 0 2px #fff; background: rgba(255,255,255,.08); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: #ffe9e6; }
.cta-strip .btn-white { color: var(--navy); }
.btn-lg { padding: 18px 32px; font-size: 1.12rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--navy);
  box-shadow: 0 4px 18px rgba(9, 25, 43, 0.35);
}
.header-inner { display: flex; align-items: center; gap: 36px; height: 84px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 68px; width: auto; display: block; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 26px; list-style: none; }
.main-nav a { text-decoration: none; color: #cfe0ef; font-weight: 600; font-size: .95rem; padding: 6px 2px; }
.main-nav a:hover { color: #fff; }
.main-nav a.active { color: #7fc4ee; }
.btn-phone { background: var(--orange); color: #fff; padding: 12px 20px; font-size: 1rem; }
.btn-phone:hover { background: var(--orange-dark); }

/* Mobile nav + call bar */
.nav-toggle { display: none; }
.nav-burger {
  display: none; width: 46px; height: 46px; border-radius: 8px;
  align-items: center; justify-content: center; cursor: pointer;
  color: #fff; background: rgba(255,255,255,.08);
}
.nav-burger:hover { background: rgba(255,255,255,.16); }
.mobile-call-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(11, 33, 56, .97);
  box-shadow: 0 -6px 20px rgba(4, 16, 30, .35);
  gap: 10px;
}
.mobile-call-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; border-radius: 10px;
  font-weight: 700; font-size: 1.02rem; text-decoration: none; color: #fff;
}
.call-bar-primary { background: var(--orange); }
.call-bar-emergency { background: var(--red); }

/* ---------- Hero (home) ---------- */

.hero {
  background: var(--navy);
  color: #fff; padding: 72px 0 88px;
}
.hero-inner {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 48px; align-items: center;
}
.hero-photo img {
  width: 100%; height: 440px; object-fit: cover; display: block;
  border-radius: 14px; box-shadow: 0 18px 44px rgba(4, 16, 30, .45);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-weight: 700;
  font-size: .82rem; color: #7fc4ee; margin-bottom: 18px;
}
.hero h1 { font-size: 2.5rem; line-height: 1.18; font-weight: 800; letter-spacing: -.01em; }
.hero h1 strong { color: #ffb27d; }
.hero .sub { font-size: 1.16rem; color: #c9d9e8; max-width: 740px; margin: 22px 0 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.trust-line { margin-top: 26px; color: #9fb8cd; font-size: .95rem; }

/* ---------- Page hero (subpages) ---------- */

.page-hero {
  background: var(--navy);
  color: #fff; padding: 56px 0 64px;
}
.page-hero-emergency { background: linear-gradient(135deg, #7e1f18 0%, var(--red) 100%); }
.page-hero .hero-photo img { height: 300px; }
.page-hero h1 { font-size: 2.1rem; font-weight: 800; max-width: 820px; line-height: 1.22; }
.page-hero .sub { color: #c9d9e8; font-size: 1.1rem; max-width: 720px; margin-top: 14px; }
.page-hero .hero-ctas { margin-top: 28px; }

/* ---------- Trust bar ---------- */

.trustbar { background: var(--bg); padding: 46px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px 18px; text-align: center;
}
.trust-card .big { font-weight: 800; color: var(--navy); font-size: 1.05rem; }
.trust-card .small { color: var(--muted); font-size: .88rem; margin-top: 4px; }

/* ---------- Generic sections ---------- */

section { padding: 76px 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.section-head h2 { font-size: 2.05rem; color: var(--navy); font-weight: 800; letter-spacing: -.01em; }
.section-head p { color: var(--muted); margin-top: 10px; }

/* ---------- Reviews ---------- */

.stars { color: #f5a623; letter-spacing: 3px; font-size: 1.05rem; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px; border-top: 4px solid var(--orange);
}
.review-card blockquote { font-size: 1.02rem; }
.review-card footer { margin-top: 14px; color: var(--muted); font-size: .9rem; font-weight: 600; }

/* ---------- About ---------- */

.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.about-grid h2 { font-size: 2.05rem; color: var(--navy); font-weight: 800; margin-bottom: 18px; }
.about-grid p { margin-bottom: 14px; }
.about-grid a:not(.btn) { color: var(--blue); font-weight: 600; }
.about-side { background: var(--blue-light); border-radius: var(--radius); padding: 28px; }
.about-side h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 14px; }
.about-side .note { color: var(--muted); font-size: .88rem; margin-top: 14px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: #fff; color: var(--navy); border: 1px solid #cfe0ee;
  padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600;
}

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

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 28px; display: flex; flex-direction: column;
}
.service-icon { font-size: 2rem; margin-bottom: 14px; }
.service-card h3 { color: var(--navy); font-size: 1.25rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); margin-bottom: 22px; }
.service-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Emergency / CTA strips ---------- */

.emergency-strip {
  background:
    linear-gradient(100deg, rgba(133,26,18,.96) 0%, rgba(214,58,47,.88) 100%),
    var(--hero-img, none) center/cover no-repeat;
  color: #fff; padding: 54px 0;
}
.emergency-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.emergency-inner h2 { font-size: 1.7rem; font-weight: 800; }
.emergency-inner p { color: #ffd9d4; margin-top: 6px; }

.cta-strip {
  background:
    linear-gradient(100deg, rgba(14,42,71,.96) 0%, rgba(20,58,99,.88) 100%),
    var(--hero-img, none) center/cover no-repeat;
  color: #fff; padding: 54px 0;
}
.cta-strip .emergency-inner p { color: #b9cfe2; }

/* ---------- Content pages ---------- */

.content { padding: 64px 0; }
.prose { max-width: 780px; }
.prose h2 { color: var(--navy); font-size: 1.6rem; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--navy); font-size: 1.2rem; margin: 28px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose a:not(.btn) { color: var(--blue); font-weight: 600; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0 10px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 28px 0 10px; }
.info-card { background: var(--bg); border-radius: var(--radius); padding: 24px; }
.info-card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 8px; }
.info-card p { color: var(--muted); font-size: .95rem; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step { background: #fff; border: 1px solid #e3ebf2; border-radius: var(--radius); padding: 24px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; width: 34px; height: 34px;
  align-items: center; justify-content: center;
  background: var(--blue); color: #fff; font-weight: 800;
  border-radius: 50%; margin-bottom: 12px;
}
.step h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; }

.notice {
  background: #fff7ed; border: 1px solid #f5c98a; border-radius: var(--radius);
  padding: 18px 22px; margin: 24px 0; font-size: .97rem;
}
.notice-danger { background: #fdf0ef; border-color: #efb4ae; }

.pricing-box { background: var(--blue-light); border-radius: var(--radius); padding: 28px 30px; margin: 30px 0; }
.pricing-box h3 { color: var(--navy); margin-bottom: 10px; }
.pricing-box ul { margin: 0 0 0 22px; }
.pricing-box li { margin-bottom: 6px; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-card { background: var(--bg); border-radius: var(--radius); padding: 30px; }
.contact-card h3 { color: var(--navy); margin-bottom: 12px; }
.contact-card p { margin-bottom: 10px; }
.contact-card a:not(.btn) { color: var(--blue); font-weight: 600; }
.contact-card .big-phone a { font-size: 1.4rem; font-weight: 800; }
.form-card {
  background: #fff; border: 1px solid #e3ebf2; border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cfdbe6;
  border-radius: 8px; font: inherit; color: var(--text); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue);
}
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }

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

.site-footer { background: var(--navy); color: #b9c9d8; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #cfe0ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-phone a { font-size: 1.3rem; font-weight: 800; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .84rem; color: #8fa6ba;
}

/* ---------- Responsive fallback (mobile pass comes later) ---------- */

@media (max-width: 980px) {
  .nav-burger { display: flex; margin-left: auto; }
  .btn-phone { margin-left: 12px; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    margin-left: 0; background: #0b2138;
    box-shadow: 0 12px 24px rgba(4, 16, 30, .4);
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .main-nav ul { display: block; padding: 6px 0; }
  .main-nav li { border-bottom: 1px solid rgba(255,255,255,.07); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a { display: block; padding: 15px 24px; font-size: 1.05rem; }
  .trust-grid, .review-grid, .service-grid, .info-grid,
  .steps, .steps-4, .grid-4 { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo img { height: 320px; }
  .page-hero .hero-photo img { height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.3rem; }
  .page-hero h1 { font-size: 2rem; }
}

@media (max-width: 760px) {
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 78px; }
}

@media (max-width: 640px) {
  .trust-grid, .review-grid, .service-grid, .info-grid,
  .steps, .steps-4, .grid-4, .form-row { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  section { padding: 52px 0; }
  .header-inner { gap: 14px; height: 68px; }
  .logo img { height: 48px; }
  .btn-phone { padding: 11px; }
  .btn-phone .phone-text { display: none; }
  .hero { padding: 44px 0 60px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-ctas .btn, .emergency-inner .btn { width: 100%; }
  .btn-lg { padding: 16px 20px; font-size: 1rem; }
  .hero-ctas .btn { white-space: normal; }
  .hero-photo img { height: 240px; }
  .page-hero { padding: 40px 0 48px; }
  .page-hero h1 { font-size: 1.7rem; }
  .section-head h2 { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; }
}