/* =========================================================
   PROP-KEYS CONTACT PAGE
   Bootstrap 5 + custom CSS
   ========================================================= */

:root {
    --pk-blue: #0868ef;
    --pk-blue-dark: #0a2b72;
    --pk-heading: #08245f;
    --pk-text: #294a78;
    --pk-border: #d9e8f8;
    --pk-panel: #f0f8ff;
    --pk-shadow: 0 5px 16px rgba(12, 74, 150, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--pk-heading);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.contact-page {
    width: 100%;
    min-height: 100vh;
    padding: 12px 0;
    background: #fff;
}

.contact-wrapper {
    width: min(100%, 1510px);
    margin: 0 auto;
    padding: 0 10px;
    display: grid;
    grid-template-columns: minmax(0, 47%) minmax(0, 53%);
    gap: 26px;
    align-items: stretch;
}

/* LEFT PANEL */
.contact-form-panel {
    background: linear-gradient(145deg, #f2faff 0%, #edf7ff 100%);
    border-radius: 18px;
    padding: 28px 38px 24px;
    border: 1px solid #e7f1fa;
}

.eyebrow {
    color: var(--pk-blue);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.contact-form-panel h1 {
    color: var(--pk-heading);
    font-size: clamp(30px, 2.45vw, 42px);
    line-height: 1.08;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.7px;
}

.intro-text {
    color: #365b88;
    font-size: 17px;
    line-height: 1.4;
    margin: 0 0 25px;
}

.form-field {
    position: relative;
    margin-bottom: 16px;
}

.custom-input,
.custom-textarea {
    width: 100%;
    border: 2px solid var(--pk-border);
    border-radius: 11px;
    background: #fff;
    color: #163e73;
    box-shadow: none;
    font-size: 17px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.custom-input {
    height: 67px;
    padding: 0 18px 0 60px;
}

.custom-input::placeholder,
.custom-textarea::placeholder {
    color: #34577f;
    opacity: 1;
}

.custom-input:focus,
.custom-textarea:focus {
    border-color: #6caeff;
    box-shadow: 0 0 0 4px rgba(8, 104, 239, .08);
}

.form-icon {
    position: absolute;
    z-index: 2;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #28568b;
    font-size: 25px;
    pointer-events: none;
}

.select-field .form-icon {
    font-size: 23px;
}

.select-field::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #0a3d80;
    font-size: 17px;
    pointer-events: none;
}

.select-field .custom-input {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 52px;
}

.custom-textarea {
    height: 132px;
    resize: vertical;
    min-height: 100px;
    padding: 18px 18px 15px 60px;
}

.textarea-icon {
    top: 22px;
    transform: none;
}

.send-btn {
    width: 100%;
    height: 69px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #0876ff 0%, #0865e8 100%);
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    box-shadow: 0 3px 7px rgba(0, 100, 240, .20);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.send-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(0, 100, 240, .23);
    background: linear-gradient(180deg, #0870f5 0%, #075dd8 100%);
}

.form-success {
    display: none;
    margin-top: 12px;
    padding: 11px 14px;
    border-radius: 9px;
    background: #e8f8ee;
    color: #17643a;
    font-size: 14px;
    font-weight: 700;
}

.form-success.show {
    display: block;
}

.privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #416185;
    font-size: 15px;
    margin-top: 26px;
    text-align: center;
}

.privacy-note i {
    font-size: 20px;
    color: #294f7d;
}

/* RIGHT PANEL */
.office-panel {
    min-width: 0;
    padding-top: 10px;
}

.office-heading {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 0 0 20px;
}

.office-heading-icon {
    flex: 0 0 auto;
    color: var(--pk-blue);
    font-size: 48px;
    line-height: 1;
    margin-top: 0;
}

.office-heading h2 {
    color: var(--pk-heading);
    font-size: clamp(28px, 2.1vw, 39px);
    line-height: 1.08;
    font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -.5px;
}

.office-heading p {
    color: #416487;
    font-size: 16px;
    margin: 0;
    line-height: 1.3;
}

.office-cards {
    margin-top: 0;
}

.office-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0ecf7;
    border-radius: 12px;
    box-shadow: var(--pk-shadow);
}

.office-image {
    display: block;
    width: 100%;
    height: 193px;
    object-fit: cover;
    border-bottom: 1px solid #dfeaf5;
}

.office-content {
    padding: 17px 15px 16px;
}

.office-content h3 {
    color: var(--pk-heading);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 13px;
}

.address {
    color: #36577e;
    font-size: 14px;
    line-height: 1.42;
    min-height: 55px;
    margin: 0 0 17px;
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #1f4676;
    font-size: 14px;
    line-height: 1.25;
    margin-bottom: 14px;
}

.contact-line:last-child {
    margin-bottom: 0;
}

.contact-line i {
    flex: 0 0 25px;
    width: 25px;
    color: var(--pk-blue);
    font-size: 22px;
    line-height: 1;
}

.contact-line a {
    color: #173d70;
    font-weight: 700;
    text-decoration: none;
    padding-top: 2px;
}

.contact-line span {
    padding-top: 2px;
    font-weight: 600;
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 41px;
    background: #fff;
    border: 1px solid #e0ecf7;
    border-radius: 12px;
    box-shadow: var(--pk-shadow);
    min-height: 135px;
    overflow: hidden;
}

.feature-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px 8px;
}

.feature-item + .feature-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: #e8eef5;
}

.feature-icon {
    color: var(--pk-blue);
    font-size: 39px;
    line-height: 1;
    margin-bottom: 13px;
}

.feature-item strong {
    color: var(--pk-heading);
    display: block;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 7px;
}

.feature-item span {
    color: #3f5f83;
    display: block;
    font-size: 15px;
    line-height: 1.2;
}

/* TABLET */
@media (max-width: 1199.98px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 26px;
        max-width: 1000px;
    }

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

    .office-panel {
        padding-top: 0;
    }

    .office-heading h2 {
        font-size: 32px;
    }

    .office-image {
        height: 210px;
    }
}

/* MOBILE */
@media (max-width: 767.98px) {
    .contact-page {
        padding: 8px 0 20px;
    }

    .contact-wrapper {
        padding: 0 10px;
        gap: 22px;
    }

    .contact-form-panel {
        border-radius: 15px;
        padding: 22px 15px 20px;
    }

    .eyebrow {
        font-size: 14px;
        letter-spacing: 1.7px;
        margin-bottom: 9px;
    }

    .contact-form-panel h1 {
        font-size: 29px;
        letter-spacing: -.4px;
    }

    .intro-text {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .custom-input {
        height: 59px;
        font-size: 15px;
        padding-left: 52px;
    }

    .custom-textarea {
        height: 120px;
        font-size: 15px;
        padding-left: 52px;
    }

    .form-icon {
        left: 15px;
        font-size: 22px;
    }

    .send-btn {
        height: 60px;
        font-size: 18px;
    }

    .privacy-note {
        font-size: 12px;
        line-height: 1.35;
        margin-top: 20px;
    }

    .office-heading {
        gap: 11px;
        margin-bottom: 16px;
    }

    .office-heading-icon {
        font-size: 37px;
    }

    .office-heading h2 {
        font-size: 25px;
        margin-bottom: 4px;
    }

    .office-heading p {
        font-size: 13px;
    }

    .office-cards {
        --bs-gutter-x: 0;
        --bs-gutter-y: 14px;
    }

    .office-image {
        height: 190px;
    }

    .office-content {
        padding: 15px;
    }

    .office-content h3 {
        font-size: 18px;
    }

    .address {
        font-size: 14px;
        min-height: auto;
        margin-bottom: 15px;
    }

    .contact-line {
        font-size: 13.5px;
        margin-bottom: 12px;
    }

    .feature-strip {
        grid-template-columns: 1fr 1fr;
        margin-top: 22px;
        min-height: auto;
    }

    .feature-item {
        min-height: 130px;
        padding: 14px 7px;
    }

    .feature-item:nth-child(3)::before {
        top: 0;
    }

    .feature-item:nth-child(n+3) {
        border-top: 1px solid #e8eef5;
    }

    .feature-item:nth-child(3)::before,
    .feature-item:nth-child(4)::before {
        top: 15px;
        bottom: 15px;
    }

    .feature-icon {
        font-size: 32px;
        margin-bottom: 9px;
    }

    .feature-item strong {
        font-size: 14px;
    }

    .feature-item span {
        font-size: 12px;
    }
}

/* SMALL MOBILE */
@media (max-width: 390px) {
    .contact-form-panel {
        padding: 20px 12px 18px;
    }

    .contact-form-panel h1 {
        font-size: 26px;
    }

    .office-heading h2 {
        font-size: 23px;
    }

    .office-image {
        height: 175px;
    }

    .feature-item strong {
        font-size: 13px;
    }
}
