/* ============================================================
   PlusPayment - Contact page
   ============================================================ */

.contact-hero {
    padding: 152px 0 64px;
    background:
        radial-gradient(circle at 80% 20%, rgba(54, 211, 153, 0.10), transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(22, 93, 255, 0.10), transparent 50%),
        linear-gradient(180deg, #F2F6FF 0%, #FFFFFF 100%);
}

.contact-hero__inner {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.contact-hero h1 {
    font-size: 48px;
    line-height: 1.15;
    margin: 12px 0 16px;
    letter-spacing: -0.02em;
}

.contact-hero .lead {
    font-size: 18px;
    color: var(--color-text-3);
    line-height: 1.6;
}

.contact-section {
    padding-top: 32px;
    padding-bottom: 96px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}

/* Left info */
.contact-info h2 {
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 12px;
}

.contact-info__lead {
    font-size: 15px;
    color: var(--color-text-3);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.contact-channels li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--color-border-soft);
    border-radius: 12px;
    transition: var(--transition-default);
}

.contact-channels li:hover {
    border-color: rgba(22, 93, 255, 0.18);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.ch-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-channels small {
    display: block;
    font-size: 11px;
    color: var(--color-text-3);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 2px;
}

.contact-channels strong {
    font-size: 15px;
    color: var(--color-text-1);
}

/* Offices */
.offices h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-3);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--color-primary);
}

.offices__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.office {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: var(--color-bg-soft);
    border-radius: 10px;
    align-items: center;
    transition: var(--transition-default);
}

.office:hover {
    background: #fff;
    box-shadow: var(--shadow-card-hover);
}

.office-flag {
    width: 32px;
    height: 22px;
    border-radius: 4px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.office strong {
    display: block;
    font-size: 13px;
    color: var(--color-text-1);
    margin-bottom: 2px;
}

.office small {
    font-size: 11px;
    color: var(--color-text-3);
    line-height: 1.4;
}

.trust-line {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: var(--color-text-3);
    padding: 16px 20px;
    background: var(--color-bg-blue);
    border-radius: 10px;
}

.trust-line span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

/* Form */
.contact-form-wrap {
    position: sticky;
    top: 96px;
}

.contact-form {
    background: #fff;
    border: 1px solid var(--color-border-soft);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 24px 64px rgba(15, 42, 110, 0.08);
    position: relative;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.contact-form__lead {
    font-size: 14px;
    color: var(--color-text-3);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.contact-form .form-field {
    margin-bottom: 14px;
}

.contact-form .form-row .form-field {
    margin-bottom: 0;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-2);
    margin-bottom: 6px;
}

.form-consent {
    margin: 20px 0;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--color-text-3);
    line-height: 1.6;
    cursor: pointer;
    user-select: none;
}

.checkbox input {
    display: none;
}

.checkbox span {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid var(--color-text-4);
    flex-shrink: 0;
    margin-top: 1px;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}

.checkbox input:checked + span {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox input:checked + span::after {
    content: "";
    position: absolute;
    inset: 2px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.checkbox a {
    color: var(--color-primary);
    font-weight: 600;
}

.form-foot {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--color-text-3);
    justify-content: center;
}

/* FAQ */
.faq {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq__item {
    background: #fff;
    border: 1px solid var(--color-border-soft);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq__item.is-open {
    border-color: rgba(22, 93, 255, 0.24);
    box-shadow: var(--shadow-card);
}

.faq__q {
    width: 100%;
    text-align: left;
    background: transparent;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq__q:hover {
    color: var(--color-primary);
}

.faq__icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.3s;
}

.faq__icon::before {
    top: 7px;
    left: 0;
    right: 0;
    height: 2px;
}

.faq__icon::after {
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
}

.faq__item.is-open .faq__icon::after {
    transform: rotate(90deg);
}

.faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 20px;
    font-size: 14px;
    color: var(--color-text-3);
    line-height: 1.7;
}

.faq__item.is-open .faq__a {
    max-height: 240px;
    padding: 0 20px 18px;
}

/* Responsive */
@media (max-width: 1280px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-wrap { position: static; }
}

@media (max-width: 768px) {
    .contact-hero h1 { font-size: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .offices__grid { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }
}
