/* Страница для веб-студий (/studii/). Опирается на style.css: токены, .tile, .how, .faq, .field, .tick, .check. */

.st-hero { width: min(1080px, 100% - 32px); margin: 0 auto; padding: clamp(28px, 5vw, 56px) 0 0; text-align: center; }
.st-hero h1 { margin: 0 auto; max-width: 20ch; font-size: clamp(38px, 6.4vw, 76px); line-height: 1.0; letter-spacing: -0.045em; font-weight: 850; text-wrap: balance; }
.st-hero .lead { max-width: 40rem; }
.st-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 36px 0 0; }
.st-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; margin: 0 0 clamp(28px, 5vw, 48px); padding: 0; list-style: none; font-size: 15px; font-weight: 600; color: var(--muted); }
.st-crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--dim-2); }
.st-crumbs a { color: var(--muted); text-decoration: none; }
.st-crumbs a:hover { color: var(--text); }
.top__nav a[aria-current="page"] { color: var(--text); }

/* why */
.st-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.st-ico { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 0 18px; border-radius: 15px; background: var(--accent-tint); }
.st-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--accent-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.st-ico--big { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 18px; }
.st-ico--big svg { width: 32px; height: 32px; stroke-width: 2.6; }

/* fines */
.st-fines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.st-fine { display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--warn); }
.st-fine__what { flex: 1; margin: 0 0 20px; font-size: 16px; line-height: 1.45; color: var(--text-2); }
.st-fine b { display: block; font-size: clamp(26px, 2.8vw, 32px); line-height: 1.05; letter-spacing: -0.03em; color: var(--warn); }
.st-fine span { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.st-note { max-width: 52rem; margin: 18px 0 0; font-size: 14px; color: var(--dim); text-wrap: pretty; }

/* how: four steps */
.st-how { grid-template-columns: repeat(4, 1fr); }

/* tools */
.st-tools .tile { display: flex; flex-direction: column; }
.st-tools .tile p { flex: 1; }
.st-more { align-self: flex-start; margin-top: 18px; font-size: 16px; font-weight: 700; color: var(--accent-ink); text-decoration: none; }
.st-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* offer */
.st-offer { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(28px, 5vw, 52px); border-radius: 30px;
  background: radial-gradient(600px 300px at 100% 0%, rgba(31, 107, 79, 0.14), transparent 70%), var(--card); border: 1px solid var(--accent-border); }
.st-offer h2 { margin: 0 0 16px; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 850; }
.st-offer p:not(.eyebrow) { margin: 0 0 14px; color: var(--text-2); }
.st-offer p:last-child { margin-bottom: 0; }
.st-offer__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.st-offer__list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); font-size: 16px; font-weight: 600; line-height: 1.4; }
.st-offer__list li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(31, 107, 79, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231F6B4F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }

/* form */
.st-form-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.st-form-intro .section__title { margin-bottom: 18px; }
.st-form-intro p:not(.eyebrow) { margin: 0 0 14px; color: var(--muted); }
.st-direct a { color: var(--accent-ink); font-weight: 700; text-underline-offset: 3px; }
.st-form, .st-done { display: grid; gap: 16px; padding: clamp(22px, 3.4vw, 32px); border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
.st-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.st-form .field > span { display: block; }
.st-form .field i { font-style: normal; color: var(--accent-ink); }
.st-form .field input { width: 100%; height: 56px; font-size: 17px; }
.st-form .field textarea { width: 100%; min-height: 104px; padding: 14px 18px; border: 1.5px solid var(--control); border-radius: 16px; background: var(--bg-2); color: var(--text);
  font: 600 17px/1.45 var(--sans); resize: vertical; transition: border-color 0.2s, box-shadow 0.2s; }
.st-form .field textarea:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 5px var(--accent-tint); }
.st-form .field input::placeholder, .st-form .field textarea::placeholder { color: var(--ph); font-weight: 500; }
.st-form .field.is-bad input, .st-form .field.is-bad textarea { border-color: var(--fail); }
.st-form .tick { font-size: 15px; line-height: 1.45; }
.st-form .tick.is-bad input { border-color: var(--fail); }
.st-form .btn { width: 100%; margin-top: 4px; }
.st-form .form-msg:empty { display: none; }
.st-done { text-align: center; padding-block: clamp(36px, 6vw, 56px); }
.st-done h3 { margin: 0 0 8px; font-size: 26px; letter-spacing: -0.02em; }
.st-done p { margin: 0; color: var(--muted); }
.st-done b { color: var(--text); }

/* final check */
.st-final { padding: clamp(28px, 5vw, 52px); border-radius: 30px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.st-final h2 { margin: 0 auto 8px; max-width: 22ch; font-size: clamp(28px, 4vw, 42px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 850; text-wrap: balance; }
.st-final p { margin: 0; color: var(--muted); }
.st-final .check { margin-top: 28px; }

/* anchors stop below the sticky header: scroll-padding-top in style.css (the header height is measured) */

@media (max-width: 1000px) {
  .st-fines { grid-template-columns: 1fr 1fr; }
  .st-how { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .st-why { grid-template-columns: 1fr; }
  .st-how { grid-template-columns: 1fr; }
  .st-offer, .st-form-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .st-hero { text-align: left; }
  .st-hero h1 { margin: 0; }
  .st-crumbs { justify-content: flex-start; }
  .st-hero__actions { flex-direction: column; }
  .st-hero__actions .btn { width: 100%; }
  .st-fines { grid-template-columns: 1fr; }
  .st-form__row { grid-template-columns: 1fr; }
  .st-final { text-align: left; }
  .st-final h2 { margin-left: 0; }
}

/* light theme */
.st-offer { background: radial-gradient(600px 300px at 100% 0%, rgba(31, 107, 79, 0.22), transparent 70%), var(--card); }
.st-offer__list li::before { background-color: rgba(31, 107, 79, 0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%234A6E00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }


/* поле-ловушка для ботов: людям не видно */
.st-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
