.contact-hero {
    padding-bottom: clamp(60px, 7vw, 96px);
}

.contact-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 34px 28px;
    border-radius: 24px;
    border: 1px solid rgba(246, 240, 234, 0.14);
    background-color: rgba(246, 240, 234, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s ease, border-color 0.4s ease, background-color 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(237, 86, 39, 0.5);
    background-color: rgba(246, 240, 234, 0.09);
}

.contact-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--cc-gradient);
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-card h2 {
    font-family: var(--cc-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(246, 236, 230, 0.55);
    margin-bottom: 8px;
}

.contact-card a,
.contact-card span {
    display: inline-block;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--cc-text-dark);
}

.contact-card a:hover {
    color: var(--cc-orange);
}

.contact-aside {
    flex: 1 1 340px;
    display: flex;
    flex-direction: column;
}

.contact-aside h2 {
    margin-bottom: 26px;
}

.contact-aside-media {
    margin-top: auto;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--cc-shadow);
}

.contact-form-card {
    position: relative;
    flex: 1 1 540px;
    padding: clamp(30px, 4vw, 52px);
    border-radius: clamp(26px, 3vw, 38px);
    background: var(--cc-gradient);
    box-shadow: 0 46px 90px -50px rgba(42, 21, 38, 0.7);
}

.contact-form-card h2 {
    font-size: clamp(1.4rem, 2.3vw, 1.95rem);
    margin-bottom: 30px;
    color: #fff;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 17px 22px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.92);
    font-family: var(--cc-body);
    font-size: 0.96rem;
    color: var(--cc-text-light);
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
    max-height: 320px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(36, 18, 31, 0.45);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background-color: #fff;
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.captcha-box {
    flex: 1 1 100%;
    padding: 24px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.16);
}

.captcha-box-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
}

@media (max-width: 575.98px) {
    .contact-card {
        padding: 24px 22px;
    }

    .contact-aside-media {
        border-radius: 24px;
    }
}
