/* ==========================================================================
   Digital Upsite — main stylesheet ("Trust blue" theme)
   --------------------------------------------------------------------------
   Plain CSS, no build step. Colours, fonts and spacing are defined once as
   "tokens" in :root below. Change a token and it updates across the site.
   The look: white and light cool-grey surfaces, deep ink-navy for text and
   dark bands, one deep ultramarine blue for buttons, links and highlights.
   Signature detail: the "ledger rule", a fine hairline that starts with a
   short blue tick. It sits above section labels, the "Why us" points, the
   FAQ list, the launch offer card and the hero mock-up caption.
   ========================================================================== */

/* ---------- 1. Fonts (self-hosted Plus Jakarta Sans, SIL Open Font Licence) */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  /* Indian Rupee sign (₹) only, about 1 KB */
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-rupee-wght-normal.woff2") format("woff2");
  unicode-range: U+20B9;
}
@font-face {
  /* Extended Latin characters (accented letters) */
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20B8, U+20BA-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 2. Design tokens ------------------------------------------- */
:root {
  /* Brand colours */
  --ink: #0b1b34; /* headings, dark bands */
  --ink-deep: #081428; /* footer */
  --blue: #1f36ad; /* "Upsite ultramarine", the one accent: buttons, links, highlights (9.6:1 on white) */
  --blue-hover: #192c8f;
  --blue-700: #192c8f; /* blue text on tinted backgrounds */
  --blue-100: #dbe0f4; /* tint borders */
  --blue-50: #eff1fa; /* tint fills */
  --band: #e8ecf9; /* the pale blue band behind the launch offer */
  --blue-light: #a6b6f6; /* blue text and icons on dark backgrounds (8.7:1 on ink) */
  --blue-bright: #3c54cf; /* the accent lifted for buttons on dark backgrounds (white text 6.3:1) */
  --demo-brand: #0e7c66; /* the made-up clinic inside the sample pictures and the live demo (its own hue, not ours) */

  /* Text & surfaces (cool greys tuned to the ink, not a stock scale) */
  --text: #2d3a50;
  --muted: #55617a;
  --line: #dfe3eb;
  --line-strong: #c5ccd9;
  --control: #7a8499; /* form field borders (3:1 on white and on --bg-soft) */
  --bg: #ffffff;
  --bg-soft: #f3f5f9;
  --on-dark: #dbe2ee;
  --on-dark-muted: #a8b4c8;
  --line-dark: rgba(255, 255, 255, 0.13);
  --focus: var(--blue);
  --success: #0a7a4e;
  --danger: #b42318;

  /* Signature "ledger rule": a hairline that starts with a short accent tick */
  --tick: 32px;

  /* Type */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans",
    "Helvetica Neue", Arial, sans-serif;
  --fs-body: clamp(1rem, 0.98rem + 0.1vw, 1.0625rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --fs-h1: clamp(2.25rem, 1rem + 3.9vw, 4rem); /* home hero: 64px from 1280px wide */
  --fs-h1-page: clamp(2rem, 1.5rem + 1.9vw, 3rem); /* inner pages: 32px on phones, 48px max (3 lines at most from 1024px) */
  --fs-h2: clamp(1.625rem, 1.3rem + 1.35vw, 2.5rem);
  --fs-h3: 1.125rem;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 8vw, 112px);
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-xs: 0 1px 2px rgba(11, 27, 52, 0.06);
  --shadow-sm: 0 1px 2px rgba(11, 27, 52, 0.05), 0 2px 8px -2px rgba(11, 27, 52, 0.06);
  --shadow: 0 12px 28px -14px rgba(11, 27, 52, 0.2), 0 2px 6px -2px rgba(11, 27, 52, 0.06);
  --shadow-lg: 0 28px 56px -24px rgba(11, 27, 52, 0.3), 0 4px 12px -4px rgba(11, 27, 52, 0.08);
}

/* ---------- 3. Base / reset -------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  scroll-padding-bottom: var(--consent-space, 0px);
}
/* "Skip to main content" moves keyboard focus past the menu but leaves the page at the top
   (where the hero is already in view), not a few pixels down with the WhatsApp button half faded in */
#main {
  scroll-margin-top: 200px;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 {
  font-size: var(--fs-h1);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
h2 {
  font-size: var(--fs-h2);
  line-height: 1.14;
  letter-spacing: -0.025em;
}
h3,
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
strong {
  font-weight: 700;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
::selection {
  background: var(--blue-100);
  color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  flex: none;
  vertical-align: middle;
}
.icon--sm {
  width: 1em;
  height: 1em;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  box-shadow: var(--shadow);
}
.skip-link:focus {
  top: 12px;
}

/* Dark surfaces share these settings (focus ring and accents in light blue) */
.topbar,
.section--dark,
.service-card--featured,
.site-footer {
  --focus: var(--blue-light);
}

/* ---------- 4. Layout helpers ------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow {
  max-width: 780px;
}
.section {
  padding-block: var(--section-y);
}
.section--soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}
.section--dark {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  isolation: isolate;
  overflow: hidden;
}
.section--dark::before {
  /* a faint technical grid in the top corner */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 55% 70% at 100% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 55% 70% at 100% 0%, #000 0%, transparent 70%);
}
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.section--dark .lead {
  color: var(--on-dark-muted);
}
.section-head {
  max-width: 740px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head .lead {
  margin-bottom: 0;
}
/* Section labels sit on the signature ledger rule: a hairline across the
   heading's column, starting with a short blue tick (centred on centred headings) */
.eyebrow {
  position: relative;
  margin: 0 0 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
  color: var(--blue);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: var(--tick);
  height: 2px;
  background: var(--blue);
}
.section-head--center .eyebrow::before,
.hero--center .eyebrow::before {
  left: calc(50% - var(--tick) / 2);
}
.section--dark .eyebrow {
  border-top-color: var(--line-dark);
  color: var(--blue-light);
}
.section--dark .eyebrow::before {
  background: var(--blue-light);
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--muted);
}
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.grid--3 {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 680px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1012px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 680px) and (max-width: 1011.98px) {
  .grid--3 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 12px);
  }
}
/* thank-you page: once the offer ends its offer card is hidden, so the two cards left sit centred */
@media (min-width: 1012px) {
  .offer-closed .grid--explore {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    margin-inline: auto;
  }
}
/* keeps a short phrase, such as a time range, on one line */
.nowrap {
  white-space: nowrap;
}
/* open list: items separated by hairlines instead of boxed cards */
.grid--open {
  column-gap: clamp(24px, 4vw, 56px);
  row-gap: clamp(36px, 4vw, 52px);
}
.grid--open > .card {
  padding: 28px 0 0;
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  background: none;
}
.grid--open > .card::before {
  /* the ledger tick on the rule, as on the section labels */
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: var(--tick);
  height: 2px;
  background: var(--blue);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--top {
    align-items: start;
  }
  .split--intro-narrow {
    grid-template-columns: 0.8fr 1.2fr;
  }
  .sticky-intro {
    position: sticky;
    top: 112px;
  }
  .sticky-intro h2 {
    font-size: clamp(1.75rem, 1.2rem + 1.3vw, 2.25rem);
  }
}

/* ---------- 5. Buttons, badges, small components ------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.8em 1.3em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance; /* a two-line button splits evenly, not with one word left on its own */
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.btn .icon {
  width: 1.1em;
  height: 1.1em;
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(11, 27, 52, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.btn--primary:hover {
  background: var(--blue-hover);
}
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover {
  background: #1a2d4f;
}
.btn--secondary,
.btn--ghost-light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-xs);
}
.btn--secondary:hover,
.btn--ghost-light:hover {
  border-color: var(--ink);
}
/* outline button on dark surfaces */
.section--dark .btn--ghost-light,
.service-card--featured .btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: none;
}
.section--dark .btn--ghost-light:hover,
.service-card--featured .btn--ghost-light:hover {
  border-color: #fff;
}
/* main button on dark surfaces: the accent lifted a step so it doesn't sink into the ink */
.section--dark .btn--primary,
.service-card--featured .btn--primary {
  background: var(--blue-bright);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.section--dark .btn--primary:hover,
.service-card--featured .btn--primary:hover {
  background: #4660da;
}
.btn--whatsapp {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-xs);
}
.btn--whatsapp:hover {
  border-color: var(--ink);
}
.btn--whatsapp .icon {
  color: #1da851;
}
.btn--lg {
  font-size: 1rem;
  padding: 0.85em 1.45em;
}
.btn--sm {
  font-size: 0.875rem;
  padding: 0.6em 1em;
}
.btn--block {
  width: 100%;
}
.btn[disabled],
.btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}
.btn .icon--wa {
  width: 1.25em;
  height: 1.25em;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--blue-100);
  border-radius: 4px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}
.badge .icon {
  display: none;
}
.badge::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.section--dark .badge,
.service-card--featured .badge {
  border-color: rgba(166, 182, 246, 0.3);
  background: rgba(166, 182, 246, 0.1);
  color: #ccd5fb;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.link-arrow:hover {
  text-decoration: underline;
}
.link-arrow .icon {
  transition: transform 0.2s;
}
.link-arrow:hover .icon {
  transform: translateX(3px);
}
.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.ticks {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
}
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ticks .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  padding: 4px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  stroke-width: 3;
}
.section--dark .ticks li,
.service-card--featured .ticks li {
  color: var(--on-dark);
}
.section--dark .ticks .icon,
.service-card--featured .ticks .icon {
  background: rgba(166, 182, 246, 0.14);
  color: var(--blue-light);
}
/* a "never" list: soft red crosses instead of ticks (9:1 on the dark band) */
.section--dark .ticks--never .icon {
  background: rgba(252, 165, 165, 0.14);
  color: #fca5a5;
}
@media (min-width: 560px) {
  .ticks--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 620px;
  }
}

/* One icon treatment everywhere: a blue line icon on a pale blue tile */
.icon-tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  background: var(--blue-50);
  color: var(--blue);
}
.icon-tile .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}
.icon-tile--glass {
  border-color: rgba(166, 182, 246, 0.28);
  background: rgba(166, 182, 246, 0.1);
  color: var(--blue-light);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.card h3 {
  margin-bottom: 0.45em;
}
.card p {
  margin: 0;
  color: var(--muted);
}
.card p + p {
  margin-top: 16px;
}
.card--hover:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

/* ---------- 6. Announcement bar + header + navigation ------------------- */
.topbar {
  background: var(--ink);
  color: var(--on-dark);
  font-size: 0.8125rem;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 14px;
  padding-block: 9px;
  text-align: center;
  line-height: 1.45;
}
.topbar__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 1px 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topbar__pill .icon {
  display: none;
}
.topbar__pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
}
.topbar__text {
  margin: 0;
  font-weight: 500;
}
.topbar__text strong {
  color: #fff;
  font-weight: 700;
}
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue-light);
  font-weight: 600;
  text-decoration-color: rgba(166, 182, 246, 0.5);
}
.topbar__link:hover {
  color: #fff;
  text-decoration-color: #fff;
}
/* below 500px the "Launch offer" label is left out, so the strip stays on one line
   (at 480-499px it has no room yet and would push "See the offer" onto a second line) */
@media (max-width: 499.98px) {
  .topbar__pill {
    display: none;
  }
}

.site-header {
  --focus: var(--blue);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
}

/* Logo: the owner's "Classic" mark (inline SVG: a D with a head, brain, bars and a growth arrow;
   36px, 32px in the phone header) and the name as real text. The name leans 12 degrees like the
   logo artwork, and "Upsite" is the brand orange. In the footer the name and the navy parts of the
   mark turn white together. */
.logo {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  border-radius: var(--radius-sm);
  color: var(--ink);
  line-height: 1;
  text-decoration: none;
}
.logo__mark {
  display: block;
  flex: none;
  width: 36px;
  height: 36px;
}
.logo__name {
  display: inline-block; /* needed for the lean */
  font-size: 1.25rem; /* 20px */
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transform: skewX(-12deg); /* the logo's 12-degree lean on real text; no italic font file needed */
}
.logo__up {
  color: #f75d01; /* brand orange: 3.2:1 on white, so only for this large bold word, never small text */
}
.site-footer .logo--footer {
  color: #fff; /* outranks ".site-footer a", so the name is the same white as the mark */
}
.logo--footer .logo__navy {
  fill: #fff;
}
@media (max-width: 519.98px) {
  .site-header .logo {
    gap: 7px; /* with the 32px mark the whole logo is 158px wide, under the 160px the phone header allows */
  }
  .site-header .logo__mark {
    width: 32px;
    height: 32px;
  }
  .site-header .logo__name {
    font-size: 1.1667rem; /* 18.67px: large bold text, so the orange word passes the contrast check */
  }
}

.nav-toggle {
  display: inline-grid;
  flex: none; /* never squeezed narrower than 44px on a very narrow screen */
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .icon {
  width: 22px;
  height: 22px;
}
.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: block;
}
/* Phones: a small WhatsApp button beside the menu button, so WhatsApp is on the first screen
   (the floating button there waits for the first scroll). Wider screens don't show it. */
.site-header__wa {
  display: none;
}
@media (max-width: 519.98px) {
  .site-header__wa {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-right: -4px; /* 8px from the menu button, so the two read as a pair */
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: #fff;
    color: #128c4a; /* WhatsApp green, dark enough to stand out on white (4.3:1) */
  }
  .site-header__wa .icon {
    width: 24px;
    height: 24px;
  }
}
/* under 300px wide (a folding phone's outer screen, or a phone zoomed to 150%) there is no room
   for it beside the logo and the menu button; the floating button still appears after the
   first scroll */
@media (max-width: 299.98px) {
  .site-header__wa {
    display: none;
  }
}
.site-nav__list {
  list-style: none;
}
.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.site-nav__link:hover {
  color: var(--ink);
  background: var(--bg-soft);
}
.site-nav__link[aria-current="page"] {
  color: var(--blue);
  background: var(--blue-50);
}
.site-nav__toggle .icon {
  transition: transform 0.2s;
}
.site-nav__toggle.is-current {
  color: var(--blue);
}
@media (min-width: 1080px) {
  .site-nav__toggle.is-current {
    background: var(--blue-50);
  }
  .site-nav__menu a[aria-current="page"] {
    background: var(--bg-soft);
  }
}
@media (max-width: 1079.98px) {
  .site-nav__menu a[aria-current="page"] {
    color: var(--blue);
    font-weight: 700;
  }
  html:not(.js) .site-header {
    position: static; /* without JavaScript the whole menu is open; don't pin it over the page */
  }
  html:not(.js) .nav-toggle {
    display: none; /* the menu button needs JavaScript */
  }
  html:not(.js) .site-header__inner {
    padding-top: 18px;
  }
}
.site-nav__toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}
.site-nav__tag {
  padding: 1px 6px;
  border: 1px solid var(--blue-100);
  border-radius: 4px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}
.site-nav__menu {
  list-style: none;
}
.site-nav__menu a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
}
.site-nav__menu strong,
.site-nav__menu small {
  display: block;
}

/* Desktop navigation */
@media (min-width: 1080px) {
  .site-nav {
    display: flex;
    align-items: center;
  }
  .site-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
  }
  .has-menu {
    position: relative;
  }
  .site-nav__menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    min-width: 350px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px);
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  }
  .site-nav__menu::before {
    /* invisible bridge so the menu doesn't close while moving the mouse */
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -16px;
    height: 16px;
  }
  html:not(.js) .has-menu:hover .site-nav__menu,
  html:not(.js) .has-menu:focus-within .site-nav__menu,
  .has-menu.is-open .site-nav__menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
  .site-nav__menu a {
    padding: 10px;
    border-radius: var(--radius);
    color: var(--ink);
  }
  .site-nav__menu a:hover,
  .site-nav__menu a:focus-visible {
    background: var(--bg-soft);
  }
  .site-nav__menu a > .icon {
    width: 36px;
    height: 36px;
    padding: 8px;
    border: 1px solid var(--blue-100);
    border-radius: var(--radius);
    background: var(--blue-50);
    color: var(--blue);
    stroke-width: 1.75;
  }
  .site-nav__menu strong {
    font-size: 0.9375rem;
    font-weight: 600;
  }
  .site-nav__menu small {
    color: var(--muted);
    font-size: 0.8125rem;
  }
  .site-nav__cta,
  .nav-toggle {
    display: none;
  }
}

/* Mobile navigation */
@media (max-width: 1079.98px) {
  .js .site-nav {
    display: none;
  }
  .site-nav {
    flex-basis: 100%;
    padding-bottom: 16px;
  }
  .js .site-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px var(--gutter) calc(24px + var(--consent-space, 0px));
    border-top: 1px solid var(--line);
    background: #fff;
    /* dim the page behind the open menu; the clip keeps the header above it undimmed
       (it starts 1px down, on the panel's top border, which lies on the header's own border) */
    box-shadow: 0 0 0 100vmax rgba(8, 20, 40, 0.55);
    clip-path: inset(1px -100vmax -100vmax -100vmax);
  }
  .site-header__inner {
    flex-wrap: wrap;
  }
  .js .site-header__inner {
    flex-wrap: nowrap;
  }
  .site-nav__link {
    justify-content: space-between;
    width: 100%;
    padding: 14px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 1.0625rem;
    font-weight: 600;
  }
  .site-nav__link:hover,
  .site-nav__link[aria-current="page"] {
    background: none;
  }
  .site-nav__link[aria-current="page"] {
    color: var(--blue);
  }
  .site-nav__link .site-nav__tag {
    margin-left: auto;
  }
  .js .site-nav__menu {
    display: none;
  }
  .js .has-menu.is-open .site-nav__menu {
    display: block;
  }
  .site-nav__menu {
    padding: 6px 0 10px 4px;
  }
  .site-nav__menu a {
    align-items: center;
    padding: 10px 4px;
    color: var(--text);
  }
  .site-nav__menu .icon {
    color: var(--blue);
  }
  .site-nav__menu strong {
    font-weight: 600;
  }
  .site-nav__menu small {
    display: none;
  }
  .site-nav__cta {
    width: 100%;
    margin-top: 18px;
  }
  body.nav-open {
    overflow: hidden;
  }
  /* the dimmed page behind the open menu takes no taps, so a tap there can't press a hidden
     button or link; it closes the menu instead (main.js) */
  body.nav-open main,
  body.nav-open .site-footer {
    pointer-events: none;
  }
  /* iPhone Safari only passes a tap on a plain page area to the page's tap handler if that area looks
     clickable, so the dimmed page gets a pointer cursor (the header keeps its normal one) */
  body.nav-open {
    cursor: pointer;
  }
  body.nav-open .site-header {
    cursor: auto;
  }
  /* without JavaScript the menu shows open, with its own "Get a free quote" */
  html:not(.js) .site-header__cta {
    display: none;
  }
}
@media (max-width: 519.98px) {
  .site-header__cta {
    display: none;
  }
}

/* ---------- 7. Hero ----------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 78%);
  color: var(--text);
}
.hero::before {
  /* a fine grid that fades out: quiet, technical texture */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to right, rgba(11, 27, 52, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 27, 52, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 78% 18%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 80% at 78% 18%, #000 10%, transparent 72%);
}
.hero h1 {
  margin-bottom: 0.45em;
}
.hero .lead {
  max-width: 600px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(48px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  /* service pages with an "at a glance" card: a little more room for the title */
  .hero__grid--glance {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
/* inner page titles stay smaller than the home headline (3 lines at most from 1024px up);
   service pages and the contact / legal pages share one size */
.hero--page h1,
.hero--compact h1 {
  font-size: var(--fs-h1-page);
}
.grad {
  color: var(--blue);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  box-shadow: var(--shadow-xs);
}
.pill strong {
  color: var(--ink);
  font-weight: 700;
}
.pill__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-100);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 30px;
}
.hero__trust {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px 28px;
  width: fit-content; /* only as wide as its points, leaving the corner free for the WhatsApp button */
  max-width: 100%;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
}
@media (min-width: 520px) {
  .hero__trust {
    /* two columns that can still shrink, so a longer point wraps instead of being cut off */
    grid-template-columns: repeat(2, minmax(0, max-content));
  }
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-wrap: pretty; /* a wrapped point never leaves one word on its own line */
}
.hero__trust .icon {
  color: var(--blue);
  stroke-width: 2.25;
}
.hero__offer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  background: var(--blue-50);
  color: var(--ink);
  font-size: 0.9375rem;
}
.hero__offer .icon {
  color: var(--blue);
}
.hero__offer strong {
  color: var(--blue-700);
}
.hero--page {
  padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 104px);
}
.hero--compact {
  padding-block: clamp(44px, 6vw, 80px);
  background: #fff;
}
.hero--center {
  text-align: center;
}
.hero--center .lead {
  margin-inline: auto;
  text-wrap: balance; /* the centred intro ends with an even line, not a short leftover */
}
/* a link in it ("offer terms") stays in one piece, so the intro never ends with a lone "terms."
   (browsers only balance short paragraphs; on small phones this one is too long to balance) */
.hero--center .lead a {
  white-space: nowrap;
}
.hero--center .hero__actions {
  justify-content: center;
}
.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.875rem;
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--line-strong);
}
.breadcrumb a {
  color: var(--text);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--blue);
  text-decoration: underline;
}
@media (max-width: 519.98px) {
  .hero .hero__actions .btn,
  .offer__actions .btn {
    flex: 1 1 100%;
  }
  /* phones: a tighter first screen, so both buttons sit clear above the WhatsApp button */
  .hero {
    padding-top: 28px;
  }
  .hero .pill {
    margin-bottom: 18px;
    font-size: 0.8125rem;
  }
  .hero h1 {
    margin-bottom: 0.4em;
  }
  .hero .lead {
    font-size: 1rem;
    line-height: 1.6;
  }
  .hero__actions {
    margin: 24px 0;
  }
}
/* narrow side-by-side layout (1024-1099px): the two hero buttons stay on one line */
@media (min-width: 1024px) and (max-width: 1099.98px) {
  .hero__actions {
    gap: 10px;
  }
  .hero__actions .btn--lg {
    padding-inline: 1.05em;
  }
}
/* short laptop screens (a 1366x768 or 1280x720 laptop shows about 650px of the page, a
   1920x1080 one set to 125% about 730px): less space above the title and a slightly smaller
   title and intro, so the hero's buttons are on the first screen */
@media (min-width: 1024px) and (max-height: 760px) {
  .hero:not(.hero--compact) {
    padding-top: 32px;
  }
  /* the text starts at the top, not part-way down beside a taller mock-up */
  .hero__grid {
    align-items: start;
  }
  .hero:not(.hero--page):not(.hero--compact) h1 {
    font-size: min(var(--fs-h1), 3.5rem);
  }
  /* the mock-up's top floating card sits a little lower, so it stays clear of the header
     (the mock-up itself still lines up with the top of the text, and its bottom card stays
     on the first screen) */
  .hero .float-chip--1 {
    top: -18px;
  }
  .hero .lead {
    font-size: 1.0625rem;
    line-height: 1.6;
  }
}
/* 1024-1139px: there the lowered card would cover (or touch) the end of the mock-up's web address,
   so the whole mock-up starts a little lower instead (1139px, not 1099px: with a Windows scrollbar
   the page column is about 15px narrower than the window) */
@media (min-width: 1024px) and (max-width: 1139.98px) and (max-height: 760px) {
  .hero .float-chip--1 {
    top: -34px;
  }
  .hero .mock {
    margin-top: 16px;
  }
}
/* very short laptop windows (a Full-HD laptop set to 150% shows about 1280x585-610, a 1366x768
   one with a bookmarks bar about 1366x600-640): tighter spacing around the title, so the hero's
   buttons stay on the first screen; the service-page titles keep their full size */
@media (min-width: 1024px) and (max-height: 640px) {
  .hero--page .breadcrumb {
    margin-bottom: 14px;
  }
  .hero:not(.hero--compact) .pill {
    margin-bottom: 16px;
  }
  .hero:not(.hero--compact) .lead {
    line-height: 1.5;
  }
  .hero:not(.hero--compact) .hero__actions {
    margin-top: 20px;
  }
  .hero:not(.hero--page):not(.hero--compact) h1 {
    font-size: min(var(--fs-h1), 3.25rem);
  }
}

/* --- Hero mock-up (home): a sample dental clinic website with an appointment request card */
.mock {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}
.mock__window {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.mock__dots {
  display: flex;
  gap: 6px;
}
.mock__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cfd5e0;
}
.mock__url {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--muted);
  font-size: 0.75rem;
}
.mock__url .icon {
  width: 12px;
  height: 12px;
  color: var(--demo-brand);
}
.mock__site {
  padding: 16px 18px 20px;
}
.mock__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.mock__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 800;
}
.mock__brand i {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0b5f4f, #19a982);
}
.mock__body {
  display: grid;
  gap: 16px;
}
@media (min-width: 540px) {
  .mock__body {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
  }
}
.mock__h {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.mock__p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.mock__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mock__chips span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #e5f4f0;
  color: #0b5f4f;
  font-size: 0.6875rem;
  font-weight: 700;
}
@media (max-width: 539.98px) {
  .mock__p {
    display: none;
  }
}
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 250px;
  padding: 9px 14px 9px 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 0.8125rem;
  line-height: 1.3;
  box-shadow: var(--shadow);
}
.float-chip strong,
.float-chip small {
  display: block;
}
.float-chip strong {
  font-weight: 700;
}
.float-chip small {
  color: var(--muted);
  font-size: 0.75rem;
}
.float-chip__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  color: var(--blue);
}
.float-chip__icon .icon {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}
.float-chip--1 {
  top: -34px;
  right: 24px;
}
.float-chip--2 {
  bottom: -24px;
  left: -28px;
}
@media (max-width: 719.98px) {
  .float-chip--1 {
    right: 8px;
  }
  .float-chip--2 {
    left: 8px;
  }
}

/* --- Phone mock-up (dental clinic websites page): a sample clinic's appointment request form */
.phone {
  position: relative;
  width: min(100%, 310px);
  margin: 0 auto;
  padding: 11px;
  border-radius: 44px;
  background: #0f1a2e;
  box-shadow: 0 36px 70px -30px rgba(11, 27, 52, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.phone__notch {
  position: absolute;
  top: 21px;
  left: 50%;
  z-index: 2;
  width: 84px;
  height: 22px;
  border-radius: 999px;
  background: #0f1a2e;
  transform: translateX(-50%);
}
.phone__screen {
  overflow: hidden;
  border-radius: 34px;
  background: #f6f8fb;
  color: var(--text);
}
.phone__top {
  padding: 48px 20px 18px;
  background: linear-gradient(160deg, #0b5f4f, var(--demo-brand));
  color: #fff;
}
.phone__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  font-weight: 800;
}
.phone__brand i {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.85);
}
.phone__title {
  margin: 0 0 4px;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.25;
}
.phone__step {
  margin: 0 0 10px;
  font-size: 0.75rem;
  opacity: 0.88;
}
.phone__form {
  display: grid;
  gap: 12px;
  padding: 18px 18px 22px;
}
.phone__label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.phone__seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.phone__seg span,
.phone__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
}
.phone__seg span {
  justify-content: center;
  padding-inline: 6px;
  font-size: 0.75rem;
  text-align: center;
  white-space: nowrap;
}
.phone__seg .is-on {
  border-color: var(--demo-brand);
  background: #e5f4f0;
  color: #0b5f4f;
}
.phone__ok {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 700;
}
.phone__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  padding: 12px;
  border-radius: 8px;
  background: var(--demo-brand);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 800;
}
.phone-wrap {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}
.phone-wrap::before {
  /* a pale blue stage behind the phone */
  content: "";
  position: absolute;
  inset: 14% -24% 9%;
  z-index: -1;
  border: 1px solid var(--blue-100);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--blue-50) 0%, rgba(239, 241, 250, 0.35) 100%);
}
.phone-wrap .float-chip--1 {
  top: -18px;
  right: auto;
  left: -128px;
}
/* up to 1334px wide (1319px plus room for a Windows scrollbar) the "New lead" card sits closer to
   the phone: from 1280px the floating WhatsApp button shows from the start, and it would otherwise
   cover the card's end */
@media (min-width: 1024px) and (max-width: 1334.98px) {
  .phone-wrap .float-chip--2.float-chip--2 {
    right: -48px;
    bottom: -28px;
  }
}
.phone-wrap .float-chip--2 {
  right: -128px;
  bottom: -18px;
  left: auto;
}
@media (max-width: 719.98px) {
  .phone-wrap .float-chip {
    display: none;
  }
  .phone-wrap::before {
    inset: 16% -10% 7%;
  }
}

/* --- "At a glance" card used in service page heroes */
.glance {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
/* laptop windows 1280-1314px wide: the floating WhatsApp button shows from the start in the lower
   right corner, so the "At a glance" card steps 18px to the left and the button never sits on its
   edge (a Windows scrollbar makes the page about 15px narrower than the window) */
@media (min-width: 1280px) and (max-width: 1314.98px) {
  .glance {
    position: relative;
    right: 18px;
  }
}
.glance__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.glance__head .icon-tile {
  margin: 0;
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.glance__title {
  margin: 0;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
}
.glance__sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.glance .ticks {
  margin-bottom: 0;
}
.glance .ticks li {
  color: var(--text);
}
.glance__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 600;
}
.glance__foot .icon {
  color: var(--blue);
}

/* ---------- 8. Sample clinic pictures and the live demo ----------------- */

/* Devanagari text in the samples (the site font has no Hindi letters): good system fonts first */
.mock__lang [lang="hi"],
.sample [lang="hi"] {
  font-family: "Plus Jakarta Sans", "Noto Sans Devanagari", "Nirmala UI", "Kohinoor Devanagari", "Mangal", system-ui, sans-serif;
}

/* Home hero: the sample site's language label and its appointment request card */
.mock__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
}
.mock__lang b {
  color: #0b5f4f;
}
.book {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px -16px rgba(11, 27, 52, 0.28);
}
.book__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
}
.book__title .icon {
  color: var(--demo-brand);
}
.book__field,
.book__seg span {
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}
.book__seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.book__seg span {
  color: var(--ink);
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}
.book__seg .is-on {
  border-color: var(--demo-brand);
  background: #e5f4f0;
  color: #0b5f4f;
}
.book__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  padding: 11px;
  border-radius: 8px;
  background: var(--demo-brand);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
}

/* Dental clinic websites page: "see your clinic's website", a sample that updates as you type */
.sample {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.sample__inputs {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(5.5rem, 1fr); /* the Degree box always fits "MDS" */
  gap: 12px;
  margin-bottom: 18px;
}
/* very narrow screens (zoomed-in phones): the dentist's name and degree each get a row of their own */
@media (max-width: 299.98px) {
  .sample__inputs {
    grid-template-columns: minmax(0, 1fr);
  }
}
.sample__field--wide {
  grid-column: 1 / -1; /* the clinic name and the town; the dentist's name and degree share a row (they stack below 300px) */
}
.sample__field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
}
.sample__field input,
.sample__field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--control);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 1rem; /* 16px, so phones don't zoom in on the box */
}
.sample__field input::placeholder {
  color: #6b778a;
}
.sample__field input:hover,
.sample__field select:hover {
  border-color: var(--ink);
}
.sample__field input:focus,
.sample__field select:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--blue);
}
.sample__field select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2355617a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  -webkit-appearance: none;
  appearance: none;
}
.sample__screen {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
}
.sample__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  padding: 8px 10px 8px 14px;
  background: #0b2f2a;
  color: #fff;
}
.sample__tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sample__lang {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
}
.sample__lang button {
  min-width: 48px;
  min-height: 32px;
  padding: 4px 12px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}
.sample__lang button[aria-pressed="true"] {
  background: #fff;
  color: #0b2f2a;
}
.sample__lang button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}
.sample__lang button[aria-pressed="true"]:focus-visible {
  outline-color: #0b2f2a;
}
.sample__site {
  padding: 16px 16px 18px;
  color: var(--text);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.sample__name {
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.sample__kind {
  margin: 2px 0 10px;
  color: #0b5f4f;
  font-weight: 700;
}
.sample__doc,
.sample__hours {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}
.sample__doc .icon,
.sample__hours .icon {
  flex: none;
  margin-top: 3px;
  color: var(--demo-brand);
}
.sample__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 12px 0 14px;
}
.sample__actions > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding: 8px 4px;
  border-radius: 8px;
  background: #e5f4f0;
  color: #0b5f4f;
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
}
.sample__actions .icon {
  flex: none;
}
/* Narrow phones: there's no room for an icon and a word side by side, so the icon sits above the word */
@media (max-width: 359px) {
  .sample__actions > span {
    flex-direction: column;
    gap: 2px;
    padding: 6px 2px;
    font-size: 0.6875rem;
  }
}
/* Very narrow screens (folded phones): two chips on the first row, the third on its own row */
@media (max-width: 299px) {
  .sample__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sample__actions > span:last-child {
    grid-column: 1 / -1;
  }
}
.sample__h {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 800;
}
.sample__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.sample__chips li {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
}
.sample__book {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
}
.sample__fake {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 6px;
}
.sample__fake span {
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--muted);
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* phones narrower than 390px: "Phone / WhatsApp" doesn't fit beside "Your name", so the two boxes stack */
@media (max-width: 389.98px) {
  .sample__fake:not(.sample__fake--seg) {
    grid-template-columns: minmax(0, 1fr);
  }
}
.sample__fake--seg span {
  color: var(--ink);
  font-weight: 700;
  text-align: center;
}
.sample__fake--seg .is-on {
  border-color: var(--demo-brand);
  background: #e5f4f0;
  color: #0b5f4f;
}
.sample__send {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: var(--demo-brand);
  color: #fff;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 800;
  cursor: pointer;
}
.sample__send:hover {
  background: #0b5f4f;
}
.sample__send:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
/* empty: no height, but still on the page, so screen readers hear each new message */
.sample__status:empty {
  margin: 0;
  padding: 0;
  border: 0;
}
.sample__status {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  background: var(--blue-50);
  color: var(--ink);
  font-size: 0.875rem;
}
.sample__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 14px;
  color: var(--muted);
  font-size: 0.8125rem;
}
.sample__note .icon {
  flex: none;
  margin-top: 3px;
}

/* ---------- 9. Section components -------------------------------------- */

/* Launch offer: a white card on its own pale blue band, so it stands apart from the hero */
.section--band {
  padding-block: clamp(40px, 5vw, 64px);
  border-block: 1px solid var(--blue-100);
  background: var(--band);
}
.offer {
  --offer-pad: clamp(28px, 5vw, 56px);
  position: relative;
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  padding: var(--offer-pad);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 27, 52, 0.05), 0 18px 36px -26px rgba(31, 54, 173, 0.4);
}
.offer::before {
  /* the ledger tick on the card's top edge, above the content column */
  content: "";
  position: absolute;
  top: -1px;
  left: var(--offer-pad);
  width: var(--tick);
  height: 3px;
  background: var(--blue);
}
@media (min-width: 960px) {
  .offer {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
  }
}
.offer__title {
  margin: 18px 0 16px;
  color: var(--ink);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
}
.offer__big {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: clamp(3rem, 2.2rem + 3.6vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
/* a block of its own, so the line under "20% OFF" can balance ("for our first / 100 clients") */
.offer__title > [data-offer-open] {
  display: block;
}
.offer__text {
  max-width: 560px;
  color: var(--muted);
}
.offer__list {
  list-style: none;
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.offer__list li {
  display: flex;
  gap: 12px;
  color: var(--text);
  font-size: 0.9375rem;
}
.offer__list .icon {
  margin-top: 2px;
  color: var(--blue);
}
.offer__list strong {
  color: var(--ink);
}
.offer__list li + li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
/* offer ended: dividers only between the points still shown */
.offer-closed .offer__list li {
  padding-top: 0;
  border-top: 0;
}
/* the "Launch offer" badge above the title is hidden once the offer ends */
.offer-closed .offer__title {
  margin-top: 0;
}
.offer-closed .offer__list li:not([data-offer-open]) ~ li:not([data-offer-open]) {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.offer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.offer__counter {
  max-width: 440px;
  margin: 22px 0 0;
}
.offer__counter-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.875rem;
}
.offer__counter-head strong {
  color: var(--ink);
}
.progress {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: var(--blue-100);
}
.progress__bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

/* Services grid (home) */
.services-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 720px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card--featured {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-card--featured {
    grid-column: span 2;
  }
}
.service-card {
  gap: 0;
}
.service-card p {
  margin-bottom: 20px;
}
.service-card--featured {
  overflow: hidden;
  isolation: isolate;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-dark);
}
.service-card--featured::after {
  /* faint grid in the corner, echoing the hero */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 50% 90% at 100% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 50% 90% at 100% 0%, #000 0%, transparent 75%);
}
.service-card--featured h3 {
  color: #fff;
  font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem);
}
.service-card--featured p {
  max-width: 560px;
  color: var(--on-dark-muted);
}
.service-card--featured .btn {
  align-self: flex-start;
  margin-top: auto;
}
.service-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.service-card__top .icon-tile {
  margin: 0;
}

/* Feature cards */
.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.feature {
  padding: 24px;
}
.feature .icon-tile {
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 1.0625rem;
}
.feature p {
  font-size: 0.9375rem;
}

/* Phones: icon (or step number) beside the title, text full width below */
@media (max-width: 559.98px) {
  .feature,
  .grid--3 > .card,
  .services-grid > .service-card:not(.service-card--featured),
  .steps > .step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
    align-content: start;
  }
  .feature > *,
  .grid--3 > .card > *,
  .services-grid > .service-card:not(.service-card--featured) > *,
  .steps > .step > * {
    grid-column: 1 / -1;
  }
  .feature > .icon-tile,
  .grid--3 > .card > .icon-tile,
  .services-grid > .service-card > .icon-tile,
  .steps > .step > .step__num {
    grid-column: 1;
    margin: 0;
  }
  .feature > h3,
  .grid--3 > .card > h3,
  .services-grid > .service-card:not(.service-card--featured) > h3,
  .steps > .step > h3 {
    grid-column: 2;
    margin: 0;
  }
  .feature > p,
  .grid--3 > .card > p,
  .services-grid > .service-card:not(.service-card--featured) > p,
  .steps > .step > p {
    margin-top: 14px;
  }
}

/* Where we work: a hairline table of towns */
.serve-grid {
  list-style: none;
  display: grid;
  gap: 1px;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--line-dark);
}
@media (min-width: 560px) {
  .serve-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1160px) {
  .serve-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.serve-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}
.serve-grid .icon {
  width: 22px;
  height: 22px;
  color: var(--blue-light);
  stroke-width: 1.75;
}
.serve-note {
  max-width: 680px;
  margin: 32px auto 0;
  color: var(--on-dark-muted);
  text-align: center;
}
.serve-note a,
.section--dark p a {
  color: var(--blue-light);
}

/* Process steps */
.steps {
  list-style: none;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 560px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .step:not(:last-child)::after {
    /* connector to the next step */
    content: "";
    position: absolute;
    top: 41px;
    left: calc(100% + 1px);
    width: 18px;
    height: 1px;
    background: var(--line-strong);
  }
}
.step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.step__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.step h3 {
  font-size: 1.0625rem;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Compliance panels (dark band) */
.panel {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}
.panel__kicker {
  margin: 0 0 8px;
  color: var(--blue-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.panel h3 {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 1.25rem;
}
.panel .ticks {
  margin: 0;
}
.disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 28px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-dark);
  font-size: 0.9375rem;
}
.disclaimer .icon {
  margin-top: 2px;
  color: var(--blue-light);
}

/* Packages */
.plans {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}
@media (min-width: 680px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plans > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 10px);
  }
}
@media (min-width: 1004px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .plans > :last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.plan--featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow);
}
.plan__tag {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan__name {
  margin-bottom: 6px;
  font-size: 1.375rem;
}
.plan__for {
  color: var(--muted);
  font-size: 0.9375rem;
}
.plan__price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 22px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
}
.plan__price .icon {
  color: var(--blue);
}
.plan .ticks {
  font-size: 0.9375rem;
}
.plan .btn {
  margin-top: auto;
}
.plans__note {
  margin: 28px 0 0;
  color: var(--muted);
  text-align: center;
}

/* FAQ: a clean divided list */
.faq {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  border-top: 1px solid var(--line-strong);
}
.faq::before {
  /* the ledger tick */
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: var(--tick);
  height: 2px;
  background: var(--blue);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
  text-wrap: pretty; /* no single word left alone on the last line */
  list-style: none;
  cursor: pointer;
}
.faq__item summary:hover {
  color: var(--blue);
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__chev {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--blue);
  transition: transform 0.2s, background-color 0.2s;
}
.faq__item[open] .faq__chev {
  background: var(--blue-50);
  border-color: var(--blue-100);
  transform: rotate(180deg);
}
.faq__body {
  max-width: 760px;
  padding: 0 4px 24px;
  color: var(--muted);
}
.faq__body p:last-child {
  margin-bottom: 0;
}

@media (min-width: 960px) {
  .faq-layout .eyebrow::before {
    left: 0; /* the heading is left-aligned beside the questions here */
  }
  .faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 48px clamp(48px, 6vw, 88px);
    align-items: start;
  }
  .faq-layout .section-head {
    position: sticky;
    top: 112px;
    margin: 0;
    text-align: left;
  }
  .faq-layout .faq {
    max-width: none;
    margin: 0;
  }
}

/* Contact section + lead form */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}
.next-steps {
  list-style: none;
  display: grid;
  gap: 18px;
  margin: 28px 0 32px;
}
.next-steps li {
  display: flex;
  gap: 14px;
}
.next-steps__num {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.9375rem;
  font-weight: 700;
}
.next-steps strong {
  color: var(--ink);
  font-weight: 600;
}
.next-steps p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.contact-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.contact-alt__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.contact-alt__link:hover {
  color: var(--blue);
  text-decoration: underline;
}
.contact-alt__link .icon {
  color: var(--blue);
}
.contact-cards {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0 0 36px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.contact-card > .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  background: var(--blue-50);
  color: var(--blue);
}
.contact-card--wa > .icon {
  border-color: #c9f0d8;
  background: #e9f9ef;
  color: #128c4a;
}
.contact-card strong,
.contact-card small {
  display: block;
}
.contact-card strong {
  font-weight: 600;
}
.contact-card small {
  color: var(--muted);
  font-size: 0.875rem;
  overflow-wrap: anywhere; /* on a very narrow screen the email address breaks instead of widening the page */
}
/* under 300px wide: a smaller icon and tighter padding, so the email address stays on one line
   down to about 271px and the cards stay inside the page column */
@media (max-width: 299.98px) {
  .contact-card {
    gap: 10px;
    padding: 14px;
  }
  .contact-card > .icon {
    width: 36px;
    height: 36px;
    padding: 8px;
  }
}
.muted-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.form-card {
  padding: clamp(22px, 3.5vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.form-card__head {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.form-card__head h2,
.form-card__head h3 {
  margin: 12px 0 4px;
  font-size: 1.375rem;
}
.form-card__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.lead-form__grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 600px) {
  .lead-form__grid {
    grid-template-columns: 1fr 1fr;
  }
  .field--full {
    grid-column: 1 / -1;
  }
}
.field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.field > label,
.field > legend {
  display: block;
  margin-bottom: 6px;
  padding: 0;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
}
.field .req {
  color: var(--danger);
}
.field .optional {
  color: var(--muted);
  font-weight: 500;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--control);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink);
}
.field input::placeholder,
.field textarea::placeholder {
  color: #6b778a;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--blue);
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2355617a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  -webkit-appearance: none;
  appearance: none;
}
.field [aria-invalid="true"] {
  border-color: var(--danger) !important;
}
.field__error {
  margin: 6px 0 0;
  color: var(--danger);
  font-size: 0.8125rem;
  font-weight: 600;
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--control);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.choice input:hover + span {
  border-color: var(--blue);
}
.choice input:checked + span {
  border-color: var(--blue);
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 600;
}
.choice input:checked + span::before {
  content: "";
  width: 6px;
  height: 10px;
  margin: -2px 2px 0 0;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.consent-check,
.field > label.consent-check {
  display: flex;
  margin: 0;
  font-weight: 500;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}
.consent-check a {
  font-weight: 600;
}
.consent-check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}
.lead-form__submit {
  margin-top: 24px;
}
.lead-form__status {
  margin: 14px 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
}
.lead-form__status:empty {
  margin: 0;
}
.lead-form__status.is-error {
  color: var(--danger);
}
.lead-form__status.is-success {
  color: var(--success);
}
.lead-form__fine {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: center;
}
.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Legal / long-form text: a 780px reading column that starts at the same left edge as the
   page title and the logo above it */
.prose {
  max-width: 780px;
  margin-inline: 0;
}
.prose h2 {
  margin: 2.2em 0 0.6em;
  font-size: 1.5rem;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin: 1.6em 0 0.5em;
  font-size: 1.125rem;
}
.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}
.prose li {
  margin: 0.4em 0;
}
.prose li::marker {
  color: var(--blue);
}
.prose .updated {
  color: var(--muted);
}
.prose .callout {
  margin: 1.5em 0;
  padding: 16px 20px;
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--blue-50);
  color: var(--ink);
}

/* Thank-you */
.success-icon {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  border: 1px solid var(--blue-100);
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
}
.success-icon .icon {
  width: 36px;
  height: 36px;
}

/* ---------- 10. Footer, floating WhatsApp button, cookie banner --------- */
.site-footer {
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: 16px;
  background: var(--ink-deep);
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
}
.site-footer__grid {
  display: grid;
  gap: 36px;
}
@media (min-width: 720px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  }
  .site-footer__brand {
    grid-column: auto;
  }
}
.site-footer__brand > p {
  max-width: 420px;
  margin: 20px 0;
}
.site-footer__title {
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-footer ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer a.logo:hover {
  text-decoration: none;
}
.site-footer__contact li,
.site-footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.site-footer__contact .icon {
  color: var(--blue-light);
}
.site-footer__note {
  display: flex;
  gap: 10px;
  max-width: 440px;
  padding: 14px 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--on-dark-muted);
  font-size: 0.8125rem;
  line-height: 1.55;
}
.site-footer__note .icon {
  margin-top: 1px;
  color: var(--blue-light);
}
.site-footer__note strong {
  color: #fff;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding-block: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.875rem;
}
.site-footer__bottom p {
  margin: 0;
}

/* Sticky WhatsApp button (shows once a WhatsApp number is set in site-config.js).
   Solid WhatsApp green with a dark green icon and label (6.9:1), so it's easy to find.
   A round 56px button in the bottom corner, small enough to keep clear of the hero's
   buttons, trust points and mock-up on the first screen. With a mouse or the keyboard,
   it opens out to show its label ("Connect on WhatsApp"). */
.wa-float {
  --wa-gap: 16px;
  position: fixed;
  right: var(--wa-gap);
  bottom: calc(var(--wa-gap) + var(--consent-space, 0px));
  z-index: 60;
  display: inline-flex;
  flex-direction: row-reverse; /* the icon stays at the right; the label opens out to its left */
  align-items: center;
  gap: 10px;
  max-width: 56px;
  height: 56px;
  padding: 0 13px;
  overflow: hidden;
  border-radius: 999px;
  background: #25d366;
  color: #04351b;
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(4, 53, 27, 0.2), 0 12px 24px -10px rgba(4, 53, 27, 0.5);
  transition: max-width 0.25s ease, padding 0.25s ease, background-color 0.15s, box-shadow 0.2s;
}
.wa-float .icon {
  flex: none;
  width: 30px;
  height: 30px;
}
.wa-float__label {
  flex: none;
  opacity: 0; /* folded away on the round button (still its name for screen readers) */
  transition: opacity 0.2s;
}
.wa-float:hover {
  background: #1fc15b;
  box-shadow: 0 1px 2px rgba(4, 53, 27, 0.2), 0 16px 30px -10px rgba(4, 53, 27, 0.55);
}
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover {
    max-width: 260px;
    padding-left: 20px;
  }
  .wa-float:hover .wa-float__label {
    opacity: 1;
  }
}
.wa-float:focus-visible .wa-float__label {
  opacity: 1;
}
.wa-float:focus-visible {
  max-width: 260px;
  padding-left: 20px;
  /* a two-tone ring that shows on light pages and over the dark footer */
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff;
}
@media (min-width: 1400px) {
  .wa-float {
    --wa-gap: 24px;
  }
}
body.nav-open .wa-float {
  display: none;
}
/* Phones, tablets and laptops under 1280px wide: the lower corner of the first screen holds
   the hero's buttons, mock-up or offer note, so the button fades in once the visitor starts
   to scroll (fully shown after 120px) instead of covering them. Browsers without
   scroll-linked animations show it straight away, as before. */
/* visibility stays hidden for the first half, so the button can't catch a tap while it is still faint */
@keyframes wa-reveal {
  from {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
  }
  50% {
    visibility: hidden;
  }
  to {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}
@keyframes wa-reveal-still {
  from {
    opacity: 0;
    visibility: hidden;
  }
  50% {
    visibility: hidden;
  }
  to {
    opacity: 1;
    visibility: visible;
  }
}
@supports (animation-timeline: scroll()) {
  @media (max-width: 1279.98px) {
    .wa-float {
      animation: wa-reveal linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 120px;
      animation-range: 0 min(120px, 100%); /* a page that scrolls less than 120px still shows it fully at its end */
    }
  }
  @media (max-width: 1279.98px) and (prefers-reduced-motion: reduce) {
    .wa-float {
      animation-name: wa-reveal-still;
      animation-duration: auto !important; /* the reduced-motion rule's 0.01ms would turn the fade off */
    }
  }
}

.consent {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 70;
  width: min(520px, calc(100% - 32px));
  /* on a short screen (a phone held sideways, a zoomed-in laptop) it scrolls instead of running off the top */
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  font-size: 0.9375rem;
  box-shadow: var(--shadow-lg);
}
.consent p {
  margin: 0;
}
.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* ---------- 11. Print ---------------------------------------------------- */
@media print {
  .topbar,
  .site-header,
  .wa-float,
  .consent,
  .lead-form,
  .site-footer__bottom {
    display: none !important;
  }
  .hero,
  .section--dark {
    background: #fff !important;
    color: #000 !important;
  }
  .hero h1,
  .section--dark h2 {
    color: #000 !important;
  }
}

/* ---------- 12. Additions: honesty notes, captions, small fixes --------- */
.mock-wrap {
  width: 100%;
  min-width: 0;
}
.mock__caption {
  position: relative;
  max-width: 440px;
  margin: 40px auto 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: center;
}
.mock__caption::before {
  /* the ledger tick */
  content: "";
  position: absolute;
  top: -1px;
  left: calc(50% - var(--tick) / 2);
  width: var(--tick);
  height: 2px;
  background: var(--blue);
}
.mock__caption strong {
  color: var(--ink);
}
/* home hero on laptops and desktops: the mock-up lines up with the top of the text. On the
   home and clinic websites pages its caption reads as a left-aligned figure caption, keeping the
   bottom-right corner (where the WhatsApp button sits) clear */
@media (min-width: 1024px) {
  .mock-wrap--start {
    align-self: start;
  }
  .mock-wrap--start .mock__caption,
  .hero--page .mock__caption {
    max-width: 22rem;
    margin-left: 0;
    text-align: left;
  }
  .mock-wrap--start .mock__caption::before,
  .hero--page .mock__caption::before {
    left: 0;
  }
}
.form-card__head .form-card__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 0.8125rem;
  line-height: 1.45;
}
.form-card__note .icon {
  margin-top: 1px;
  color: var(--blue);
}
.hero .lead a {
  color: var(--blue);
}
.card:not(.service-card) > .link-arrow {
  padding-top: 16px;
}
/* the section right after a hero starts a little closer */
.hero + .section {
  padding-top: clamp(56px, 7vw, 96px);
}
.hero--compact + .section {
  padding-top: clamp(48px, 6vw, 80px);
}
.hero + .section--band {
  padding-top: clamp(40px, 5vw, 64px);
}
/* tinted sections next to each other or under the hero share one dividing line */
.hero + .section--soft,
.hero + .section--band,
.section--band + .section--soft,
.section--soft + .section--band {
  border-top: 0;
}
/* two plain white sections in a row: don't double the gap between them */
.section:not(.section--soft):not(.section--dark):not(.section--band)
  + .section:not(.section--soft):not(.section--dark):not(.section--band) {
  padding-top: 0;
}
@media (max-width: 419.98px) {
  .lead-form__submit {
    gap: 0.35em;
    padding-inline: 0.8em;
    font-size: 0.9375rem;
  }
}

/* ---------- 13. Settings switches ---------------------------------------
   The small script in each page's <head> reads site-config.js and adds these
   classes before the page appears, so nothing jumps when it loads:
   has-wa (WhatsApp number set), has-phone (phone set), offer-closed. */
html:not(.has-wa) [data-wa],
html:not(.has-wa) [data-wa-only],
html:not(.has-phone) [data-phone-only] {
  display: none !important;
}
/* Launch offer switch: data-offer-open parts disappear when the offer closes,
   and data-offer-closed parts appear instead */
.offer-closed [data-offer-open],
html:not(.offer-closed) [data-offer-closed] {
  display: none !important;
}
/* keep keyboard focus clear of the sticky WhatsApp button (and the cookie banner) */
html.has-wa {
  scroll-padding-bottom: calc(96px + var(--consent-space, 0px));
}
.has-wa .site-footer {
  padding-bottom: 96px;
}
/* the cookie banner can only reach the WhatsApp button on narrower screens */
@media (min-width: 820px) {
  .wa-float {
    bottom: var(--wa-gap);
  }
}
/* phones and tablets: the WhatsApp button waits until the cookie banner is answered,
   so it never floats over the page's heading above a tall banner */
@media (max-width: 819.98px) {
  .consent-open .wa-float {
    display: none;
  }
}

/* ---------- 14. Cookie choices and social links ------------------------- */
.consent__choices {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.consent__choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.45;
  cursor: pointer;
}
.consent__choice input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}
.consent__choice--fixed {
  color: var(--muted);
  cursor: default;
}
.site-footer .site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.site-footer__social a {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.site-footer__social a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.site-footer__social .icon {
  width: 20px;
  height: 20px;
}
.consent__choice label {
  margin: 0;
  font-weight: 400;
}
.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}
.cookie-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.cookie-table caption {
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  padding: 0 0 8px;
}
.cookie-table th,
.cookie-table td {
  padding: 8px 10px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.cookie-table th {
  background: var(--bg-soft);
  color: var(--ink);
}
