/* Archivo font */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,100..900&display=swap');

/* Popup overlay */
.pum-overlay {
    background: rgba(37, 48, 65, 0.78) !important;
}

/* Main popup container */
.pum-container {
    box-sizing: border-box;
    max-width: 1250px !important;
    width: calc(100% - 48px) !important;
    padding: 0 !important;
    background: #f7f4f2 !important;
    border: 4px solid #4195ed !important;
    border-radius: 26px !important;
    box-shadow: none !important;
    overflow: visible !important;
    font-family: 'Archivo', sans-serif !important;
    font-size: 16px;
}

/* Remove default Popup Maker content spacing */
.pum-content {
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    font-family: 'Archivo', sans-serif !important;
}

/* Remove Popup Maker Lightbox theme border */
.pum-theme-lightbox .pum-container {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Remove any border from the popup content */
.pum-theme-lightbox .pum-content {
    border: none !important;
    outline: none !important;
}

/* Two-column layout */
.project-popup-layout {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 32px;
    padding: 42px 30px;
    align-items: start;
    box-sizing: border-box;
    color: #39465b;
    font-family: 'Archivo', sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 16px !important;
    line-height: 22px !important;
    letter-spacing: 0.02em !important;
}

/* Left content */
.project-popup-info {
    min-width: 0;
}

.project-popup-info h2 {
    color: #e96132;
    font-family: 'Archivo', sans-serif !important;
    font-stretch: expanded;
    font-weight: 600 !important;
    font-style: normal;
    font-size: 38px !important;
    line-height: 100%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0 0 26px;
}

.project-popup-info p,
.project-popup-info li {
    color: #39465b;
    font-family: 'Archivo', sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 16px !important;
    line-height: 22px !important;
    letter-spacing: 0.02em !important;
}

.project-popup-info p {
    margin: 0 0 18px;
}

.project-popup-info h4 {
    color: #39465b;
    font-family: 'Archivo', sans-serif !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 20px 0 14px;
}

.project-popup-info ul {
    list-style: disc outside !important;
    padding-left: 24px;
    margin: 0 0 18px;
}

.project-popup-info ul li {
    display: list-item !important;
    list-style: disc outside !important;
}

/* Right form panel */
.project-popup-form {
    min-width: 0;
    background: #fff;
    padding: 26px 26px 28px;
    border-radius: 20px;
    box-sizing: border-box;
}

/* Form fields */
.project-inquiry-form,
.project-inquiry-form * {
    box-sizing: border-box;
    font-family: 'Archivo', sans-serif !important;
}

.project-inquiry-form {
    font-size: 16px;
}

.project-inquiry-form br {
    display: none !important;
}

.project-inquiry-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.project-inquiry-form .form-field {
    margin-bottom: 14px;
    min-width: 0;
}

.project-inquiry-form label {
    display: block;
    color: #39465b;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 6px;
}

.project-inquiry-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.project-inquiry-form input:not([type="submit"]),
.project-inquiry-form select,
.project-inquiry-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #9aa9c0;
    border-radius: 4px;
    background-color: #fff;
    color: #39465b;
    font-family: 'Archivo', sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 16px !important;
    line-height: 22px !important;
    letter-spacing: 0.02em !important;
    box-shadow: none;
}

.project-inquiry-form input::placeholder,
.project-inquiry-form textarea::placeholder {
    color: #8b9bb5;
    opacity: 1;
}

/* Orange dropdown arrow */
.project-inquiry-form select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='14' viewBox='0 0 22 14'%3E%3Cpath d='M2 2l9 9 9-9' fill='none' stroke='%23e96132' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 10px;
}

/* Shorter message field */
.project-inquiry-form textarea {
    min-height: 95px;
    height: 95px;
    resize: vertical;
}

/* Submit button */
.project-inquiry-form .form-submit {
    margin-top: 0;
}

.project-inquiry-form input[type="submit"] {
    display: block;
    width: 100%;
    min-height: 42px;
    padding: 9px 16px;
    border: 0;
    border-radius: 3px;
    background: #e96132;
    color: #111827;
    font-family: 'Archivo', sans-serif !important;
    font-stretch: expanded;
    font-weight: 600 !important;
    font-style: normal;
    font-size: 16px !important;
    leading-trim: none;
    line-height: 26px;
    letter-spacing: 0.02em;
    text-align: center;
    cursor: pointer;
}

.project-inquiry-form input[type="submit"]:hover {
    background: #d95328;
}

/* Popup Maker close button */
.pum-close {
    top: 14px !important;
    right: 14px !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #39465b !important;
    font-size: 25px !important;
    line-height: 26px !important;
    box-shadow: none !important;
}

/* Tablet and mobile */
@media (max-width: 767px) {
    .pum-container {
        width: calc(100% - 24px) !important;
        max-height: 90vh;
        overflow-y: auto !important;
        border-width: 3px !important;
        border-radius: 18px !important;
    }

    .project-popup-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 42px 16px 18px;
    }

    .project-popup-info h2 {
        margin-bottom: 18px;
    }

    .project-popup-info p,
    .project-popup-info li {
        font-family: 'Archivo', sans-serif !important;
        font-weight: 400 !important;
        font-style: normal !important;
        font-size: 16px !important;
        line-height: 22px !important;
        letter-spacing: 0.02em !important;
    }

    .project-popup-info h4 {
        font-size: 16px;
    }

    .project-popup-info p {
        margin-bottom: 14px;
    }

    .project-popup-info h4 {
        margin: 16px 0 12px;
    }

    .project-popup-info ul {
        list-style: disc outside !important;
        padding-left: 22px;
        margin-bottom: 16px;
    }

    

    .project-popup-info ul li {
        display: list-item !important;
        list-style: disc outside !important;
    }

    .project-popup-form {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .project-inquiry-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .project-inquiry-form .form-field {
        margin-bottom: 12px;
    }

    .project-inquiry-form label,
    .project-inquiry-form input:not([type="submit"]),
    .project-inquiry-form select,
    .project-inquiry-form textarea {
        font-size: 16px;
    }

    .project-inquiry-form textarea {
        min-height: 85px;
        height: 85px;
    }
}
