/* ============================================
   Heroes on Hand – Redesigned Homepage CSS
   Brand colours matched from existing site
   ============================================ */

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

:root {
  /* Brand colours – matched from heroesonhand.co.uk */
  --navy: #1b4476;
  --navy-dark: #122945;
  --navy-light: #3a84de;
  --orange: #d61036;
  --orange-hover: #970a26;
  --orange-light: #ef123d;
  --white: #ffffff;
  --off-white: #f5f6f8;
  --grey-light: #e2e5ea;
  --grey-mid: #8b929e;
  --grey-dark: #4a5568;
  --text-body: #2d3748;

  /* Typography */
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --section-pad: 100px;
  --container: 1200px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul { list-style: none; }

section { overflow-x: hidden; }

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

.hidden-title { display:none; position:absolute; top:-2000px; }


/* ============================================
   TOP CONTACT BAR
   ============================================ */
.top-contact {
  z-index: 9999;
  display: flex;
  flex-flow: row;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  padding: 0 20px;
  background-color: var(--navy-dark);
  color: var(--white);
  font-size: 12px;
}

.top-contact-link {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
  color: var(--white);
  font-weight: 300;
  transition: color 0.3s ease;
}

.top-contact-link:hover {
  color: var(--orange);
}

.top-contact-icon {
  filter: invert();
  object-fit: contain;
  width: 14px;
  height: 14px;
}


/* ============================================
   HEADER / NAV BAR
   ============================================ */
.nav-bar {
  z-index: 998;
  position: fixed;
  top: 28px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 68px;
  padding: 0 190px;
  background-color: transparent;
  transition: box-shadow 0.5s ease, background-color 0.5s ease;
}

.nav-bar.scrolled {
  background-color: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-logo-link {
  z-index: 6;
  position: absolute;
  left: 20px;
  width: auto;
  height: auto;
}

.brand-logo {
  object-fit: contain;
  object-position: 0% 0%;
  width: auto;
  height: 75px;
}


/* ============================================
   MENU DRAWER & LINKS
   ============================================ */
.menu-drawer {
  z-index: 997;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.menu-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  height: 100%;
}

/* Menu links - white when not scrolled, navy when scrolled */
.menu-link {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  margin-left: 4px;
  margin-right: 4px;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.menu-link:hover {
  color: var(--orange);
}

/* When nav is scrolled, menu links turn navy */
.nav-bar.scrolled .menu-link {
  color: var(--navy-dark);
}

.nav-bar.scrolled .menu-link:hover {
  color: var(--orange);
}


/* ============================================
   DROPDOWN MENUS
   ============================================ */
.drop-link {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 100%;
  color: var(--white);
  font-size: 14px;
}

/* Dropdown arrow icon - points down by default, up when open/hovered */
.icon {
  color: var(--white);
  font-size: 18px;
  margin-left: 4px;
  transform: rotate(90deg);
  transform-origin: center;
  transition: transform 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

/* Desktop only: rotate icon on hover */
@media (min-width: 992px) {
  .drop-link:hover .icon {
    transform: rotate(-90deg);
  }
}

/* All screens: rotate icon when dropdown is open (for mobile click toggle) */
.drop-link.open .icon {
  transform: rotate(-90deg);
}

/* Icon colour when nav is scrolled */
.nav-bar.scrolled .icon {
  color: var(--navy-dark);
}

.drop-menu {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  flex-flow: column;
  gap: 8px;
  min-width: 180px;
  max-width: 240px;
  padding: 8px;
  background-color: var(--off-white);
  border-radius: 12px;
  box-shadow: 0 2px 12px 2px rgba(0, 0, 0, 0.2);
  color: var(--text-body);
}

.drop-menu.drop-column {
  display: none;
  min-width: 342px;
  max-width: none;
  padding: 14px;
  top: 68px;
  left: -17px;
  background-color: var(--off-white);
  border-radius: 8px;
  box-shadow: 0 2px 12px 2px rgba(0, 0, 0, 0.2);
}

/* Desktop: hover to show dropdown */
@media (min-width: 992px) {
  .drop-link:hover .drop-menu {
    display: flex;
  }
}

/* All screens: open class shows dropdown (for mobile click toggle) */
.drop-link.open .drop-menu {
  display: flex;
}

.drop-columns {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  flex-flow: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  min-width: 300px;
  height: auto;
}

.menu-link.drop {
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: auto;
  min-height: 34px;
  margin-left: 0;
  margin-right: 0;
  padding: 9px 12px;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.menu-link.drop:hover {
  color: var(--text-body);
  background-color: rgba(214, 16, 54, 0.1);
  border: 1px solid var(--orange);
  border-radius: 6px;
}

/* Ensure dropdown items aren't affected by nav scroll state */
.nav-bar.scrolled .menu-link.drop {
  color: var(--text-body);
}

.nav-bar.scrolled .menu-link.drop:hover {
  color: var(--text-body);
}

.menu-link.drop.wth-icon {
  padding-left: 36px;
}

.drop-link-icon {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  background-color: var(--orange);
  border-radius: 4px;
}

/* Sub-dropdown */
.small-drop-holder {
  position: relative;
  width: 100%;
  height: auto;
}

.small-drop-menu {
  display: none;
  position: absolute;
  top: -8px;
  left: 100%;
  flex-flow: column;
  gap: 8px;
  min-width: 180px;
  margin-left: 8px;
  padding: 8px;
  background-color: var(--off-white);
  border-radius: 12px;
  box-shadow: 0 2px 12px 2px rgba(0, 0, 0, 0.2);
}

.small-drop-holder:hover .small-drop-menu {
  display: flex;
}

.cdlicon {
  z-index: 4;
  position: absolute;
  right: 0;
  margin-top: 11px;
  color: var(--navy);
  font-size: 10px;
}


/* ============================================
   MAIN CTA BUTTON (Nav)
   ============================================ */
.main-button {
  z-index: 2;
  position: relative;
  display: inline-block;
  width: auto;
  min-width: 160px;
  padding: 16px 32px;
  background-color: var(--navy-dark);
  border: 1px solid var(--white);
  border-radius: var(--radius-sm);
  color: var(--white);
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.5s ease, color 0.5s ease, background-color 0.5s ease;

}

.main-button:hover {
  color: var(--navy-dark);
  background-color: var(--white);
  border-color: var(--navy-dark);
  text-decoration: none;
}

.main-button.pink {
  background-color: var(--orange);
  border-color: var(--orange);
}

.main-button.pink:hover {
  color: var(--orange);
  background-color: var(--white);
}

.main-button.pink.head {
  position: absolute;
  right: 20px;
  font-size: 14px;
}


/* ============================================
   HAMBURGER MENU BUTTON
   ============================================ */
.menu-button {
  z-index: 999;
  display: none;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  right: 30px;
  width: 42px;
  height: 28px;
  cursor: pointer;
}

.menu-line-top,
.menu-line-mid,
.menu-line-low {
  border-radius: 4px;
  width: 42px;
  height: 4px;
  transition: all 0.3s ease;
}

.menu-line-top {
  position: absolute;
  top: 0;
  background-color: var(--white);
  transition: all 0.3s ease, background-color 0.3s ease;
}

.menu-line-mid {
  background-color: var(--orange);
}

.menu-line-low {
  position: absolute;
  bottom: 0;
  background-color: var(--white);
  transition: all 0.3s ease, background-color 0.3s ease;
}

/* Menu lines turn navy when scrolled */
.nav-bar.scrolled .menu-line-top,
.nav-bar.scrolled .menu-line-low {
  background-color: var(--navy-dark);
}

/* Menu open state */
.menu-button.active .menu-line-top {
  transform: rotate(45deg) translate(8px, 8px);
  background-color: var(--navy-dark);
}

.menu-button.active .menu-line-mid {
  opacity: 0;
}

.menu-button.active .menu-line-low {
  transform: rotate(-45deg) translate(8px, -8px);
  background-color: var(--navy-dark);
}


/* ============================================
   FLASHING CTA BUTTON EFFECT – Elegant Glow Pulse
   ============================================ */
.btn-flash {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Soft inner glow sweep */
.btn-flash::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 35%,
    rgba(255,255,255,0.15) 45%,
    rgba(255,255,255,0.35) 50%,
    rgba(255,255,255,0.15) 55%,
    transparent 65%,
    transparent 100%
  );
  transform: skewX(-18deg);
  animation: btn-sweep 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  z-index: 2;
  pointer-events: none;
}

/* Outer glow pulse ring */
.btn-flash::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: transparent;
  box-shadow: 0 0 0 0 rgba(214, 16, 54, 0.5);
  animation: btn-glow-ring 4s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes btn-sweep {
  0%   { left: -120%; opacity: 0; }
  10%  { opacity: 1; }
  40%  { left: 140%; opacity: 1; }
  41%  { opacity: 0; }
  100% { opacity: 0; left: 140%; }
}

@keyframes btn-glow-ring {
  0%   { box-shadow: 0 0 0 0 rgba(214, 16, 54, 0.45); }
  25%  { box-shadow: 0 0 12px 4px rgba(214, 16, 54, 0.2); }
  50%  { box-shadow: 0 0 0 0 rgba(214, 16, 54, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 16, 54, 0); }
}

/* Header CTA specific glow (white tint since it's on navy) */
.nav-cta.btn-flash::after {
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
  animation: btn-glow-ring-light 4s ease-in-out infinite;
}

@keyframes btn-glow-ring-light {
  0%   { box-shadow: 0 0 0 0 rgba(214, 16, 54, 0.5); }
  25%  { box-shadow: 0 0 14px 5px rgba(214, 16, 54, 0.3); }
  50%  { box-shadow: 0 0 0 0 rgba(214, 16, 54, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 16, 54, 0); }
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  background: var(--navy);
  padding-top: 96px; /* top-contact (28px) + nav-bar (68px) */
  overflow: hidden;
}

/* Hero background image */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 41, 69, 0.92) 0%,
    rgba(27, 68, 118, 0.85) 50%,
    rgba(18, 41, 69, 0.88) 100%
  );
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232,114,42,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(232,114,42,0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Subtle grid pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 24px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.hero-content {
  animation: fadeInUp 0.8s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(214, 16, 54, 0.5);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid var(--white);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-logo { height: 52px; width: auto;}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--orange);
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.5s ease;
  border: none;
  white-space: nowrap;
  min-width: 140px;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,114,42,0.3);
}

.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,1);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
}

.btn-tertiary {
  background: rgba(255,255,255,0.12);
  color: var(--navy-dark);
  border: 1px solid var(--navy-dark);
}

.btn-tertiary:hover {
  background: rgba(255,255,255,0.5);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* COLORED logos (no greyscale filter) */
.hero-trust-badges img {
  height: 52px;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.hero-trust-badges img:hover {
  opacity: 1;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

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

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

.stars-row svg {
  width: 16px;
  height: 16px;
  fill: var(--orange);
}

.hero-stars span {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
}

/* Hero right – quick form card */
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.text-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 6px;
}


.hero-card > p {
  font-size: 14px;
  color: var(--grey-mid);
  margin-bottom: 28px;
}

.quick-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  cursor: pointer;
}

.quick-link:hover {
  border-color: var(--orange);
  background: rgba(232,114,42,0.03);
  transform: translateX(4px);
}

.quick-link-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.quick-link:hover .quick-link-icon {
  background: rgba(232,114,42,0.08);
}

.quick-link-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--orange);
  fill: none;
}

.quick-link-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.quick-link-text p {
  font-size: 13px;
  color: var(--grey-mid);
  line-height: 1.4;
}

.quick-link-arrow {
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.25s ease;
}

.quick-link:hover .quick-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

.quick-link-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
}


/* ============================================
   HOW IT WORKS – Enhanced Steps
   ============================================ */
.how-it-works {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.015em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--grey-dark);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

/* Connector line between steps (base dashed line) */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--grey-light) 0,
    var(--grey-light) 8px,
    transparent 8px,
    transparent 16px
  );
}

/* Animated solid overlay line that fills on scroll */
.steps-grid::after {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--navy-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.steps-grid.steps-active::after {
  transform: scaleX(1);
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 20px 10px;
  border-radius: var(--radius-lg);
  transition: background 0.3s ease;
}

/* Step card entrance – starts hidden */
.step-card .step-number,
.step-card h3,
.step-card p {
  opacity: 0;
  transform: translateY(20px);
}

/* Step 1 animations */
.step-card.visible .step-number {
  animation: stepCirclePop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.step-card.visible h3 {
  animation: stepContentFade 0.5s ease forwards;
}

.step-card.visible p {
  animation: stepContentFade 0.5s ease forwards;
}

/* Stagger delays based on data-step attribute */
.step-card[data-step="1"].visible .step-number { animation-delay: 0.1s; }
.step-card[data-step="1"].visible h3 { animation-delay: 0.35s; }
.step-card[data-step="1"].visible p  { animation-delay: 0.5s; }

.step-card[data-step="2"].visible .step-number { animation-delay: 0.35s; }
.step-card[data-step="2"].visible h3 { animation-delay: 0.6s; }
.step-card[data-step="2"].visible p  { animation-delay: 0.75s; }

.step-card[data-step="3"].visible .step-number { animation-delay: 0.6s; }
.step-card[data-step="3"].visible h3 { animation-delay: 0.85s; }
.step-card[data-step="3"].visible p  { animation-delay: 1s; }

.step-card[data-step="4"].visible .step-number { animation-delay: 0.85s; }
.step-card[data-step="4"].visible h3 { animation-delay: 1.1s; }
.step-card[data-step="4"].visible p  { animation-delay: 1.25s; }

@keyframes stepCirclePop {
  0%   { opacity: 0; transform: scale(0) rotate(-90deg); }
  60%  { opacity: 1; transform: scale(1.15) rotate(8deg); }
  80%  { transform: scale(0.95) rotate(-3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes stepContentFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Circle completion ring */
.step-card.visible .step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--orange);
  animation: stepRingSpin 0.6s ease forwards;
  opacity: 0;
}

.step-card[data-step="1"].visible .step-number::after { animation-delay: 0.2s; }
.step-card[data-step="2"].visible .step-number::after { animation-delay: 0.45s; }
.step-card[data-step="3"].visible .step-number::after { animation-delay: 0.7s; }
.step-card[data-step="4"].visible .step-number::after { animation-delay: 0.95s; }

@keyframes stepRingSpin {
  0%   { opacity: 0; transform: rotate(0deg); border-color: transparent; }
  30%  { opacity: 1; border-top-color: var(--orange); border-right-color: var(--orange); }
  60%  { border-top-color: var(--orange); border-right-color: var(--orange); border-bottom-color: var(--orange); }
  100% { opacity: 1; transform: rotate(360deg); border-color: var(--orange); }
}

.step-number {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.step-number span {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--orange);
  position: relative;
  z-index: 2;
}

.step-card:hover .step-number {
  border-color: var(--orange);
  background: rgba(214, 16, 54, 0.04);
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 32px rgba(214, 16, 54, 0.15);
}

.step-card:hover {
  background: rgba(255,255,255,0.7);
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--grey-dark);
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
}


/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: var(--section-pad) 0;
  background: var(--white);
}

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

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 36px;
  background: var(--white);
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--orange);
  box-shadow: 0 12px 40px rgba(232,114,42,0.08);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(232,114,42,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--orange);
  fill: none;
}

.service-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-content p {
  font-size: 15px;
  color: var(--grey-dark);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
}

.service-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--orange);
  transition: transform 0.2s ease;
}

.service-link:hover svg {
  transform: translateX(4px);
}


/* ============================================
   SURVEY HIGHLIGHT (hero product)
   ============================================ */
.survey-highlight {
  padding: var(--section-pad) 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.survey-highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(232,114,42,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.survey-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* CHANGED: red label → white on dark bg */
.survey-content .section-label {
  color: var(--white);
  opacity: 0.7;
}

.survey-content .section-heading {
  color: var(--white);
}

.survey-content p {
  color: rgba(255,255,255,0.65);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.survey-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.survey-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.survey-feature-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.survey-feature-check svg {
  width: 14px;
  height: 14px;
  stroke: var(--white);
}

.survey-feature span {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.5;
}

.survey-visual {
  position: relative;
}

.survey-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
}

/* CHANGED: stat numbers from red to white */
.stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}


/* ============================================
   REVIEWS
   ============================================ */
.reviews {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

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

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.review-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  transform: translateY(-4px);
  border-color: var(--grey-light);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--orange);
}

.review-text {
  font-size: 15px;
  color: var(--grey-dark);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
}

.review-author-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.review-author-info p {
  font-size: 12px;
  color: var(--grey-mid);
}

.reviews-footer {
  text-align: center;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.google-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.google-rating img {
  height: 28px;
}

.google-rating-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}


/* ============================================
   MEET THE TEAM
   ============================================ */
.team {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  border-color: var(--navy);
  box-shadow: 0 16px 48px rgba(27, 68, 118, 0.12);
  transform: translateY(-6px);
}

.team-avatar {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto;
  border: 3px solid var(--off-white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.team-card:hover .team-photo {
  border-color: var(--navy);
  box-shadow: 0 8px 24px rgba(27, 68, 118, 0.2);
  transform: scale(1.05);
}

.team-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.team-info h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 16px;
}

.team-bio {
  font-size: 14px;
  color: var(--grey-dark);
  line-height: 1.7;
  margin-bottom: 20px;
}

.team-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.team-tags span {
  display: inline-block;
  padding: 6px 14px;
  background: var(--off-white);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}


/* ============================================
   AREAS WE COVER
   ============================================ */
.areas {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.areas-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.areas-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.area-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  transition: all 0.2s ease;
}

.area-tag:hover {
  background: var(--navy-dark);
  color: var(--orange);
}

.area-tag svg {
  width: 16px;
  height: 16px;
  stroke: var(--orange);
  flex-shrink: 0;
}

.areas-visual {
  position: relative;
}

/* Areas card */
.areas-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--grey-light);
}

.areas-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.areas-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(214, 16, 54, 0.1);
  border-radius: var(--radius-md);
}

.areas-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--orange);
}

.areas-card-header h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.areas-card-text {
  font-size: 14px;
  color: var(--grey-dark);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Postcode finder form */
.postcode-finder {
  margin-bottom: 24px;
}

.postcode-form {
  display: flex;
  gap: 8px;
}

.postcode-form input {
  flex: 1;
  padding: 14px 16px;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-body);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  text-transform: uppercase;
}

.postcode-form input::placeholder {
  text-transform: none;
  color: var(--grey-mid);
}

.postcode-form input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(214, 16, 54, 0.1);
}

.postcode-form .btn {
  padding: 14px 24px;
  font-size: 14px;
  white-space: nowrap;
}

.postcode-result {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  min-height: 24px;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.postcode-result.success {
  color: #16a34a;
}

.postcode-result.fail {
  color: var(--orange);
}

/* Areas card CTA */
.areas-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--grey-light);
}

.areas-card-cta p {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

.areas-card-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.areas-card-cta .btn svg {
  width: 16px;
  height: 16px;
}


/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  position: relative;
  padding: 80px 0;
  background: var(--orange);
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 50%, rgba(0,0,0,0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Andrew image - positioned on the right */
.cta-image {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: auto;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
  object-position: bottom right;
  z-index: 1;
  pointer-events: none;
}

/* Bottom border accent */
.cta-border-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--navy-dark);
  z-index: 4;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 550px;
}

.cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.cta-inner p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
}

.cta-phone-link {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}

.cta-phone-link:hover {
  opacity: 0.8;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}


/* Old footer styles removed - now using Webflow-style footer below */


/* ============================================
   STICKY MOBILE CTA
   ============================================ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--white);
  border-top: 1px solid var(--grey-light);
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.mobile-cta .btn {
  width: 100%;
}


/* ============================================
   ACCREDITATION LOGOS BAR
   ============================================ */
.accreds-bar {
  background: var(--white);
  padding: 28px 0;
  border-bottom: 1px solid var(--grey-light);
}

.accreds-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.accred-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}



/* ============================================
   ABOUT US SECTION
   ============================================ */
.about-us {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

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

.about-content .section-label {
  color: var(--orange);
}

.about-content p {
  color: var(--grey-dark);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--grey-light);
}

.about-feature svg {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
  flex-shrink: 0;
}

.about-feature span {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top center;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 4px solid var(--orange);
  border-radius: var(--radius-lg);
  pointer-events: none;
}


/* ============================================
   SERVICES V2 – Image Cards
   ============================================ */
.services-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card-v2 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
}

.service-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card-v2:hover .service-card-bg {
  transform: scale(1.08);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 41, 69, 0.95) 0%,
    rgba(18, 41, 69, 0.7) 40%,
    rgba(18, 41, 69, 0.2) 70%,
    transparent 100%
  );
  transition: background 0.3s ease;
}

.service-card-v2:hover .service-card-overlay {
  background: linear-gradient(
    to top,
    rgba(214, 16, 54, 0.95) 0%,
    rgba(214, 16, 54, 0.6) 40%,
    rgba(214, 16, 54, 0.1) 70%,
    transparent 100%
  );
}

.service-card-content {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.service-card-content h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card-content p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 16px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.service-card-v2:hover .service-card-link {
  opacity: 1;
  transform: translateY(0);
}

.service-card-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.service-card-v2:hover .service-card-link svg {
  transform: translateX(4px);
}


/* ============================================
   FAQs SECTION
   ============================================ */
.faqs {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.faq-search {
  max-width: 500px;
  width: 100%;
  margin: 0 auto 48px;
  position: relative;
}

.faq-search svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  stroke: var(--grey-mid);
  pointer-events: none;
}

.faq-search input {
  width: 100%;
  padding: 18px 20px 18px 56px;
  border: 2px solid var(--grey-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-body);
  background: var(--off-white);
  outline: none;
  transition: all 0.3s ease;
}

.faq-search input::placeholder {
  color: var(--grey-mid);
}

.faq-search input:focus {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 4px 20px rgba(214, 16, 54, 0.1);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--navy);
}

.faq-item.hidden {
  display: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
}

.faq-question span {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--grey-mid);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--grey-dark);
  font-size: 15px;
  line-height: 1.7;
}

.faq-no-results {
  display: none;
  text-align: center;
  padding: 40px 20px;
  color: var(--grey-mid);
  font-size: 16px;
}

.faq-no-results.visible {
  display: block;
}

.faq-no-results a {
  color: var(--orange);
  text-decoration: underline;
}


/* ============================================
   FOOTER (Webflow-style)
   ============================================ */
.footer {
  z-index: 1;
  position: relative;
  width: 100%;
  padding: 50px 5% 40px;
  background-color: var(--navy-dark);
  color: var(--white);
  text-align: center;
  font-style: normal;
  overflow: hidden;
}

.body-container {
  z-index: 4;
  position: relative;
  max-width: var(--container);
  padding: 0 24px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 1fr 2.5fr;
  gap: 30px;
  margin-top: 20px;
  text-align: left;
  font-size: 16px;
  color: var(--text-body);
}

.footer-column {
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  height: auto;
}

.footer-column.lead {
  gap: 16px;
  padding-bottom: 60px;
  padding-right: 20px;
}

.footer-logo-link {
  z-index: 6;
  display: inline-block;
  width: auto;
  height: auto;
  margin-top: -24px;
  margin-bottom: 0;
}

.footer-logo-link .brand-logo {
  height: 48px;
  width: auto;
}

.company-name {
  color: var(--white);
  font-weight: 500;
  font-size: 16px;
}

.social-media-holder {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  margin-top: 30px;
}

.social-media-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  padding: 6px;
  background-color: var(--navy-dark);
  border: 1px solid var(--white);
  border-radius: 8px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.social-media-link:hover {
  background-color: var(--orange);
  border-color: var(--orange);
}

.social-icon {
  filter: invert();
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.contact-link {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: var(--white);
  font-weight: 300;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--orange);
}

.footer-links-grid {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 30px;
}

.footer-column-title {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 6px;
}

.footer-link {
  color: var(--white);
  font-weight: 300;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--orange);
}

.area-links {
  display: flex;
  flex-flow: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4px 6px;
  margin-top: 40px;
  text-align: left;
  font-size: 14px;
}

.pink-title {
  color: var(--orange);
}

.footer-credits {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: left;
  width: 100%;
  height: auto;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(58, 106, 144, 0.25);
  font-size: 14px;
}

.legal-links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.footer-small-link {
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-small-link:hover {
  color: var(--orange);
}

.copyright-info {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  text-align: right;
  color: rgba(255, 255, 255, 0.6);
}


/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.footer-registration {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
  margin-top: 20px;
}


/* ============================================
   RESPONSIVE
   ============================================ */

/* --- Tablet (991px) --- */
@media (max-width: 991px) {
  /* Top contact bar adjustments */
  .top-contact {
    display: none;
  }

  /* Hero adjustment for hidden top-contact */
  .hero {
    padding-top: 72px; /* Just nav-bar height on tablet/mobile */
  }


  /* Nav bar */
  .nav-bar {
    top: 0;
    height: 72px;
    padding: 0 20px;
    border-top: 3px solid var(--navy-dark);
  }

  .header-logo-link {
    z-index: 999;
  }

  /* Show hamburger */
  .menu-button {
    display: flex;
    right: 20px;
  }

  /* Menu drawer - fullscreen mobile menu */
  .menu-drawer {
    display: none;
    position: fixed;
    inset: 0;
    height: 100%;
    padding: 110px 60px 40px;
    background-color: var(--white);
    overflow: auto;
  }

  .menu-drawer.open {
    display: block;
  }

  .menu-inner {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 14px;
    padding-top: 70px;
    position: relative;
  }

  .menu-link {
    margin-left: 0;
    margin-right: 0;
    font-size: 21px;
    color: var(--navy-dark); /* Menu links are navy in mobile drawer */
  }

  .menu-link:hover {
    color: var(--orange);
  }

  .menu-link.drop {
    flex-flow: row;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    width: auto;
    min-height: auto;
    padding: 0;
    color: var(--navy-dark);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    border: none;
  }

  .menu-link.drop:hover {
    color: var(--orange);
    background-color: transparent;
    border: none;
  }

  .menu-link.drop.wth-icon {
    padding-left: 0;
  }

  .drop-link-icon {
    position: static;
    background-color: var(--navy-dark);
  }

  .drop-link {
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    height: auto;
  }

  .icon {
    position: absolute;
    right: 0;
    margin-top: 4px;
    font-size: 24px;
    color: var(--navy-dark);
    transform: rotate(90deg);
  }

  .drop-link.open .icon {
    transform: rotate(-90deg);
  }

  .drop-menu {
    display: none;
    position: static;
    flex-flow: column;
    gap: 14px;
    width: 100%;
    min-width: auto;
    max-width: none;
    background-color: transparent;
    box-shadow: none;
  }

  .drop-menu.drop-column {
    display: none;
    flex-flow: column;
    min-width: auto;
    margin-top: 0;
    background-color: transparent;
    box-shadow: none;
  }

  .drop-link.open .drop-menu,
  .drop-link.open .drop-menu.drop-column {
    display: flex;
    padding-left: 16px;
  }

  .drop-columns {
    display: flex;
    flex-flow: column;
    gap: 14px;
    min-width: auto;
  }

  .small-drop-menu {
    display: flex;
    position: static;
    min-width: auto;
    padding-left: 40px;
    background-color: transparent;
    box-shadow: none;
  }

  .cdlicon {
    display: none;
  }

  .main-button.pink {
    top: 0;
    left: 0;
    right: auto;
  }

  .main-button.pink.head {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    width: auto;
    margin-top: 0;
  }

  /* Footer tablet */
  .footer {
    padding: 40px 5%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }

  .footer-column.lead {
    padding-bottom: 0;
    padding-right: 50%;
  }

  .social-media-holder {
    margin-left: 30px;
    bottom: 3px;
    left: 65%;
    right: 0;
  }

  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .area-links {
    margin-top: 10px;
    margin-bottom: 40px;
  }

  .footer-credits {
    flex-flow: column;
    gap: 18px;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 0;
    text-align: left;
  }

  .copyright-info {
    text-align: left;
    justify-content: flex-start;
  }

  .footer-logo-link {
    z-index: 999;
  }

  /* CTA banner tablet */
  .cta-image {
    display: none;
  }

  .cta-inner {
    max-width: 100%;
    text-align: center;
  }

 
}


@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px;
  }

  .hero-card {
    min-width: 100%;
    max-width: 100%;
  }

  .hero-trust-badges img { height: 72px; width: auto;}

  .hero-stars span {
    font-size: 21px;
    color: rgba(255,255,255,0.85);
  }

  .quick-links { display: grid;
    grid-template-columns: 1fr 1fr;
  gap:24px;}

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    height: 400px;
  }

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

  .survey-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .areas-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }
}


@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }

  .header-logo-link {
    left: 18px;
  }

  .menu-button {
    right: 18px;
  }

  .quick-links { display: grid;
    grid-template-columns: 1fr ;
  gap:18px;}

  .menu-drawer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .drop-menu {
    padding-left: 16px;
  }

  .small-drop-menu {
    padding-left: 20px;
  }


  .footer {
    padding: 40px 30px;
  }

  .body-container {
    padding-left: 0;
  }
  .section-header {
    text-align: left;

  }

  .footer-logo-link {
    left: 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .trust-divider {
    display: none;
  }

  .accreds-inner {
    gap: 24px;
  }

  .accred-logo {
    height: 36px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .areas-card {
    padding: 20px;
  }

  .services-grid-v2 {
    grid-template-columns: 1fr;
  }

  .service-card-v2 {
    aspect-ratio: 16 / 9;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-areas {
    flex-direction: column;
    gap: 8px;
  }

  .footer-divider {
    display: none;
  }

  .survey-stats {
    grid-template-columns: 1fr 1fr;
  }

  /* Sticky mobile CTA */
  .mobile-cta {
    display: block;
  }

  /* Offset footer for sticky CTA */
  .footer {
    padding-bottom: 100px;
  }


}

@media (max-width: 480px) {
  /* Nav mobile */
  .nav-bar {
    height: 72px;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .main-button { min-width:100% }

  .btn { min-width: 100%; }

  .header-logo-link {
    left: 12px;
  }

  .brand-logo {
    width: auto;
    height: 48px;
  }

  .postcode-form {
    flex-direction: column;
    gap: 12px;
  }

  .areas-card-cta {
    flex-direction: column;
    gap: 12px;
  }

  .about-feature span { font-size: 18px; }
  .area-tag { font-size: 18px; }

  .menu-button {
    right: 12px;
  }

  .menu-drawer {
    padding: 82px 20px 70px;
  }

  .menu-inner {
    gap: 12px;
  }

  .menu-link {
    font-size: 18px;
  }

  .menu-link.drop {
    gap: 8px;
    font-size: 16px;
  }

  .drop-menu,
  .drop-menu.drop-column {
    padding-left: 10px;
  }

  .small-drop-menu {
    padding-left: 12px;
  }

  .drop-columns {
    display: flex;
    flex-flow: column;
  }

  .main-button {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    text-align: center;
  }

  /* Footer mobile */
  .footer {
    text-align: left;
    padding: 40px 20px 80px;
  }

  .footer-grid {
    margin-top: 20px;
  }

  .footer-column.lead {
    gap: 12px;
    padding-bottom: 48px;
    padding-right: 0%;
    font-size: 16px;
  }

  .social-media-holder {
    margin-left: 0;
    bottom: 0;
    left: 0%;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-credits {
    flex-flow: column;
    gap: 18px;
    justify-content: space-between;
    align-items: flex-start;
  }

  .legal-links {
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
    font-size: 14px;
  }

  .copyright-info {
    text-align: left;
    justify-content: flex-start;
  }

  .footer-logo-link {
    left: 12px;
  }

  /* Content */
  .hero-card {
    padding: 28px;
  }

  .quick-link {
    padding: 14px;
  }

  .accreds-inner {
    gap: 16px;
  }

  .accred-logo {
    height: 28px;
  }

  .about-image img {
    height: 300px;
  }

  .service-card-content {
    padding: 20px;
  }

  .service-card-content h3 {
    font-size: 20px;
  }

  .faq-question {
    padding: 16px 20px;
  }

  .faq-answer p {
    padding: 0 20px 16px;
  }

  .survey-stats {
    grid-template-columns: 1fr;
  }

  /* CTA banner mobile */
  .cta-image {
    display: none;
  }

  .cta-inner {
    text-align: left;
    max-width: 100%;
  }

 

  .team-card {
    padding: 28px;
  }

  .area-links { margin-top:40px;}

}