/* EliteShine Cleaners: one stylesheet for every page.
   Order: fonts, tokens, base, layout, header, heroes, form, sections, footer, utilities. */

/* ---------- Fonts (self-hosted, latin subset, SIL OFL) ---------- */
@font-face {
  font-family: "Young Serif";
  src: url("/assets/fonts/young-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --blue: #1f6fe0;
  --blue-hover: #1559bd;
  --pale: #f0f5fb;
  --soft: #e3eefd;
  --navy: #0f2236;
  --muted: #526477;
  --line: #d7e1eb;
  --gold: #e2a21f;
  --error: #b42318;
  --on-navy: #c9d6e3;
  --on-navy-muted: #a9b9ca;
  --light-blue: #8db8f5;
  --dashed: #a8bccf;

  /* Small blue text: brand blue on white, the darker blue on tinted bands (AA contrast). */
  --accent-ink: var(--blue);

  --font-head: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
  --header-h: 68px;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(15 34 54 / 0.04), 0 14px 32px -18px rgb(15 34 54 / 0.2);
  --shadow-lg: 0 1px 2px rgb(15 34 54 / 0.04), 0 32px 64px -32px rgb(15 34 54 / 0.32);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.icon {
  display: inline-block;
  flex: none;
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
}
h1,
h2,
h3 {
  margin: 0 0 0.5em;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.25rem, 1.45rem + 3.4vw, 3.75rem);
  line-height: 1.06;
}
h2 {
  font-size: clamp(1.85rem, 1.35rem + 2vw, 2.7rem);
}
h3 {
  font-size: 1.3rem;
  line-height: 1.25;
}
p {
  margin: 0 0 1em;
}
address {
  font-style: normal;
}
a {
  color: var(--accent-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--blue-hover);
}
a[href^="tel:"] {
  white-space: nowrap;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
::selection {
  background: var(--soft);
  color: var(--navy);
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
  color: #fff;
}
.arr {
  display: inline-block;
  transition: transform 0.15s ease;
}
a:hover .arr {
  transform: translateX(3px);
}
.preview-note {
  margin: 0 0 24px;
  padding: 10px 14px;
  border: 1.5px dashed var(--gold);
  border-radius: 12px;
  background: #fff8e8;
  color: #6b4a06;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2 * var(--gutter), 1180px);
  margin-inline: auto;
}
.section {
  padding-block: var(--section);
}
.band-pale {
  background: var(--pale);
  --accent-ink: var(--blue-hover);
}
.section-head {
  max-width: 46rem;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  margin-bottom: 0.4em;
}
.intro {
  color: var(--muted);
  font-size: 1.125rem;
}
.section-head .intro {
  margin: 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--accent-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
  text-wrap: balance;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.center .eyebrow {
  justify-content: center;
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn .icon {
  width: 18px;
  height: 18px;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-hover);
  color: #fff;
}
.btn-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--navy);
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue-hover);
}
.btn-ghost {
  border-color: rgb(255 255 255 / 0.35);
  background: transparent;
  color: #fff;
}
.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}
.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.9375rem;
}
.btn-block {
  width: 100%;
}
.btn:disabled {
  cursor: progress;
  opacity: 0.75;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.btn-row.center {
  justify-content: center;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
}
.more:hover {
  text-decoration: underline;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgb(255 255 255 / 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgb(15 34 54 / 0.45);
}
.header-inner {
  container: header / inline-size;
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  color: var(--navy);
  text-decoration: none;
}
.logo:hover {
  color: var(--navy);
}
.logo-mark {
  width: 26px;
  height: 26px;
  color: var(--blue);
}
.logo-mark-small {
  fill: var(--gold);
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-word {
  font-family: var(--font-head);
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
.logo-word span {
  color: var(--blue);
}
.logo-sub {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
/* Compact header on phones. The caption (and, on very narrow windows, the phone
   icon) drops out only when the header runs out of room. */
@media (max-width: 639px) {
  .site-header .logo {
    gap: 6px;
  }
  .site-header .logo-mark {
    width: 21px;
    height: 21px;
  }
  .site-header .logo-word {
    font-size: 1.0625rem;
  }
  .site-header .logo-sub {
    margin-top: 4px;
    font-size: 0.53125rem;
    letter-spacing: 0.1em;
  }
}
@container header (max-width: 351px) {
  .logo-sub {
    display: none;
  }
}
@container header (max-width: 319px) {
  .header-phone {
    display: none !important;
  }
}

.nav {
  display: none;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--navy);
  font: 500 0.975rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
}
.nav-link:hover,
.nav-link[aria-expanded="true"] {
  background: var(--pale);
  color: var(--navy);
}
.nav-link[aria-current="page"],
.nav-link.is-active {
  color: var(--blue-hover);
}
.nav-link .chev {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}
.nav-link[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}
.has-sub {
  position: relative;
}
.subnav {
  position: absolute;
  top: calc(100% + 10px);
  left: -8px;
  display: none;
  min-width: 280px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  list-style: none;
}
.subnav::before {
  /* Hover bridge across the gap under the button. */
  content: "";
  position: absolute;
  inset: -12px 0 auto;
  height: 12px;
}
.has-sub.is-open .subnav {
  display: block;
}
.subnav a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}
.subnav a:hover,
.subnav a[aria-current="page"] {
  background: var(--pale);
  color: var(--navy);
}
.subnav-all {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.subnav-all a {
  color: var(--blue-hover);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-phone {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.header-phone .icon {
  width: 18px;
  height: 18px;
  color: var(--blue);
}
.header-phone-num {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.header-phone:hover {
  color: var(--blue-hover);
}
.header-cta {
  min-height: 38px;
  padding-inline: 12px;
  font-size: 0.875rem;
}
.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}
.menu-toggle .icon {
  width: 20px;
  height: 20px;
}
.menu-toggle .i-close,
.menu-toggle[aria-expanded="true"] .i-open {
  display: none;
}
.menu-toggle[aria-expanded="true"] .i-close {
  display: block;
}
@media (min-width: 640px) {
  .header-actions {
    gap: 12px;
  }
  .header-phone {
    display: inline-flex;
    gap: 8px;
    width: auto;
    height: auto;
    padding: 8px 4px;
    background: none;
  }
  .header-phone-num {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }
  .header-cta {
    min-height: 40px;
    padding-inline: 18px;
    font-size: 0.9375rem;
  }
  .menu-toggle {
    width: 40px;
    height: 40px;
  }
}
@media (min-width: 1100px) {
  :root {
    --header-h: 76px;
  }
  .nav {
    display: block;
    margin-right: 8px;
  }
  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  border-top: 1px solid var(--line);
  background: #fff;
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu-inner {
  padding-block: 12px 24px;
}
.mm-label {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mm-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mm-list a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
}
.mm-list a[aria-current="page"] {
  color: var(--blue-hover);
}
.mm-main {
  margin-top: 8px;
}
.mm-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
@media (min-width: 1100px) {
  .mobile-menu {
    display: none;
  }
}
html.menu-open {
  overflow: hidden;
}

/* ---------- Breadcrumbs ---------- */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 clamp(20px, 3vw, 32px);
  padding: 0;
  color: var(--muted);
  font-size: 0.875rem;
  list-style: none;
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--blue-hover);
  text-decoration: underline;
}
.crumb-sep {
  margin-left: 8px;
  color: #8a9aab;
}
.crumbs [aria-current] {
  color: var(--navy);
  font-weight: 600;
}

/* ---------- Heroes ---------- */
.hero,
.page-hero {
  --accent-ink: var(--blue-hover);
  background:
    radial-gradient(900px 520px at 92% -10%, var(--soft), transparent 70%),
    var(--pale);
}
.hero {
  padding-block: clamp(28px, 5vw, 72px) clamp(56px, 8vw, 96px);
}
.hero-grid {
  display: grid;
  align-items: start;
  gap: 40px;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: center;
    gap: clamp(40px, 5vw, 72px);
  }
}
.hero h1 {
  margin-bottom: 0.42em;
}
.lead {
  max-width: 36em;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}
.ticks {
  display: grid;
  gap: 14px 20px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}
.ticks-2x2,
.ticks-row {
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 1024px) {
  .ticks-row {
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    gap: 14px 32px;
  }
}
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96875rem;
  font-weight: 600;
  line-height: 1.35;
}
.tick {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}
.tick .icon {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  font-weight: 600;
}

/* Signature detail: "properly" in the homepage H1 */
.hl {
  position: relative;
  display: inline-block;
  color: var(--blue);
  isolation: isolate;
}
.hl-swipe {
  position: absolute;
  z-index: -1;
  bottom: -0.1em;
  left: -3%;
  width: 106%;
  height: auto;
  overflow: visible;
}
.hl-swipe path {
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-opacity: 0.22;
  stroke-width: 10;
}
.hl-spark {
  position: absolute;
  top: -0.14em;
  right: -0.4em;
  width: 0.36em;
  height: 0.36em;
  color: var(--gold);
}
@media (prefers-reduced-motion: no-preference) {
  .hl-swipe path {
    stroke-dasharray: 1;
    animation: hl-draw 0.9s 0.35s cubic-bezier(0.65, 0, 0.35, 1) both;
  }
  .hl-spark {
    animation: hl-twinkle 0.9s 1.05s ease-out both;
  }
}
@keyframes hl-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes hl-twinkle {
  0% {
    opacity: 0;
    transform: scale(0.2) rotate(-60deg);
  }
  55% {
    opacity: 1;
    transform: scale(1.3) rotate(10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.page-hero {
  padding-block: clamp(20px, 3vw, 32px) clamp(48px, 7vw, 88px);
}
.page-hero h1 {
  max-width: 18em;
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
}
.page-hero .lead {
  margin-bottom: 28px;
}

/* ---------- Quote form ---------- */
.quote-card {
  container-type: inline-size;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.quote-title {
  margin-bottom: 6px;
  font-size: clamp(1.6rem, 1.4rem + 0.8vw, 1.875rem);
}
.quote-sub {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.96875rem;
}
.progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}
.progress-bar {
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--pale);
}
.progress-bar span {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width 0.3s ease;
}
.quote-card[data-step="2"] .progress-bar span {
  width: 100%;
}
.quote-form fieldset {
  min-width: 0;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
.field {
  margin-bottom: 16px;
}
.label {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}
.optional {
  color: var(--muted);
  font-weight: 500;
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.choice label {
  position: relative;
  display: block;
  height: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.choice label:hover {
  border-color: #a9c3e8;
}
.choice label::after {
  content: "";
  position: absolute;
  top: 13px;
  right: 12px;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: #fff;
}
.choice input:checked + label {
  border-color: var(--blue);
  background: var(--pale);
}
.choice input:checked + label::after {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: inset 0 0 0 3px #fff;
}
.choice input:focus-visible + label {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.choice-title {
  display: block;
  padding-right: 22px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
}
.choice-sub {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.35;
}
.input,
.select,
.textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.select {
  padding-right: 42px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23526477' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.textarea {
  min-height: 112px;
  resize: vertical;
}
.input::placeholder,
.textarea::placeholder {
  color: #7a8a9b;
}
.input-postcode {
  text-transform: uppercase;
}
.input-postcode::placeholder {
  text-transform: none;
}
.input:hover,
.select:hover,
.textarea:hover {
  border-color: #b5c6d8;
}
.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 4px rgb(31 111 224 / 0.18);
}
.input[aria-invalid="true"] {
  border-color: var(--error);
}
.input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgb(180 35 24 / 0.15);
}
.error {
  margin: 6px 0 0;
  color: var(--error);
  font-size: 0.875rem;
  font-weight: 600;
}
.field-row {
  display: grid;
  gap: 0 12px;
}
@container (min-width: 520px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-alert {
  margin: 4px 0 16px;
  padding: 12px 14px;
  border: 1px solid #fecdca;
  border-radius: 12px;
  background: #fef3f2;
  color: #7a271a;
  font-size: 0.9375rem;
}
.form-alert:empty {
  margin: 0;
  padding: 0;
  border: 0;
}
.form-alert a {
  color: inherit;
  font-weight: 700;
}
.step-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}
.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.quote-success {
  padding: 12px 0;
  text-align: center;
}
.success-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--blue);
}
.success-icon .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2.25;
}
.quote-success .quote-title {
  margin-bottom: 12px;
}
.quote-success p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Cards ---------- */
.card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.cards-2,
.cards-4 {
  display: grid;
  gap: 20px;
}
@media (min-width: 760px) {
  .cards-2,
  .cards-4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .cards-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.icon-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--pale);
  color: var(--blue);
}
.icon-badge .icon {
  width: 26px;
  height: 26px;
}
.card-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.service-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem);
}
.service-card > p:not(.card-label):not(.card-links),
.related-card p {
  color: var(--muted);
}
.card-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  margin: auto 0 0;
  padding-top: 4px;
}
.more-secondary {
  color: var(--muted);
  font-weight: 600;
}
.related-card .more {
  margin-top: auto;
}

/* ---------- Checklist ---------- */
.checklists {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .checklists {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .checklists {
    grid-template-columns: repeat(4, 1fr);
  }
}
.checklist {
  padding: 24px;
}
.checklist h3 {
  margin-bottom: 16px;
}
.checklist ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96875rem;
  line-height: 1.4;
}
.box {
  display: grid;
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
}
.box .icon {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}
.box-deep {
  border: 1.5px dashed var(--blue);
  background: #fff;
  color: var(--blue);
}
.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue-hover);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
  vertical-align: 1px;
  white-space: nowrap;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}
.step {
  padding-top: 22px;
  border-top: 1.5px solid var(--navy);
}
.step-num {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-family: var(--font-head);
  font-size: 3.25rem;
  line-height: 1;
}
.step h3 {
  font-size: 1.35rem;
}
.step p {
  margin: 0;
  color: var(--muted);
}
.how-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: clamp(36px, 5vw, 48px);
}
.how-cta p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Before and after ---------- */
.ba-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .ba-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ba-grid-single {
    grid-template-columns: minmax(0, 720px);
  }
}
.ba {
  margin: 0;
}
.ba-frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.ba-layer {
  position: absolute;
  inset: 0;
}
.ba-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-ph {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 16px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}
.ba-ph span {
  max-width: 44%;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.9);
  text-align: center;
}
.ba-before .ba-ph {
  justify-content: flex-start;
  background: repeating-linear-gradient(135deg, #e4ebf2 0 12px, #d9e2eb 12px 24px);
}
.ba-after .ba-ph {
  justify-content: flex-end;
  background: repeating-linear-gradient(135deg, #fff 0 12px, var(--pale) 12px 24px);
}
.ba-tag {
  position: absolute;
  top: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgb(15 34 54 / 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-tag-before {
  left: 12px;
}
.ba-tag-after {
  right: 12px;
}
.ba-range {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  opacity: 0;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(15 34 54 / 0.12);
  pointer-events: none;
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgb(15 34 54 / 0.25);
  color: var(--navy);
  transform: translate(-50%, -50%);
}
.ba-knob .icon {
  width: 20px;
  height: 20px;
}
.ba-range:focus-visible ~ .ba-handle .ba-knob {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.ba figcaption {
  margin-top: 14px;
}
.ba figcaption strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 400;
}
.ba figcaption span {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ---------- Reviews (placeholders) ---------- */
.reviews-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 760px) {
  .reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}
.review-ph {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 24px;
  border: 1.5px dashed var(--dashed);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
}
.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  color: #c3cfdb;
}
.review-stars .icon {
  width: 18px;
  height: 18px;
}
.review-text {
  flex: 1;
  margin-bottom: 18px;
  font-size: 1.0625rem;
}
.review-ph figcaption {
  font-size: 0.875rem;
}
.reviews-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: clamp(28px, 4vw, 40px);
}
.reviews-cta p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Note from Monika ---------- */
.about-grid {
  display: grid;
  align-items: center;
  gap: 36px;
}
@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(40px, 6vw, 80px);
  }
}
.portrait {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  object-fit: cover;
}
@media (min-width: 860px) {
  .portrait {
    max-width: 440px;
  }
}
.portrait-ph {
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1.5px dashed var(--dashed);
  background: repeating-linear-gradient(135deg, #fff 0 12px, #f6f9fd 12px 24px);
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}
.portrait-ph span {
  display: grid;
  justify-items: center;
  gap: 10px;
}
.portrait-ph .icon {
  width: 32px;
  height: 32px;
}
.about-copy > p:not(.eyebrow):not(.signature):not(.signature-sub) {
  max-width: 34em;
}
.signature {
  margin: 24px 0 0;
  color: var(--blue);
  font-family: var(--font-head);
  font-size: 2.1rem;
  line-height: 1;
}
.signature-sub {
  margin: 6px 0 22px;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ---------- Promise band ---------- */
.promise {
  --accent-ink: var(--blue-hover);
  padding-block: clamp(48px, 7vw, 80px);
  background: var(--soft);
}
.promise-inner {
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}
@media (min-width: 860px) {
  .promise-inner {
    grid-template-columns: auto 1fr auto;
    justify-items: start;
    align-items: center;
    gap: 32px;
    text-align: left;
  }
}
.promise-seal {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  box-shadow: var(--shadow);
}
.promise-seal .icon {
  width: 40px;
  height: 40px;
  stroke-width: 1.5;
}
.promise h2 {
  margin-bottom: 6px;
  font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.25rem);
}
.promise p {
  margin: 0;
  color: var(--navy);
  font-size: 1.0625rem;
}

/* ---------- Areas ---------- */
.areas-grid {
  display: grid;
  gap: 8px;
}
@media (min-width: 960px) {
  .areas-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 64px;
  }
  .areas-grid .section-head {
    margin-bottom: 0;
  }
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}
.chip small {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
}
.chip-base {
  border-color: var(--blue-hover);
  background: var(--blue-hover);
  color: #fff;
}
.chip-base small {
  color: var(--soft);
}
.chip-base .icon {
  width: 16px;
  height: 16px;
  margin-left: -4px;
}
.areas-note {
  color: var(--muted);
}
.areas-strip {
  padding-block: clamp(48px, 7vw, 80px);
}
.areas-strip .strip-title {
  max-width: 30em;
  margin-bottom: 24px;
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem);
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 960px) {
  .faq-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    align-items: start;
    gap: 72px;
  }
  .faq-intro {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}
.faq-intro .intro {
  margin-bottom: 18px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--blue-hover);
}
.faq-icon {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.75px;
  border-radius: 2px;
  background: var(--navy);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq-a {
  padding: 0 46px 22px 0;
  color: var(--muted);
}
.faq-a p {
  margin: 0;
}

/* ---------- Closing CTA and footer (navy) ---------- */
.closing-cta,
.site-footer {
  --accent-ink: var(--light-blue);
  background: var(--navy);
  color: var(--on-navy);
}
.closing-cta {
  padding-block: clamp(64px, 9vw, 112px) clamp(48px, 6vw, 72px);
  text-align: center;
}
.closing-inner {
  max-width: 760px;
}
.closing-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
}
.closing-cta .accent {
  color: var(--light-blue);
}
.closing-cta p {
  margin-bottom: 28px;
  font-size: 1.125rem;
}
.site-footer {
  padding-bottom: 28px;
}
.site-footer .container {
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid rgb(255 255 255 / 0.12);
}
.footer-grid {
  display: grid;
  gap: 36px 32px;
}
@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.15fr 1.05fr 0.85fr 2fr;
  }
}
.logo-light,
.logo-light:hover {
  color: #fff;
}
.logo-light .logo-mark,
.logo-light .logo-word span {
  color: var(--light-blue);
}
.logo-light .logo-sub {
  color: var(--on-navy-muted);
}
.footer-brand p {
  max-width: 22em;
  margin: 16px 0 0;
}
.footer-h {
  margin-bottom: 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-list li,
.footer-list a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-list .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--light-blue);
}
.site-footer a {
  color: var(--on-navy);
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-explore ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  font-size: 0.96875rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  color: var(--on-navy-muted);
  font-size: 0.875rem;
}
.legal p {
  margin: 0;
}
.closing-cta :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--light-blue);
}

/* ---------- Mobile bottom bar ---------- */
.mbar {
  display: none;
}
@media (max-width: 760px) {
  .mbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 10px;
    padding: 10px max(12px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
    border-top: 1px solid var(--line);
    background: rgb(255 255 255 / 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 -10px 28px -20px rgb(15 34 54 / 0.45);
    transition: transform 0.25s ease, visibility 0s linear 0s;
  }
  .mbar .btn {
    padding-inline: 12px;
  }
  .mbar.is-hidden,
  html.menu-open .mbar {
    visibility: hidden;
    transform: translateY(110%);
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }
  /* Keep the end of the footer clear of the bar. */
  .site-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
}

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