/* KVB site-wide recovery layer
   Loaded after every legacy and redesign stylesheet to restore predictable
   layout, readable contrast, and consistent controls across English/Tamil pages.
*/
:root {
  color-scheme: light dark;
  --site-ink: #172b3d;
  --site-body: #40536a;
  --site-muted: #637786;
  --site-green: #147a80;
  --site-green-hover: #0f6268;
  --site-border: #d5e2e8;
  --site-surface: #ffffff;
  --site-canvas: #f3f5f6;
}
html { min-width: 320px; scroll-padding-top: 96px; }
body {
  min-width: 320px;
  color: var(--site-ink);
  background: var(--site-canvas);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
body :where(h1,h2,h3,h4,h5,h6,strong,b,label,legend,summary) { color: var(--site-ink); }
body :where(p,li,dd,dt,small,.note,.intro,.lead) { color: var(--site-body); }
body :where(a:not(.btn):not(.tile):not(.location-card):not(.floating-wa)) { color: #176b70; }
body :where(a:not(.btn):not(.tile):not(.location-card):not(.floating-wa)):hover { color: #12565b; }
.wrap { width: min(1160px, 92%); margin-inline: auto; }
img,svg,video,canvas { max-width: 100%; }
main { display: block; min-width: 0; }
section,article,aside,nav,header,footer { min-width: 0; }

/* Header and navigation */
.topbar { background: #fff; color: var(--site-ink); border-bottom: 1px solid var(--site-border); }
.brand,.brand span,.brand b { color: var(--site-ink); }
.brand small { color: #637786; }
.topbar nav a { color: #26364b; }
.topbar nav a:hover,.topbar nav a:focus-visible { color: var(--site-green); }
a.lang,.lang { color: #176b70; background: #edf4f5; border: 1px solid #d5e2e8; }
.menu { color: #172b3d; background: #fff; border: 1px solid #cbd8d0; }
@media (max-width: 900px) {
  .topbar nav.open,.topbar nav.is-open {
    display: flex;
    position: absolute;
    z-index: 60;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 5% 16px;
    background: #fff;
    border: 1px solid var(--site-border);
    box-shadow: 0 16px 32px rgba(23,43,77,.14);
  }
  .topbar nav.open a,.topbar nav.is-open a {
    display: block; width: 100%; padding: 12px 4px;
    color: #172b3d; font-size: 15px;
  }
}

/* Readable content surfaces */
.section,.service-page,.tool-page,.legal { color: var(--site-ink); }
.section-head h2,.service-page h1,.service-page h2,.tool-page h1,.legal h1 {
  color: #172b3d;
}
.section-head p,.service-page .intro,.service-page p,.tool-page p,.legal p,
.service-page li,.tool-page li { color: #40536a; }
.section.alt { background: #eef5f1; }
.panel,.calculator,.service-card,.tool-grid > div,.about-points > div,
.faq-list details,.step,.location-card {
  background: #fff;
  color: var(--site-ink);
  border-color: var(--site-border);
}
.panel p,.panel li,.calculator p,.tool-grid p,.about-points span,
.faq-list details p,.step p { color: #40536a; }
.panel h2,.calculator h2,.tool-grid h3,.faq-list summary { color: #172b3d; }
.service-page .back,.tool-page .back,.related a,.tool-grid a {
  color: #176b70;
}
.svc-body { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.72fr); gap: 28px; align-items: start; }
.svc-cta,.cta-panel { background: #172b3d; color: #fff; }
.svc-cta :where(h2,p,li,small),.cta-panel :where(h2,p,li,small) { color: #f1f5f9; }
.svc-cta .price { color: #172b3d; background: #e5f5eb; }
@media (max-width: 760px) {
  .svc-body { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .service-page,.tool-page,.legal { padding-block: 42px; }
}

/* Forms and calculator controls */
.contact-box,.calculator {
  background: #fff; color: #172b3d; border: 1px solid var(--site-border);
}
.contact-box label,.calculator label { display: block; color: #26364b; }
body :where(input,select,textarea) {
  color: #172b3d;
  background: #fff;
  border-color: #b9c9bf;
}
body :where(input,select,textarea)::placeholder { color: #64748b; opacity: 1; }
body :where(input,select,textarea):focus-visible {
  outline: 3px solid rgba(8,107,70,.28);
  outline-offset: 2px;
  border-color: #147a80;
}
.result { color: #172b3d; background: #e5f0f2; border-left-color: #147a80; }

/* Buttons and service actions */
.btn.primary,.contact-box .btn,.calculator .btn {
  color: #fff;
  background: #147a80;
  border-color: #147a80;
}
.btn.primary:hover,.contact-box .btn:hover,.calculator .btn:hover {
  color: #fff; background: #0f6268; border-color: #0f6268;
}
.btn.secondary { color: #172b3d; background: #fff; border: 1px solid #b9c9bf; }
.btn:focus-visible,button:focus-visible { outline: 3px solid #d39b25; outline-offset: 3px; }

/* Dark bands retain a deliberate light-on-dark contrast pairing. */
.clients,.contact,.strip,footer,.newbiz,.svc-cta,.cta-panel {
  color: #fff;
}
.clients :where(h1,h2,h3,p,li,span),.contact :where(h1,h2,h3,p,li,span),
.strip :where(h1,h2,h3,p,li,span),footer :where(h1,h2,h3,p,li,span,a),
.newbiz :where(h1,h2,h3,p,li,span) { color: #f4f7fb; }
.clients .big strong,.proof-main strong { color: #b8e2df; }
footer a { color: #b8e2df; }
.mbar a:first-child,.floating-wa { color: #fff; background: #147a80; }
.mbar a:last-child { color: #fff; background: #172b3d; }

/* Homepage light hero: explicit text colors prevent legacy gradient clipping. */
body .hero {
  color: #172b3d;
  background: linear-gradient(120deg,#f5fbf7 0%,#edf6f1 54%,#f8f5eb 100%);
}
body .hero h1,body .hero h1 .hero-title-main { color: #172b3d; }
body .hero h1 .hero-title-accent,body .hero .eyebrow { color: #147a80; }
body .hero .lead,body .hero .hero-copy .trust { color: #40536a; }
body .hero .hero-card { background: #fff; color: #172b3d; border: 1px solid #d5e2e8; }
body .hero .hero-card :where(p,span,small) { color: #40536a; }
body .hero .hero-card .mini { background: #172b3d; color: #fff; }
body .hero .hero-card .mini strong { color: #b8e2df; }
body .hero .hero-card .quick a { color: #176b70; background: #e5f0f2; border-color: #d5e2e8; }
body .hero .actions .btn.primary { color: #fff; background: #147a80; }
body .hero .actions .btn.secondary { color: #172b3d; background: #fff; border-color: #b9c9bf; }
#services #serviceTiles > .tile { color: #172b3d; background: #fff; }
#services #serviceTiles > .tile b { color: #172b3d; }
#services #serviceTiles > .tile small { color: #637786; }
#business .chips a span { color: #40536a; background: #fff; }
#locations .location-card :where(strong,small) { color: #172b3d; }

/* Stable mobile grids; no horizontal page overflow. */
@media (max-width: 1000px) {
  .hero .wrap.hero-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .hero .hero-card { max-width: 640px; }
}
@media (max-width: 700px) {
  html,body { width: 100%; overflow-x: clip; }
  .wrap { width: min(92%, 560px); }
  .hero { min-height: 0; padding: 44px 0 48px; }
  .hero h1 { font-size: clamp(30px,8vw,44px); line-height: 1.14; letter-spacing: -.8px; }
  .hero .hero-card { padding: 20px; border-radius: 20px; transform: none; }
  .hero .actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
  .hero .actions .btn { min-width: 0; width: 100%; padding-inline: 10px; white-space: normal; }
  .hero .actions .hero-services-cta { grid-column: 1 / -1; }
  .clients-grid,.about-grid,.contact-grid,.service-grid { grid-template-columns: minmax(0,1fr); }
  .steps { grid-template-columns: minmax(0,1fr); }
  .tiles,.locations,.tool-grid,.cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .services-grid { min-width: 0; max-width: 100%; }
  #services #serviceTiles.tiles { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: minmax(160px,auto); }
  #services #serviceTiles > .tile { min-width: 0; min-height: 160px; padding: 16px 12px; }
  .proof-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer { grid-template-columns: minmax(0,1fr); }
  .newbiz { align-items: stretch; flex-direction: column; }
  .newbiz .btn { width: 100%; }
  .mbar { padding-bottom: env(safe-area-inset-bottom); }
  body { padding-bottom: max(56px,calc(56px + env(safe-area-inset-bottom))); }
}
@media (max-width: 380px) {
  .tiles,.locations,.tool-grid,.cards { grid-template-columns: minmax(0,1fr); }
  .proof-grid { grid-template-columns: minmax(0,1fr); }
  .hero .actions { grid-template-columns: minmax(0,1fr); }
  .hero .actions .hero-services-cta { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Final contrast overrides. This file is loaded after every legacy stylesheet. */
body .hero h1 > .hero-title-main,
body .hero h1 > .hero-title-main .split-flap-text,
body .hero h1 > .hero-title-main .split-flap-text__char {
  --split-flap-text-color: #172b3d !important;
  color: #172b3d !important;
  -webkit-text-fill-color: #172b3d !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  text-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

body .hero h1 > .hero-title-accent,
body .hero h1 > .hero-title-accent .split-flap-text,
body .hero h1 > .hero-title-accent .split-flap-text__char {
  --split-flap-text-color: #147a80 !important;
  color: #147a80 !important;
  -webkit-text-fill-color: #147a80 !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  text-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

/* The trust strip under the hero buttons is a light surface, not a dark hero panel. */
body .hero .hero-copy > .trust {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  background: #ffffff !important;
  border: 1px solid #d5e2e8 !important;
  box-shadow: 0 6px 16px rgba(23,43,77,.10) !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

/* The trust strip inside the white hero card also needs dark text. */
body .hero .hero-card .trust {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  background: #f8fbf9 !important;
  border: 1px solid #d5e2e8 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

body .hero .hero-card .trust-item,
body .hero .hero-card .trust-item > span {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

body .hero .hero-card .trust-item--lang svg,
body .hero .hero-card .trust-item--wa svg {
  color: #147a80 !important;
  stroke: #147a80 !important;
  opacity: 1 !important;
}

body .hero .hero-card .trust-item--person svg {
  color: #805400 !important;
  stroke: #805400 !important;
  opacity: 1 !important;
}

/* Keep the featured service-area card legible on its dark gradient. */
body #locations .location-card--featured .location-card__copy strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body #locations .location-card--featured .location-card__copy small {
  color: #e2e8f0 !important;
  -webkit-text-fill-color: #e2e8f0 !important;
}

body #locations .location-card--featured .location-card__arrow,
body #locations .location-card--featured .location-card__icon {
  color: #b8e2df !important;
}

body #locations .location-card:not(.location-card--featured) .location-card__copy strong {
  color: #172b3d !important;
}

body #locations .location-card:not(.location-card--featured) .location-card__copy small {
  color: #637786 !important;
}

/* Site performance and typography refinement */
:root {
  --site-font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Noto Sans Tamil", "Noto Sans", Arial, sans-serif;
}

html,
body {
  font-family: var(--site-font-stack);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

body {
  font-synthesis: none;
  font-optical-sizing: auto;
}

body :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--site-font-stack);
  font-synthesis: none;
  text-wrap: balance;
}

body :where(p, li, label, input, select, textarea, button, a) {
  font-family: var(--site-font-stack);
}

body .hero h1 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

body .hero h1 .hero-title-main {
  font-size: inherit;
  font-weight: 760;
  line-height: inherit;
  letter-spacing: inherit;
}

body .hero h1 .hero-title-accent {
  margin-top: 8px;
  font-size: clamp(24px, 2.9vw, 36px);
  font-weight: 680;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

body .hero .hero-card .mini {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 88px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #172b3d !important;
  color: #f4f7fb !important;
  text-align: center;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
}

body .hero .hero-card .mini-label {
  display: block;
  color: #f4f7fb !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: center;
}

body .hero .hero-card .mini-number {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  color: #b8e2df !important;
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

body .hero .hero-card .mini-number:focus-visible {
  border-radius: 4px;
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

body .hero::before {
  display: none !important;
  animation: none !important;
}

body .hero-card {
  transform: none !important;
  transition: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: 0 16px 36px rgba(23,43,77,.12) !important;
}

#kvb-progress {
  display: none !important;
}

@media (max-width: 700px) {
  html, body {
    font-size: 16px;
  }

  body .hero h1 {
    font-size: clamp(32px, 8vw, 44px);
    line-height: 1.14;
    letter-spacing: -0.03em;
  }

  body .hero h1 .hero-title-accent {
    font-size: clamp(23px, 5.8vw, 30px);
  }

  body .hero .hero-card {
    transform: none !important;
  }

  body .hero .hero-card .mini-number {
    font-size: 25px;
  }
}


/* --------------------------------------------------------------------------
   KVB UI system refinement
   A single final layer for typography, spacing, alignment and lightweight UI.
   -------------------------------------------------------------------------- */
:root {
  --ui-ink: #172b3d;
  --ui-body: #40536a;
  --ui-muted: #637786;
  --ui-green: #147a80;
  --ui-green-dark: #0f6268;
  --ui-mint: #b8e2df;
  --ui-canvas: #f3f5f6;
  --ui-surface: #ffffff;
  --ui-border: #d5e2e8;
  --ui-radius-sm: 10px;
  --ui-radius-md: 16px;
  --ui-radius-lg: 22px;
  --ui-content: 1180px;
  --ui-section-space: clamp(52px, 6vw, 82px);
  --ui-shadow-card: 0 8px 24px rgba(23, 43, 77, .065);
  --ui-shadow-raised: 0 14px 32px rgba(23, 43, 77, .10);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--ui-canvas);
}

body {
  width: 100%;
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--ui-canvas) !important;
  background-image: none !important;
  background-attachment: scroll !important;
  color: var(--ui-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Noto Sans Tamil", "Noto Sans", Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
  font-optical-sizing: auto;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

body :where(h1, h2, h3, h4, h5, h6, p, li, label, input, select, textarea, button, a) {
  font-family: inherit;
}

body :where(h1, h2, h3, h4, h5, h6) {
  color: var(--ui-ink);
  font-weight: 720;
  text-wrap: balance;
}

body :where(p, li, small, label, dd, dt) {
  color: var(--ui-body);
  text-wrap: pretty;
}

.wrap {
  width: min(var(--ui-content), calc(100% - 48px));
  margin-inline: auto;
}

main {
  min-width: 0;
}

section {
  min-width: 0;
  scroll-margin-top: 100px;
}

body :where(img, svg, video, canvas) {
  max-width: 100%;
}

/* Header: a restrained, consistent alignment across desktop and mobile. */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97) !important;
  border-bottom: 1px solid var(--ui-border) !important;
  box-shadow: 0 4px 18px rgba(23,43,77,.055) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.topbar .wrap.nav {
  min-height: 76px;
  width: min(var(--ui-content), calc(100% - 48px));
  gap: 18px;
}

.topbar .brand {
  min-width: 0;
  gap: 10px;
  color: var(--ui-ink);
  font-size: 16px;
  line-height: 1.12;
}

.topbar .brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: none !important;
  box-shadow: none !important;
}

.topbar .brand small {
  margin-top: 4px;
  color: var(--ui-muted);
  font-size: 9px;
  letter-spacing: .08em;
}

.topbar .nav-right {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
}

.topbar nav {
  align-items: center;
  gap: clamp(12px, 1.5vw, 22px);
}

.topbar nav a {
  padding: 9px 0;
  color: #26364b !important;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}

.topbar nav a:hover {
  color: var(--ui-green) !important;
}

.topbar .lang {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--ui-border) !important;
  border-radius: 999px;
  background: #f5faf7 !important;
  color: var(--ui-green) !important;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.topbar .menu,
.topbar #menuBtn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ui-border);
  border-radius: 12px;
  background: #fff;
  color: var(--ui-ink);
  box-shadow: none;
}

@media (max-width: 1100px) {
  .topbar .wrap.nav {
    min-height: 68px;
    width: calc(100% - 32px);
    gap: 10px;
  }

  .topbar .nav-right {
    gap: 8px;
  }
}

/* Hero: clear copy column, balanced card, consistent action alignment. */
body .hero {
  min-height: 0;
  padding: clamp(56px, 6.5vw, 88px) 0 clamp(52px, 6vw, 76px);
  overflow: clip;
  background:
    radial-gradient(ellipse at 88% 12%, rgba(8,107,70,.09), transparent 32%),
    radial-gradient(ellipse at 12% 100%, rgba(229,173,61,.09), transparent 34%),
    linear-gradient(120deg, #f7fbf8 0%, #eef6f1 55%, #faf7ef 100%) !important;
  color: var(--ui-ink);
}

body .hero::before,
body .hero::after {
  display: none !important;
  animation: none !important;
  filter: none !important;
}

body .hero .wrap.hero-grid {
  display: grid;
  width: min(var(--ui-content), calc(100% - 48px));
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
}

body .hero-copy {
  width: 100%;
  max-width: 720px;
  min-width: 0;
}

body .hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--ui-green) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.35;
  text-transform: uppercase;
}

body .hero .eyebrow::before {
  width: 26px;
  height: 2px;
  flex: 0 0 26px;
  background: #e5ad3d;
}

body .hero h1 {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--ui-ink) !important;
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 780;
  line-height: 1.1;
  letter-spacing: -.045em;
  text-shadow: none !important;
}

body .hero h1 > br {
  display: none;
}

body .hero h1 .hero-title-main {
  display: block;
  color: var(--ui-ink) !important;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

body .hero h1 .hero-title-accent {
  display: block;
  margin-top: 12px;
  color: var(--ui-green) !important;
  font-size: clamp(24px, 2.8vw, 35px);
  font-weight: 680;
  line-height: 1.2;
  letter-spacing: -.03em;
}

body .hero .lead {
  max-width: 650px;
  margin: 0;
  color: #4e6074 !important;
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 420;
  line-height: 1.72;
}

body .hero .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 26px 0 14px;
}

body .hero .actions .btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border-radius: 12px;
  box-shadow: none !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
  transform: none !important;
}

body .hero .actions .btn.primary {
  border: 1px solid var(--ui-green);
  background: var(--ui-green) !important;
  color: #fff !important;
}

body .hero .actions .btn.primary:hover {
  border-color: var(--ui-green-dark);
  background: var(--ui-green-dark) !important;
}

body .hero .actions .btn.secondary {
  border: 1px solid #cbd9d0 !important;
  background: #fff !important;
  color: var(--ui-ink) !important;
}

body .hero .actions .btn.secondary:hover {
  border-color: #91b9a1 !important;
  background: #f4faf6 !important;
}

body .hero .actions .btn:focus-visible {
  outline: 3px solid #d39b25;
  outline-offset: 3px;
}

body .hero-copy > .trust {
  display: inline-flex;
  max-width: 100%;
  align-items: flex-start;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid #e1ebe4;
  border-radius: 12px;
  background: rgba(255,255,255,.76);
  color: #52675d !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

/* Hero information card */
body .hero .hero-card {
  width: 100%;
  max-width: 430px;
  min-width: 0;
  justify-self: end;
  padding: clamp(22px, 2.5vw, 32px);
  border: 1px solid #dce9e1 !important;
  border-radius: 24px;
  background: #fff !important;
  color: var(--ui-ink) !important;
  box-shadow: var(--ui-shadow-card) !important;
  transform: none !important;
  transition: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body .hero .hero-card::after {
  display: none !important;
}

body .hero .hero-card .logo-card {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  margin: 0 0 18px;
  border: 1px solid #e3eee7;
  border-radius: 18px;
  background: #f6fbf8;
  box-shadow: none;
}

body .hero .hero-card .logo-card img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

body .hero .hero-card > p.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px 13px;
  border: 1px solid #e5ece7;
  border-radius: 12px;
  background: #f9fcfa;
  color: var(--ui-body) !important;
  font-size: 12px;
  line-height: 1.45;
}

body .hero .hero-card .trust-item {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: var(--ui-body) !important;
}

body .hero .hero-card .trust-divider {
  width: 1px;
  height: 16px;
  flex: 0 0 1px;
  background: #d5e2e8;
}

body .hero .hero-card .quick {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}

body .hero .hero-card .quick a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 5px;
  border: 1px solid #dce9e1;
  border-radius: 10px;
  background: #f4f9f6 !important;
  color: var(--ui-green) !important;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease;
}

body .hero .hero-card .quick a:hover {
  border-color: #a9cdb6;
  background: #eaf6ef !important;
  transform: none !important;
}

body .hero .hero-card .mini {
  min-height: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0;
  padding: 13px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--ui-ink) !important;
  color: #f4f7fb !important;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
}

body .hero .hero-card .mini-label {
  color: #f4f7fb !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.3;
}

body .hero .hero-card .mini-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  color: var(--ui-mint) !important;
  font-size: clamp(23px, 2.5vw, 29px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  letter-spacing: .015em;
  text-decoration: none;
  white-space: nowrap;
}

/* Proof section and image: equal column rhythm, consistent image crop. */
.clients {
  padding-block: clamp(42px, 5vw, 62px);
  background: var(--ui-ink) !important;
  color: #fff !important;
}

.clients .clients-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
}

.clients .big {
  min-width: 0;
}

.clients .big strong {
  display: block;
  margin: 0;
  color: var(--ui-mint) !important;
  font-size: clamp(76px, 9vw, 112px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.065em;
}

.clients .big > span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.86) !important;
  font-size: 14px;
  font-weight: 650;
}

.clients .proof-visual {
  width: min(100%, 410px);
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  aspect-ratio: 16 / 9;
}

.clients .proof-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clients .clients-grid > div:nth-child(2) h2 {
  max-width: 560px;
  margin: 0 0 14px;
  color: #fff !important;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 740;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.clients .clients-grid > div:nth-child(2) p {
  max-width: 600px;
  margin: 0 0 16px;
  color: rgba(255,255,255,.84) !important;
  font-size: 15px;
  line-height: 1.7;
}

.clients .ticks {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clients .ticks li {
  color: rgba(255,255,255,.92) !important;
  font-size: 14px;
  line-height: 1.5;
}

/* Consistent section rhythm and headings. */
body :where(#services, #how, #business, #about, #locations, #tools, .faq) {
  padding-block: var(--ui-section-space);
}

body .section-head {
  max-width: 740px;
  margin: 0 0 30px;
}

body .section-head h2,
body #about h2 {
  margin: 0 0 12px;
  color: var(--ui-ink) !important;
  font-size: clamp(29px, 3.5vw, 42px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.04em;
}

body .section-head p {
  max-width: 680px;
  margin: 0;
  color: var(--ui-muted) !important;
  font-size: 15px;
  line-height: 1.7;
}

body .section,
body .section.alt {
  background: #fff !important;
}

body #services,
body #tools,
body .faq {
  background: var(--ui-canvas) !important;
}

/* Services grid: fixed, predictable card alignment instead of a partial carousel. */
body #services .services-grid {
  display: block;
  width: 100%;
  max-width: none;
  overflow: visible;
}

body #services .tiles-carousel .tiles,
body #services #serviceTiles.tiles {
  display: grid !important;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  overflow: visible;
}

body #services #serviceTiles > .tile {
  min-width: 0;
  min-height: 192px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 9px;
  padding: 22px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-md);
  background: #fff !important;
  color: var(--ui-ink) !important;
  box-shadow: var(--ui-shadow-card);
  text-decoration: none;
  transform: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

body #services #serviceTiles > .tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: var(--ui-radius-md) var(--ui-radius-md) 0 0;
  background: var(--tile-accent, var(--ui-green));
}

body #services #serviceTiles > .tile::after {
  display: none !important;
}

body #services #serviceTiles > .tile .tile-ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 0 auto;
  border: 1px solid #e2eee6;
  border-radius: 13px;
  background: #f0f8f3;
  color: var(--tile-accent, var(--ui-green));
}

body #services #serviceTiles > .tile .tile-ico svg {
  width: 23px;
  height: 23px;
}

body #services #serviceTiles > .tile b {
  color: var(--ui-ink) !important;
  font-size: 16px;
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: -.015em;
}

body #services #serviceTiles > .tile small {
  color: var(--ui-muted) !important;
  font-size: 13px;
  line-height: 1.4;
}

body #services #serviceTiles > .tile:hover,
body #services #serviceTiles > .tile:focus-visible {
  border-color: #a9cdb6;
  box-shadow: var(--ui-shadow-raised);
  transform: translateY(-2px);
}

body #services .tiles-arrow {
  display: none !important;
}

/* Process cards: equal widths and a clear reading order. */
body #how .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

body #how .steps::before {
  display: none !important;
}

body #how .step {
  min-width: 0;
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-md);
  background: #fff;
  box-shadow: var(--ui-shadow-card);
  transform: none;
}

body #how .step > b {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  border-radius: 12px;
  background: #e9f6ee;
  color: var(--ui-green);
  box-shadow: none;
  font-size: 16px;
  font-weight: 800;
}

body #how .step h3 {
  margin: 0 0 8px;
  color: var(--ui-ink);
  font-size: 17px;
  line-height: 1.3;
}

body #how .step p {
  margin: 0;
  color: var(--ui-muted);
  font-size: 14px;
  line-height: 1.6;
}

body #how .how-cta {
  margin-top: 24px;
}

body #how .how-cta .btn {
  min-height: 50px;
  padding-inline: 22px;
  border-radius: 12px;
}

/* Business chips and callout. */
body #business .chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

body #business .chips a {
  display: inline-flex;
  max-width: 100%;
  text-decoration: none;
}

body #business .chips a span,
body #business .chips > span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid var(--ui-border);
  border-radius: 999px;
  background: #fff;
  color: var(--ui-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

body #business .newbiz {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 28px;
  padding: clamp(24px, 3.5vw, 38px);
  border-radius: var(--ui-radius-lg);
  background: var(--ui-ink);
  color: #fff;
  box-shadow: none;
}

body #business .newbiz > div {
  min-width: 0;
  max-width: 680px;
}

body #business .newbiz h3 {
  margin: 0 0 10px;
  color: #fff !important;
  font-size: clamp(23px, 2.8vw, 31px);
  line-height: 1.15;
  letter-spacing: -.03em;
}

body #business .newbiz p,
body #business .newbiz li {
  color: rgba(255,255,255,.84) !important;
  font-size: 14px;
  line-height: 1.65;
}

body #business .newbiz .btn {
  flex: 0 0 auto;
  min-height: 50px;
  border-radius: 12px;
}

/* About, locations, tools and FAQ use one card language. */
body #about .about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

body #about .about-grid > div:first-child p {
  max-width: 660px;
  color: var(--ui-body) !important;
  font-size: 15px;
  line-height: 1.75;
}

body #about .about-points {
  display: grid;
  gap: 12px;
}

body #about .about-points > div {
  padding: 20px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-md);
  background: #fff;
  box-shadow: var(--ui-shadow-card);
}

body #about .about-points b {
  display: block;
  margin-bottom: 6px;
  color: var(--ui-ink) !important;
  font-size: 16px;
}

body #about .about-points span {
  color: var(--ui-muted) !important;
  font-size: 14px;
  line-height: 1.55;
}

body #locations .locations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}

body #locations .location-card {
  min-width: 0;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-md);
  background: #fff;
  box-shadow: none;
  text-decoration: none;
  transform: none;
}

body #locations .location-card__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eff7f2;
  color: var(--ui-green);
}

body #locations .location-card__copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

body #locations .location-card__copy strong {
  color: var(--ui-ink) !important;
  font-size: 14px;
  line-height: 1.3;
}

body #locations .location-card__copy small {
  color: var(--ui-muted) !important;
  font-size: 12px;
  line-height: 1.35;
}

body #locations .location-card__arrow {
  margin-left: auto;
  color: var(--ui-green);
  font-size: 18px;
}

body #locations .location-card--featured {
  border-color: #c1dfcc;
  background: #edf7f0;
}

body #tools .tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

body #tools .tool-grid > div {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-md);
  background: #fff;
  box-shadow: var(--ui-shadow-card);
}

body #tools .tool-grid h3 {
  margin: 0 0 8px;
  color: var(--ui-ink) !important;
  font-size: 16px;
  line-height: 1.3;
}

body #tools .tool-grid p {
  color: var(--ui-muted) !important;
  font-size: 13px;
  line-height: 1.55;
}

body #tools .tool-grid a {
  display: inline-flex;
  margin-top: 6px;
  color: var(--ui-green) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

body .faq .faq-list {
  display: grid;
  max-width: 880px;
  gap: 10px;
}

body .faq .faq-list details {
  padding: 17px 18px;
  border: 1px solid var(--ui-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

body .faq .faq-list summary {
  color: var(--ui-ink) !important;
  font-size: 15px;
  font-weight: 680;
  line-height: 1.45;
}

body .faq .faq-list details p {
  margin: 12px 0 0;
  color: var(--ui-body) !important;
  font-size: 14px;
  line-height: 1.7;
}

/* Contact: clear text/form columns; controls align and share a consistent height. */
body #contact.contact {
  padding-block: clamp(54px, 6.5vw, 86px);
  background: var(--ui-ink) !important;
  color: #fff !important;
}

body #contact .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
}

body #contact .contact-grid > div:first-child {
  min-width: 0;
}

body #contact .contact-grid > div:first-child h2 {
  max-width: 520px;
  margin: 0 0 14px;
  color: #fff !important;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -.04em;
}

body #contact .contact-grid > div:first-child > p {
  max-width: 490px;
  color: rgba(255,255,255,.82) !important;
  font-size: 15px;
  line-height: 1.7;
}

body #contact .contact-line {
  display: grid;
  width: fit-content;
  max-width: 100%;
  gap: 3px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.84) !important;
  font-size: 14px;
  line-height: 1.55;
}

body #contact .contact-line strong {
  color: #fff !important;
  font-size: 17px;
}

body #contact .contact-line a {
  color: var(--ui-mint) !important;
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
}

body #contact .contact-box {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid #e5eee8;
  border-radius: var(--ui-radius-lg);
  background: #fff !important;
  color: var(--ui-ink) !important;
  box-shadow: 0 16px 38px rgba(0,0,0,.14);
}

body #contact .contact-box label {
  display: grid;
  gap: 7px;
  color: #40536a !important;
  font-size: 13px;
  font-weight: 650;
}

body #contact .contact-box :where(input, select, textarea) {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #cbd8d0;
  border-radius: 10px;
  background: #fbfdfb;
  color: var(--ui-ink);
  font: inherit;
  font-size: 15px;
}

body #contact .contact-box textarea {
  min-height: 104px;
  resize: vertical;
}

body #contact .contact-box .btn {
  width: 100%;
  min-height: 52px;
  border-radius: 11px;
}

/* Buttons, keyboard focus, and nonessential motion. */
body .btn,
body button {
  font-family: inherit;
  font-weight: 700;
}

body :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #d39b25;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  body #services #serviceTiles > .tile:hover,
  body #locations .location-card:hover,
  body #tools .tool-grid > div:hover,
  body #about .about-points > div:hover {
    border-color: #a9cdb6;
    box-shadow: var(--ui-shadow-raised);
  }
}

@media (max-width: 980px) {
  body .hero .wrap.hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr);
    gap: 28px;
  }

  body #services #serviceTiles.tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body #tools .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body #locations .locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --ui-section-space: 52px;
  }

  .wrap {
    width: calc(100% - 36px);
  }

  body .hero {
    padding-block: 44px 42px;
  }

  body .hero .wrap.hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    width: calc(100% - 36px);
  }

  body .hero-copy {
    max-width: none;
  }

  body .hero h1 {
    font-size: clamp(32px, 8.5vw, 44px);
    line-height: 1.12;
    letter-spacing: -.04em;
  }

  body .hero h1 .hero-title-accent {
    margin-top: 9px;
    font-size: clamp(23px, 5.8vw, 30px);
  }

  body .hero .lead {
    font-size: 15px;
    line-height: 1.68;
  }

  body .hero .actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-block: 20px 12px;
  }

  body .hero .actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding-inline: 10px;
    font-size: 13px;
    white-space: normal;
  }

  body .hero .actions .hero-services-cta {
    grid-column: 1 / -1;
  }

  body .hero-copy > .trust {
    display: flex;
    font-size: 11px;
  }

  body .hero .hero-card {
    max-width: none;
    justify-self: stretch;
    padding: 20px;
    border-radius: 20px;
  }

  body .hero .hero-card > p.trust {
    display: none;
  }

  body .hero .hero-card .quick {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  body .hero .hero-card .quick a {
    min-height: 40px;
    font-size: 11px;
  }

  body .clients .clients-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  body .clients .big strong {
    font-size: clamp(72px, 18vw, 94px);
  }

  body .clients .proof-visual {
    width: min(100%, 420px);
  }

  body #services #serviceTiles.tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body #services #serviceTiles > .tile {
    min-height: 168px;
    padding: 16px;
  }

  body #services #serviceTiles > .tile b {
    font-size: 15px;
  }

  body #how .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  body #how .step {
    min-height: 0;
    padding: 18px;
  }

  body #how .step > b {
    margin-bottom: 12px;
  }

  body #business .newbiz {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  body #business .newbiz .btn {
    width: 100%;
  }

  body #about .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  body #locations .locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body #contact .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  body #contact .contact-line {
    width: 100%;
  }

  body #contact .contact-box {
    padding: 19px;
  }
}

@media (max-width: 420px) {
  .wrap,
  body .hero .wrap.hero-grid {
    width: calc(100% - 30px);
  }

  body .hero .actions {
    grid-template-columns: minmax(0, 1fr);
  }

  body .hero .actions .hero-services-cta {
    grid-column: auto;
  }

  body .hero .actions .btn {
    min-height: 48px;
  }

  body #services #serviceTiles.tiles,
  body #locations .locations,
  body #tools .tool-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body #services #serviceTiles > .tile {
    min-height: 150px;
  }

  body #locations .location-card {
    min-height: 68px;
  }
}

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

  body *,
  body *::before,
  body *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}


/* Keep the highlighted service area consistent with the light location cards. */
body #locations .location-card--featured {
  border-color: #b8d9c4;
  background: #edf7f0;
}

body #locations .location-card--featured .location-card__copy strong {
  color: var(--ui-ink) !important;
  -webkit-text-fill-color: var(--ui-ink) !important;
}

body #locations .location-card--featured .location-card__copy small {
  color: var(--ui-muted) !important;
  -webkit-text-fill-color: var(--ui-muted) !important;
}

body #locations .location-card--featured .location-card__icon,
body #locations .location-card--featured .location-card__arrow {
  color: var(--ui-green) !important;
}

@media (max-width: 420px) {
  body #services #serviceTiles.tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body #services #serviceTiles > .tile {
    min-height: 154px;
    padding: 13px;
  }

  body #services #serviceTiles > .tile b {
    font-size: 14px;
  }
}
