/* Madubula Construction And Projects
   Visual language taken from the company's business profile:
   white pages, navy wedges and diagonal bands, orange stripes, yellow triangle
   clusters, grey and yellow outline circles, rounded yellow boxes with an
   orange-ringed dot and underlined heading, yellow-framed photos. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1b1f3f;
  --navy-2: #252a52;
  --yellow: #ffcc00;
  --yellow-soft: #ffe066;
  --orange: #ff8f00;
  --grey-ring: #7a7a7a;
  --paper: #ffffff;
  --mist: #f3f3f6;
  --ink: #1b1f3f;
  --ink-soft: #464a68;
  --on-navy-soft: #c9cce0;
  --line: #dcdde6;

  --font: "Archivo", system-ui, sans-serif;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 76rem;
  --radius: 20px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--navy) var(--mist); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  caret-color: var(--orange);
  overflow-x: hidden;
}
::selection { background: var(--yellow); color: var(--navy); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.wrap { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--yellow); color: var(--navy); padding: .75rem 1rem; font-weight: 800; border-radius: 8px; }
.skip:focus { top: 1rem; }

/* ---------- Type ---------- */
.title {
  font-weight: 900;
  font-stretch: 112%;
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--navy);
}
.t-xl { font-size: clamp(2.5rem, 6vw, 4.6rem); }
.t-lg { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.t-md { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 46ch; }
.intro { color: var(--ink-soft); max-width: 62ch; }
.strong-intro { font-weight: 700; color: var(--navy); max-width: 60ch; }
.accent { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .8rem 1.5rem;
  border: 0; border-radius: 12px;
  background: var(--yellow); color: var(--navy);
  font: 800 1rem/1.1 var(--font);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 14px -8px rgb(27 31 63 / .45);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s;
}
.btn svg { width: 1.2rem; height: 1.2rem; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -10px rgb(27 31 63 / .5); background: var(--yellow-soft); }
.btn:active { transform: translateY(0); box-shadow: 0 3px 8px -4px rgb(27 31 63 / .5); }
.btn--navy { background: var(--navy); color: var(--paper); }
.btn--navy:hover { background: var(--navy-2); }
.btn--line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--paper); }
.btn--white { background: var(--paper); color: var(--navy); }
.btn--white:hover { background: var(--mist); }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; }

.text-link { font-weight: 800; color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; }
.text-link:hover { text-decoration-color: var(--navy); }

/* ---------- Profile shapes ---------- */
.has-deco { position: relative; overflow: hidden; }
.deco { position: absolute; pointer-events: none; z-index: 0; }
.ring { border-radius: 50%; border: 6px solid var(--grey-ring); }
.ring--y { border-color: var(--yellow); }
.ring--thin { border-width: 5px; }
.tri { background: var(--yellow); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.tri--right { clip-path: polygon(0 0, 100% 50%, 0 100%); }
.tri--left { clip-path: polygon(100% 0, 100% 100%, 0 50%); }
.tri--down { clip-path: polygon(0 0, 100% 0, 50% 100%); }
.tri--orange { background: var(--orange); }
.tri--navy { background: var(--navy); }
.wedge-tl { top: 0; left: 0; background: var(--navy); clip-path: polygon(0 0, 100% 0, 0 100%); }
.wedge-br { right: 0; bottom: 0; background: var(--navy); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.band {
  height: 70px; background: var(--navy);
  transform: rotate(38deg); transform-origin: center;
  box-shadow: 0 -18px 0 var(--orange);
  border-radius: 0 0 0 40px;
}
.bar-y { height: 34px; background: var(--yellow); }

/* Signature: shapes drift in once */
@media (prefers-reduced-motion: no-preference) {
  .js .drift { animation: drift-in 1.1s var(--ease-out) both; }
  .js .drift-2 { animation-delay: .15s; }
  .js .drift-3 { animation-delay: .3s; }
}
@keyframes drift-in {
  from { opacity: 0; translate: 0 24px; }
  to { opacity: 1; translate: 0 0; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 5rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; color: var(--navy); }
.brand img { width: 76px; height: auto; }
.brand span { font-weight: 500; font-size: 1.12rem; line-height: 1.1; letter-spacing: -.005em; }
.brand small { display: block; font-size: 1em; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a:not(.btn) {
  position: relative;
  padding: .6rem .85rem;
  font-weight: 700; font-size: .98rem;
  text-decoration: none; color: var(--navy);
  border-radius: 8px;
}
.nav a:not(.btn):hover { background: var(--mist); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem;
  height: 3px; background: var(--orange); border-radius: 2px;
}
.nav .btn { margin-left: .75rem; min-height: 2.9rem; padding-block: .6rem; }
.nav-toggle { display: none; }
@media (max-width: 54rem) {
  .site-header .wrap { min-height: 4.25rem; }
  .brand img { width: 60px; }
  .brand span { font-size: .98rem; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem;
    min-height: 2.9rem; padding: 0 1rem; border: 0; border-radius: 10px;
    background: var(--navy); color: var(--paper);
    font: 800 .95rem/1 var(--font); cursor: pointer;
  }
  .nav-toggle svg { width: 1.2rem; height: 1.2rem; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 4px solid var(--yellow);
    box-shadow: 0 18px 30px -18px rgb(27 31 63 / .4);
    padding: .5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 1rem .25rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"]::after { left: .25rem; right: auto; width: 2.5rem; bottom: .55rem; }
  .nav .btn { margin: 1rem 0 0; }
}

/* ---------- Hero ---------- */
.hero { background: var(--paper); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(7rem, 13vw, 11rem);
}
.hero .lead { margin-top: 1.4rem; }
.hero .btns { margin-top: 2rem; }
.hero__note { margin-top: .9rem; font-size: .92rem; color: var(--ink-soft); }
.creds {
  list-style: none; margin-top: 1.75rem;
  display: grid; gap: .2rem; justify-items: end; text-align: right;
  font-weight: 800; font-size: .95rem; letter-spacing: .04em; color: var(--navy);
}
.hero__media { position: relative; }
.hero--page .hero__grid { grid-template-columns: minmax(0, 1fr) auto; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem); }
.hero--page .lead { max-width: 56ch; }
@media (max-width: 54rem) {
  .hero__grid, .hero--page .hero__grid { grid-template-columns: 1fr; }
  .creds { justify-items: start; text-align: left; }
}

/* ---------- Photo frames ---------- */
.frame-para {
  margin: 0;
  background: var(--yellow);
  padding: 9px;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}
.frame-para img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }
.frame-circle {
  margin: 0;
  border-radius: 50%;
  border: 9px solid var(--yellow);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 16px 30px -18px rgb(27 31 63 / .5);
}
.frame-circle img { width: 100%; height: 100%; object-fit: cover; }
.photo-note {
  display: block; margin-top: .6rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
}
.frame-para + .photo-note { text-align: center; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--paper); }
.section--navy .title { color: var(--paper); }
.section__head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head.center { justify-items: center; text-align: center; }
.section__head.center .intro, .section__head.center .strong-intro { margin-inline: auto; }

/* ---------- Yellow boxes (the profile's signature) ---------- */
.boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.box {
  position: relative;
  background: var(--yellow);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 1.5rem clamp(1.25rem, 2.6vw, 2rem) 1.75rem;
}
.box__head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.dot {
  flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy);
  border: 6px solid var(--orange);
}
.box h3, .box h2 {
  color: var(--navy);
  flex: 1;
  font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.15;
  padding-bottom: .3rem;
  border-bottom: 2px solid var(--navy);
}
.box p { color: var(--navy); }
.box .text-link { display: inline-block; margin-top: 1.1rem; text-decoration-color: var(--navy); }
.box .text-link:hover { text-decoration-color: var(--orange); }
.list { list-style: none; display: grid; gap: .65rem; }
.list li { position: relative; padding-left: 1.2rem; line-height: 1.5; }
.list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); }
.list b { font-weight: 800; }
@media (max-width: 46rem) { .boxes { grid-template-columns: 1fr; } }

/* Overview: boxes beside a circle photo */
.overview { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.overview .frame-circle { max-width: 360px; justify-self: center; width: 100%; }
@media (max-width: 54rem) { .overview { grid-template-columns: 1fr; } .overview .frame-circle { max-width: 280px; } }

/* ---------- Credentials strip ---------- */
.cred-strip { position: relative; }
.cred-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cred { padding: 1.25rem 1.25rem 1.35rem; border-radius: 16px; background: var(--navy-2); }
.cred dt { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.cred dd { margin: .35rem 0 0; font-weight: 800; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.25; color: var(--paper); }
.cred dd span { display: block; font-weight: 500; font-size: .88rem; color: var(--on-navy-soft); margin-top: .15rem; }
.cred-strip .btns { margin-top: 1.75rem; align-items: center; }
.copy-status { font-size: .92rem; font-weight: 700; color: var(--yellow); min-height: 1.5em; }
@media (max-width: 60rem) { .cred-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .cred-grid { grid-template-columns: 1fr; } }

/* ---------- Approach: yellow pills ---------- */
.approach { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.steps { list-style: none; display: grid; gap: 2rem; }
.pill {
  position: relative;
  display: inline-flex; align-items: center;
  min-width: min(100%, 22rem);
  background: var(--yellow); color: var(--navy);
  border-radius: 14px;
  padding: .7rem 1.5rem .7rem 3.4rem;
  font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.2;
}
.pill .dot { position: absolute; left: -.6rem; top: 50%; translate: 0 -50%; width: 34px; height: 34px; }
.steps p { margin-top: .9rem; color: var(--ink-soft); max-width: 60ch; }
.steps li { padding-left: .6rem; }
@media (max-width: 54rem) { .approach { grid-template-columns: 1fr; } }

/* ---------- Info list (company information) ---------- */
.info { list-style: none; display: grid; gap: .9rem; }
.info li { display: grid; grid-template-columns: 22px minmax(10rem, 15rem) 1fr; gap: .9rem; align-items: baseline; font-weight: 800; color: var(--navy); }
.info .dot { width: 20px; height: 20px; border-width: 4px; translate: 0 3px; }
.info span:last-child { font-weight: 800; }
.info small { display: block; font-weight: 500; font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 40rem) { .info li { grid-template-columns: 22px 1fr; } .info li > span:last-child { grid-column: 2; } }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 54rem) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; display: grid; gap: 1rem; margin-top: 1.5rem; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: .9rem; }
.checks .dot { width: 22px; height: 22px; border-width: 5px; margin-top: .2rem; }
.section--navy .checks li { color: var(--paper); }
.section--navy .intro { color: var(--on-navy-soft); }
.section--navy .strong-intro { color: var(--paper); }

/* ---------- Services page ---------- */
.service-block { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.service-block + .service-block { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.service-block:nth-of-type(even) > .media { order: -1; }
.service-block .box { padding-bottom: 2rem; }
.service-block .list { gap: .85rem; }
.service-block .btns { margin-top: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.chips a {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem 1rem .55rem .6rem; border-radius: 999px;
  background: var(--mist); color: var(--navy); text-decoration: none; font-weight: 700; font-size: .95rem;
  box-shadow: inset 0 0 0 1px var(--line);
}
.chips a:hover { background: var(--yellow); box-shadow: none; }
.chips .dot { width: 18px; height: 18px; border-width: 4px; }
@media (max-width: 54rem) {
  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-of-type(even) > .media { order: 0; }
  .service-block .media { max-width: 30rem; }
}

/* ---------- Vision ---------- */
.vision { font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35; color: var(--navy); max-width: 42ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.touch { list-style: none; display: grid; gap: 1rem; margin-top: 1.75rem; }
.touch a, .touch div { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: center; text-decoration: none; color: var(--navy); }
.touch .icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--orange); color: var(--paper); }
.touch .icon svg { width: 24px; height: 24px; }
.touch b { font-weight: 800; font-size: 1.08rem; overflow-wrap: anywhere; }
.touch small { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-soft); letter-spacing: .04em; }
.touch a:hover b { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; }
.map { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; border: 6px solid var(--yellow); }
.map iframe { display: block; width: 100%; height: 300px; border: 0; }
@media (max-width: 54rem) { .contact-grid { grid-template-columns: 1fr; } }

.form { position: relative; background: var(--paper); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: 0 0 0 1px var(--line), 0 24px 50px -30px rgb(27 31 63 / .45); }
.form > p { color: var(--ink-soft); margin: .5rem 0 1.6rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.15rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 34rem) { .field-row { grid-template-columns: 1fr; } }
.field label, .field legend { font-weight: 800; font-size: .95rem; color: var(--navy); }
.hint { font-size: .86rem; color: var(--ink-soft); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  font: 500 1rem/1.4 var(--font);
  color: var(--ink);
  background: var(--paper);
  border: 2px solid #c6c8d6;
  border-radius: 10px;
  padding: .8rem .9rem;
  min-height: 3.2rem;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgb(255 143 0 / .2); }
.field input::placeholder, .field textarea::placeholder { color: #5f627a; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; background: #fff6f5; }
.error { display: none; font-size: .88rem; font-weight: 700; color: #b3261e; }
.field.has-error .error { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.2rem; }
.choice { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.choice label { position: relative; flex: 1 1 10rem; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.2rem; padding: .6rem 1rem; border-radius: 10px;
  border: 2px solid #c6c8d6; font-weight: 800; color: var(--navy);
}
.choice svg { width: 1.2rem; height: 1.2rem; }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--yellow); }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.form .btn[type="submit"] { width: 100%; margin-top: .5rem; }
.form-status { margin-top: 1rem; font-weight: 700; color: var(--navy); min-height: 1.5em; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta .btns { justify-content: center; margin-top: 2rem; }
.cta .intro { margin: 1rem auto 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy); color: var(--on-navy-soft); }
.site-footer .wrap { padding-block: clamp(3.5rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h2 { font-size: .85rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; display: grid; gap: .5rem; }
.footer-grid a { color: var(--paper); text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-decoration-color: var(--yellow); }
.footer-brand img { width: 96px; margin-bottom: 1rem; }
.footer-brand p { max-width: 36ch; }
.footer-base { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgb(201 204 224 / .2); display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: .85rem; }
@media (max-width: 54rem) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 54rem) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
    background: var(--paper); border-top: 1px solid var(--line);
    padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 24px -16px rgb(27 31 63 / .45);
  }
  .action-bar .btn { min-height: 3.1rem; }
  body { padding-bottom: 4.3rem; }
}

/* Decoration sizing helpers (kept small on phones so shapes never crowd text) */
@media (max-width: 54rem) {
  .deco.hide-sm { display: none; }
}

/* ---------- Areas & FAQ ---------- */
.areas { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.areas li { background: var(--paper); color: var(--navy); font-weight: 700; font-size: .95rem; padding: .45rem .85rem; border-radius: 999px; }
.faq { display: grid; gap: 1rem; max-width: 56rem; }
.faq details { background: var(--paper); border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.faq details[open] { box-shadow: 0 0 0 2px var(--yellow); }
.faq summary {
  display: flex; align-items: center; gap: .9rem;
  padding: 1.1rem 1.25rem; cursor: pointer; list-style: none;
  font-weight: 800; font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 1.5rem; line-height: 1; color: var(--orange); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary .dot { width: 22px; height: 22px; border-width: 5px; }
.faq details p { padding: 0 1.25rem 1.25rem 3.4rem; color: var(--ink-soft); max-width: 70ch; }
@media (max-width: 34rem) { .faq details p { padding-left: 1.25rem; } }
.box-intro { margin-bottom: 1.1rem; font-weight: 500; }

/* ---------- Lead form (Web3Forms) ---------- */
.lead { scroll-margin-top: 6rem; }
.lead-intro { color: var(--ink-soft); margin: .5rem 0 1.5rem; }
.botcheck { display: none !important; }
.progress { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-bottom: .75rem; }
.progress li { display: flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.progress li span {
  flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  border: 2px solid #c6c8d6; font-weight: 800; color: var(--ink-soft); background: var(--paper);
}
.progress li.is-current { color: var(--navy); }
.progress li.is-current span { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.progress li.is-done span { background: var(--navy); border-color: var(--navy); color: var(--yellow); }
.progress-bar { height: 6px; border-radius: 3px; background: var(--mist); margin-bottom: 1.75rem; overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 25%; background: var(--orange); border-radius: 3px; transition: width .5s var(--ease-out); }
@media (max-width: 34rem) {
  .progress li { flex-direction: column; text-align: center; font-size: .72rem; gap: .3rem; }
}
html:not(.js) .progress, html:not(.js) .progress-bar, html:not(.js) [data-next], html:not(.js) [data-back] { display: none; }

.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.lead.is-stepped .step:not(.is-current) { display: none; }
html:not(.js) .step + .step { margin-top: 2.5rem; padding-top: 2rem; border-top: 2px solid var(--line); }
.step__title { padding: 0; font-weight: 900; font-stretch: 112%; font-size: clamp(1.3rem, 2.4vw, 1.6rem); color: var(--navy); margin-bottom: .35rem; }
.step__title:focus { outline: none; }
.step__hint { color: var(--ink-soft); margin-bottom: 1.25rem; }

.svc-group { margin-bottom: 1.25rem; border-radius: 14px; }
.svc-group.is-suggested { box-shadow: 0 0 0 3px var(--yellow); padding: .75rem; background: #fffbe6; }
.svc-group h3 { display: flex; align-items: center; gap: .6rem; font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: .6rem; }
.svc-group h3 .dot { width: 20px; height: 20px; border-width: 4px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
@media (max-width: 34rem) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; display: block; }
.tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.tile__face {
  display: flex; align-items: center; gap: .7rem; min-height: 3.1rem; height: 100%;
  padding: .6rem .9rem; border: 2px solid #c6c8d6; border-radius: 12px;
  font-weight: 700; font-size: .95rem; line-height: 1.3; color: var(--navy); background: var(--paper);
  transition: background-color .15s, border-color .15s;
}
.tile__box { flex: none; width: 1.3rem; height: 1.3rem; border: 2px solid #9a9db3; border-radius: 6px; background: var(--paper); display: grid; place-items: center; }
.tile:hover .tile__face { border-color: var(--navy); }
.tile input:checked + .tile__face { background: var(--yellow); border-color: var(--yellow); }
.tile input:checked + .tile__face .tile__box { background: var(--navy); border-color: var(--navy); }
.tile input:checked + .tile__face .tile__box::after { content: ""; width: .65rem; height: .35rem; border: solid var(--yellow); border-width: 0 0 3px 3px; transform: translateY(-1px) rotate(-45deg); }
.tile input:focus-visible + .tile__face { outline: 3px solid var(--orange); outline-offset: 2px; }

.q, .tender { border: 0; margin: 0 0 1.25rem; padding: 1.1rem 1.1rem .4rem; border-radius: 14px; background: var(--mist); min-width: 0; }
.q__title { display: flex; align-items: center; gap: .6rem; padding: 0; font-weight: 800; font-size: 1.08rem; color: var(--navy); margin-bottom: .8rem; float: left; width: 100%; }
.q__title + * { clear: both; }
.q__title .dot { width: 20px; height: 20px; border-width: 4px; }
.q-none { padding: 1rem 1.1rem; border-radius: 14px; background: var(--mist); color: var(--ink-soft); font-weight: 600; }
.choice--wrap label { flex: 0 1 auto; }
.choice--wrap span { min-height: 2.75rem; padding: .5rem .95rem; font-size: .92rem; background: var(--paper); }
.choice input[type="checkbox"]:checked + span { background: var(--navy); border-color: var(--navy); color: var(--yellow); }
.field.has-error > .choice span, fieldset.has-error .choice span { border-color: #b3261e; }

.consent__label { display: grid; grid-template-columns: 1.4rem 1fr; gap: .75rem; align-items: start; font-weight: 600; font-size: .95rem; color: var(--ink); cursor: pointer; }
.consent__label input { width: 1.3rem; height: 1.3rem; margin: .15rem 0 0; accent-color: var(--navy); }

.step-nav { display: flex; gap: .75rem; margin-top: 1.5rem; }
.step-nav [data-back] { flex: 0 0 auto; }
.step-nav [data-next], .step-nav [data-submit] { flex: 1; }
.step-nav [hidden] { display: none; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.status-error { color: #b3261e; font-weight: 700; margin-bottom: .75rem; }
.form-status .btns { margin-top: .25rem; }

.lead-done h2 { margin-bottom: .75rem; }
.lead-done p { color: var(--ink-soft); margin-bottom: .75rem; max-width: 52ch; }
.lead-done .btns { margin-top: 1.25rem; }
.lead-done:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
#svc-err:not(:empty) { display: block; margin: -.5rem 0 1rem; padding: .6rem .8rem; border-radius: 10px; background: #fff6f5; }
.footer-base .credit { color: var(--paper); font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.footer-base .credit:hover { color: var(--yellow); }
