/* =========================================================================
   SHE Systems Consultancy — Brand stylesheet
   Palette: Corporate Blue #1F73BB (primary) · Corporate Green #36AD47
            (accent) · White #FFFFFF. No gradients used anywhere.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --blue: #1f73bb;
  --blue-dark: #18598f;
  --blue-soft: #eaf3fb;
  --green: #36ad47;
  --green-dark: #2a8a37;
  --green-soft: #eaf6ec;

  --white: #ffffff;
  --ink: #14283b;
  --slate: #56697c;
  --mist: #f4f7fb;
  --line: #e3e9f0;

  --shadow-sm: 0 1px 2px rgba(20, 40, 59, 0.06);
  --shadow: 0 6px 18px rgba(20, 40, 59, 0.08);
  --shadow-lg: 0 18px 40px rgba(20, 40, 59, 0.12);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);

  --font-head: "Sora", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Inter", "Segoe UI", Tahoma, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 0.5em; color: var(--ink); font-weight: 700; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section--mist { background: var(--mist); }
.section--blue { background: var(--blue); color: #fff; }
.section--blue h1, .section--blue h2, .section--blue h3 { color: #fff; }
.section--blue a { color: #fff; }
.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
/* On phones, keep 2-col for card/sector/value grids to reduce scroll debt */
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}
/* Very narrow phones fall back to 1-col */
@media (max-width: 380px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.eyebrow--blue { color: var(--blue); }
.lead { font-size: 1.18rem; color: var(--slate); max-width: 60ch; }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
h2.section-title { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
.text-green { color: var(--green); }
.text-blue { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  min-height: 48px;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn-lg { padding: 1rem 2rem; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(8px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.brand img { height: 68px; width: auto; max-width: 72vw; object-fit: contain; }
.brand:hover { text-decoration: none; }
@media (max-width: 480px) { .brand img { height: 54px; } }
@media (max-width: 360px) { .brand img { height: 48px; } }
/* Primary nav container — holds links + CTA inline on desktop */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--blue); background: var(--blue-soft); text-decoration: none; }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after {
  content: "";
  display: block;
  height: 3px;
  width: 60%;
  margin: 4px auto 0;
  background: var(--green);
  border-radius: 3px;
}
.nav-quiz { margin-left: 0.4rem; white-space: nowrap; }
.nav-cta { display: flex; align-items: center; gap: 0.6rem; }

/* Hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  position: relative;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  z-index: 220;
}
.nav-toggle .bar {
  display: block;
  position: absolute;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--ink);
  border-radius: 3px;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.nav-toggle .bar:nth-child(1) { top: 14px; }
.nav-toggle .bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle .bar:nth-child(3) { bottom: 14px; top: auto; }
/* Animate to X when open */
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { top: 50%; bottom: auto; transform: translateY(-50%) rotate(-45deg); }

/* Backdrop — hidden on desktop */
.nav-backdrop { display: none; }

/* ---------- Mobile menu (≤ 880px) — off-canvas drawer ---------- */
@media (max-width: 880px) {
  .nav-cta { gap: 0; }

  /* Hamburger visible */
  .nav-toggle { display: block; }

  /* Drawer slides in from the right — sized to fit its content */
  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(330px, 86vw);
    max-height: 100vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: #fff;
    box-shadow: var(--shadow-lg);
    padding: 92px var(--gutter) 1.5rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.32s;
    z-index: 210;
  }
  .primary-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 1rem 0.25rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.05rem;
  }
  .nav-links a:hover { background: var(--blue-soft); }
  .nav-links a.active { background: var(--blue-soft); }
  .nav-links a.active::after { display: none; }

  .nav-quiz {
    margin: 1.5rem 0 0;
    width: 100%;
  }

  /* Dimmed backdrop */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(20, 40, 59, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.32s ease, visibility 0.32s ease;
    z-index: 200;
  }
  .nav-backdrop.show {
    opacity: 1;
    visibility: visible;
  }
}

/* Lock body scroll while the drawer is open */
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--blue);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}
/* note: the dotted texture above is a subtle pattern, not a colour gradient */
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 5.5rem);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  color: #fff;
  margin-bottom: 1rem;
}
.hero h1 .text-green { color: var(--green); }
.hero p { font-size: 1.18rem; color: rgba(255,255,255,0.92); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.5rem; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.hero-stat .num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--green); }
.hero-stat .label { font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.hero-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: var(--blue); font-size: 1.25rem; }
.hero-card .quiz-q { font-weight: 600; margin-bottom: 1rem; }
.hero-card .muted { color: var(--slate); font-size: 0.95rem; }
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfdcec; }
.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 1rem;
}
.card-icon.green { background: var(--green-soft); color: var(--green); }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.22rem; }
.card p { color: var(--slate); margin-bottom: 0.5rem; }
.card .more { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--green); }

/* numbered step card */
.step {
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
}
.step h4 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--slate); font-size: 0.97rem; }

/* ---------- Feature / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split--block { margin-bottom: 3rem; }
@media (max-width: 620px) { .split--block { margin-bottom: 2rem; } }
.split-media {
  background: var(--blue-soft);
  border: 1px solid #d7e6f5;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-media.green { background: var(--green-soft); border-color: #cde9d1; }
.check-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.7rem;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--green);
}
.check-list.blue li::before { background: var(--blue); box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--blue); }

/* ---------- Values ---------- */
.value {
  border-left: 4px solid var(--green);
  background: #fff;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem 1.5rem;
}
.value h4 { color: var(--blue); margin-bottom: 0.35rem; }
.value p { margin: 0; color: var(--slate); font-size: 0.97rem; }

/* ---------- Sector pills ---------- */
.sector {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.sector:hover { border-color: var(--green); transform: translateY(-3px); }
.sector .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.sector .tag svg { width: 22px; height: 22px; color: var(--green); }
.sector p { color: var(--slate); font-size: 0.95rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.25rem);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.5rem;
  align-items: center;
}
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: rgba(255,255,255,0.95); margin: 0.5rem 0 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-end; }
@media (max-width: 760px) {
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-band .actions { justify-content: center; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--blue);
  color: #fff;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.92); font-size: 1.12rem; max-width: 60ch; }
.breadcrumb { font-size: 0.9rem; color: rgba(255,255,255,0.8); margin-bottom: 0.75rem; }
.breadcrumb a { color: #fff; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.field label .req { color: var(--green); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: 0.85rem; color: var(--slate); margin-top: 0.5rem; }
.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: var(--green-soft); color: var(--green-dark); border: 1px solid #bfe3c5; }
.form-status.err { background: #fdecea; color: #b3261e; border: 1px solid #f5c6c2; }

/* ---------- Quiz ---------- */
.quiz-intro {
  background: var(--blue-soft);
  border: 1px solid #d7e6f5;
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}
.quiz-intro h3 { color: var(--blue); margin-bottom: 0.35rem; }
.quiz-q {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.quiz-q .q-text { font-weight: 600; margin-bottom: 1rem; }
.quiz-q .q-text .q-num { color: var(--green); font-family: var(--font-head); margin-right: 0.5rem; }
.yesno { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.yesno label {
  flex: 1 1 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  transition: all 0.15s ease;
  min-height: 48px;
}
.yesno input { position: absolute; opacity: 0; width: 0; height: 0; }
.yesno label:hover { border-color: var(--blue); }
.yesno input:checked + span.yes { color: #fff; }
.yesno input:checked + span.no { color: #fff; }
.yesno label.yes-yes input:checked ~ .pill,
.yesno label:has(input[value="yes"]:checked) { background: var(--green); border-color: var(--green); color: #fff; }
.yesno label:has(input[value="no"]:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.yesno span.pill { font-weight: 700; }

.quiz-result {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}
.quiz-result.show { display: block; }
.score-ring {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
  background: var(--blue-soft);
  border: 6px solid var(--blue);
  color: var(--blue);
  font-family: var(--font-head);
}
.score-ring .big { font-size: 2.1rem; font-weight: 700; line-height: 1; }
.score-ring .small { font-size: 0.85rem; color: var(--slate); }
.tier-msg { text-align: center; margin-bottom: 1.5rem; }
.tier-msg h3 { font-size: 1.4rem; }
.lead-form-wrap { border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 0.5rem; }
.lead-form-wrap h4 { color: var(--blue); }

/* ---------- Contact info ---------- */
.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.info-item:last-child { border-bottom: 0; }
.info-item .ic {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid; place-items: center;
}
.info-item .ic svg { width: 22px; height: 22px; }
.info-item .lbl { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); font-weight: 600; }
.info-item .val { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c4d0db;
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #c4d0db; }
.site-footer a:hover { color: var(--green); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.footer-brand img { height: 56px; width: auto; max-width: 100%; margin-bottom: 1rem; background: #fff; border-radius: 8px; padding: 6px 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2rem;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a6b5;
}

/* ---------- Floating contact buttons ---------- */
.float-contact {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  z-index: 200;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.15s ease;
  border: 0;
  cursor: pointer;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 28px; height: 28px; }
.float-call { background: var(--blue); }
.float-wa { background: var(--green); }
.float-btn .tip {
  position: absolute;
  right: 68px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.float-btn:hover .tip { opacity: 1; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.center { text-align: center; }
.muted { color: var(--slate); }
.hide { display: none !important; }
.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
}
.badge.blue { background: var(--blue-soft); color: var(--blue-dark); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 300;
}
.skip-link:focus { left: 0; }

/* =========================================================================
   Mobile optimisations (≤ 620px)
   Goal: reduce scroll debt, keep content readable, preserve tap targets.
   ========================================================================= */
@media (max-width: 620px) {
  /* Slightly smaller base type for denser mobile screens */
  body { font-size: 1rem; }
  .lead { font-size: 1.05rem; }
  h2.section-title { font-size: clamp(1.4rem, 6vw, 1.7rem); }

  /* Tighter section spacing */
  .section { padding-block: clamp(2.25rem, 6vw, 3rem); }
  .section--tight { padding-block: clamp(1.5rem, 4vw, 2rem); }

  /* Cards — compact padding for 2-col phone layout */
  .card { padding: 1rem; }
  .card-icon { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 0.7rem; }
  .card-icon svg { width: 22px; height: 22px; }
  .card h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
  .card p { font-size: 0.88rem; line-height: 1.5; margin-bottom: 0.4rem; }
  .card .more { font-size: 0.85rem; }

  /* Sectors — compact */
  .sector { padding: 0.9rem 1rem; }
  .sector .tag { font-size: 0.92rem; margin-bottom: 0.35rem; }
  .sector p { font-size: 0.84rem; line-height: 1.45; }

  /* Values — compact */
  .value { padding: 0.9rem 1rem; }
  .value h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
  .value p { font-size: 0.85rem; line-height: 1.45; }

  /* Step cards — more compact */
  .step { padding: 0.8rem 0.9rem; gap: 0.7rem; }
  .step-num { width: 30px; height: 30px; font-size: 0.85rem; }
  .step h4 { font-size: 0.92rem; }
  .step p { font-size: 0.84rem; line-height: 1.4; }

  /* Hero — stack buttons full-width, tighten stats */
  .hero-actions { flex-direction: column; gap: 0.6rem; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 1rem 1.5rem; margin-top: 1.75rem; padding-top: 1.25rem; }
  .hero-stat .num { font-size: 1.45rem; }
  .hero-stat .label { font-size: 0.82rem; }
  .hero p { font-size: 1.05rem; }

  /* Split media — drop min-height, tighten padding */
  .split-media { min-height: auto; padding: 1.25rem; }
  .split { gap: 1.5rem; }

  /* CTA band — stack buttons full-width */
  .cta-band { padding: 1.5rem; text-align: center; }
  .cta-band .actions { flex-direction: column; gap: 0.6rem; }
  .cta-band .actions .btn { width: 100%; }

  /* Forms — tighter padding */
  .form-card { padding: 1.25rem; }
  .field { margin-bottom: 0.9rem; }
  .field input, .field select, .field textarea { padding: 0.7rem 0.8rem; }

  /* Quiz — tighter cards */
  .quiz-q { padding: 1rem 1.1rem; margin-bottom: 0.75rem; }
  .quiz-q .q-text { font-size: 0.95rem; margin-bottom: 0.75rem; }
  .quiz-intro { padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
  .quiz-intro p { font-size: 0.92rem; }
  .yesno label { flex: 1 1 100px; padding: 0.6rem 0.8rem; }

  /* Contact info — slightly tighter */
  .info-item { padding: 0.75rem 0; gap: 0.75rem; }
  .info-item .ic { width: 38px; height: 38px; }
  .info-item .ic svg { width: 19px; height: 19px; }
  .info-item .val { font-size: 0.98rem; }

  /* Footer — tighter */
  .footer-grid { gap: 1.25rem; }
  .footer-brand img { height: 44px; padding: 4px 10px; }
  .footer-bottom { font-size: 0.8rem; }

  /* Lead text max-width — let it breathe on narrow screens */
  .lead { max-width: 100%; }
  .section-head { max-width: 100%; }
}

/* Very narrow phones (≤ 380px) — final polish */
@media (max-width: 380px) {
  .float-btn { width: 50px; height: 50px; }
  .float-btn svg { width: 24px; height: 24px; }
  .hero h1 { font-size: 1.7rem; }
  .page-hero h1 { font-size: 1.6rem; }
  .card h3 { font-size: 0.95rem; }
  .sector .tag { font-size: 0.85rem; }
}
