/* ============================================================
   BROPHY'S PRESSURE WASHING — MASTER STYLESHEET
   brophys-pressurewashing.netlify.app
   Last updated: June 2026
   ============================================================

   TABLE OF CONTENTS
   -----------------
   1.  Google Fonts import
   2.  CSS custom properties (:root tokens)
   3.  CSS reset & box-sizing
   4.  Base typography
   5.  Layout utilities (.inner, .section, section labels)
   6.  Announcement bar [HIDDEN — activate in nav build]
   7.  Navigation
   8.  Buttons
   9.  Hero
   10. Trust bar
   11. Card grid
   12. Before / after image grid
   13. Process steps
   14. Review badge / star components
   15. Quote form
   16. FAQ list
   17. Page header (interior pages)
   18. Footer
   19. Utility classes
   20. Responsive — 768px
   21. Responsive — 480px

   ============================================================ */


/* ============================================================
   1. GOOGLE FONTS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');


/* ============================================================
   2. CSS CUSTOM PROPERTIES
   ============================================================ */

:root {

  /* — Colours — */
  --color-navy:          #002147;
  --color-navy-hover:    #003166;
  --color-navy-80:       rgba(0, 33, 71, 0.80);
  --color-navy-40:       rgba(0, 33, 71, 0.40);

  --color-grey:          #E1E8ED;   /* trust bar, pills */
  --color-grey-border:   #dde4e9;   /* card borders, dividers */
  --color-grey-light:    #f4f7f9;   /* form fields, card fills */
  --color-grey-faint:    #fafbfc;   /* alternate section bg */
  --color-grey-mid:      #c5d0d9;   /* stronger dividers */

  --color-body:          #1a1a1a;   /* default text */
  --color-muted:         #5a6a7a;   /* secondary text */
  --color-muted-dark:    #7a8a9a;   /* captions, fine print */

  --color-gold:          #f5a623;   /* star ratings, accent dots */
  --color-white:         #ffffff;

  /* On-dark text opacities */
  --white-62:   rgba(255, 255, 255, 0.62);
  --white-60:   rgba(255, 255, 255, 0.60);
  --white-55:   rgba(255, 255, 255, 0.55);
  --white-40:   rgba(255, 255, 255, 0.40);
  --white-28:   rgba(255, 255, 255, 0.28);
  --white-10:   rgba(255, 255, 255, 0.10);
  --white-08:   rgba(255, 255, 255, 0.08);

  /* — Typography — */
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Type scale */
  --text-h1:     44px;
  --text-h2:     34px;
  --text-h3:     26px;
  --text-h4:     20px;
  --text-body:   16px;
  --text-ui:     15px;
  --text-small:  14px;
  --text-fine:   13px;
  --text-label:  11px;

  /* Line heights */
  --lh-heading:  1.1;
  --lh-body:     1.65;
  --lh-ui:       1.5;

  /* Letter spacing */
  --ls-heading:  -0.025em;
  --ls-label:    0.14em;

  /* — Spacing — */
  --section-pad:          72px;
  --section-pad-sm:       52px;
  --page-header-pad:      64px 0 56px;
  --hero-pad:             72px 0 60px;
  --inner-max:            1100px;
  --hero-inner-max:       1280px;
  --inner-pad:            0 5%;
  --hero-inner-pad:       0 4%;

  /* — Component tokens — */
  --radius-card:          8px;
  --radius-card-lg:       10px;
  --radius-btn:           4px;
  --radius-pill:          99px;

  --gap-hero:             56px;
  --gap-grid:             16px;
  --gap-form:             14px;

  /* — Transitions — */
  --transition-fast:      0.12s ease;
  --transition-base:      0.18s ease;
}


/* ============================================================
   3. RESET & BOX-SIZING
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--color-body);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
select,
textarea {
  font-family: inherit;
}


/* ============================================================
   4. BASE TYPOGRAPHY
   ============================================================ */






/* Eyebrow / section label */
.label {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-navy-40);
  display: block;
  margin-bottom: 12px;
}

/* Eyebrow on dark backgrounds */
.label--light {
  color: var(--white-40);
}


/* ============================================================
   5. LAYOUT UTILITIES
   ============================================================ */

/* Full-bleed page wrapper — breaks out of any CMS constraints */
.page-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow-x: hidden;
}

/* Centred content container */
.inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: var(--inner-pad);
}

/* Wider inner for hero sections */
.inner--hero {
  max-width: var(--hero-inner-max);
  margin: 0 auto;
  padding: var(--hero-inner-pad);
}

/* Narrow inner for content-heavy pages (T&C, FAQs) */
.inner--narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--inner-pad);
}

/* Standard content section */
.section {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--color-grey-border);
  width: 100%;
}

.section:last-of-type {
  border-bottom: none;
}

.section__label {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-navy-40);
  display: block;
  margin-bottom: 12px;
}

.section__heading {
  margin-bottom: 12px;
}

.section__intro {
  font-size: var(--text-body);
  color: var(--color-muted);
  line-height: var(--lh-body);
  margin-bottom: 40px;
  max-width: 580px;
}


/* ============================================================
   6. ANNOUNCEMENT BAR
   [HIDDEN — uncomment display property when activating]
   ============================================================ */

.announcement-bar {
  display: none; /* SET TO: block (or flex) TO ACTIVATE */
  background: var(--color-navy);
  padding: 10px 0;
  width: 100%;
  text-align: center;
}

.announcement-bar .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.announcement-bar__text {
  font-family: var(--font-sans);
  font-size: var(--text-fine);
  color: var(--white-60);
  line-height: 1.4;
}

.announcement-bar__text a,
.announcement-bar__text strong {
  color: var(--color-white);
  font-weight: 700;
}

.announcement-bar__close {
  background: none;
  border: none;
  color: var(--white-40);
  font-size: 18px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.announcement-bar__close:hover {
  color: var(--color-white);
}


/* ============================================================
   7. NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

/* Scrolled state — added via JS */
.nav.is-scrolled {
  background: var(--color-white);
  border-bottom-color: var(--color-grey-border);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.nav__inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 5%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 52px;
  width: auto;
  display: block;
}

/* Main link list */
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav__link {
  font-family: var(--font-sans);
  font-size: var(--text-fine);
  font-weight: 600;
  color: var(--color-navy);
  padding: 8px 12px;
  border-radius: var(--radius-btn);
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.nav__link:hover {
  background: var(--color-grey-light);
}

button.nav__link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--text-fine);
  font-weight: 600;
}

/* On transparent nav (before scroll), links need to be white */
.nav:not(.is-scrolled) .nav__link {
  color: var(--color-white);
}

.nav:not(.is-scrolled) .nav__link:hover {
  background: var(--white-10);
}

/* Dropdown trigger */
.nav__link--has-dropdown {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav__dropdown-chevron {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.nav__dropdown-wrap {
  position: relative;
}

.nav__mega {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-grey-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--transition-base), transform var(--transition-base);
  z-index: 999;
}

.nav__mega.is-open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav__mega-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 5%;
}

.nav__mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 16px 0;
}

.nav__mega-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--radius-card);
  text-decoration: none;
  transition: background var(--transition-fast);
}

.nav__mega-item:hover {
  background: var(--color-grey-light);
}

.nav__mega-item__name {
  font-family: 'Archivo Black', sans-serif;
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--color-navy);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.nav__mega-item__desc {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--text-fine);
  color: var(--color-muted);
  line-height: 1.4;
}

.nav__dropdown-wrap.is-open .nav__dropdown-chevron {
  transform: rotate(180deg);
}

/* Right-side CTA button */
.nav__cta {
  flex-shrink: 0;
}

/* Hamburger toggle — hidden on desktop */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-navy);
  transition: all var(--transition-base);
}

.nav:not(.is-scrolled) .nav__hamburger span {
  background: var(--color-white);
}

/* Mobile nav panel — hidden until toggled */
.nav__mobile {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-grey-border);
  border-bottom: 1px solid var(--color-grey-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 16px 5% 24px;
}

.nav__mobile.is-open {
  display: block;
}

.nav__mobile-link {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-ui);
  font-weight: 500;
  color: var(--color-navy);
  padding: 11px 0;
  border-bottom: 1px solid var(--color-grey-border);
}

.nav__mobile-link:last-of-type {
  border-bottom: none;
}

.nav__mobile-cta {
  margin-top: 16px;
  width: 100%;
}


/* ============================================================
   8. BUTTONS
   ============================================================ */

/* Shared base */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--text-ui);
  font-weight: 700;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
  text-align: center;
}

/* Primary: white fill — used on dark (navy) backgrounds */
.btn--primary {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn--primary:hover {
  background: var(--color-grey);
}

/* Ghost white — secondary CTA on dark backgrounds */
.btn--ghost-white {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

.btn--ghost-white:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: var(--white-10);
}

/* Navy fill — primary CTA on light backgrounds, nav, forms */
.btn--navy {
  background: var(--color-navy);
  color: var(--color-white);
}

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

/* Ghost navy — secondary CTA on light backgrounds */
.btn--ghost-navy {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-navy);
  font-weight: 500;
}

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

/* Size modifier — full width for form submissions */
.btn--full {
  width: 100%;
  display: block;
}

/* Size modifier — slightly smaller, for tight UI spaces */
.btn--sm {
  font-size: var(--text-fine);
  padding: 10px 20px;
}


/* ============================================================
   9. HERO
   ============================================================ */

.hero {
  background: var(--color-navy);
  padding: var(--hero-pad);
  width: 100%;
  /* Offset fixed nav height */
  padding-top: calc(72px + 80px);
}

/* Two-column hero grid */
.hero__inner {
  max-width: var(--hero-inner-max);
  margin: 0 auto;
  padding: var(--hero-inner-pad);
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: var(--gap-hero);
  align-items: center;
}

/* Left — text column */
.hero__left {}

/* Review badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white-10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-family: var(--font-sans);
  font-size: var(--text-fine);
  color: var(--color-grey);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero__badge .stars {
  color: var(--color-gold);
  font-size: var(--text-fine);
  letter-spacing: 1px;
}

/* Heading */
.hero h1 {
  font-size: 52px;
  color: var(--color-white);
  margin-bottom: 18px;
}

/* Subheading */
.hero__sub {
  font-size: var(--text-body);
  color: var(--white-62);
  line-height: var(--lh-body);
  margin-bottom: 32px;
  max-width: 480px;
}

/* Button pair */
.hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Trust micro-copy below buttons */
.hero__trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: var(--text-fine);
  color: var(--white-55);
  white-space: nowrap;
}

/* Gold dot accent */
.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
  display: inline-block;
}

.dot--lg {
  width: 6px;
  height: 6px;
}

/* Right — image / media column */
.hero__right {
  display: flex;
  align-items: stretch;
  width: 100%;
}

/* Before / after image grid inside hero */
.hero__ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
}

.hero__ba-slot {
  position: relative;
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  width: 100%;
}

.hero__ba-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

/* Before/after label pill */
.ba-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--color-navy-80);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 2;
}

/* Single image in hero (e.g. window cleaning) */
.hero__img-slot {
  position: relative;
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
}

.hero__img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}


/* ============================================================
   10. TRUST BAR
   ============================================================ */

.trust-bar {
  background: var(--color-grey);
  padding: 36px 0;
  width: 100%;
}

.trust-bar .inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 0;
}

.trust-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-right: 1px solid var(--color-grey-mid);
}

.trust-stat:last-child {
  border-right: none;
}

.trust-stat__stars {
  color: var(--color-gold);
  font-size: 14px;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 2px;
  line-height: 1;
}

.trust-stat__num {
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  display: block;
}

.trust-stat__label {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  color: var(--color-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}


/* ============================================================
   11. CARD GRID
   ============================================================ */

/* Default: 3-up */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-grid);
}

/* 4-up variant */
.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

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

/* Base card */
.card {
  background: var(--color-grey-light);
  border: 1px solid var(--color-grey-border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}

/* Clickable card */
.card--link {
  display: block;
  text-decoration: none;
  transition: background var(--transition-fast);
  color: inherit;
}

.card--link:hover {
  background: #edf1f5;
}

/* Card on navy background */
.card--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--color-navy);
}

.card__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__arrow {
  display: block;
  color: var(--color-navy);
  opacity: 0.2;
  font-size: 13px;
  margin-bottom: 8px;
}

.card__title {
  font-family: var(--font-sans);
  font-size: var(--text-ui);
  font-weight: 700;
  color: var(--color-navy);
  display: block;
  margin-bottom: 6px;
  line-height: var(--lh-ui);
}

.card--dark .card__title {
  color: var(--color-white);
}

.card__desc {
  font-family: var(--font-sans);
  font-size: var(--text-fine);
  color: var(--color-muted);
  line-height: 1.6;
  display: block;
}

.card--dark .card__desc {
  color: var(--white-55);
}

/* Benefit card — icon + title + paragraph */
.benefit-card {
  background: var(--color-grey-light);
  border: 1px solid var(--color-grey-border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}

.benefit-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid var(--color-grey-border);
}

.benefit-card__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-navy);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card__title {
  font-family: var(--font-sans);
  font-size: var(--text-ui);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.benefit-card__desc {
  font-size: var(--text-fine);
  color: var(--color-muted);
  line-height: 1.65;
}

/* Credentials bar — 4-col on dark bg */
.credentials-bar {
  background: var(--color-navy);
  padding: 40px 0;
  width: 100%;
}

.credentials-bar .inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.credential-item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.credential-item:last-child {
  border-right: none;
}

.credential-item__value {
  font-family: var(--font-sans);
  font-size: var(--text-ui);
  font-weight: 700;
  color: var(--color-white);
  display: block;
  margin-bottom: 4px;
}

.credential-item__label {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
}

/* Service pill / link pill */
.pill {
  font-family: var(--font-sans);
  font-size: var(--text-fine);
  font-weight: 600;
  color: var(--color-navy);
  background: var(--color-grey);
  border-radius: var(--radius-btn);
  padding: 10px 14px;
  text-decoration: none;
  display: block;
  transition: background var(--transition-fast);
  text-align: center;
}

.pill:hover {
  background: var(--color-grey-mid);
}

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


/* ============================================================
   12. BEFORE / AFTER GRID (section-level)
   ============================================================ */

.ba-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.ba-slot {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  width: 100%;
}

.ba-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}


/* ============================================================
   13. PROCESS STEPS
   ============================================================ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  counter-increment: step;
}

.step__number {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-navy-40);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step__number::before {
  content: counter(step, decimal-leading-zero);
}

.step__number::after {
  content: '';
  display: block;
  height: 1px;
  width: 32px;
  background: var(--color-grey-border);
}

.step__title {
  font-family: var(--font-sans);
  font-size: var(--text-ui);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.step__desc {
  font-size: var(--text-fine);
  color: var(--color-muted);
  line-height: 1.65;
}


/* ============================================================
   14. REVIEWS / STAR COMPONENTS
   ============================================================ */

/* Inline star string */
.stars {
  color: var(--color-gold);
  letter-spacing: 1px;
  font-size: var(--text-fine);
  display: inline-block;
}

.stars--lg {
  font-size: 16px;
  letter-spacing: 2px;
}

/* Review card */
.review-card {
  background: var(--color-grey-light);
  border: 1px solid var(--color-grey-border);
  border-radius: var(--radius-card);
  padding: 24px;
}

.review-card__stars {
  margin-bottom: 10px;
}

.review-card__text {
  font-size: var(--text-fine);
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.review-card__author {
  font-family: var(--font-sans);
  font-size: var(--text-fine);
  font-weight: 700;
  color: var(--color-navy);
}

.review-card__date {
  font-size: 12px;
  color: var(--color-muted-dark);
  margin-top: 2px;
}

/* Google Reviews widget placeholder */
.reviews-widget {
  background: var(--color-grey-light);
  border: 1px solid var(--color-grey-border);
  border-radius: var(--radius-card);
  padding: 32px;
  text-align: center;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ============================================================
   15. QUOTE FORM
   ============================================================ */

/* Form section wrapper */
.form-section {
  background: var(--color-navy);
  padding: var(--section-pad) 0;
  width: 100%;
}

.form-section .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Left — copy column */
.form-left__label {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--white-40);
  margin-bottom: 12px;
  display: block;
}

.form-left__heading {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 14px;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
}

.form-left__body {
  font-size: var(--text-body);
  color: var(--white-60);
  line-height: var(--lh-body);
  margin-bottom: 28px;
}

.form-left__body a {
  color: var(--color-white);
  font-weight: 700;
}

/* Trust list below form copy */
.form-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.form-trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.65);
}

/* Right — form card */
.form-right {
  background: var(--color-white);
  border-radius: var(--radius-card-lg);
  padding: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-form);
  margin-bottom: var(--gap-form);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-navy);
  opacity: 0.55;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--color-grey-light);
  border: 1.5px solid var(--color-grey-border);
  border-radius: var(--radius-btn);
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: var(--text-ui);
  color: var(--color-navy);
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-navy);
  background: var(--color-white);
}

.form-field textarea {
  resize: vertical;
  min-height: 88px;
}

.form-submit {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 15px 24px;
  font-family: var(--font-sans);
  font-size: var(--text-ui);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  width: 100%;
  letter-spacing: 0.01em;
  margin-top: 4px;
  transition: background var(--transition-fast);
}

.form-submit:hover {
  background: var(--color-navy-hover);
}

.form-note {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--color-muted-dark);
  margin-top: 10px;
  text-align: center;
}

/* Form state messages */
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
}

.form-success.is-visible {
  display: block;
}

.form-success__tick {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e6f4ea;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
}

.form-success__heading {
  font-family: var(--font-sans);
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.form-success__body {
  font-size: var(--text-small);
  color: var(--color-muted);
  line-height: 1.6;
}


/* ============================================================
   16. FAQ LIST
   ============================================================ */




/* ============================================================
   17. PAGE HEADER (interior pages)
   ============================================================ */

.page-header {
  background: var(--color-navy);
  padding: var(--page-header-pad);
  width: 100%;
  /* Offset fixed nav */
  padding-top: calc(64px + 80px);
}

.page-header .inner {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--inner-pad);
}

.page-header--wide .inner {
  max-width: var(--inner-max);
}

.page-header__label {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--white-40);
  margin-bottom: 14px;
  display: block;
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.page-header__sub {
  font-size: var(--text-body);
  color: var(--white-60);
  line-height: var(--lh-body);
}

.page-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}

.page-header__meta-item {
  font-family: var(--font-sans);
  font-size: var(--text-fine);
  color: rgba(255, 255, 255, 0.50);
}

.page-header__meta-item strong {
  color: rgba(255, 255, 255, 0.80);
  font-weight: 600;
}


/* ============================================================
   18. FOOTER
   ============================================================ */

.footer {
  background: var(--color-navy);
  width: 100%;
  font-family: var(--font-sans);
}

/* ── CTA strip ── */
.footer__cta {
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  padding: 40px 0;
}

.footer__cta .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__cta-text {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.footer__cta-text em {
  font-style: italic;
  color: rgba(225, 232, 237, 0.75);
}

.footer__cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

/* ── Main grid ── */
.footer__main {
  padding: 56px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer__main .inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Brand column */
.footer__brand {}

.footer__logo {
  margin-bottom: 16px;
}

.footer__logo img {
  height: 80px;
  width: auto;
  display: block;
  /* Temp inversion until white logo is ready */
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer__tagline {
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.55);
  line-height: var(--lh-body);
  margin-bottom: 24px;
  max-width: 260px;
}

/* Stars in footer */
.footer__reviews {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.footer__reviews-text {
  font-size: var(--text-fine);
  color: rgba(255, 255, 255, 0.60);
}

.footer__reviews-text a {
  color: rgba(255, 255, 255, 0.60);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact rows */
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__contact a:hover {
  color: var(--color-white);
}

.footer__contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--white-08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer__contact-icon svg {
  width: 14px;
  height: 14px;
  stroke: rgba(255, 255, 255, 0.70);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Link columns */
.footer__col h4 {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-40);
  margin-bottom: 16px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col ul li a {
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.footer__col ul li a:hover {
  color: var(--color-white);
}

/* ── Bottom bar ── */
.footer__bottom {
  padding: 20px 0;
}

.footer__bottom .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__legal {
  font-size: 12px;
  color: var(--white-28);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__legal a {
  color: var(--white-28);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.50);
}

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

.footer__badge-item {
  font-size: 12px;
  color: var(--white-28);
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer__badge-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
}


/* ============================================================
   19. UTILITY CLASSES
   ============================================================ */

/* Visually hidden (accessible) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Text alignment */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Colour utilities */
.text-navy    { color: var(--color-navy); }
.text-muted   { color: var(--color-muted); }
.text-white   { color: var(--color-white); }
.text-gold    { color: var(--color-gold); }

.bg-navy      { background: var(--color-navy); }
.bg-grey      { background: var(--color-grey); }
.bg-grey-light { background: var(--color-grey-light); }
.bg-white     { background: var(--color-white); }

/* Spacing helpers (vertical margin) */
.mt-4  { margin-top:  4px; }
.mt-8  { margin-top:  8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-4  { margin-bottom:  4px; }
.mb-8  { margin-bottom:  8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* Flex helpers */
.flex          { display: flex; }
.flex-center   { display: flex; align-items: center; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; }
.gap-8         { gap:  8px; }
.gap-12        { gap: 12px; }
.gap-16        { gap: 16px; }
.gap-24        { gap: 24px; }

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--color-grey-border);
  margin: 0;
}

/* Focus ring — keyboard nav */
:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================================
   20. RESPONSIVE — 768px (tablet / large mobile)
   ============================================================ */

@media (max-width: 768px) {

  /* Nav */
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding-top: calc(48px + 80px);
    padding-bottom: 48px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero__sub {
    max-width: none;
  }

  /* Trust bar */
  .trust-bar .inner {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Card grids */
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid--4 {
    grid-template-columns: 1fr 1fr;
  }

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

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Before/after */
  .ba-wrap {
    grid-template-columns: 1fr;
  }

  /* FAQ */
  .faq-list {
    grid-template-columns: 1fr;
  }

  .faq-item:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }

  /* Form section */
  .form-section .inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .form-right {
    padding: 24px;
  }

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

  /* Page header */
  .page-header h1 {
    font-size: 32px;
  }

  /* Section headings */
  .section__heading {
    font-size: 26px;
  }

  /* Footer */
  .footer__main .inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__cta .inner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Credentials bar */
  .credentials-bar .inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .credential-item {
    border-right: none;
  }
}


/* ============================================================
   21. RESPONSIVE — 480px (small mobile)
   ============================================================ */

@media (max-width: 480px) {

  /* Trust bar — stack vertically */
  .trust-bar .inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .trust-stat {
    border-right: none;
    border-bottom: 1px solid var(--color-grey-mid);
    padding-bottom: 20px;
  }

  .trust-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Card grid — single column */
  .card-grid,
  .card-grid--4,
  .card-grid--2 {
    grid-template-columns: 1fr;
  }

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

  /* Hero */
  .hero h1 {
    font-size: 28px;
  }

  .hero__btns {
    flex-direction: column;
    gap: 10px;
  }

  .hero__btns .btn {
    width: 100%;
    text-align: center;
  }

  .hero__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Hero ba-grid — stack on very small screens */
  .hero__ba-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Sections */
  .section {
    padding: var(--section-pad-sm) 0;
  }

  /* Page header */
  .page-header h1 {
    font-size: 26px;
  }

  .page-header__meta {
    flex-direction: column;
    gap: 10px;
  }

  /* Footer */
  .footer__main .inner {
    grid-template-columns: 1fr;
  }

  .footer__bottom .inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__cta-btns {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .footer__cta-btns .btn {
    width: 100%;
    text-align: center;
  }

  /* Credentials bar */
  .credentials-bar .inner {
    grid-template-columns: 1fr 1fr;
  }
}
/* ============================================================
   BROPHY'S — STYLE ADDITIONS
   Append these rules to the bottom of style.css.
   These cover components that are JS-driven or were not
   in the original Squarespace pages.

   SECTIONS:
   A. Nav additions (dropdown open state, hamburger X, mobile panel)
   B. Scroll-reveal animations
   C. Sticky mobile call/SMS bar
   D. Exit intent popup
   E. Before/after image slider
   ============================================================ */


/* ============================================================
   A. NAV ADDITIONS
   ============================================================ */

/* Dropdown divider */


/* "View all services" link — slightly different style */


/* Dropdown open state (JS adds .is-open) */


/* Hamburger → X animation when menu is open */
.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu panel */
.nav__mobile {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-grey-border);
  border-bottom: 1px solid var(--color-grey-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 8px 5% 24px;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav__mobile.is-open {
  display: block;
}

/* Mobile plain links */
.nav__mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: var(--text-ui);
  font-weight: 500;
  color: var(--color-navy);
  padding: 14px 0;
  border-bottom: 1px solid var(--color-grey-border);
  text-decoration: none;
  width: 100%;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  text-align: left;
}

.nav__mobile-link:last-of-type {
  border-bottom: none;
}

/* Mobile accordion toggle */
.nav__mobile-accordion-toggle {
  border-bottom: 1px solid var(--color-grey-border);
}

/* Mobile accordion panel */
.nav__mobile-accordion-panel {
  display: none;
  background: var(--color-grey-light);
  border-radius: var(--radius-btn);
  margin: 4px 0 8px;
  overflow: hidden;
}

.nav__mobile-accordion-panel.is-open {
  display: block;
}

/* Mobile sub-links (inside accordion) */
.nav__mobile-sub-link {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-fine);
  font-weight: 500;
  color: var(--color-navy);
  padding: 11px 16px;
  border-bottom: 1px solid var(--color-grey-border);
  text-decoration: none;
  transition: background var(--transition-fast);
}

.nav__mobile-sub-link:last-child {
  border-bottom: none;
}

.nav__mobile-sub-link:hover {
  background: var(--color-grey);
}

.nav__mobile-sub-link--all {
  font-weight: 700;
  opacity: 0.7;
}

/* Chevron rotation when accordion is open */
.nav__mobile-accordion-toggle.is-open .nav__dropdown-chevron {
  transform: rotate(180deg);
}

/* Mobile CTA buttons */
.nav__mobile-cta-wrap {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}


/* ============================================================
   B. SCROLL-REVEAL ANIMATIONS
   Add class="reveal" to any element.
   JS (Intersection Observer) adds .is-revealed when visible.
   Respects prefers-reduced-motion.
   ============================================================ */

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

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ============================================================
   C. STICKY MOBILE CALL / SMS BAR
   JS injects this into the DOM.
   Hidden on desktop; visible only at 768px and below.
   ============================================================ */

.mobile-cta-bar {
  display: none; /* shown only at 768px via media query below */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--color-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom)); /* iPhone notch */
  gap: 8px;
}

.mobile-cta-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-btn);
  padding: 10px 0;
  flex: 1;
  transition: opacity var(--transition-fast);
}

.mobile-cta-bar__btn:active {
  opacity: 0.85;
}

.mobile-cta-bar__btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Call — ghost white */
.mobile-cta-bar__btn--call {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.10);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

/* SMS — ghost white */
.mobile-cta-bar__btn--sms {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.10);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

/* Quote — solid white fill */
.mobile-cta-bar__btn--quote {
  color: var(--color-navy);
  background: var(--color-white);
  border: none;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
  }

  /* Add bottom padding to page so sticky bar doesn't cover content */
  body {
    padding-bottom: 72px;
  }
}


/* ============================================================
   D. EXIT INTENT POPUP
   JS injects and shows this. Hidden until .is-open is added.
   ============================================================ */

.exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  align-items: center;
  justify-content: center;
}

.exit-popup.is-open {
  display: flex;
}

.exit-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 33, 71, 0.60);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.exit-popup__panel {
  position: relative;
  background: var(--color-navy);
  border-radius: 12px;
  padding: 48px 40px 40px;
  max-width: 460px;
  width: calc(100% - 40px);
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  animation: popupIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.exit-popup__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--white-40);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color var(--transition-fast);
}

.exit-popup__close:hover {
  color: var(--color-white);
}

.exit-popup__heading {
  font-family: 'Archivo Black', sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.15;
  letter-spacing: var(--ls-heading);
  margin: 12px 0 16px;
}

.exit-popup__heading em {
  font-style: italic;
  color: rgba(225, 232, 237, 0.75);
}

.exit-popup__body {
  font-size: var(--text-fine);
  color: var(--white-60);
  line-height: var(--lh-body);
  margin-bottom: 28px;
}

.exit-popup__cta {
  display: block;
  width: 100%;
  margin-bottom: 12px;
}

.exit-popup__dismiss {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--white-40);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.exit-popup__dismiss:hover {
  color: var(--white-60);
}

@media (max-width: 480px) {
  .exit-popup__panel {
    padding: 40px 24px 32px;
  }

  .exit-popup__heading {
    font-size: 26px;
  }
}


/* ============================================================
   E. BEFORE / AFTER IMAGE SLIDER
   Structure: .ba-slider > .ba-slider__before + .ba-slider__after
              + .ba-slider__handle + input[type=range].ba-slider__input
   ============================================================ */

.ba-slider {
  position: relative;
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}

.ba-slider__before,
.ba-slider__after {
  position: absolute;
  inset: 0;
}

.ba-slider__before img,
.ba-slider__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* After panel clips from the right — JS drives clip-path */
.ba-slider__after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0s; /* no transition — follows finger */
}

/* Drag handle */
.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--color-white);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
}

.ba-slider__handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* Arrow icons inside the handle circle (CSS-drawn) */
.ba-slider__handle::after {
  content: '◀ ▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 9px;
  color: var(--color-navy);
  letter-spacing: 1px;
  pointer-events: none;
  white-space: nowrap;
}

/* Range input — invisible but covers full slider for interaction */
.ba-slider__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  z-index: 10;
}

/* Before/After labels */
.ba-slider__label {
  position: absolute;
  bottom: 12px;
  background: var(--color-navy-80);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  pointer-events: none;
  z-index: 5;
}

.ba-slider__label--before {
  left: 12px;
}

.ba-slider__label--after {
  right: 12px;
}

/* Wrapper that gives the slider an aspect ratio */
.ba-slider-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
}

.ba-slider-wrap .ba-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}