/* Values map to Elementor Site Settings → Global Colors / Global Fonts */
:root {
  --navy: #0b2340;
  --navy-2: #12325a;
  --blue: #0e5a9c;
  --blue-soft: #e8f1fa;
  --red: #c62a1f;
  --red-dark: #a3211a;
  --ink: #1b2430;
  --muted: #5b6878;
  --line: #dde4ec;
  --tint: #f4f7fa;
  --white: #fff;

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -18px rgba(11, 35, 64, .35);
  --wrap: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .005em;
  margin: 0 0 .5em;
  color: var(--navy);
}
h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

.i { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin: 0 0 .9rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow--light { color: #ff8a80; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .85em 1.4em;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 600 .98rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 1.05em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--navy-2); }
.btn--white { background: var(--white); color: var(--red); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }

/* Top bar */
.topbar { background: var(--navy); color: #c9d6e6; font-size: .85rem; }
.topbar__inner { display: flex; gap: 28px; padding: 9px 0; }
.topbar__item { display: inline-flex; align-items: center; gap: .5em; margin: 0; text-decoration: none; }
.topbar__item:last-child { margin-left: auto; }
.topbar a:hover { color: var(--white); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 28px; min-height: 82px; }
.header__logo img { width: 230px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-weight: 600; font-size: .96rem; text-decoration: none; color: var(--navy); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--red); }
.header__cta { display: flex; align-items: center; gap: 18px; }
.header__phone { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; }
.header__phone-label { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.header__phone-num { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; color: var(--blue); }
.menu-btn { display: none; }

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(8, 26, 48, .96) 0%, rgba(8, 26, 48, .88) 45%, rgba(8, 26, 48, .55) 100%),
    url("assets/img/hero.webp") center / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--blue) 50% 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  padding: 84px 0 96px;
}
.hero h1 { color: var(--white); }
.hero__lead { font-size: 1.15rem; color: #d7e2ef; max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; list-style: none; font-size: .95rem; color: #d7e2ef; }
.hero__checks li { display: inline-flex; align-items: center; gap: .5em; }
.hero__checks li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L21 7.5l-1.4-1.4z'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Quote card */
.quote-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
  border-top: 5px solid var(--red);
}
.quote-card__head h2 { font-size: 1.9rem; margin-bottom: .2em; }
.quote-card__head p { color: var(--muted); font-size: .95rem; margin-bottom: 1.2em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: .8rem; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.field input,
.field select {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: .95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--ink);
}
.field input:focus,
.field select:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(14, 90, 156, .15); }
.upload {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 16px;
  padding: 12px 14px;
  border: 1.5px dashed #b8c6d6;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--muted);
  cursor: pointer;
}
.upload .i { width: 26px; height: 26px; fill: var(--blue); }
.upload strong { color: var(--blue); }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.quote-card__sent { display: none; margin: 12px 0 0; font-size: .9rem; color: var(--blue); text-align: center; }
.quote-card.is-sent .quote-card__sent { display: block; }

/* Trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 28px 22px; border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item strong { display: block; font-family: var(--font-head); font-size: 1.55rem; color: var(--navy); line-height: 1.1; }
.trust__item span { font-size: .9rem; color: var(--muted); }

/* Sections */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: #c9d6e6; }
.section--dark h2 { color: var(--white); }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section__head--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; text-align: left; }
.section__head--row h2 { margin: 0; }
.section__foot { text-align: center; margin-top: 44px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.service__body { padding: 22px 24px 26px; }
.service h3 { margin-bottom: .3em; }
.service p { color: var(--muted); font-size: .96rem; }
.service__link { font-weight: 600; font-size: .92rem; color: var(--red); }

/* Split / about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.split__badge {
  position: absolute;
  right: -18px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split__badge strong { font-family: var(--font-head); font-size: 3rem; line-height: 1; }
.split__badge span { font-size: .85rem; line-height: 1.25; font-weight: 600; }
.split__copy > p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--muted); }
.checks li strong { color: var(--navy); }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L21 7.5l-1.4-1.4z'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--tint); }
.step__n {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
}
.step:nth-child(even) .step__n { background: var(--red); }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Seasonal band */
.season {
  color: #d7e2ef;
  background:
    linear-gradient(90deg, rgba(11, 35, 64, .97) 0%, rgba(14, 90, 156, .88) 100%),
    url("assets/img/boiler.webp") center / cover no-repeat;
}
.season__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; padding: 72px 0; }
.season h2 { color: var(--white); }
.season p:last-child { margin: 0; max-width: 40em; }
.season__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; justify-self: end; }
.season__link { color: var(--white); font-weight: 600; text-decoration: none; }

/* Reviews */
.reviews { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.review { margin: 0; padding: 26px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: flex; flex-direction: column; }
.stars { color: #f5b301; letter-spacing: .12em; margin-bottom: 12px; }
.review blockquote { margin: 0 0 16px; flex: 1; }
.review figcaption { font-weight: 700; color: var(--navy); }
.review figcaption::before { content: "— "; color: var(--red); }
.review--feature { grid-row: span 3; padding: 40px; background: var(--navy); border-color: var(--navy); }
.review--feature blockquote { font-family: var(--font-head); font-size: 2rem; font-weight: 600; line-height: 1.25; color: var(--white); }
.review--feature figcaption { color: var(--white); font-size: 1.05rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 16px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.gallery__big { grid-row: span 2; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post { text-decoration: none; display: flex; flex-direction: column; }
.post img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 18px; transition: opacity .2s; }
.post:hover img { opacity: .88; }
.post time { font-size: .82rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.post h3 { font-size: 1.45rem; margin: .35em 0 .6em; }
.post:hover h3 { color: var(--blue); }

/* Contact / NAP */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: stretch; }
.contact__info > p { color: var(--muted); }
.nap { display: grid; gap: 14px; margin: 28px 0 30px; font-style: normal; }
.nap__name { font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); }
.nap a,
.nap span { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; font-weight: 500; }
.nap .i { width: 22px; height: 22px; margin-top: 2px; fill: var(--red); }
.nap a:hover { color: var(--blue); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__map { min-height: 420px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Final CTA */
.cta { background: var(--red); color: var(--white); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 56px 0; }
.cta h2 { color: var(--white); margin: 0; max-width: 16em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* Footer */
.footer { background: #071a30; color: #9fb1c6; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding: 72px 0 48px; }
.footer__brand img { width: 220px; margin-bottom: 18px; background: var(--white); padding: 10px 14px; border-radius: 8px; }
.footer h3 { color: var(--white); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer__nap { font-style: normal; line-height: 1.8; }
.footer__nap strong { color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer__bottom p { margin: 0; }

/* Mobile call bar */
.mobile-call { display: none; }

/* Elementor notes overlay */
.notes-toggle {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font: 600 .8rem var(--font-body);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  opacity: .85;
}
.show-notes [data-note] { position: relative; outline: 2px dashed #ff00a8; outline-offset: -2px; }
.show-notes [data-note]::before {
  content: attr(data-note);
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 40;
  padding: 4px 8px;
  border-radius: 4px;
  background: #ff00a8;
  color: #fff;
  font: 600 11px/1.3 var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  pointer-events: none;
}
.show-notes .header[data-note],
.show-notes .mobile-call[data-note] { position: sticky; }
.show-notes .mobile-call[data-note] { position: fixed; }

/* Tablet */
@media (max-width: 1100px) {
  .header__phone { display: none; }
  .nav { gap: 18px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 80px; }
  .quote-card { max-width: 560px; }
  .services, .posts { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .review--feature { grid-row: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 820px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .topbar__hide-sm { display: none; }
  .topbar__item:last-child { margin-left: 0; }
  .header__inner { min-height: 68px; gap: 12px; }
  .header__logo img { width: 180px; }
  .header__cta { display: none; }
  .menu-btn {
    display: grid;
    gap: 5px;
    margin-left: auto;
    padding: 10px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .menu-btn span { display: block; width: 24px; height: 2px; background: var(--navy); }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hero__grid { padding: 48px 0 64px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .quote-card { padding: 24px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item { padding: 20px 14px; border-left: 0; border-top: 1px solid var(--line); }
  .trust__item:first-child { padding-left: 14px; }
  .trust__item:nth-child(-n+2) { border-top: 0; }
  .trust__item strong { font-size: 1.3rem; }
  .section { padding: 68px 0; }
  .section__head { margin-bottom: 34px; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .services, .posts, .steps, .split, .contact, .season__inner { grid-template-columns: 1fr; }
  .split { gap: 48px; }
  .split__badge { right: 12px; }
  .season__actions { justify-self: start; }
  .review--feature { padding: 30px; }
  .review--feature blockquote { font-size: 1.6rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 130px 130px; }
  .gallery__big { grid-row: auto; grid-column: span 2; }
  .contact__map, .contact__map iframe { min-height: 320px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; padding-top: 56px; }
  .footer__bottom { flex-direction: column; }
  .mobile-call {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 60px;
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .15);
  }
  .notes-toggle { display: none; }
}
