.contact-hero {
    position: relative;
    overflow: hidden;
    min-height: 62vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(237, 27, 36, 0.90)),
        linear-gradient(135deg, #ffffff 0%, #ed1b24 100%);
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 40%);
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 0 80px;
    color: #ffffff;
}

.page-tag,
.section-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-tag {
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-hero-content h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.4rem, 4.8vw, 4.6rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.contact-hero-content p {
    max-width: 720px;
    margin: 22px 0 0;
    font-size: clamp(1rem, 1.8vw, 1.12rem);
    color: rgba(255, 255, 255, 0.90);
}

.contact-section {
    padding: 96px 0;
}

.info-section {
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: start;
}

.section-tag {
    margin-bottom: 16px;
    color: #ed1b24;
    background: rgba(237, 27, 36, 0.08);
}

.section-tag.light {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.contact-copy h2,
.contact-form-wrap h2,
.section-head h2,
.final-cta-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    color: #23408e;
}

.contact-copy p,
.contact-form-wrap p,
.section-head p,
.final-cta-copy p {
    margin: 18px 0 0;
    color: #667085;
}

.contact-list {
    display: grid;
    gap: 18px;
    margin-top: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid rgba(35, 64, 142, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(35, 64, 142, 0.08);
}

.contact-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #23408e, #385399);
    color: #ffffff;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: #23408e;
}

.contact-item p {
    margin: 0;
    color: #667085;
}

.contact-item a {
    color: #ed1b24;
    font-weight: 600;
}

.social-row {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.social-row a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #23408e;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
}

.social-row a:nth-child(2) {
    background: #ed1b24;
}

.social-row a:nth-child(3) {
    background: #25D366;
}

.contact-form-wrap {
    padding: 34px 30px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fe 100%);
    border: 1px solid rgba(35, 64, 142, 0.08);
    box-shadow: 0 14px 34px rgba(35, 64, 142, 0.10);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #23408e;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(35, 64, 142, 0.14);
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 0.96rem;
    font-family: inherit;
    color: #1a274b;
    background: #ffffff;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ed1b24;
    box-shadow: 0 0 0 4px rgba(237, 27, 36, 0.10);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.map-section {
    background: #f7f9ff;
}

.map-placeholder {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(35, 64, 142, 0.20);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(35, 64, 142, 0.05), rgba(237, 27, 36, 0.06));
    color: #385399;
    font-weight: 700;
    text-align: center;
    padding: 24px;
}

.final-cta {
    background: linear-gradient(135deg, #ed1b24, #ff4b6d);
}

.final-cta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.final-cta-copy h2,
.final-cta-copy p {
    color: #ffffff;
}

.final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.96rem;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #ffffff;
    color: #ed1b24;
    box-shadow: 0 16px 40px rgba(35, 64, 142, 0.18);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.10);
}

@media (max-width: 1100px) {
    .contact-grid,
    .final-cta-grid {
        grid-template-columns: 1fr;
        display: grid;
    }
}

@media (max-width: 860px) {
    .contact-hero {
        min-height: auto;
    }

    .contact-hero-content {
        padding: 110px 0 72px;
    }

    .contact-grid,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .map-placeholder {
        min-height: 280px;
    }
}

@media (max-width: 640px) {
    .contact-section {
        padding: 72px 0;
    }

    .contact-hero-content h1 {
        font-size: 2.35rem;
    }

    .contact-hero-content p,
    .contact-copy p,
    .contact-form-wrap p,
    .section-head p,
    .final-cta-copy p {
        font-size: 0.98rem;
    }

    .contact-item,
    .contact-form-wrap {
        padding: 22px;
    }

    .final-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}