/* /konsultasiya builds on /sual/sual.css (header, fields, chips, buttons).
   Offers are solid colour tiles (palette colours, one per topic) with simple line icons drawn as inline SVG. */
.wrap { --c: var(--ink); --on: var(--paper); width: min(920px, 100%); }

.kicker { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 14px; }
.hero { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: clamp(16px, 4vw, 40px); }
h1 { font-size: clamp(36px, 6.4vw, 76px); line-height: 1; text-wrap: balance; margin: 0; }
/* portrait in the arch shape of the bars */
.portrait { width: clamp(96px, 22vw, 210px); height: auto; aspect-ratio: 895 / 900; object-fit: cover;
  border-radius: 999px 999px 18px 18px; background: var(--paper-2); animation: rise .9s .15s var(--ease) both; }
.intro { margin: 22px 0 10px; }
.cred { margin: 0 0 22px; font: 500 12px/1.6 var(--mono); letter-spacing: .03em; color: var(--ink-2); animation: rise .9s .22s var(--ease) both; }

.facts { list-style: none; margin: 0 0 clamp(40px, 7vw, 72px); padding: 0; display: flex; flex-wrap: wrap; gap: 8px; animation: rise .9s .25s var(--ease) both; }
.facts li { font: 500 15px/1.2 var(--sans); padding: 9px 14px; border-radius: 99px; background: var(--paper-2); }
.facts li:first-child { background: var(--ink); color: var(--paper); }

.group { margin: 0 0 clamp(40px, 7vw, 72px); animation: rise .9s .3s var(--ease) both; }
.group-title {
  font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
  margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1.5px solid var(--ink); animation: none;
}
.form-title { font: 400 clamp(30px, 4.4vw, 52px)/1.05 var(--serif); letter-spacing: -.02em; color: var(--ink);
  margin: 0 0 28px; padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); animation: none; scroll-margin-top: 16px; }

/* offers: full-width colour rows (icon | text | arrow); the whole row picks that topic in the form */
.offers { display: grid; gap: 12px; }
.offer {
  --bg: var(--ink); --fg: var(--paper);
  display: grid; grid-template-columns: 64px 1fr auto; grid-template-areas: "icon tag go" "icon title go" "icon text go" "icon pick go";
  column-gap: clamp(16px, 3vw, 28px); row-gap: 6px; align-items: start;
  padding: clamp(20px, 3vw, 28px); border-radius: 22px;
  background: var(--bg); color: var(--fg); text-decoration: none;
  transition: transform .35s var(--ease);
}
.offer[data-type="child"] { --bg: #F25C3B; --fg: #16130F; }
.offer[data-type="career"] { --bg: #3B4BDB; --fg: #FFFFFF; }
.offer[data-type="ai-work"] { --bg: #0FA38F; --fg: #16130F; }
.offer:hover { transform: translateY(-3px); }
.offer-top { display: contents; }
.offer svg { grid-area: icon; width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.offer small { grid-area: tag; justify-self: start; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 99px; border: 1.5px solid currentColor; }
.offer strong { grid-area: title; font: 400 clamp(23px, 2.6vw, 32px)/1.12 var(--serif); letter-spacing: -.015em; font-variation-settings: "opsz" 72; }
.offer > span:not(.offer-top) { grid-area: text; opacity: .88; max-width: 620px; }
.offer em { grid-area: pick; display: none; font: 500 12px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; font-style: normal; margin-top: 4px; }
.offer .go { grid-area: go; align-self: center; font: 400 32px/1 var(--serif); font-style: normal; transition: transform .35s var(--ease); }
.offer:hover .go { transform: translateX(6px); }
/* phones: icon on top, the text link instead of the big arrow */
@media (max-width: 600px) {
  .offer { grid-template-columns: 1fr auto; grid-template-areas: "icon tag" "title title" "text text" "pick pick"; }
  .offer svg { width: 44px; height: 44px; }
  .offer small { justify-self: end; }
  .offer em { display: block; }
  .offer .go { display: none; }
}

/* how it works: four icon nodes on one line (desktop), a vertical line on phones */
.journey { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.journey::before { content: ""; position: absolute; top: 31px; left: 32px; right: calc((100% - 54px) / 4 - 32px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px); }
.journey li { position: relative; display: grid; gap: 6px; align-content: start; }
.node { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px;
  background: var(--bg); color: var(--fg); box-shadow: 0 0 0 6px var(--paper); }
.journey li:nth-child(1) .node { --bg: #F25C3B; --fg: #16130F; }
.journey li:nth-child(2) .node { --bg: #3B4BDB; --fg: #FFFFFF; }
.journey li:nth-child(3) .node { --bg: #0FA38F; --fg: #16130F; }
.journey li:nth-child(4) .node { --bg: var(--ink); --fg: var(--paper); }
.node svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.journey b { font: 400 clamp(22px, 2.2vw, 26px)/1.1 var(--serif); letter-spacing: -.01em; }
.journey span:last-child { color: var(--ink-2); font-size: .95em; }
@media (max-width: 700px) {
  .journey { grid-template-columns: 1fr; gap: 22px; }
  .journey::before { top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 12px); }
  .journey li { grid-template-columns: 64px 1fr; column-gap: 18px; row-gap: 2px; }
  .node { grid-row: span 2; margin: 0; }
  .journey b { align-self: end; }
}
.rules { margin: 26px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--paper-2); color: var(--ink-2); font-size: .95em; }

.chip { position: relative; } /* keeps the hidden radio inside its pill */
