.contact-intro,
.contact-card,
.contact-info-card,
.contact-card p,
.contact-info-card p,
.contact-card span,
.contact-info-card span,
.contact-card li,
.contact-info-card li,
.contact-card label,
.contact-info-card label,
.contact-info-list,
.contact-info-list li,
.contact-info-list strong,
.contact-info-list a,
.contact-form-group label,
.contact-consent,
.contact-consent span {
    color: #262541;
}

.contact-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.contact-hero {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.contact-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.contact-hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 2rem;
    align-items: start;
}

.contact-card,
.contact-info-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.contact-card h2,
.contact-info-card h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.contact-form-group {
    margin-bottom: 1.2rem;
}

.contact-form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.contact-form-group span {
    color: #e63946;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: #e63946;
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12);
}

.contact-form-group textarea {
    min-height: 170px;
    resize: vertical;
}

.contact-consent {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.4rem;
}

.contact-consent input {
    margin-top: 0.2rem;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 10px;
    background: #262541;
    color: #fff;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: transform 0.5s ease, background 0.5s ease;
    border: 3px solid transparent;
}

.contact-button-row {
    display: flex;
    justify-content: flex-end;
}

.contact-button:hover {
    background: #FFF;
    border: 3px solid #262541;
    color: #262541;
}

.contact-message {
    border-radius: 14px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.4rem;
    font-weight: 600;
}

.contact-message.success {
    background: #e8f8ef;
    color: #176b3a;
    border: 1px solid #bfe8cf;
}

.contact-message.error {
    background: #fff0f0;
    color: #9f1d1d;
    border: 1px solid #f1c1c1;
}

.contact-info-card p {
    color: #555;
    line-height: 1.7;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
}

.contact-info-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.contact-info-list li:last-child {
    border-bottom: none;
}

.contact-info-list strong {
    display: block;
    margin-bottom: 0.2rem;
}

.contact-info-list a {
    color: #e63946;
    font-weight: 700;
    text-decoration: none;
}

.contact-info-list a:hover {
    text-decoration: underline;
}

.contact-hidden {
    display: none;
}

@media (max-width: 850px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-card,
    .contact-info-card {
        padding: 1.4rem;
    }
}