:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel-2: #eef3f8;
  --ink: #102033;
  --muted: #5f6f82;
  --blue: #123a7a;
  --blue-dark: #0b244d;
  --blue-soft: rgba(18,58,122,.10);
  --blue-line: rgba(18,58,122,.18);
  --green: #1fb874;
  --green-soft: rgba(31,184,116,.12);
  --green-line: rgba(31,184,116,.32);
  --white-soft: rgba(255,255,255,.72);
  --white-line: rgba(255,255,255,.38);
  --max: 1180px;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(16,32,51,.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

main {
  background: var(--bg);
}

/* =========================
   HEADER
========================= */

.top-strip {
  background: var(--blue-dark);
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

.top-strip .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 9px 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.top-strip a {
  color: #ffffff;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(18,58,122,.14);
  box-shadow: 0 10px 30px rgba(16,32,51,.06);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand img {
  width: 250px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 900;
  color: #42566d;
}

.main-nav a {
  transition: color .2s ease;
}

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

.nav-actions {
  display: flex;
  gap: 10px;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--blue);
  border: 1px solid rgba(18,58,122,.28);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 24px;
  cursor: pointer;
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(18,58,122,.28);
  font-weight: 900;
  cursor: pointer;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 14px 34px rgba(18,58,122,.22);
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn-dark {
  background: #ffffff;
  color: var(--blue);
  border-color: rgba(18,58,122,.24);
}

.btn-dark:hover {
  border-color: var(--green);
  box-shadow: 0 12px 28px rgba(16,32,51,.10);
}

.btn:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* =========================
   HEROES
========================= */

.hero-shell {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11,36,77,.96) 0%, rgba(18,58,122,.86) 42%, rgba(18,58,122,.28) 100%),
    url('/assets/img/hero/hero-background.jpg');
  background-size: cover;
  background-position: center right;
  border-bottom: 1px solid rgba(18,58,122,.20);
}

.hero-shell:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.10), transparent 35%),
    radial-gradient(circle at 20% 20%, rgba(31,184,116,.16), transparent 28%);
}

.hero {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 110px 20px 95px;
  min-height: 680px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 760px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 20px 64px;
  border-bottom: 1px solid rgba(18,58,122,.16);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero .lead {
  max-width: 760px;
}

.eicr-hero,
.commercial-eicr-hero {
  background:
    linear-gradient(90deg, rgba(11,36,77,.94), rgba(18,58,122,.72)),
    url('/assets/img/hero/eicr-hero-background.jpg');
}

.remedials-hero {
  background:
    linear-gradient(90deg, rgba(11,36,77,.94), rgba(18,58,122,.72)),
    url('/assets/img/hero/eicr-remedials-background.jpg');
}

.fixed-wire-hero {
  background:
    linear-gradient(90deg, rgba(11,36,77,.94), rgba(18,58,122,.72)),
    url('/assets/img/hero/fixed-wire-testing-background.jpg');
}

.landlord-eicr-hero {
  background:
    linear-gradient(90deg, rgba(11,36,77,.94), rgba(18,58,122,.72)),
    url('/assets/img/hero/landlord-eicr-background.jpg');
}

.hmo-eicr-hero {
  background:
    linear-gradient(90deg, rgba(11,36,77,.94), rgba(18,58,122,.72)),
    url('/assets/img/hero/hmo-eicr-background.jpg');
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(11,36,77,.94), rgba(18,58,122,.72)),
    url('/assets/img/hero/contact-background.jpg');
}

.about-hero {
  background:
    linear-gradient(90deg, rgba(11,36,77,.94), rgba(18,58,122,.72)),
    url('/assets/img/hero/hero-background.jpg');
}

.eicr-london-hero,
.areas-hero {
  background:
    linear-gradient(90deg, rgba(11,36,77,.94), rgba(18,58,122,.72)),
    url('/assets/img/hero/eicr-london-background.jpg');
}

/* legacy hero class support */
.fire-alarms-hero,
.emergency-lighting-hero,
.consumer-units-hero,
.eicr-essex-hero {
  background:
    linear-gradient(90deg, rgba(11,36,77,.94), rgba(18,58,122,.72)),
    url('/assets/img/hero/eicr-hero-background.jpg');
}

/* =========================
   TYPOGRAPHY
========================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(31,184,116,.30);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: 0 10px 24px rgba(16,32,51,.08);
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: .96;
  margin: 0 0 22px;
  letter-spacing: -.055em;
}

h1 span,
h2 span,
h3 span {
  color: var(--green);
}

.hero-shell h1,
.page-hero h1 {
  color: #ffffff;
}

.lead {
  color: rgba(255,255,255,.84);
  font-size: clamp(18px, 2vw, 22px);
  max-width: 700px;
  margin: 0 0 28px;
}

p {
  color: var(--muted);
}

.small-note {
  font-size: 12px;
  color: #6c7b8e;
  margin: 4px 0 0;
}

/* =========================
   GLOBAL SECTIONS
========================= */

section {
  padding: 68px 20px;
  background:
    linear-gradient(90deg, rgba(245,247,251,.58) 0%, rgba(245,247,251,.73) 45%, rgba(245,247,251,.50) 100%),
    url('/assets/img/backgrounds/section-background.jpg');
  background-size: cover;
  background-position: center;
}

section:nth-of-type(even) {
  background:
    linear-gradient(90deg, rgba(255,255,255,.62), rgba(245,247,251,.56)),
    url('/assets/img/backgrounds/section-background.jpg');
  background-size: cover;
  background-position: center;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-head h2,
.section-title h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ink);
}

.section-head p,
.section-title p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.section-title {
  max-width: 880px;
  margin: 0 auto 30px;
  text-align: center;
}

/* =========================
   HOMEPAGE TRUST / PROCESS
========================= */

.hero-actions,
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 26px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.trust {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 18px;
  padding: 15px;
  box-shadow: 0 18px 42px rgba(0,0,0,.16);
}

.trust strong {
  display: block;
  color: var(--blue);
  font-size: 18px;
}

.trust span {
  color: #526579;
  font-size: 13px;
}

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

.step {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--blue-line);
  background: var(--panel);
  box-shadow: 0 18px 45px rgba(16,32,51,.06);
}

.step b {
  color: var(--green);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.step h3 {
  margin: 10px 0 8px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* =========================
   CARDS / GRIDS
========================= */

.services,
.card-grid,
.grid,
.seo-grid,
.area-grid,
.pricing-grid {
  display: grid;
  gap: 16px;
}

.services,
.card-grid,
.pricing-grid,
.area-grid {
  grid-template-columns: repeat(3, 1fr);
}

.grid,
.seo-grid {
  grid-template-columns: repeat(2, 1fr);
}

.service-card,
.info-card,
.card,
.seo-card,
.area-card,
.price-card,
.faq-item,
.panel {
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(18,58,122,.14);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 18px 45px rgba(16,32,51,.06);
}

.service-card,
.info-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover,
.info-card:hover,
.card:hover,
.seo-card:hover,
.area-card:hover {
  background: #ffffff;
  border-color: rgba(31,184,116,.46);
  box-shadow: 0 24px 60px rgba(16,32,51,.12);
  transform: translateY(-2px);
}

.service-card,
.info-card,
.card,
.seo-card,
.area-card {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid rgba(18,58,122,.14);
  margin-bottom: 18px;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(18,58,122,.08);
}

.service-icon i {
  line-height: 1;
}

.service-card h3,
.info-card h3,
.card h3,
.seo-card h3,
.area-card h3,
.price-card h3 {
  margin: 0 0 10px;
  line-height: 1.15;
  color: var(--ink);
}

.service-card p,
.info-card p,
.card p,
.seo-card p,
.area-card p,
.price-card p,
.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.service-card a,
.info-card a,
.card a,
.seo-card a,
.area-card a,
.content-block a,
.service-card strong,
.info-card strong,
.card strong,
.seo-card strong,
.area-card strong {
  color: var(--blue);
  font-weight: 900;
}

.price-card strong {
  display: block;
  color: var(--blue);
  font-size: 30px;
  line-height: 1;
  margin: 10px 0;
}

/* =========================
   PANELS / SPLITS
========================= */

.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.panel {
  border-radius: var(--radius);
  padding: 30px;
}

.panel.green,
.panel.accent {
  background: linear-gradient(135deg, rgba(31,184,116,.12), rgba(255,255,255,.94));
  border-color: rgba(31,184,116,.34);
}

.panel.blue {
  background: linear-gradient(135deg, rgba(18,58,122,.10), rgba(255,255,255,.94));
  border-color: rgba(18,58,122,.18);
}

.panel h2,
.panel h3 {
  margin-top: 0;
  line-height: 1.05;
  color: var(--ink);
}

.panel p {
  color: var(--muted);
}

.content-block {
  max-width: 100%;
}

.content-block h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin: 0 0 18px;
  color: var(--ink);
}

.content-block h3 {
  margin-top: 28px;
  color: var(--ink);
}

.content-block p,
.content-block li {
  color: var(--muted);
}

/* =========================
   PREMIUM IMAGE / TEXT SECTIONS
========================= */

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: 54px;
  align-items: center;
}

.content-split.reverse .content-text {
  order: 2;
}

.content-split.reverse .content-image {
  order: 1;
}

.content-text {
  max-width: 650px;
}

.content-text h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.045em;
  margin: 0 0 18px;
  color: var(--ink);
}

.content-text p {
  font-size: 17px;
  margin: 0 0 16px;
}

.content-image {
  position: relative;
}

.content-image:before {
  content: "";
  position: absolute;
  inset: 24px -18px -18px 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(18,58,122,.16), rgba(31,184,116,.14));
  z-index: 0;
}

.content-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 360px;
  max-height: 520px;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 34px 80px rgba(16,32,51,.18);
}

.content-image-small img {
  min-height: 300px;
  max-height: 420px;
}

.content-image-large img {
  min-height: 440px;
  max-height: 620px;
}

.image-caption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(11,36,77,.88);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(0,0,0,.20);
}

.feature-band {
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(18,58,122,.08), rgba(31,184,116,.08));
  border: 1px solid rgba(18,58,122,.12);
  padding: 42px;
  box-shadow: 0 24px 70px rgba(16,32,51,.08);
}

/* =========================
   LISTS
========================= */

.check-list,
.ticks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li,
.ticks li {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.check-list li:before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

.tick {
  display: inline-flex;
  color: var(--green);
  font-weight: 900;
}

/* =========================
   BREADCRUMBS
========================= */

.breadcrumbs {
  max-width: var(--max);
  margin: 25px auto 0;
  padding: 0 20px;
  font-size: 14px;
  color: #6c7b8e;
}

.breadcrumbs a {
  color: var(--blue);
  font-weight: 800;
}

.breadcrumbs .separator {
  margin: 0 8px;
  color: #93a1b3;
}

/* =========================
   FAQS
========================= */

.faq,
.faq-grid {
  display: grid;
  gap: 14px;
}

.faq-item {
  min-height: auto;
}

.faq-item h3 {
  margin: 0 0 8px;
  color: var(--blue);
  line-height: 1.2;
}

.faq-item p {
  margin: 0;
}

/* =========================
   CTA BAND
========================= */

.cta-band {
  padding: 54px 20px;
  background:
    linear-gradient(90deg, rgba(11,36,77,.98), rgba(18,58,122,.92)),
    #0b244d;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  color: #ffffff;
}

.cta-inner p {
  margin: 0;
  color: rgba(255,255,255,.78);
}

/* =========================
   TESC BANNER
========================= */

.tesc-banner {
  padding: 38px 20px;
  background: linear-gradient(90deg, rgba(18,58,122,.96), rgba(11,36,77,.96));
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.tesc-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.tesc-inner strong {
  color: #ffffff;
  font-size: 22px;
}

.tesc-inner p {
  margin: 6px 0 0;
  color: rgba(255,255,255,.78);
}

/* =========================
   CONTACT FORM
========================= */

.contact-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 24px;
  align-items: start;
}

.contact-card {
  background: #ffffff;
  color: #111;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(18,58,122,.16);
}

.contact-card h2 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1;
  color: var(--ink);
}

.contact-card p {
  color: var(--muted);
  margin-top: 0;
}

form {
  display: grid;
  gap: 14px;
}

label {
  font-weight: 900;
  font-size: 13px;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(18,58,122,.20);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  margin-top: 6px;
  background: #ffffff;
  color: #111;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31,184,116,.12);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

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

/* =========================
   FOOTER
========================= */

footer {
  border-top: 1px solid rgba(18,58,122,.16);
  background: #0b244d;
  color: rgba(255,255,255,.72);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 20px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 36px;
}

.footer-logo {
  width: 230px;
  margin-bottom: 14px;
}

.footer-inner p {
  color: rgba(255,255,255,.72);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.footer-cols h3 {
  color: #ffffff;
  margin-top: 0;
}

.footer-cols a,
.footer-cols span {
  display: block;
  color: rgba(255,255,255,.72);
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-cols a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 16px 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.62);
}

/* =========================
   REVEAL ANIMATION
========================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================
   TABLET
========================= */

@media (max-width: 950px) {

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    border: 1px solid rgba(18,58,122,.16);
    border-radius: 18px;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 24px 70px rgba(16,32,51,.16);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  .services,
  .card-grid,
  .pricing-grid,
  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid,
  .seo-grid,
  .split,
  .contact-wrap,
  .footer-inner,
  .content-split {
    grid-template-columns: 1fr;
  }

  .content-split.reverse .content-text,
  .content-split.reverse .content-image {
    order: initial;
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-shell {
    background:
      linear-gradient(180deg, rgba(11,36,77,.96) 0%, rgba(18,58,122,.82) 35%, rgba(18,58,122,.58) 100%),
      url('/assets/img/hero/hero-background-mobile.jpg');
    background-size: cover;
    background-position: center;
  }

  .page-hero,
  .eicr-hero,
  .remedials-hero,
  .fixed-wire-hero,
  .commercial-eicr-hero,
  .landlord-eicr-hero,
  .hmo-eicr-hero,
  .contact-hero,
  .about-hero,
  .eicr-london-hero,
  .areas-hero,
  .fire-alarms-hero,
  .emergency-lighting-hero,
  .consumer-units-hero,
  .eicr-essex-hero {
    background:
      linear-gradient(180deg, rgba(11,36,77,.88), rgba(18,58,122,.62)),
      url('/assets/img/hero/eicr-hero-mobile.jpg');
    background-position: center;
    background-size: cover;
  }

  .content-image img {
    min-height: 320px;
  }

  .feature-band {
    padding: 28px;
  }

  .cta-inner {
    display: block;
  }

  .cta-inner .btn {
    margin-top: 18px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 620px) {

  .top-strip .inner {
    display: block;
    text-align: center;
  }

  .top-strip .inner span {
    display: block;
  }

  .top-strip .inner span + span {
    margin-top: 6px;
  }

  .brand img {
    width: 190px;
  }

  .nav {
    padding: 12px 18px;
  }

  .hero {
    min-height: auto;
    padding: 64px 18px;
  }

  .page-hero {
    padding: 56px 18px 46px;
  }

  h1 {
    font-size: clamp(40px, 14vw, 60px);
  }

  .hero-actions,
  .hero-ctas,
  .trust-row,
  .services,
  .card-grid,
  .pricing-grid,
  .area-grid,
  .process,
  .form-grid,
  .footer-cols {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  section {
    padding: 48px 18px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }

  .panel,
  .contact-card,
  .service-card,
  .info-card,
  .card,
  .seo-card,
  .price-card,
  .faq-item,
  .area-card {
    padding: 22px;
  }

  .content-split {
    gap: 28px;
  }

  .content-image:before {
    inset: 16px -10px -10px 16px;
    border-radius: 22px;
  }

  .content-image img {
    min-height: 260px;
    border-radius: 22px;
  }

  .image-caption {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 12px;
    background: var(--blue);
  }

  .tesc-inner {
    display: block;
  }

  .tesc-inner .btn {
    margin-top: 18px;
  }

  .footer-inner {
    padding: 36px 18px;
  }
}

@media (max-width: 620px) {

  .content-image {
    overflow: visible;
  }

  .image-caption,
  .content-image .image-caption {
    position: static;
    width: 100%;
    margin-top: 12px;
    border-radius: 16px;
    padding: 14px 16px;
    background: #0b2346;
    color: #ffffff;
    box-shadow: none;
  }

  .image-caption strong {
    display: block;
    font-size: 15px;
    line-height: 1.25;
    margin-bottom: 4px;
  }

  .image-caption span,
  .image-caption p {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    color: rgba(255,255,255,.82);
  }

}


/* ============================================================
   MOBILE IMAGE CAPTION FIX
   Forces floating desktop overlays to become normal caption cards
   beneath images on mobile.
============================================================ */

@media (max-width: 620px) {

  .content-split,
  .content-split.reverse {
    grid-template-columns: 1fr !important;
  }

  .content-split.reverse .content-text,
  .content-split.reverse .content-image {
    order: initial !important;
  }

  .content-image {
    display: block !important;
    position: relative !important;
    overflow: visible !important;
  }

  .content-image:before {
    z-index: 0 !important;
    pointer-events: none !important;
  }

  .content-image img {
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 4 / 3;
    object-fit: cover !important;
    border-radius: 22px !important;
  }

  .image-caption,
  .content-image .image-caption {
    position: relative !important;
    z-index: 3 !important;
    display: block !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0 0 !important;
    padding: 14px 16px !important;
    border-radius: 16px !important;
    background: #0b244d !important;
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    box-shadow: none !important;
    transform: none !important;
    white-space: normal !important;
  }

  .image-caption strong,
  .image-caption span,
  .image-caption p {
    display: block !important;
    margin: 0 !important;
    color: inherit !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }

}

/* ADD THIS TO THE VERY BOTTOM OF style.css */

/* FORCE CTA + TESC BANNERS TO REMAIN BLUE */

.cta-band{
    background:#0b244d !important;
    background-image:none !important;
}

.cta-band::before,
.cta-band::after{
    display:none !important;
}

.cta-band *{
    color:#ffffff;
}

.cta-inner p{
    color:rgba(255,255,255,.82) !important;
}

.tesc-banner{
    background:#123a7a !important;
    background-image:none !important;
}

.tesc-banner::before,
.tesc-banner::after{
    display:none !important;
}

.tesc-banner *{
    color:#ffffff;
}

.tesc-inner p{
    color:rgba(255,255,255,.82) !important;
}



/* ============================================================
   MOBILE SECTION BACKGROUND HARD FIX
   Uses a pseudo-layer so mobile cannot lose the section image.
   Excludes hero, CTA and TESC banners.
============================================================ */

@media (max-width: 620px) {

  main > section:not(.hero-shell):not(.cta-band):not(.tesc-banner) {
    position: relative !important;
    overflow: hidden !important;
    background: #f5f7fb !important;
    isolation: isolate;
  }

  main > section:not(.hero-shell):not(.cta-band):not(.tesc-banner)::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    pointer-events: none !important;
    background:
      linear-gradient(90deg, rgba(245,247,251,.72), rgba(245,247,251,.62)),
      url('/assets/img/backgrounds/section-background.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  main > section:nth-of-type(even):not(.hero-shell):not(.cta-band):not(.tesc-banner)::before {
    background:
      linear-gradient(90deg, rgba(255,255,255,.76), rgba(245,247,251,.66)),
      url('/assets/img/backgrounds/section-background.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  main > section:not(.hero-shell):not(.cta-band):not(.tesc-banner) > * {
    position: relative !important;
    z-index: 1 !important;
  }

  .cta-band,
  .tesc-banner {
    position: relative !important;
    isolation: auto !important;
  }

}
