/* ==========================================================================
   All Business Solutions — stylesheet
   Direction 2a "Warm Paper · Green". Every token below comes from the
   design system in "Brand essence visual directions". Do not add colours,
   weights, shadows or motion that are not listed here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Colour --------------------------------------------------------------- */
  --green-600: #889B73;   /* CTA fill, service headers, wordmark accent      */
  --green-700: #6F8259;   /* hover and pressed, links in body text          */
  --green-100: #E8EDE2;   /* selected rows, quiet fills                     */
  --green-on-ink: #ADBE99;/* wordmark accent on an ink ground               */
  --ink: #2F3A28;         /* all body copy and headings                     */
  --ink-70: #4A5742;      /* nav rest state, small print under a CTA        */
  --ink-muted: #6A7860;   /* captions, labels, footer                       */
  --ink-faint: #92A188;   /* placeholder text and disabled labels only      */
  --tint: #F4F6F1;        /* alternating bands                              */
  --line: #DDE3D6;        /* every border                                   */
  --line-strong: #C9D2C1; /* frame edge                                     */
  --ground: #FFFFFF;      /* page background, cards                         */
  --error: #B4432E;       /* form errors only, never decoration             */

  /* Platform colours. Never restyled, never recoloured. ------------------ */
  --messenger: #0866FF;
  --whatsapp: #25D366;
  --whatsapp-ink: #08240F;

  /* CONTRAST — three colours above are below WCAG AA at the sizes the
     design system uses them. Measured:
       white on --green-600 (primary CTA label) ... 3.01:1, wants 4.5:1
       --green-700 link text on white ............. 4.19:1, wants 4.5:1
       --ink-muted on the --tint band ............. 4.32:1, wants 4.5:1
     The palette is left exactly as the design system specifies. To adopt
     the AA-passing versions instead, uncomment the three lines below —
     same hue, darkened just enough to pass. Nothing else needs to change.
       --green-600: #6B7A5B;   (4.61:1)
       --green-700: #697C55;   (4.55:1)
       --ink-muted: #67745D;   (4.56:1)
     Card headers and the wordmark accent are large enough to pass as they
     are, so this only affects small white-on-green and grey text. */

  /* Type ----------------------------------------------------------------- */
  --font-display: 'Archivo Narrow', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --size-display: 33px;    /* page headline, mobile      */
  --size-section: 26px;    /* section opener, uppercase  */
  --size-heading: 22px;    /* h2                         */
  --size-subheading: 17px; /* h3, card headers           */
  --size-body-lg: 15.5px;  /* intro paragraphs           */
  --size-body: 14px;       /* the default                */
  --size-small: 13px;      /* table rows, footer lines   */
  --size-caption: 12px;    /* eyebrows and labels        */
  --size-mono: 11px;       /* photo slot labels only     */

  /* Spacing — four-point base ------------------------------------------- */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;   /* page gutter                       */
  --s-5: 20px;   /* section vertical padding          */
  --s-6: 28px;   /* between major sections, tablet up */
  --s-7: 40px;   /* desktop gutter                    */

  --gutter: var(--s-4);
  --section-y: var(--s-5);

  /* Shape ---------------------------------------------------------------- */
  --radius: 3px;
  --tap: 44px;       /* minimum height on anything tappable */
  --tap-chat: 46px;  /* the chat buttons                    */
  --measure: 960px;  /* the page never gets wider than this */
}

/* --------------------------------------------------------------------------
   2. RESET AND BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: 400;
  line-height: 1.5;
  /* Clear the sticky chat bar so the footer is never hidden behind it. */
  padding-bottom: 76px;
}

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

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { color: var(--ink); }

/* Focus: 2px green-700 outline, 2px offset, on every interactive element. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 2px;
}

/* Figures line up down a column. */
.num { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* A band runs edge to edge; the rule under it is the divider, not a shadow. */
.band {
  border-bottom: 1px solid var(--line);
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.band--tint { background: var(--tint); }
.band--flush { padding-top: 0; padding-bottom: 0; }

.stack { display: flex; flex-direction: column; gap: var(--s-3); }
.stack--tight { gap: var(--s-2); }
.stack--loose { gap: 14px; }

.two-col { display: grid; gap: 14px; }

/* Spacing utilities, all off the four-point scale. */
.mt-1 { margin-top: var(--s-1); }
.mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }

/* --------------------------------------------------------------------------
   4. TYPE
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-size: var(--size-display);
  line-height: 1.06;
  font-weight: 700;
  text-wrap: pretty;
}

.display--sub { font-size: 30px; }

.h-section,
.h2 {
  font-family: var(--font-display);
  font-size: var(--size-heading);
  line-height: 1.15;
  font-weight: 700;
  text-transform: uppercase;
  text-wrap: pretty;
}
.h-section { margin-bottom: var(--s-3); }
.h-section--flush { margin-bottom: 0; }

/* The quiet sentence that sits under a section heading. */
.section-sub {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: var(--s-1) 0 var(--s-3);
}
.service-intro { line-height: 1.5; margin: 6px 0 10px; }

.h3 {
  font-family: var(--font-display);
  font-size: var(--size-subheading);
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  text-wrap: pretty;
}

.h3--lg { font-size: 18px; }
.h3--person { font-size: 19px; }

.eyebrow {
  font-size: var(--size-caption);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.lead { font-size: var(--size-body-lg); line-height: 1.5; }
.body-md { font-size: 14.5px; line-height: 1.5; }
.small { font-size: var(--size-small); line-height: 1.45; }
.muted { color: var(--ink-muted); }
.note-line { font-size: 12.5px; line-height: 1.5; color: var(--ink-muted); }
.center { text-align: center; }
.cta-note { color: var(--ink-70); margin-top: var(--s-2); }

/* Keeps running text to a readable measure without moving the left edge,
   so every section on the page still lines up. */
.prose > p,
.prose > .stack,
.prose > .ticks,
.prose > .steps { max-width: 68ch; }

/* Marks a real detail that is still missing. Search the folder for "check"
   to find every one of them. Listed in full in CLAUDE.md. */
.check {
  font-family: var(--font-mono);
  font-size: 0.85em;
  font-weight: 500;
  color: var(--ink-muted);
  background: var(--green-100);
  border: 1px dashed var(--ink-faint);
  border-radius: var(--radius);
  padding: 0 4px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); } /* the only press motion */

/* Primary — one per screen, always the chat action. */
.btn--primary {
  background: var(--green-600);
  color: #fff;
  font-size: var(--size-body-lg);
  min-height: var(--tap-chat);
  padding: 14px;
}
.btn--primary:hover { background: var(--green-700); color: #fff; }
.btn--primary:focus-visible { outline-color: var(--ink); }

/* Secondary — call, directions, view prices. */
.btn--secondary {
  background: var(--ground);
  color: var(--ink);
  border-color: var(--ink);
}
.btn--secondary:hover { background: var(--green-100); color: var(--ink); }

/* Platform — never restyled, never recoloured. */
.btn--messenger { background: var(--messenger); color: #fff; }
.btn--messenger:hover { background: var(--messenger); color: #fff; }
.btn--whatsapp { background: var(--whatsapp); color: var(--whatsapp-ink); }
.btn--whatsapp:hover { background: var(--whatsapp); color: var(--whatsapp-ink); }
.btn--messenger,
.btn--whatsapp { min-height: var(--tap-chat); font-size: var(--size-body); }

.btn--block { width: 100%; }

.btn-pair {
  display: flex;
  gap: 9px;
}
.btn-pair > .btn { flex: 1; }

/* --------------------------------------------------------------------------
   6. HEADER AND NAV  (identical on every page)
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  padding-top: var(--s-3);
  padding-bottom: var(--s-3);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark span { color: var(--green-600); }
.wordmark:hover { color: var(--ink); }

.header-chat { display: flex; gap: var(--s-2); flex: none; }
.header-chat .btn {
  min-height: 40px;
  padding: 9px 13px;
  font-size: var(--size-small);
}
.header-chat__wa { display: none; } /* shown when the sticky bar collapses in */

/* The header chat button is a short "Chat" on a phone and names the platform
   once the sticky bar has collapsed into the header. */
.lbl-lg { display: none; }

.site-nav { border-bottom: 1px solid var(--line); }
.nav-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-row::-webkit-scrollbar { display: none; }

.nav-row a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  padding: 4px 0;
  font-size: 12.5px;
  color: var(--ink-70);
  text-decoration: none;
  white-space: nowrap;
}
.nav-row a:hover { color: var(--ink); text-decoration: underline; }
.nav-row a[aria-current="page"] { font-weight: 600; color: var(--ink); }

/* --------------------------------------------------------------------------
   7. HERO AND FACT STRIP
   -------------------------------------------------------------------------- */
.hero .eyebrow { display: block; margin-bottom: var(--s-2); }
.hero .display { margin-bottom: 10px; }
.hero .lead { margin-bottom: var(--s-3); }
.hero .btn--primary { margin-bottom: var(--s-2); }

.facts-band { border-bottom: 1px solid var(--line); }
.facts {
  display: flex;
  font-size: 12.5px;
}
.facts > li {
  flex: 1;
  padding: 10px 12px;
  border-right: 1px solid var(--line);
}
.facts > li:first-child { padding-left: 0; }
.facts > li:last-child { border-right: 0; padding-right: 0; }
.facts b { display: block; }
.facts span { color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   8. SERVICE CARDS
   -------------------------------------------------------------------------- */
.cards { display: grid; gap: 10px; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ground);
}
.card__head {
  background: var(--green-600);
  color: #fff;
  padding: 8px 12px;
  font-family: var(--font-display);
  font-size: var(--size-subheading);
  font-weight: 700;
  text-transform: uppercase;
}
/* Ink marks the monthly plan that ties the three services together. */
.card__head--ink { background: var(--ink); }
.card__head--lg { font-size: 18px; padding: 10px 12px; }
.card__body { padding: 10px 12px; line-height: 1.5; }
.card__body--pad { padding: 12px; }

/* --------------------------------------------------------------------------
   9. BOXED LISTS, TABLES, NOTES
   -------------------------------------------------------------------------- */
.list-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13.5px;
}
.list-box li { padding: 9px 12px; border-bottom: 1px solid var(--green-100); }
.list-box li:last-child { border-bottom: 0; }

.note {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green-600);
  border-radius: var(--radius);
  background: var(--tint);
  font-size: 13.5px;
  line-height: 1.5;
}
.note--plain { border-left-width: 1px; border-left-color: var(--line); background: var(--ground); }

.data-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 13.5px;
}
.data-table .row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--green-100);
}
.data-table .row:last-child { border-bottom: 0; }
.data-table .row > span { color: var(--ink-muted); }
.data-table .row > b { text-align: right; }

/* Price rows */
.price-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--green-100);
}
.price-row:last-child { border-bottom: 0; }
.price-row__label { font-size: var(--size-body); }
.price-row__label b { display: block; }
.price-row__label span { font-size: 12.5px; color: var(--ink-muted); }
.price-row__figure {
  font-size: var(--size-subheading);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.plan { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.plan__head {
  background: var(--ink);
  color: #fff;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.plan__head .h3 { font-size: 18px; }
.plan__figure {
  font-size: 19px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.plan__body { padding: 12px; font-size: 13.5px; line-height: 1.5; }

/* Ticked promise lists */
.ticks { display: flex; flex-direction: column; gap: var(--s-2); line-height: 1.5; }
.ticks li { display: flex; gap: var(--s-2); }
.ticks li::before {
  content: "\2713";
  color: var(--green-600);
  font-weight: 700;
  flex: none;
}
.ticks--small { font-size: 13.5px; gap: 6px; }

/* Numbered steps */
.steps { display: flex; flex-direction: column; gap: 10px; line-height: 1.5; }
.steps li { display: flex; gap: 10px; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: var(--radius);
  background: var(--green-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--size-small);
}
.steps { counter-reset: step; }

/* --------------------------------------------------------------------------
   10. PHOTOS AND PEOPLE
   -------------------------------------------------------------------------- */
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }

.photo {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tint);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.photo--map img { aspect-ratio: 12 / 5; }

.people { display: flex; gap: 10px; }
.people > li { flex: 1; display: flex; gap: 10px; align-items: center; }

.avatar {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--lg { width: 92px; height: 92px; }

.person-name { font-size: 13.5px; line-height: 1.35; }
.person-name b { display: block; }
.person-name span { color: var(--ink-muted); }

.bio { display: flex; gap: 12px; }
.bio p { font-size: 13.5px; line-height: 1.5; }
.people--bios { display: grid; gap: 14px; }

/* --------------------------------------------------------------------------
   11. CONTACT ROWS AND FORM
   -------------------------------------------------------------------------- */
.reach {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: var(--size-body);
}
.reach li { padding: 12px; border-bottom: 1px solid var(--green-100); }
.reach li:last-child { border-bottom: 0; }
.reach .label {
  display: block;
  font-size: var(--size-caption);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}
.reach .value { display: block; font-size: 14.5px; }
a.reach-link,
.reach a.value { color: var(--ink); text-decoration: none; }
.reach a.value:hover { color: var(--green-700); text-decoration: underline; }
.reach .value--phone { font-size: var(--size-subheading); font-weight: 600; font-variant-numeric: tabular-nums; }
.reach .value--email { font-size: 14.5px; font-weight: 600; word-break: break-all; }

.form { display: flex; flex-direction: column; gap: var(--s-3); }
.field { display: flex; flex-direction: column; }
.field > label {
  font-size: var(--size-small);
  font-weight: 600;
  margin-bottom: var(--s-1);
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.4;
  color: var(--ink);
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  min-height: var(--tap);
  width: 100%;
}
.field textarea { min-height: 76px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }
.field input:focus,
.field textarea:focus { border-color: var(--green-700); }

/* Error state. Used once a handler is wired up — add .field--error on the
   wrapper and put the message in .field__error. Errors only, never decoration. */
.field--error input,
.field--error textarea { border-color: var(--error); }
.field__error { font-size: 12.5px; color: var(--error); margin-top: var(--s-1); }

/* --------------------------------------------------------------------------
   12. FOOTER  (identical on every page)
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-muted);
}
.site-footer .h3 {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 6px;
}
.site-footer a { color: var(--ink-muted); }
.site-footer a:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   13. STICKY CHAT BAR
   Sticky at the bottom of every page on mobile, above all other content.
   On desktop it collapses into the header.
   -------------------------------------------------------------------------- */
.chatbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 9px;
  background: var(--ground);
  border-top: 1px solid var(--line);
}
.chatbar__inner {
  display: flex;
  gap: 9px;
  max-width: var(--measure);
  margin: 0 auto;
}
.chatbar .btn { flex: 1; }

/* Without JavaScript the bar is simply always there. With JavaScript it
   arrives on scroll, which is the one piece of motion the design system
   allows besides the pressed state. */
.js .chatbar {
  transform: translateY(110%);
  transition: transform 120ms linear;
}
.js .chatbar.is-visible { transform: none; }

/* --------------------------------------------------------------------------
   14. BREAKPOINTS
   Mobile-first, 390px base. Density stays high as the screen grows: the
   columns fill, the whitespace does not.
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  :root { --gutter: var(--s-6); --section-y: var(--s-6); }

  .cards { grid-template-columns: 1fr 1fr; }
  .card--wide { grid-column: 1 / -1; }
  .photo-grid { gap: var(--s-3); }
  .bio { gap: var(--s-4); }
}

@media (min-width: 900px) {
  :root { --gutter: var(--s-7); }

  body { padding-bottom: 0; }

  .display { font-size: 40px; }
  .display--sub { font-size: 36px; }
  .h-section { font-size: var(--size-section); }

  /* The chat bar collapses into the header. */
  .chatbar { display: none; }
  .header-chat__wa { display: flex; }
  .lbl-sm { display: none; }
  .lbl-lg { display: inline; }

  .header-bar { padding-top: var(--s-4); padding-bottom: var(--s-4); }
  .nav-row { gap: var(--s-6); overflow-x: visible; }

  .cards--four { grid-template-columns: repeat(3, 1fr); }
  .cards--four .card--wide { grid-column: 1 / -1; }

  .two-col { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .people--bios { grid-template-columns: 1fr 1fr; gap: var(--s-6); }

  /* Hero text is capped by its own measure rather than by a narrower
     wrapper, so the left edge stays aligned with every other section. */
  .hero__inner .display { max-width: 17ch; }
  .hero__inner .lead { max-width: 58ch; }
  .hero__inner .btn--primary,
  .hero__inner .cta-note,
  .hero__inner .btn-pair { max-width: 420px; }
}

/* --------------------------------------------------------------------------
   15. PREFERENCES AND PRINT
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .js .chatbar { transition: none; }
  .btn:active { transform: none; }
}

@media print {
  .chatbar, .site-nav, .header-chat { display: none; }
  body { padding-bottom: 0; }
}
