/* =========================================================
   Retrofit Group — Main Stylesheet
   Fonts: Barlow (headings) + Source Sans 3 (body)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&family=Source+Sans+3:wght@300;400;500;600&display=swap');

/* ---------------------------------------------------------
   Variables
   --------------------------------------------------------- */
:root {
  --navy:       #191f2b;
  --sky:        #e95126;
  --dark:       #131920;
  --darker:     #0c1016;
  --light-bg:   #fef2ec;
  --pale-bg:    #faf8f6;
  --text-h:     #191f2b;
  --text-b:     #404756;
  --text-m:     #6b7280;
  --border:     #e8d5cc;
  --surface:    #ffffff;
  --btn-text:   #ffffff;

  --ff-head: 'Barlow', sans-serif;
  --ff-body: 'Source Sans 3', sans-serif;

  --transition: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0,31,64,0.08);
  --shadow-md: 0 6px 24px rgba(0,31,64,0.12);
  --shadow-lg: 0 12px 40px rgba(0,31,64,0.16);
}

/* ---------------------------------------------------------
   Reset & Base
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-b);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------------------------------------------------------
   Container
   --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------
   Typography Scale
   --------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-head);
  color: var(--text-h);
  font-weight: 700;
  line-height: 1.1;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); line-height: 1.18; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.28; }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }

p { max-width: 68ch; line-height: 1.72; }

/* ---------------------------------------------------------
   Section Header Component
   --------------------------------------------------------- */
.sec-label {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  background: rgba(233,81,38,0.1);
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.sec-header { margin-bottom: 48px; }
.sec-header .sec-label { margin-bottom: 12px; }
.sec-header h2 { margin-bottom: 16px; }
.sec-header p { color: var(--text-m); }

.sec-header.centered { text-align: center; }
.sec-header.centered p { margin: 0 auto; }

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 15px 28px;
  border-radius: 4px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn:hover  { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(1px) scale(0.98); box-shadow: none; }

.btn-primary {
  background: var(--sky);
  color: var(--btn-text);
}
.btn-primary:hover { background: #52bdff; }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #f5f9fd; }

.btn-outline-white {
  background: transparent;
  color: #f5f9fd;
  border: 2px solid rgba(245,249,253,0.6);
}
.btn-outline-white:hover { background: rgba(245,249,253,0.15); border-color: #f5f9fd; }

/* ---------------------------------------------------------
   Top Bar
   --------------------------------------------------------- */
.topbar {
  position: relative;
  z-index: 1001; /* above the fixed nav so it's never obscured */
  background: var(--darker);
  padding: 10px 0;
  font-size: 0.82rem;
  color: rgba(200,220,235,0.85);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-left a,
.topbar-right a {
  color: rgba(200,220,235,0.85);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.topbar-left a:hover,
.topbar-right a:hover { color: var(--sky); }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-social a[aria-label="Facebook"] { color: #1877F2; }
.topbar-social a[aria-label="Instagram"] { color: #E1306C; }

.topbar-divider {
  width: 1px;
  height: 14px;
  background: rgba(200,220,235,0.2);
}

/* ---------------------------------------------------------
   Navigation
   --------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* padding-top pushes the pill below the ~40px topbar */
  padding: 68px 24px 10px;
  background: transparent;
  pointer-events: none; /* transparent area — clicks fall through to topbar */
  transition: padding var(--transition), background var(--transition), box-shadow var(--transition);
}

.navbar .container {
  pointer-events: all; /* white pill intercepts clicks */
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
  background: var(--surface);
  border-radius: 30px;
  padding: 0 8px 0 24px;
  box-shadow: 0 4px 24px rgba(0,31,64,0.18);
  transition: border-radius var(--transition), box-shadow var(--transition), padding var(--transition);
}

/* Scrolled: flat white bar pinned to top */
.navbar.scrolled {
  padding: 0;
  background: var(--surface);
  pointer-events: all;
  box-shadow: var(--shadow-md);
}
.navbar.scrolled .container {
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.navbar-brand img { width: auto; height: 40px; max-width: 280px; }
.footer-brand .navbar-brand img { height: 36px; }
.brand-name {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand-name span { color: var(--sky); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  font-family: var(--ff-head);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-h);
  padding: 10px 15px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links > li > a:hover { color: var(--navy); background: var(--light-bg); }
.nav-links > li > a.active { color: var(--navy); font-weight: 600; }

/* Dropdown — sky blue background, matching Solor accent style */
.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--sky);
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  min-width: 210px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: scaleY(0.85);
  transform-origin: top center;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 100;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: scaleY(1);
}
.dropdown li a {
  display: block;
  padding: 9px 22px;
  font-size: 0.88rem;
  font-family: var(--ff-head);
  font-weight: 500;
  color: var(--dark);
  transition: background var(--transition), color var(--transition);
}
.dropdown li a:hover { background: rgba(0,0,0,0.1); color: var(--darker); }
.dropdown li:first-child a { border-radius: 20px 20px 0 0; }
.dropdown li:last-child  a { border-radius: 0 0 20px 20px; }

/* Pill CTA button */
.nav-cta {
  margin-left: 12px;
  flex-shrink: 0;
  border-radius: 30px !important;
  padding: 12px 26px !important;
  font-size: 0.88rem !important;
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.08);
  transform: translateX(-100%);
  transition: transform 0.2s ease-out;
  border-radius: 30px;
}
.nav-cta:hover::before { transform: translateX(0); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none; /* hidden on desktop */
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--surface);
  z-index: 999;
  padding: 100px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-h);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .mobile-cta {
  margin-top: 32px;
  width: 100%;
  justify-content: center;
  border-bottom: none;
  padding: 15px 28px;
  color: var(--btn-text);
  font-size: 0.92rem;
  border-radius: 4px;
}

/* ---------------------------------------------------------
   Hero Section
   --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 90vh;
  max-height: 1020px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background:
    linear-gradient(rgba(0,15,30,0.25), rgba(0,15,30,0.25)),
    url('../images/hero.jpeg') center center / cover no-repeat var(--darker);
  padding-top: 96px;
  overflow: hidden;
}

.hero::before { display: none; }
.hero::after  { display: none; }

.hero .container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
  padding-bottom: 48px;
}

.hero-content {
  color: #f5f9fd;
  background: rgba(0,15,30,0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 40px 44px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Floating review card */
.hero-float-card {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 16px;
  padding: 28px 28px 24px;
  color: #001a2c;
}

.hero-float-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.hero-float-quote {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(0,26,44,0.82);
  margin-bottom: 10px;
  font-style: italic;
}

.hero-float-author {
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(0,26,44,0.5);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.hero-float-divider {
  height: 1px;
  background: rgba(0,26,44,0.12);
  margin-bottom: 20px;
}

.hero-float-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-float-stat-num {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--sky);
  line-height: 1;
}

.hero-float-stat-label {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  color: rgba(0,26,44,0.55);
  line-height: 1.4;
}

.hero-float-stat-label--strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(0,26,44,0.72);
  line-height: 1.4;
  font-family: var(--ff-body);
}

.hero-highlight {
  color: #f5f9fd;
}

.eyebrow {
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-content h1 {
  color: #f5f9fd;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.06;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.12rem;
  color: rgba(230,242,255,0.95);
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 52ch;
  text-shadow: 0 1px 4px rgba(0,10,25,0.5);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(245,249,253,0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-family: var(--ff-head);
  font-weight: 600;
  color: rgba(230,245,255,0.95);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0,10,25,0.4);
}

.trust-item svg { color: var(--sky); flex-shrink: 0; }

/* Hero Trustpilot bar */
.hero-tp {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  flex-wrap: wrap;
}

.hero-accred-bar {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin-top: 20px;
  padding: 16px 24px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 10px;
}
.hero-accred-bar img {
  height: 76px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  padding: 0 20px;
}
.hero-accred-bar img:first-child { padding-left: 0; }
.hero-accred-div {
  width: 1px;
  height: 48px;
  background: rgba(0,0,0,0.12);
  flex-shrink: 0;
}

.hero-tp-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(200,225,248,0.9);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.hero-tp-stars {
  display: flex;
  gap: 3px;
}

.hero-tp-stars svg { fill: #00B67A; }

.hero-tp-rating {
  font-family: var(--ff-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(200,225,248,0.80);
}

.hero-tp-rating strong {
  color: #ffffff;
  font-size: 1.05rem;
}

/* Trustpilot reviews section */
.hero-reviews {
  padding: 72px 0 80px;
  background: var(--darker);
  position: relative;
}

.hero-reviews-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}

.hero-reviews-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-reviews-intro .sec-label {
  color: var(--sky);
  margin-bottom: 12px;
}

.hero-reviews-intro h2 {
  color: #f5f9fd;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 0;
}

.hero-reviews-cta-link {
  color: #00B67A;
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-block;
}
.hero-reviews-cta-link:hover { text-decoration: underline; }

/* Carousel side */
.hero-reviews-carousel {
  overflow: hidden;
  position: relative;
}

.hero-reviews-track {
  display: flex;
  gap: 20px;
  transition: transform 0.42s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-review-card {
  flex: 0 0 calc(50% - 10px);
  width: calc(50% - 10px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 28px 28px 24px;
  box-sizing: border-box;
}

.hero-review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.hero-review-stars svg { fill: #00B67A; }

.hero-review-text {
  font-size: 0.97rem;
  color: rgba(230,245,255,0.88);
  line-height: 1.65;
  margin-bottom: 18px;
}

.hero-review-author {
  font-family: var(--ff-head);
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(200,225,248,0.55);
  letter-spacing: 0.03em;
}

.hero-reviews-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.reviews-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(200,225,248,0.6);
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.reviews-btn:hover { background: rgba(255,255,255,0.12); color: #f5f9fd; }
.reviews-btn:disabled { opacity: 0.25; cursor: default; pointer-events: none; }

.reviews-dots {
  display: flex;
  gap: 6px;
}
.reviews-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(200,225,248,0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.reviews-dot.active {
  background: var(--sky);
  transform: scale(1.35);
}

/* Hero bottom: full-bleed frosted pill bar */
.hero-badges {
  position: relative;
  z-index: 2;
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.hero-badges-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 120px;
}

.trust-logo {
  height: 84px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  padding: 0 48px;
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 56px;
  background: rgba(0,0,0,0.12);
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   About / USPs Section
   --------------------------------------------------------- */
.about {
  padding: 96px 0;
  background: var(--surface);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text { }

.about-text .sec-label { margin-bottom: 14px; }
.about-text h2 { margin-bottom: 20px; }
.about-text > p {
  color: var(--text-b);
  margin-bottom: 36px;
}

.usp-list { margin-bottom: 36px; }

.usp-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.usp-item:last-child { margin-bottom: 0; }

.usp-num {
  font-family: var(--ff-head);
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(233,81,38,0.06);
  line-height: 1;
  width: 48px;
  flex-shrink: 0;
  text-align: right;
}

.usp-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 6px;
}

.usp-body p {
  font-size: 0.93rem;
  color: var(--text-b);
  line-height: 1.68;
  max-width: none;
}

/* About images */
.about-images {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}

.about-img-secondary {
  position: absolute;
  width: 58%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  bottom: -32px;
  left: -32px;
  border: 6px solid var(--surface);
  box-shadow: var(--shadow-md);
}

.about-stat-badge {
  position: absolute;
  top: 32px;
  right: -20px;
  background: var(--sky);
  color: #fff;
  padding: 16px 20px;
  border-radius: 6px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-stat-badge strong {
  display: block;
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.about-stat-badge span {
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--ff-head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------
   Services Section
   --------------------------------------------------------- */
.services {
  padding: 96px 0;
  background: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.service-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }

.service-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--sky);
  color: #fff;
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}

.service-card-body {
  padding: 24px;
}
.service-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 10px;
}
.service-card-body p {
  font-size: 0.9rem;
  color: var(--text-b);
  line-height: 1.68;
  margin-bottom: 18px;
  max-width: none;
}

.card-link {
  font-family: var(--ff-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover { color: var(--sky); gap: 10px; }

/* ---------------------------------------------------------
   Process Section
   --------------------------------------------------------- */
.process {
  padding: 96px 0;
  background: var(--surface);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 56px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 16px);
  right: calc(16.67% + 16px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-steps-2col {
  grid-template-columns: repeat(2, 1fr);
  column-gap: 0;
  row-gap: 40px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.process-steps-2col::before { display: none; }

/* Dashed divider + right-arrow connector between left and right column steps */
.process-steps-2col .process-step:nth-child(odd) {
  padding-right: 40px;
  border-right: 2px dashed rgba(233,81,38,0.25);
  position: relative;
}
.process-steps-2col .process-step:nth-child(even) {
  padding-left: 40px;
}
/* Chevron arrow at mid-divider aligned with step number */
.process-steps-2col .process-step:nth-child(odd)::after {
  content: '';
  position: absolute;
  top: 24px;
  right: -8px;
  width: 13px;
  height: 13px;
  border-right: 2px solid rgba(233,81,38,0.7);
  border-top: 2px solid rgba(233,81,38,0.7);
  transform: rotate(45deg);
  background: var(--light-bg);
  z-index: 2;
}

/* Service page process step styles (step-number / step-content variant) */
.process-step .step-number {
  width: 56px;
  height: 56px;
  background: var(--sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--darker);
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(233,81,38,0.35);
  position: relative;
  z-index: 1;
}
.process-step .step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 10px;
}
.process-step .step-content p {
  font-size: 0.97rem;
  color: var(--text-b);
  line-height: 1.7;
}

.process-step { text-align: center; position: relative; z-index: 1; }

.step-num-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.step-num {
  width: 72px;
  height: 72px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: 1.6rem;
  font-weight: 900;
  color: #f5f9fd;
  position: relative;
  box-shadow: 0 4px 20px rgba(233,81,38,0.3);
}

.step-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--navy);
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 12px;
}
.process-step p {
  font-size: 0.9rem;
  color: var(--text-b);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 28ch;
}

/* ---------------------------------------------------------
   Stats / Dark Section
   --------------------------------------------------------- */
.stats-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--dark) 0%, #2a3444 50%, var(--darker) 100%);
  color: #f5f9fd;
}

.stats-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.stats-text .sec-label { background: rgba(233,81,38,0.15); }
.stats-text h2 { color: #f5f9fd; margin-bottom: 16px; }
.stats-text > p { color: rgba(200,225,248,0.8); max-width: 48ch; margin-bottom: 40px; }

.stat-bars { display: flex; flex-direction: column; gap: 24px; }

.stat-bar-item {}
.stat-bar-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(200,225,248,0.9);
  margin-bottom: 8px;
}
.stat-bar-track {
  height: 6px;
  background: rgba(245,249,253,0.12);
  border-radius: 3px;
  overflow: hidden;
}
.stat-bar-fill {
  height: 100%;
  background: var(--sky);
  border-radius: 3px;
  width: 0;
  transition: width 1.2s ease;
}

.stats-numbers { }
.stats-numbers h2 { color: #f5f9fd; margin-bottom: 16px; }
.stats-numbers > p { color: rgba(200,225,248,0.8); margin-bottom: 40px; max-width: 48ch; }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(245,249,253,0.08);
  border-radius: 6px;
  overflow: hidden;
}

.stat-box {
  padding: 28px 24px;
  background: rgba(0,20,40,0.4);
  text-align: center;
  transition: background var(--transition);
}
.stat-box:hover { background: rgba(233,81,38,0.3); }

.stat-box .count {
  display: block;
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--sky);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-box .stat-label {
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(200,225,248,0.7);
}

/* ---------------------------------------------------------
   CTA Strip
   --------------------------------------------------------- */
.cta-strip {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #2a3444 40%, var(--darker) 100%);
  text-align: center;
  color: #f5f9fd;
}

.cta-strip .sec-label { background: rgba(233,81,38,0.15); margin-bottom: 14px; }
.cta-strip h2 {
  color: #f5f9fd;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
}
.cta-strip p {
  color: rgba(200,225,248,0.85);
  font-size: 1.05rem;
  margin: 0 auto 36px;
}

.cta-strip-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta-strip-note {
  font-size: 0.82rem;
  color: rgba(200,225,248,0.55);
  font-family: var(--ff-head);
}

/* ---------------------------------------------------------
   Reviews Section
   --------------------------------------------------------- */
.reviews {
  padding: 96px 0;
  background: var(--light-bg);
}

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

.review-card {
  background: var(--surface);
  border-radius: 6px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.review-quote {
  font-family: var(--ff-head);
  font-size: 4rem;
  font-weight: 900;
  color: var(--sky);
  line-height: 0.8;
  margin-bottom: 8px;
  opacity: 0.4;
  display: block;
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
  color: #f4a623;
}

.review-card p {
  font-size: 0.93rem;
  color: var(--text-b);
  line-height: 1.72;
  margin-bottom: 24px;
  max-width: none;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1rem;
  color: #f5f9fd;
  flex-shrink: 0;
}

.review-author-info strong {
  display: block;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-h);
}
.review-author-info span {
  font-size: 0.9rem;
  color: var(--text-m);
}

.trustpilot-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-family: var(--ff-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}
.trustpilot-link:hover { color: var(--sky); }

/* ---------------------------------------------------------
   Sectors Section
   --------------------------------------------------------- */
.sectors {
  padding: 96px 0;
  background: var(--pale-bg);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

/* 2-card variant (homepage) */
.sectors-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.sector-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.sector-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.sector-icon {
  width: 56px;
  height: 56px;
  background: var(--light-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}

.sector-tag {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  background: rgba(233,81,38,0.1);
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
}

.sector-card h3 {
  font-size: 1.15rem;
  color: var(--text-h);
  margin: 0;
}

.sector-card > p {
  color: var(--text-b);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

.sector-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sector-list li {
  font-size: 0.875rem;
  color: var(--text-b);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.sector-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
}

.sector-card .card-link {
  margin-top: auto;
  padding-top: 8px;
}

/* ---------------------------------------------------------
   Warm Homes Plan Section
   --------------------------------------------------------- */
.warm-homes {
  padding: 96px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.warm-homes::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(233,81,38,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.warm-homes-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

.warm-homes-badge {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  background: rgba(233,81,38,0.12);
  border: 1px solid rgba(233,81,38,0.3);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.warm-homes-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #ffffff;
  margin-bottom: 20px;
}

.warm-homes-lead {
  color: rgba(200,225,248,0.85);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.warm-homes-content > p {
  color: rgba(200,225,248,0.65);
  margin-bottom: 20px;
}

.warm-homes-measures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin: 24px 0;
}

.whm-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(200,225,248,0.8);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.whm-item svg {
  color: var(--sky);
  flex-shrink: 0;
}

.warm-homes-note {
  color: rgba(200,225,248,0.55);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.warm-homes-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 24px 64px rgba(0,20,40,0.4);
}

.warm-homes-card-icon {
  width: 64px;
  height: 64px;
  background: var(--light-bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 20px;
}

.warm-homes-card h3 {
  font-size: 1.3rem;
  color: var(--text-h);
  margin-bottom: 12px;
}

.warm-homes-card > p {
  color: var(--text-b);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.warm-homes-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.warm-homes-form .form-field input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--text-h);
  background: var(--pale-bg);
  transition: border-color var(--transition);
  box-sizing: border-box;
}

.warm-homes-form .form-field input:focus {
  outline: none;
  border-color: var(--sky);
  background: var(--surface);
}

.form-small {
  font-size: 0.875rem;
  color: var(--text-m);
  text-align: center;
  margin-top: 12px;
}

/* ---------------------------------------------------------
   Service Area
   --------------------------------------------------------- */
.service-area {
  padding: 96px 0;
  background: var(--surface);
}

.service-area .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.service-area-text .sec-label { margin-bottom: 14px; }
.service-area-text h2 { margin-bottom: 20px; }
.service-area-text p { color: var(--text-b); margin-bottom: 32px; }

.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-bottom: 36px;
}

.area-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-b);
}
.area-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--sky);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-area-map {
  height: 420px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.glasgow-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.map-placeholder {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0,20,40,0.72);
  color: #f5f9fd;
  padding: 14px 20px;
  border-radius: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
}
.map-placeholder strong {
  display: block;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.map-placeholder span { font-size: 0.85rem; color: rgba(200,225,248,0.8); }

/* ---------------------------------------------------------
   Accreditations Carousel (click, 5 visible)
   --------------------------------------------------------- */
.accreditations-strip {
  background: var(--dark);
  padding: 40px 0 0;
  border-top: none;
}

.accred-label {
  display: block;
  text-align: center;
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(200,225,248,0.35);
  margin-bottom: 20px;
}

.accreditations-strip .container {
  text-align: center;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(245,249,253,0.08);
}

.accred-static {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 20px 40px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 14px;
}

.accred-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  background: none;
  transition: transform 0.25s;
}
.accred-item:hover { transform: translateY(-2px); }
.accred-item img {
  height: 90px;
  width: auto;
  max-width: 180px;
  display: block;
  filter: none;
  opacity: 1;
  transition: transform 0.25s;
}
.accred-item:hover img { transform: scale(1.03); }
.accred-name { display: none; }

.accred-div {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  gap: 12px;
  color: var(--text-h);
}
.form-success svg {
  stroke: var(--sky);
  margin-bottom: 8px;
}
.form-success h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-h);
  margin: 0;
}
.form-success p {
  font-size: 0.95rem;
  color: var(--text-b);
  margin: 0;
  max-width: 360px;
}
.form-success a { color: var(--navy); font-weight: 600; }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.footer {
  background: var(--darker);
  padding: 72px 0 0;
  color: rgba(200,225,248,0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245,249,253,0.08);
}

.footer-brand {}
.footer-brand .navbar-brand { margin-bottom: 16px; display: inline-flex; }
.footer-brand .brand-name { color: #f5f9fd; }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: rgba(200,225,248,0.6);
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(245,249,253,0.07);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(200,225,248,0.7);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--navy); color: var(--sky); }
.footer-social a[aria-label="Facebook"] { color: #1877F2; }
.footer-social a[aria-label="Instagram"] { color: #E1306C; }
.footer-social a[aria-label="Facebook"]:hover,
.footer-social a[aria-label="Instagram"]:hover { color: var(--sky); }

.footer-col h4 {
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,249,253,0.9);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(200,225,248,0.65);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul a:hover { color: var(--sky); }

.footer-col .contact-item {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(200,225,248,0.65);
  margin-bottom: 12px;
  line-height: 1.55;
  align-items: flex-start;
}
.footer-col .contact-item svg {
  color: var(--sky);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-col .contact-item a { color: rgba(200,225,248,0.65); }
.footer-col .contact-item a:hover { color: var(--sky); }

.footer-bottom {
  padding: 24px 0 0;
  font-size: 0.9rem;
  color: rgba(200,225,248,0.4);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(245,249,253,0.06);
}

.footer-copy { margin: 0; }
.footer-copy p { margin: 0 0 4px; }
.footer-copy p:last-child { margin: 0; font-size: 0.85rem; color: rgba(200,225,248,0.3); }

.footer-disclaimer {
  font-size: 0.82rem;
  color: rgba(200,225,248,0.35);
  line-height: 1.6;
  padding: 14px 0 24px;
  margin: 0;
  max-width: 900px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}
.footer-bottom-links a {
  color: rgba(200,225,248,0.4);
  transition: color var(--transition);
  white-space: nowrap;
}
.footer-bottom-links a:hover { color: var(--sky); }

/* ---------------------------------------------------------
   Inner Page Header
   --------------------------------------------------------- */
.page-header {
  background:
    linear-gradient(105deg, rgba(0,20,40,0.9) 0%, rgba(0,40,70,0.75) 100%),
    url('../images/hero.jpeg') center/cover no-repeat;
  padding: 140px 0 72px; /* top clears the fixed floating nav */
  color: #f5f9fd;
}

.page-header .eyebrow { color: var(--sky); margin-bottom: 14px; }
.page-header h1 { color: #f5f9fd; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.page-header p { color: rgba(200,225,248,0.85); max-width: 60ch; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(200,225,248,0.55);
  margin-bottom: 24px;
  font-family: var(--ff-head);
}
.breadcrumb a { color: rgba(200,225,248,0.55); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--sky); }
.breadcrumb span { color: rgba(200,225,248,0.35); }

/* ---------------------------------------------------------
   Form Styles
   --------------------------------------------------------- */
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: var(--ff-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--ff-body);
  font-size: 0.93rem;
  color: var(--text-h);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(233,81,38,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit .btn { width: 100%; justify-content: center; }

.form-disclaimer {
  font-size: 0.875rem;
  color: var(--text-m);
  line-height: 1.6;
  margin-top: 16px;
  padding: 14px;
  background: var(--light-bg);
  border-radius: 4px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--navy);
  cursor: pointer;
}
.form-check span {
  font-size: 0.85rem;
  color: var(--text-b);
  line-height: 1.55;
}
.form-check span a {
  color: var(--navy);
  text-decoration: underline;
}
.form-checks { margin: 20px 0 24px; }

/* ---------------------------------------------------------
   FAQ Accordion
   --------------------------------------------------------- */
.faq-section {
  padding: 80px 0;
  background: var(--surface);
}

.faq-group { margin-bottom: 48px; }
.faq-group-title {
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 4px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-h);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--navy); }
.faq-question.open { color: var(--navy); }

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
  color: var(--navy);
}
.faq-question.open .faq-icon { background: var(--navy); color: #f5f9fd; transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer.open { max-height: 800px; padding-bottom: 20px; }
.faq-answer p {
  font-size: 0.93rem;
  color: var(--text-b);
  line-height: 1.72;
}

/* ---------------------------------------------------------
   Trust Strip (horizontal badge row on inner pages)
   --------------------------------------------------------- */
.trust-band {
  background: var(--navy);
  padding: 16px 0;
}
.trust-band .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-band-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(245,249,253,0.85);
  letter-spacing: 0.04em;
}
.trust-band-item svg { color: var(--sky); }

/* ---------------------------------------------------------
   Finance Disclaimer
   --------------------------------------------------------- */
.finance-disclaimer {
  font-size: 0.875rem;
  color: var(--text-m);
  line-height: 1.65;
  padding: 16px;
  background: var(--pale-bg);
  border-radius: 4px;
  border-left: 3px solid var(--border);
}

/* ---------------------------------------------------------
   Quote Tool Cards
   --------------------------------------------------------- */
.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.tool-card-header {
  padding: 18px 24px;
  background: var(--navy);
  display: flex;
  align-items: center;
  gap: 14px;
}

.tool-card-icon {
  width: 42px;
  height: 42px;
  background: rgba(233,81,38,0.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
  flex-shrink: 0;
}

.tool-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #f5f9fd;
  margin-bottom: 2px;
}

.tool-card-header p {
  font-size: 0.78rem;
  color: rgba(200,225,248,0.6);
  margin: 0;
  max-width: none;
}

.tool-card-body {
  padding: 24px;
  position: relative;
  flex: 1;
}

.tool-card-body.coming-soon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2;
  border-radius: 0 0 12px 12px;
}

.tool-coming-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  background: var(--navy);
  color: #f5f9fd;
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 6px;
  white-space: nowrap;
}

.tool-mock-input {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.tool-mock-input input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--ff-body);
  font-size: 0.88rem;
  color: var(--text-m);
  background: var(--pale-bg);
  pointer-events: none;
}

.tool-mock-map {
  width: 100%;
  height: 240px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.tool-mock-map-bg {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.07) 0, rgba(0,0,0,0.07) 1px, transparent 1px, transparent 52px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.07) 0, rgba(0,0,0,0.07) 1px, transparent 1px, transparent 52px),
    linear-gradient(155deg, #6d9e5c 0%, #8ab872 30%, #7a9e68 55%, #9cbf82 80%, #6c9454 100%);
}

.tool-mock-map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,15,30,0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tool-mock-pin {
  width: 30px;
  height: 30px;
  background: var(--sky);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 14px rgba(233,81,38,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-mock-pin::after {
  content: '';
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  transform: rotate(45deg);
}

.tool-mock-map-label {
  font-family: var(--ff-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 16px;
}

.tool-powered-by {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-m);
  opacity: 0.65;
}

/* Tool promo cards on homepage */
.tool-promo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
}
.tool-promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.tool-promo-icon {
  width: 52px;
  height: 52px;
  background: var(--light-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
}

.tool-promo-card h3 { font-size: 1.15rem; color: var(--text-h); margin: 0; }
.tool-promo-card p { font-size: 0.9rem; color: var(--text-b); line-height: 1.65; margin: 0; max-width: none; }
.tool-promo-card .card-link { margin-top: auto; }

/* 5-column footer variant */
.footer-grid--5col { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }

/* Quote tools grid — 2-col, collapses on mobile */
.rg-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }

/* ---------------------------------------------------------
   Responsive Grid Utilities
   --------------------------------------------------------- */
.rg-2       { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.rg-2-start { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.rg-2-wide  { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.rg-2-med   { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.rg-3       { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rg-3-wide  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.rg-4       { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.rg-contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.rg-form    { display: grid; grid-template-columns: 1fr 560px; gap: 64px; align-items: start; }

/* ---------------------------------------------------------
   Scroll Reveal — matching Solor demo entrance animations
   --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Directional variants */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid--5col { grid-template-columns: 1fr 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .warm-homes-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-reviews-layout { grid-template-columns: 260px 1fr; gap: 32px; }

  .rg-3, .rg-3-wide { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .rg-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .rg-form { grid-template-columns: 1fr; gap: 40px; }
  .about-accred-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 768px) {
  /* Topbar: phone only, hide social + right side */
  .topbar-left { gap: 12px; overflow: hidden; }
  .topbar-left a:not(:first-child) { display: none; }
  .topbar-divider { display: none; }
  .topbar-right { display: none; }

  /* Navbar pill */
  .navbar { padding: 56px 12px 8px; }
  .navbar.scrolled { padding: 0; }
  .navbar .container { padding: 0 8px 0 16px; border-radius: 20px; }
  .navbar.scrolled .container { border-radius: 0; padding: 0 16px; border-bottom: 1px solid var(--border); }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile nav: render as flex so transform transition works */
  .mobile-nav {
    display: flex;
    flex-direction: column;
    pointer-events: none;
  }
  .mobile-nav.open { pointer-events: all; }

  /* Hero: full dark overlay on mobile for readability */
  .hero {
    min-height: 100dvh;
    padding: 120px 0 56px;
    background:
      linear-gradient(rgba(0,15,30,0.25), rgba(0,15,30,0.25)),
      url('../images/hero.jpeg') center 35% / cover no-repeat var(--darker);
  }
  .hero::after {
    display: none;
  }
  .hero { max-height: none; }
  .hero .container { grid-template-columns: 1fr; padding-bottom: 32px; }
  .hero-content { max-width: 100%; }
  .hero-float-card { display: none; }
  .hero-badges-inner { grid-template-columns: 1fr 1fr 1fr; padding: 0 4px; }
  .badge-card { padding: 12px 6px; gap: 8px; justify-content: flex-end; }
  .trust-logo { height: 30px; padding: 0 20px; }
  .hero-badges-inner { height: 60px; padding: 0 16px; }
  /* Hero content: reduce horizontal padding so content isn't cramped */
  .hero-content { padding: 28px 22px; }
  .hero-content h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-sub { font-size: 1rem; }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-ctas .btn { width: 100%; justify-content: center; text-align: center; }
  .hero-tp { flex-wrap: wrap; gap: 8px; font-size: 0.82rem; }
  .hero-tp-logo { font-size: 0.82rem; }
  .hero-tp-rating { font-size: 0.82rem; }

  /* Hero accred bar: scale down so it fits mobile width */
  .hero-accred-bar { padding: 10px 14px; max-width: 100%; }
  .hero-accred-bar img { height: 46px; max-width: 140px; padding: 0 10px; }
  .hero-accred-div { height: 30px; }

  /* Accreditations strip: reduce padding so logos don't overflow */
  .accred-static { gap: 0; padding: 12px 18px; }
  .accred-item { padding: 0 12px; }
  .accred-item img { height: 52px; max-width: 140px; }

  .about .container { grid-template-columns: 1fr; }
  .about-img-secondary { display: none; }
  .about-stat-badge { right: 16px; top: 16px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-card-img { height: 160px; }
  .service-card-body { padding: 16px; }

  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .process-steps::before { display: none; }

  .process-steps-2col { grid-template-columns: 1fr; max-width: 100%; }
  .process-steps-2col .process-step:nth-child(odd) { padding-right: 0; border-right: none; }
  .process-steps-2col .process-step:nth-child(odd)::after { display: none; }
  .process-steps-2col .process-step:nth-child(even) { padding-left: 0; }

  .stats-section .container { grid-template-columns: 1fr; gap: 48px; }

  .reviews-grid { grid-template-columns: 1fr; }
  .hero-reviews-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-review-card { flex: 0 0 calc(100% - 10px); width: calc(100% - 10px); }
  .hero-reviews { padding: 56px 0; }

  .sectors-grid, .sectors-grid--2col { grid-template-columns: 1fr; gap: 20px; }

  .warm-homes-inner { grid-template-columns: 1fr; gap: 40px; }
  .warm-homes-measures { grid-template-columns: 1fr; }

  .service-area .container { grid-template-columns: 1fr; }

  /* Footer: brand full-width top, link cols in 2x2 grid, legal below */
  .footer-grid,
  .footer-grid--5col { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom-row { flex-direction: column; align-items: center; text-align: center; }
  .footer-disclaimer { text-align: center; }

  .form-row { grid-template-columns: 1fr; }

  /* Responsive grid utilities — collapse to single column */
  .rg-2, .rg-2-start, .rg-2-wide, .rg-2-med, .rg-contact, .rg-form {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .rg-3, .rg-3-wide { grid-template-columns: 1fr; gap: 20px; }

  /* Page header on mobile */
  .page-header { padding: 100px 0 48px; }

  /* Quote tool grids */
  .rg-tools { grid-template-columns: 1fr; gap: 20px; }
  .tool-mock-map { height: 200px; }
  .footer-grid--5col { grid-template-columns: 1fr 1fr; }

  /* Section padding on mobile */
  .section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card-img { height: 180px; }

  .cta-strip-btns { flex-direction: column; align-items: center; }

  .stats-grid { grid-template-columns: 1fr; }
  .rg-4 { grid-template-columns: 1fr; gap: 16px; }
  .about-accred-grid { grid-template-columns: repeat(2, 1fr) !important; }

  .area-list { grid-template-columns: 1fr; }

  .hero-tp-bar { flex-wrap: wrap; gap: 10px; }

  .btn { font-size: 0.9rem; padding: 13px 22px; }
  .btn-lg { padding: 15px 26px; }

  /* Hero content: tight screens */
  .hero-content { padding: 22px 16px; }

  /* Hero accred bar: further scale down on very small screens */
  .hero-accred-bar { padding: 8px 10px; }
  .hero-accred-bar img { height: 28px !important; max-width: 90px; padding: 0 4px; }
  .hero-accred-div { height: 22px; }

  /* Accreditations strip: further reduce on small screens */
  .accred-static { padding: 10px 12px; }
  .accred-item { padding: 0 8px; }
  .accred-item img { height: 42px; max-width: 110px; }
  .accred-div { height: 42px; }
}
