﻿/* Project Popup V2 — Laravel PopUp_Updated (namespaced; old popup untouched) */
.project-popup-v2-modal.modal {
    padding-right: 0 !important;
}

.project-popup-v2-modal .modal-dialog,
.project-popup-v2-modal .modal-dialog.project-popup-v2-dialog {
    max-width: 1200px !important;
    width: min(1200px, 94vw) !important;
    margin: 1.25rem auto !important;
}

.project-popup-v2-modal .modal-content {
    background: transparent !important;
    border: none !important;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: none;
}

.project-popup-v2 {
    position: relative;
    width: 100%;
    border-radius: 34px;
    overflow: hidden;
    font-family: "Poppins", sans-serif;
    background: #0a1622;
    color: #fff;
}

.project-popup-v2 img {
    max-width: 100%;
    display: block;
}

.project-popup-v2__body {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: stretch;
    height: auto;
}

/* ===== LEFT ===== */
.project-popup-v2__left {
    position: relative;
    color: #fff;
    background-color: #0a1622;
    overflow: hidden;
}

.project-popup-v2__left::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--project-popup-v2-bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    transform: scaleY(-1);
    pointer-events: none;
    z-index: 0;
}

.project-popup-v2__left-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    height: 100%;
    padding: 40px 28px 40px 40px;
    box-sizing: border-box;
}

.project-popup-v2__badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 6px 16px;
    border-radius: 9999px;
    background: #f47a1f;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    white-space: nowrap;
}

.project-popup-v2__headline {
    margin: 0;
    color: #fff !important;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -1px;
}

.project-popup-v2__brand {
    color: #f47a1f;
}

.project-popup-v2__points {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
}

.project-popup-v2__point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.16px;
}

.project-popup-v2__point-icon {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    display: block;
    object-fit: contain;
}

.project-popup-v2__intro {
    margin: 0 0 2px;
    max-width: 440px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    opacity: 0.95;
}

.project-popup-v2__contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 28px;
    width: 100%;
}

.project-popup-v2__contact {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 70px;
    min-height: 70px;
    padding: 0 16px 0 17px;
    border-radius: 16px;
    background: rgba(16, 36, 54, 0.85);
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.05);
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.project-popup-v2__contact:hover {
    background: rgba(16, 36, 54, 0.95);
    color: #fff;
    transform: translateY(-1px);
}

.project-popup-v2__contact-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: rgba(244, 122, 31, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.project-popup-v2__contact-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.project-popup-v2__contact-icon img[src*="whatsapp"] {
    width: 16px;
    height: 16px;
}

.project-popup-v2__contact-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.project-popup-v2__contact-title {
    display: block;
    color: #fff !important;
    font-size: 19px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: -1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-popup-v2__contact-sub {
    display: block;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.55px;
    opacity: 0.75;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-popup-v2__contact-chevron {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.project-popup-v2__contact-chevron img {
    width: 6.33px;
    height: 11px;
    max-width: none;
    object-fit: contain;
}

/* ===== RIGHT / FORM ===== */
.project-popup-v2__right {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff !important;
    border-radius: 0 32px 32px 0;
    border: 1px solid #f1f5f9;
    box-shadow: 0 12px 40px -15px rgba(0, 0, 0, 0.07);
    padding: 40px;
    color: #314252;
    overflow: visible;
}

.project-popup-v2__close {
    position: absolute;
    top: 21px;
    right: 21px;
    width: 27px;
    height: 27px;
    border: 0;
    border-radius: 30px;
    background: rgba(115, 115, 115, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    z-index: 2;
}

.project-popup-v2__close img {
    width: 9px;
    height: 9px;
}

.project-popup-v2__form-head {
    margin-bottom: 18px;
    padding-right: 28px;
}

.project-popup-v2__form-title {
    margin: 0;
    color: #314252;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.7px;
    text-transform: capitalize;
}

.project-popup-v2__form-desc {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.project-popup-v2__form {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1 1 auto;
    min-height: 0;
}

.project-popup-v2__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px 16px;
}

.project-popup-v2__field {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
}

.project-popup-v2__field--phone,
.project-popup-v2__field--business {
    grid-column: span 3;
}

.project-popup-v2__field--need,
.project-popup-v2__field--budget {
    grid-column: span 3;
}

.project-popup-v2__field--full {
    grid-column: 1 / -1;
}

.project-popup-v2__field label {
    margin: 0;
    color: #314252;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.project-popup-v2__field label span {
    color: #f47a1f;
}

.project-popup-v2__field input,
.project-popup-v2__field textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(49, 66, 82, 0.2);
    border-radius: 0;
    background: transparent;
    color: #314252;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    padding: 2px 0 6px;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s ease;
}

.project-popup-v2__field textarea {
    min-height: 44px;
    max-height: 56px;
    resize: none;
}

.project-popup-v2__field input:focus,
.project-popup-v2__field textarea:focus {
    border-bottom-color: #f47a1f;
}

.project-popup-v2__native-select {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.project-popup-v2__custom-select {
    position: relative;
}

.project-popup-v2__custom-select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 28px;
    padding: 2px 0 6px;
    border: 0;
    border-bottom: 1px solid rgba(49, 66, 82, 0.2);
    border-radius: 0;
    background: transparent;
    color: #314252;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
}

.project-popup-v2__custom-select-trigger.is-placeholder {
    color: #94a3b8;
}

.project-popup-v2__select-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    width: 9px !important;
    height: 5px !important;
    max-width: none !important;
    transform: translateY(-50%);
    pointer-events: none;
    object-fit: contain;
}

.project-popup-v2__custom-select-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 20;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    max-height: 220px;
    overflow: auto;
    display: none;
}

.project-popup-v2__custom-select.is-open .project-popup-v2__custom-select-menu {
    display: block;
}

.project-popup-v2__custom-select-option {
    width: 100%;
    border: 0;
    background: transparent;
    color: #314252;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    padding: 8px 14px;
    cursor: pointer;
}

.project-popup-v2__custom-select-option:hover,
.project-popup-v2__custom-select-option.is-selected {
    background: rgba(244, 122, 31, 0.08);
    color: #f47a1f;
}

.project-popup-v2__field .error_tek {
    min-height: 0;
    color: #dc2626;
    font-size: 10px;
    line-height: 12px;
}

.project-popup-v2__field .error_tek:empty {
    display: none;
}

.project-popup-v2__trust {
    display: flex;
    gap: 20px;
    margin: 14px 0 8px;
    margin-top: auto;
}

.project-popup-v2__trust-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    flex: 1 1 0;
    min-width: 0;
}

.project-popup-v2__trust-item img {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 1px;
}

.project-popup-v2__trust-item p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.project-popup-v2__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 8px;
    padding: 12px 24px;
    border: 0;
    border-radius: 9999px;
    background: #f47a1f;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.project-popup-v2__submit:hover {
    background: #e06d14;
    color: #fff;
}

.project-popup-v2__submit img {
    width: 16px;
    height: 16px;
}

.project-popup-v2__loader {
    display: block;
    width: 48px;
    margin: 12px auto 0;
}

.project-popup-v2__success {
    margin-top: 12px;
    font-size: 13px;
}

.project-popup-v2__form .g-recaptcha,
.project-popup-v2__form .recaptcha,
.project-popup-v2__form [data-recaptcha],
.project-popup-v2__form .recaptcha-item {
    margin-top: 4px;
    margin-bottom: 0;
    transform: scale(0.78);
    transform-origin: left top;
    height: 60px;
    overflow: hidden;
}

.project-popup-v2__form .recaptcha-item .error_tek:empty {
    display: none;
}

/* ===== <= 1800 ===== */
@media (max-width: 1800px) {
    .project-popup-v2-modal .modal-dialog,
    .project-popup-v2-modal .modal-dialog.project-popup-v2-dialog {
        max-width: 1160px !important;
    }
}

/* ===== <= 1599 ===== */
@media (max-width: 1599px) {
    .project-popup-v2-modal .modal-dialog,
    .project-popup-v2-modal .modal-dialog.project-popup-v2-dialog {
        max-width: 1100px !important;
    }

    .project-popup-v2__form-title {
        font-size: 32px;
    }

    .project-popup-v2__headline {
        font-size: 26px;
        line-height: 1.25;
    }

    .project-popup-v2__point {
        font-size: 15px !important;
        line-height: 21px;
    }

    .project-popup-v2__left-inner {
        padding: 32px 24px 24px 32px;
    }

    .project-popup-v2__right {
        justify-content: flex-start;
        padding: 32px;
    }

    .project-popup-v2__contact-title {
        font-size: 17px;
    }
}

/* ===== <= 1399 ===== */
@media (max-width: 1399px) {
    .project-popup-v2-modal .modal-dialog,
    .project-popup-v2-modal .modal-dialog.project-popup-v2-dialog {
        max-width: 980px !important;
    }

    .project-popup-v2 {
        border-radius: 28px;
    }

    .project-popup-v2-modal .modal-content {
        border-radius: 28px;
    }

    .project-popup-v2__right {
        justify-content: flex-start;
        border-radius: 0 28px 28px 0;
        padding: 28px;
    }

    .project-popup-v2__form-title {
        font-size: 30px;
    }

    .project-popup-v2__headline {
        font-size: 24px;
        letter-spacing: -0.8px;
        line-height: 1.25;
    }

    .project-popup-v2__points {
        gap: 12px;
        margin-top: 18px;
    }

    .project-popup-v2__point {
        font-size: 15px !important;
        line-height: 22px;
    }

    .project-popup-v2__intro {
        font-size: 13px;
        line-height: 18px;
    }

    .project-popup-v2__left-inner {
        padding: 28px 22px 22px;
    }

    .project-popup-v2__contact {
        height: 64px;
        min-height: 64px;
        padding: 0 14px 0 15px;
    }

    .project-popup-v2__contact-title {
        font-size: 16px;
        letter-spacing: -0.8px;
    }
}

/* ===== <= 1199 ===== */
@media (max-width: 1199px) {
    .project-popup-v2-modal .modal-dialog,
    .project-popup-v2-modal .modal-dialog.project-popup-v2-dialog {
        max-width: 900px !important;
        width: 96vw !important;
    }

    .project-popup-v2__body {
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .project-popup-v2 {
        max-height: calc(100vh - 2rem);
        overflow: auto;
    }

    .project-popup-v2__left-inner {
        min-height: 0;
    }

    .project-popup-v2__badge {
        font-size: 13px;
    }

    .project-popup-v2__form-title {
        font-size: 26px;
    }

    .project-popup-v2__grid {
        gap: 8px 12px;
    }

    .project-popup-v2__trust {
        gap: 12px;
    }

    .project-popup-v2__contact-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }
}

/* ===== <= 991 ===== */
@media (max-width: 991px) {
    .project-popup-v2-modal .modal-dialog,
    .project-popup-v2-modal .modal-dialog.project-popup-v2-dialog {
        max-width: 640px !important;
        margin: 1rem auto !important;
    }

    .project-popup-v2 {
        border-radius: 24px;
        max-height: calc(100vh - 2rem);
        overflow: auto;
    }

    .project-popup-v2-modal .modal-content {
        border-radius: 24px;
    }

    .project-popup-v2__body {
        grid-template-columns: 1fr;
        height: auto;
    }

    .project-popup-v2__left {
        display: none !important;
    }

    .project-popup-v2__right {
        order: 0;
        border-radius: 24px;
        border-left: 0;
        border-bottom: 0;
        border-top: 0;
        padding: 28px 24px 24px;
    }

    .project-popup-v2__left-inner {
        padding: 28px 24px 24px;
        gap: 10px;
    }

    .project-popup-v2__headline {
        font-size: 24px;
        letter-spacing: -0.6px;
        line-height: 1.3;
    }

    .project-popup-v2__points {
        max-width: none;
        margin-top: 16px;
        gap: 10px;
    }

    .project-popup-v2__point {
        font-size: 15px;
        line-height: 21px;
    }

    .project-popup-v2__intro {
        max-width: none;
        margin-bottom: 4px;
    }

    .project-popup-v2__contacts {
        gap: 10px;
    }

    .project-popup-v2__form-title {
        font-size: 26px;
    }

    .project-popup-v2__form-head {
        margin-bottom: 20px;
    }

    .project-popup-v2__field--phone,
    .project-popup-v2__field--business,
    .project-popup-v2__field--need,
    .project-popup-v2__field--budget {
        grid-column: span 3;
    }
}

/* ===== <= 768 ===== */
@media (max-width: 768px) {
    .project-popup-v2-modal .modal-dialog,
    .project-popup-v2-modal .modal-dialog.project-popup-v2-dialog {
        width: 94vw !important;
        margin: 0.75rem auto !important;
    }

    .project-popup-v2 {
        border-radius: 20px;
        max-height: calc(100vh - 1.5rem);
    }

    .project-popup-v2-modal .modal-content {
        border-radius: 20px;
    }

    .project-popup-v2__left-inner,
    .project-popup-v2__right {
        padding: 22px 18px;
    }

    .project-popup-v2__right {
        border-radius: 20px;
    }

    .project-popup-v2__badge {
        font-size: 13px;
        padding: 5px 12px;
    }

    .project-popup-v2__headline {
        font-size: 22px;
    }

    .project-popup-v2__points {
        gap: 8px;
        margin-top: 12px;
    }

    .project-popup-v2__point {
        font-size: 14px;
        line-height: 20px;
    }

    .project-popup-v2__point-icon {
        flex-basis: 14px;
        width: 14px;
        height: 14px;
        margin-top: 3px;
    }

    .project-popup-v2__intro {
        font-size: 14px;
        line-height: 20px;
    }

    .project-popup-v2__contact {
        height: 60px;
        min-height: 60px;
        border-radius: 14px;
        gap: 12px;
    }

    .project-popup-v2__contact-title {
        font-size: 15px;
        letter-spacing: -0.5px;
    }

    .project-popup-v2__form-title {
        font-size: 24px;
    }

    .project-popup-v2__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .project-popup-v2__field,
    .project-popup-v2__field--phone,
    .project-popup-v2__field--business,
    .project-popup-v2__field--need,
    .project-popup-v2__field--budget,
    .project-popup-v2__field--full {
        grid-column: 1 / -1;
    }

    .project-popup-v2__trust {
        flex-direction: column;
        gap: 10px;
        margin-top: 12px;
    }

    .project-popup-v2__close {
        top: 14px;
        right: 14px;
    }
}

/* ===== <= 574 ===== */
@media (max-width: 574px) {
    .project-popup-v2-modal .modal-dialog,
    .project-popup-v2-modal .modal-dialog.project-popup-v2-dialog {
        width: 96vw !important;
        margin: 0.5rem auto !important;
    }

    .project-popup-v2 {
        border-radius: 16px;
        max-height: calc(100vh - 1rem);
    }

    .project-popup-v2-modal .modal-content {
        border-radius: 16px;
    }

    .project-popup-v2__left-inner,
    .project-popup-v2__right {
        padding: 18px 14px;
    }

    .project-popup-v2__right {
        border-radius: 16px;
    }

    .project-popup-v2__headline {
        font-size: 20px;
        line-height: 1.25;
    }

    .project-popup-v2__points {
        gap: 8px;
        margin-top: 12px;
    }

    .project-popup-v2__point {
        font-size: 14px;
        line-height: 20px;
        gap: 8px;
    }

    .project-popup-v2__intro {
        font-size: 13px;
        line-height: 18px;
    }

    .project-popup-v2__contact {
        height: 56px;
        min-height: 56px;
        padding: 0 12px;
    }

    .project-popup-v2__contact-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }

    .project-popup-v2__contact-title {
        font-size: 14px;
    }

    .project-popup-v2__contact-sub {
        font-size: 11px;
    }

    .project-popup-v2__form-title {
        font-size: 22px;
    }

    .project-popup-v2__form-desc {
        font-size: 13px;
    }

    .project-popup-v2__submit {
        padding: 11px 18px;
        font-size: 13px;
    }

    .project-popup-v2__form .g-recaptcha {
        transform: scale(0.86);
    }
}

