/* ==========================================================================
   Service Heat & Cool — brand tokens
   ========================================================================== */

:root {
  /* Colour */
  --navy: #0F2A44;
  --navy-deep: #0A1B2E;
  --navy-soft: #3A5772;
  --flame-1: #F4A24D;
  --flame-2: #E8590C;
  --flame-3: #B33F0E;
  --teal: #2E9E9B;
  --teal-light: #6FC4C2;
  --paper: #FCFBF9;
  --surface-warm: #FFF6EE;
  --surface-cool: #EFF9F8;
  --ink: #16232E;
  --ink-soft: #4A5A68;
  --line: #E2E1DD;
  --line-soft: #EDEBE6;

  /* Type */
  --font-display: 'Archivo', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Rhythm */
  --radius: 3px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.1;
  font-weight: 800;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.04em; }

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--flame-2);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.9em;
}
.eyebrow.cool { color: var(--teal); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95em 1.6em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: linear-gradient(100deg, var(--flame-2), var(--flame-3));
  color: #fff;
  box-shadow: 0 6px 16px rgba(232, 89, 12, 0.28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 9px 20px rgba(232, 89, 12, 0.36); }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ==========================================================================
   Gas safety strip
   ========================================================================== */
.gas-safety-strip {
  background: var(--flame-3);
  color: #fff;
}
.gas-safety-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 24px;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  flex-wrap: wrap;
}
.gas-safety-strip svg { flex-shrink: 0; }
.gas-safety-strip a {
  color: #fff;
  text-decoration: underline;
  font-weight: 800;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 251, 249, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; object-fit: contain; }
.brand-word { font-family: var(--font-display); line-height: 1; }
.brand-word .l1 {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--navy);
  white-space: nowrap;
}
.brand-word .l2 {
  display: block;
  margin-top: 4px;
  padding-top: 3px;
  border-top: 1px solid var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--navy-soft);
}

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a.active { color: var(--flame-2); }
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--flame-2);
  transition: right 0.2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition: background 0.15s ease;
}
.header-whatsapp:hover { background: var(--line-soft); }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--navy);
  position: relative; transition: 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

/* ==========================================================================
   Hero (with heat/cool toggle — signature element)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background: var(--navy-deep);
  color: #fff;
  transition: background 0.6s ease;
}
.hero[data-mode="cool"] { background: #0B2A32; }

.hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,89,12,0.35), transparent 70%);
  filter: blur(10px);
  transition: background 0.6s ease, opacity 0.6s ease;
  pointer-events: none;
}
.hero[data-mode="cool"] .hero-glow {
  background: radial-gradient(circle, rgba(46,158,155,0.4), transparent 70%);
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--flame-1);
  margin-bottom: 1.1em;
  transition: color 0.4s ease;
}
.hero[data-mode="cool"] .hero-eyebrow { color: var(--teal-light); }

.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero h1 .swap {
  background: linear-gradient(100deg, var(--flame-1), var(--flame-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background 0.4s ease;
}
.hero[data-mode="cool"] h1 .swap {
  background: linear-gradient(100deg, var(--teal-light), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-sub { color: rgba(255,255,255,0.78); font-size: 1.08rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 1.6em; flex-wrap: wrap; }

.hero-trust {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-trust div { display: flex; align-items: center; gap: 10px; }
.hero-trust span {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
}

/* thermostat toggle */
.thermo {
  justify-self: center;
  width: 100%;
  max-width: 320px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(6px);
}
.thermo-dial {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--flame-2) 0deg, var(--flame-1) 140deg, var(--teal-light) 220deg, var(--teal) 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.thermo-dial::before {
  content: "";
  position: absolute; inset: 14px;
  border-radius: 50%;
  background: var(--navy-deep);
  transition: background 0.6s ease;
}
.hero[data-mode="cool"] .thermo-dial::before { background: #0B2A32; }
.thermo-readout {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.thermo-readout .icon { width: 34px; height: 34px; margin: 0 auto 10px; }
.thermo-readout .label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.thermo-readout .sub { font-size: 0.72rem; color: rgba(255,255,255,0.6); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }

.thermo-switch {
  display: flex;
  margin-top: 22px;
  background: rgba(0,0,0,0.25);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.thermo-switch button {
  flex: 1;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 0;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.25s ease;
}
.thermo-switch button.active.heat { background: linear-gradient(100deg, var(--flame-2), var(--flame-3)); color: #fff; }
.thermo-switch button.active.cool { background: linear-gradient(100deg, var(--teal), #227D7A); color: #fff; }

/* ==========================================================================
   Divider — the heat→cool rule motif borrowed from the logo underline
   ========================================================================== */
.brand-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--flame-2), var(--navy) 50%, var(--teal));
  border: none;
  margin: 0;
}

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.bg-warm { background: var(--surface-warm); }
.bg-cool { background: var(--surface-cool); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: rgba(255,255,255,0.75); }

/* Trust bar */
.trust-bar { padding: 28px 0; border-bottom: 1px solid var(--line); }
.trust-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--navy-soft);
  text-transform: uppercase;
}
.trust-item svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Cards / grid */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--flame-2), var(--flame-1));
  border-radius: var(--radius) var(--radius) 0 0;
}
.card.cool::before { background: linear-gradient(90deg, var(--teal), var(--teal-light)); }
.card-icon { width: 42px; height: 42px; margin-bottom: 18px; }
.card h3 { text-transform: none; letter-spacing: 0; font-size: 1.2rem; margin-bottom: 0.5em; }
.card p { margin-bottom: 0; font-size: 0.96rem; }

/* Service list rows (services page) */
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line-soft);
}
.service-row:first-child { padding-top: 0; }
.service-row .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--line);
}
.service-row h3 { text-transform: none; letter-spacing: 0; font-size: 1.3rem; margin-bottom: 0.3em; }
.service-row p { margin: 0; max-width: 60ch; }
.service-row .tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 700;
}
.tag.heat { background: var(--surface-warm); color: var(--flame-3); }
.tag.cool { background: var(--surface-cool); color: var(--teal); }
.tag.both { background: #F1F0EC; color: var(--navy-soft); }

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}
.step .n {
  counter-increment: step;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  background: var(--navy);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.step .n::before { content: counter(step); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--flame-2);
}
.stat.cool .num { color: var(--teal); }
.stat .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* Testimonial cards */
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial .stars { color: var(--flame-2); letter-spacing: 2px; font-size: 0.95rem; }
.testimonial blockquote { margin: 0; font-size: 1rem; color: var(--ink); }
.testimonial cite {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy-soft);
  font-weight: 700;
}
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 4px; }

/* Conditional AC sizing questions */
.ac-sizing-fields {
  display: none;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
.ac-sizing-fields.show {
  display: block;
  max-height: 6000px;
  opacity: 1;
}
.landlord-fields {
  display: none;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
.landlord-fields.show {
  display: block;
  max-height: 300px;
  opacity: 1;
}
.ac-sizing-box {
  background: var(--surface-cool);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
}
.ac-sizing-box > *:last-child { margin-bottom: 0; }
.ac-sizing-box .form-grid:last-child { margin-bottom: 0; }
.ac-sizing-box::before { content: none; }

.ac-room-block {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px dashed var(--line);
}
.ac-room-block[data-room="1"] { padding-top: 0; margin-top: 0; border-top: none; }
.ac-room-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin: 0 0 14px;
}
.ac-room-count-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ac-room-count-row input {
  width: 90px;
  flex-shrink: 0;
}
.ac-room-count-row .form-note {
  margin: 0;
  flex: 1;
  min-width: 220px;
}

/* Contact info blocks */
.contact-block {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-block .icon-wrap {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--surface-warm);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.contact-block .icon-wrap svg { width: 20px; height: 20px; }
.contact-block h3 { text-transform: none; letter-spacing: 0; font-size: 1rem; margin-bottom: 0.2em; }
.contact-block p { margin: 0; font-size: 0.95rem; }
.contact-block a { color: var(--navy); font-weight: 600; text-decoration: none; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy));
  color: #fff;
  border-radius: 4px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.3em; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand-mark { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-word .l1 { color: #fff; }
.footer-brand .brand-word .l2 { color: rgba(255,255,255,0.6); border-top-color: rgba(255,255,255,0.3); }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; max-width: 34ch; }
.site-footer h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer a { text-decoration: none; font-size: 0.92rem; color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.footer-bottom .regs { display: flex; gap: 18px; flex-wrap: wrap; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  background: var(--navy-deep);
  color: #fff;
  padding: 64px 0;
}
.page-hero h1 { color: #fff; margin-bottom: 0.3em; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 56ch; margin-bottom: 0; }
.breadcrumb {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .thermo { max-width: 260px; justify-self: start; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav, .header-phone, .header-whatsapp { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 10px; }
  .service-row .num { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 36px; flex-direction: column; align-items: flex-start; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0 64px; }

  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }
}
