﻿/* ============================================================
   VaillantCare.uk - Main Stylesheet
   ============================================================ */

/* â”€â”€ Google Fonts imported via HTML <link> â”€â”€ */

/* â”€â”€ CSS Custom Properties â”€â”€ */
:root {
  --navy:      #3aafa9;   /* teal - primary brand colour */
  --light-blue:#2e9d97;   /* darker teal - hover/active states */
  --pale-blue: #e8f6f5;   /* pale teal - light backgrounds */
  --dark:      #1d6e6a;   /* deep teal - darkest shade */
  --white:     #FFFFFF;
  --grey-50:   #F8F9FA;
  --grey-100:  #F1F3F5;
  --grey-200:  #E9ECEF;
  --grey-400:  #CED4DA;
  --grey-600:  #6C757D;
  --grey-800:  #343A40;
  --red:       #C0392B;
  --red-light: #FDEDEC;
  --green:     #27AE60;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.10), 0 4px 10px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.25s ease;
  --font-main: 'Inter', 'Segoe UI', Arial, sans-serif;
  --nav-height: 68px;
  --container-max: 1200px;
}

/* â”€â”€ Reset / Normalize â”€â”€ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--grey-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--light-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }
a:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 2px; }
button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
ul, ol { list-style: none; }
button { font-family: var(--font-main); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--font-main); }
h1,h2,h3,h4,h5,h6 { line-height: 1.25; color: var(--dark); font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* â”€â”€ Cookie Consent Banner â”€â”€ */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark);
  color: var(--white);
  padding: 1rem 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
#cookie-banner p { margin: 0; font-size: 0.875rem; color: var(--grey-200); flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--navy); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--navy); color: #000000;
  padding: 0.5rem 1.25rem; border-radius: var(--radius-md);
  font-size: 0.875rem; font-weight: 600;
  transition: background var(--transition);
}
.btn-cookie-accept:hover { background: #2e9d97; }
.btn-cookie-decline {
  background: transparent; color: var(--grey-400);
  padding: 0.5rem 1rem; border-radius: var(--radius-md);
  font-size: 0.875rem; border: 1px solid var(--grey-600);
  transition: all var(--transition);
}
.btn-cookie-decline:hover { color: var(--white); border-color: var(--white); }
#cookie-banner.hidden { display: none; }

/* â”€â”€ Navbar â”€â”€ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #0b1f35 0%, #13365a 100%);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  height: var(--nav-height);
  box-shadow: 0 6px 18px rgba(11, 31, 53, 0.25);
}
.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0;
  line-height: 1;
}
.nav-logo span { color: #9debd0; }
/* Legacy div icon - hidden once SVG is present */
.nav-logo-icon { display: none; }
/* New SVG logo mark */
.nav-logo-svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-right: 0.55rem;
}
.nav-logo-full {
  height: 30px;
  width: auto;
  display: block;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  color: rgba(255,255,255,0.9);
  font-weight: 550;
  font-size: 0.88rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover { color: #ffffff; background: rgba(255,255,255,0.12); }
.nav-links a.active { color: #ffffff; font-weight: 700; }
.nav-cta {
  background: #1ca59d !important;
  color: #000000 !important;
  padding: 0.56rem 1.15rem !important;
  border-radius: var(--radius-md) !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(58,175,169,0.2);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover { background: #178f88 !important; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(28,165,157,0.35); }
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: #0f2a46;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 1rem 1.5rem;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { background: rgba(255,255,255,0.12); color: #ffffff; }
.mobile-nav .nav-cta {
  background: #1ca59d !important;
  color: #000000 !important;
  text-align: center;
  margin-top: 0.5rem;
  border-bottom: none !important;
  font-weight: 700 !important;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
}

/* â”€â”€ Page Hero â”€â”€ */
.page-hero {
  background: linear-gradient(120deg, #0f2b4a 0%, #1a436d 100%);
  color: var(--white);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.page-hero::before { display: none; }
.page-hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.84); max-width: 640px; margin: 0 auto; }
.page-hero .badge {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
}

/* â”€â”€ Hero (Homepage) â”€â”€ */
.hero {
  background: #ffffff;
  color: var(--dark);
  padding: 2.25rem 1.5rem 2.1rem;
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid var(--grey-200);
}
.hero::before { display: none; }
.hero::after  { display: none; }
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-copy { min-width: 0; }
.hero-badge {
  display: inline-block;
  background: var(--pale-blue);
  border: 1px solid rgba(58,175,169,0.25);
  color: var(--navy);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--dark);
  max-width: 780px;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(2rem, 4.4vw, 3.05rem);
}
.hero-sub {
  font-size: 1rem;
  color: var(--grey-600);
  max-width: 640px;
  margin-bottom: 2rem;
  line-height: 1.65;
}
.hero-ctas { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.hero-ctas .btn { width: 100%; max-width: 360px; justify-content: center; }
@media (max-width: 1023px) { .hero-ctas .btn { max-width: 100%; } }
.hero-trust {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.35rem;
  align-items: center;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--grey-700);
  font-size: 0.84rem;
  font-weight: 600;
}
.hero-trust-item i { color: var(--navy); }

/* -- Trust stats strip (homepage) -- */
.trust-stats {
  background: linear-gradient(135deg, #145652 0%, #1d6e6a 100%);
  padding: 1.5rem 0;
}
.trust-stats-intro {
  text-align: center;
  margin-bottom: 0.75rem;
}
.trust-stats-intro p {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.72);
  margin-bottom: 0;
}
.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.85rem;
}
.trust-stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  text-align: center;
}
.trust-stat-card-highlight {
  background: rgba(251,191,36,0.12);
  border-color: rgba(251,191,36,0.45);
}
.trust-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  color: #a7f3d0;
}
.trust-stat-card-highlight .trust-stat-value { color: #fbbf24; }
.trust-stat-value span {
  font-size: 1rem;
  margin-left: 0.1rem;
}
.trust-stat-label {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}
.trust-stat-source {
  margin-top: 0.22rem;
  font-size: 0.7rem;
  line-height: 1.35;
  color: rgba(255,255,255,0.58);
}
.trust-compliance-row {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}
.trust-compliance-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 600;
}
.trust-compliance-item i { color: #a7f3d0; }
.trust-disclaimer {
  margin: 0.7rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.62);
}

/* â”€â”€ Buttons â”€â”€ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: #1ca59d;
  color: #000000;
  border-color: #1ca59d;
  box-shadow: 0 3px 10px rgba(28,165,157,0.25);
}
.btn-primary:hover {
  background: #178f88;
  border-color: #178f88;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(28,165,157,0.38);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-navy {
  background: var(--navy);
  color: #000000;
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: #000000;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: rgba(15, 31, 56, 0.5);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: #000000;
  transform: translateY(-1px);
}
.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover {
  background: #a93226;
  border-color: #a93226;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(192,57,43,0.4);
}
.btn-emergency {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.14), 0 6px 16px rgba(192,57,43,0.35);
}
.btn-outline-orange {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-orange:hover {
  background: var(--navy);
  color: #000000;
}
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* â”€â”€ Sections â”€â”€ */
.section { padding: 5rem 1.5rem; }
.section-grey { background: var(--grey-50); }
.section-pale { background: var(--pale-blue); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-orange { background: var(--navy); color: var(--white); }
.section-orange h2, .section-orange h3 { color: var(--white); }
.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 780px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .label {
  display: inline-block;
  background: var(--pale-blue);
  color: var(--navy);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-navy .section-header .label {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { font-size: 1.05rem; color: var(--grey-600); max-width: 600px; margin: 0 auto; }
.section-navy .section-header p { color: rgba(255,255,255,0.75); }

/* â”€â”€ Cards / Grid â”€â”€ */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-5 { grid-template-columns: 1fr; }

@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .trust-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 4rem;
    align-items: center;
  }
  .hero-copy h1,
  .hero-copy .hero-sub { max-width: none; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .trust-stats-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 4px 14px rgba(11, 31, 53, 0.08);
  border: 1px solid #d7e1ec;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: 0 10px 26px rgba(11, 31, 53, 0.14);
  transform: translateY(-3px);
  border-color: rgba(28,165,157,0.38);
}
.card-navy {
  background: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--dark);
}
.card-navy:hover {
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transform: translateY(-4px);
}
.card-navy h3 { color: var(--dark); }
.card-navy p { color: var(--grey-800); }
.card-navy .card-link { color: var(--navy); }
.card-icon {
  width: 52px; height: 52px;
  background: var(--pale-blue);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}
.card-navy .card-icon {
  background: var(--pale-blue);
  color: var(--navy);
}
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.92rem; color: var(--grey-600); margin-bottom: 0; }
.service-card {
  position: relative;
  border-color: #d8e2ee;
}
.service-card .card-link { margin-top: 1.15rem; }
.service-card-urgent {
  border-color: rgba(214,69,69,0.35);
  box-shadow: 0 8px 20px rgba(214,69,69,0.08);
}
.service-card-urgent:hover {
  border-color: rgba(214,69,69,0.55);
  box-shadow: 0 12px 26px rgba(214,69,69,0.14);
}
.service-badge {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: #b33939;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
}
.service-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-bottom: 0.55rem;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 1rem;
}
.card-link:hover { gap: 0.6rem; }

/* -- Testimonials (homepage) -- */
.testimonial-card {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}
.testimonial-stars {
  font-size: 1.2rem;
  color: #fbbf24;
  line-height: 1;
  margin-bottom: 0.7rem;
}
.testimonial-copy {
  font-size: 0.94rem;
  color: var(--grey-800);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}
.testimonial-featured {
  border-color: rgba(58,175,169,0.4);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}
.testimonial-proof {
  font-size: 0.74rem;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
}
.testimonial-meta {
  font-size: 0.78rem;
  color: var(--grey-600);
}
.testimonial-verified {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  color: var(--navy);
  font-weight: 600;
  background: var(--pale-blue);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

/* â”€â”€ Feature cards â”€â”€ */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--navy);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}
.feature-card:hover::before { transform: scaleY(1); }
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* â”€â”€ Tables â”€â”€ */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; background: var(--white); }
thead { background: var(--navy); color: var(--white); }
thead th { padding: 1rem 1.25rem; text-align: left; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.03em; }
tbody tr { border-bottom: 1px solid var(--grey-200); transition: background var(--transition); }
tbody tr:hover { background: var(--pale-blue); }
tbody tr:last-child { border-bottom: none; }
tbody td { padding: 0.9rem 1.25rem; font-size: 0.9rem; vertical-align: middle; }
.tick { color: var(--green); font-size: 1.1rem; }
.cross { color: var(--grey-400); font-size: 1.1rem; }
.fault-urgent { color: var(--red); font-weight: 700; }
.fault-high { color: #e67e22; font-weight: 600; }
.fault-code-badge {
  display: inline-block;
  background: var(--pale-blue);
  color: var(--navy);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-weight: 700;
  font-size: 0.9rem;
}
.fault-code-badge.urgent { background: var(--red-light); color: var(--red); }

/* â”€â”€ Forms â”€â”€ */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: var(--font-main);
  color: var(--grey-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(58,175,169,0.18); }
.form-control.error { border-color: var(--red); }
.form-control::placeholder { color: var(--grey-400); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236C757D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-error { color: var(--red); font-size: 0.8rem; margin-top: 0.3rem; display: none; }
.form-error.show { display: block; }
.form-note { font-size: 0.8rem; color: var(--grey-600); margin-top: 0.3rem; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--navy);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.form-check label { font-size: 0.9rem; color: var(--grey-800); }

/* â”€â”€ Radio Cards (Booking) â”€â”€ */
.radio-cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.radio-card {
  position: relative;
  cursor: pointer;
}
.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.radio-card-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: all var(--transition);
  cursor: pointer;
}
.radio-card input:checked + .radio-card-label {
  border-color: var(--navy);
  background: var(--pale-blue);
}
.radio-card-label:hover { border-color: var(--light-blue); }
.radio-card-icon {
  width: 44px; height: 44px;
  background: var(--pale-blue);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 1.1rem;
  flex-shrink: 0;
}
.radio-card input:checked + .radio-card-label .radio-card-icon {
  background: var(--navy);
  color: var(--white);
}
.radio-card-text { flex: 1; }
.radio-card-text strong { display: block; font-size: 0.95rem; color: var(--dark); }
.radio-card-text span { font-size: 0.8rem; color: var(--grey-600); }
.radio-card-price { font-weight: 700; color: var(--navy); font-size: 0.9rem; white-space: nowrap; }

@media (min-width: 600px) {
  .radio-cards { grid-template-columns: repeat(2, 1fr); }
}

/* â”€â”€ Progress Steps â”€â”€ */
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  flex-shrink: 0;
}
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--grey-200);
  z-index: 0;
}
.step-item.done:not(:last-child)::after { background: var(--navy); }
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grey-200);
  color: var(--grey-600);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem;
  position: relative; z-index: 1;
  transition: all var(--transition);
}
.step-item.active .step-num { background: var(--navy); color: var(--white); }
.step-item.done .step-num { background: var(--green); color: var(--white); }
.step-label { font-size: 0.75rem; color: var(--grey-600); font-weight: 500; white-space: nowrap; }
.step-item.active .step-label { color: var(--navy); font-weight: 700; }
.step-connector { width: 60px; height: 2px; background: var(--grey-200); flex-shrink: 0; }
.step-connector.done { background: var(--navy); }

/* â”€â”€ Booking Steps â”€â”€ */
.booking-step { display: none; }
.booking-step.active { display: block; }
.booking-nav { display: flex; gap: 1rem; margin-top: 2rem; }
.booking-nav .btn { flex: 1; justify-content: center; }

/* â”€â”€ Time Slots â”€â”€ */
.time-slots { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); margin-top: 1rem; }
.time-slot {
  padding: 0.75rem;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  background: var(--white);
}
.time-slot:hover { border-color: var(--navy); }
.time-slot.selected { border-color: var(--navy); background: var(--pale-blue); color: var(--navy); font-weight: 700; }
.time-slot.recommended::after {
  content: 'Popular';
  position: absolute;
  top: -8px; right: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
}
.date-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.5rem; margin-top: 1rem; }
.date-cell {
  padding: 0.6rem 0.25rem;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.date-cell:hover:not(.disabled) { border-color: var(--navy); }
.date-cell.selected { border-color: var(--navy); background: var(--navy); color: var(--white); }
.date-cell.disabled { opacity: 0.35; cursor: not-allowed; background: var(--grey-100); }
.date-cell .day-name { font-size: 0.65rem; font-weight: 600; color: var(--grey-600); text-transform: uppercase; margin-bottom: 0.2rem; }
.date-cell.selected .day-name { color: rgba(255,255,255,0.8); }
.date-cell .day-num { font-size: 0.95rem; font-weight: 700; }

/* â”€â”€ Confirmation / Summary â”€â”€ */
.summary-box {
  background: var(--pale-blue);
  border: 1px solid rgba(26,92,56,0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.summary-box h4 { color: var(--navy); margin-bottom: 1rem; }
.summary-row { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid rgba(26,92,56,0.1); font-size: 0.9rem; }
.summary-row:last-child { border-bottom: none; }
.summary-row strong { color: var(--dark); }
.disclaimer-box {
  background: var(--pale-blue);
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.disclaimer-box h4 { color: var(--navy); margin-bottom: 0.5rem; font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }
.disclaimer-box p { font-size: 0.8rem; color: var(--grey-800); margin-bottom: 0; line-height: 1.55; }
.confirmation-screen { text-align: center; padding: 2rem; display: none; }
.confirmation-icon {
  width: 80px; height: 80px;
  background: rgba(39,174,96,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: var(--green);
  margin: 0 auto 1.5rem;
}
.ref-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--pale-blue);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  display: inline-block;
  margin: 1rem 0;
  letter-spacing: 0.05em;
}

/* â”€â”€ Checklist Items â”€â”€ */
.checklist { list-style: none; padding: 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--grey-100);
  font-size: 0.95rem;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.checklist-cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.checklist-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.checklist-card-icon {
  width: 40px; height: 40px;
  background: rgba(39,174,96,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 1rem;
  flex-shrink: 0;
}
.checklist-card-text strong { display: block; font-size: 0.9rem; color: var(--dark); margin-bottom: 0.15rem; }
.checklist-card-text span { font-size: 0.82rem; color: var(--grey-600); }

@media (min-width: 600px) { .checklist-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .checklist-cards { grid-template-columns: repeat(3, 1fr); } }

/* â”€â”€ Step cards â”€â”€ */
.steps { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.step-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.step-number {
  width: 48px; height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  flex-shrink: 0;
}
.step-card-body h3 { margin-bottom: 0.4rem; }
.step-card-body p { font-size: 0.92rem; color: var(--grey-600); margin-bottom: 0; }

@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }

/* â”€â”€ Alert/Banner â”€â”€ */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.alert i { flex-shrink: 0; margin-top: 0.1rem; font-size: 1.1rem; }
.alert-red { background: var(--red-light); border: 2px solid var(--red); color: var(--red); }
.alert-red strong, .alert-red a { color: var(--red); }
.alert-orange { background: var(--pale-blue); border: 2px solid var(--navy); color: #854300; }
.alert-blue { background: var(--pale-blue); border: 2px solid var(--light-blue); color: var(--navy); }
.emergency-banner {
  background: var(--red);
  color: var(--white);
  padding: 0.85rem 1.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.emergency-banner a { color: var(--white); text-decoration: underline; font-size: 1.1rem; }

/* â”€â”€ Independence disclaimer box â”€â”€ */
.independence-box {
  background: var(--pale-blue);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.independence-box h4 { color: var(--navy); font-size: 0.875rem; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.independence-box p { font-size: 0.82rem; color: var(--grey-800); line-height: 1.6; margin-bottom: 0; }

/* â”€â”€ Pricing box â”€â”€ */
.price-callout {
  background: linear-gradient(135deg, var(--navy), var(--light-blue));
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
}
.price-callout .price { font-size: 3rem; font-weight: 800; color: var(--white); }
.price-callout .price-label { font-size: 1rem; color: rgba(255,255,255,0.7); }
.price-callout h3 { color: var(--white); margin-bottom: 0.5rem; }
.price-callout p { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }

/* â”€â”€ Quiz â”€â”€ */
.quiz-container {
  background: var(--white);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.quiz-question { display: none; }
.quiz-question.active { display: block; }
.quiz-question h3 { margin-bottom: 1.25rem; font-size: 1.1rem; }
.quiz-options { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
.quiz-option {
  padding: 1rem 1.25rem;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 500;
  display: flex; align-items: center; gap: 0.75rem;
}
.quiz-option:hover { border-color: var(--navy); background: var(--pale-blue); }
.quiz-option.selected { border-color: var(--navy); background: var(--pale-blue); color: var(--navy); }
.quiz-option i { color: var(--navy); width: 20px; text-align: center; }
.quiz-result {
  display: none;
  text-align: center;
  padding: 1rem;
}
.quiz-result.show { display: block; }
.quiz-result-model {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0.75rem 0;
}
.quiz-result-desc { color: var(--grey-600); font-size: 0.95rem; margin-bottom: 1.5rem; }
.quiz-progress-bar {
  height: 4px;
  background: var(--grey-200);
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--navy);
  border-radius: 999px;
  transition: width 0.4s ease;
}

@media (min-width: 600px) { .quiz-options { grid-template-columns: repeat(2, 1fr); } }

/* â”€â”€ TOC (Legal) â”€â”€ */
.toc {
  background: var(--pale-blue);
  border: 1px solid rgba(26,92,56,0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}
.toc h3 { color: var(--navy); margin-bottom: 1rem; font-size: 1rem; }
.toc ol { list-style: decimal; padding-left: 1.5rem; }
.toc li { margin-bottom: 0.4rem; }
.toc a { color: var(--navy); font-size: 0.9rem; font-weight: 500; }
.toc a:hover { color: var(--navy); }
.legal-clause { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--grey-200); }
.legal-clause:last-child { border-bottom: none; }
.legal-clause h2 { font-size: 1.2rem; color: var(--navy); margin-bottom: 1rem; padding-top: 0.5rem; }
.legal-clause p, .legal-clause li { font-size: 0.9rem; line-height: 1.7; }
.legal-clause ul, .legal-clause ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-clause ul { list-style: disc; }
.legal-clause ol { list-style: decimal; }
.legal-clause li { margin-bottom: 0.35rem; }

/* â”€â”€ Credential badges â”€â”€ */
.cred-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cred-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.cred-icon { color: var(--green); font-size: 1.25rem; flex-shrink: 0; }
.cred-text strong { display: block; font-size: 0.875rem; color: var(--dark); }
.cred-text span { font-size: 0.78rem; color: var(--grey-600); }

/* â”€â”€ Back to top â”€â”€ */
#back-to-top {
  position: fixed;
  bottom: 100px;
  right: 1.5rem;
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 900;
  border: none;
  transition: all var(--transition);
}
#back-to-top:hover { background: var(--dark); transform: translateY(-2px); }
#back-to-top.show { display: flex; }

/* â”€â”€ Footer â”€â”€ */
footer {
  background: #081528;
  color: rgba(255,255,255,0.75);
  padding: 4rem 1.5rem 0;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { font-size: 0.875rem; margin-top: 1rem; line-height: 1.6; color: rgba(255,255,255,0.6); }
.footer-logo {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  letter-spacing: -0.03em;
}
.footer-logo span { color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.875rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: #9debd0; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #9debd0; }
.footer-disclaimer {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem;
  margin: 0 -1.5rem;
}
.footer-disclaimer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-disclaimer p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.65;
  margin-bottom: 0;
}
.footer-disclaimer strong { color: rgba(255,255,255,0.5); }
.footer-trust-strip {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.footer-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 600;
}
.footer-trust-item i { color: #a7f3d0; }

/* -- Boiler tags (homepage cards) -- */
.boiler-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}
.boiler-tag {
  display: inline-block;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--pale-blue);
}

/* â”€â”€ Utility â”€â”€ */
.text-center { text-align: center; }
.text-orange { color: var(--navy); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-muted { color: var(--grey-600); }
.text-small { font-size: 0.875rem; }
.text-xs { font-size: 0.78rem; }
.fw-bold { font-weight: 700; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-0 { margin-bottom: 0; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* â”€â”€ Boiler model sections â”€â”€ */
.model-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--grey-200);
}
.model-section:last-child { border-bottom: none; }
.model-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.model-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.model-badge.premium { background: #7b4f00; }
.model-img {
  width: 200px;
  height: 220px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--grey-100);
  padding: 0.75rem;
  flex-shrink: 0;
  margin-left: auto;
}
@media (max-width: 640px) {
  .model-img { width: 100%; height: 180px; margin-left: 0; }
}
.model-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem; margin: 1.25rem 0; }
.spec-item {
  background: var(--pale-blue);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}
.spec-item .spec-label { font-size: 0.72rem; color: var(--grey-600); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.spec-item .spec-value { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-top: 0.15rem; }

/* â”€â”€ CTA Section â”€â”€ */
.cta-section {
  padding: 5rem 1.5rem;
  text-align: center;
  background: var(--navy);
  color: var(--white);
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-section .btn-secondary { border-color: rgba(255,255,255,0.7); }
.cta-section .btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  font-weight: 700;
}
.cta-section .btn-white:hover { background: var(--pale-blue); color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.cta-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* â”€â”€ Responsive tweaks â”€â”€ */
@media (min-width: 768px) {
  .section { padding: 6rem 1.5rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .date-grid { grid-template-columns: repeat(7, 1fr); }
}
@media (max-width: 767px) {
  .nav-logo-full { height: 26px; }
  .hero { min-height: auto; padding: 1.7rem 1.1rem 2.3rem; }
  .hero::after { height: 40px; }
  .service-badge {
    position: static;
    display: inline-block;
    margin-bottom: 0.7rem;
  }
  .booking-nav { flex-direction: column; }
  .progress-steps { justify-content: flex-start; }
  .step-label { font-size: 0.65rem; }
  .step-connector { width: 30px; }
}

/* ============================================================
   IMAGE COMPONENTS
   ============================================================ */

/* â”€â”€ Card image thumbnail (top of card) â”€â”€ */
.card-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: -1.75rem -1.75rem 1.25rem -1.75rem;
  width: calc(100% + 3.5rem);
  position: relative;
  background: var(--grey-100);
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
  padding: 0.5rem;
}
.card:hover .card-img-wrap img { transform: scale(1.04); }

/* Placeholder shown while official image is pending */
.card-img-wrap .img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--pale-blue) 0%, #d0f0e0 100%);
  color: var(--navy); font-size: 0.75rem; font-weight: 600;
  gap: 0.5rem; text-align: center; padding: 0.5rem;
}
.card-img-wrap .img-placeholder i { font-size: 2rem; opacity: 0.5; }

/* â”€â”€ Boiler model hero image (boilers.html) â”€â”€ */
.boiler-model-img {
  width: 100%;
  max-height: 320px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-lg);
  background: var(--grey-100);
  position: relative;
}
.boiler-model-img img {
  width: 100%; height: 320px;
  object-fit: cover; object-position: center top;
  display: block;
}
.boiler-model-img .img-swap-badge {
  position: absolute; bottom: 0.6rem; right: 0.6rem;
  background: rgba(0,0,0,0.55); color: #fff;
  font-size: 0.65rem; padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm); font-weight: 600;
  letter-spacing: 0.03em;
}

/* â”€â”€ Section split layout (image + text side by side) â”€â”€ */
.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.section-split.reverse { direction: rtl; }
.section-split.reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .section-split { grid-template-columns: 1fr; gap: 1.75rem; }
  .section-split.reverse { direction: ltr; }
}
.section-split-img {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  background: var(--grey-100);
}
.section-split-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* â”€â”€ Attribution strip â”€â”€ */
.img-credit {
  font-size: 0.68rem; color: var(--grey-400);
  margin-top: 0.35rem; text-align: right;
}
.img-credit a { color: var(--grey-400); text-decoration: none; }
.img-credit a:hover { text-decoration: underline; }

/* â”€â”€ Hero image column (homepage) â”€â”€ */
.hero-img-col {
  display: none;
}
@media (min-width: 1024px) {
  .hero-img-col {
    display: block;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 9/10;
    max-height: 480px;
  }
  .hero-img-col img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 91% 66%;
    display: block;
  }
}


/* ── Gas Safe Logo ── */
.gas-safe-logo {
  display: inline-block;
  height: 36px;
  width: auto;
  vertical-align: middle;
}
.gas-safe-logo-sm {
  height: 28px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
.gas-safe-logo-lg {
  height: 46px;
  width: auto;
  display: block;
}
/* Hero badge with logo */
.hero-badge-gs {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--pale-blue);
  border: 1px solid rgba(58,175,169,0.25);
  padding: 0.4rem 0.85rem 0.4rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero-badge-gs span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
}
/* Footer Gas Safe block */
.footer-gs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-gs span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}
/* Inline Gas Safe badge in content */
.gs-inline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0f4ff;
  border: 1px solid #c8d4f0;
  border-radius: var(--radius-md);
  padding: 0.5rem 0.85rem;
  margin: 0.5rem 0;
}

/* -- Concept V2 inner-page migration overrides -- */
body.concept-v2 .navbar {
  background: linear-gradient(90deg, #0b1f35 0%, #13365a 100%);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 6px 18px rgba(11, 31, 53, 0.25);
}
body.concept-v2 .nav-logo { color: var(--white); }
body.concept-v2 .nav-logo span { color: #9debd0; }
body.concept-v2 .nav-links a { color: rgba(255,255,255,0.9); }
body.concept-v2 .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.12); }
body.concept-v2 .nav-links a.active { color: #fff; font-weight: 700; }
body.concept-v2 .nav-cta {
  background: #1ca59d !important;
  box-shadow: 0 3px 10px rgba(28,165,157,0.28);
}
body.concept-v2 .nav-cta:hover {
  background: #178f88 !important;
  box-shadow: 0 6px 14px rgba(28,165,157,0.35);
}
body.concept-v2 .hamburger span { background: #fff; }
body.concept-v2 .mobile-nav {
  background: #0f2a46;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
body.concept-v2 .mobile-nav a {
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
body.concept-v2 .mobile-nav a:hover { background: rgba(255,255,255,0.12); color: #fff; }
body.concept-v2 .mobile-nav .nav-cta { background: #1ca59d !important; color: #00141a !important; }

body.concept-v2 .page-hero {
  background: linear-gradient(120deg, #0f2b4a 0%, #1a436d 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
body.concept-v2 .page-hero h1 { color: #fff; }
body.concept-v2 .page-hero p { color: rgba(255,255,255,0.84); }
body.concept-v2 .page-hero .badge {
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.2);
}

body.concept-v2 .section-grey { background: #f4f8fc; }
body.concept-v2 .card,
body.concept-v2 .feature-card {
  border-color: #d7e1ec;
  box-shadow: 0 4px 14px rgba(11, 31, 53, 0.08);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
body.concept-v2 .card:hover,
body.concept-v2 .feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(28,165,157,0.38);
  box-shadow: 0 10px 26px rgba(11, 31, 53, 0.14);
}
body.concept-v2 .btn-primary {
  background: #1ca59d;
  border-color: #1ca59d;
  box-shadow: 0 3px 10px rgba(28,165,157,0.25);
}
body.concept-v2 .btn-primary:hover {
  background: #178f88;
  border-color: #178f88;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(28,165,157,0.38);
}

body.concept-v2 .section { padding-block: 5.3rem; }
body.concept-v2 .section-header h2 { letter-spacing: -0.02em; }
body.concept-v2 .section-header p { color: var(--grey-700); }
body.concept-v2 .container-sm p,
body.concept-v2 .model-section p,
body.concept-v2 .legal-clause p,
body.concept-v2 .legal-clause li {
  max-width: 72ch;
}
body.concept-v2 .boiler-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
body.concept-v2 .table-wrapper {
  border: 1px solid #d7e1ec;
}
body.concept-v2 .faq-section {
  background: #f4f8fc !important;
  border-top: 1px solid #dce6f1;
}

@media (max-width: 767px) {
  body.concept-v2 .section { padding-block: 3.8rem; }
  body.concept-v2 .page-hero { padding: 4rem 1.2rem 3.2rem; }
  body.concept-v2 .container-sm p,
  body.concept-v2 .model-section p,
  body.concept-v2 .legal-clause p,
  body.concept-v2 .legal-clause li {
    max-width: 64ch;
  }
}

body.concept-v2 footer {
  background: #081528;
  border-top: 1px solid rgba(255,255,255,0.08);
}
body.concept-v2 .footer-col ul li a:hover,
body.concept-v2 .footer-bottom a:hover { color: #9debd0; }

/* -- Local SEO landing pages (lp-local) -- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.container-narrow { max-width: 780px; margin: 0 auto; }
.lp-local-hero .page-hero-content { max-width: 900px; }
.lp-hero-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  max-width: 52rem;
  margin: 0.5rem auto 0;
  line-height: 1.5;
}
.lp-intro { padding: 1.5rem 1.5rem; }
.lp-intro-text { font-size: 1.04rem; line-height: 1.7; color: var(--grey-700); margin: 0 0 1.25rem; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.lp-pillar .lp-pillar-title { font-size: 1.1rem; margin-bottom: 0.5rem; }
.lp-pillar .lp-pillar-support,
.lp-pillar .lp-pillar-note { font-size: 0.92rem; color: var(--grey-600); line-height: 1.55; margin: 0; }
.lp-faq-section h2 { margin-bottom: 1rem; }
.faq-list-lp { display: flex; flex-direction: column; gap: 0.5rem; }
details.lp-faq-item { border: 1px solid var(--grey-200); border-radius: 10px; padding: 0.75rem 1rem; background: #fff; }
details.lp-faq-item summary { font-weight: 600; cursor: pointer; list-style: none; }
details.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-a { padding-top: 0.5rem; color: var(--grey-600); font-size: 0.95rem; line-height: 1.6; }
.lp-faq-a p { margin: 0; }
.lp-related h2 { margin-bottom: 0.75rem; }
ul.lp-related-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
ul.lp-related-links a { font-weight: 600; color: #1ca59d; text-decoration: none; }
ul.lp-related-links a:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .lp-cta-row .btn { width: 100%; justify-content: center; }
}

/* ── Fix full-width hero on concept-v2 pages ── */
body.concept-v2 .page-hero {
  width: 100%;
  padding: 5rem 2rem 4rem;
  text-align: center;
}
body.concept-v2 .page-hero-content {
  max-width: 860px;
  margin: 0 auto;
}
body.concept-v2 .page-hero h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
body.concept-v2 .page-hero p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  body.concept-v2 .page-hero { padding: 3.5rem 1.25rem 3rem; }
  body.concept-v2 .page-hero h1 { font-size: 1.8rem; }
  body.concept-v2 .page-hero p { font-size: 1rem; }
}