/* =========================================================
   Boiler Replacement East Kilbride — stylesheet
   Plain static CSS, no build step, no dependencies.
   ========================================================= */

:root {
  --navy: #0e2a43;
  --navy-700: #143451;
  --brand: #16a34a;          /* green — efficiency / go */
  --brand-600: #12833c;
  --brand-050: #e9f7ee;
  --amber: #f5a623;
  --ink: #16202c;
  --muted: #5b6a7b;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f3f7f4;
  --bg-softer: #eaf2ec;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(14, 42, 67, .08);
  --shadow: 0 8px 28px rgba(14, 42, 67, .12);
  --shadow-lg: 0 18px 50px rgba(14, 42, 67, .18);
  --maxw: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -.4px; }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #d7e3f0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 1.5px; font-size: .78rem; font-weight: 700; color: var(--brand-600); margin-bottom: 12px; }
.section--navy .eyebrow { color: var(--amber); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 700; font-size: 1.02rem; line-height: 1; padding: 15px 26px; border-radius: 999px; cursor: pointer; border: 2px solid transparent; transition: transform .12s ease, box-shadow .12s ease, background .15s; text-decoration: none; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--quote { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn--quote:hover { background: var(--brand-600); color: #fff; }
.btn--call { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--call:hover { background: var(--navy); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { background: var(--navy-700); color: #fff; }
.btn--lg { padding: 18px 32px; font-size: 1.12rem; }
.btn--block { width: 100%; }

/* Top bar */
.topbar { background: var(--navy-700); color: #cdd9e9; font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .pill { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #36d77a; box-shadow: 0 0 0 4px rgba(54,215,122,.18); display: inline-block; }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 42px; height: 42px; border-radius: 11px; flex: 0 0 auto; background: linear-gradient(135deg, var(--brand), #34c46a); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm); }
.brand small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .3px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--navy); font-weight: 600; padding: 9px 13px; border-radius: 8px; font-size: .98rem; }
.nav-links a:hover { background: var(--bg-soft); text-decoration: none; }
.nav-links a.active { color: var(--brand-600); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { font-weight: 800; color: var(--navy); font-size: 1.05rem; white-space: nowrap; }
.nav-phone:hover { text-decoration: none; color: var(--brand-600); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: .2s; }

/* Hero */
.hero { background: linear-gradient(180deg, rgba(9,26,43,.88), rgba(9,26,43,.8)), radial-gradient(1200px 500px at 80% -10%, rgba(22,163,74,.5), transparent 60%), var(--navy); color: #eaf1fb; }
.hero .container { padding-top: 70px; padding-bottom: 80px; }
.hero h1 { color: #fff; }
.hero p.lead { color: #c6d6ec; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 26px; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #eaf1fb; padding: 8px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600; }
.chip svg { flex: 0 0 auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { color: #9fb6d4; font-size: .92rem; margin-top: 16px; }

/* Quote card */
.quotecard { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-lg); }
.quotecard h3 { color: var(--navy); margin-bottom: 4px; }
.quotecard .from { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 2px; }
.quotecard .from b { font-size: 2rem; color: var(--brand-600); letter-spacing: -.5px; }
.quotecard form .field { margin-bottom: 12px; }
.quotecard label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 5px; font-size: .9rem; }
.quotecard input, .quotecard select, .quotecard textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; }
.quotecard input:focus, .quotecard select:focus, .quotecard textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }

/* Trust strip */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 20px; }
.trust-item { display: flex; align-items: center; gap: 13px; }
.trust-item .ic { width: 46px; height: 46px; border-radius: 11px; background: var(--bg-softer); display: grid; place-items: center; color: var(--brand-600); flex: 0 0 auto; }
.trust-item b { display: block; color: var(--navy); font-size: 1.02rem; }
.trust-item span { color: var(--muted); font-size: .86rem; }

/* Grids / cards */
.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); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe3d6; }
.card .ic { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), #34c46a); color: #fff; margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { padding-top: 12px; }
.step .num { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Brands row */
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.brandbox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; font-weight: 800; color: var(--navy); font-size: 1.15rem; box-shadow: var(--shadow-sm); }
.brandbox span { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-top: 4px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); position: relative; }
.price.featured { border-color: var(--brand); box-shadow: var(--shadow); }
.price .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.price h3 { margin-bottom: 4px; }
.price .amt { font-size: 2.2rem; font-weight: 800; color: var(--navy); letter-spacing: -.5px; }
.price .amt small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.price ul { list-style: none; padding: 0; margin: 18px 0 0; }
.price li { display: flex; gap: 9px; padding: 7px 0; font-size: .96rem; }
.price li svg { color: var(--brand); flex: 0 0 auto; margin-top: 3px; }

/* Area list */
.area-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 22px; list-style: none; padding: 0; margin: 26px 0 0; }
.area-list li { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; font-size: .98rem; }
.area-list li svg { color: var(--brand-600); flex: 0 0 auto; }

/* Reviews */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 10px; }
.review p { font-size: 1rem; color: var(--ink); }
.review .who { color: var(--muted); font-weight: 700; font-size: .92rem; margin: 0; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--brand-600); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brand), #1fbf5c); color: #fff; border-radius: var(--radius); padding: 44px; text-align: center; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e4fced; max-width: 640px; margin: 0 auto 22px; }
.cta-band .btn--quote { background: #fff; color: var(--brand-600); }
.cta-band .btn--quote:hover { background: #f0fff5; color: var(--brand-600); }
.cta-band .btn--ghost { border-color: rgba(255,255,255,.7); }

/* Page header */
.page-head { background: var(--navy); color: #d7e3f0; padding: 56px 0 50px; }
.page-head h1 { color: #fff; margin-bottom: 8px; }
.page-head p { color: #aec5df; max-width: 680px; margin: 0; }
.crumbs { font-size: .86rem; color: #8ba7c7; margin-bottom: 14px; }
.crumbs a { color: #cfe0f5; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--bg-softer); color: var(--brand-600); display: grid; place-items: center; flex: 0 0 auto; }
.info-list b { display: block; color: var(--navy); }
.info-list a { font-weight: 700; }
.info-list span { color: var(--muted); font-size: .94rem; }

form .field { margin-bottom: 16px; }
form label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .95rem; }
form input, form textarea, form select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: #fff; }
form input:focus, form textarea:focus, form select:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.form-note { font-size: .85rem; color: var(--muted); }

/* Footer */
.site-footer { background: #0a1f33; color: #9fb6d4; padding: 56px 0 26px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.site-footer a { color: #c2d3e8; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 5px 0; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand small { color: #8fa6c4; }
.footer-phone { font-size: 1.5rem; font-weight: 800; color: #fff; display: inline-block; margin: 6px 0; }
.footer-phone:hover { text-decoration: none; color: #34c46a; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #7e96b6; }
.site-footer address { font-style: normal; }

/* Sticky mobile call bar */
.callbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--brand); padding: 10px 14px; box-shadow: 0 -6px 20px rgba(0,0,0,.18); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; }
.callbar a:hover { text-decoration: none; }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.section-head { max-width: 720px; margin: 0 auto 44px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-4, .trust .container, .brands { grid-template-columns: repeat(2, 1fr); }
  .steps, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .area-list { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { padding-bottom: 64px; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px; border-radius: 8px; }
  .nav-toggle { display: block; }
  .nav-phone { display: none; }
  .grid-3, .grid-2, .price-grid { grid-template-columns: 1fr; }
  .callbar { display: block; }
  .section { padding: 52px 0; }
  .cta-band { padding: 32px 22px; }
}
@media (max-width: 480px) {
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .brands { grid-template-columns: 1fr 1fr; }
  .topbar .container { justify-content: center; }
}
