/* Contact page — the one commercial call to action on the site. */
.hero-contact { padding-bottom: 24px; }
.hero-contact .hero-title { font-size: clamp(40px, 6vw, 68px); }
.hero-contact .hero-subtitle { max-width: 640px; margin-left: auto; margin-right: auto; }

.section-contact { padding-top: 32px; }
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
    max-width: var(--container);
    margin: 0 auto;
    align-items: start;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3.4vw, 40px);
    display: grid;
    gap: 18px;
}
.contact-audience {
    border: 0;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.contact-audience legend {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 8px;
    padding: 0;
}
.seg { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
    display: inline-block;
    padding: 9px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.seg input:checked + span { background: rgba(20, 124, 229, 0.08); border-color: var(--accent); color: var(--accent-deep); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field[hidden] { display: none; }
.field > span { font-size: 13px; font-weight: 600; color: var(--text-dim); }
.field input,
.field select,
.field textarea {
    font: inherit;
    font-size: 15px;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 11px 12px;
    width: 100%;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(20, 124, 229, 0.15);
}

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.contact-actions .btn[disabled] { opacity: 0.6; cursor: progress; }
.contact-fine { margin: 0; font-size: 13px; color: var(--text-faint); }
.contact-fine a { color: var(--accent); }

.contact-status { margin: 0; font-size: 15px; padding: 12px 14px; border-radius: var(--radius); background: var(--bg-alt); }
.contact-status.is-ok { background: rgba(36, 138, 61, 0.08); color: var(--ok); }
.contact-status.is-error { background: rgba(215, 0, 21, 0.06); color: var(--danger); }

.contact-aside h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; margin: 8px 0 18px; }
.contact-steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 28px; }
.contact-steps li {
    counter-increment: step;
    position: relative;
    padding: 0 0 20px 44px;
    display: grid;
    gap: 4px;
}
.contact-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0; top: -2px;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}
.contact-steps span { color: var(--text-dim); font-size: 15px; line-height: 1.55; }
.contact-direct {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: grid;
    gap: 4px;
    font-size: 15px;
    color: var(--text-dim);
}
.contact-direct a { color: var(--accent); font-weight: 600; }

@media (max-width: 860px) {
    .contact-layout { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
}
