
input, textarea, select {
    font-size: 16px !important;
}
/* SECTION SPACING: 100px отляво/дясно на големи екрани, 10px на малки */
.inquiry-section {
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 24px;
    padding-bottom: 24px;
}

@media (max-width: 768px) {
    .inquiry-section {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* FORM */
.inquiry-wrap {
    width: 100%;
    margin-top: 50px;
}

.inquiry-form {
    background: #F3F3F3;
    border: 0;
    border-radius: 24px;
    padding: 24px;
    box-sizing: border-box;
}

.modal-content .inquiry-form{
    background: #FFFFFF;
}

.inquiry-title {
    margin: 0 0 18px 0;
    color: #3c3c3c;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
}

/* INPUT GRID (4 полета) */
.inquiry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 1024px) {
    .inquiry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .inquiry-grid {
        grid-template-columns: 1fr;
    }
}

/* FIELD */
.field label {
    display: block;
    margin-bottom: 8px;
    color: #000000;
    font-size: 14px;
    font-weight: 500;
}

.field input,
.field select {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    background: #ffffff;
    box-sizing: border-box;
    outline: none;
    color: #3c3c3c;
    border: 1px solid #dddddd;
}

/* SELECT PANEL */
.select-panel {
    background: #d7d7d7;
    border-radius: 16px;
    padding: 16px;
    box-sizing: border-box;
    margin-bottom: 16px;
}

.select-row {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

/* 2 select полета заемат 50% от площта на секцията */
.select-row .field {
    flex: 0 0 25%;
    max-width: 25%;
}

/* останалото празно място се свива */
.select-spacer {
    flex: 1 1 auto;
}

/* на малки екрани празното място изчезва */
@media (max-width: 768px) {
    .select-spacer {
        display: none;
    }

    /* тогава двата селекта реално ще заемат цялата ширина */
    .select-row .field {
        flex: 1 1 50%;
        max-width: 50%;
    }
}

/* на най-малки екрани селектите един под друг */
@media (max-width: 520px) {
    .select-row {
        flex-direction: column;
        align-items: stretch;
    }

    .select-row .field {
        flex: 1 1 auto;
        max-width: 100%;
    }
}

/* MESSAGE PANEL (същата ширина, без фон) */
.message-panel {
    margin-bottom: 16px;
}

/* textarea */
.field textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #dddddd;
    background: #ffffff;
    box-sizing: border-box;
    outline: none;
    resize: vertical;
    color: #3c3c3c;
}

/* CHECKBOXES */
.checks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

/* скриваме default чекбокса и правим custom */
.check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    color: #3c3c3c;
    font-size: 12px;
    line-height: 1.3;
}

.check strong {
    font-weight: 600;
}

.check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check .box {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #ffffff;
    border: 1px solid #dddddd;
    box-sizing: border-box;
    display: inline-block;
    flex: 0 0 18px;
}

/* отметка */
.check input:checked + .box {
    background: #ffffff;
}

.check input:checked + .box::after {
    content: "";
    display: block;
    width: 10px;
    height: 6px;
    border-left: 2px solid #3c3c3c;
    border-bottom: 2px solid #3c3c3c;
    transform: rotate(-45deg);
    margin: 4px 0 0 3px;
}

/* BUTTON */
.send-btn {
    width: 161px;
    height: 30px;
    border: 0;
    border-radius: 4px;
    background: #796210;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: "Manrope", sans-serif !important;
}

.send-btn:hover {
    filter: brightness(0.95);
}

.contact-panel{
    background:#F3F3F3;
    border-radius:16px;
    padding:18px;
    margin-top:18px;
}

.contact-title{
    font-weight:700;
    margin-bottom:14px;
    color:#3C3C3C;
}

.contact-row{
    margin-bottom:12px;
}

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

.two-cols{
    display:flex;
    gap:30px;
}

.contact-item{
    display:flex;
    align-items:flex-start;
    gap:10px;
}

.contact-icon{
    width:24px;
    flex-shrink:0;
    margin-top:2px;
}

.contact-text{
    color:#3C3C3C;
    line-height:1.4;
    display: flex;
    gap: 10px;
}

.contact-time{
    display:flex;
    flex-direction:column;
    gap:4px;
    color:#3C3C3C;
}

/* mobile */
@media (max-width:600px){

    .two-cols{
        flex-direction:column;
        gap:12px;
    }

}

.top-radius{
    border-top-left-radius: 180px;
    border-top-right-radius: 180px;
}

.top-shadow{
    box-shadow: inset 5px 5px 55px rgba(0, 0, 0, 0.1);
}

.contact-location-wrapper{
    width: 100%;
    margin: 0 auto;
    height: auto;
    overflow: visible;
}

.contact-location-text-content {
    width: 30%;
    height: auto;
}

.contact-location-map{
    width: 70%;
    height: auto;
    background-color: var(--dark-color);
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    border-top-left-radius: 24px;
}

.contact-location-text-content{
    color: #000;
    padding: 50px 100px;
}

.contact-location-title {
    margin: 0 0 53px 0;
}

.contact-location-title h2 {
    color: #000;
    font-size: 48px;
    font-weight: 500;
}

.contact-location-text-content .connect-info span{
    color: #000000;
}

@media (max-width:1640px){

    .contact-location-text-content {
        padding-right: 50px;
    }

}

@media (max-width:1500px){
    .contact-location-text-content {
        width: auto;
        height: auto;
    }
}

@media (max-width:1475px){
    /*.contact-location-map {*/
    /*    width: 60%;*/
    /*}*/
}

@media (max-width: 1250px) {
    .top-radius {
        border-top-left-radius: 110px;
        border-top-right-radius: 110px;
    }
}

@media (max-width:1024px){

    .contact-location-wrapper {
        display: flex;
        flex-direction: column;
    }

    .contact-location-text-content, .contact-location-map{
        width: 100%;
    }

    .contact-location-map{
        height: 400px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-top-left-radius: 0;
    }

    .contact-section{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

}

@media (max-width: 800px) {
    .top-radius {
        border-top-left-radius: 80px;
        border-top-right-radius: 80px;
    }

    .contact-location-text-content {
        padding: 50px;
    }
}


@media (max-width: 750px) {
    .contact-section{
        display: flex;
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    .top-radius {
        border-top-left-radius: 60px;
        border-top-right-radius: 60px;
    }
}

@media (max-width: 600px) {
    .contact-panel {
        padding: 10px;
    }

    .contact-text {
        gap: 5px;
    }
}

@media (max-width: 420px) {

    .contact-text {
        gap: 5px;
        flex-direction: column;
    }
}

.custom-select {
    position: relative;
}

.custom-select-trigger {
    height: 46px;
    padding: 0 16px;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #fff;
    border-radius: 8px;
}

.custom-options {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    z-index: 20;
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-options li {
    padding: 12px 16px;
    cursor: pointer;
}

.custom-options li:hover {
    background: #f5f5f5;
}

.custom-select.open .custom-options {
    display: block;
}

.custom-select-trigger::after {
    content: '';
    position: absolute;
    right: 14px;
    width: 9px;
    height: 5px;

    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 5'%3E%3Cpath d='M4.40375 4.40375L0 0H8.8075L4.40375 4.40375Z' fill='%23777777'/%3E%3C/svg%3E") no-repeat center;

    background-size: contain;
    transition: transform 0.2s ease;
}

.custom-select-trigger:hover {
    border-color: #dddddd;
}

.custom-select.open .custom-select-trigger::after {
    transform: rotate(180deg);
}

.custom-options {
    opacity: 0;
    transform: translateY(10px);
    transition: 0.2s ease;
    pointer-events: none;
}

.custom-select.open .custom-options {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

