/* ==========================================================================
   Best Tech Solution: site styles
   Palette:  ink #0F1B33 (deep navy)  chalk #F4F7FB  signal #2D5BFF
             mint #12A66E (done)  amber #FFB400 (highlight)  slate #56627A (text)
   Type:     Bricolage Grotesque (headlines)  +  Hanken Grotesk (body)
   Change the tokens below to re-colour the whole site.
   ========================================================================== */

:root {
  --ink: #0F1B33;
  --ink-2: #182848;
  --chalk: #F4F7FB;
  --paper: #FFFFFF;
  --signal: #2D5BFF;
  --signal-dark: #1F45D6;
  --signal-soft: #E8EEFF;
  --signal-light: #9DB4FF;
  --mint: #12A66E;
  --mint-soft: #DDF5EA;
  --amber: #FFB400;
  --slate: #56627A;
  --line: #DDE4F0;
  --danger: #C62A2A;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 14px;
}

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand, .price, .step-num, .avatar {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

a { color: var(--signal); }
a:hover { color: var(--signal-dark); }
section[id] { scroll-margin-top: 84px; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .page-head :focus-visible, .section-ink :focus-visible,
.site-footer :focus-visible, .cta-band :focus-visible { outline-color: var(--signal-light); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 2000;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---- Buttons ------------------------------------------------------------- */
.btn { --bs-btn-font-weight: 600; --bs-btn-border-radius: .7rem; --bs-btn-padding-x: 1.25rem; }
.btn-lg { --bs-btn-padding-y: .8rem; --bs-btn-padding-x: 1.6rem; --bs-btn-font-size: 1.05rem; }

.btn-signal {
  --bs-btn-color: #fff; --bs-btn-bg: var(--signal); --bs-btn-border-color: var(--signal);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--signal-dark); --bs-btn-hover-border-color: var(--signal-dark);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--signal-dark); --bs-btn-active-border-color: var(--signal-dark);
  --bs-btn-focus-shadow-rgb: 45, 91, 255;
}
.btn-outline-ink {
  --bs-btn-color: var(--ink); --bs-btn-border-color: var(--ink); --bs-btn-bg: transparent;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ink); --bs-btn-hover-border-color: var(--ink);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--ink); --bs-btn-active-border-color: var(--ink);
}
.btn-ghost-light {
  --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.4); --bs-btn-bg: transparent;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: rgba(255,255,255,.12); --bs-btn-hover-border-color: rgba(255,255,255,.7);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: rgba(255,255,255,.18); --bs-btn-active-border-color: #fff;
}
.link-strong { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---- Header / navigation -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar { padding-block: .7rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-light, .brand-light:hover { color: #fff; }
.navbar-toggler { border: 1px solid var(--line); font-size: 1.6rem; line-height: 1; padding: .2rem .5rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(45,91,255,.3); }
.nav-link { font-weight: 600; color: var(--ink); padding: .5rem .85rem !important; border-radius: 8px; }
.nav-link:hover { color: var(--signal); }
.nav-link.active { color: var(--signal); background: var(--signal-soft); }
@media (max-width: 991.98px) { #mainNav { padding: 1rem 0 .5rem; } }

/* ---- Hero ----------------------------------------------------------------- */
.hero, .page-head {
  position: relative; color: #fff; background-color: var(--ink); overflow: hidden; isolation: isolate;
}
.hero::before, .page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 30%, #000 10%, transparent 72%);
          mask-image: radial-gradient(ellipse at 75% 30%, #000 10%, transparent 72%);
}
.hero { padding: 5rem 0 5.5rem; }
.hero-title { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; margin-bottom: 1.25rem; }
.hero-lead { font-size: 1.2rem; color: #C9D3E8; max-width: 34rem; margin-bottom: 2rem; }
.hero-note { margin: 1.1rem 0 0; color: #9FADCC; font-size: .95rem; }

/* Project board: the one memorable element of the hero */
.board {
  background: #fff; color: var(--ink); border-radius: 20px; padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
}
.board p { margin: 0; }
.board-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.board-title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.board-sub { color: var(--slate); font-size: .9rem; }
.board-badge { background: var(--amber); color: var(--ink); font-weight: 700; font-size: .85rem; padding: .3rem .7rem; border-radius: 999px; white-space: nowrap; }
.board-list { list-style: none; margin: 0; padding: 0; }
.board-list li { display: grid; grid-template-columns: 2.4rem 1fr auto; gap: .9rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.board-icon { width: 2.4rem; height: 2.4rem; border-radius: 10px; display: grid; place-items: center; background: var(--chalk); color: var(--slate); font-size: 1.1rem; }
.board-step { font-weight: 700; }
.board-desc { color: var(--slate); font-size: .92rem; }
.board-state { font-size: .85rem; font-weight: 700; color: var(--slate); padding-top: .15rem; }
.is-done .board-icon { background: var(--mint-soft); color: var(--mint); }
.is-done .board-state { color: var(--mint); }
.is-active .board-icon { background: var(--signal-soft); color: var(--signal); }
.is-active .board-state { color: var(--signal); }
.board-bar { height: 8px; border-radius: 999px; background: var(--signal-soft); margin-top: .65rem; overflow: hidden; }
.board-bar span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--signal); animation: fill 1.8s .5s cubic-bezier(.22,.8,.3,1) both; }
@keyframes fill { from { width: 0; } }
.board-foot { padding-top: 1rem; color: var(--slate); font-size: .92rem; }

/* ---- Promise strip ---------------------------------------------------------- */
.promises { border-bottom: 1px solid var(--line); background: #fff; }
.promise { display: flex; gap: .85rem; align-items: flex-start; padding: 1.5rem 1rem; }
.promise i { font-size: 1.5rem; color: var(--signal); line-height: 1; margin-top: .15rem; }
.promise strong { display: block; line-height: 1.25; }
.promise span { color: var(--slate); font-size: .93rem; }
@media (min-width: 992px) { .promise + .promise { border-left: 1px solid var(--line); } .promise:first-child { padding-left: 0; } }

/* ---- Generic sections -------------------------------------------------------- */
.section { padding: 5.5rem 0; }
.section-tint { background: var(--chalk); }
.section-ink { background: var(--ink); color: #fff; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; margin-bottom: 1rem; }
.section-lead { color: var(--slate); font-size: 1.1rem; max-width: 40rem; }
.section-ink .section-lead { color: #C9D3E8; }
.list-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 .9rem; }
.prose { max-width: 62ch; color: #2A3550; }

/* Page header used on inner pages */
.page-head { padding: 4.5rem 0 3.75rem; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; max-width: 22ch; margin-bottom: 1rem; }
.page-head p { color: #C9D3E8; font-size: 1.15rem; max-width: 42rem; }
.chip-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.chip-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .45rem .95rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; }
.chip-nav a:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ---- Services ------------------------------------------------------------------ */
.svc-list { display: grid; gap: 0 3rem; }
@media (min-width: 768px) { .svc-list { grid-template-columns: 1fr 1fr; } }
.svc { display: flex; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.svc h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 .35rem; }
.svc p { margin: 0; color: var(--slate); font-size: .98rem; }
.svc:hover h3 { color: var(--signal); }
.svc-icon { flex: none; width: 2.9rem; height: 2.9rem; border-radius: 12px; display: grid; place-items: center; background: var(--signal-soft); color: var(--signal); font-size: 1.3rem; }
.svc-icon-lg { width: 3.6rem; height: 3.6rem; font-size: 1.6rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; }
.check-list i { color: var(--amber); font-size: 1.15rem; line-height: 1.5; }
.check-list-dark i { color: var(--mint); }

/* ---- Process steps -------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 2rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; } }
.steps li { position: relative; }
.step-num { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 1rem; position: relative; z-index: 1; }
@media (min-width: 768px) { .steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.3rem; left: 3rem; right: -1rem; border-top: 2px dashed #B8C5DE; } }
.steps h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .4rem; }
.steps p { color: var(--slate); margin: 0; }

/* ---- Tech stack -------------------------------------------------------------------- */
.stack { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .65rem; }
.stack li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.05rem; font-weight: 600; }
.section-tint .stack li { background: #fff; }
.stack-sm li { font-size: .92rem; padding: .35rem .85rem; background: var(--chalk); }
.section-tint .stack-sm li { background: #fff; }

/* ---- Pricing --------------------------------------------------------------------------- */
.currency-toggle { display: inline-flex; padding: .25rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 1.75rem; }
.section-tint .currency-toggle { background: #fff; }
.currency-toggle button { border: 0; background: transparent; font-weight: 700; padding: .4rem 1.1rem; border-radius: 999px; color: var(--slate); }
.currency-toggle button.active { background: var(--ink); color: #fff; }

.plan { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2rem; }
.plan-name { font-size: 1.5rem; font-weight: 700; margin-bottom: .35rem; }
.plan-who { color: var(--slate); min-height: 3.1rem; }
.plan-price { margin: .5rem 0 0; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; }
.plan-unit { color: var(--slate); font-size: .92rem; margin: .2rem 0 1.4rem; }
.plan-features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .7rem; }
.plan-features li { display: flex; gap: .6rem; align-items: flex-start; }
.plan-features i { color: var(--mint); font-size: 1.2rem; line-height: 1.4; flex: none; }
.plan-foot { margin-top: auto; }
.plan-time { color: var(--slate); font-size: .93rem; margin-bottom: 1rem; }
.plan-popular { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 24px 50px -24px rgba(15,27,51,.6); }
.plan-popular .plan-who, .plan-popular .plan-unit, .plan-popular .plan-time { color: #B9C6E2; }
.plan-popular .plan-features i { color: var(--amber); }
.plan-flag { position: absolute; top: -.8rem; left: 2rem; background: var(--amber); color: var(--ink); font-weight: 700; font-size: .85rem; padding: .25rem .8rem; border-radius: 999px; }
.price-note { color: var(--slate); font-size: .92rem; margin: 1.5rem 0 0; }

.addon-table, .lead-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.addon-table th, .addon-table td, .lead-table th, .lead-table td { padding: .95rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.addon-table thead th, .lead-table thead th { background: var(--chalk); font-size: .92rem; color: var(--slate); }
.addon-table tbody th { font-weight: 700; white-space: nowrap; }
.addon-table td { color: var(--slate); }
.addon-table td.text-end { text-align: right; }
.price-sm { font-weight: 700; color: var(--ink); white-space: nowrap; }
.addon-table tbody tr:last-child > * { border-bottom: 0; }

/* ---- Testimonials / FAQ ------------------------------------------------------------------ */
.quote { margin: 0; padding-left: 1.4rem; border-left: 4px solid var(--signal); }
.quote blockquote { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.35; letter-spacing: -0.01em; margin: 0 0 1rem; }
.quote figcaption { color: var(--slate); font-size: .95rem; }

.faq { --bs-accordion-bg: transparent; --bs-accordion-border-width: 0; --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--ink); }
.faq .accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.faq .accordion-item:first-child { border-top: 1px solid var(--line); }
.faq .accordion-button { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; padding: 1.25rem 0; background: transparent; box-shadow: none; color: var(--ink); }
.faq .accordion-button:not(.collapsed) { color: var(--signal); }
.faq .accordion-button:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.faq .accordion-body { padding: 0 0 1.4rem; color: var(--slate); max-width: 60ch; }

/* ---- Forms ------------------------------------------------------------------------------ */
.form-panel { background: #fff; color: var(--ink); border-radius: 20px; padding: 2rem; }
.form-panel-light { border: 1px solid var(--line); box-shadow: 0 20px 40px -28px rgba(15,27,51,.35); }
.form-label { font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.form-control, .form-select { border-radius: 10px; border: 1px solid #C5CFE2; padding: .7rem .9rem; font-size: 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--signal); box-shadow: 0 0 0 4px rgba(45,91,255,.18); }
textarea.form-control { resize: vertical; }
.field-error { display: block; color: var(--danger); font-size: .9rem; margin-top: .3rem; min-height: 0; }
.form-alert.validation-summary-errors { background: #FDECEC; color: var(--danger); border-radius: 10px; padding: .8rem 1rem; margin-bottom: 1rem; }
.form-alert.validation-summary-errors ul { margin: 0; padding-left: 1.1rem; }
.validation-summary-valid { display: none; }
.input-validation-error { border-color: var(--danger) !important; }
.form-submit { margin-top: 1.5rem; }
.form-consent { color: var(--slate); font-size: .9rem; margin: .9rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- CTA band --------------------------------------------------------------------------- */
.cta-band { background: var(--ink); color: #fff; padding: 4rem 0; }
.cta-band-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: .6rem; }
.cta-band p { color: #C9D3E8; max-width: 36rem; margin: 0; }

/* ---- About / contact --------------------------------------------------------------------- */
.aside-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.75rem; }
.section-tint .aside-panel { background: #fff; }
.aside-panel h3, .aside-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.1rem; }
.aside-panel .check-list { margin-bottom: 0; }

.values { margin: 0; }
.values > div { display: grid; gap: .4rem 2rem; padding: 1.4rem 0; border-top: 1px solid #C9D4E8; }
@media (min-width: 768px) { .values > div { grid-template-columns: 14rem 1fr; } }
.values dt { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.values dd { margin: 0; color: var(--slate); max-width: 52ch; }

.person { height: 100%; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--signal-soft); color: var(--signal); font-weight: 700; font-size: 1.2rem; margin-bottom: 1rem; }
.person h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .2rem; }
.person-role { color: var(--signal); font-weight: 600; margin-bottom: .5rem; }
.person p:last-child { color: var(--slate); margin: 0; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list i { flex: none; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 10px; background: var(--signal-soft); color: var(--signal); font-size: 1.1rem; }
.contact-list span { display: block; color: var(--slate); font-size: .88rem; }
.contact-list a { font-weight: 600; text-decoration: none; word-break: break-word; }

.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: next; display: grid; gap: 1rem; }
.next-steps li { counter-increment: next; position: relative; padding-left: 2.6rem; color: var(--slate); }
.next-steps li::before { content: counter(next); position: absolute; left: 0; top: 0; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.next-steps strong { display: block; color: var(--ink); }

.thanks { background: var(--chalk); }
.thanks-card { max-width: 40rem; margin: 2rem auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 3rem 2rem; text-align: center; }
.thanks-card h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 700; margin-bottom: 1rem; }
.thanks-card p { color: var(--slate); }
.thanks-icon { display: inline-grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--mint-soft); color: var(--mint); font-size: 2rem; margin-bottom: 1.25rem; }

/* ---- Admin leads --------------------------------------------------------------------------- */
.lead-table small { color: var(--slate); }
.lead-table .lead-msg { max-width: 34rem; white-space: pre-wrap; word-break: break-word; }
.lead-table tr.is-contacted td { opacity: .6; }

/* ---- Footer ------------------------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: #B9C6E2; padding: 4.5rem 0 2rem; border-top: 1px solid rgba(255,255,255,.1); }
.footer-blurb { max-width: 26rem; margin: 1.1rem 0; }
.footer-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 1rem; font-family: var(--font-body); letter-spacing: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-links i { color: var(--signal-light); margin-right: .4rem; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 1.15rem; }
.footer-social a:hover { background: rgba(255,255,255,.12); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .92rem; }

.wa-float { position: fixed; right: 1.1rem; bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px)); z-index: 1040; width: 3.5rem; height: 3.5rem; display: grid; place-items: center; border-radius: 50%; background: #25D366; color: #fff; font-size: 1.7rem; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.wa-float:hover { color: #fff; filter: brightness(.94); }

/* ---- Small screens ----------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
  .container { --bs-gutter-x: 2rem; }
  .section { padding: 4rem 0; }
  .hero { padding: 3.5rem 0 4rem; }
  .form-panel { padding: 1.4rem; }
  .plan { padding: 1.6rem; }
  .board-list li { grid-template-columns: 2.4rem 1fr; }
  .board-state { grid-column: 2; padding-top: 0; }
}
