/* ============================================================
   Kinoteatr.kg — Contact page
   /site/contact

   Страница контактов:
   - cinematic premium style
   - форма обратной связи
   - быстрые контакты
   - реклама / партнёрство
   - правообладателям
   ============================================================ */

.kt-contact-page {
    padding: 0 0 72px;
    overflow-x: hidden;
}

/* ============================================================
   HERO
   ============================================================ */

.kt-contact-hero {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    margin-top: 18px;
    border-radius: var(--kt-radius, 28px);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--kt-border, rgba(255, 255, 255, 0.10));
    box-shadow: var(--kt-shadow, 0 20px 60px rgba(0, 0, 0, 0.35));
}

.kt-contact-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 6, 10, 0.88) 0%, rgba(5, 6, 10, 0.70) 50%, rgba(5, 6, 10, 0.38) 100%),
        linear-gradient(180deg, rgba(5, 6, 10, 0.08) 0%, rgba(5, 6, 10, 0.82) 100%),
        radial-gradient(circle at 18% 18%, rgba(229, 9, 20, 0.30), transparent 34%);
}

.kt-contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
    padding: clamp(34px, 6vw, 76px);
}

.kt-contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--kt-red-hover, #ff2530);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.kt-contact-kicker i {
    color: var(--kt-red-hover, #ff2530);
}

.kt-contact-hero h1 {
    max-width: 900px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(2.65rem, 6vw, 5.8rem);
    font-weight: 950;
    line-height: 0.96;
    letter-spacing: -0.06em;
    text-shadow: 0 18px 48px rgba(0, 0, 0, 0.50);
}

.kt-contact-hero p {
    max-width: 860px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.12rem;
    line-height: 1.78;
    text-shadow: 0 10px 34px rgba(0, 0, 0, 0.38);
}

.kt-contact-hero-actions,
.kt-contact-final-actions,
.kt-contact-rights-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.kt-contact-hero-actions {
    margin-bottom: 24px;
}

.kt-contact-btn-primary,
.kt-contact-btn-secondary {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    font-weight: 950;
    text-decoration: none;
    border-radius: 999px;
    transition: all 0.22s ease;
}

.kt-contact-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--kt-red, #e50914), #8d050e);
    box-shadow: 0 16px 36px rgba(229, 9, 20, 0.30);
}

.kt-contact-btn-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.kt-contact-btn-primary:hover,
.kt-contact-btn-secondary:hover {
    color: #fff;
    transform: translateY(-2px);
}

.kt-contact-btn-primary:hover {
    background: linear-gradient(135deg, var(--kt-red-hover, #ff2530), #b50712);
    box-shadow: 0 22px 48px rgba(229, 9, 20, 0.38);
}

.kt-contact-btn-secondary:hover {
    background: rgba(229, 9, 20, 0.24);
    border-color: rgba(229, 9, 20, 0.45);
}

.kt-contact-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.kt-contact-hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 15px;
    color: #fff;
    font-weight: 900;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.kt-contact-hero-badges span:nth-child(2) {
    background: rgba(229, 9, 20, 0.24);
    border-color: rgba(229, 9, 20, 0.38);
    box-shadow: 0 0 24px rgba(229, 9, 20, 0.18);
}

/* ============================================================
   COMMON SECTIONS
   ============================================================ */

.kt-contact-main-section,
.kt-contact-topics-section,
.kt-contact-partner-section,
.kt-contact-rights-section,
.kt-contact-final-cta {
    margin-top: 62px;
}

.kt-contact-section-head {
    max-width: 980px;
    margin-bottom: 28px;
}

.kt-contact-section-head h2,
.kt-contact-card-head h2,
.kt-contact-split-content h2,
.kt-contact-rights-content h2,
.kt-contact-final-content h2 {
    margin: 0 0 16px;
    color: var(--kt-text, #fff);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 950;
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.kt-contact-section-head p,
.kt-contact-card-head p,
.kt-contact-split-content p,
.kt-contact-rights-content p,
.kt-contact-final-content p {
    margin: 0 0 14px;
    color: var(--kt-muted, rgba(255, 255, 255, 0.68));
    font-size: 1rem;
    line-height: 1.78;
}

/* ============================================================
   MAIN GRID / FORM
   ============================================================ */

.kt-contact-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 28px;
    align-items: start;
}

.kt-contact-form-card,
.kt-contact-side-card,
.kt-contact-topic-card,
.kt-contact-rights-card {
    border: 1px solid var(--kt-border, rgba(255, 255, 255, 0.10));
    background:
        radial-gradient(circle at 10% 0%, rgba(229, 9, 20, 0.14), transparent 34%),
        var(--kt-surface, rgba(18, 20, 30, 0.82));
    box-shadow: var(--kt-shadow, 0 18px 48px rgba(0, 0, 0, 0.28));
}

.kt-contact-form-card {
    padding: clamp(26px, 4vw, 44px);
    border-radius: var(--kt-radius, 28px);
}

.kt-contact-card-head {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 26px;
}

.kt-contact-card-icon,
.kt-contact-topic-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.28rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--kt-red, #e50914), #8d050e);
    box-shadow: 0 16px 36px rgba(229, 9, 20, 0.28);
}

.kt-contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.kt-contact-form .form-group {
    margin-bottom: 18px;
}

.kt-contact-label {
    display: block;
    margin-bottom: 8px;
    color: var(--kt-text, #fff);
    font-size: 0.92rem;
    font-weight: 900;
}

.kt-contact-input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    color: var(--kt-text, #fff);
    font-weight: 800;
    outline: none;
    border-radius: 16px;
    background: var(--kt-surface-light, rgba(255, 255, 255, 0.06));
    border: 1px solid var(--kt-border, rgba(255, 255, 255, 0.12));
    box-shadow: none;
    transition: all 0.22s ease;
}

textarea.kt-contact-input {
    min-height: 170px;
    padding-top: 14px;
    resize: vertical;
}

.kt-contact-input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.kt-contact-input:focus {
    color: var(--kt-text, #fff);
    background: rgba(5, 8, 18, 0.72);
    border-color: rgba(229, 9, 20, 0.68);
    box-shadow:
        0 0 0 4px rgba(229, 9, 20, 0.14),
        0 0 28px rgba(229, 9, 20, 0.14);
}

.kt-contact-error {
    margin-top: 7px;
    color: #ff7b82;
    font-size: 0.86rem;
    font-weight: 800;
}

.kt-contact-captcha {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: var(--kt-surface-light, rgba(255, 255, 255, 0.06));
    border: 1px solid var(--kt-border, rgba(255, 255, 255, 0.10));
}

.kt-contact-captcha-image img {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 14px;
    background: #fff;
}

.kt-contact-submit-wrap {
    margin-top: 22px;
}

.kt-contact-submit {
    width: 100%;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    font-weight: 950;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--kt-red, #e50914), #8d050e);
    box-shadow: 0 18px 42px rgba(229, 9, 20, 0.34);
    transition: all 0.24s ease;
}

.kt-contact-submit:hover {
    transform: translateY(-2px);
    color: #fff;
    background: linear-gradient(135deg, var(--kt-red-hover, #ff2530), #b50712);
    box-shadow: 0 24px 54px rgba(229, 9, 20, 0.42);
}

/* ============================================================
   SIDE CARDS
   ============================================================ */

.kt-contact-side {
    display: grid;
    gap: 18px;
}

.kt-contact-side-card {
    padding: 24px;
    border-radius: 24px;
}

.kt-contact-side-card h3,
.kt-contact-topic-card h3 {
    margin: 0 0 10px;
    color: var(--kt-text, #fff);
    font-size: 1.35rem;
    font-weight: 950;
    line-height: 1.18;
}

.kt-contact-side-card p,
.kt-contact-topic-card p {
    margin: 0 0 18px;
    color: var(--kt-muted, rgba(255, 255, 255, 0.68));
    line-height: 1.68;
}

.kt-contact-direct-list {
    display: grid;
    gap: 12px;
}

.kt-contact-direct-list a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    text-decoration: none;
    border-radius: 18px;
    background: var(--kt-surface-light, rgba(255, 255, 255, 0.06));
    border: 1px solid var(--kt-border, rgba(255, 255, 255, 0.10));
    transition: all 0.22s ease;
}

.kt-contact-direct-list a:hover {
    transform: translateY(-2px);
    border-color: rgba(229, 9, 20, 0.42);
    background: rgba(229, 9, 20, 0.14);
}

.kt-contact-direct-list i,
.kt-contact-split-list i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--kt-red, #e50914), #8d050e);
}

.kt-contact-direct-list span {
    min-width: 0;
    color: var(--kt-muted, rgba(255, 255, 255, 0.68));
    line-height: 1.4;
}

.kt-contact-direct-list strong {
    display: block;
    margin-bottom: 2px;
    color: var(--kt-text, #fff);
    font-weight: 950;
}

.kt-contact-subject-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kt-contact-subject-examples span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    color: var(--kt-text, #fff);
    font-size: 0.84rem;
    font-weight: 900;
    border-radius: 999px;
    background: var(--kt-surface-light, rgba(255, 255, 255, 0.06));
    border: 1px dashed rgba(229, 9, 20, 0.38);
}

/* ============================================================
   TOPICS
   ============================================================ */

.kt-contact-card-grid {
    display: grid;
    gap: 18px;
}

.kt-contact-card-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kt-contact-topic-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 24px;
    text-decoration: none;
    border-radius: 24px;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.kt-contact-topic-card:hover {
    transform: translateY(-7px);
    border-color: rgba(229, 9, 20, 0.48);
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.30),
        0 0 34px rgba(229, 9, 20, 0.16);
}

.kt-contact-topic-card span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    color: var(--kt-red-hover, #ff2530);
    font-size: 0.9rem;
    font-weight: 950;
}

/* ============================================================
   SPLIT PARTNER
   ============================================================ */

.kt-contact-split {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 0;
    overflow: hidden;
    border-radius: var(--kt-radius, 28px);
    background: var(--kt-surface, rgba(18, 20, 30, 0.82));
    border: 1px solid var(--kt-border, rgba(255, 255, 255, 0.10));
    box-shadow: var(--kt-shadow, 0 20px 60px rgba(0, 0, 0, 0.32));
}

.kt-contact-split-image {
    position: relative;
    min-height: 560px;
    background-size: cover;
    background-position: center;
}

.kt-contact-split-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 6, 10, 0.16), rgba(5, 6, 10, 0.64)),
        radial-gradient(circle at 20% 20%, rgba(229, 9, 20, 0.18), transparent 34%);
}

.kt-contact-split-content {
    padding: clamp(28px, 4vw, 54px);
}

.kt-contact-split-list {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

.kt-contact-split-list div {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: var(--kt-surface-light, rgba(255, 255, 255, 0.06));
    border: 1px solid var(--kt-border, rgba(255, 255, 255, 0.10));
}

.kt-contact-split-list span {
    color: var(--kt-text, #fff);
    font-size: 0.96rem;
    font-weight: 900;
}

/* ============================================================
   RIGHTS CTA
   ============================================================ */

.kt-contact-rights-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(26px, 4vw, 42px);
    border-radius: var(--kt-radius, 28px);
}

.kt-contact-rights-content {
    max-width: 860px;
}

.kt-contact-rights-actions {
    flex-shrink: 0;
}

/* ============================================================
   FINAL CTA
   ============================================================ */

.kt-contact-final-cta {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    display: flex;
    align-items: center;
    border-radius: var(--kt-radius, 28px);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--kt-border, rgba(255, 255, 255, 0.10));
    box-shadow: var(--kt-shadow, 0 20px 60px rgba(0, 0, 0, 0.35));
}

.kt-contact-final-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 6, 10, 0.88) 0%, rgba(5, 6, 10, 0.68) 52%, rgba(5, 6, 10, 0.28) 100%),
        radial-gradient(circle at 18% 18%, rgba(229, 9, 20, 0.24), transparent 34%);
}

.kt-contact-final-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    padding: clamp(30px, 5vw, 64px);
}

.kt-contact-final-content h2,
.kt-contact-final-content p {
    color: #fff;
}

/* ============================================================
   LIGHT THEME
   ============================================================ */

.kt-theme-light .kt-contact-form-card,
html.theme-light .kt-contact-form-card,
body.theme-light .kt-contact-form-card,
.kt-theme-light .kt-contact-side-card,
html.theme-light .kt-contact-side-card,
body.theme-light .kt-contact-side-card,
.kt-theme-light .kt-contact-topic-card,
html.theme-light .kt-contact-topic-card,
body.theme-light .kt-contact-topic-card,
.kt-theme-light .kt-contact-split,
html.theme-light .kt-contact-split,
body.theme-light .kt-contact-split,
.kt-theme-light .kt-contact-rights-card,
html.theme-light .kt-contact-rights-card,
body.theme-light .kt-contact-rights-card {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.10);
}

.kt-theme-light .kt-contact-hero-overlay,
html.theme-light .kt-contact-hero-overlay,
body.theme-light .kt-contact-hero-overlay,
.kt-theme-light .kt-contact-final-overlay,
html.theme-light .kt-contact-final-overlay,
body.theme-light .kt-contact-final-overlay {
    background:
        linear-gradient(90deg, rgba(5, 6, 10, 0.76) 0%, rgba(5, 6, 10, 0.54) 52%, rgba(5, 6, 10, 0.22) 100%),
        radial-gradient(circle at 18% 18%, rgba(229, 9, 20, 0.18), transparent 34%);
}

.kt-theme-light .kt-contact-input,
html.theme-light .kt-contact-input,
body.theme-light .kt-contact-input {
    background: rgba(255, 255, 255, 0.72);
}

.kt-theme-light .kt-contact-input::placeholder,
html.theme-light .kt-contact-input::placeholder,
body.theme-light .kt-contact-input::placeholder {
    color: rgba(17, 24, 39, 0.45);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1199.98px) {
    .kt-contact-card-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kt-contact-rights-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 991.98px) {
    .kt-contact-main-grid,
    .kt-contact-split {
        grid-template-columns: 1fr;
    }

    .kt-contact-split-image {
        min-height: 360px;
    }

    .kt-contact-hero,
    .kt-contact-final-cta {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .kt-contact-hero {
        margin-top: 12px;
    }

    .kt-contact-form-row,
    .kt-contact-card-grid-4 {
        grid-template-columns: 1fr;
    }

    .kt-contact-captcha {
        grid-template-columns: 1fr;
    }

    .kt-contact-hero-content,
    .kt-contact-form-card,
    .kt-contact-split-content,
    .kt-contact-rights-card,
    .kt-contact-final-content {
        padding: 24px;
    }

    .kt-contact-hero,
    .kt-contact-form-card,
    .kt-contact-side-card,
    .kt-contact-topic-card,
    .kt-contact-split,
    .kt-contact-rights-card,
    .kt-contact-final-cta {
        border-radius: 22px;
    }

    .kt-contact-hero-actions,
    .kt-contact-final-actions,
    .kt-contact-rights-actions {
        flex-direction: column;
        width: 100%;
    }

    .kt-contact-btn-primary,
    .kt-contact-btn-secondary {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .kt-contact-hero h1 {
        font-size: 2.55rem;
    }

    .kt-contact-card-head {
        grid-template-columns: 1fr;
    }

    .kt-contact-hero-badges span {
        width: 100%;
    }

    .kt-contact-main-section,
    .kt-contact-topics-section,
    .kt-contact-partner-section,
    .kt-contact-rights-section,
    .kt-contact-final-cta {
        margin-top: 42px;
    }

    .kt-contact-direct-list a,
    .kt-contact-split-list div {
        grid-template-columns: 1fr;
    }
}