﻿.eq-bg {
    min-height: calc(100vh - 70px);
    background: #0a0a0f;
    position: relative;
    overflow: hidden;
    padding-bottom: 60px;
}

.eq-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(201,168,76,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.035) 1px, transparent 1px);
    background-size: 52px 52px;
    pointer-events: none;
}

.eq-bg::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -5%;
    width: 55%;
    height: 65%;
    background: radial-gradient(ellipse, rgba(201,168,76,0.06) 0%, transparent 68%);
    pointer-events: none;
}

.eq-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.eq-p {
    position: absolute;
    border-radius: 50%;
    background: #c9a84c;
    opacity: 0.1;
    animation: eqFloat linear infinite;
}

.eq-p1 {
    width: 5px;
    height: 5px;
    left: 8%;
    animation-duration: 14s;
    animation-delay: 0s;
}

.eq-p2 {
    width: 7px;
    height: 7px;
    left: 28%;
    animation-duration: 19s;
    animation-delay: 4s;
}

.eq-p3 {
    width: 4px;
    height: 4px;
    left: 52%;
    animation-duration: 11s;
    animation-delay: 2s;
}

.eq-p4 {
    width: 6px;
    height: 6px;
    left: 71%;
    animation-duration: 16s;
    animation-delay: 6s;
}

.eq-p5 {
    width: 3px;
    height: 3px;
    left: 88%;
    animation-duration: 21s;
    animation-delay: 1s;
}

@keyframes eqFloat {
    0% {
        transform: translateY(110vh);
        opacity: 0;
    }

    8% {
        opacity: 0.1;
    }

    92% {
        opacity: 0.1;
    }

    100% {
        transform: translateY(-8vh);
        opacity: 0;
    }
}

@keyframes eqFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes eqShineSweep {
    0% {
        left: -60%;
    }

    100% {
        left: 130%;
    }
}

@keyframes eqTabIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eq-hero {
    position: relative;
    z-index: 1;
    padding: 56px 28px 40px;
    text-align: center;
    border-bottom: 1px solid rgba(201,168,76,0.12);
    background: linear-gradient(180deg, rgba(201,168,76,0.04) 0%, transparent 100%);
}

.eq-hero-inner {
    max-width: 640px;
    margin: 0 auto;
    animation: eqFadeUp 0.5s ease both;
}

.eq-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 20px;
}

    .eq-hero-badge i {
        font-size: 11px;
    }

.eq-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 900;
    color: #f0ede8;
    line-height: 1.2;
    margin-bottom: 14px;
}

.eq-gold {
    background: linear-gradient(135deg, #c9a84c, #e8c96a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eq-hero-sub {
    font-size: 15px;
    color: #8a8a9a;
    line-height: 1.65;
    margin: 0;
}

.eq-wrap {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.eq-tabs-nav {
    display: flex;
    gap: 8px;
    padding: 28px 0 0;
    justify-content: center;
    flex-wrap: wrap;
}

.eq-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201,168,76,0.12);
    border-radius: 50px;
    color: #8a8a9a;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}

    .eq-tab-btn i {
        font-size: 12px;
        color: #c9a84c;
    }

    .eq-tab-btn:hover {
        background: rgba(201,168,76,0.08);
        color: #f0ede8;
        border-color: rgba(201,168,76,0.3);
        transform: translateY(-2px);
    }

.eq-tab-active {
    background: linear-gradient(135deg, rgba(201,168,76,0.18), rgba(232,201,106,0.1));
    border-color: rgba(201,168,76,0.5);
    color: #e8c96a;
    box-shadow: 0 4px 16px rgba(201,168,76,0.15);
}

.eq-card {
    background: rgba(17,17,24,0.92);
    border: 1px solid rgba(201,168,76,0.14);
    border-radius: 20px;
    margin-top: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.eq-pane {
    display: none;
    padding: 36px 40px 40px;
}

.eq-pane-active {
    display: block;
    animation: eqTabIn 0.3s ease both;
}

.eq-pane-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(201,168,76,0.1);
}

.eq-pane-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #c9a84c, #e8c96a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0f;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(201,168,76,0.3);
}

.eq-pane-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 900;
    color: #f0ede8;
    margin: 0 0 4px;
}

.eq-pane-sub {
    font-size: 13px;
    color: #8a8a9a;
    margin: 0;
}

.eq-grid-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.eq-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.eq-field-full {
    grid-column: 1 / -1;
}

.eq-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #8a8a9a;
}

.eq-input-wrap {
    position: relative;
}

.eq-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #c9a84c;
    font-size: 13px;
    pointer-events: none;
    z-index: 1;
}

.eq-textarea-icon {
    top: 16px;
    transform: none;
}

.eq-input {
    width: 100%;
    height: 48px;
    background: #1a1a24;
    border: 1px solid rgba(201,168,76,0.14);
    border-radius: 12px;
    color: #f0ede8;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    padding: 0 16px 0 42px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

    .eq-input::placeholder {
        color: #44445a;
    }

    .eq-input:focus {
        border-color: #c9a84c;
        box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
        background: #1e1e2c;
    }

.eq-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

    .eq-select option {
        background: #1a1a24;
        color: #f0ede8;
    }

.eq-textarea {
    height: 110px;
    padding-top: 14px;
    resize: vertical;
    min-height: 90px;
}

.eq-val-msg {
    font-size: 11px;
    color: #ef4444;
}

.eq-submit-row {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.eq-submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px;
    background: linear-gradient(135deg, #c9a84c, #e8c96a);
    border: none;
    border-radius: 50px;
    color: #0a0a0f;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.4px;
    cursor: pointer;
    overflow: hidden;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 6px 22px rgba(201,168,76,0.35);
}

    .eq-submit-btn:hover {
        opacity: 0.9;
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(201,168,76,0.45);
    }

    .eq-submit-btn:active {
        transform: translateY(0);
    }

.eq-btn-shine {
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    transform: skewX(-15deg);
    animation: eqShineSweep 3s ease infinite;
}

.was-validated .eq-input:invalid {
    border-color: rgba(239,68,68,0.5);
    box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
}

.was-validated .eq-input:valid {
    border-color: rgba(74,222,128,0.4);
}

@media (max-width: 768px) {
    .eq-hero {
        padding: 36px 20px 28px;
    }

    .eq-pane {
        padding: 24px 20px 28px;
    }

    .eq-grid-form {
        grid-template-columns: 1fr;
    }

    .eq-field-full {
        grid-column: 1;
    }

    .eq-pane-head {
        gap: 12px;
    }

    .eq-pane-icon {
        width: 44px;
        height: 44px;
        font-size: 17px;
    }

    .eq-pane-title {
        font-size: 17px;
    }

    .eq-tab-btn span {
        display: none;
    }

    .eq-tab-btn {
        padding: 11px 18px;
    }
}

@media (max-width: 480px) {
    .eq-wrap {
        padding: 0 12px;
    }

    .eq-card {
        border-radius: 14px;
    }

    .eq-submit-btn {
        width: 100%;
        justify-content: center;
    }
}
