/* ============================================
   CONTACT PAGE STYLES
   Prefix: btc- (Bitstech Contact)
   ============================================ */

/* ── HERO ──────────────────────────────────── */
.btc-hero {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
    text-align: center;
}

.btc-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.btc-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
}

.btc-hero__orb--1 {
    width: 400px;
    height: 400px;
    background: var(--bt-primary);
    top: -100px;
    left: -100px;
    animation: btc-float 8s ease-in-out infinite;
}

.btc-hero__orb--2 {
    width: 350px;
    height: 350px;
    background: var(--bt-accent);
    bottom: -80px;
    right: -80px;
    animation: btc-float 8s ease-in-out infinite reverse;
}

.btc-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--bt-primary-rgb), 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--bt-primary-rgb), 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

@keyframes btc-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.05); }
}

.btc-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.btc-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(var(--bt-primary-rgb), 0.1);
    border: 1px solid rgba(var(--bt-primary-rgb), 0.2);
    border-radius: var(--bt-radius-full);
    font-size: var(--bt-fs-sm);
    font-weight: var(--bt-fw-medium);
    color: var(--bt-primary-light);
    margin-bottom: var(--bt-space-lg);
}

.btc-pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bt-accent);
    animation: btc-pulse 2s ease-in-out infinite;
}

@keyframes btc-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.btc-hero__title {
    font-size: var(--bt-fs-4xl);
    font-weight: var(--bt-fw-extrabold);
    line-height: 1.15;
    margin-bottom: var(--bt-space-lg);
}

.btc-hero__sub {
    font-size: var(--bt-fs-md);
    color: var(--bt-text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ── GRADIENT TEXT ─────────────────────────── */
.btc-gradient {
    background: linear-gradient(135deg, var(--bt-primary), var(--bt-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── LABEL ─────────────────────────────────── */
.btc-label {
    display: inline-block;
    font-size: var(--bt-fs-sm);
    font-weight: var(--bt-fw-semibold);
    color: var(--bt-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--bt-space-sm);
}

/* ── SECTION HEAD ──────────────────────────── */
.btc-section-head {
    text-align: center;
    margin-bottom: var(--bt-space-2xl);
}

.btc-section-head h2 {
    font-size: var(--bt-fs-3xl);
    margin-top: var(--bt-space-xs);
}


/* ── INFO CARDS ────────────────────────────── */
.btc-info {
    padding: 60px 0;
}

.btc-info__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.btc-info__card {
    background: var(--bt-glass-bg);
    backdrop-filter: blur(var(--bt-glass-blur));
    -webkit-backdrop-filter: blur(var(--bt-glass-blur));
    border: 1px solid var(--bt-glass-border);
    border-radius: var(--bt-radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--bt-transition-base);
    position: relative;
    overflow: hidden;
}

.btc-info__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bt-primary), var(--bt-accent));
    opacity: 0;
    transition: opacity var(--bt-transition-base);
}

.btc-info__card:hover {
    border-color: rgba(var(--bt-primary-rgb), 0.3);
    box-shadow: var(--bt-shadow-glow);
    transform: translateY(-4px);
}

.btc-info__card:hover::before {
    opacity: 1;
}

.btc-info__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--bt-radius-md);
    background: rgba(var(--bt-primary-rgb), 0.1);
    color: var(--bt-primary-light);
    margin-bottom: var(--bt-space-md);
}

.btc-info__card h3 {
    font-size: var(--bt-fs-lg);
    margin-bottom: var(--bt-space-sm);
}

.btc-info__card p {
    font-size: var(--bt-fs-sm);
    color: var(--bt-text-secondary);
    margin-bottom: 4px;
    line-height: 1.6;
}

.btc-info__card p:last-child {
    margin-bottom: 0;
}

.btc-info__card a {
    color: var(--bt-text-secondary);
    transition: color var(--bt-transition-fast);
}

.btc-info__card a:hover {
    color: var(--bt-accent);
}

/* ── MAIN SECTION (Form + Sidebar) ─────────── */
.btc-main {
    padding: 0 0 80px;
}

.btc-main__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: start;
}

/* ── FORM CARD ─────────────────────────────── */
.btc-form-card {
    position: relative;
    border-radius: var(--bt-radius-xl);
    overflow: hidden;
}

.btc-form-card__glow {
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, var(--bt-primary), var(--bt-accent), var(--bt-primary), var(--bt-accent), var(--bt-primary));
    border-radius: inherit;
    z-index: 0;
    opacity: 0.15;
    animation: btc-glow-spin 6s linear infinite;
}

@keyframes btc-glow-spin {
    to { transform: rotate(360deg); }
}

.btc-form-card__inner {
    position: relative;
    z-index: 1;
    background: var(--bt-bg-card);
    border-radius: var(--bt-radius-xl);
    padding: 40px;
    border: 1px solid var(--bt-glass-border);
}

.btc-form-card__inner h2 {
    font-size: var(--bt-fs-2xl);
    margin-top: var(--bt-space-xs);
    margin-bottom: var(--bt-space-sm);
}

.btc-form-desc {
    color: var(--bt-text-secondary);
    font-size: var(--bt-fs-sm);
    margin-bottom: var(--bt-space-xl);
    line-height: 1.7;
}

/* ── FORM ELEMENTS ─────────────────────────── */
.btc-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.btc-form__group {
    margin-bottom: 0;
}

.btc-form__group:only-child {
    margin-bottom: 20px;
}

.btc-form__label {
    display: block;
    font-size: var(--bt-fs-sm);
    font-weight: var(--bt-fw-medium);
    color: var(--bt-text-primary);
    margin-bottom: 8px;
}

.btc-required {
    color: var(--bt-danger);
}

.btc-form__input-wrap {
    position: relative;
}

.btc-form__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bt-text-muted);
    pointer-events: none;
    z-index: 1;
}

.btc-form__icon--textarea {
    top: 18px;
    transform: none;
}

.btc-form__input {
    padding-left: 42px !important;
}

.btc-form__select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238899bf' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px !important;
}

.btc-form__textarea {
    resize: vertical;
    min-height: 130px;
    padding-top: 14px !important;
    line-height: 1.7;
}

.btc-form__input-wrap--textarea {
    margin-bottom: 20px;
}

.btc-form__footer {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ── FORM MESSAGE ──────────────────────────── */
.btc-form__msg {
    display: none;
    margin-top: 16px;
    padding: 12px 18px;
    border-radius: var(--bt-radius-md);
    font-size: var(--bt-fs-sm);
    font-weight: var(--bt-fw-medium);
}

.btc-form__msg--success {
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.3);
    color: var(--bt-success);
}

.btc-form__msg--error {
    background: rgba(255, 23, 68, 0.1);
    border: 1px solid rgba(255, 23, 68, 0.3);
    color: var(--bt-danger);
}


/* ── BUTTONS ───────────────────────────────── */
.btc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--bt-font-primary);
    font-size: var(--bt-fs-sm);
    font-weight: var(--bt-fw-semibold);
    line-height: 1;
    border: none;
    border-radius: var(--bt-radius-full);
    cursor: pointer;
    transition: all var(--bt-transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btc-btn--primary {
    background: linear-gradient(135deg, var(--bt-primary), var(--bt-primary-dark));
    color: var(--bt-white);
    box-shadow: 0 4px 15px rgba(var(--bt-primary-rgb), 0.4);
}

.btc-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(var(--bt-primary-rgb), 0.6);
    color: var(--bt-white);
}

.btc-btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btc-btn--outline {
    background: transparent;
    color: var(--bt-text-primary);
    border: 2px solid var(--bt-border-color);
}

.btc-btn--outline:hover {
    border-color: var(--bt-primary);
    color: var(--bt-primary);
    background: rgba(var(--bt-primary-rgb), 0.05);
}

/* ── MAP CARD ──────────────────────────────── */
.btc-map-card {
    background: var(--bt-glass-bg);
    backdrop-filter: blur(var(--bt-glass-blur));
    -webkit-backdrop-filter: blur(var(--bt-glass-blur));
    border: 1px solid var(--bt-glass-border);
    border-radius: var(--bt-radius-xl);
    overflow: hidden;
    margin-bottom: 24px;
}

.btc-map-card__inner {
    padding: 28px;
}

.btc-map-card__inner h3 {
    font-size: var(--bt-fs-xl);
    margin-top: var(--bt-space-xs);
    margin-bottom: var(--bt-space-md);
}

.btc-map {
    border-radius: var(--bt-radius-md);
    overflow: hidden;
    border: 1px solid var(--bt-border-color);
}

.btc-map iframe {
    display: block;
    width: 100%;
}

/* ── SOCIAL CARD ───────────────────────────── */
.btc-social-card {
    background: var(--bt-glass-bg);
    backdrop-filter: blur(var(--bt-glass-blur));
    -webkit-backdrop-filter: blur(var(--bt-glass-blur));
    border: 1px solid var(--bt-glass-border);
    border-radius: var(--bt-radius-xl);
    overflow: hidden;
}

.btc-social-card__inner {
    padding: 28px;
}

.btc-social-card__inner h3 {
    font-size: var(--bt-fs-xl);
    margin-top: var(--bt-space-xs);
    margin-bottom: var(--bt-space-lg);
}

.btc-social__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btc-social__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--bt-radius-md);
    background: var(--bt-input-bg);
    border: 1px solid var(--bt-border-color);
    color: var(--bt-text-primary);
    font-size: var(--bt-fs-sm);
    font-weight: var(--bt-fw-medium);
    transition: all var(--bt-transition-base);
    text-decoration: none;
}

.btc-social__link:hover {
    transform: translateY(-2px);
    box-shadow: var(--bt-shadow-md);
}

.btc-social__link--fb:hover {
    background: rgba(24, 119, 242, 0.1);
    border-color: rgba(24, 119, 242, 0.3);
    color: #1877f2;
}

.btc-social__link--messenger:hover {
    background: rgba(0, 132, 255, 0.1);
    border-color: rgba(0, 132, 255, 0.3);
    color: #0084ff;
}

.btc-social__link--viber:hover {
    background: rgba(121, 75, 196, 0.1);
    border-color: rgba(121, 75, 196, 0.3);
    color: #794bc4;
}

.btc-social__link--tiktok:hover {
    background: rgba(254, 44, 85, 0.1);
    border-color: rgba(254, 44, 85, 0.3);
    color: #fe2c55;
}

.btc-social__link--yt:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
    color: #ff0000;
}

.btc-social__link--telegram:hover {
    background: rgba(0, 136, 204, 0.1);
    border-color: rgba(0, 136, 204, 0.3);
    color: #0088cc;
}

/* ── FAQ ───────────────────────────────────── */
.btc-faq {
    padding: 80px 0;
}

.btc-faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.btc-faq__item {
    background: var(--bt-glass-bg);
    backdrop-filter: blur(var(--bt-glass-blur));
    -webkit-backdrop-filter: blur(var(--bt-glass-blur));
    border: 1px solid var(--bt-glass-border);
    border-radius: var(--bt-radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all var(--bt-transition-base);
}

.btc-faq__item:hover {
    border-color: rgba(var(--bt-primary-rgb), 0.2);
}

.btc-faq__item--open {
    border-color: rgba(var(--bt-primary-rgb), 0.3);
    box-shadow: 0 0 20px rgba(var(--bt-primary-rgb), 0.1);
}

.btc-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--bt-text-primary);
    font-family: var(--bt-font-heading);
    font-size: var(--bt-fs-base);
    font-weight: var(--bt-fw-semibold);
    text-align: left;
    cursor: pointer;
    transition: color var(--bt-transition-fast);
    gap: 16px;
}

.btc-faq__question:hover {
    color: var(--bt-primary-light);
}

.btc-faq__arrow {
    flex-shrink: 0;
    color: var(--bt-text-muted);
    transition: transform var(--bt-transition-base), color var(--bt-transition-base);
}

.btc-faq__item--open .btc-faq__arrow {
    transform: rotate(180deg);
    color: var(--bt-accent);
}

.btc-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.btc-faq__item--open .btc-faq__answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.btc-faq__answer p {
    font-size: var(--bt-fs-sm);
    color: var(--bt-text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* ── CTA ───────────────────────────────────── */
.btc-cta {
    padding: 0 0 80px;
}

.btc-cta__card {
    position: relative;
    border-radius: var(--bt-radius-xl);
    overflow: hidden;
    text-align: center;
}

.btc-cta__glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--bt-primary-rgb), 0.15), rgba(var(--bt-accent-rgb), 0.1));
    z-index: 0;
}

.btc-cta__content {
    position: relative;
    z-index: 1;
    padding: 60px 40px;
    background: var(--bt-bg-card);
    border: 1px solid var(--bt-glass-border);
    border-radius: var(--bt-radius-xl);
}

.btc-cta__content h2 {
    font-size: var(--bt-fs-2xl);
    margin-bottom: var(--bt-space-md);
}

.btc-cta__content p {
    max-width: 600px;
    margin: 0 auto var(--bt-space-xl);
    color: var(--bt-text-secondary);
    line-height: 1.8;
}

.btc-cta__btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 1024px) {
    .btc-info__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .btc-main__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .btc-hero {
        padding: 60px 0 40px;
    }

    .btc-hero__title {
        font-size: var(--bt-fs-2xl);
    }

    .btc-info {
        padding: 40px 0;
    }

    .btc-info__grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .btc-form-card__inner {
        padding: 28px 20px;
    }

    .btc-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .btc-form__row .btc-form__group {
        margin-bottom: 20px;
    }

    .btc-faq {
        padding: 60px 0;
    }

    .btc-social__grid {
        grid-template-columns: 1fr;
    }

    .btc-cta__content {
        padding: 40px 24px;
    }

    .btc-cta__btns {
        flex-direction: column;
    }

    .btc-cta__btns .btc-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .btc-hero {
        padding: 40px 0 30px;
    }

    .btc-hero__title {
        font-size: var(--bt-fs-xl);
    }

    .btc-info__grid {
        grid-template-columns: 1fr;
    }

    .btc-info__card {
        padding: 24px 20px;
    }

    .btc-faq__question {
        padding: 16px 18px;
        font-size: var(--bt-fs-sm);
    }

    .btc-faq__answer {
        padding: 0 18px;
    }

    .btc-faq__item--open .btc-faq__answer {
        padding: 0 18px 16px;
    }
}