/* NitroSoft: nitrosoft.co.uk
   Mobile-first. Colours and sizes live in the custom properties below.
   Fonts: IBM Plex Sans and IBM Plex Mono (SIL Open Font Licence), self-hosted. */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/plex-sans.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* surfaces */
  --bg: #0a0f1c;
  --bg-2: #0e1526;
  --card: #121b2f;
  --card-2: #16213a;
  --field: #0b1222;
  --field-line: #566c96; /* input borders: 3:1 against --field and --card */
  --line: #22304b;
  --line-2: #33456a;
  --grid: rgba(148, 170, 210, 0.07);

  /* text */
  --ink: #e8eef8;
  --ink-2: #bcc7da;
  --muted: #95a3bb;

  /* accents */
  --cyan: #22d3ee;
  --cyan-2: #67e8f9;
  --cyan-ink: #04161d;
  --cyan-soft: rgba(34, 211, 238, 0.1);
  --amber: #fbbf24;
  --amber-ink: #1c1303;
  --error: #fca5a5;
  --error-line: #f87171;

  /* type */
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* layout */
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 4.25rem;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--cyan); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cyan-2); }
ul, ol { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--cyan); color: var(--cyan-ink); }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { flex: none; width: 1.25em; height: 1.25em; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--amber); color: var(--amber-ink); font-weight: 600;
  padding: 0.6rem 1rem; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 52rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.65rem 1.2rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font: 600 1rem/1.2 var(--font); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform 0.15s ease; }
.btn:hover .icon { transform: translateX(2px); }
.btn--primary { background: var(--cyan); color: var(--cyan-ink); }
.btn--primary:hover { background: var(--cyan-2); color: var(--cyan-ink); }
.btn--ghost { background: rgba(255, 255, 255, 0.02); border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--ink); background: var(--cyan-soft); }
.btn--sm { min-height: 2.5rem; padding: 0.5rem 0.95rem; font-size: 0.9375rem; }
.btn--lg { min-height: 3.25rem; padding: 0.85rem 1.5rem; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 15, 28, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); position: relative; flex-wrap: wrap; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 2rem; height: 2rem; }
.brand__name { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand__soft { color: var(--cyan); }

.nav__list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.nav__link { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.9875rem; }
.nav__link:hover, .nav__link.is-current { color: var(--ink); }
.nav__cta { display: none; }
.header__cta { display: none; }
.burger { display: none; }

/* Without JavaScript the links simply sit on their own row under the brand. */
.nav { order: 3; width: 100%; padding-bottom: 0.75rem; }

.js .nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0; width: auto;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--gutter) 1.25rem;
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.7);
}
.js .nav-open .nav { display: block; }
.js .nav__list { flex-direction: column; gap: 0; }
.js .nav__link { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
.js .nav__cta { display: flex; margin-top: 1.25rem; }
.js .burger {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  background: transparent; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  color: var(--ink); cursor: pointer; padding: 0;
}
.burger__bars, .burger__bars::before, .burger__bars::after {
  display: block; width: 1.125rem; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.burger__bars { position: relative; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -6px; }
.burger__bars::after { top: 6px; }
.nav-open .burger__bars { background: transparent; }
.nav-open .burger__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 25rem) {
  .js .header__cta { display: inline-flex; }
}
@media (min-width: 60rem) {
  .header__inner { flex-wrap: nowrap; gap: 2rem; }
  .nav, .js .nav { display: block; position: static; order: 0; width: auto; background: none; border: 0; padding: 0; box-shadow: none; }
  .nav__list, .js .nav__list { flex-direction: row; gap: 1.75rem; }
  .nav__link, .js .nav__link { display: inline; padding: 0; border: 0; font-size: 0.9875rem; }
  .nav__cta, .js .nav__cta { display: none; }
  .header__cta, .js .header__cta { display: inline-flex; }
  .js .burger { display: none; }
}

/* ---------- section scaffolding ---------- */
section[id] { scroll-margin-top: calc(var(--header-h) + 0.5rem); }
.section { padding-block: clamp(4rem, 9vw, 6.5rem); }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.eyebrow {
  font: 500 0.8125rem/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 0.9rem;
}
.section-title { font-size: clamp(1.85rem, 4.2vw, 2.6rem); margin-bottom: 1rem; }
.section-lead { font-size: 1.125rem; color: var(--ink-2); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(40rem 24rem at -10% 110%, rgba(251, 191, 36, 0.05), transparent 60%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 3rem 3rem;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 60% 30%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 60% 30%, #000 25%, transparent 75%);
}
.hero > .wrap { position: relative; }
.hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.hero__title { font-size: clamp(2.25rem, 6vw, 3.75rem); line-height: 1.07; letter-spacing: -0.025em; font-weight: 700; margin-bottom: 1.5rem; }
.hero__accent { color: var(--cyan); }
.hero__lead { font-size: clamp(1.0625rem, 2vw, 1.2rem); max-width: 38rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.sheet {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: 0 30px 80px -40px rgba(34, 211, 238, 0.35), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}
.sheet__head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.sheet__title { margin: 0; color: var(--ink); font-weight: 600; font-size: 0.9375rem; }
.sheet__tag { margin: 0; font: 500 0.75rem/1 var(--mono); color: var(--muted); letter-spacing: 0.04em; }
.sheet__list { margin: 0; padding: 0.5rem 1.25rem 0.75rem; }
.sheet__row { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px dashed var(--line); }
.sheet__row:last-child { border-bottom: 0; }
.sheet__row dt { font: 500 0.8125rem/1.6 var(--mono); color: var(--cyan); text-transform: uppercase; letter-spacing: 0.05em; }
.sheet__row dd { margin: 0; color: var(--ink); font-size: 0.9875rem; line-height: 1.5; }

.trust {
  list-style: none; display: grid; grid-template-columns: 1fr; gap: 0.75rem 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: 1.25rem 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(14, 21, 38, 0.75);
}
.trust__item { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); font-weight: 500; font-size: 0.9875rem; }
.trust__item .icon { color: var(--cyan); }
@media (min-width: 40rem) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) {
  .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .trust { grid-template-columns: repeat(4, auto); justify-content: space-between; }
}

/* ---------- tick lists ---------- */
.ticks { list-style: none; display: grid; gap: 0.55rem; margin: 0 0 1.5rem; }
.ticks li { position: relative; padding-left: 1.65rem; font-size: 0.9875rem; line-height: 1.5; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 1.05rem; height: 1.05rem;
  background: var(--cyan);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- service cards ---------- */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 46rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: border-color 0.2s ease;
}
.card:hover { border-color: var(--line-2); }
.card__icon {
  display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.25rem;
  border-radius: var(--radius-sm); background: var(--cyan-soft); color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.25);
}
.card__icon .icon { width: 1.5rem; height: 1.5rem; }
.card__title { font-size: 1.25rem; margin-bottom: 0.75rem; }
.card > p { margin-bottom: 1.25rem; }
.card__link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; font-weight: 600; text-decoration: none; }
.card__link .icon { width: 1.1em; height: 1.1em; transition: transform 0.15s ease; }
.card__link:hover .icon { transform: translateX(3px); }

/* ---------- plans ---------- */
.plans { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 62rem) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.plan--featured {
  border-color: var(--cyan);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.07), var(--card) 45%);
  box-shadow: 0 0 0 1px var(--cyan), 0 30px 70px -40px rgba(34, 211, 238, 0.55);
}
.plan__badge {
  position: absolute; top: 0; right: 1.5rem; transform: translateY(-50%); margin: 0;
  background: var(--amber); color: var(--amber-ink);
  font: 500 0.75rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.45rem 0.7rem; border-radius: 999px;
}
.plan__name { font-size: 1.25rem; margin-bottom: 1rem; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.plan__from, .plan__unit { font: 500 0.8125rem/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.plan__amount { font-size: 2.75rem; line-height: 1; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.plan__price--text .plan__amount { font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.02em; padding-block: 0.4rem 0.2rem; }
.plan__lead { color: var(--ink-2); margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.plan .ticks { margin-bottom: 2rem; }
.plan__cta { margin-top: auto; }
.plans__note { margin-top: 2rem; text-align: center; color: var(--ink-2); max-width: 44rem; margin-inline: auto; }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; gap: 2rem; counter-reset: none; }
@media (min-width: 56rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.step { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--line-2); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 3rem; height: 2px; background: var(--cyan); }
.step__num { font: 500 0.875rem/1 var(--mono); color: var(--cyan); letter-spacing: 0.08em; margin-bottom: 1rem; }
.step__title { font-size: 1.25rem; margin-bottom: 0.75rem; }

/* ---------- quote: estimator + form ---------- */
/* Phones: needs, then the starting guide, then your details. Wide screens: the guide sits in a sticky column. */
.quote { display: grid; gap: 1.25rem; }
@media (min-width: 62rem) {
  .quote {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    grid-template-areas: "needs est" "details est";
    gap: 1.25rem 2rem; align-items: start;
  }
  .needs { grid-area: needs; }
  .details { grid-area: details; }
  .estimate { grid-area: est; position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.panel { border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2rem); }
fieldset.panel > legend { float: left; width: 100%; }
fieldset.panel > legend + * { clear: both; }
.form-legend {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.75rem;
  color: var(--ink); font-weight: 600; font-size: 1.125rem; padding: 0; margin-bottom: 1.25rem;
}
.form-legend__num {
  display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--cyan-soft); border: 1px solid rgba(34, 211, 238, 0.4); color: var(--cyan);
  font: 500 0.875rem/1 var(--mono); align-self: center;
}
.form-legend__hint { font-weight: 400; font-size: 0.875rem; color: var(--muted); }

.needs__grid { display: grid; gap: 0.75rem; }
@media (min-width: 36rem) { .needs__grid { grid-template-columns: repeat(2, 1fr); } }
.need { display: block; position: relative; cursor: pointer; }
.need__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.need__box {
  display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.75rem; align-items: start;
  height: 100%; padding: 1rem 1.1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: var(--field);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.need:hover .need__box { border-color: var(--muted); }
.need__tick {
  grid-row: span 2; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; margin-top: 0.1rem;
  border-radius: 6px; border: 1.5px solid var(--muted); color: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.need__tick .icon { width: 0.95rem; height: 0.95rem; }
.need__name { color: var(--ink); font-weight: 600; line-height: 1.35; }
.need__meta { font: 400 0.8125rem/1.45 var(--mono); color: var(--muted); }
.need__input:checked + .need__box { border-color: var(--cyan); background: rgba(34, 211, 238, 0.08); }
.need__input:checked + .need__box .need__tick { background: var(--cyan); border-color: var(--cyan); color: var(--cyan-ink); }
.need__input:checked + .need__box .need__meta { color: var(--ink-2); }
.need__input:focus-visible + .need__box { outline: 3px solid var(--amber); outline-offset: 2px; }

.fields { display: grid; gap: 1.1rem 1.25rem; }
@media (min-width: 36rem) {
  .fields { grid-template-columns: repeat(2, 1fr); }
  .field--wide { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; min-width: 0; }
.field__label { color: var(--ink); font-weight: 500; font-size: 0.9875rem; margin-bottom: 0.4rem; }
.field__opt { color: var(--muted); font-weight: 400; }
.field__input {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem;
  background: var(--field); color: var(--ink);
  border: 1px solid var(--field-line); border-radius: var(--radius-sm);
  font: 400 1rem/1.5 var(--font);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field__input--area { min-height: 9rem; resize: vertical; }
.field__input:hover { border-color: var(--muted); }
.field__input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.25); }
.field__input:focus-visible { outline: none; }
.field__input[aria-invalid="true"] { border-color: var(--error-line); }
.field__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.25); }
.field__hint { font-size: 0.875rem; color: var(--muted); margin: 0.4rem 0 0; }
.field__error { font-size: 0.875rem; color: var(--error); margin: 0.4rem 0 0; font-weight: 500; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.quote__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.quote__privacy { font-size: 0.875rem; color: var(--muted); margin: 0; flex: 1 1 16rem; }
.form-status { margin: 1rem 0 0; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.form-status.is-error a { color: var(--ink); }

.estimate {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}
.estimate__title { font-size: 1.125rem; margin-bottom: 1rem; }
.estimate__body { min-height: 4rem; }
.estimate__empty { color: var(--muted); }
.estimate__totals { display: grid; gap: 0.75rem; margin: 0 0 1.25rem; }
.estimate__total { padding: 0.85rem 1rem; border-radius: var(--radius-sm); background: var(--field); border: 1px solid var(--line); }
.estimate__total dt { font: 500 0.75rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.3rem; }
.estimate__total dd { margin: 0; color: var(--ink); font-weight: 600; font-size: 1.125rem; line-height: 1.35; }
.estimate__list { list-style: none; display: grid; gap: 0.85rem; margin-bottom: 1.25rem; }
.estimate__item { padding-left: 0.9rem; border-left: 2px solid var(--cyan); font-size: 0.9375rem; line-height: 1.5; }
.estimate__item-name { display: block; color: var(--ink); font-weight: 600; }
.estimate__note { font-size: 0.875rem; color: var(--muted); padding-top: 1rem; border-top: 1px solid var(--line); margin-top: 1.25rem; }
.estimate__mail { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; font-size: 0.9375rem; margin-top: 0.75rem; }
.estimate__mail .icon { color: var(--muted); }

.quote-done {
  background: var(--card); border: 1px solid var(--cyan); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.quote-done:focus { outline: none; }
.quote-done__icon {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: var(--cyan); color: var(--cyan-ink); margin-bottom: 1.25rem;
}
.quote-done__icon .icon { width: 1.75rem; height: 1.75rem; }
.quote-done__title { font-size: clamp(1.35rem, 3vw, 1.6rem); margin-bottom: 0.75rem; }
.quote-done__needs { color: var(--ink); }
.quote-done__small { font-size: 0.9375rem; color: var(--muted); margin-bottom: 1.5rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.15s ease; }
.faq__item[open] { border-color: var(--line-2); }
.faq__q {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.15rem 3.5rem 1.15rem 1.35rem; color: var(--ink); font-weight: 600; font-size: 1.0625rem; line-height: 1.4;
  border-radius: var(--radius);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before, .faq__q::after {
  content: ""; position: absolute; right: 1.35rem; top: 50%; width: 0.9rem; height: 2px; margin-top: -1px;
  background: var(--cyan); border-radius: 2px; transition: transform 0.2s ease;
}
.faq__q::after { transform: rotate(90deg); }
.faq__item[open] .faq__q::after { transform: rotate(0deg); }
.faq__q:hover { color: var(--cyan-2); }
.faq__a { padding: 0 1.35rem 1.35rem; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(3rem, 7vw, 4.5rem); border-top: 1px solid var(--line); background: radial-gradient(50rem 20rem at 50% 120%, rgba(34, 211, 238, 0.12), transparent 70%), var(--bg); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.cta-band__title { font-size: clamp(1.6rem, 3.5vw, 2.1rem); margin-bottom: 0.5rem; }
.cta-band__text { font-size: 1.0625rem; margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4rem); font-size: 0.9875rem; }
.footer__grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 48rem) { .footer__grid { grid-template-columns: 2fr 1fr 1.4fr; gap: 3rem; } }
.footer__about { margin-top: 1rem; max-width: 28rem; color: var(--muted); }
.footer__title { font: 500 0.8125rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 1rem; }
.footer__links, .footer__contact { list-style: none; display: grid; gap: 0.6rem; }
.footer__links a { color: var(--ink-2); text-decoration: none; }
.footer__links a:hover { color: var(--cyan); }
.footer__contact li { display: flex; align-items: flex-start; gap: 0.6rem; }
.footer__contact .icon { color: var(--cyan); margin-top: 0.2em; }
.footer__contact a { word-break: break-word; }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem;
  padding-block: 1.5rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted);
}
.footer__base p { margin: 0; }
.footer__base a { color: var(--ink-2); }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; align-items: center; padding-block: 4rem; }
.notfound .brand { margin-bottom: 3rem; }
.notfound__code { font: 500 0.875rem/1 var(--mono); color: var(--cyan); letter-spacing: 0.08em; margin-bottom: 1rem; }
.notfound__title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

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

/* ---------- without JavaScript ---------- */
html:not(.js) .estimate__body { display: none; }
