/* ========================================
   Layout
======================================== */
.contact-section {
    background: #f4f6f8;
    min-height: calc(100vh - 147px);
    padding: 34px 0 84px;
    border-top: 1px solid #d7dde3;
    border-bottom: 1px solid #d7dde3;
}

.section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 22px;
}

.section-head h1 {
    font-family: 'Bebas Neue', 'Arimo', sans-serif;
    font-weight: 400;
    font-size: clamp(2.6rem, 4.1vw, 3.9rem);
    letter-spacing: 0;
    line-height: .92;
    text-transform: uppercase;
    color: #101828;
}

.section-head h1 span {
    color: #E87B2A;
}

.section-head p {
    max-width: 680px;
    font-size: 15px;
    color: #4a5565;
    line-height: 1.55;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 24px;
    align-items: start;
}

/* ========================================
   Cards
======================================== */
.contact-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.contact-card {
    background: #fff;
    border: 1px solid #d7dde3;
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    box-shadow: 8px 8px 18px rgba(9,31,54,.12), -8px -8px 18px rgba(255,255,255,.86);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 12px 12px 24px rgba(9,31,54,.14), -10px -10px 22px rgba(255,255,255,.9);
    border-color: rgba(232,123,42,.55);
}

.contact-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(232,123,42,.12);
    border: 2px solid rgba(232,123,42,.42);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 3px 3px 7px rgba(9,31,54,.10), -3px -3px 7px rgba(255,255,255,.85);
}

.contact-card-icon svg {
    width: 19px;
    height: 19px;
    stroke: #E87B2A;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-card h2 {
    font-family: 'Bebas Neue', 'Arimo', sans-serif;
    font-weight: 400;
    font-size: 23px;
    line-height: 1.05;
    text-transform: uppercase;
    color: #0d2c4a;
    margin-bottom: 4px;
}

.contact-card p,
.contact-card a {
    font-size: 13px;
    color: #4a5565;
    line-height: 1.42;
}

.contact-card a {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    color: #E87B2A;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ========================================
   Form
======================================== */
.contact-form-wrap {
    background: #fff;
    border: 1px solid #d7dde3;
    border-radius: 8px;
    padding: 36px;
    box-shadow: 12px 12px 26px rgba(9,31,54,.12), -12px -12px 26px rgba(255,255,255,.86);
}

.form-title {
    font-family: 'Bebas Neue', 'Arimo', sans-serif;
    font-weight: 400;
    font-size: 34px;
    line-height: .98;
    color: #101828;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.form-intro {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5565;
    margin-bottom: 22px;
    max-width: 640px;
}

.fg {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fg:has(select) {
    position: relative;
}

.fg:has(select)::after {
    content: '';
    position: absolute;
    right: 16px;
    bottom: 17px;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(1,2,3,.72);
    border-bottom: 2px solid rgba(1,2,3,.72);
    transform: rotate(45deg);
    transform-origin: center;
    pointer-events: none;
    transition: border-color .15s, transform .15s;
}

.fg:has(select):focus-within::after {
    border-color: #E87B2A;
    transform: rotate(225deg);
}

.fg label {
    font-family: 'Arimo', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #364153;
    letter-spacing: .04em;
}

.fg input,
.fg select,
.fg textarea {
    width: 100%;
    background: rgba(1,2,3,.05);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 10px 14px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(1,2,3,.9);
    outline: none;
    box-shadow: inset 1px 1px 3px rgba(9,31,54,.09), inset -1px -1px 3px rgba(255,255,255,.52);
    transition: border-color .15s, background .15s, box-shadow .15s;
    -webkit-appearance: none;
}

.fg input::placeholder,
.fg textarea::placeholder {
    color: rgba(1,2,3,.5);
}

.fg input:hover,
.fg select:hover,
.fg textarea:hover {
    background: rgba(1,2,3,.055);
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
    background: rgba(1,2,3,.025);
    border-color: transparent;
}

.fg select {
    color: rgba(1,2,3,.9);
    padding-right: 40px;
}

.fg select option {
    background: #fff;
}

.fg textarea {
    height: 100px;
    resize: none;
    padding: 12px 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.form-full {
    margin-bottom: 12px;
}

.form-sub {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.form-sub button {
    width: 100%;
    background: #E87B2A;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 14px 32px;
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background .18s, box-shadow .18s, transform .18s;
}

.form-sub button:hover {
    background: #C4611A;
    box-shadow: 0 8px 18px rgba(9,31,54,.16);
    transform: translateY(-2px);
}

/* ========================================
   Map
======================================== */
.map-section {
    background: #0d2c4a;
    padding: 112px 0;
    border-top: 1px solid rgba(255,255,255,.12);
}

.map-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 32px;
    align-items: stretch;
}

.map-copy {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 34px;
    box-shadow: 12px 12px 26px rgba(0,0,0,.18), -12px -12px 26px rgba(255,255,255,.05);
}

.map-copy h2 {
    font-family: 'Bebas Neue', 'Arimo', sans-serif;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: .95;
    text-transform: uppercase;
    color: #fff;
}

.map-copy h2 span {
    color: #E87B2A;
}

.map-copy p {
    margin-top: 18px;
    color: rgba(255,255,255,.68);
    font-size: 17px;
    line-height: 1.7;
}

.map-badges {
    display: grid;
    gap: 12px;
}

.map-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    color: rgba(255,255,255,.9);
}

.map-badge-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #E87B2A;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 2px 2px 5px rgba(0,0,0,.22), -2px -2px 5px rgba(255,255,255,.08);
}

.map-badge-icon svg {
    width: 13px;
    height: 13px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.5;
}

.contact-map {
    min-height: 520px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 12px 12px 26px rgba(0,0,0,.18), -12px -12px 26px rgba(255,255,255,.05);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
    filter: grayscale(.15) contrast(1.05);
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 1024px) {
    .contact-layout,
    .map-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1600px) {
    .contact-section {
        min-height: calc(100vh - 147px);
        padding: 56px 0 88px;
    }

    .section-head {
        margin-bottom: 34px;
    }

    .section-head h1 {
        font-size: 4.8rem;
    }

    .section-head p {
        font-size: 16px;
    }

    .contact-layout {
        max-width: 1220px;
        margin: 0 auto;
    }

    .contact-card {
        padding: 18px 20px;
    }

    .contact-card-icon {
        width: 42px;
        height: 42px;
    }

    .contact-card-icon svg {
        width: 21px;
        height: 21px;
    }

    .contact-card h2 {
        font-size: 25px;
    }

    .contact-card p,
    .contact-card a {
        font-size: 14px;
        line-height: 1.5;
    }

    .contact-form-wrap {
        padding: 28px;
    }

    .form-title {
        font-size: 35px;
    }

    .form-intro {
        font-size: 14px;
        line-height: 1.52;
        margin-bottom: 16px;
    }

    .fg input,
    .fg select,
    .fg textarea {
        padding: 9px 12px;
        font-size: 15px;
    }

    .fg textarea {
        min-height: 68px;
    }

    .form-row,
    .form-full {
        margin-bottom: 10px;
    }

    .form-sub button {
        padding: 12px 28px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .section-head {
        align-items: flex-start;
        text-align: left;
    }

    .section-head h1 {
        font-size: 3.8rem;
    }

    .contact-section {
        min-height: auto;
        padding: 48px 0 76px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 22px;
    }

    .contact-form-wrap {
        padding: 26px;
    }

    .map-copy {
        padding: 26px;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 360px;
    }
}
