/* ============================================
   BECS Heat Pumps — shared stylesheet
   Palette: yellow #FFDB01 / near-black #111111 / white
   Fonts: Rokkitt (headings) + Montserrat (body)
   ============================================ */

:root {
  --yellow: #FFDB01;
  --black: #111111;
  --white: #ffffff;
  --grey-light: #f5f5f4;
  --grey-mid: #d9d9d6;
  --grey-text: #4a4a48;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(17, 17, 17, 0.08);
  --shadow-hover: 0 10px 28px rgba(17, 17, 17, 0.16);
  --max-width: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: "Rokkitt", Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { color: var(--grey-text); }

a { color: inherit; }

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

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

section { padding: 4.5rem 0; }

.section-intro {
  max-width: 640px;
  margin: 0.75rem auto 2.5rem;
  text-align: center;
}

.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 219, 1, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn-dark {
  background: var(--black);
  color: var(--yellow);
}
.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--yellow);
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-link img { height: 84px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--black);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active { border-bottom-color: var(--yellow); }

.main-nav .btn { padding: 0.55rem 1.3rem; border-bottom: none; }

/* Mobile nav toggle (checkbox hack, no JS) */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
  position: relative;
  content: "";
}
.nav-toggle-label span::before { position: absolute; top: -8px; }
.nav-toggle-label span::after { position: absolute; top: 8px; }

/* ---------- Urgent banner ---------- */
.urgent-banner {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 0.7rem 1.25rem;
  font-size: 0.92rem;
}
.urgent-banner strong { color: var(--yellow); }
.urgent-banner a { color: var(--yellow); font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(rgba(17, 17, 17, 0.78), rgba(17, 17, 17, 0.62)),
              repeating-linear-gradient(45deg, #2a2a28 0 14px, #232321 14px 28px);
  color: var(--white);
  text-align: center;
  padding: 6.5rem 1.25rem 7rem;
}

.hero .kicker {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 { color: var(--white); max-width: 760px; margin: 0 auto; }

.hero p.sub {
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 1.25rem auto 2rem;
  font-size: 1.1rem;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(rgba(17, 17, 17, 0.82), rgba(17, 17, 17, 0.7)),
              repeating-linear-gradient(45deg, #2a2a28 0 14px, #232321 14px 28px);
  color: var(--white);
  text-align: center;
  padding: 4rem 1.25rem;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255, 255, 255, 0.85); max-width: 640px; margin: 0.9rem auto 0; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--yellow);
}

.card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; }

/* ---------- Badges ---------- */
.badge-strip {
  background: var(--grey-light);
  padding: 3rem 0;
}

.badge-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Placeholder badges — replace with real badge images later */
.badge {
  background: var(--white);
  border: 2px dashed var(--grey-mid);
  border-radius: var(--radius);
  padding: 1.1rem 1.8rem;
  text-align: center;
  min-width: 200px;
}
.badge .badge-title {
  font-family: "Rokkitt", Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: block;
}
.badge .badge-note {
  font-size: 0.72rem;
  color: var(--grey-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Photo placeholders ---------- */
.photo-placeholder {
  background: var(--grey-mid);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-text);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  min-height: 220px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* ---------- Split / feature sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.check-list { list-style: none; margin-top: 1rem; }
.check-list li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.7rem;
  color: var(--grey-text);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.4rem;
  height: 1.4rem;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Grant highlight ---------- */
.grant-box {
  background: var(--yellow);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: var(--black);
}
.grant-box h2, .grant-box h3 { color: var(--black); }
.grant-box p { color: #333311; }

.grant-figures {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}
.grant-figure {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  flex: 1;
  min-width: 220px;
}
.grant-figure .amount {
  font-family: "Rokkitt", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--yellow);
  display: block;
  line-height: 1.1;
}
.grant-figure .label { font-size: 0.88rem; color: rgba(255,255,255,0.85); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 4rem 1.25rem;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255, 255, 255, 0.8); max-width: 560px; margin: 0 auto 1.75rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.25rem;
  max-width: 640px;
}

.form-row { margin-bottom: 1.2rem; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--grey-mid);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 219, 1, 0.35);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.contact-details li { margin-bottom: 0.9rem; list-style: none; color: var(--grey-text); }
.contact-details strong { color: var(--black); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.8);
  padding: 3.5rem 0 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h4 {
  color: var(--yellow);
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Utility ---------- */
.bg-light { background: var(--grey-light); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--black);
  background: var(--yellow);
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .split, .contact-layout { grid-template-columns: 1fr; }
  section { padding: 3.25rem 0; }
}

@media (max-width: 760px) {
  .nav-toggle-label { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 3px solid var(--yellow);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav a { padding: 0.9rem 1.25rem; width: 100%; }
  .main-nav .btn { margin: 0.75rem 1.25rem 1rem; width: auto; }
  .nav-toggle:checked ~ .main-nav { max-height: 420px; }
  .logo-link img { height: 62px; }
}

/* real photos */
.photo-real { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: 14px; display: block; }
.photo-grid .photo-real { aspect-ratio: 4 / 3; min-height: 0; }
.warranty-band { background: #111111; color: #fff; text-align: center; padding: 56px 24px; }
.warranty-band .big7 { font-family: 'Rokkitt', serif; font-size: 4.5rem; line-height: 1; color: #FFDB01; font-weight: 700; display: block; }
.warranty-band h2 { color: #fff; margin: 8px 0 12px; }
.warranty-band p { max-width: 640px; margin: 0 auto; color: rgba(255,255,255,0.85); }

.badge-logo { height: 56px; width: auto; max-width: 160px; object-fit: contain; margin-bottom: 10px; display: block; margin-left:auto; margin-right:auto; }
.brand-logo { height: 40px; width: auto; max-width: 180px; object-fit: contain; margin-bottom: 12px; display: block; }
.brand-logo-sq { height: 64px; }

.badge-logo-wide { height: 52px; max-width: 200px; }
