/* ==========================================================================
   Quarizmi site stylesheet — shared by every page of the new site.
   Ported from the approved design canvas (docs/relaunch/canvas-source/).

   Layout of this file:
     1. Tokens
     2. Base / reset
     3. Utilities
     4. Layout (container, sections, grids)
     5. Typography
     6. Buttons
     7. Shared components (header, footer, WhatsApp float, cards, modal)
     8. Page-specific sections (prefixed by page: .home-*)
     9. Responsive overrides (900px, 600px)

   Later pages ADD to this file (new page sections go in part 8, with a
   page prefix such as .about-*, .pricing-*) instead of creating new
   stylesheets.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --c-black: #000000;
  --c-ink: #1A1A1A;
  --c-text: #333333;
  --c-muted: #555555;
  --c-white: #FFFFFF;

  --c-teal: #1B97A3;
  --c-teal-dark: #147480;
  --c-teal-darker: #0E5560;
  --c-yellow: #F7B733;
  --c-coral: #E44D6F;
  --c-mint: #65C3BA;
  --c-butter: #FFDE6C;

  --c-line: #EDEDED;
  --c-line-soft: #F0F0F0;
  --c-border: #DADADA;

  --bg-muted: #FAFAFA;
  --bg-gray: #F3F3F3;
  --bg-mint: #EAF7F6;
  --bg-cta: #EAF4F6;

  --font-body: Mulish, Muli, 'Helvetica Neue', Arial, sans-serif;
  --font-ui: Roboto, Arial, sans-serif;

  --container: 1090px;
  --gutter: 28px;
  --radius: 6px;
}

/* Accent colour helpers: set --accent, consumed by cards/tiles/steps. */
.accent-teal { --accent: var(--c-teal); }
.accent-yellow { --accent: var(--c-yellow); }
.accent-coral { --accent: var(--c-coral); }
.accent-mint { --accent: var(--c-mint); }
.accent-butter { --accent: var(--c-butter); }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
}

img, svg { max-width: 100%; }

a { color: var(--c-teal-dark); }
a:hover { color: var(--c-teal-darker); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--c-teal);
  outline-offset: 3px;
}

/* Sticky header offset for in-page anchors. */
[id] { scroll-margin-top: 80px; }

/* 3. Utilities ------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Highlighted word inside a heading (the canvas's teal "hl" span). */
.hl { color: var(--c-teal); }
.hl--dark { color: var(--c-teal-dark); }

.list-reset { list-style: none; margin: 0; padding: 0; }

/* 4. Layout ---------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
}

.section { padding: 96px var(--gutter); }
.section--sm { padding-block: 88px; }
.section--muted { background: var(--bg-muted); }
.section--gray { background: var(--bg-gray); }
.section--mint { background: var(--bg-mint); }

.grid { display: grid; }
.grid--2 { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid--3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* 5. Typography ------------------------------------------------------------ */
.h1,
.h2 {
  margin: 0 0 12px;
  font-weight: 400;
  color: var(--c-black);
}

.h1 { margin-bottom: 18px; font-size: 50px; line-height: 1.18; }
.h2 { font-size: 34px; line-height: 1.25; }

.lead {
  margin: 0 0 44px;
  max-width: 860px;
  font-size: 18px;
}

/* 6. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-block;
  border: 0;
  border-radius: var(--radius);
  padding: 16px 26px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.5;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn--primary { background: var(--c-yellow); color: var(--c-ink); }
.btn--primary:hover { color: var(--c-ink); filter: brightness(0.96); }

.btn--outline {
  padding: 14px 24px;
  background: transparent;
  color: var(--c-ink);
  border: 2px solid var(--c-ink);
}
.btn--outline:hover { color: var(--c-ink); background: var(--c-white); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* 7. Shared components ----------------------------------------------------- */

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line);
}

.site-header__bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 38px; width: auto; display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
}

.site-nav__link {
  color: var(--c-ink);
  text-decoration: none;
}
.site-nav__link:hover { color: var(--c-teal-dark); }

/* Current page: add aria-current="page" to the matching nav link. */
.site-nav__link[aria-current="page"] {
  color: var(--c-black);
  font-weight: 700;
  border-bottom: 2px solid var(--c-yellow);
}

.nav-cta {
  background: var(--c-yellow);
  color: var(--c-ink);
  text-decoration: none;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: var(--radius);
  white-space: nowrap;
}
.nav-cta:hover { color: var(--c-ink); filter: brightness(0.96); }

/* EN / ES toggle. js/lang.js keeps aria-pressed in sync. */
.lang-toggle {
  display: flex;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  overflow: hidden;
}

.lang-toggle button {
  border: 0;
  padding: 7px 11px;
  min-height: 34px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: var(--c-white);
  color: var(--c-text);
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--c-ink);
  color: var(--c-white);
}

/* Mobile menu: a <details> disclosure, so it works without JavaScript.
   Hidden above 900px; the panel drops below the sticky header bar. */
.mobile-menu { display: none; }

.mobile-menu__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: var(--c-white);
  cursor: pointer;
  list-style: none;
}
.mobile-menu__btn::-webkit-details-marker { display: none; }

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-white);
  padding: 8px 18px 16px;
}

.mobile-nav__link {
  display: block;
  padding: 12px 0;
  color: var(--c-ink);
  text-decoration: none;
  font-size: 17px;
  border-bottom: 1px solid var(--c-line-soft);
}
.mobile-nav__link:last-of-type { border-bottom: 0; }

.mobile-nav__cta {
  display: block;
  margin-top: 12px;
  padding: 14px 16px;
  background: var(--c-yellow);
  color: var(--c-ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  text-align: center;
}

/* Footer ------------------------------------------------------------------ */
.site-footer { padding: 64px var(--gutter) 40px; }

.site-footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.site-footer__logo { height: 34px; width: auto; display: block; margin-bottom: 14px; }

.site-footer__tag {
  margin: 0 0 12px;
  max-width: 280px;
  font-size: 14px;
  color: var(--c-muted);
}

.site-footer__contact { margin: 0; font-size: 14px; line-height: 1.8; }

.site-footer__heading {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--c-ink);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
}

.site-footer__links a { color: var(--c-ink); text-decoration: none; }
.site-footer__links a:hover { color: var(--c-teal-dark); }

.site-footer__copy {
  max-width: var(--container);
  margin: 44px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--c-muted);
}

/* Floating WhatsApp button ------------------------------------------------ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #0B3D1E;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 18px 12px 14px;
  border-radius: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.wa-float:hover { color: #0B3D1E; }

/* CTA band (centred "talk to us" section near the bottom of a page) ------- */
.cta-band {
  padding: 80px var(--gutter);
  background: var(--bg-cta);
  text-align: center;
}
.cta-band .h2 { color: var(--c-ink); }
.cta-band .lead {
  margin: 0 auto 30px;
  font-size: 19px;
}
.cta-band .btn-row { justify-content: center; }

/* Card: white panel with a coloured top border (set via .accent-*).
   Square corners on purpose: a thick accent border on rounded corners
   clashes (design-check rule); the canvas's 6px radius was dropped, the
   colour stripe kept. Same for .step and .dash__kpi. ---------------------- */
.card {
  background: var(--c-white);
  border-top: 4px solid var(--accent, var(--c-teal));
  padding: 30px 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.card__title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 400;
  color: var(--c-black);
}

.card__text { margin: 0; font-size: 16px; }

/* Modal (native <dialog>) ------------------------------------------------- */
.modal {
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--bg-mint);
  color: var(--c-text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}
.modal::backdrop { background: rgba(20, 20, 20, 0.55); }

.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--c-white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--c-text);
}

/* 8. Page-specific sections ------------------------------------------------ */

/* ---- Home: hero ---------------------------------------------------------- */
.home-hero {
  padding: 0 var(--gutter);
  overflow: hidden;
}

.home-hero__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 48px;
  align-items: stretch;
  padding: 64px 0 72px;
}

.home-hero__sub {
  margin: 0 0 30px;
  max-width: 470px;
  font-size: 19px;
  line-height: 1.45;
}

.home-hero__note { margin: 22px 0 0; font-size: 15px; }
.home-hero__note a { font-weight: 700; }

/* ---- Home: hero dashboard illustration ---------------------------------- */
.home-dash-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  padding-left: 48px;
}

.home-dash-wrap__tilt {
  position: absolute;
  top: 26px;
  right: -18px;
  bottom: -22px;
  left: 66px;
  border-radius: 22px;
  background: #C2F0EB;
  transform: rotate(3deg);
}

.home-dash-wrap__blobs {
  position: absolute;
  top: -40px;
  left: -10px;
  width: 70%;
  height: 75%;
  max-width: none;
  overflow: visible;
}

.dash {
  position: relative;
  width: 100%;
  max-width: 470px;
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(80, 50, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.06);
  padding: 16px 18px 12px;
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.5;
  color: #202124;
}

.dash__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.dash__title { font-weight: 500; font-size: 16px; }

.dash__range {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #3C4043;
  border: 1px solid #DADCE0;
  border-radius: 16px;
  padding: 4px 9px 4px 8px;
  white-space: nowrap;
}

.dash__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.dash__kpi {
  border: 1px solid #E8EAED;
  border-top: 3px solid var(--kpi);
  padding: 7px 9px 6px;
}
.dash__kpi--clicks { --kpi: #1A73E8; }
.dash__kpi--conv { --kpi: #D93025; }
.dash__kpi--cpa { --kpi: #F9AB00; }
.dash__kpi--value { --kpi: #1E8E3E; }

.dash__kpi-label { font-size: 10.5px; color: #5F6368; white-space: nowrap; }
.dash__kpi-value { font-size: 18px; font-weight: 500; line-height: 1.25; }
.dash__kpi-delta { font-size: 10.5px; font-weight: 500; color: #188038; }

.dash__summary {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  background: #E8F0FE;
  border-radius: 9px;
  padding: 7px 10px;
  margin-bottom: 10px;
  font-size: 11.5px;
  line-height: 1.4;
  color: #3C4043;
}
.dash__summary svg { flex: 0 0 14px; margin-top: 1px; }
.dash__summary b { font-weight: 500; color: #202124; }

.dash__panel {
  border: 1px solid #E8EAED;
  border-radius: 9px;
  padding: 8px 10px 4px;
}

.dash__panel--chart {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  min-height: 0;
}

.dash__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}

.dash__panel-title { font-size: 12px; font-weight: 500; }
.dash__panel--bars .dash__panel-title { display: block; margin-bottom: 6px; }

.dash__legend { display: flex; gap: 10px; font-size: 10.5px; color: #5F6368; }
.dash__legend span { display: inline-flex; align-items: center; gap: 4px; }
.dash__legend i { width: 7px; height: 7px; border-radius: 50%; }

.dash__chart {
  flex: 1 1 auto;
  position: relative;
  min-height: 96px;
  margin-left: 24px;
}

.dash__y {
  position: absolute;
  left: -24px;
  font-size: 9.5px;
  color: #80868B;
}

.dash__chart svg {
  position: absolute;
  inset: 6px 0 4px 0;
  width: 100%;
  height: calc(100% - 10px);
  display: block;
}

.dash__x {
  display: flex;
  justify-content: space-between;
  padding: 3px 0 2px 24px;
  font-size: 9.5px;
  color: #80868B;
}

.dash__bar-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 32px;
  gap: 8px;
  align-items: center;
  margin-bottom: 5px;
  font-size: 11.5px;
}

.dash__bar-name { color: #3C4043; white-space: nowrap; }
.dash__bar-track { display: block; height: 8px; border-radius: 4px; background: #F1F3F4; }
.dash__bar-fill { display: block; height: 8px; border-radius: 4px; }
.dash__bar-val { text-align: right; color: #5F6368; }

.dash__note {
  margin-top: 6px;
  font-size: 10px;
  color: #5F6368;
  text-align: right;
}

/* ---- Home: "What we do" tiles ------------------------------------------- */
.home-camp { padding-top: 24px; }
.home-camp .lead { margin-bottom: 40px; }

.tile {
  background: var(--accent);
  padding: 24px 20px 28px;
  min-height: 230px;
  color: var(--c-ink);
}

.tile__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 14px;
}

.tile__name {
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--c-black);
}

.tile__text { margin: 0; font-size: 14px; line-height: 1.45; }

/* ---- Home: Health Checker section --------------------------------------- */
.home-hc__kicker { margin-bottom: 40px; }

.home-hc__vis {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.home-hc__ring { width: 290px; height: 290px; }

.hc-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: var(--c-white);
  border-radius: 30px;
  padding: 9px 16px 9px 12px;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.hc-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.hc-chip b { color: var(--c-black); }
.hc-chip--1 { top: 18px; left: 0; }
/* Canvas had right: -8px, which lets this chip cover the "62" score at the
   real chip width; -40px moves it into the column gap so the number stays clear. */
.hc-chip--2 { top: 46%; right: -40px; }
.hc-chip--3 { bottom: 14px; left: 30px; }

.home-hc__title { margin-bottom: 16px; font-size: 36px; line-height: 1.2; }
.home-hc__text { margin-bottom: 12px; }

.home-hc__read {
  margin: 0 0 26px;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
}

.steps {
  margin-top: 64px;
  gap: 20px;
}

.step {
  background: var(--c-white);
  border-top: 4px solid var(--accent);
  padding: 24px 26px;
}

.step__num {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-teal-dark);
  margin-bottom: 6px;
}

.step__title {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 400;
  color: var(--c-black);
}

.step__text { margin: 0; font-size: 15px; }

.home-hc__checks-title {
  margin: 64px 0 8px;
  font-size: 26px;
  font-weight: 400;
  color: var(--c-black);
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  column-gap: 56px;
}

.checks li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #CFE7E5;
}

.checks__num {
  flex: 0 0 30px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-teal-dark);
}

.checks__name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-black);
  margin-bottom: 2px;
}

.checks__text { display: block; font-size: 15px; }

/* ---- Home: "We work alongside" blocks ----------------------------------- */
.home-along { padding-block: 104px; }
.home-along .lead { margin-bottom: 48px; }
.home-along .grid--3 { gap: 56px 48px; }

.block__title {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--c-black);
}

.block__text { margin: 0; font-size: 16px; }

/* ---- Home: technology ---------------------------------------------------- */
.home-tech__grid {
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.home-tech .h2,
.home-tech .lead { margin: 0; }
.home-tech .lead { font-size: 19px; }

/* ---- Home: client logos -------------------------------------------------- */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
}

.logo-row li { display: flex; align-items: center; justify-content: center; }

.logo-row img {
  display: block;
  height: 40px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.85;
}

.logo-row__more {
  margin: 44px 0 0;
  text-align: center;
  font-size: 15px;
}
.logo-row__more a { font-weight: 700; }

/* ---- Home: Health Checker modal content --------------------------------- */
.hc-modal {
  padding: 44px 48px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.hc-modal__logo { height: 54px; width: auto; }

.hc-modal__title {
  margin: 6px 0 0;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--c-black);
}

.hc-modal__eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--c-teal-dark);
}

.hc-modal__intro {
  margin: 0;
  max-width: 470px;
  font-size: 17px;
  line-height: 1.6;
}

.hc-modal__signin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 14px 26px;
  border-radius: var(--radius);
  background: var(--c-yellow);
  color: var(--c-ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.hc-modal__signin:hover { color: var(--c-ink); filter: brightness(0.96); }

.hc-modal__g {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hc-modal__how {
  margin: 14px 0 0;
  padding: 18px 20px;
  width: 100%;
  max-width: 470px;
  background: var(--c-white);
  border-radius: 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hc-modal__how li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; }
.hc-modal__how strong { color: var(--c-black); }

.hc-modal__n {
  flex: 0 0 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--c-ink);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hc-modal__touch { margin: 8px 0 0; font-size: 14px; color: var(--c-muted); }
.hc-modal__touch a { font-weight: 700; }
.hc-modal__legal { margin: 0; font-size: 12.5px; color: #777777; }

/* ---- About: story timeline ----------------------------------------------- */
.about-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.about-timeline__item {
  background: var(--accent, var(--c-teal));
  padding: 26px 22px 30px;
  min-height: 250px;
  color: var(--c-ink);
}

.about-timeline__year {
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  color: var(--c-black);
  margin-bottom: 16px;
}

.about-timeline__title { margin: 0 0 10px; font-size: 19px; font-weight: 700; color: var(--c-black); }
.about-timeline__text { margin: 0; font-size: 15px; line-height: 1.5; }

/* ---- About: leadership ----------------------------------------------------- */
.about-people {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  max-width: 900px;
}

.about-people__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.about-people__name { margin: 0 0 2px; font-size: 28px; font-weight: 400; color: var(--c-black); }
.about-people__role { font-size: 16px; font-weight: 700; color: var(--c-teal-dark); margin-bottom: 16px; }
.about-people__bio { margin: 0 0 12px; font-size: 17px; }
.about-people__bio:last-of-type { margin-bottom: 0; }

.about-people__ana {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 900px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--c-line);
}

.about-people__ana-photo {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.about-people__ana-bio { margin: 0; font-size: 16px; }

/* ---- Pricing: hero price card -------------------------------------------- */
.pricing-price-card {
  border: 2px solid var(--c-yellow);
  border-radius: 16px;
  padding: 36px 38px;
  background: var(--c-white);
}

.pricing-price-card__top { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pricing-price-card__num { font-size: 88px; font-weight: 300; line-height: 1; color: var(--c-black); }
.pricing-price-card__unit { font-size: 18px; color: var(--c-text); }
.pricing-price-card__note { margin: 14px 0 0; font-size: 15px; }

.pricing-price-card__list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-price-card__list li { display: flex; gap: 12px; font-size: 16px; }
.pricing-price-card__list svg { flex: 0 0 20px; margin-top: 3px; }

/* ---- Pricing: perfect-client list ----------------------------------------- */
.pricing-perfect-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pricing-perfect-list li { display: flex; gap: 12px; font-size: 17px; }
.pricing-perfect-list svg { flex: 0 0 20px; margin-top: 4px; }

/* ---- Pricing: FAQ ---------------------------------------------------------- */
.pricing-faq { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }

.pricing-faq__item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #E6E6E6;
}

.pricing-faq__badge {
  flex: 0 0 64px;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.1;
  color: var(--c-teal-dark);
}

.pricing-faq__q { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--c-black); }
.pricing-faq__a { margin: 0; font-size: 16px; }

.pricing-faq-more { margin: 40px 0 0; font-size: 16px; }
.pricing-faq-more a { font-weight: 700; }

/* ---- Clients: testimonial quotes ------------------------------------------ */
.clients-quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.clients-quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.clients-quote__text { margin: 0; font-size: 18px; line-height: 1.55; color: var(--c-ink); }

.clients-quote__person { display: flex; align-items: center; gap: 14px; }

.clients-quote__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 56px;
}

.clients-quote__name { display: block; font-weight: 700; color: var(--c-black); }
.clients-quote__role { display: block; font-size: 14px; color: var(--c-text); }

/* ---- Clients: case studies ------------------------------------------------- */
.clients-cases {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.clients-case { display: flex; flex-direction: column; }

.clients-case__img { width: 100%; height: auto; margin-bottom: 14px; }

.clients-case__name { margin: 0 0 2px; font-size: 22px; font-weight: 400; color: var(--c-black); }

.clients-case__sector { font-size: 14px; font-weight: 700; color: var(--c-teal-dark); margin-bottom: 10px; }

.clients-case__text { margin: 0 0 16px; font-size: 15px; flex: 1; }

.clients-case__link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ---- How it works: steps, pillars, facts --------------------------------- */
.how-steps {
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.how-step__num { font-size: 14px; font-weight: 700; color: var(--c-teal-dark); margin-bottom: 6px; }
.how-step__title { margin: 0 0 8px; font-size: 22px; font-weight: 400; color: var(--c-black); }
.how-step__text { margin: 0; font-size: 16px; }

.how-pillars {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 56px;
}

.how-pillar__title { margin: 0 0 12px; font-size: 24px; font-weight: 400; line-height: 1.3; color: var(--c-black); }
.how-pillar__text { margin: 0 0 10px; font-size: 16px; }
.how-pillar__text:last-child { margin-bottom: 0; }

.how-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.how-fact__title { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: var(--c-black); line-height: 1.3; }
.how-fact__text { margin: 0; font-size: 16px; line-height: 1.5; }

/* ---- Book a call: booking flow + contact aside ---------------------------
   The booking script (request-a-demo/index.html) creates and queries some
   elements by their legacy class names (.warm-pillrow, .warm-pill, .active,
   .warm-slots, .warm-slot, .picked, .warm-day, .conf-*), so those names are
   kept and styled here, scoped under .book-card. ------------------------- */
.book-section { padding-top: 72px; }

.book-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: start;
}

.book-h1 { margin-bottom: 12px; font-size: 44px; }
.book-lead { margin-bottom: 32px; font-size: 19px; }

.book-card { padding: 32px; }

/* The script toggles visibility with the hidden attribute; make sure no
   display rule below can override it. */
.book-card [hidden] { display: none !important; }

.book-step-label { margin-bottom: 20px; font-size: 14px; font-weight: 700; color: var(--c-teal-dark); }
.book-step-label--tight { margin-bottom: 6px; }

.book-fieldset { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.book-legend { margin-bottom: 10px; padding: 0; font-size: 16px; font-weight: 700; color: var(--c-black); }

.book-pills { display: flex; flex-wrap: wrap; gap: 10px; }

.book-card .warm-pill {
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid var(--c-border);
  border-radius: 30px;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.book-card .warm-pill.active { border-color: var(--c-teal); background: var(--bg-mint); }

.book-btn { min-height: 48px; padding: 16px 28px; }
.book-btn:disabled { opacity: 0.5; cursor: not-allowed; filter: none; }

.book-tz { margin: 0 0 18px; font-size: 15px; }
.book-loading { margin-bottom: 18px; font-size: 15px; color: var(--c-muted); }

.book-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.book-card .warm-day {
  grid-column: 1 / -1;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-muted);
}
.book-card .warm-day:first-child { margin-top: 0; }
.book-card .warm-slot {
  min-height: 44px;
  padding: 10px 12px;
  border: 2px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--c-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.book-card .warm-slot.picked { border-color: var(--c-teal); background: var(--bg-mint); }

.book-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.book-field { display: flex; flex-direction: column; gap: 6px; }
.book-label { font-size: 15px; font-weight: 700; color: var(--c-black); }
.book-input {
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid #CFCFCF;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 400;
}
.book-input:focus-visible { outline: 3px solid var(--c-teal); outline-offset: 1px; }

.book-turnstile { margin-bottom: 20px; }

.book-error {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(214, 69, 51, 0.3);
  border-radius: var(--radius);
  background: rgba(214, 69, 51, 0.08);
  color: #A3362A;
  font-size: 15px;
  font-weight: 600;
}

.book-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.book-back {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--c-teal-dark);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* Confirmation screen (markup rendered by the booking script). */
.book-conf__title { margin: 0 0 6px; font-size: 30px; font-weight: 400; line-height: 1.25; color: var(--c-black); }
.book-conf__sub { margin: 0 0 22px; font-size: 16px; }
.book-card .conf-card { padding: 22px; border-radius: var(--radius); background: var(--bg-mint); }
.book-card .conf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--c-white);
  color: var(--c-teal-darker);
  font-size: 13px;
  font-weight: 700;
}
.book-card .conf-row { display: flex; align-items: center; gap: 12px; }
.book-card .conf-avatar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-yellow);
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 700;
}
.book-card .conf-name { font-size: 16px; font-weight: 700; color: var(--c-black); }
.book-card .conf-sub { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--c-muted); overflow-wrap: anywhere; }
.book-card .conf-favicon { width: 14px; height: 14px; border-radius: 3px; }
.book-card .conf-datebox { margin-top: 16px; padding: 12px 14px; border-radius: var(--radius); background: var(--c-white); }
.book-card .conf-date-day { font-size: 13px; font-weight: 700; color: var(--c-muted); }
.book-card .conf-date-main { margin-top: 2px; font-size: 17px; font-weight: 700; color: var(--c-black); }

.book-aside { padding: 32px 30px; border-radius: var(--radius); background: var(--bg-muted); }
.book-aside__title { margin-bottom: 18px; font-size: 26px; }
.book-aside__list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; font-size: 16px; }
.book-aside__label { font-size: 13px; font-weight: 700; color: var(--c-muted); }
.book-aside__link { font-weight: 700; }
.book-aside__address { margin: 0; font-size: 15px; }

/* ---- Legal: long-form notice article -------------------------------------- */
.legal-article { max-width: 820px; }
.legal-title { margin: 0 0 24px; font-weight: 400; }
.legal-intro { margin: 0 0 14px; overflow-wrap: anywhere; }
.legal-section { margin-top: 36px; }
.legal-section__h { margin: 0 0 12px; font-size: 20px; font-weight: 700; color: var(--c-black); letter-spacing: 0.3px; }
.legal-section__p { margin: 0 0 14px; overflow-wrap: anywhere; }

/* ---- Privacy: long-form policy article ------------------------------------ */
.privacy-article { max-width: 820px; }
.privacy-title { margin: 0 0 24px; font-weight: 400; }
.privacy-intro { margin: 0 0 14px; overflow-wrap: anywhere; }
.privacy-section { margin-top: 36px; }
.privacy-section__h { margin: 0 0 12px; font-size: 20px; font-weight: 700; color: var(--c-black); letter-spacing: 0.3px; }
.privacy-section__p { margin: 0 0 14px; overflow-wrap: anywhere; }

/* 9. Responsive ------------------------------------------------------------ */
@media (max-width: 900px) {
  .site-nav__link { display: none; }
  .mobile-menu { display: block; }

  .home-hero__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 28px; }
  .grid--2,
  .home-tech__grid { grid-template-columns: 1fr; gap: 32px; }
  .grid--4,
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .checks { column-gap: 32px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }

  .about-timeline { grid-template-columns: 1fr 1fr 1fr; }
  .about-people { grid-template-columns: 1fr; gap: 32px; }

  .pricing-faq { grid-template-columns: 1fr; }

  .clients-cases { grid-template-columns: 1fr 1fr; }

  .how-steps,
  .how-pillars { grid-template-columns: 1fr; }
  .how-facts { grid-template-columns: 1fr 1fr; }

  .book-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .site-header__bar { padding: 12px 16px; gap: 10px; }
  .site-header__logo img { height: 30px; }
  .site-nav { gap: 8px; }
  .nav-cta { display: none; }

  .h1 { font-size: 34px; }
  .h2,
  .home-hc__title { font-size: 27px; }
  .lead,
  .home-hero__sub,
  .home-tech .lead,
  .cta-band .lead { font-size: 17px; }

  .section,
  .cta-band,
  .home-along { padding: 56px 18px; }
  .home-hero,
  .site-footer { padding-left: 18px; padding-right: 18px; }

  .grid--4,
  .grid--3,
  .site-footer__grid { grid-template-columns: 1fr; }

  .about-timeline { grid-template-columns: 1fr; }

  .how-facts { grid-template-columns: 1fr; }

  .book-h1 { font-size: 34px; }
  .book-card { padding: 24px 18px; }
  .book-fields { grid-template-columns: 1fr; }
  .book-slots { grid-template-columns: 1fr 1fr; }

  .clients-quotes,
  .clients-cases { grid-template-columns: 1fr; }

  .home-dash-wrap { padding: 0; }
  .dash { padding: 14px; }
  .dash__kpis { grid-template-columns: 1fr 1fr; }

  .logo-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 18px;
  }
  .logo-row img { height: auto; max-height: 32px; max-width: 100%; }

  .wa-float { padding: 12px; }
  .wa-float__label { display: none; }

  .hc-chip { display: none; }
  .tile { min-height: 0; padding: 20px 18px 22px; }
  .home-hc__vis { min-height: 0; order: 2; }
  .home-hc__ring { width: 170px; height: 170px; }
  .checks { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }

  .modal { margin: 0; max-width: none; max-height: 100vh; height: 100vh; border-radius: 0; }
  .hc-modal { padding: 52px 18px 24px; }

  .pricing-price-card { padding: 28px 24px; }
  .pricing-price-card__num { font-size: 64px; }
}
