/* ==========================================================================
   Apex PAT Testing homepage styles
   Design language: navy + blue, rounded, flat, 4px rhythm
   ========================================================================== */

:root {
  /* Brand */
  --c-primary:        #4f82c4;
  --c-primary-dark:   #3c6aa8;
  --c-navy:           #08264b;
  --c-navy-deep:      #061c38;
  --c-whatsapp:       #25d366;

  /* Surfaces */
  --c-surface:        #ffffff;
  --c-elevated:       #f2f4f7;
  --c-elevated-warm:  #f7f9fc;

  /* Text */
  --c-heading:        #08264b;
  --c-text:           #4a5568;
  --c-text-strong:    #333333;
  --c-muted:          #667586;   /* 4.7:1 on white, AA for body text */
  --c-on-dark:        #ffffff;
  --c-on-dark-muted:  rgba(255, 255, 255, .72);

  /* Lines */
  --c-border:         #dfe4ec;
  --c-border-soft:    #eceff4;
  --c-border-dark:    rgba(255, 255, 255, .16);

  /* Status */
  --c-star:           #f5a623;
  --c-success:        #15803d;   /* 5.0:1 on white, AA for the small print */

  /* Radii */
  --r-chip:   999px;
  --r-input:  15px;
  --r-md:     20px;
  --r-lg:     30px;

  /* Spacing (4px grid) */
  --s-1: 4px;  --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 20px; --s-6: 24px;  --s-8: 32px;  --s-10: 40px;
  --s-14: 56px; --s-20: 80px; --s-26: 104px;

  /* Type */
  --f-head: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-text: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --gutter: 24px;

  /* Motion */
  --t-fast: .15s ease-in-out;
  --t-base: .25s ease-in-out;
}

/* --------------------------------------------------------------- Reset -- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.68;
  color: var(--c-text);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-primary-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--c-heading);
  margin: 0 0 var(--s-4);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -.015em;
  /* Even out the lines so a heading never drops a single word onto its own */
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.25rem + 2.9vw, 3.35rem); }
h2 { font-size: clamp(1.75rem, 1.15rem + 2vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); }
h4 { font-size: 1.2rem; line-height: 1.4; }

p { margin: 0 0 var(--s-4); text-wrap: pretty; }   /* no orphan last word */
p:last-child { margin-bottom: 0; }
blockquote, li, figcaption { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: 4px;
}
.on-dark :focus-visible, .site-header :focus-visible { outline-color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--s-4); top: -200px; z-index: 10001;
  background: #fff; color: var(--c-navy); padding: var(--s-3) var(--s-5);
  border-radius: var(--r-lg); font-weight: 600;
}
.skip-link:focus { top: var(--s-4); }

/* -------------------------------------------------------------- Layout -- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }

.section { padding-block: clamp(56px, 7vw, 96px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--alt { background: var(--c-elevated-warm); }
.section--navy { background: var(--c-navy); color: var(--c-on-dark-muted); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: var(--s-10); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--f-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-primary-dark);   /* 5.5:1 on white, --c-primary is only 3.95:1 */
  margin-bottom: var(--s-3);
}
.section--navy .eyebrow { color: #8fb6e6; }

.lede { font-size: 1.075rem; color: var(--c-text); }
.section--navy .lede { color: var(--c-on-dark-muted); }

/* ------------------------------------------------------------- Buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: var(--r-lg);
  cursor: pointer;
  text-align: center;
  transition: background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast), transform var(--t-fast);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); color: #fff; }

.btn--navy { background: var(--c-navy); color: #fff; }
.btn--navy:hover { background: var(--c-navy-deep); color: #fff; }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

.btn--outline { background: #fff; color: var(--c-navy); border-color: var(--c-border); }
.btn--outline:hover { border-color: var(--c-primary); color: var(--c-primary); }

.btn--whatsapp { background: var(--c-whatsapp); color: #0b3b1e; }
.btn--whatsapp:hover { background: #1fbb59; color: #0b3b1e; }

.btn--block { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

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

/* -------------------------------------------------------------- Header -- */

.topbar {
  background: var(--c-navy-deep);
  color: var(--c-on-dark-muted);
  font-size: .85rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 500; }
.topbar a:hover { color: #9fc0e8; }
.topbar__links { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: var(--s-2); }
.topbar__item svg { width: 14px; height: 14px; opacity: .8; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--c-navy);
  border-bottom: 1px solid var(--c-border-dark);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.brand__logo {
  height: 46px;
  width: auto;
  display: block;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav__list { display: flex; align-items: center; gap: var(--s-1); }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  font-family: var(--f-head);
  font-size: .97rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .88);
  background: none;
  border-radius: 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #8fb6e6 18%, #fff 50%, #8fb6e6 82%, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .28s cubic-bezier(.22, .61, .36, 1), opacity .28s ease;
  opacity: 0;
  pointer-events: none;
}
.nav__link:hover,
.nav__link:focus-visible,
.nav__link[aria-current="page"] {
  color: #fff;
  background: none;
}
.nav__link:hover::after,
.nav__link:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}
.nav__link[aria-current="page"]::after {
  transform: scaleX(.55);
  opacity: .7;
  background: #8fb6e6;
}
.nav__link[aria-current="page"]:hover::after,
.nav__link[aria-current="page"]:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
  background: linear-gradient(90deg, transparent, #8fb6e6 18%, #fff 50%, #8fb6e6 82%, transparent);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex: none;
}
.header__phone {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--f-head); font-weight: 600; color: #fff; font-size: 1rem;
  padding: 10px 14px; border-radius: var(--r-chip);
}
.header__phone:hover { background: rgba(255,255,255,.12); color: #fff; }
.header__phone svg { width: 17px; height: 17px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  background: rgba(255,255,255,.1);
  border: 1px solid var(--c-border-dark);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  place-items: center;
  flex: none;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: #fff;
  position: relative; transition: background var(--t-fast);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: #fff; transition: transform var(--t-base), top var(--t-base);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ---------------------------------------------------------------- Hero -- */

.hero {
  position: relative;
  background: var(--c-navy);
  color: var(--c-on-dark-muted);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url("../img/hero-office-leicester.jpg");
  background-image: image-set(
    url("../img/hero-office-leicester.webp") type("image/webp"),
    url("../img/hero-office-leicester.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    /* keeps the headline readable on the left, opens up over the photo on the right */
    linear-gradient(100deg,
      rgba(8, 38, 75, .93) 0%,
      rgba(8, 38, 75, .88) 34%,
      rgba(8, 38, 75, .70) 62%,
      rgba(8, 38, 75, .56) 100%),
    linear-gradient(180deg,
      rgba(6, 28, 56, .55) 0%,
      rgba(6, 28, 56, .12) 45%,
      rgba(6, 28, 56, .42) 100%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(44px, 5.5vw, 80px) clamp(80px, 7vw, 116px);
}

.hero h1 { color: #fff; margin-bottom: var(--s-5); }
.hero h1 em { font-style: normal; color: #8fb6e6; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s-5);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  background: rgba(79,130,196,.22);
  border: 1px solid rgba(143,182,230,.4);
  color: #cfe0f5;
  font-family: var(--f-head);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 7px 16px; border-radius: var(--r-chip);
  margin-bottom: var(--s-5);
}
.hero__badges .hero__eyebrow { margin-bottom: 0; }
.hero__pin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  color: var(--c-primary-dark);
  font-family: var(--f-head);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 14px 7px 10px;
  border-radius: var(--r-chip);
}
.hero__pin svg {
  width: 16px;
  height: 16px;
  stroke: var(--c-primary);
}

.hero__sub {
  font-size: 1.1rem;
  max-width: 54ch;
  color: rgba(255,255,255,.92);
  margin-bottom: var(--s-6);
}

/* Google rating, first thing you see */
.rating-card {
  display: inline-flex;
  align-items: center;
  gap: var(--s-4);
  background: #fff;
  border-radius: var(--r-md);
  padding: 12px 20px 12px 16px;
  margin-bottom: var(--s-6);
  max-width: 100%;
}
.rating-card__g { width: 34px; height: 34px; flex: none; object-fit: contain; }
.rating-card__body { line-height: 1.3; }
.rating-card__top { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.rating-card__score {
  font-family: var(--f-head); font-size: 1.3rem; font-weight: 700; color: var(--c-navy);
}
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; fill: var(--c-star); }
.rating-card__meta { font-size: .85rem; color: var(--c-muted); }
.rating-card__meta strong { color: var(--c-text-strong); font-weight: 600; }

.hero__points {
  display: grid;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}
.hero__points li {
  display: flex; align-items: flex-start; gap: var(--s-3);
  color: rgba(255,255,255,.93);
  font-size: .98rem;
}
.hero__points svg { width: 20px; height: 20px; flex: none; margin-top: 3px; stroke: #8fb6e6; }

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* --------------------------------------------------------- Quote form -- */

.quote-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid rgba(255,255,255,.14);
}
.quote-card__head { margin-bottom: var(--s-4); }
.quote-card__title {
  font-family: var(--f-head); font-size: 1.35rem; font-weight: 600;
  color: var(--c-navy); margin: 0 0 var(--s-1); line-height: 1.25;
}
.quote-card__note { font-size: .88rem; color: var(--c-muted); margin: 0; }

.field { margin-bottom: var(--s-3); }
.field__label {
  display: block;
  font-family: var(--f-head);
  font-size: .85rem; font-weight: 600;
  color: var(--c-navy);
  margin-bottom: var(--s-1);
}
.field__label .req { color: #c0392b; }

.input, .select, .textarea {
  width: 100%;
  font-family: var(--f-text);
  font-size: .97rem;
  color: var(--c-text-strong);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-input);
  padding: 11px 14px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input::placeholder, .textarea::placeholder { color: #9aa6b5; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(79,130,196,.18);
}
.textarea { resize: vertical; min-height: 72px; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%236b7a8d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }

.form-send__label {
  font-family: var(--f-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-navy);
  text-align: center;
  margin: 0 0 var(--s-3);
}
.form-send {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: var(--s-3);
}
.form-send__btn { width: 100%; padding: 15px 16px; font-size: .93rem; }
.form-send__btn svg { width: 17px; height: 17px; }

.form-foot {
  margin-top: var(--s-4);
  font-size: .8rem;
  color: var(--c-muted);
  text-align: center;
  line-height: 1.5;
}
.form-reassure {
  display: flex; align-items: center; justify-content: center;
  gap: var(--s-2); margin-top: var(--s-3);
  font-size: .82rem; color: var(--c-success); font-weight: 500;
}
.form-reassure svg { width: 15px; height: 15px; }

.form-status {
  margin-top: var(--s-4);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-input);
  font-size: .9rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: #e8f6ed; color: #1b6b3a; border: 1px solid #b7e2c7; }
.form-status--err { background: #fdecec; color: #9b1c1c; border: 1px solid #f3c0c0; }
.form-send__btn:disabled { opacity: .65; cursor: wait; }

.quote-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 460px;
  padding: var(--s-8) var(--s-4);
}
.quote-thanks[hidden] { display: none; }
.quote-thanks__mark {
  width: 120px;
  height: 120px;
  margin: 0 0 var(--s-6);
  border-radius: 50%;
  background: var(--c-success);
  color: #fff;
  display: grid;
  place-items: center;
}
.quote-thanks__mark svg { width: 68px; height: 68px; }
.quote-thanks__title {
  font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.15rem);
  margin-bottom: var(--s-3);
}
.quote-thanks__title:focus { outline: none; }
.quote-thanks__text {
  max-width: 34ch;
  margin: 0;
  font-size: 1.08rem;
  color: var(--c-text-strong);
}

/* --------------------------------------------------------- Trust strip -- */

.trustbar {
  background: var(--c-surface);
  position: relative;
  z-index: 5;
  padding-block: clamp(28px, 3.5vw, 48px);
}
.trustbar__row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-inline: clamp(20px, 4vw, 64px);
}
.trustbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-3);
  background: transparent;
}
.trustbar__badge {
  height: 52px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}
.trustbar__copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.trustbar__label {
  font-family: var(--f-head);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--c-navy);
  line-height: 1.3;
}
.trustbar__sub { font-size: .88rem; color: var(--c-muted); line-height: 1.45; }

/* ----------------------------------------------------------- Two-col -- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}

.checklist { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.checklist li { display: flex; align-items: flex-start; gap: var(--s-3); }
.checklist svg {
  width: 22px; height: 22px; flex: none; margin-top: 2px; stroke: var(--c-primary);
}
.checklist strong { color: var(--c-navy); font-weight: 600; }

.split__side { display: grid; gap: var(--s-6); align-content: start; }
.side-shot {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-border-soft);
}
.side-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

.aside-card {
  background: var(--c-navy);
  color: var(--c-on-dark-muted);
  border-radius: var(--r-md);
  padding: clamp(24px, 2.6vw, 36px);
}
.aside-card h3 { color: #fff; }
.aside-card__list { display: grid; gap: var(--s-4); margin: var(--s-5) 0 var(--s-6); }
.aside-card__list li { display: flex; gap: var(--s-3); align-items: flex-start; font-size: .95rem; }
.aside-card__list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; stroke: #8fb6e6; }

/* ----------------------------------------------------------- Cards -- */

.grid { display: grid; gap: var(--s-6); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  padding: clamp(24px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  transition: border-color var(--t-base), transform var(--t-base);
}
.card:hover { border-color: var(--c-primary); transform: translateY(-2px); }
.card--media { padding: 0; overflow: hidden; }
.card__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: clamp(24px, 2.4vw, 32px);
}
/* icon lifts over the bottom edge of the photo */
.card--media .card__icon {
  margin-top: -46px;
  background: #fff;
  border: 1px solid var(--c-border-soft);
}

.card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: #eef4fb;
  display: grid; place-items: center;
  margin-bottom: var(--s-5);
}
.card__icon svg { width: 24px; height: 24px; stroke: var(--c-primary); }
.card h3 { font-size: 1.3rem; margin-bottom: var(--s-3); }
.card p { font-size: .97rem; }
.card__list { display: grid; gap: var(--s-2); margin-top: var(--s-4); }
.card__list li {
  position: relative; padding-left: 22px; font-size: .92rem; color: var(--c-muted);
}
.card__list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--c-primary);
}
.card__link {
  margin-top: auto; padding-top: var(--s-5);
  font-family: var(--f-head); font-weight: 600; font-size: .95rem;
  display: inline-flex; align-items: center; gap: var(--s-2);
}
.card__link svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.card__link:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------- Process -- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--s-8) var(--s-6);
}
.step { position: relative; }

.step__badge {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(79, 130, 196, .2);
  border: 1px solid rgba(143, 182, 230, .42);
  display: grid;
  place-items: center;
  margin-bottom: var(--s-5);
}
.step__badge > svg { width: 26px; height: 26px; stroke: #9fc3ea; }
.step__num {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  border: 2px solid var(--c-navy);
  display: grid;
  place-items: center;
  font-family: var(--f-head);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
}
.step h3 { font-size: 1.22rem; margin-bottom: var(--s-2); }
.step p { font-size: .95rem; }

/* hairline joining the badges, only while all four sit on one row */
@media (min-width: 1041px) {
  .step::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 72px;
    right: calc(-1 * var(--s-6));
    height: 1px;
    background: linear-gradient(90deg, rgba(143, 182, 230, .5), rgba(143, 182, 230, .1));
  }
  .step:last-child::before { display: none; }
}

/* ------------------------------------------------------------ Gallery -- */

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s-6); }
.shot { border-radius: var(--r-md); overflow: hidden; background: var(--c-elevated); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shot__cap { padding: var(--s-5) var(--s-5) var(--s-6); background: #fff; border: 1px solid var(--c-border-soft); border-top: 0; }
.shot__cap h3 { font-size: 1.12rem; margin-bottom: var(--s-2); }
.shot__cap p { font-size: .93rem; color: var(--c-muted); }

/* -------------------------------------------------------------- Why -- */

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s-6) var(--s-10); }
.why-item { display: flex; gap: var(--s-4); align-items: flex-start; }
.why-item__icon {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  background: var(--c-navy); border: 1px solid var(--c-navy);
  display: grid; place-items: center;
}
.why-item__icon svg { width: 20px; height: 20px; stroke: #fff; }
.why-item h3 { font-size: 1.05rem; margin-bottom: var(--s-1); }
.why-item p { font-size: .93rem; color: var(--c-muted); }

/* ---------------------------------------------------------- Reviews -- */

.reviews-strip { background: var(--c-elevated-warm); overflow: hidden; }

.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  flex-wrap: wrap;
  margin-bottom: var(--s-10);
}
.reviews-head__actions { display: flex; align-items: center; gap: var(--s-4); }
.rev-card__text strong { color: var(--c-navy); font-weight: 700; }

.reviews-score {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-6);
}
.reviews-score__g { width: 40px; height: 40px; flex: none; object-fit: contain; }
.reviews-score__num {
  display: block;
  font-family: var(--f-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1;
}
.reviews-score__meta { font-size: .88rem; color: var(--c-muted); margin-top: var(--s-1); }

/* Five stars drawn as a repeating background, keeps 52 cards out of the DOM */
.stars5 {
  display: block;
  width: 92px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23f5a623' d='m12 2 3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1L12 2Z'/%3E%3C/svg%3E");
  background-size: 18.4px 16px;
  background-repeat: repeat-x;
}
.stars5--lg {
  width: 115px;
  height: 20px;
  background-size: 23px 20px;
  margin-top: var(--s-2);
}

/* Marquee rows */
.marquee {
  position: relative;
  display: grid;
  gap: var(--s-5);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.marquee__row {
  overflow: hidden;
  /* Room for the hover lift + border so overflow doesn't clip them */
  padding-block: 6px;
  margin-block: -6px;
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__track--a { animation: marquee-a 78s linear infinite; }
.marquee__track--b { animation: marquee-b 94s linear infinite; }
.marquee__track--featured .rev-card { width: 420px; }
.marquee__track--featured .rev-card__text {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}
@media (max-width: 760px) {
  .marquee.is-swipe { -webkit-mask-image: none; mask-image: none; }
  .marquee.is-swipe .marquee__track { animation: none; }
  .marquee.is-swipe .marquee__row {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline: 16px;
    padding-inline: 16px;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
  }
  .marquee.is-swipe .marquee__row::-webkit-scrollbar { display: none; }
  .marquee.is-swipe.is-dragging .marquee__row { scroll-snap-type: x mandatory; }
  .marquee.is-swipe .rev-card { scroll-snap-align: start; }
  .marquee.is-swipe .marquee__track--featured .rev-card { width: min(420px, calc(100vw - 72px)); }
}

@keyframes marquee-a { from { transform: translateX(0);     } to { transform: translateX(-50%); } }
@keyframes marquee-b { from { transform: translateX(-50%); } to { transform: translateX(0);     } }

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track,
.marquee.is-paused .marquee__track { animation-play-state: paused; }

/* Review card */
.rev-card {
  flex: 0 0 auto;
  width: 340px;
  margin-right: var(--s-5);        /* margin, not gap, so the 50% loop is seamless */
  background: #d9e6f5;
  border: 1px solid #c5d7ec;
  border-radius: var(--r-md);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  /* Use shadow for the lift so the border isn't clipped by the marquee overflow */
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.rev-card:hover {
  border-color: var(--c-primary);
  box-shadow: 0 8px 18px rgba(8, 38, 75, .1);
}
.rev-card__text {
  margin: 0;
  flex: 1 1 auto;
  font-size: .95rem;
  color: var(--c-text-strong);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rev-card__who { display: flex; align-items: center; gap: var(--s-3); }
.rev-card__avatar {
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  background: #eef4fb;
  color: var(--c-primary);
  display: grid; place-items: center;
  font-family: var(--f-head); font-weight: 700; font-size: .95rem;
}
.rev-card__id { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.rev-card__name {
  font-family: var(--f-head); font-weight: 600; font-size: .92rem;
  color: var(--c-navy);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rev-card__src { font-size: .78rem; color: #4a5b6e; }

.reviews-strip__foot { margin-top: var(--s-10); text-align: center; }

/* ------------------------------------------------------------ Areas -- */

.areas__inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.area-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6); }
.area-chip {
  display: inline-block;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--c-border-dark);
  color: #fff;
  border-radius: var(--r-chip);
  padding: 7px 16px;
  font-size: .88rem;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.area-chip:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.map-frame { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--c-border-dark); }

/* -------------------------------------------------------------- FAQ -- */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4);
  max-width: 1020px;
  margin-inline: auto;
}

.faq-tile {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  text-align: left;
  font-family: inherit;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-input);
  padding: var(--s-5);
  cursor: pointer;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.faq-tile:hover {
  border-color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(8, 38, 75, .09);
}
.faq-tile__n {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eef4fb;
  color: var(--c-primary);
  display: grid;
  place-items: center;
  font-family: var(--f-head);
  font-size: .82rem;
  font-weight: 700;
  transition: background var(--t-base), color var(--t-base);
}
.faq-tile:hover .faq-tile__n { background: var(--c-primary); color: #fff; }
.faq-tile__q {
  flex: 1 1 auto;
  font-family: var(--f-head);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-navy);
}
.faq-tile__arrow {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-elevated);
  color: var(--c-navy);
  display: grid;
  place-items: center;
  transition: background var(--t-base), color var(--t-base), transform var(--t-base);
}
.faq-tile__arrow svg { width: 16px; height: 16px; }
.faq-tile:hover .faq-tile__arrow {
  background: var(--c-primary);
  color: #fff;
  transform: translateX(3px);
}

/* answers live in the page for crawlers; the dialog reads them from here */
.faq-answer { display: none; }

/* No JavaScript: fall back to a plain question-and-answer list, since the
   tiles cannot open a dialog and the answers must still be readable. */
html:not(.js) .faq-grid { grid-template-columns: 1fr; max-width: 840px; }
html:not(.js) .faq-tile {
  cursor: default;
  border-radius: var(--r-input) var(--r-input) 0 0;
  border-bottom: 0;
}
html:not(.js) .faq-tile:hover { transform: none; box-shadow: none; border-color: var(--c-border); }
html:not(.js) .faq-tile__arrow { display: none; }
html:not(.js) .faq-answer {
  display: block;
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 0;
  border-radius: 0 0 var(--r-input) var(--r-input);
  padding: 0 var(--s-5) var(--s-5) calc(var(--s-5) + 38px + var(--s-4));
  font-size: .95rem;
}

.faq-cta {
  max-width: 1020px;
  margin: var(--s-10) auto 0;
  background: var(--c-navy);
  border-radius: var(--r-md);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
  flex-wrap: wrap;
}
.faq-cta h3 { color: #fff; margin-bottom: var(--s-2); }
.faq-cta p { color: var(--c-on-dark-muted); max-width: 52ch; margin: 0; font-size: .97rem; }
.faq-cta__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* ------------------------------------------------------------ Dialog -- */

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: var(--s-5);
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 28, 56, .64);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  animation: modal-fade .2s ease-out;
}
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--r-md);
  padding: clamp(28px, 3vw, 40px);
  animation: modal-in .28s cubic-bezier(.22, .61, .36, 1);
}
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-elevated);
  border: 0;
  color: var(--c-navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--t-fast), color var(--t-fast);
}
.modal__close:hover { background: var(--c-navy); color: #fff; }
.modal__close svg { width: 18px; height: 18px; }

.modal__eyebrow {
  display: inline-block;
  font-family: var(--f-head);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--s-3);
}
.modal__title {
  font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem);
  margin-bottom: var(--s-4);
  padding-right: var(--s-10);
}
.modal__body { color: var(--c-text); }
.modal__body p { margin-bottom: var(--s-4); }
.modal__body p:last-child { margin-bottom: 0; }

.modal__foot {
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--c-border-soft);
}
.modal__foot-text { font-size: .95rem; margin-bottom: var(--s-5); }
.modal__foot-text strong { color: var(--c-navy); }
.modal__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.modal__actions .btn { padding: 12px 22px; font-size: .93rem; }

body.modal-open { overflow: hidden; }

/* --------------------------------------------------- Did you know -- */

.know-banner {
  background:
    linear-gradient(180deg, #e8eef6 0%, #f3f6fa 100%);
  border-block: 1px solid var(--c-border-soft);
  padding-block: clamp(40px, 5vw, 64px);
}
.know-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.know-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-primary);
  background: rgba(79, 130, 196, .12);
  border: 1px solid rgba(79, 130, 196, .28);
  border-radius: var(--r-chip);
  padding: 6px 12px;
  margin-bottom: var(--s-4);
}
.know-banner__warn {
  letter-spacing: 0;
  text-transform: none;
  font-size: 1rem;
  line-height: 1;
}
.know-banner h2 {
  font-size: clamp(1.45rem, 1.2rem + 1.1vw, 1.9rem);
  margin: 0 0 var(--s-4);
  max-width: 22ch;
}
.know-banner__copy p {
  margin: 0;
  color: var(--c-text);
  max-width: 54ch;
  line-height: 1.65;
}
/* A banner that is only the label plus one paragraph (home "Did you know")
   should use the full row instead of leaving an empty second column. */
.know-banner__inner:not(:has(.know-banner__points)) {
  grid-template-columns: minmax(0, 1fr);
}
.know-banner__inner:not(:has(.know-banner__points)) .know-banner__copy p {
  max-width: 78ch;
}
.know-banner__inner:has(.know-banner__mark) {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.know-banner__mark {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(8rem, 16vw, 13rem);
  line-height: .75;
  color: var(--c-primary);
  justify-self: end;
  transform-origin: 50% 85%;
}
.know-banner.is-awake .know-banner__mark {
  animation: know-wiggle 2s ease-in-out infinite;
}
@keyframes know-wiggle {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(-8deg); }
  20% { transform: rotate(7deg); }
  30% { transform: rotate(-3deg); }
  40%, 100% { transform: rotate(0deg); }
}
.know-banner__points {
  display: grid;
  gap: var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.know-banner__points li {
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
  box-shadow: 0 6px 18px rgba(8, 38, 75, .04);
}
.know-banner__points strong {
  display: block;
  font-family: var(--f-head);
  font-size: .95rem;
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: var(--s-1);
}
.know-banner__points span {
  display: block;
  font-size: .92rem;
  color: var(--c-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------- CTA band -- */

.cta-band {
  background: linear-gradient(115deg, var(--c-primary) 0%, var(--c-navy) 62%);
  color: #fff;
}
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-10); flex-wrap: wrap;
  padding-block: clamp(44px, 5vw, 72px);
}
.cta-band h2 { color: #fff; margin-bottom: var(--s-3); }
.cta-band p { color: rgba(255,255,255,.85); max-width: 52ch; }
.cta-band__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* ----------------------------------------------------------- Footer -- */

.site-footer {
  background: var(--c-surface);
  color: var(--c-text);
  font-size: .94rem;
  border-top: 1px solid var(--c-border-soft);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: var(--s-10);
  padding-block: clamp(48px, 5vw, 72px);
}
.site-footer h4 {
  color: var(--c-navy);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: var(--s-5);
  font-weight: 600;
}
.site-footer a { color: var(--c-text); }
.site-footer a:hover { color: var(--c-primary); }
.footer__about { max-width: 34ch; margin-top: var(--s-5); color: var(--c-muted); }
.footer__list { display: grid; gap: var(--s-3); }
.footer__contact li { display: flex; gap: var(--s-3); align-items: flex-start; margin-bottom: var(--s-3); }
.footer__contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; stroke: var(--c-primary); }

.socials { display: flex; gap: var(--s-2); margin-top: var(--s-5); }
.social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  display: grid;
  place-items: center;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.social svg { width: 17px; height: 17px; fill: var(--c-navy); transition: fill var(--t-fast); }
.social:hover { background: var(--c-primary); border-color: var(--c-primary); }
.social:hover svg { fill: #fff; }

.footer__bottom {
  border-top: 1px solid var(--c-border-soft);
  padding-block: var(--s-5);
  padding-inline-end: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--c-muted);
}
.footer__bottom a {
  color: var(--c-primary);
  font-weight: 600;
}

.page-index {
  display: grid;
  gap: var(--s-4);
  margin: var(--s-8) 0 0;
  padding: 0;
  list-style: none;
}
.page-index__item {
  background: var(--c-elevated-warm);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--s-6);
}
.page-index__item h2 {
  font-size: 1.35rem;
  margin: 0 0 var(--s-3);
}
.page-index__url {
  margin: 0 0 var(--s-4);
  word-break: break-word;
}
.page-index__label {
  display: block;
  margin-bottom: var(--s-1);
  color: var(--c-navy);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.page-index__item p { margin: 0 0 var(--s-4); }
.page-index__item p:last-child { margin-bottom: 0; }
.sitemap-feed {
  background: #d9e6f5;
  border: 1px solid #c5d7ec;
  border-radius: var(--r-md);
  padding: var(--s-6);
}
.sitemap-feed h2 { margin: 0 0 var(--s-3); font-size: 1.35rem; }
.sitemap-feed p { margin: 0; word-break: break-word; }

/* ------------------------------------------------------- Floating UI -- */

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--c-whatsapp);
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
  transition: transform var(--t-fast);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

.mobile-bar { display: none; }

/* ====================================================================
   Motion, scroll reveals and hover states
   Reveal styles are gated behind .js so the page stays fully visible
   when JavaScript is unavailable.
   ==================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .65s cubic-bezier(.22, .61, .36, 1),
    transform .65s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal="left"]  { transform: translateX(-24px); }
.js [data-reveal="right"] { transform: translateX(24px); }
/* Below this the page gutter is narrower than the slide, so a horizontal
   offset would hang outside the viewport and scroll the page sideways. */
@media (max-width: 1040px) {
  .js [data-reveal="left"],
  .js [data-reveal="right"] { transform: translateY(20px); }
}
.js [data-reveal="scale"] { transform: scale(.95); }
.js [data-reveal="fade"]  { transform: none; }

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Trust strip: the row itself stays put. Only the icon and the words move in. */
.js .trustbar__item[data-reveal] {
  opacity: 1;
  transform: none;
}
.js .trustbar__item .trustbar__badge,
.js .trustbar__item .trustbar__copy {
  opacity: 0;
  transform: translateY(14px);
}
.js .trustbar__item.is-visible .trustbar__badge,
.js .trustbar__item.is-visible .trustbar__copy {
  opacity: 1;
  transform: none;
  animation: trust-rise .65s cubic-bezier(.22, .61, .36, 1) backwards;
}
.js .trustbar__item.is-visible .trustbar__badge { animation-delay: var(--reveal-delay, 0ms); }
.js .trustbar__item.is-visible .trustbar__copy { animation-delay: calc(var(--reveal-delay, 0ms) + 80ms); }

@keyframes trust-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Children of a staggered container come in one after another */
[data-stagger] > *:nth-child(2) { --reveal-delay:  70ms; }
[data-stagger] > *:nth-child(3) { --reveal-delay: 140ms; }
[data-stagger] > *:nth-child(4) { --reveal-delay: 210ms; }
[data-stagger] > *:nth-child(5) { --reveal-delay: 280ms; }
[data-stagger] > *:nth-child(6) { --reveal-delay: 350ms; }
[data-stagger] > *:nth-child(7) { --reveal-delay: 420ms; }
[data-stagger] > *:nth-child(8) { --reveal-delay: 490ms; }

/* ------------------------------------------------- Header on scroll -- */
.site-header { transition: box-shadow var(--t-base); }
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(6, 28, 56, .3); }

/* ------------------------------------------------------ Hover states -- */

/* Photo cards: gentle push-in on the image, lift on the card */
.card--media .card__media,
.shot img,
.side-shot img,
.prem__media {
  transition: transform .7s cubic-bezier(.22, .61, .36, 1);
}
.card--media:hover .card__media,
.shot:hover img,
.side-shot:hover img,
.prem--media:hover .prem__media { transform: scale(1.06); }

.shot { transition: border-color var(--t-base), transform var(--t-base); }
.shot:hover { transform: translateY(-3px); }

/* Service card icon reacts with the card */
.card__icon { transition: background var(--t-base), border-color var(--t-base); }
.card:hover .card__icon { background: var(--c-primary); }
.card:hover .card__icon svg { stroke: #fff; }
.card__icon svg { transition: stroke var(--t-base); }

/* Trust badges: lift the icon and the words, leave the strip still */
.trustbar__badge,
.trustbar__copy { transition: transform var(--t-base); }
.trustbar__label { transition: color var(--t-base); }
.trustbar__item:hover .trustbar__badge,
.js .trustbar__item.is-visible:hover .trustbar__badge { transform: translateY(-4px) scale(1.06); }
.trustbar__item:hover .trustbar__copy,
.js .trustbar__item.is-visible:hover .trustbar__copy { transform: translateY(-2px); }
.trustbar__item:hover .trustbar__label { color: var(--c-primary-dark); }

/* Process steps */
.step__badge {
  transition: background var(--t-base), border-color var(--t-base), transform var(--t-base);
}
.step:hover .step__badge {
  background: rgba(79, 130, 196, .36);
  border-color: rgba(143, 182, 230, .8);
  transform: translateY(-3px);
}
.step__badge > svg { transition: stroke var(--t-base); }
.step:hover .step__badge > svg { stroke: #fff; }

/* Why-we items */
.why-item__icon { transition: background var(--t-base), border-color var(--t-base), transform var(--t-base); }
.why-item:hover .why-item__icon {
  background: var(--c-primary);
  border-color: var(--c-primary);
  transform: translateY(-2px);
}
.why-item__icon svg { transition: stroke var(--t-base); }
.why-item:hover .why-item__icon svg { stroke: #fff; }

/* Coverage chips */
.area-chip { transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.area-chip:hover { transform: translateY(-2px); }

/* FAQ tiles handle their own hover above */

/* Buttons get a touch of depth on the primary action */
.btn--primary, .btn--whatsapp {
  transition:
    background var(--t-fast), color var(--t-fast),
    border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn--primary:hover { box-shadow: 0 8px 22px rgba(79, 130, 196, .35); }
.btn--whatsapp:hover { box-shadow: 0 8px 22px rgba(37, 211, 102, .35); }

/* Footer links: same fancy underline as the nav */
.footer__list a {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  transition: color var(--t-fast);
}
.footer__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--c-primary) 18%, var(--c-navy) 50%, var(--c-primary) 82%, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .28s cubic-bezier(.22, .61, .36, 1), opacity .28s ease;
  opacity: 0;
  pointer-events: none;
}
.footer__list a:hover::after,
.footer__list a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}
.footer__contact a {
  display: inline-block;
  transition: color var(--t-fast);
}

.social { transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.social:hover { transform: translateY(-2px); }

/* Job-type tiles in the quote form */

/* ====================================================================
   Demo components, estimator, pricing, deliverables, stats,
   interval finder, coverage checker, desktop quote bar
   ==================================================================== */

/* ------------------------------------------------- Live estimate -- */
.estimate[hidden] { display: none; }
.estimate {
  background: #eef4fb;
  border: 1px solid #cfe0f5;
  border-radius: var(--r-input);
  padding: var(--s-4);
  margin-bottom: var(--s-4);
  animation: estimate-in .3s cubic-bezier(.22, .61, .36, 1);
}
@keyframes estimate-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.estimate__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
}
.estimate__label { font-size: .84rem; color: var(--c-muted); }
.estimate__value {
  font-family: var(--f-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--c-navy);
  white-space: nowrap;
}
.estimate__note { font-size: .76rem; color: var(--c-muted); margin: var(--s-2) 0 0; line-height: 1.5; }

/* --------------------------------------------- Proof by the form -- */
.form-proof {
  margin: var(--s-4) 0 0;
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-border-soft);
  text-align: center;
}
.form-proof .stars5 { margin: 0 auto var(--s-2); }
.form-proof blockquote {
  margin: 0;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--c-text-strong);
}
.form-proof figcaption { margin-top: var(--s-2); font-size: .77rem; color: var(--c-muted); }

/* ----------------------------------------- Desktop quote bar -- */
.quotebar {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  z-index: 990;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 8px 24px rgba(8, 38, 75, .09);
  transform: translateY(-130%);
  visibility: hidden;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), visibility .35s;
}
.quotebar.is-visible { transform: none; visibility: visible; }
.quotebar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: 62px;
}
.quotebar__text { margin: 0; font-size: .94rem; color: var(--c-text); }
.quotebar__text strong { color: var(--c-navy); }
.quotebar__actions { display: flex; align-items: center; gap: var(--s-3); }
.quotebar__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--f-head);
  font-weight: 600;
  color: var(--c-navy);
}
.quotebar__phone svg { width: 16px; height: 16px; }
.quotebar__phone:hover { color: var(--c-primary); }
.quotebar__btn { padding: 10px 20px; font-size: .9rem; }

/* ----------------------------------------------------- Pricing -- */
.pricing .price-card {
  background: #fff;
  color: var(--c-text);
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
}
.pricing .price-card:hover {
  border-color: #8fb6e6;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
}
.pricing .price-card--featured {
  border: 2px solid var(--c-primary);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
}
.pricing .price-foot {
  color: var(--c-on-dark-muted);
}
.pricing .price-foot a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pricing .price-foot a:hover { color: #8fb6e6; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--s-6);
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  padding: clamp(24px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.price-card:hover {
  border-color: var(--c-primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(8, 38, 75, .08);
}
.price-card--featured { border: 2px solid var(--c-primary); }
.price-card__flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-primary);
  color: #fff;
  font-family: var(--f-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 15px;
  border-radius: var(--r-chip);
  white-space: nowrap;
}
.price-card__name {
  font-family: var(--f-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-navy);
  margin: 0 0 var(--s-1);
}
.price-card__for { font-size: .88rem; color: var(--c-muted); margin-bottom: var(--s-5); }
.price-card__amount {
  font-family: var(--f-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1;
  margin: 0 0 var(--s-1);
}
.price-card__from {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--c-muted);
  margin-bottom: var(--s-1);
}
.price-card__value--text {
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  line-height: 1.2;
}

.price-card__basis {
  font-size: .89rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: var(--s-5);
}
.price-card__list { display: grid; gap: var(--s-2); margin-bottom: var(--s-6); }
.price-card__list li { position: relative; padding-left: 24px; font-size: .92rem; }
.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 13px;
  height: 8px;
  border-left: 2px solid var(--c-primary);
  border-bottom: 2px solid var(--c-primary);
  transform: rotate(-45deg);
}
.price-card .btn { margin-top: auto; }
.price-foot {
  text-align: center;
  max-width: 74ch;
  margin: var(--s-10) auto 0;
  font-size: .95rem;
  color: var(--c-muted);
  text-wrap: pretty;
}

/* ------------------------------------------ What you receive -- */
.receive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-6);
  align-items: stretch;
}
.receive-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.receive-card__visual {
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  padding: var(--s-5);
  display: grid;
  place-items: center;
  height: 280px;
  margin-bottom: var(--s-5);
  overflow: hidden;
}
.receive-card h3 {
  font-size: 1.15rem;
  margin: 0 0 var(--s-2);
  min-height: 2.6em; /* keep titles on a shared baseline across cards */
}
.receive-card p {
  font-size: .94rem;
  color: var(--c-muted);
  margin: 0;
  flex: 1;
}

/* Shared mock footprint so the three samples feel the same size */
.patlabel,
.doc,
.register {
  width: 100%;
  max-width: 220px;
}

/* appliance label */
.patlabel {
  background: #fff;
  border: 2px solid var(--c-navy);
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--f-head);
}
.patlabel__top {
  background: var(--c-success);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .2em;
}
.patlabel__fields { margin: 0; padding: 14px 15px; display: grid; gap: 8px; }
.patlabel__fields > div { display: flex; justify-content: space-between; gap: 10px; font-size: .76rem; }
.patlabel dt { margin: 0; color: var(--c-muted); font-weight: 500; }
.patlabel dd { margin: 0; color: var(--c-navy); font-weight: 700; }

/* certificate */
.doc {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 12px 13px;
}
.doc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-border-soft);
}
.doc__brand {
  font-family: var(--f-head);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--c-navy);
}
.doc__badge {
  font-size: .52rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: var(--c-elevated);
  color: var(--c-muted);
  padding: 3px 6px;
  border-radius: 3px;
}
.doc__title {
  font-family: var(--f-head);
  font-size: .84rem;
  font-weight: 600;
  color: var(--c-navy);
  line-height: 1.25;
  margin: 9px 0 10px;
}
.doc__meta { margin: 0; display: grid; gap: 4px; }
.doc__meta > div { display: flex; justify-content: space-between; gap: 10px; font-size: .66rem; }
.doc__meta dt { margin: 0; color: var(--c-muted); }
.doc__meta dd { margin: 0; font-weight: 600; color: var(--c-text-strong); }
.doc__pass { color: var(--c-success); }
.doc__fail { color: #c0392b; }
.doc__sign {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--c-border);
  font-size: .55rem;
  color: var(--c-muted);
}

/* asset register */
.register {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  overflow: hidden;
}
.register__head,
.register__row {
  display: grid;
  grid-template-columns: 1.05fr 1fr .72fr;
  gap: 6px;
  padding: 8px 11px;
  font-size: .68rem;
}
.register__head {
  background: var(--c-navy);
  color: #fff;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.register__row { border-top: 1px solid var(--c-border-soft); color: var(--c-text-strong); }
.register__ok { color: var(--c-success); font-weight: 700; }
.register__no { color: #c0392b; font-weight: 700; }
.register__more {
  padding: 8px 11px;
  background: var(--c-elevated-warm);
  border-top: 1px solid var(--c-border-soft);
  font-size: .62rem;
  color: var(--c-muted);
}

/* ------------------------------------------------------- Stats -- */
.stats { background: var(--c-navy); padding-block: clamp(40px, 4.5vw, 66px); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: var(--s-6);
  text-align: center;
}
.stat {
  position: relative;
  cursor: default;
}
.stat__num {
  display: block;
  font-family: var(--f-head);
  font-size: clamp(2.3rem, 1.7rem + 2vw, 3.3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: var(--s-2);
  font-variant-numeric: tabular-nums;
  transition: transform var(--t-base);
  will-change: transform;
}
.stat:hover .stat__num { transform: translateY(-3px) scale(1.06); }
.stat__label { display: block; font-size: .92rem; color: var(--c-on-dark-muted); }

/* Confetti pieces are appended to <body> so they aren't clipped by the section */
.confetti-piece {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 11px;
  margin: 0;
  border-radius: 2px;
  pointer-events: none;
  z-index: 10000;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg);
  animation: confetti-burst .9s cubic-bezier(.15, .75, .25, 1) forwards;
}
.confetti-piece.is-round { border-radius: 50%; width: 7px; height: 7px; }
.confetti-piece.is-ribbon { width: 4px; height: 14px; border-radius: 1px; }

@keyframes confetti-burst {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform:
      translate3d(var(--dx), var(--dy), 0)
      rotate(var(--rot))
      scale(.7);
  }
}

/* --------------------------------------------- Quick tools -- */
.tools-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.tools-section__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--c-elevated-warm);
  background-image: image-set(
    url("../img/plug-fuse-inspection.webp") type("image/webp"),
    url("../img/plug-fuse-inspection.jpg") type("image/jpeg")
  );
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}
.tools-section__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(247, 249, 252, .97) 0%,
      rgba(247, 249, 252, .94) 38%,
      rgba(247, 249, 252, .78) 62%,
      rgba(247, 249, 252, .55) 100%),
    linear-gradient(180deg,
      rgba(247, 249, 252, .7) 0%,
      transparent 18%,
      transparent 82%,
      rgba(247, 249, 252, .85) 100%);
}
.tools-section__head { position: relative; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6);
  position: relative;
}
.tool-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  padding: clamp(22px, 2.6vw, 32px);
  box-shadow: 0 12px 32px rgba(8, 38, 75, .08);
  backdrop-filter: blur(6px);
  height: 100%;
}
.tool-card__intro h3 {
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.45rem);
  margin: 0 0 var(--s-3);
}
.tool-card__intro p {
  margin: 0 0 var(--s-5);
  color: var(--c-text);
  font-size: .95rem;
}
.tool-card__price-lead {
  margin: 0 0 var(--s-3) !important;
  font-family: var(--f-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-navy);
}
.tool-card__price-lead strong {
  color: var(--c-primary);
  font-weight: 700;
}
.tool-card__body {
  background: var(--c-elevated-warm);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: clamp(18px, 2vw, 24px);
  flex: 1;
}
.tool-card__prompt {
  margin: 0 0 var(--s-4);
  font-family: var(--f-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-primary);
}
.tool-card__field {
  margin-bottom: var(--s-4);
}
.tool-card__field .field__label {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-2);
  font-size: .9rem;
}
.tool-card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--c-navy);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  flex: none;
}
.tool-card__control.input,
.tool-card__control.select {
  min-height: 52px;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  background: #fff;
  border: 2px solid #c5d0de;
  border-radius: 12px;
  box-shadow: inset 0 1px 2px rgba(8, 38, 75, .06);
}
.tool-card__control.select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%2308264b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.tool-card__control.input::placeholder {
  color: #7a8798;
  font-weight: 400;
}
.tool-card__control.input:hover,
.tool-card__control.select:hover {
  border-color: var(--c-primary);
}
.tool-card__control.input:focus,
.tool-card__control.select:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(79, 130, 196, .22);
  background: #fff;
}
.tool-card__result {
  margin-top: var(--s-2);
  padding: var(--s-4);
  border: 1px dashed #b7c4d4;
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
  min-height: 116px;
}
.tool-card__result-label {
  margin: 0 0 var(--s-2);
  font-family: var(--f-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.tool-card__caveat {
  font-size: .82rem;
  color: var(--c-muted);
  border-left: 3px solid var(--c-primary);
  padding-left: var(--s-4);
  margin: var(--s-5) 0 0;
  line-height: 1.5;
}
.finder__placeholder { font-size: .9rem; color: var(--c-muted); margin: 0; }
.finder__interval {
  font-family: var(--f-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.05;
  margin: 0;
}
.finder__warn {
  display: inline-block;
  margin-right: .15em;
  font-size: .92em;
  vertical-align: baseline;
}
.finder__interval small {
  display: block;
  font-size: .92rem;
  font-weight: 500;
  color: var(--c-muted);
  margin-top: var(--s-2);
}
.finder__detail { font-size: .9rem; margin: var(--s-3) 0 0; }
.cost__per {
  display: block;
  margin-top: var(--s-2);
  font-size: .88rem;
  color: var(--c-muted);
}

/* -------------------------------------------- Coverage checker -- */
.checker { margin-top: var(--s-8); max-width: 470px; }
.checker__label {
  display: block;
  font-family: var(--f-head);
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--s-2);
}
.checker__form { display: flex; gap: var(--s-2); }
.checker__input { flex: 1 1 auto; text-transform: uppercase; }
.checker__input::placeholder { text-transform: none; }
.checker__btn { flex: none; }
.checker__result {
  margin: var(--s-3) 0 0;
  font-size: .92rem;
  min-height: 1.45em;
  color: var(--c-on-dark-muted);
}
.checker__result.is-yes   { color: #8ff0b5; }
.checker__result.is-maybe { color: #ffd98a; }
.checker__result.is-no    { color: #ffb3a8; }


/* ====================================================================
   About page
   Shares every token and component above; only the pieces that are
   specific to /about-us/ live in this block.
   ==================================================================== */

/* ----------------------------------------------------- Page hero -- */

/* Slightly shorter than the homepage hero and balanced for the owner card */
.hero--page .hero__inner {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  padding-block: clamp(32px, 4vw, 56px) clamp(72px, 6.5vw, 104px);
}
.hero--page h1 { max-width: 18ch; }

.hero__bg--about { background-position: 65% center; }

/* Breadcrumb */
.crumbs { margin-bottom: var(--s-5); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.crumbs li {
  font-size: .82rem;
  color: rgba(255, 255, 255, .62);
  display: inline-flex; align-items: center; gap: var(--s-2);
}
.crumbs li + li::before {
  content: "/";
  color: rgba(255, 255, 255, .34);
}
.crumbs a { color: rgba(255, 255, 255, .82); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current="page"] { color: #8fb6e6; font-weight: 500; }

/* -------------------------------------------------- Owner card -- */

.owner-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
}
.owner-card__shot { position: relative; margin: 0; }
.owner-card__shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.owner-card:hover .owner-card__shot img { transform: scale(1.04); }

.owner-card__tag {
  position: absolute;
  left: var(--s-4); bottom: var(--s-4);
  display: inline-flex; align-items: center; gap: var(--s-2);
  background: rgba(6, 28, 56, .82);
  color: #fff;
  font-family: var(--f-head);
  font-size: .76rem; font-weight: 500;
  letter-spacing: .04em;
  padding: 6px 13px;
  border-radius: var(--r-chip);
  backdrop-filter: blur(4px);
}
.owner-card__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-whatsapp);
  flex: none;
  animation: owner-pulse 2.4s ease-in-out infinite;
}
@keyframes owner-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .45; transform: scale(.82); }
}

.owner-card__body { padding: var(--s-6) var(--s-6) var(--s-5); }
.owner-card__kicker {
  font-family: var(--f-head);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-primary-dark);
  margin: 0 0 var(--s-2);
}
.owner-card__name {
  font-size: 1.75rem;
  margin: 0 0 var(--s-1);
}
.owner-card__role {
  font-size: .9rem;
  color: var(--c-muted);
  margin: 0 0 var(--s-5);
}

.owner-card__creds {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  margin: 0 0 var(--s-5);
}
.owner-card__creds li {
  font-size: .79rem;
  font-weight: 500;
  color: var(--c-navy);
  background: var(--c-elevated-warm);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-chip);
  padding: 5px 12px;
}

.owner-card__actions { display: grid; gap: var(--s-2); }
.owner-card__actions .btn { padding: 13px 18px; font-size: .92rem; }

.owner-card__note {
  display: flex; align-items: flex-start; gap: var(--s-2);
  margin: var(--s-4) 0 0;
  font-size: .8rem;
  color: var(--c-muted);
  line-height: 1.5;
}
.owner-card__note svg { width: 14px; height: 14px; flex: none; margin-top: 3px; stroke: var(--c-primary); }

/* ------------------------------------------------- Pull quote -- */

.pull-quote {
  margin: var(--s-8) 0 0;
  padding: var(--s-5) 0 var(--s-5) var(--s-6);
  border-left: 3px solid var(--c-primary);
}
.pull-quote p {
  font-family: var(--f-head);
  font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-navy);
  margin: 0 0 var(--s-3);
}
.pull-quote footer { font-size: .88rem; color: var(--c-muted); }
.pull-quote__who { font-weight: 600; color: var(--c-text-strong); }

/* ---------------------------------------------------- Aim cards -- */

.aim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--s-6);
}
.aim-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  padding: var(--s-8) var(--s-6) var(--s-6);
  overflow: hidden;
  transition: border-color var(--t-base), transform var(--t-base);
}
.aim-card:hover { border-color: var(--c-primary); transform: translateY(-3px); }

.aim-card__n {
  position: absolute;
  top: var(--s-3); right: var(--s-5);
  font-family: var(--f-head);
  font-size: 3.4rem; font-weight: 700;
  line-height: 1;
  color: var(--c-navy);
  opacity: .07;
  transition: opacity var(--t-base), color var(--t-base);
}
.aim-card:hover .aim-card__n { opacity: .14; color: var(--c-primary); }

.aim-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(79, 130, 196, .1);
  border: 1px solid rgba(79, 130, 196, .22);
  margin-bottom: var(--s-5);
  transition: background var(--t-base), border-color var(--t-base);
}
.aim-card__icon svg { width: 24px; height: 24px; stroke: var(--c-primary); transition: stroke var(--t-base); }
.aim-card:hover .aim-card__icon { background: var(--c-primary); border-color: var(--c-primary); }
.aim-card:hover .aim-card__icon svg { stroke: #fff; }

.aim-card h3 { font-size: 1.22rem; margin-bottom: var(--s-3); }
.aim-card p { font-size: .96rem; margin: 0; }

/* ----------------------------------------------------- Promises -- */

/* Five items would leave a hole in a 3-across grid, so the first one is a
   taller feature card down the left and the other four sit in a 2x2 beside it. */
.promises {
  display: grid;
  grid-template-columns: 1.22fr 1fr 1fr;
  grid-auto-rows: 1fr;             /* equal rows, so the rules line up across columns */
  gap: var(--s-6) var(--s-10);
}
.promise {
  display: flex; gap: var(--s-5);
  align-items: flex-start;
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--c-border-dark);
}

.promise--lead {
  grid-column: 1;
  grid-row: 1 / span 2;
  flex-direction: column;
  gap: var(--s-5);
  height: 100%;
  padding: var(--s-8) var(--s-6);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--r-md);
  transition: background var(--t-base), border-color var(--t-base);
}
.promise--lead:hover { background: rgba(255, 255, 255, .08); border-color: rgba(143, 182, 230, .4); }
.promise--lead > div { display: flex; flex-direction: column; height: 100%; }
.promise--lead .promise__n {
  width: 60px; height: 60px;
  font-size: 1.15rem;
}
.promise--lead h3 { font-size: 1.32rem; margin-bottom: var(--s-3); }
.promise--lead p { font-size: 1rem; }
.promise__cta { align-self: flex-start; margin-top: var(--s-6); }
.promise__n {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(143, 182, 230, .4);
  background: rgba(79, 130, 196, .16);
  font-family: var(--f-head);
  font-size: .9rem; font-weight: 700;
  color: #cfe0f5;
  transition: background var(--t-base), border-color var(--t-base), color var(--t-base), transform var(--t-base);
}
.promise:hover .promise__n {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}
.promise h3 { font-size: 1.1rem; margin-bottom: var(--s-2); }
.promise p { font-size: .94rem; margin: 0; color: var(--c-on-dark-muted); }

/* -------------------------------------------------- Credentials -- */

.creds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-6);
}
.cred {
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  padding: var(--s-6);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: border-color var(--t-base), transform var(--t-base);
}
.cred:hover { border-color: var(--c-primary); transform: translateY(-3px); }
.cred__badge {
  height: 64px; width: auto;
  object-fit: contain;
  margin-bottom: var(--s-5);
  transition: transform var(--t-base);
}
.cred:hover .cred__badge { transform: scale(1.06); }
.cred h3 { font-size: 1.08rem; margin-bottom: var(--s-2); }
.cred p { font-size: .92rem; color: var(--c-muted); margin: 0 0 var(--s-5); }
.cred__tag {
  margin-top: auto;
  font-family: var(--f-head);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-primary-dark);
  background: rgba(79, 130, 196, .1);
  border-radius: var(--r-chip);
  padding: 5px 13px;
}

/* ------------------------------------------- Reviews in a grid -- */

/* .rev-card is built for the homepage marquee, reset the track sizing */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--s-6);
}
.rev-grid .rev-card { width: auto; margin-right: 0; }
.rev-grid .rev-card__text {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}
.rev-card__reply {
  margin: 0;
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-border);
  font-size: .9rem;
  color: #4a5b6e;
}
.rev-card__reply strong { color: var(--c-navy); font-weight: 600; }
.rev-grid__foot {
  margin-top: var(--s-10);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3);
}

/* -------------------------------------------- Coverage banner -- */

.know-banner__shot {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-border-soft);
  background: var(--c-elevated);
}
.know-banner__shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.know-banner__shot:hover img { transform: scale(1.05); }

/* Chips sitting on a light background rather than the navy band */
.area-chips--light .area-chip {
  background: #fff;
  border-color: var(--c-border);
  color: var(--c-navy);
}
.section-head--center + .area-chips--light { justify-content: center; }
.area-chips--light .area-chip:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* ------------------------------------------- Quote / contact -- */

/* The about-page form sits on an --alt section, so it needs a visible edge */
.quote-card--light { border: 1px solid var(--c-border); }

.contact-list {
  display: grid; gap: var(--s-4);
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--c-border);
}
.contact-list li { display: flex; gap: var(--s-4); align-items: flex-start; }
.contact-list svg { width: 19px; height: 19px; flex: none; margin-top: 4px; stroke: var(--c-primary); }
.contact-list span { font-size: .94rem; color: var(--c-text); line-height: 1.55; }
.contact-list strong { font-family: var(--f-head); font-weight: 600; color: var(--c-navy); font-size: 1.02rem; }
.contact-list strong a { color: inherit; }
.contact-list strong a:hover { color: var(--c-primary); }

/* --------------------------------------- About page responsive -- */

@media (max-width: 1040px) {
  .hero--page .hero__inner { grid-template-columns: 1fr; }
  .hero--page h1 { max-width: none; }
  .owner-card { max-width: 560px; }
  .know-banner__shot { max-width: 560px; }
}

@media (max-width: 1040px) {
  /* Two across: the lead still spans two rows, the other four fill the rest */
  .promises { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
}

@media (max-width: 760px) {
  .promises { grid-template-columns: 1fr; grid-auto-rows: auto; gap: var(--s-5); }
  .promise--lead { grid-row: auto; padding: var(--s-6) var(--s-5); }
  .promise--lead .promise__n { width: 52px; height: 52px; font-size: 1rem; }
  .promise__cta { margin-top: var(--s-5); }
}

@media (max-width: 900px) {
  .cred__badge { height: 54px; }
}

@media (max-width: 640px) {
  .owner-card__body { padding: var(--s-5); }
  .owner-card__name { font-size: 1.5rem; }
  .aim-card { padding: var(--s-6) var(--s-5) var(--s-5); }
  .aim-card__n { font-size: 2.8rem; }
  .pull-quote { padding-left: var(--s-5); margin-top: var(--s-6); }
  .promise { gap: var(--s-4); }
  .promise__n { width: 40px; height: 40px; font-size: .82rem; }
  .contact-list { margin-top: var(--s-6); }
}

@media (prefers-reduced-motion: reduce) {
  .owner-card__dot { animation: none; }
  .owner-card:hover .owner-card__shot img,
  .know-banner__shot:hover img,
  .cred:hover .cred__badge { transform: none; }
  .aim-card:hover,
  .cred:hover,
  .promise:hover .promise__n { transform: none; }
}


/* ====================================================================
   Services page
   ==================================================================== */

/* ------------------------------------------------ Equipment cards -- */

/* Four cards, so the column count stays a factor of four, auto-fit would
   drop to three at some widths and leave a lone card on the second row. */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-6);
}
@media (max-width: 1040px) { .equip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .equip-grid { grid-template-columns: 1fr; } }
.equip {
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  padding: var(--s-8) var(--s-6) var(--s-6);
  text-align: center;
  transition: border-color var(--t-base), transform var(--t-base);
}
.equip:hover { border-color: var(--c-primary); transform: translateY(-3px); }

.equip__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(79, 130, 196, .1);
  border: 1px solid rgba(79, 130, 196, .22);
  margin-bottom: var(--s-5);
  transition: background var(--t-base), border-color var(--t-base);
}
.equip__icon svg { width: 25px; height: 25px; stroke: var(--c-primary); transition: stroke var(--t-base); }
.equip:hover .equip__icon { background: var(--c-primary); border-color: var(--c-primary); }
.equip:hover .equip__icon svg { stroke: #fff; }

.equip h3 { font-size: 1.1rem; margin-bottom: var(--s-3); }
.equip p { font-size: .93rem; color: var(--c-muted); margin: 0; }

/* ------------------------------------------------- Premises cards -- */

/* Six cards divide cleanly by three, two and one, so no row is ever short */
.prem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5);
}
@media (max-width: 1040px) { .prem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .prem-grid { grid-template-columns: 1fr; } }
.prem {
  position: relative;
  background: var(--c-elevated-warm);
  border: 1px solid var(--c-border-soft);
  border-left: 3px solid rgba(79, 130, 196, .35);
  border-radius: var(--r-input);
  padding: var(--s-6);
  transition: border-left-color var(--t-base), background var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.prem:hover {
  background: #fff;
  border-left-color: var(--c-primary);
  transform: translateY(-3px);
}
.prem--media {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-left-width: 1px;
  border-left-color: var(--c-border-soft);
  isolation: isolate;
}
.prem--media:hover {
  border-left-color: var(--c-border-soft);
  border-color: var(--c-primary);
  box-shadow: 0 12px 28px rgba(8, 38, 75, .08);
}
.prem--media > picture {
  position: relative;
  z-index: 0;
  display: block;
  overflow: hidden;
}
.prem__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  position: relative;
  z-index: 0;
}
.prem__body {
  position: relative;
  z-index: 2;
  padding: var(--s-5) var(--s-5) var(--s-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prem--media .prem__icon {
  margin-top: 0;
  margin-bottom: var(--s-3);
}

.prem__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--c-border);
  margin-bottom: var(--s-4);
  transition: background var(--t-base), border-color var(--t-base);
}
.prem__icon svg { width: 21px; height: 21px; stroke: var(--c-primary); transition: stroke var(--t-base); }
.prem:hover .prem__icon { background: var(--c-primary); border-color: var(--c-primary); }
.prem:hover .prem__icon svg { stroke: #fff; }

.prem h3 { font-size: 1.08rem; margin-bottom: var(--s-2); }
.prem p { font-size: .93rem; color: var(--c-muted); margin: 0; }

/* --------------------------------------- Services page responsive -- */

@media (max-width: 640px) {
  .equip { padding: var(--s-6) var(--s-5) var(--s-5); }
  .prem:not(.prem--media) { padding: var(--s-5); }
  .prem__body { padding: var(--s-4) var(--s-4) var(--s-5); }
}

@media (prefers-reduced-motion: reduce) {
  .equip:hover, .prem:hover { transform: none; }
}


/* ====================================================================
   Areas Covered and Contact pages
   ==================================================================== */

/* ------------------------------------------------- Hero map figure -- */

.hero-map { margin: 0; }
.hero-map .map-frame { background: var(--c-elevated); }
.hero-map figcaption {
  margin-top: var(--s-3);
  font-size: .85rem;
  color: rgba(255, 255, 255, .78);
  line-height: 1.55;
}

.location-map {
  margin: var(--s-10) 0 0;
  width: 100%;
}
.location-map .map-frame--embed {
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 320px;
  max-height: 520px;
  background: var(--c-elevated);
}
.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}
@media (max-width: 720px) {
  .location-map .map-frame--embed {
    aspect-ratio: 4 / 3;
    max-height: none;
  }
}
.location-map figcaption {
  margin-top: var(--s-3);
  font-size: .9rem;
  color: var(--c-muted);
  line-height: 1.55;
}
.location-map figcaption a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------ Town lists -- */

.town-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-6);
}
.town-col {
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  padding: var(--s-6);
  transition: border-color var(--t-base), transform var(--t-base);
}
.town-col:hover { border-color: var(--c-primary); transform: translateY(-3px); }

.town-col__head {
  display: flex; align-items: center; gap: var(--s-3);
  font-size: 1.05rem;
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--c-border-soft);
}
.town-col__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex: none;
  border-radius: 10px;
  background: rgba(79, 130, 196, .1);
  border: 1px solid rgba(79, 130, 196, .22);
  transition: background var(--t-base), border-color var(--t-base);
}
.town-col__icon svg { width: 17px; height: 17px; stroke: var(--c-primary); transition: stroke var(--t-base); }
.town-col:hover .town-col__icon { background: var(--c-primary); border-color: var(--c-primary); }
.town-col:hover .town-col__icon svg { stroke: #fff; }

.town-list { display: grid; gap: var(--s-3); }
.town-list li {
  position: relative;
  padding-left: 22px;
  font-size: .97rem;
  color: var(--c-text);
}
.town-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-primary);
  opacity: .55;
}

.town-note {
  margin: var(--s-8) 0 0;
  text-align: center;
  font-size: .97rem;
  color: var(--c-muted);
}

/* A chip that is a plain label rather than a link */
.area-chip--static { cursor: default; }
.area-chips--light .area-chip--static:hover {
  background: #fff;
  border-color: var(--c-border);
  color: var(--c-navy);
  transform: none;
}

/* --------------------------------------------- Hero contact lines -- */

.contact-lines {
  display: grid; gap: var(--s-4);
  margin: var(--s-6) 0;
}
.contact-lines li { display: flex; align-items: flex-start; gap: var(--s-4); }
.contact-lines__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  background: rgba(79, 130, 196, .22);
  border: 1px solid rgba(143, 182, 230, .4);
}
.contact-lines__icon svg { width: 19px; height: 19px; stroke: #cfe0f5; }
.contact-lines__body { display: flex; flex-direction: column; min-width: 0; }
.contact-lines__value {
  font-family: var(--f-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  word-break: break-word;
}
.contact-lines__value:hover { color: #8fb6e6; }
.contact-lines__note { font-size: .85rem; color: rgba(255, 255, 255, .72); }

/* ------------------------------------------------- Ways to get in -- */

.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-6);
}
.way {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  padding: var(--s-8) var(--s-6) var(--s-6);
  transition: border-color var(--t-base), transform var(--t-base);
}
.way:hover { border-color: var(--c-primary); transform: translateY(-3px); }

.way__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(79, 130, 196, .1);
  border: 1px solid rgba(79, 130, 196, .22);
  margin-bottom: var(--s-5);
}
.way__icon svg { width: 24px; height: 24px; stroke: var(--c-primary); }
.way__icon--green {
  background: rgba(37, 211, 102, .12);
  border-color: rgba(37, 211, 102, .32);
}
.way__icon--green svg { fill: #119b45; stroke: none; }

.way h3 { font-size: 1.12rem; margin-bottom: var(--s-2); }
.way__value {
  font-family: var(--f-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: var(--s-3);
  word-break: break-word;
}
.way__value a { color: inherit; }
.way__value a:hover { color: var(--c-primary); }
.way p { font-size: .94rem; color: var(--c-muted); }
.way .btn { margin-top: auto; }

/* A reassurance line used outside a form */
.form-reassure--inline {
  justify-content: flex-start;
  margin-top: var(--s-6);
  text-align: left;
}

/* ---------------------------------- Areas / Contact responsive -- */

@media (max-width: 1040px) {
  .hero-map .map-frame { max-width: 620px; }
}

@media (max-width: 860px) {
  .ways-grid { grid-template-columns: 1fr; }
  .way { padding: var(--s-6) var(--s-5) var(--s-5); }
}

@media (max-width: 760px) {
  .town-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .town-cols { grid-template-columns: 1fr; }
  .town-col { padding: var(--s-5); }
}

@media (prefers-reduced-motion: reduce) {
  .town-col:hover, .way:hover { transform: none; }
}


/* ====================================================================
   PAT Testing Leicester page
   ==================================================================== */

/* Three service cards rather than four equipment classes */
.equip-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Left-aligned variant with a link pinned to the bottom edge */
.equip--left {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.equip--left p { margin-bottom: var(--s-5); }
.equip--left .card__link { margin-top: auto; }

/* A chip that is a plain label never reacts to hover, on any background */
.area-chip--static:hover {
  background: rgba(255, 255, 255, .08);
  border-color: var(--c-border-dark);
  color: #fff;
  transform: none;
}

.sector-chips { margin-top: 0; gap: var(--s-3); }
.sector-chips .area-chip { font-size: .9rem; padding: 9px 18px; }

/* ----------------------------------------------- Postcode strip -- */

.postcode-strip {
  margin-top: var(--s-8);
  background: var(--c-navy);
  border-radius: var(--r-md);
  padding: var(--s-6) var(--s-8);
  text-align: center;
}
.postcode-strip__label {
  font-family: var(--f-head);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: #8fb6e6;
  margin: 0 0 var(--s-4);
}
.postcode-strip__list {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--s-2);
  margin: 0 0 var(--s-5);
}
.postcode-strip__list li {
  font-family: var(--f-head);
  font-size: .95rem; font-weight: 600;
  color: #fff;
  background: rgba(79, 130, 196, .22);
  border: 1px solid rgba(143, 182, 230, .4);
  border-radius: var(--r-chip);
  padding: 6px 16px;
  transition: background var(--t-base), transform var(--t-base);
}
.postcode-strip__list li:hover {
  background: var(--c-primary);
  transform: translateY(-2px);
}
.postcode-strip__note {
  margin: 0;
  font-size: .92rem;
  color: var(--c-on-dark-muted);
}
.postcode-strip__note a { color: #8fb6e6; text-decoration: underline; }
.postcode-strip__note a:hover { color: #fff; }

/* ------------------------------------- Leicester page responsive -- */

@media (max-width: 1040px) {
  .equip-grid--3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

@media (max-width: 640px) {
  .know-banner__mark { font-size: 4.75rem; }
  .postcode-strip { padding: var(--s-5); }
  .sector-chips .area-chip { font-size: .85rem; padding: 7px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .postcode-strip__list li:hover { transform: none; }
}

/* ------------------------------------------------------- Responsive -- */

/* Narrow desktop: hide free-quote CTA before nav gets cramped */
@media (max-width: 1180px) {
  .header__cta .btn { display: none; }
}

@media (max-width: 1040px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding-block: clamp(40px, 5.5vw, 72px);
  }
  /* text spans the full width here, so the scrim is even left-to-right */
  .hero__scrim {
    background:
      linear-gradient(180deg,
        rgba(8, 38, 75, .90) 0%,
        rgba(8, 38, 75, .86) 55%,
        rgba(8, 38, 75, .92) 100%);
  }
  .trustbar__row { grid-template-columns: repeat(2, 1fr); gap: var(--s-4) 0; }
  .quote-card { max-width: 560px; }
  .split, .areas__inner { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .tools-section__bg {
    background-position: center center;
  }
  .tools-section__bg::after {
    background:
      linear-gradient(180deg,
        rgba(247, 249, 252, .96) 0%,
        rgba(247, 249, 252, .9) 55%,
        rgba(247, 249, 252, .84) 100%);
  }
  .split__side { grid-template-columns: 1fr 1fr; align-items: start; }
  .side-shot img { aspect-ratio: 3 / 4; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .faq-grid { grid-template-columns: 1fr; }
  .receive-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .receive-card h3 { min-height: 0; }
  .know-banner__inner { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .topbar { display: none; }
  .quotebar { display: none; }
  .nav-toggle { display: grid; flex: none; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--c-navy);
    border-bottom: 1px solid var(--c-border-dark);
    padding: var(--s-4) var(--gutter) var(--s-6);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: var(--s-1); }
  .nav__link {
    display: block;
    padding: 13px 16px;
    border-radius: 12px;
  }
  .nav__link::after { left: 16px; right: auto; width: 28px; bottom: 10px; }
  .nav__link:hover,
  .nav__link[aria-current="page"] { background: rgba(255,255,255,.08); }
  .site-header__inner {
    position: relative;
    justify-content: flex-start;
    gap: var(--s-3);
    min-height: 72px;
  }
  .brand { margin-right: auto; min-width: 0; }
  .brand__logo { height: 50px; }
  .header__cta {
    flex: none;
    gap: var(--s-2);
  }
  .header__cta .btn { display: none; }
  .header__phone {
    padding: 8px 10px;
    font-size: .92rem;
    white-space: nowrap;
  }
  .header__phone span { display: inline; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .rev-card { width: 290px; padding: var(--s-5); }
  .split__side { grid-template-columns: 1fr; }
  .side-shot img { aspect-ratio: 4 / 3; }
  .form-send { grid-template-columns: 1fr; }
  .faq-tile { padding: var(--s-4); gap: var(--s-3); }
  .faq-tile__q { font-size: .96rem; }
  .modal__panel { padding: var(--s-6); max-height: calc(100vh - 32px); }
  .modal__actions .btn { width: 100%; }
  .faq-cta { flex-direction: column; align-items: flex-start; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
  .price-card__amount { font-size: 2.1rem; }
  .estimate__row { flex-direction: column; align-items: flex-start; gap: var(--s-1); }
  .checker__form { flex-direction: column; }
  .checker__btn { width: 100%; }
  .reviews-head { gap: var(--s-5); }
  .reviews-head__actions { width: 100%; }
  .reviews-score { flex: 1 1 auto; }
  .brand__logo { height: 46px; }
  .trustbar__row { grid-template-columns: 1fr 1fr; padding-inline: var(--gutter); }
  .trustbar__item { padding: var(--s-4) var(--s-2); }
  body { padding-bottom: 68px; }
  .header__phone { padding: 8px; font-size: .85rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .field-row { grid-template-columns: 1fr; }
  .reviews-head { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band__inner { gap: var(--s-6); }
  .wa-float { bottom: 80px; right: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 27px; height: 27px; }

  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
    background: var(--c-border-dark);
    border-top: 1px solid rgba(0,0,0,.08);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: var(--s-2);
    padding: 16px 8px;
    font-family: var(--f-head); font-weight: 600; font-size: .97rem;
  }
  .mobile-bar svg { width: 18px; height: 18px; }
  .mobile-bar__call { background: var(--c-navy); color: #fff; }
  .mobile-bar__call:hover { color: #fff; }
  .mobile-bar__quote { background: var(--c-primary); color: #fff; }
  .mobile-bar__quote:hover { color: #fff; }
}

@media (max-width: 420px) {
  .rating-card { gap: var(--s-3); padding: 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .btn:hover, .card:hover, .wa-float:hover { transform: none; }
  .stat:hover .stat__num { transform: none; }
  .rev-card:hover { box-shadow: none; }
  .confetti-piece { display: none !important; animation: none !important; }

  /* reveals resolve instantly */
  .js [data-reveal],
  .js .trustbar__item .trustbar__badge,
  .js .trustbar__item .trustbar__copy {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .card--media:hover .card__media,
  .shot:hover img,
  .side-shot:hover img,
  .prem--media:hover .prem__media,
  .shot:hover,
  .trustbar__item:hover .trustbar__badge,
  .trustbar__item:hover .trustbar__copy,
  .step:hover .step__badge,
  .why-item:hover .why-item__icon,
  .area-chip:hover,
  .social:hover,
  .footer__list a::after,
  .faq-tile:hover, .faq-tile:hover .faq-tile__arrow { transform: none; }
  .modal__backdrop, .modal__panel, .estimate { animation: none; }
  .price-card:hover { transform: none; }
  .quotebar { transition: none; }

  /* Stop the rows and hand the user a scrollable region instead */
  .marquee__track { animation: none; }
  .marquee__row { overflow-x: auto; scroll-snap-type: x proximity; }
  .rev-card { scroll-snap-align: start; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

@media print {
  .site-header, .topbar, .mobile-bar, .wa-float, .quote-card { display: none !important; }
}

