/* Central Gas Heating & Plumbing Plus: "Studio" layout.
   Editorial, restrained: full-bleed photography, hairline rules, flat buttons,
   no pills, badges or drop shadows. Colours from their emblem: roof navy, gear red, water blue. */
:root {
  --navy: #13203b;
  --navy-2: #0d172c;
  --ink: #1b2333;
  --grey: #586274;
  --line: #dde2ea;
  --bg-2: #f4f5f7;
  --red: #d22630;
  --red-d: #b01d26;
  --wrap: 1180px;
  --gut: max(20px, calc((100vw - var(--wrap)) / 2));
  --display: "Schibsted Grotesk", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.06; color: var(--navy); }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
section[id] { scroll-margin-top: 76px; }
h1, h2 { text-wrap: balance; }
p, dd { text-wrap: pretty; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.ruled--links a { color: var(--navy); text-decoration: none; }
.ruled--links a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.eyebrow { font-weight: 600; font-size: 15px; color: var(--red); margin-bottom: 14px; }
.eyebrow--light { color: #fff; opacity: .8; }

/* Buttons: flat */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; color: #fff; background: var(--red); border-radius: 4px; padding: 15px 24px; font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.2; transition: background .15s; }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn:hover { background: var(--red-d); }
.btn--big { font-size: 21px; padding: 18px 30px; }
.btn--outline { background: transparent; border: 1.5px solid rgba(255,255,255,.7); padding: 13px 24px; }
.btn--outline:hover { background: #fff; color: var(--navy); }
.btn--inline { margin-top: 32px; }

/* Header */
.hd { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__img { width: 44px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__txt strong { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--navy); letter-spacing: -0.01em; }
.brand__txt small { font-size: 12.5px; font-weight: 500; color: var(--grey); margin-top: 2px; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--grey); text-decoration: none; font-weight: 500; font-size: 15.5px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.is-current { color: var(--navy); border-color: var(--red); }
.hd__call { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; background: var(--red); padding: 10px 16px; border-radius: 4px; font-family: var(--display); font-weight: 600; font-size: 16.5px; }
.hd__call:hover { background: var(--red-d); }
.hd__call svg { width: 15px; height: 15px; fill: currentColor; }
.menu-btn { display: none; }
.menu[hidden] { display: none; }
.menu { background: #fff; border-top: 1px solid var(--line); }
.menu .wrap { padding: 8px 0 18px; }
.menu__h { font-size: 13px; font-weight: 600; color: var(--grey); padding: 10px 0 4px; }
.menu__grid, .menu__more { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.menu__grid a, .menu__more a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 500; font-size: 15.5px; line-height: 1.3; }
.menu__more { grid-template-columns: repeat(3, 1fr); }
.menu__call { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; padding: 15px; border-radius: 4px; background: var(--red); color: #fff; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 19px; }
.menu__call svg { width: 18px; height: 18px; fill: currentColor; }

/* Hero: text left, photo bleeding to the right edge */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; border-bottom: 1px solid var(--line); }
.hero__text { order: -1; padding: 72px 64px 64px var(--gut); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero__media { position: relative; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero h1 { font-size: clamp(40px, 4.6vw, 64px); margin-bottom: 20px; max-width: 13em; }
.hero__lead { font-size: 19px; color: var(--grey); max-width: 30em; margin-bottom: 32px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); margin-top: 44px; border-top: 1px solid var(--line); padding-top: 22px; }
.facts div { padding: 0 28px; border-left: 1px solid var(--line); }
.facts div:first-child { padding-left: 0; border-left: 0; }
.facts dt { font-family: var(--display); font-weight: 700; font-size: 21px; color: var(--navy); line-height: 1.2; }
.facts dd { font-size: 14px; color: var(--grey); }
/* Homepage banner: full-width photo with the headline over it */
.banner { position: relative; min-height: 640px; display: flex; align-items: center; background: #0a0f1a; color: #fff; overflow: hidden; }
.banner__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,13,26,.94) 0%, rgba(8,13,26,.78) 38%, rgba(8,13,26,.1) 72%); }
.banner__in { position: relative; z-index: 2; padding: 80px 0; display: flex; flex-direction: column; align-items: flex-start; }
.banner .eyebrow { color: #ff7d83; }
.banner h1 { color: #fff; font-size: clamp(42px, 4.8vw, 68px); max-width: 11em; margin-bottom: 20px; }
.banner__lead { color: #cfd6e4; font-size: 19px; max-width: 30em; margin-bottom: 32px; }
.banner .facts { border-top-color: rgba(255,255,255,.22); }
.banner .facts div { border-left-color: rgba(255,255,255,.22); }
.banner .facts dt { color: #fff; }
.banner .facts dd { color: #aeb8cc; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--grey); margin-bottom: 26px; }
.crumb a { color: var(--grey); }
.crumb a:hover { color: var(--navy); }

/* Sections */
.sec { padding: 96px 0; }
.sec--grey { background: var(--bg-2); }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 44px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.sec__head h2, .split__head h2 { font-size: clamp(32px, 3.6vw, 46px); }
.sec__head p { color: var(--grey); max-width: 26em; }
.sec__head a { color: var(--navy); font-weight: 600; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.split__head { position: sticky; top: 104px; }
.split__head p { color: var(--grey); margin-top: 18px; max-width: 24em; }
.split__head a { color: var(--red); font-weight: 600; }

/* Service tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 28px; }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tile { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; margin-bottom: 18px; transition: opacity .2s; }
.tile:hover img { opacity: .88; }
.tile strong { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--navy); margin-bottom: 6px; }
.tile em { font-style: normal; color: var(--grey); font-size: 15px; line-height: 1.5; margin-bottom: 12px; }
.tile .more { margin-top: auto; font-size: 14.5px; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Landlord band: full bleed */
.band { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: #fff; }
.band__media { position: relative; min-height: 440px; }
.band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band__text { padding: 80px var(--gut) 80px 72px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.band h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 16px; }
.band__text > p:not(.eyebrow) { color: #c3cadb; max-width: 30em; margin-bottom: 30px; }

/* Emergency */
.urgent { background: var(--red); color: #fff; padding: 72px 0; }
.urgent__in { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; }
.urgent h2 { color: #fff; font-size: clamp(32px, 3.8vw, 50px); }
.urgent__in p:not(.eyebrow) { color: #ffe2e3; font-size: 18px; margin-bottom: 18px; }
.urgent__num { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 4.2vw, 56px); letter-spacing: -0.02em; line-height: 1; color: #fff; text-decoration: none; border-bottom: 3px solid rgba(255,255,255,.55); padding-bottom: 6px; display: inline-block; }
.urgent__num:hover { border-color: #fff; }

/* Ruled lists */
.points, .qa { display: grid; }
.points div, .qa div { padding: 24px 0; border-top: 1px solid var(--line); }
.points div:last-child, .qa div:last-child { border-bottom: 1px solid var(--line); }
.points--2 { grid-template-columns: 1fr 1fr; column-gap: 40px; }
.points--2 div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
.points dt, .qa dt { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--navy); line-height: 1.25; margin-bottom: 6px; }
.points dd, .qa dd { color: var(--grey); }
.ruled { list-style: none; padding: 0; display: grid; }
.ruled li { padding: 16px 0; border-top: 1px solid var(--line); font-weight: 500; font-size: 17.5px; }
.ruled li:last-child { border-bottom: 1px solid var(--line); }
.ruled--2 { grid-template-columns: 1fr 1fr; column-gap: 40px; }
.ruled--2 li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }

/* Brands */
.logos-row { border-bottom: 1px solid var(--line); padding: 40px 0; }
.logos-row .wrap { display: flex; align-items: center; gap: 48px; }
.logos-row p { flex: none; font-weight: 600; color: var(--grey); font-size: 15px; max-width: 12em; line-height: 1.4; }
.logos { list-style: none; padding: 0; flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; align-items: center; }
.logos li { display: flex; justify-content: center; }
.logos img { max-height: 34px; width: auto; filter: grayscale(1); opacity: .75; }

/* Areas */
.area-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
.area-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; line-height: 1.35; }

/* Final call */
.final { background: var(--navy); color: #fff; padding: 88px 0; }
.final__in { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.final h2 { color: #fff; font-size: clamp(34px, 4.2vw, 56px); margin-bottom: 14px; }
.final__in p { color: #c3cadb; font-size: 18px; max-width: 32em; }
.final__call { display: flex; flex-direction: column; align-items: stretch; }
.final .final__lbl { font-size: 14px; font-weight: 600; color: #fff; opacity: .7; margin-bottom: 10px; }

/* Footer */
.ft { background: var(--navy-2); color: #9aa5ba; padding: 64px 0 0; font-size: 15px; }
.ft__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.ft__brand img { width: 64px; margin-bottom: 16px; }
.ft__brand p strong { font-family: var(--display); font-size: 21px; color: #fff; }
.ft__brand > p:first-of-type { color: #c3cadb; }
.ft__about { margin-top: 12px; max-width: 26em; }
.ft__h { font-weight: 600; font-size: 13px; color: #fff; margin-bottom: 12px; }
.ft__h--gap { margin-top: 26px; }
.ft__list { list-style: none; padding: 0; display: grid; gap: 7px; }
.ft a { color: #dfe4ee; text-decoration: none; }
.ft a:hover { color: #fff; text-decoration: underline; }
.ft__tel { font-family: var(--display); font-weight: 700; font-size: 24px; color: #fff !important; }
.ft__open { margin-top: 6px; }
.ft address { font-style: normal; }
.ft__gs { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: #dfe4ee; }
.ft__legal { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 28px; font-size: 13px; color: #7c879c; }

.mbar { display: none; }

/* Tablet */
@media (max-width: 980px) {
  .nav { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split__head { position: static; }
  .logos-row .wrap { flex-direction: column; gap: 24px; }
  .logos-row p { max-width: none; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { order: 0; padding: 40px 20px 44px; }
  .hero__media img { position: static; aspect-ratio: 16 / 10; }
  .band { grid-template-columns: 1fr; }
  .band__media { min-height: 0; }
  .band__media img { position: static; aspect-ratio: 16 / 9; }
  .band__text { padding: 48px 20px; }
  .urgent__in, .final__in { grid-template-columns: 1fr; gap: 28px; }
}

/* Phones */
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .hd__in { height: 64px; gap: 12px; }
  .brand__img { width: 40px; }
  .brand__txt strong { font-size: 18.5px; }
  .brand__txt small { font-size: 11.5px; }
  .hd__call { display: none; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: transparent; border: 0; cursor: pointer; }
  .menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .banner { min-height: 0; align-items: flex-start; }
  .banner__img img { object-position: 50% 100%; }
  .banner::before { background: linear-gradient(180deg, rgba(8,13,26,.96) 0%, rgba(8,13,26,.9) 52%, rgba(8,13,26,.15) 85%); }
  .banner__in { padding: 36px 0 190px; align-items: center; text-align: center; }
  .banner h1 { font-size: 35px; margin-bottom: 14px; }
  .banner__lead { font-size: 16.5px; margin-bottom: 24px; }
  .hero__media img { aspect-ratio: 4 / 3; }
  .hero__text { padding: 30px 20px 34px; align-items: center; text-align: center; }
  .crumb { justify-content: center; margin-bottom: 16px; }
  .eyebrow { font-size: 14px; margin-bottom: 10px; }
  .hero h1 { font-size: 35px; margin-bottom: 14px; }
  .hero__lead { font-size: 16.5px; margin-bottom: 24px; }
  .btn, .btn--big { width: 100%; font-size: 19px; padding: 16px 18px; }
  .facts { width: 100%; grid-template-columns: repeat(3, 1fr); margin-top: 28px; padding-top: 18px; }
  .facts div, .facts div:first-child { padding: 0 6px; }
  .facts div:first-child { border-left: 0; }
  .facts dt { font-size: 17px; }
  .facts dd { font-size: 12.5px; line-height: 1.35; margin-top: 2px; }

  .sec { padding: 60px 0; }
  .sec__head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 28px; padding-bottom: 18px; }
  .sec__head h2, .split__head h2 { font-size: 31px; }
  .tiles, .tiles--3 { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
  .tile img { margin-bottom: 12px; }
  .tile strong { font-size: 17px; }
  .tile em { display: none; }
  .tile .more { font-size: 13.5px; text-underline-offset: 4px; }

  .band h2 { font-size: 29px; }
  .band .btn--outline { width: 100%; }
  .urgent { padding: 52px 0; }
  .urgent h2 { font-size: 31px; }
  .urgent__in p:not(.eyebrow) { font-size: 16px; }
  .urgent__num { font-size: 38px; }

  .points--2, .ruled--2 { grid-template-columns: 1fr; }
  .points--2 div:nth-last-child(2), .ruled--2 li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .points div, .qa div { padding: 20px 0; }
  .points dt, .qa dt { font-size: 18px; }
  .ruled li { font-size: 16px; padding: 14px 0; }
  .btn--inline { margin-top: 26px; }

  .logos-row { padding: 32px 0; }
  .logos-row p { text-align: center; }
  .logos { width: 100%; grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
  .logos img { max-height: 26px; }
  .area-list { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .area-list li { font-size: 15px; }

  .final { padding: 56px 0; }
  .final h2 { font-size: 32px; }
  .final__in p { font-size: 16px; }

  .ft { padding-top: 48px; }
  .ft__in { grid-template-columns: 1fr; gap: 32px; }

  .mbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .mbar__call { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--red); color: #fff; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 19px; padding: 14px; border-radius: 4px; }
  .mbar__call svg { width: 18px; height: 18px; fill: currentColor; }
}
@media (max-width: 360px) {
  .brand__txt strong { font-size: 17px; }
  .hero h1 { font-size: 31px; }
  .facts dt { font-size: 15.5px; }
  .menu__more { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
