.contact-page-hero {
    min-height: 355px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        url("image/contact-top.jpg")
        center / cover
        no-repeat;
}

.contact-page-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(13, 36, 81, 0.96) 0%,
            rgba(22, 51, 107, 0.86) 50%,
            rgba(22, 51, 107, 0.46) 100%
        );
}

.contact-page-hero-content {
    position: relative;
    z-index: 2;
    padding: 55px 0 60px;
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-weight: 500;
}

.contact-breadcrumb a {
    transition: color 0.2s ease;
}

.contact-breadcrumb a:hover {
    color: var(--white);
}

.contact-breadcrumb i {
    color: rgba(255, 255, 255, 0.4);
    font-size: 9px;
}

.contact-breadcrumb span {
    color: var(--accent);
}

.contact-hero-label {
    margin-bottom: 12px;
}

.contact-page-hero h1 {
    margin-bottom: 16px;
    color: var(--white);
    font-size: clamp(2.8rem, 6vw, 4.3rem);
    font-weight: 800;
    letter-spacing: -0.045em;
}

.contact-page-hero-content > p {
    max-width: 700px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 16px;
    line-height: 1.75;
}

.contact-main-section {
    padding: 100px 0 110px;
    background: var(--light);
}

.contact-main-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(340px, 0.75fr);
    align-items: start;
    gap: 45px;
}

.contact-form-column,
.contact-office-card {
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: 16px;
    background: var(--white);
    box-shadow:
        0 18px 50px rgba(15, 23, 42, 0.07);
}

.contact-form-column {
    padding: 42px;
}

.contact-form-column h2 {
    margin-bottom: 13px;
}

.contact-form-intro {
    max-width: 650px;
    margin-bottom: 32px;
    color: var(--muted);
}

.contact-alert {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
    padding: 15px 47px 15px 15px;
    border: 1px solid;
    border-radius: 10px;
}

.contact-alert p {
    margin: 0;
    font-size: 13px;
}

.contact-alert-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.contact-alert-success {
    border-color: #b8dfc7;
    background: #eefaf2;
    color: #176b3a;
}

.contact-alert-error {
    border-color: #f0c3c3;
    background: #fff3f3;
    color: #9c2525;
}

.contact-alert-close {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 8px;
    right: 9px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: transparent;
    color: currentColor;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px;
}

.contact-field {
    min-width: 0;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}

.contact-field label span {
    color: var(--accent);
}

.contact-input-wrapper,
.contact-textarea-wrapper {
    position: relative;
}

.contact-input-wrapper > i:first-child {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #9299a6;
    font-size: 13px;
    pointer-events: none;
}

.contact-input-wrapper input,
.contact-input-wrapper select,
.contact-textarea-wrapper textarea {
    width: 100%;
    border: 1px solid #d8dde5;
    border-radius: 9px;
    background: var(--white);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.contact-input-wrapper input,
.contact-input-wrapper select {
    height: 50px;
    padding: 0 43px;
}

.contact-input-wrapper select {
    appearance: none;
    cursor: pointer;
}

.contact-select-arrow {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 10px;
    pointer-events: none;
}

.contact-textarea-wrapper textarea {
    min-height: 190px;
    display: block;
    resize: vertical;
    padding: 15px 16px 42px;
    line-height: 1.65;
}

.contact-input-wrapper input::placeholder,
.contact-textarea-wrapper textarea::placeholder {
    color: #a0a6b1;
}

.contact-input-wrapper input:focus,
.contact-input-wrapper select:focus,
.contact-textarea-wrapper textarea:focus {
    border-color: var(--accent);
    box-shadow:
        0 0 0 4px rgba(245, 130, 32, 0.1);
}

.contact-input-wrapper input[aria-invalid="true"],
.contact-input-wrapper select[aria-invalid="true"],
.contact-textarea-wrapper textarea[aria-invalid="true"] {
    border-color: #d94a4a;
    background: #fffafa;
}

.contact-field-error {
    display: block;
    margin-top: 6px;
    color: #c83d3d;
    font-size: 11px;
}

.contact-character-count {
    position: absolute;
    right: 13px;
    bottom: 11px;
    color: #9299a6;
    font-size: 10px;
}

.contact-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 28px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.contact-form-bottom > p {
    max-width: 420px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.contact-form-bottom > p i {
    margin-top: 3px;
    color: var(--accent);
}

.contact-submit-button {
    min-width: 220px;
    flex-shrink: 0;
}

.contact-submit-button:disabled {
    cursor: not-allowed;
    opacity: 0.75;
    transform: none;
}

.contact-office-column {
    display: grid;
    gap: 25px;
}

.contact-office-card {
    padding: 34px;
}

.contact-office-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.contact-office-card h2 {
    margin-bottom: 15px;
    font-size: 27px;
}

.contact-office-card > p {
    margin-bottom: 27px;
    color: var(--muted);
    font-size: 13px;
}

.contact-information-list {
    display: grid;
    gap: 13px;
}

.contact-information-item {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--light);
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

a.contact-information-item:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 130, 32, 0.35);
    background: var(--white);
}

.contact-information-icon {
    width: 42px;
    height: 42px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 9px;
    background: rgba(245, 130, 32, 0.11);
    color: var(--accent);
    font-size: 16px;
}

.contact-information-item > div:last-child {
    min-width: 0;
}

.contact-information-item span,
.contact-information-item strong,
.contact-information-item small {
    display: block;
}

.contact-information-item span {
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.contact-information-item strong {
    overflow-wrap: anywhere;
    color: var(--primary);
    font-size: 14px;
}

.contact-information-item small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.contact-office-image {
    height: 305px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: #dfe5ec;
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.1);
}

.contact-office-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-office-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background:
        linear-gradient(
            to top,
            rgba(10, 29, 67, 0.8),
            transparent 60%
        );
}

.contact-office-image-overlay > div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
}

.contact-office-image-overlay i {
    color: var(--accent);
}

.contact-call-section {
    padding: 90px 0;
    background: var(--accent);
    text-align: center;
}

.contact-call-content {
    max-width: 760px;
}

.contact-call-label {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 17px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-call-section h2 {
    margin-bottom: 18px;
    color: var(--white);
}

.contact-call-section p {
    max-width: 620px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 1050px) {

    .contact-main-grid {
        grid-template-columns:
            minmax(0, 1.25fr)
            minmax(310px, 0.75fr);
        gap: 30px;
    }

    .contact-form-column {
        padding: 34px;
    }

    .contact-office-card {
        padding: 28px;
    }

}

@media (max-width: 850px) {

    .contact-page-hero {
        min-height: 330px;
    }

    .contact-page-overlay {
        background: rgba(13, 36, 81, 0.88);
    }

    .contact-main-section {
        padding: 75px 0;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .contact-office-column {
        grid-template-columns: 1fr 1fr;
    }

    .contact-office-image {
        height: auto;
        min-height: 100%;
    }

}

@media (max-width: 650px) {

    .contact-page-hero-content {
        padding: 45px 0 50px;
    }

    .contact-breadcrumb {
        margin-bottom: 28px;
    }

    .contact-page-hero-content > p {
        font-size: 14px;
    }

    .contact-form-column {
        padding: 25px 20px;
        border-radius: 13px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .contact-field-full {
        grid-column: auto;
    }

    .contact-form-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-submit-button {
        width: 100%;
        min-width: 0;
    }

    .contact-office-column {
        grid-template-columns: 1fr;
    }

    .contact-office-card {
        padding: 26px 21px;
    }

    .contact-office-image {
        height: 280px;
        min-height: 0;
    }

    .contact-call-section {
        padding: 72px 0;
    }

}

.contact-office-image{
    overflow:hidden;
    border-radius:18px;
    box-shadow:0 20px 50px rgba(0,0,0,.12);
    min-height:450px;
}

.contact-office-image iframe{
    width:100%;
    height:100%;
    min-height:450px;
    border:0;
    display:block;
}

@media (max-width:768px){

    .contact-office-image,
    .contact-office-image iframe{
        min-height:350px;
    }

}