@charset "UTF-8";
/*
 * KT Gas & Heating - design system.
 * No webfonts, no frameworks, no external requests.
 *
 * The palette is the logo's own inks: navy #101F3D from the wordmark,
 * flame red #D92328 and orange #ED7025 from the mark. The flame pair only
 * ever appears as small accents and the keyline gradient; amber remains the
 * conversion colour because nothing beats it for contrast on navy.
 */

:root {
  /* brand */
  --navy-950: #081226;
  --navy-900: #0c1830;
  --navy-800: #101f3d;   /* logo navy */
  --navy-600: #223a66;
  --flame-red:    #d92328;
  --flame-orange: #ed7025;

  /* text */
  --ink:    #101f3d;
  --body:   #46566a;
  --muted:  #5c6d82;
  --accent-warm: #c2410c;   /* eyebrow/kicker text - AA on white and bg-alt */

  /* surfaces */
  --bg:     #ffffff;
  --bg-alt: #f5f7fb;
  --line:   #dfe6ef;

  /* interactive */
  --brand:    #0b64a8;
  --brand-dk: #084d83;
  --brand-bg: #e8f2fa;

  --amber:     #ffb703;
  --amber-dk:  #f0a800;
  --amber-ink: #2b1d00;

  --danger: #b3301b;

  --whats:    #0f833e;   /* WhatsApp hue, darkened until white text passes AA */
  --whats-dk: #0c6b33;

  /* shape + rhythm */
  --radius:    14px;
  --radius-lg: 20px;
  --wrap:      1140px;
  --keyline: linear-gradient(90deg, var(--flame-red), var(--flame-orange), var(--amber));

  --shadow-sm: 0 1px 2px rgba(14, 25, 48, .08);
  --shadow:    0 2px 4px rgba(14, 25, 48, .05), 0 10px 28px rgba(14, 25, 48, .09);
  --shadow-lg: 0 8px 20px rgba(14, 25, 48, .10), 0 26px 52px rgba(14, 25, 48, .14);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 400 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

::selection { background: #ffdd80; color: var(--amber-ink); }

h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.024em;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 2.9vw, 3.3rem); line-height: 1.08; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.2rem); line-height: 1.15; text-wrap: balance; }
h3 { font-size: 1.16rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1rem;   font-weight: 700; }

p { margin: 0 0 1rem; text-wrap: pretty; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dk); }
img, svg { max-width: 100%; }
strong { color: var(--ink); }
figure { margin: 0; }

/* Anchored targets clear the sticky header instead of hiding under it. */
[id] { scroll-margin-top: 96px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.section { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: 2.5rem; }
.section-head p { font-size: 1.06rem; margin-bottom: 0; }

.eyebrow {
  display: block;
  font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: .6rem;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--amber); color: var(--amber-ink);
  padding: .75rem 1.15rem; border-radius: 0 0 8px 0; font-weight: 800;
}
.skip:focus { left: 0; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============ display face ============ */

/*
 * Barlow ExtraBold, self-hosted and subset to latin (13 KB). SIL OFL
 * licence; full text in assets/fonts/OFL.txt. Headings, the wordmark and
 * the big phone number use it; body text stays on the system stack so
 * paragraphs render instantly with zero layout risk.
 */
@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/barlow-extrabold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

h1, h2, h3,
.brand-text,
.footer-brand,
.emergency-number {
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -.012em; }
h1 { letter-spacing: -.018em; }

/* ============ buttons ============ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: inherit; font-weight: 700; font-size: 1rem;
  padding: .8rem 1.3rem;
  border-radius: 11px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease,
              box-shadow .15s ease, transform .12s ease;
}
.btn:hover  { transform: translateY(-1px) scale(1.02); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dk); box-shadow: 0 6px 16px rgba(11, 100, 168, .28); color: #fff; }
.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { background: var(--amber-dk); box-shadow: 0 6px 16px rgba(255, 183, 3, .32); color: var(--amber-ink); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .22); }
.btn-outline { border-color: var(--line); color: var(--brand); background: #fff; }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-bg); box-shadow: 0 6px 16px rgba(11, 100, 168, .14); }

/* ============ header ============ */

.site-header {
  background: var(--navy-800);
  color: #fff;
  position: sticky; top: 0; z-index: 60;
  /* the flame keyline: the one place the full brand gradient appears */
  border-bottom: 3px solid var(--flame-orange);
  border-image: var(--keyline) 1;
}
.header-inner { display: flex; align-items: center; gap: .75rem 1rem; min-height: 70px; flex-wrap: wrap; }

.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  color: #fff; text-decoration: none;
  font-weight: 800; font-size: 1.14rem; letter-spacing: -.015em;
  margin-right: auto;
}
.brand:hover { color: #fff; }
/* The official lockup, reversed for navy. 54px keeps the stacked
   "GAS & HEATING" line readable; below ~40px it would turn to noise. */
.brand-logo { display: block; height: 54px; width: auto; padding: 6px 0; }
@media (max-width: 899px) { .brand-logo { height: 48px; } }

.nav { display: flex; gap: 1.3rem; }
.nav a {
  color: #c9d8ec; text-decoration: none; font-size: .96rem; font-weight: 600;
  padding: .3rem 0; border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav a:hover { color: #fff; border-bottom-color: rgba(255, 183, 3, .55); }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--amber); }

.header-call { white-space: nowrap; }

/* ============ breadcrumbs ============ */

/* Breadcrumbs sit on the hero navy so inner pages open as one dark block
   instead of being interrupted by a white strip. */
.crumbs {
  background: var(--navy-800);
  font-size: .88rem;
  padding: .75rem 0 0;
  color: #8fa5c4;
}
.crumbs a { color: #c9d8ec; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-current] { color: #fff; font-weight: 600; }
.crumb-sep { margin: 0 .55rem; color: #5c6f92; }

/* ============ hero ============ */

.hero {
  background:
    /* faint flame watermark, bottom right - pure CSS, no asset */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='12.83 96.33 188 318.35'%3E%3Cpath fill='%23ffffff' fill-opacity='.045' d='M118.5489626,414.6717556c-9.9546516-37.9268074-108.3669098-42.6168908-105.6646068-140.6618014,1.5001336-54.4278221,50.3482925-86.6311682,71.4265528-113.337729,24.1750904-30.6303039,23.4696864-64.340336,23.4696864-64.340336,0,0,46.1175427,21.8132488,33.0263925,99.5264904-7.3804524,43.8127191-38.917995,62.9825979-49.0623843,95.6468705-8.9262132,28.7418248,2.9734778,56.4960789,2.9734778,56.4960789,0,0-25.9792186-18.8113524-26.7613006-57.4872382-.5125571-25.3472137,19.327606-56.9916586,19.327606-56.9916586,0,0-30.3487201,27.752641-30.230358,66.4076717.1743285,56.9327251,49.1808954,63.7936444,60.7092429,99.6080292,2.1890176,6.8004818.8458011,15.3626383.7856913,15.1336224Z'/%3E%3Cpath fill='%23ffffff' fill-opacity='.045' d='M127.558427,380.5603792s-38.9862957-53.524256,4.3157337-110.0173863c41.495884-54.1367785,31.2031981-88.5038076,31.2031981-88.5038076,0,0,54.2747739,57.4442271,32.6492682,123.4833303-14.1999661,43.363288-68.1682,75.0378636-68.1682,75.0378636Z'/%3E%3C/svg%3E") right -40px bottom -60px / 340px no-repeat,
    radial-gradient(1200px 460px at 12% -15%, var(--navy-600) 0%, transparent 62%),
    linear-gradient(175deg, var(--navy-800) 0%, var(--navy-950) 100%);
  color: #c4d2e6;
  padding: clamp(2.5rem, 1.5rem + 5vw, 5rem) 0 0;
}
.hero-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3.5rem; }
}
.hero h1 { color: #fff; }
.hero .lede { font-size: 1.13rem; color: #b0c1d9; max-width: 54ch; }

.gs-badge {
  display: inline-flex; align-items: center; gap: .7rem;
  background: #fff; border-radius: 12px;
  padding: .55rem .85rem;
  box-shadow: var(--shadow-sm);
  margin: 0 0 1.4rem;
}
.gs-badge img { display: block; height: 52px; width: auto; }
.gs-num {
  font-size: .78rem; line-height: 1.3; color: var(--ink);
  letter-spacing: .01em;
}
.gs-num strong { font-size: .9rem; }
.gs-badge--footer { margin: 0 0 1rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 1.9rem 0 0; }

.emergency {
  display: flex; flex-direction: column;
  background: var(--amber); color: var(--amber-ink);
  text-decoration: none;
  padding: .75rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(255, 183, 3, .28);
  transition: background-color .15s ease, transform .12s ease, box-shadow .15s ease;
}
.emergency:hover {
  background: var(--amber-dk); color: var(--amber-ink);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(255, 183, 3, .38);
}
.emergency-label { text-transform: uppercase; letter-spacing: .1em; font-size: .71rem; font-weight: 800; }
.emergency-number {
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 1.95rem);
  font-weight: 800; line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

/* ============ photography ============ */

.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.16);
}
.hero-photo img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover;
}
.hero-photo figcaption {
  padding: .7rem .95rem;
  background: rgba(10, 18, 34, .55);
  border-top: 2px solid var(--amber);
  font-size: .85rem; color: #c4d2e6;
}

.shot { margin: 1.9rem 0; }
.shot img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg-alt);
}
.shot figcaption { margin-top: .6rem; font-size: .9rem; color: var(--muted); }

.gallery {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}
.gallery img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
  transition: box-shadow .18s ease, transform .18s ease;
}
.gallery figure:hover img { box-shadow: var(--shadow); transform: translateY(-2px); }
.gallery figcaption { margin-top: .55rem; font-size: .88rem; color: var(--muted); }

/* ============ coverage map ============ */

.hero-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.16);
  background: #f5f7fb;
}
.hero-map svg { display: block; width: 100%; height: auto; }
.hero-map figcaption {
  padding: .7rem .95rem;
  background: rgba(10, 18, 34, .55);
  border-top: 2px solid var(--amber);
  font-size: .85rem; color: #c4d2e6;
}

.shot-map { max-width: 34rem; }
.shot-map svg {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius); border: 1px solid var(--line);
}

/* ============ trust bar ============ */

.trustbar {
  background: rgba(8, 14, 28, .32);
  border-top: 1px solid rgba(255,255,255,.09);
  margin-top: clamp(2.5rem, 4vw, 4rem);
}
.trustbar ul {
  list-style: none; margin: 0; padding: 1.1rem 0;
  display: grid; gap: .7rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}
.trustbar li { display: flex; align-items: center; gap: .6rem; color: #c2d3e8; font-size: .93rem; font-weight: 600; }
.trustbar svg { color: var(--amber); flex: none; }

/* ============ cards ============ */

.cards { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
/* Six tiles (five services + the call tile), so the grid resolves 3x2 rather
   than stranding one card alone on the last row. */
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.45rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #e9b28c; }
.card p { font-size: .96rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--brand); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-bg); color: var(--brand);
  margin-bottom: 1rem;
}
.card-link {
  margin-top: auto; padding-top: .9rem;
  font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: .35rem;
}
.card-link:hover { text-decoration: underline; }

.card-cta {
  background:
    radial-gradient(420px 260px at 90% 115%, var(--navy-600) 0%, transparent 65%),
    var(--navy-800);
  border-color: var(--navy-800);
  color: #b9c9de;
}
.card-cta h3 { color: #fff; }
.card-cta p { color: #b9c9de; }
.card-cta .card-icon { background: rgba(255, 183, 3, .14); color: var(--amber); }
.card-cta .card-link { color: var(--amber); }
.card-cta .card-link:hover { color: #ffd25e; }
.card-cta:hover { border-color: var(--navy-600); }

/* ============ prose ============ */

/* Body copy lines up with the hero above it rather than re-centring:
   the container stays full width, each child is capped instead. */
.wrap.prose { max-width: var(--wrap); }
.wrap.prose > * { max-width: 46rem; }
.prose h2 {
  font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem);
  margin-top: 2.4rem;
}
.prose h2:first-child { margin-top: 0; }
.prose > p:first-child { margin-top: 0; }
.prose p { font-size: 1.04rem; }
.prose .svc-list { margin: 1.1rem 0 0; }

.svc-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .5rem; }
.svc-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .98rem; }
.svc-list svg { color: var(--flame-orange); flex: none; margin-top: .3rem; }

/* ============ FAQ ============ */

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  margin-bottom: .7rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease;
}
.faq-item[open] { border-color: #c3d2e2; }
.faq-item summary {
  cursor: pointer;
  padding: 1.05rem 1.25rem;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-weight: 700; font-size: 1.4rem; line-height: 1;
  color: var(--brand); flex: none;
  transition: transform .18s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { padding-bottom: .5rem; }
.faq-body { padding: 0 1.25rem 1.15rem; font-size: .99rem; }
.faq-body p:last-child { margin-bottom: 0; }

/* ============ CTA band ============ */

.cta-band {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='12.83 96.33 188 318.35'%3E%3Cpath fill='%23ffffff' fill-opacity='.04' d='M118.5489626,414.6717556c-9.9546516-37.9268074-108.3669098-42.6168908-105.6646068-140.6618014,1.5001336-54.4278221,50.3482925-86.6311682,71.4265528-113.337729,24.1750904-30.6303039,23.4696864-64.340336,23.4696864-64.340336,0,0,46.1175427,21.8132488,33.0263925,99.5264904-7.3804524,43.8127191-38.917995,62.9825979-49.0623843,95.6468705-8.9262132,28.7418248,2.9734778,56.4960789,2.9734778,56.4960789,0,0-25.9792186-18.8113524-26.7613006-57.4872382-.5125571-25.3472137,19.327606-56.9916586,19.327606-56.9916586,0,0-30.3487201,27.752641-30.230358,66.4076717.1743285,56.9327251,49.1808954,63.7936444,60.7092429,99.6080292,2.1890176,6.8004818.8458011,15.3626383.7856913,15.1336224Z'/%3E%3Cpath fill='%23ffffff' fill-opacity='.04' d='M127.558427,380.5603792s-38.9862957-53.524256,4.3157337-110.0173863c41.495884-54.1367785,31.2031981-88.5038076,31.2031981-88.5038076,0,0,54.2747739,57.4442271,32.6492682,123.4833303-14.1999661,43.363288-68.1682,75.0378636-68.1682,75.0378636Z'/%3E%3C/svg%3E") right -30px center / 260px no-repeat,
    radial-gradient(900px 380px at 85% 120%, var(--navy-600) 0%, transparent 60%),
    linear-gradient(rgba(16, 31, 61, .55) 0%, rgba(8, 18, 38, .78) 100%),
    url("assets/bg-pipework.jpg") center 60% / cover no-repeat,
    var(--navy-800);
  color: #b9c9de;
}
.cta-band h2 { color: #fff; }
.cta-band p { font-size: 1.05rem; }
.cta-row {
  display: flex; gap: .85rem; flex-wrap: wrap; justify-content: center;
  margin-top: 1.6rem;
}
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

/* ============ reviews ============ */

.stars { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: 1rem; }
.stars span { display: inline-flex; gap: .1rem; color: var(--amber); }
.stars strong { font-size: 1rem; }

/* ============ form ============ */

.form-layout { display: grid; gap: 2.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 920px) {
  .form-layout { grid-template-columns: 21rem minmax(0, 1fr); gap: 3rem; align-items: start; }
  .form-intro { position: sticky; top: 96px; }
}
.callout {
  background: #fff6e0; border-left: 4px solid var(--amber);
  padding: .9rem 1.05rem; border-radius: 0 10px 10px 0;
  font-size: .95rem; color: var(--ink);
}
.mini-contact { margin: 1.5rem 0 0; font-size: .95rem; }
.mini-contact dt {
  font-weight: 800; color: var(--ink);
  font-size: .74rem; text-transform: uppercase; letter-spacing: .09em;
  margin-top: .9rem;
}
.mini-contact dd { margin: .15rem 0 0; }

.form {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 1rem + 1.6vw, 2.1rem);
  box-shadow: var(--shadow);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; }
legend {
  font-weight: 800; color: var(--accent-warm); font-size: .76rem;
  text-transform: uppercase; letter-spacing: .12em;
  padding: 0 0 .9rem;
}

.field { margin-bottom: 1.05rem; }
.row { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); }

label, .label-as-legend { display: block; margin-bottom: .35rem; font-weight: 600; color: var(--ink); font-size: .93rem; }
.hint { font-weight: 400; color: var(--muted); }
.req { color: var(--danger); }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem;
  color: var(--ink); background: #fff;
  padding: .7rem .85rem;
  border: 1.5px solid #c2cfdd; border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:hover, select:hover, textarea:hover { border-color: #98acc2; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11, 100, 168, .14); }
textarea { resize: vertical; min-height: 7rem; }
::placeholder { color: #93a5b8; }

.radios { display: grid; gap: .45rem; }
.radios label, .consent label { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400; margin: 0; font-size: .97rem; color: var(--body); }
.radios input, .consent input { margin-top: .32rem; flex: none; accent-color: var(--brand); }
/* The consent tick has to be seen before the button below it is pressed,
   so it gets a box of its own rather than a bare line of text. */
.consent {
  margin: 0 0 1.4rem;
  background: #fff7e0; border: 1px solid #ecd9a0; border-radius: 10px;
  padding: .85rem 1rem;
}
.consent label { font-size: 1rem; }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; }

.btn-submit { background: var(--brand); color: #fff; width: 100%; font-size: 1.06rem; padding: .95rem 1.25rem; }
.btn-submit:hover { background: var(--brand-dk); color: #fff; }
.form-note { margin: .85rem 0 0; font-size: .87rem; color: var(--muted); text-align: center; }

/* ============ footer ============ */

.site-footer {
  background: var(--navy-800); color: #a8bbd4;
  padding: 3rem 0 2rem;
  /* pad past the floating WhatsApp button so it never covers the contact details */
  padding-bottom: 6rem;
  font-size: .95rem;
  border-top: 3px solid var(--flame-orange);
  border-image: var(--keyline) 1;
}
.footer-inner { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.12rem; margin: 0 0 .5rem; }
.footer-h { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; margin: 0 0 .75rem; }
.site-footer address { font-style: normal; line-height: 1.85; }
.site-footer a { color: #cfdff2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
/* the address block keeps underlines: phone and email must read as tappable */
.site-footer address a { text-decoration: underline; }
.footer-links { list-style: none; margin: 0; padding: 0; line-height: 2; }
.footer-bottom {
  margin-top: 2.25rem; padding-top: 1.35rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .86rem; color: #8aa1bd;
}

/* ============ persistent actions ============ */

/*
 * Desktop: a WhatsApp pill floating bottom right.
 * Mobile: a full-width Call / WhatsApp bar pinned to the bottom, because on
 * a phone the phone call IS the conversion and it belongs under the thumb.
 */
.action-bar { position: fixed; right: 18px; bottom: 18px; z-index: 90; }
.ab-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; font-weight: 700; font-size: .98rem;
}
.ab-call { display: none; }
.ab-wa {
  background: var(--whats); color: #fff;
  padding: .8rem 1.15rem; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,.18), 0 14px 34px rgba(15, 131, 62, .35);
  transition: background-color .15s ease, transform .12s ease;
}
.ab-wa:hover { background: var(--whats-dk); color: #fff; transform: translateY(-2px) scale(1.03); }

@media (max-width: 719px) {
  .action-bar {
    left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 1fr;
    box-shadow: 0 -4px 18px rgba(14, 25, 48, .18);
  }
  .ab-btn {
    justify-content: center;
    padding: .95rem .5rem;
    padding-bottom: calc(.95rem + env(safe-area-inset-bottom, 0px));
    border-radius: 0;
    font-size: .95rem;
    gap: .45rem;
    white-space: nowrap;
  }
  .ab-call { display: inline-flex; background: var(--amber); color: var(--amber-ink); }
  .ab-wa { display: inline-flex; box-shadow: none; }
  .ab-wa:hover { transform: none; }
}

/* ============ cookie consent ============ */

/*
 * Bottom-left card so it never covers the WhatsApp pill (bottom right).
 * On phones it sits just above the Call / WhatsApp bar — that bar is the
 * conversion path and must never be blocked by a cookie prompt.
 * Both buttons are the same size on purpose: saying no must be as easy
 * as saying yes.
 */
.cookiebar {
  position: fixed; left: 18px; bottom: 18px; z-index: 95;
  max-width: 24rem;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 8px 20px rgba(14, 25, 48, .16), 0 20px 48px rgba(14, 25, 48, .18);
  padding: 1.1rem 1.2rem;
}
.cookiebar[hidden] { display: none; }
.cookiebar-text { margin: 0 0 .9rem; font-size: .95rem; line-height: 1.55; }
.cookiebar-text a { color: var(--brand); }
.cookiebar-actions { display: flex; gap: .6rem; }
.cookiebar-actions .btn { flex: 1; padding: .65rem 1rem; font-size: .95rem; }

@media (max-width: 719px) {
  .cookiebar {
    left: 10px; right: 10px; max-width: none;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}

/* the form's WhatsApp shortcut */
.form-tip {
  display: flex; align-items: flex-start; gap: .6rem;
  background: #eef8f0; border: 1px solid #cbe7d2; border-radius: 10px;
  padding: .8rem 1rem; margin: 0 0 1.4rem;
  font-size: .95rem;
}
.form-tip svg { flex: none; color: var(--whats); margin-top: .15rem; }

/* ============ small screens ============ */

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    order: 4; width: 100%;
    flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden;
    opacity: 0; transform: translateY(-6px);
    /* visibility flips after the slide finishes, so closed-menu links are
       unreachable by keyboard and invisible to screen readers */
    visibility: hidden;
    transition: max-height .3s ease, opacity .25s ease,
                transform .3s ease, padding-bottom .3s ease,
                visibility 0s linear .3s;
  }
  body.nav-open .nav {
    max-height: 330px; opacity: 1; transform: none;
    padding-bottom: .6rem; visibility: visible; transition-delay: 0s;
  }
  .nav a {
    padding: .8rem 2px; font-size: 1.05rem;
    border-bottom-width: 1px; border-bottom-color: rgba(255,255,255,.09);
  }
  .nav a[aria-current="page"] { border-bottom-color: var(--amber); }
  .header-call { padding: .6rem 1rem; font-size: .95rem; }
}
@media (max-width: 560px) {
  .emergency, .hero-actions .btn { width: 100%; }
  .form-layout { gap: 1.75rem; }
  /* all five nav items fit a 360px screen without horizontal scrolling */
  .nav { gap: .85rem; }
  .nav a { font-size: .9rem; }
}

/* ============ print ============ */

@media print {
  .site-header .nav, .header-call, .wa-fab, .cta-band, .skip { display: none !important; }
  .site-header, .site-footer, .hero { background: #fff !important; color: #000 !important; border: 0; }
  .hero h1, .cta-band h2 { color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* ============ interactivity (paired with site.js) ============ */

/* Hamburger: hidden on desktop, bars morph to a cross when open. */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 2px solid rgba(255,255,255,.28);
  border-radius: 10px; cursor: pointer;
}
.nav-toggle:hover { border-color: rgba(255,255,255,.55); }
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: #fff; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* After the display:none base rule on purpose - same specificity, and the
   later rule must be the one that wins on phones. */
@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
}

/*
 * Scroll reveal. The hiding class is only ever added by site.js, so
 * content is never invisible without JavaScript; the global
 * prefers-reduced-motion rule above kills the transition as well.
 */
.js-reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.22, .61, .36, 1),
              transform .55s cubic-bezier(.22, .61, .36, 1);
}
.js-reveal.is-in { opacity: 1; transform: none; }

/* ============ photo-backed heroes and bands ============ */

/*
 * The backgrounds are the business's own job photos, pre-blurred and sunk
 * into the brand navy at build time (see README), so the CSS overlay only
 * has to add depth, not rescue contrast. --hero-bg is set inline per page.
 */
.hero-bg {
  background:
    linear-gradient(175deg, rgba(16, 31, 61, .30) 0%, rgba(8, 18, 38, .78) 100%),
    var(--hero-bg) center 38% / cover no-repeat,
    linear-gradient(175deg, var(--navy-800) 0%, var(--navy-950) 100%);
}
