/* Global module - Contact Form */
.el-contact-card {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); /* 40:60, form on the right */
    overflow: hidden;
    border-radius: clamp(28px, 2.6vw, 48px);
    background: #f1f5f8;
}

/* Left: navy intro */
.el-contact-intro {
    padding: clamp(36px, 3vw, 56px) clamp(24px, 3vw, 58px) clamp(24px, 1.8vw, 32px);
    background: #0d2236;
    color: var(--el-color-white);
}

.el-contact-title {
    margin: 0 0 24px;
}

.el-contact-text {
    margin: 0 0 20px;
    font-size: 18px;
    line-height: 1.5;
    opacity: 0.9;
}

.el-contact-points {
    display: grid;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    font-size: 17px;
    line-height: 1.4;
}

.el-contact-points li {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 334px /* 260px of text after the 58px icon + 16px gap */;
}

.el-contact-point-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.el-contact-figure {
    position: relative;
    margin: 0;
    padding-top: 12px;
}

.el-contact-figure img {
    display: block;
    width: 72%;
    height: 170px;
    border-radius: 18px;
    object-fit: cover;
}

.el-contact-figure figcaption {
    width: min(220px, 100%);
    padding: 20px 22px;
    border-radius: 18px;
    background: rgba(225, 230, 235, 0.96);
    font-size: 16px;
    line-height: 1.4;
    color: var(--el-color-navy);
}

/* Caption overlaps the photo on its right edge. */
.el-contact-figure img + figcaption {
    position: absolute;
    right: 0;
    bottom: 32px;
    width: min(200px, 48%);
}

/* Middle: form */
.el-contact-form-wrap {
    padding: clamp(28px, 2.2vw, 40px) clamp(24px, 2.8vw, 52px);
}

.el-contact-form-title {
    margin: 0;
    color: var(--el-color-heading);
}

.el-contact-required {
    margin: 4px 0 20px;
    font-size: 12px;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7a88;
}

.el-contact-required span {
    color: var(--el-color-orange);
}

@media (max-width: 767px) {
    .el-contact-card {
        grid-template-columns: 1fr;
    }
}

/* Icon sizes from the design. */
.el-contact-point-icon svg {
    width: 28px;
    height: 28px;
}

/* Jumping to #get-in-touch: stop below the floating sticky header. */
.el-contact {
    scroll-margin-top: 110px;
}
