/* ============================================================
   PARTNERS.CSS — страница партнёрства
   Все компоненты с префиксом pt-
   ============================================================ */

/* ── Хиро ────────────────────────────────────────────────── */
.pt-hero {
    position: relative;
    height: clamp(280px, 38vw, 480px);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}
.pt-hero__bg {
    position: absolute; inset: 0;
}
.pt-hero__bg img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.pt-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom,
        rgba(17,20,15,.30) 0%,
        rgba(17,20,15,.72) 65%,
        rgba(17,20,15,.96) 100%);
}
.pt-hero__inner {
    position: relative; z-index: 2;
    width: 100%; max-width: var(--container);
    margin: 0 auto; padding: 0 var(--pad-x) 52px;
}
.pt-hero__eyebrow {
    margin: 0 0 10px;
    font-size: 0.73rem; letter-spacing: .13em; text-transform: uppercase;
    color: var(--accent); opacity: .8;
}
.pt-hero__h1 {
    margin: 0 0 14px;
    font-size: clamp(1.75rem, 4vw, 2.8rem); font-weight: 600; line-height: 1.15;
    color: var(--text);
}
.pt-hero__sub {
    margin: 0; max-width: 560px;
    font-size: 0.975rem; line-height: 1.65; color: var(--muted);
}

/* ── Сетка карточек ──────────────────────────────────────── */
.pt-section {
    background: var(--bg-deep);
    padding: 64px 0 72px;
}
.pt-section__inner {
    max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x);
}
.pt-section__lead {
    max-width: 640px; margin: 0 0 48px;
    font-size: 0.95rem; line-height: 1.7; color: var(--muted);
}

.pt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 1024px) { .pt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .pt-grid { grid-template-columns: 1fr; } }

.pt-card {
    background: rgba(247,244,238,.03);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px 26px 30px;
    display: flex; flex-direction: column; gap: 12px;
    transition: border-color .2s;
}
.pt-card:hover { border-color: rgba(217,210,197,.35); }

.pt-card__icon {
    font-size: 1.75rem; line-height: 1;
}
.pt-card__title {
    margin: 0;
    font-size: 1.05rem; font-weight: 700; color: var(--text);
}
.pt-card__desc {
    margin: 0;
    font-size: 0.85rem; line-height: 1.65; color: var(--muted);
    flex: 1;
}
.pt-card__bullets {
    margin: 0; padding: 0; list-style: none;
    display: flex; flex-direction: column; gap: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(247,244,238,.07);
}
.pt-card__bullet {
    display: flex; align-items: baseline; gap: 8px;
    font-size: 0.8rem; color: rgba(247,244,238,.65);
}
.pt-card__bullet::before {
    content: '✓';
    color: var(--accent);
    font-size: 0.72rem;
    flex-shrink: 0;
}

/* ── Форма ───────────────────────────────────────────────── */
.pt-form-section {
    background: var(--bg);
    padding: 64px 0 80px;
    border-top: 1px solid var(--line);
}
.pt-form-section__inner {
    max-width: 680px; margin: 0 auto; padding: 0 var(--pad-x);
}
.pt-form-header {
    margin-bottom: 36px;
}
.pt-form-header__eyebrow {
    font-size: 0.73rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--accent); opacity: .75; display: block; margin-bottom: 8px;
}
.pt-form-header__h2 {
    margin: 0 0 10px;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; color: var(--text);
}
.pt-form-header__sub {
    margin: 0; font-size: 0.9rem; line-height: 1.65; color: var(--muted);
}

.pt-form {
    display: flex; flex-direction: column; gap: 14px;
}
.pt-form__row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
@media (max-width: 560px) { .pt-form__row { grid-template-columns: 1fr; } }

.pt-form__group { display: flex; flex-direction: column; gap: 5px; }
.pt-form__label {
    font-size: 0.78rem; letter-spacing: .06em; text-transform: uppercase;
    color: var(--muted); opacity: .7;
}
.pt-form__input,
.pt-form__select,
.pt-form__textarea {
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid rgba(247,244,238,.18);
    background: rgba(247,244,238,.05);
    color: var(--text);
    font-size: 0.875rem; font-family: inherit;
    outline: none;
    transition: border-color .18s;
}
.pt-form__input::placeholder,
.pt-form__textarea::placeholder { color: var(--muted); opacity: .55; }
.pt-form__input:focus,
.pt-form__select:focus,
.pt-form__textarea:focus { border-color: rgba(217,210,197,.5); }
.pt-form__select { cursor: pointer; appearance: none; }
.pt-form__select option { background: #1A1F1C; }
.pt-form__textarea { resize: vertical; min-height: 100px; }

.pt-form__submit {
    margin-top: 4px;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: var(--accent);
    color: var(--bg-deep);
    font-size: 0.95rem; font-family: inherit; font-weight: 700;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
}
.pt-form__submit:hover { opacity: .9; transform: translateY(-1px); }
.pt-form__submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.pt-form__disclaimer {
    margin: 0;
    font-size: 0.75rem; color: var(--muted); opacity: .55; text-align: center;
}
.pt-form__disclaimer a { color: inherit; }

.pt-form__result {
    display: none;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    text-align: center;
}
.pt-form__result--ok {
    background: rgba(122,170,134,.1);
    border: 1px solid rgba(122,170,134,.35);
    color: #7aaa86;
}
.pt-form__result--err {
    background: rgba(200,112,96,.1);
    border: 1px solid rgba(200,112,96,.35);
    color: #c87060;
}

/* ── Адаптив ─────────────────────────────────────────────── */
@media (max-width: 640px) {
    .pt-hero__inner   { padding-bottom: 40px; }
    .pt-section       { padding: 48px 0 56px; }
    .pt-section__inner,
    .pt-form-section__inner { padding-left: 16px; padding-right: 16px; }
    .pt-form-section  { padding: 48px 0 64px; }
}
