/* ============================================================
   42px — main hub landing, clean rebuild. Dark theme, one layout.
   Tokens lifted from the Figma export's computed styles.
   ============================================================ */
:root {
  --bg:     #0a0a0a;   /* page */
  --panel:  #1a1a1a;   /* cards / bands */
  --line:   #2a2a2a;   /* borders, dividers */
  --ink:    #ffffff;
  --muted:  #a1a1aa;   /* zinc-400 */
  /* per-section accents */
  --c-purple: #a855f7;
  --c-cyan:   #06b6d4;
  --c-green:  #10b981;

  /* type — per-named-weight families from the export (pair with weight 400) */
  --ff-head: "Sansation:Bold", system-ui, sans-serif;
  --ff-body: "Montserrat:Regular", system-ui, sans-serif;

  --maxw: 1280px;
  --gutter: 120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link { position: absolute; left: -9999px; background: var(--c-purple); color: #000; padding: 8px 16px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 50; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-family: var(--ff-body); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-purple); }
.h2 { margin: 12px 0 0; font-family: var(--ff-head); font-weight: 400; font-size: 56px; line-height: 1.05; color: var(--ink); }
.section { padding-block: 100px; }
.section__head { margin-bottom: 48px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-purple); color: #000;
  padding: 16px 32px;
  font-family: var(--ff-head); font-size: 18px; letter-spacing: 0.72px;
  transition: background-color .15s, transform .15s;
}
.btn:hover { background: #b96bff; }
.btn img { width: 18px; height: 18px; }

/* ---------- header ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 28px; }
.logo img { width: 100px; height: 56px; }
.lang { display: inline-flex; border: 1px solid var(--line); }
.lang__opt { padding: 6px 14px; font-size: 14px; letter-spacing: 1px; color: var(--muted); }
.lang__opt.is-active { background: var(--c-purple); color: #000; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; }
.hero__frame {
  position: relative; flex: 1;
  width: min(100% - 40px, var(--maxw) * 1.2);   /* ~120% of the content blocks, capped + centred */
  margin-inline: auto;
  display: flex; align-items: center; justify-content: center;
  border-inline: 1px solid var(--line);          /* left + right borders only */
  padding: 96px 24px;
}
.hero__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #5a5a63; }
.hero__tag--tl { position: absolute; top: 16px; left: 20px; }   /* hug the (wide) frame edges */
.hero__tag--tr { position: absolute; top: 16px; right: 20px; }
.hero__dot { width: 8px; height: 8px; background: var(--c-green); border-radius: 50%; }
.hero__content { max-width: 820px; text-align: center; }
/* SCROLL / version sit below the frame, aligned to the default content column */
.hero__meta { display: flex; justify-content: space-between; margin-top: 40px; padding-bottom: 28px; }
.hero__title { margin: 0; font-family: var(--ff-head); font-weight: 400; font-size: 56px; line-height: 1.25; color: var(--ink); }
.hl { background: var(--c-purple); color: #000; padding: 4px 14px 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero__sub { max-width: 600px; margin: 32px auto 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.hero__kicker { margin: 28px 0 0; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #6b6b73; }
.hero__cta { margin-top: 40px; }

/* ---------- expertise cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  --accent: var(--c-purple);
  position: relative; display: flex; flex-direction: column;
  min-height: 340px; padding: 32px; overflow: hidden;
  background: var(--panel); border-top: 3px solid var(--accent);
}
.card--1 { --accent: var(--c-purple); }
.card--2 { --accent: var(--c-cyan); }
.card--3 { --accent: var(--c-green); }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.card__num { font-family: var(--ff-head); font-size: 56px; line-height: 1; color: var(--accent); }
.card__icon { width: 28px; height: 28px; margin-top: 14px; }
.card__title { margin: 22px 0 0; font-family: var(--ff-head); font-size: 26px; line-height: 1.2; letter-spacing: 0.52px; color: var(--ink); max-width: 14ch; }
.card__desc { margin: 16px 0 0; font-size: 15px; line-height: 24px; letter-spacing: 0.15px; color: var(--muted); }
.card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 28px; font-family: var(--ff-head); font-size: 18px; letter-spacing: 0.72px; color: var(--accent); }
.card__more img { width: 16px; height: 16px; }
.card__deco { position: absolute; right: 0; bottom: 100px; width: 138px; height: 144px; z-index: 0; pointer-events: none; }
.card > :not(.card__deco) { position: relative; z-index: 1; }   /* keep text above the deco */

/* ---------- team ---------- */
.team { background: var(--panel); }
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.team__lead { margin: 0; font-family: var(--ff-head); font-size: 26px; line-height: 1.35; color: var(--ink); }
.team__text { margin: 24px 0 0; font-size: 18px; line-height: 1.65; color: var(--muted); }
.skills { display: flex; flex-direction: column; }
.skill { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14px; letter-spacing: 2px; color: var(--ink); }
.skill:first-child { border-top: 1px solid var(--line); }
.skill::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--c-purple); }

/* ---------- contacts ---------- */
.contact__text { max-width: 80ch; margin-top: 24px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.contact__cta { margin-top: 36px; }
.contact-card { margin-top: 64px; border: 1px solid var(--line); background: var(--panel); padding: 40px; }
.contact-card__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.contact-card__logo { width: 64px; height: 36px; }
.contact-card__brand { font-size: 12px; letter-spacing: 3px; color: #6b6b73; }
.contact-card__rows { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 28px; }
.crow { display: flex; align-items: flex-start; gap: 12px; }
.crow img { width: 16px; height: 16px; margin-top: 4px; }
.crow > span { display: flex; flex-direction: column; gap: 5px; }
.crow__k { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #6b6b73; }
.crow__v { font-size: 15px; color: var(--ink); }
a.crow__v { transition: color .15s; }
a.crow__v:hover { color: var(--c-purple); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 32px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #6b6b73; }

/* ============================================================
   Survey — self-contained project questionnaire wired to /new-msg.
   Same content/behaviour as the construction survey; inherits the
   hub's dark palette + Sansation/Montserrat, sharp corners.
   ============================================================ */
.survey {
  --s-ink:#fff; --s-muted:#a1a1aa; --s-accent:#a855f7; --s-accent-d:#b96bff;
  --s-chip:#262626; --s-field:#121212; --s-line:#2a2a2a; --s-opt:#d4d4d8;
  min-height: 100vh; padding: 60px 20px;
  background: radial-gradient(1100px 560px at 50% -10%, rgba(168,85,247,.10), transparent 60%), var(--bg);
}
.survey__card { position: relative; max-width: 1200px; margin-inline: auto; background: var(--panel); border: 1px solid var(--s-line); padding: 40px; color: var(--s-ink); }
.survey__close { position: absolute; top: 22px; right: 22px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: var(--s-chip); color: var(--s-muted); font-size: 18px; line-height: 1; }
.survey__close:hover { background: #333; color: var(--s-ink); }
.survey__title { margin: 0; max-width: 90%; font-weight: 400; font-family: var(--ff-head); font-size: 28px; line-height: 1.2; color: var(--s-ink); }
.survey__sub { margin: 12px 0 0; font-weight: 400; font-family: var(--ff-body); font-size: 16px; line-height: 1.5; color: var(--s-muted); }
.survey__form { display: flex; flex-direction: column; gap: 36px; margin-top: 36px; }

.q { border: 0; margin: 0; padding: 0; min-width: 0; }
.q__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.q__num { flex: none; min-width: 28px; height: 28px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--s-accent); color: #000; font-family: var(--ff-head); font-size: 15px; }
.q__title { padding: 0; font-weight: 400; font-family: var(--ff-head); font-size: 18px; line-height: 1.3; letter-spacing: .2px; color: var(--s-ink); }
.q__sub { margin: 0 0 14px; font-family: var(--ff-body); font-size: 15px; line-height: 1.45; color: var(--s-muted); }
.q__body { padding-left: 40px; }

/* chips (multi-select) */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; padding: 10px 22px; background: var(--s-chip); color: var(--s-ink); font-family: var(--ff-body); font-size: 15px; cursor: pointer; user-select: none; border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip:hover { border-color: #3a3a3a; }
.chip:has(:checked) { background: var(--s-accent); color: #000; border-color: var(--s-accent); }
.chip:focus-within { outline: 2px solid var(--s-accent); outline-offset: 2px; }

/* radios (single-select) */
.radios { display: flex; flex-direction: column; gap: 14px; }
.radio { display: flex; align-items: center; gap: 12px; cursor: pointer; font-family: var(--ff-body); font-size: 15px; color: var(--s-opt); }
.radio input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 1.5px solid #444; border-radius: 50%; flex: none; display: grid; place-content: center; cursor: pointer; }
.radio input::before { content: ""; width: 10px; height: 10px; border-radius: 50%; transform: scale(0); background: var(--s-accent); transition: transform .12s; }
.radio input:checked { border-color: var(--s-accent); }
.radio input:checked::before { transform: scale(1); }

/* text fields */
.field { display: flex; flex-direction: column; gap: 6px; }
.field + .field { margin-top: 16px; }
.field__label { font-family: var(--ff-body); font-size: 14px; color: var(--s-muted); }
.input, .textarea { width: 100%; background: var(--s-field); border: 1px solid var(--s-line); padding: 11px 14px; font-family: var(--ff-body); font-size: 15px; color: var(--s-ink); }
.textarea { min-height: 120px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #6b6b73; }
.input:focus, .textarea:focus { outline: none; border-color: var(--s-accent); }

/* submit + status */
.survey__submit { width: 100%; margin-top: 8px; height: 54px; border: 0; background: var(--s-accent); color: #000; font-family: var(--ff-head); font-size: 16px; letter-spacing: .5px; cursor: pointer; transition: background-color .15s; }
.survey__submit:hover { background: var(--s-accent-d); }
.survey__submit:disabled { opacity: .6; cursor: default; }
.survey__status { margin-top: 14px; font-family: var(--ff-body); font-size: 14px; min-height: 1em; }
.survey__status.is-error { color: #f87171; }
.survey__status.is-ok { color: #34d399; }

/* ============================================================
   Responsive — single layout, a couple of breakpoints
   ============================================================ */
@media (max-width: 1100px) { :root { --gutter: 48px; } }
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__title, .h2 { font-size: 40px; }
  .hero__sub { font-size: 16px; }
  .section { padding-block: 72px; }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .hero__title, .h2 { font-size: 32px; }
  .hero__frame { padding: 80px 16px; }
  .btn { width: 100%; justify-content: center; }
  .contact-card { padding: 24px; }
  .contact-card__rows { gap: 24px; }
  .survey { padding: 0; }
  .survey__card { border: 0; padding: 24px 20px 32px; min-height: 100vh; }
  .q__body { padding-left: 0; }
}
