@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700;800&display=swap');

/* =========================
   POPUP BUILDER WRAPPER
========================= */

.sgpb-popup-dialog-main-div-wrapper {
    background: rgba(0, 0, 0, 0.62) !important;
}

.sgpb-popup-dialog-main-div {
    width: min(680px, 94vw) !important;
    max-width: 680px !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22) !important;
    padding: 34px 28px 28px !important;
    box-sizing: border-box !important;
}

.sgpb-popup-builder-content-html {
    margin: 0 !important;
    padding: 0 !important;
}

.sgpb-popup-close-button-1,
.sgpb-popup-close-button-2,
.sgpb-popup-close-button-3,
.sgpb-popup-close-button-4,
.sgpb-popup-close-button-5 {
    top: 14px !important;
    right: 14px !important;
    width: 38px !important;
    height: 38px !important;
    line-height: 34px !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #111111 !important;
    font-size: 28px !important;
    font-weight: 300 !important;
    text-align: center !important;
    box-shadow: none !important;
    border: none !important;
}

@media (max-width: 768px) {
    .sgpb-popup-dialog-main-div {
        width: min(92vw, 560px) !important;
        padding: 30px 22px 24px !important;
        border-radius: 22px !important;
    }
}

@media (max-width: 480px) {
    .sgpb-popup-dialog-main-div {
        width: 94vw !important;
        padding: 26px 18px 20px !important;
        border-radius: 20px !important;
    }

    .sgpb-popup-close-button-1,
    .sgpb-popup-close-button-2,
    .sgpb-popup-close-button-3,
    .sgpb-popup-close-button-4,
    .sgpb-popup-close-button-5 {
        top: 10px !important;
        right: 10px !important;
        width: 34px !important;
        height: 34px !important;
        line-height: 30px !important;
        font-size: 24px !important;
    }
}

/* =========================
   FORM WRAP
========================= */

.kt-gbx-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    color: #0f1720;
    font-family: "Work Sans", Arial, sans-serif;
	/*fix*/
	height: 60px;
  border-radius: 13px;
}

.kt-gbx-input,
.kt-gbx-country,
.kt-gbx-submit,
.kt-gbx-count,
.kt-gbx-message {
    font-family: "Work Sans", Arial, sans-serif;
}

/* =========================
   IMAGE + HEADER
========================= */

.kt-gbx-hero-image {
    text-align: center;
    margin: 0 auto 14px;
}

.kt-gbx-hero-image img {
    display: inline-block;
    max-width: 105px;
    width: auto;
    height: auto;
}

.kt-gbx-header {
    text-align: center;
    margin-bottom: 24px;
}

.kt-gbx-eyebrow {
    color: #428f79;
    font-family: "Work Sans", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: none;
    margin-bottom: 12px;
}

.kt-gbx-title {
    margin: 0 auto;
    max-width: 560px;
    color: #050505;
    font-family: "Times New Roman", Times, serif;
    font-size: 42px;
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.kt-gbx-subtitle {
    margin-top: 14px;
    color: #126b54;
    font-family: "Times New Roman", Times, serif;
    font-size: 40px;
    line-height: 1.08;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.01em;
}

/* =========================
   FORM FIELDS
========================= */

.kt-gbx-form {
    width: 100%;
}

.kt-gbx-field,
.kt-gbx-phone-row {
    margin-bottom: 16px;
}

.kt-gbx-phone-row {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 14px;
    align-items: stretch;
}

.kt-gbx-country-wrap,
.kt-gbx-phone-wrap {
    height: 56px;
}

.kt-gbx-input,
.kt-gbx-country {
    width: 100%;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    border: 1.4px solid #aeb8c5;
    border-radius: 8px;
    background-color: #ffffff;
    color: #263142;
    font-size: 16px;
    font-weight: 500;
    line-height: 56px;
    outline: none;
    box-shadow: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.kt-gbx-input {
    padding: 0 18px;
}

.kt-gbx-input::placeholder {
    color: #657086;
    opacity: 1;
}

.kt-gbx-input:focus,
.kt-gbx-country:focus {
    border-color: #08624f;
    box-shadow: 0 0 0 4px rgba(8, 98, 79, 0.10);
}

.kt-gbx-country {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0 38px 0 16px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    line-height: normal;
    background-image:
        linear-gradient(45deg, transparent 50%, #657086 50%),
        linear-gradient(135deg, #657086 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 25px,
        calc(100% - 14px) 25px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

/* =========================
   BUTTON
========================= */

.kt-gbx-submit {
/*     width: 100%; */
    max-width: 340px;
    min-height: 50px;
    margin: 22px 10px auto 0;
    border: none;
    border-radius: 4px !important;
    overflow: hidden;
    background: #18807e;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    box-shadow: none;
}

.kt-gbx-submit:hover {
    background: #074f41;
    transform: translateY(-1px);
    opacity: 1;
}

.kt-gbx-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.kt-gbx-arrow {
    display: none;
}

/* =========================
   COUNT / SUPPORTING TEXT
========================= */

.kt-gbx-count {
    margin-top: 18px;
    text-align: center;
    color: #2b2b2b;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0.02em;
}

.kt-gbx-count strong {
    font-weight: 600;
}

/* =========================
   MESSAGE STATES
========================= */

.kt-gbx-message {
    display: none;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.kt-gbx-message.is-error {
    display: block;
    color: #b42318;
    background: #fff1f1;
    border: 1px solid #ffd0d0;
}

.kt-gbx-message.is-success {
    display: block;
    color: #067647;
    background: #ecfdf3;
    border: 1px solid #abefc6;
}

.kt-gbx-input.is-invalid,
.kt-gbx-country.is-invalid {
    border-color: #d92d20;
}

/* =========================
   TABLET
========================= */

@media (max-width: 768px) {
    .pum-container {
        width: min(92vw, 560px) !important;
        padding: 30px 22px 24px !important;
        border-radius: 22px !important;
    }

    .kt-gbx-title {
        font-size: 38px;
        max-width: 480px;
    }

    .kt-gbx-subtitle {
        font-size: 36px;
    }

    .kt-gbx-phone-row {
        grid-template-columns: 170px 1fr;
        gap: 12px;
    }

    .kt-gbx-submit {
        min-height: 50px;
        font-size: 16px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {
    .pum-container {
        width: 94vw !important;
        padding: 26px 18px 20px !important;
        border-radius: 20px !important;
    }

    .pum-close {
        top: 10px !important;
        right: 10px !important;
        width: 34px !important;
        height: 34px !important;
        line-height: 30px !important;
        font-size: 24px !important;
    }

    .kt-gbx-hero-image {
        margin-bottom: 10px;
    }

    .kt-gbx-hero-image img {
        max-width: 90px;
    }

    .kt-gbx-header {
        margin-bottom: 20px;
    }

    .kt-gbx-eyebrow {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 10px;
		color: #18807e;
    }

    .kt-gbx-title {
        font-size: 34px;
        line-height: 1.08;
        max-width: 100%;
    }

    .kt-gbx-subtitle {
        font-size: 32px;
        line-height: 1.08;
        margin-top: 12px;
    }

    .kt-gbx-field,
    .kt-gbx-phone-row {
/*         margin-bottom: 14px; */
		  margin-bottom: 26px;
		  margin-right: 20px;
		  margin-left: 20px;
    }

    .kt-gbx-phone-row {
        grid-template-columns: 132px 1fr;
        gap: 10px;
    }

    .kt-gbx-country-wrap,
    .kt-gbx-phone-wrap {
        height: 52px;
    }

    .kt-gbx-input,
    .kt-gbx-country {
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;
        font-size: 15px;
        border-radius: 8px;
        line-height: 52px;
    }

    .kt-gbx-input {
        padding: 0 14px;
    }

    .kt-gbx-country {
        padding-left: 12px;
        padding-right: 32px;
        font-size: 14px;
        line-height: normal;
        background-position:
            calc(100% - 18px) 23px,
            calc(100% - 12px) 23px;
    }

    .kt-gbx-submit {
        max-width: 100%;
        min-height: 52px;
        font-size: 16px;
        margin-top: 18px;
        border-radius: 4px !important;
    }

    .kt-gbx-count {
        margin-top: 14px;
        font-size: 14px;
    }
}

/* =========================
   VERY SMALL MOBILE
========================= */

@media (max-width: 360px) {
    .pum-container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .kt-gbx-title {
        font-size: 30px;
    }

    .kt-gbx-subtitle {
        font-size: 29px;
    }

    .kt-gbx-phone-row {
        grid-template-columns: 120px 1fr;
        gap: 8px;
    }

    .kt-gbx-country {
        font-size: 13px;
        padding-left: 10px;
        padding-right: 28px;
    }

    .kt-gbx-input {
        font-size: 14px;
    }

    .kt-gbx-submit {
        font-size: 15px;
    }
}