/* Sky Blue IT — site stylesheet
   Brand colours from the Big Creativa logo guide:
   Blue #446DAB (Pantone 7683 C), Green #4FA788 (7723 C), Grey #8E9C9D (443 C), Ink #0F1920 (Black 6 C)
   Typeface: Montserrat (Regular 400 / Semi-Bold 600 per guide; 500/700/800 for UI and display). */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/montserrat-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/montserrat-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/montserrat-latin-800-normal.woff2") format("woff2"); }

:root {
  --blue: #446DAB;
  --blue-deep: #36598F;
  --green: #4FA788;
  --grey: #8E9C9D;
  --ink: #0F1920;
  --mist: #EEF3F5;
  --line: #D5DEE1;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text: #0F1920;
  --muted: #4A5B63;
  --muted-on-dark: #AAB8BB;
  --white: #FFFFFF;
  --grad: linear-gradient(120deg, var(--blue) 0%, var(--green) 100%);

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --step-3: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem);
  --step-4: clamp(2.375rem, 1.6rem + 3.4vw, 4rem);

  --radius-sm: 8px;
  --radius: 14px;
  --header-h: 76px;
  --section-pad: clamp(4rem, 8vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: var(--step-4); letter-spacing: -0.03em; line-height: 1.06; font-weight: 800; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0 0 1em; max-width: 65ch; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

:root { --gutter: clamp(1.25rem, 5vw, 2.5rem); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: 0.75rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: var(--white); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none;
  padding: 0.85rem 1.35rem; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--sm { padding: 0.6rem 1rem; font-size: var(--step--1); }
.btn--lg { padding: 1rem 1.6rem; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-deep); color: var(--white); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--outline { color: var(--ink); border-color: rgba(15, 25, 32, 0.25); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--mist); color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.text-link { display: inline-block; margin-top: 1.25rem; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(68, 109, 171, 0.35); text-decoration-thickness: 2px; }
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: var(--header-h); }
.brand { flex: none; display: block; }
.brand-logo { width: 170px; height: auto; }
.brand-logo--light { display: none; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.6rem; }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.btn--sm .btn-icon { width: 18px; height: 18px; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { color: var(--blue); }
.site-nav ul a[aria-current="page"], .site-nav ul a.is-active { border-bottom-color: var(--green); }
.nav-toggle { display: none; }

.has-dark-hero .site-header { background: var(--ink); border-bottom-color: var(--line-dark); }
.has-dark-hero .brand-logo--dark { display: none; }
.has-dark-hero .brand-logo--light { display: block; }
.has-dark-hero .site-nav ul a { color: #DCE5E8; }
.has-dark-hero .site-nav ul a:hover { color: var(--white); }

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.6rem; font: inherit; font-weight: 600; font-size: var(--step--1);
    background: none; border: 1.5px solid var(--line); color: inherit; border-radius: var(--radius-sm); padding: 0.5rem 0.8rem; cursor: pointer;
  }
  .has-dark-hero .nav-toggle { color: var(--white); border-color: var(--line-dark); }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform 0.2s ease; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    padding: 1.25rem clamp(1.25rem, 5vw, 2.5rem) 1.75rem;
    background: var(--white); border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav[data-open] { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: var(--step-0); }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--line); color: var(--blue); }
  .site-nav .btn { align-self: flex-start; }
  .nav-actions { flex-wrap: wrap; gap: 0.75rem; }
  .has-dark-hero .site-nav { background: var(--ink); border-bottom-color: var(--line-dark); }
  .has-dark-hero .site-nav ul a { border-bottom-color: var(--line-dark); }
}

/* ---------- Brand bands (from the logo mark) ---------- */
.bands { position: absolute; pointer-events: none; height: auto; }
.bands--hero { width: min(1050px, 92vw); right: -21%; top: 50%; transform: translateY(-36%); opacity: 0.55; }
.bands--hero-echo { width: min(520px, 55vw); left: -9%; top: -14%; opacity: 0.14; transform: scaleX(-1); }
.bands--page { width: min(640px, 70vw); right: -90px; top: 50%; transform: translateY(-50%); opacity: 0.18; }
.bands--cta { width: min(760px, 90vw); right: -120px; bottom: -140px; opacity: 0.28; mix-blend-mode: screen; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero--home {
  color: var(--white); padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(60% 70% at 88% 35%, rgba(79, 167, 136, 0.20), transparent 70%),
    radial-gradient(55% 65% at 8% 95%, rgba(68, 109, 171, 0.26), transparent 70%),
    var(--ink);
}
.hero--home::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); }
/* Faint dot grid, fading out towards the left, suggesting connected information */
.hero-backdrop {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
  mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.hero-copy { padding-top: clamp(0rem, 2vw, 1.5rem); }
.hero--home h1 { max-width: 14ch; }
.h-and {
  font-style: italic; font-weight: 800; padding-right: 0.08em;
  color: var(--green);
  background: linear-gradient(100deg, #6E95D6 0%, var(--green) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lede { font-size: var(--step-1); line-height: 1.55; margin-top: 1.5rem; max-width: 52ch; }
.hero--home .lede { color: #D3DDE0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.25rem; }

.flow-panel {
  margin: 0; padding: 1.75rem; border-radius: 18px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line-dark);
  backdrop-filter: blur(6px);
}
.flow-title { font-weight: 600; font-size: var(--step--1); color: var(--muted-on-dark); margin-bottom: 1.25rem; }
.flow-steps { position: relative; display: grid; gap: 0.35rem; }
.flow-step {
  position: relative; display: grid; grid-template-columns: 40px 1fr 22px; gap: 0.9rem; align-items: start;
  padding: 0.85rem 0.75rem; border-radius: 12px; transition: background-color 0.4s ease, opacity 0.4s ease;
}
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; left: calc(0.75rem + 19px); top: calc(0.85rem + 42px); bottom: -0.6rem; width: 2px;
  background: var(--line-dark);
}
.flow-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(68, 109, 171, 0.22); color: #BFD0EA; }
.flow-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow-text { display: grid; gap: 0.15rem; font-size: 0.92rem; line-height: 1.45; color: var(--muted-on-dark); }
.flow-text strong { color: var(--white); font-weight: 600; font-size: 0.98rem; }
.flow-state { width: 22px; height: 22px; margin-top: 9px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1920' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.flow-note { margin: 1.1rem 0 0; font-size: 0.8rem; color: var(--muted-on-dark); }

/* Animated state (JS adds .is-animating, then .is-done to each step in turn) */
.flow-panel.is-animating .flow-step { opacity: 0.38; }
.flow-panel.is-animating .flow-state { transform: scale(0); transition: transform 0.35s cubic-bezier(.3, 1.6, .5, 1); }
.flow-panel.is-animating .flow-step.is-done { opacity: 1; }
.flow-panel.is-animating .flow-step.is-current { background: rgba(255, 255, 255, 0.06); }
.flow-panel.is-animating .flow-step.is-done .flow-state { transform: scale(1); }
.flow-panel.is-animating .flow-step.is-done .flow-icon { background: rgba(79, 167, 136, 0.24); color: #BDE5D6; }

.proof-strip {
  position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 1.5rem clamp(2.5rem, 5vw, 4.5rem);
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.75rem; border-top: 1px solid var(--line-dark);
  font-size: 0.92rem; line-height: 1.45; color: var(--muted-on-dark);
}
.proof-strip ul { display: grid; gap: 1.5rem; }
.proof-pair { grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 3vw, 2.5rem); }
.proof-strip strong { display: block; color: var(--white); font-size: var(--step-0); font-weight: 600; }

/* ---------- Inner page hero ---------- */
.hero--page { background: var(--mist); padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero--compact { padding-bottom: clamp(2rem, 4vw, 3rem); }
.hero-page-inner { position: relative; }
.hero--page h1 { max-width: 19ch; font-size: clamp(2.125rem, 1.5rem + 2.8vw, 3.5rem); }
.hero--page .lede { color: var(--muted); }
.crumb { font-size: var(--step--1); color: var(--muted); margin-bottom: 1.25rem; }
.crumb a { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: var(--section-pad) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink .section-intro p { color: var(--muted-on-dark); }
.section-heading { max-width: 22ch; }
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-intro p { color: var(--muted); margin: 0; }

/* Two halves */
.halves { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.half { position: relative; padding: clamp(1.75rem, 3.5vw, 2.75rem); border-radius: 18px; border: 1px solid var(--line); }
.half h3 { font-size: var(--step-2); margin: 1.25rem 0 0.75rem; }
.half p { color: var(--muted); }
.half-icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: var(--grad); }
.half--ai { background: var(--ink); color: var(--white); border-color: var(--ink); }
.half--ai p { color: var(--muted-on-dark); }
.half--ai .text-link { color: #9DB8E3; text-decoration-color: rgba(157, 184, 227, 0.4); }
.half--ai .text-link:hover { color: var(--white); }
.half--it .half-icon { background: var(--blue); }

.ticks { margin-top: 1.5rem; display: grid; gap: 0.6rem; }
.ticks li, .checklist li { position: relative; padding-left: 1.9rem; }
.ticks li::before, .checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 0.72rem no-repeat;
}
.half--ai .ticks li::before { background-color: var(--green); }

/* Solutions index */
.solution-index { border-top: 1px solid #C6D1D4; margin: 0 -1rem; }
.solution-index a {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0.5rem 3rem; align-items: baseline;
  padding: 1.6rem 1rem; border-bottom: 1px solid #C6D1D4; color: var(--ink); text-decoration: none;
  border-radius: 4px; transition: background-color 0.15s ease;
}
.solution-index a:hover { background: var(--white); }
.si-title { font-size: var(--step-1); font-weight: 600; }
.solution-index a:hover .si-title { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.si-desc { color: var(--muted); }

/* Hero "How can we help you?" dropdown */
.helper-card {
  position: relative; padding: clamp(1.5rem, 3vw, 2rem); border-radius: 18px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line-dark); backdrop-filter: blur(6px);
}
.helper-card-title { font-size: var(--step-2); color: var(--white); }
.helper-label { display: block; margin: 1.1rem 0 0.55rem; font-weight: 500; font-size: 0.95rem; color: var(--muted-on-dark); }
/* The closed dropdown shows the chosen option as normal wrapping text, so long options are never cut off.
   The real <select> sits invisibly on top and still handles taps, keyboard and screen readers. */
.helper-select-wrap {
  position: relative; font-size: 1.05rem; font-weight: 500; line-height: 1.35; color: var(--ink);
  padding: 0.95rem 3rem 0.95rem 1.1rem; border: 2px solid var(--blue); border-radius: 12px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23446DAB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 1.25rem no-repeat;
}
.helper-select-wrap:hover { border-color: var(--green); }
.helper-select-wrap:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(79, 167, 136, 0.35); }
.helper-select {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border: 0; opacity: 0; cursor: pointer;
  appearance: none; -webkit-appearance: none; font: inherit; color: var(--ink); background: var(--white);
}
.helper-select-shown > span { display: none; }
.helper-select-shown > [data-shown=""] { display: block; }
.helper-select-wrap:has(option:checked:not([value=""])) [data-shown=""],
.helper-select-wrap[data-value]:not([data-value=""]) [data-shown=""] { display: none; }
.helper-select-wrap:has(option[value="assistants"]:checked) [data-shown="assistants"],
.helper-select-wrap[data-value="assistants"] [data-shown="assistants"],
.helper-select-wrap:has(option[value="support"]:checked) [data-shown="support"],
.helper-select-wrap[data-value="support"] [data-shown="support"],
.helper-select-wrap:has(option[value="security"]:checked) [data-shown="security"],
.helper-select-wrap[data-value="security"] [data-shown="security"],
.helper-select-wrap:has(option[value="m365"]:checked) [data-shown="m365"],
.helper-select-wrap[data-value="m365"] [data-shown="m365"],
.helper-select-wrap:has(option[value="comms"]:checked) [data-shown="comms"],
.helper-select-wrap[data-value="comms"] [data-shown="comms"],
.helper-select-wrap:has(option[value="costs"]:checked) [data-shown="costs"],
.helper-select-wrap[data-value="costs"] [data-shown="costs"] { display: block; }
.helper-answers { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); }
.helper-answer h3 { color: var(--white); font-size: var(--step-1); margin-bottom: 0.5rem; }
.helper-answer > p { color: var(--muted-on-dark); font-size: 0.95rem; }
.helper-answer .ticks { margin-top: 1rem; gap: 0.5rem; font-size: 0.95rem; color: var(--white); }
.helper-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 1.5rem; }
.helper-actions .text-link { margin-top: 0; color: #9DB8E3; text-decoration-color: rgba(157, 184, 227, 0.4); }
.helper-actions .text-link:hover { color: var(--white); }
/* Answers stay hidden until an option is chosen. Works without JavaScript via :has();
   site.js adds .is-active / .has-answer for browsers without :has() support. */
.helper-answer { display: none; }
.helper-answers { display: none; }
.helper-card:has(option:checked:not([value=""])) .helper-answers,
.helper-answers.has-answer { display: block; }
.helper-card:has(option[value="assistants"]:checked) [data-help-panel="assistants"],
.helper-card:has(option[value="support"]:checked) [data-help-panel="support"],
.helper-card:has(option[value="security"]:checked) [data-help-panel="security"],
.helper-card:has(option[value="m365"]:checked) [data-help-panel="m365"],
.helper-card:has(option[value="comms"]:checked) [data-help-panel="comms"],
.helper-card:has(option[value="costs"]:checked) [data-help-panel="costs"],
.helper-answer.is-active { display: block; animation: helper-in 0.25s ease-out; }
@keyframes helper-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Services (single-page layout): summary cards spread across a grid */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem); }
.service { padding-top: 1.75rem; border-top: 1px solid var(--line); }
.service-head { display: grid; gap: 1rem; }
.service-head h3 { font-size: var(--step-2); }
.service-head p { color: var(--muted); margin: 0; max-width: 38ch; }
.service-icon { width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: var(--grad); fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Use cases */
.usecases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.usecase { padding-top: 1.4rem; border-top: 2px solid var(--ink); }
.usecase h3 { margin-bottom: 0.6rem; }
.usecase p { color: var(--muted); font-size: 0.98rem; }

/* Process (a real sequence, so it is numbered) */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.process li { counter-increment: step; position: relative; padding-top: 4.25rem; }
.process li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 2.9rem; height: 2.9rem; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 1.05rem; color: var(--ink); background: var(--green);
}
.process li:not(:last-child)::after { content: ""; position: absolute; top: 1.45rem; left: 3.6rem; right: -1.3rem; height: 2px; background: var(--line-dark); }
.process h3 { margin-bottom: 0.6rem; }
.process p { color: var(--muted-on-dark); font-size: 0.98rem; }
.process--light li::before { background: var(--blue); color: var(--white); }
.process--light li:not(:last-child)::after { background: var(--line); }
.process--light p { color: var(--muted); }

/* Why / checklist */
.why { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.why .section-heading { margin-bottom: 1.25rem; }
.why p { color: var(--muted); }
.checklist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.checklist li { padding: 1rem 0 1rem 2.1rem; border-bottom: 1px solid var(--line); font-weight: 500; }
.checklist li strong { font-weight: 700; }
.checklist li::before { top: 1.15rem; }
.section--mist .checklist, .section--mist .checklist li { border-color: #C6D1D4; }

/* Value statement in About */
.why .value-callout {
  position: relative; margin: 1.75rem 0; padding: 0.15rem 0 0.15rem 1.25rem;
  font-size: var(--step-2); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); max-width: 26ch;
}
.why .value-callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; border-radius: 3px; background: var(--grad); }

/* Service pages */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.split > div:first-child { position: sticky; top: calc(var(--header-h) + 2rem); }
.split > div:first-child .section-heading { margin-bottom: 1.25rem; }
.split > div:first-child p { color: var(--muted); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; }
.feature-list li { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.section--mist .feature-list li { border-color: #C6D1D4; }
.feature-list h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-list p { color: var(--muted); font-size: 0.98rem; }
.prose p { color: var(--text); }
.prose--legal { max-width: 760px; }
.prose--legal h2 { font-size: var(--step-1); margin: 2.25rem 0 0.75rem; }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.values article { padding-top: 1.25rem; border-top: 2px solid var(--blue); }
.values h3 { margin-bottom: 0.5rem; }
.values p { color: var(--muted); font-size: 0.98rem; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 5rem); }
.faq { border-top: 1px solid var(--line); }
.section--mist .faq, .section--mist .faq details { border-color: #C6D1D4; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  padding: 1.25rem 0; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1.5px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 0.65rem 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 0.65rem no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.25rem; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--blue); color: var(--white); padding: clamp(3.5rem, 7vw, 5rem) 0; }
.cta-band .bands--cta { mix-blend-mode: normal; opacity: 0.35; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem 3rem; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: 0.75rem; }
.cta-inner p { color: #E4ECF6; max-width: 54ch; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; }
.cta-actions .btn--primary { background: var(--white); color: var(--ink); }
.cta-actions .btn--primary:hover { background: var(--mist); color: var(--ink); }
.cta-phone { color: var(--white); font-weight: 500; }
.cta-phone:hover { color: var(--white); }

/* Contact */
.contact-section { background: var(--mist); }
.contact-section .contact-details { background: var(--white); }
.contact-intro { color: var(--muted); margin: 1rem 0 2rem; }
.contact-section .contact-details { margin-top: 0.5rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-form { display: grid; gap: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.field { display: grid; gap: 0.45rem; align-content: start; }
.field label { font-weight: 600; font-size: 0.95rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); width: 100%; padding: 0.8rem 0.95rem; border-radius: var(--radius-sm);
  border: 1.5px solid #B4C1C5; background: var(--white);
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(68, 109, 171, 0.25); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field-error { color: #B3261E; font-size: 0.88rem; font-weight: 500; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: 0.9rem; color: var(--muted); }
.contact-form .btn { justify-self: start; }
.form-status { min-height: 1.5em; font-weight: 600; margin: 0; }
.form-status.is-success { color: #1F7A5A; }
.form-status.is-error { color: #B3261E; }
.contact-details { background: var(--mist); border-radius: 18px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.contact-details h2, .contact-details h3 { font-size: var(--step-1); margin-bottom: 1.25rem; }
.contact-details dl { margin: 0; display: grid; gap: 0.2rem; }
.contact-details dt { font-size: var(--step--1); color: var(--muted); margin-top: 0.85rem; }
.contact-details dt:first-child { margin-top: 0; }
.contact-details dd { margin: 0; font-weight: 600; }
.contact-note { margin-top: 1.5rem; font-size: 0.92rem; color: var(--muted); }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 60;
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.8rem 1.15rem 0.8rem 0.95rem;
  border-radius: 999px; background: var(--green); color: var(--ink); font-weight: 600; font-size: 0.95rem; text-decoration: none;
  box-shadow: 0 6px 20px rgba(15, 25, 32, 0.28);
}
.wa-float:hover { background: #45977A; color: var(--ink); }
.wa-float svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .wa-float { padding: 0.9rem; } }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding: clamp(3.5rem, 6vw, 4.5rem) 0 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.5fr)); gap: 2.5rem; }
.footer-brand img { width: 190px; height: auto; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 34ch; }
.footer-col h2 { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 1rem; letter-spacing: 0; }
.footer-col ul { display: grid; gap: 0.55rem; }
.site-footer a { color: var(--muted-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 3rem; padding-top: 1.5rem; background: linear-gradient(var(--line-dark), var(--line-dark)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; font-size: 0.85rem; }
.footer-base p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero--home h1 { max-width: 16ch; }
  .flow-panel, .helper-card { max-width: 600px; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-pair { grid-template-columns: 1fr 1fr; }
  .usecases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
  .process li:nth-child(2)::after { display: none; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .section-intro, .halves, .why, .split, .faq-wrap, .contact-grid { grid-template-columns: 1fr; }
  .solution-index a { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split > div:first-child { position: static; }
  .feature-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  :root { --header-h: 66px; }
  .brand-logo { width: 140px; }
  .proof-pair, .usecases, .process, .values, .feature-list, .field-row, .services { grid-template-columns: 1fr; }
  .process li::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
  .helper-select-wrap { font-size: 0.95rem; padding-right: 2.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header, .cta-band, .bands, .nav-toggle, .wa-float { display: none !important; }
  .hero--home, .section--ink, .site-footer { background: none; color: var(--ink); }
}


/* ---------- Dark page theme (home) ----------
   One continuous ink background with soft brand-blue and green glows, so the colour flows from the
   hero to the footer instead of switching between white and coloured sections. */
body.page-dark { background: var(--ink); color: var(--white); }
.page-dark main {
  background:
    radial-gradient(60% 640px at 88% 320px, rgba(79, 167, 136, 0.20), transparent 70%),
    radial-gradient(55% 600px at 8% 860px, rgba(68, 109, 171, 0.26), transparent 70%),
    radial-gradient(50% 32% at 95% 42%, rgba(68, 109, 171, 0.16), transparent 70%),
    radial-gradient(50% 30% at 4% 66%, rgba(79, 167, 136, 0.12), transparent 70%),
    radial-gradient(60% 26% at 92% 96%, rgba(68, 109, 171, 0.18), transparent 70%),
    var(--ink);
}
.page-dark .site-header { background: rgba(15, 25, 32, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.page-dark .hero--home { background: none; }
.page-dark .hero--home::after { display: none; }
.page-dark .hero-backdrop {
  -webkit-mask-image: radial-gradient(75% 85% at 82% 38%, #000 30%, transparent 78%);
  mask-image: radial-gradient(75% 85% at 82% 38%, #000 30%, transparent 78%);
}
.page-dark main { overflow: clip; }
.page-dark .hero--home { overflow: visible; }
.page-dark .bands--hero {
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 96%);
}
/* The hero's bands and dot grid repeat down the page so the theme carries through every section */
.page-dark .section { position: relative; }
.page-dark .section > .wrap { position: relative; z-index: 1; }
.deco-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1.5px); background-size: 26px 26px;
}
.deco-dots--right { -webkit-mask-image: radial-gradient(55% 70% at 90% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(55% 70% at 90% 50%, #000 20%, transparent 75%); }
.deco-dots--left { -webkit-mask-image: radial-gradient(55% 70% at 10% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(55% 70% at 10% 50%, #000 20%, transparent 75%); }
.bands--section {
  width: min(900px, 85vw); top: 50%; opacity: 0.26;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.bands--right { right: -28%; transform: translateY(-50%); }
.bands--left { left: -32%; transform: translateY(-50%) scaleX(-1); }
.page-dark .section, .page-dark .section--ink, .page-dark .section--mist, .page-dark .contact-section { background: none; color: var(--white); }
.page-dark main a:not(.btn) { color: #9DB8E3; text-decoration-color: rgba(157, 184, 227, 0.4); }
.page-dark main a:not(.btn):hover { color: var(--white); }
.page-dark .section-intro p, .page-dark .service-head p, .page-dark .why p, .page-dark .contact-intro,
.page-dark .form-privacy, .page-dark .optional { color: var(--muted-on-dark); }
.page-dark .service { border-top-color: var(--line-dark); }
.page-dark .checklist, .page-dark .checklist li { border-color: var(--line-dark); }
.page-dark .why .value-callout { color: var(--white); }
.page-dark .field input, .page-dark .field select, .page-dark .field textarea {
  color: var(--white); background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.22);
}
.page-dark .field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem;
  background: rgba(255, 255, 255, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AAB8BB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0.9rem center / 1.1rem no-repeat;
}
.page-dark .field select option { color: var(--ink); background: var(--white); }
.page-dark .field input:focus, .page-dark .field select:focus, .page-dark .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(79, 167, 136, 0.3); }
.page-dark .field [aria-invalid="true"] { border-color: #FF8A80; }
.page-dark .field-error, .page-dark .form-status.is-error { color: #FF8A80; }
.page-dark .form-status.is-success { color: #7FD1B1; }
.page-dark .contact-section .contact-details { background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line-dark); }
.page-dark .contact-details dt { color: var(--muted-on-dark); }
.page-dark .site-footer { background: none; border-top: 1px solid var(--line-dark); }

/* ---------- Focused first screen (home) ----------
   The first view is only the headline and the "How can we help you?" dropdown.
   The rest of the site follows as the visitor scrolls. */
.page-dark .hero--home {
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
  display: grid; align-content: center; padding: clamp(2.5rem, 6vh, 4.5rem) 0 clamp(5.5rem, 12vh, 7rem);
}
.hero-focus { position: relative; display: grid; justify-items: center; gap: clamp(2rem, 4.5vh, 3rem); text-align: center; }
.hero-focus h1 { max-width: 15ch; }
.hero-focus .hero-lede { margin: calc(-1 * clamp(0.5rem, 2vh, 1.25rem)) 0 0; max-width: 60ch; color: #D3DDE0; }
.hero-focus > .hero-lede { animation-delay: 0.08s; }
.hero-focus .helper-card { width: 100%; max-width: 640px; text-align: left; }
.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(1.25rem, 3.5vh, 2.25rem); transform: translateX(-50%);
  display: grid; justify-items: center; gap: 0.15rem; color: var(--muted-on-dark); font-size: 0.85rem; font-weight: 500; text-decoration: none;
}
.scroll-cue:hover { color: var(--white); }
.scroll-cue svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: cue-bob 2.2s ease-in-out infinite; }
@keyframes cue-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
/* Gentle entrance on first load (CSS only) */
.hero-focus > * { animation: focus-in 0.7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-focus > .helper-card { animation-delay: 0.18s; }
@keyframes focus-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Intro section (moved out of the first screen) */
.section--intro { padding-top: clamp(3.5rem, 7vw, 5.5rem); padding-bottom: 0; }
.intro { display: grid; gap: 0.5rem; }
.lede--intro { font-size: clamp(1.35rem, 1.05rem + 1.2vw, 1.875rem); line-height: 1.45; font-weight: 500; color: #D3DDE0; max-width: 40ch; margin-top: 0; }
.section--intro .proof-strip { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* Scroll reveal: only applied once site.js confirms it can run, so nothing is ever hidden without JavaScript */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .7, .2, 1); }
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-focus > *, .scroll-cue svg { animation: none; }
}
@media (max-width: 600px) {
  .hero-focus { text-align: left; justify-items: stretch; }
  .scroll-cue span { display: none; }
}

/* Hidden visually, still read by screen readers and search engines */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Brand gradient bar beside a heading */
.heading-bar { position: relative; padding-left: 1.4rem; }
.heading-bar::before { content: ""; position: absolute; left: 0; top: 0.12em; bottom: 0.12em; width: 5px; border-radius: 3px; background: var(--grad); }
.why .heading-bar { margin-bottom: 1.5rem; }
/* The intro band now holds only the proof strip, so it sits close to the first screen and the services */
.section--intro { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.section--intro .proof-strip { margin-top: 0; }
#intro + #services { padding-top: clamp(2.5rem, 5vw, 3.5rem); }

/* WhatsApp buttons in the "How can we help you?" answers */
.btn--wa { background: var(--green); color: var(--ink); }
.btn--wa:hover { background: #45977A; color: var(--ink); }
.btn-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
/* The two answer buttons stack at equal width */
.helper-actions { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.helper-actions .btn { width: 100%; text-align: center; min-height: 52px; }
.wa-float { transition: opacity 0.25s ease, transform 0.25s ease; }
.wa-float.is-tucked { opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.25s; }
