/* ==========================================================================
   Contact Page Styles
   ========================================================================== */

.contact-page .vp-contact-referral { margin-top: 16px; }
.contact-page .vp-contact-referral a,
.contact-page .vp-faq-answer a { color: var(--Primary-primary); text-decoration: underline; }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
   

.contact-page .vp-site-navigation .vp-max-width a:hover {
    color: var(--Primary-primary);
}

.contact-page .vp-site-navigation .vp-text-100-medium:last-child {
    color: var(--Primary-primary);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.vp-contact-inner {
    position: relative;
}

.vp-contact-inner .vp-btn-primary-large {
    border: none;
    cursor: pointer;
}

.vp-contact-inner .vp-contact {
    padding: 0 0 100px 0;
}

.vp-contact-inner .vp-contact-info {
    max-width: 730px;
    width: 100%;
}

.vp-contact-inner .vp-contact-info .vp-text-200-regular {
    color: var(--Neutral-600);
}

/* ==========================================================================
   Form Styles
   ========================================================================== */
.vp-contact-inner .vp-form {
    border-radius: var(--24);
    border: 1px solid var(--Neutral-300);
    background: var(--Neutral-100);
    padding: var(--60) var(--48);
}

.vp-contact-inner .vp-form input,
.vp-contact-inner .vp-form select,
.vp-contact-inner .vp-form textarea {
    border-radius: var(--16);
    border: 1px solid var(--Neutral-400, #D0D0DB);
    background: var(--Neutral-100, #FFF);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.02);
    padding: var(--20) var(--16);
    width: 100%;
    font-family: var(--font-family-onest);
    font-size: 18px;
    font-weight: 500;
    line-height: 140%;
}

.vp-contact-inner .vp-form textarea {
    min-height: 140px;
    resize: vertical;
}

.vp-contact-inner .vp-form select {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9.57086 14.7091L4.98086 10.1191C4.7946 9.93174 4.69006 9.67829 4.69006 9.41411C4.69006 9.14992 4.7946 8.89647 4.98086 8.70911C5.07382 8.61538 5.18442 8.54098 5.30628 8.49021C5.42814 8.43945 5.55884 8.41331 5.69086 8.41331C5.82287 8.41331 5.95357 8.43945 6.07543 8.49021C6.19729 8.54098 6.30789 8.61538 6.40086 8.70911L10.9809 13.3091C11.0738 13.4028 11.1844 13.4772 11.3063 13.528C11.4281 13.5788 11.5588 13.6049 11.6909 13.6049C11.8229 13.6049 11.9536 13.5788 12.0754 13.528C12.1973 13.4772 12.3079 13.4028 12.4009 13.3091L16.9809 8.70911C17.1678 8.5208 17.422 8.41449 17.6873 8.41355C17.9527 8.41261 18.2076 8.51713 18.3959 8.70411C18.5842 8.89108 18.6905 9.14521 18.6914 9.41057C18.6924 9.67593 18.5878 9.9308 18.4009 10.1191L13.8109 14.7091C13.2484 15.2709 12.4859 15.5865 11.6909 15.5865C10.8959 15.5865 10.1334 15.2709 9.57086 14.7091Z' fill='%23626270'/%3E%3C/svg%3E") no-repeat right 16px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 48px;
}

.vp-contact-inner .vp-form input::placeholder,
.vp-contact-inner .vp-form select,
.vp-contact-inner .vp-form textarea::placeholder {
    color: var(--Neutral-600, #626270);
    font-family: var(--font-family-onest);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
} 

.vp-contact-inner .vp-form-check label {
    color: var(--Neutral-600);
    cursor: pointer;
}

/* ==========================================================================
   Background Elements
   ========================================================================== */
.vp-contact-inner .vp-contact-bg {
    background: var(--Neutral-100);
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    min-height: 700px;
}

.vp-contact-inner .vp-contact-form {
    position: relative;
}

.vp-contact-inner .vp-contact-bg-1,
.vp-contact-inner .vp-contact-bg-2 {
    border-radius: var(--24);
    width: 340px;
    min-height: 378px;
    position: absolute;
    z-index: -1;
}

.vp-contact-inner .vp-contact-bg-1 {
    background: var(--Primary-3);
    right: -18.2%;
    top: 78px;
}

.vp-contact-inner .vp-contact-bg-2 {
    background: var(--Secondary-2);
    bottom: 72px;
    left: -50px;
}

/* ==========================================================================
   Contact Info Cards
   ========================================================================== */
.vp-contact-inner .vp-hero-email,
.vp-contact-inner .vp-hero-call {
    padding: var(--16) var(--20);
    border-radius: var(--24);
    border: 1px solid var(--Neutral-300);
    background: var(--Neutral-100);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.02);
    width: 100%;
}

.contact-page .vp-hero-email > .vp-f-d-column {
    min-width: 0;
}

.contact-page .vp-hero-email a {
    display: block;
    overflow-wrap: anywhere;
}

.vp-contact-inner .vp-contact-info-more {
    border-radius: var(--24);
    border: 1px solid var(--Neutral-300);
    background: var(--Neutral-100);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.02);
    padding: var(--16) var(--20);
}

.vp-contact-inner .vp-contact-info-more .vp-btn-simple-two-large span:first-child {
    border-right: 1px solid var(--Primary-primary);
    padding-right: 15px;
}

.gap-15{
    gap: 15px;
}

/* ==========================================================================
   Responsive - Tablet
   ========================================================================== */
@media (max-width: 1024px) {
    .vp-contact-inner .vp-contact {
        padding: 30px 0 60px;
    }

    .vp-contact-inner .vp-contact-bg-1 {
        right: -7%;
    }

    .vp-contact-inner .vp-form {
        padding: var(--32) var(--24);
    }
}

/* ==========================================================================
   Responsive - Mobile
   ========================================================================== */
@media (max-width: 768px) {
    .contact-page .vp-site-navigation {
        padding: 32px 16px 36px;
    }

    .contact-page .vp-site-navigation .vp-max-width {
        padding: 0;
    }

    .vp-contact-inner .vp-form {
        padding: var(--32) var(--24);
    }

    .vp-contact-inner .vp-contact-bg-1 {
        right: -19px;
    }

    .vp-contact-inner .vp-form input,
    .vp-contact-inner .vp-form select,
    .vp-contact-inner .vp-form textarea {
        font-size: var(--16);
        padding: var(--16);
    }

    .vp-contact-inner .vp-form textarea {
        min-height: 98px;
    }

    .vp-contact-form .vp-d-flex.vp-f-d-column.vp-a-i-f-start.vp-gap-24 {
        gap: var(--32);
    }

    .vp-contact-form .vp-d-flex .vp-d-flex.vp-f-d-column-mob {
        gap: var(--12);
    }

    .vp-contact-inner .vp-hero-email,
    .vp-contact-inner .vp-hero-call {
        max-width: 100%;
        padding: var(--12) var(--20);
        gap: 8px;
    }

    .vp-contact-inner .vp-contact-info-more .vp-btn-simple-two-large span:first-child {
        border-right: none;
        padding-right: 0;
    }

    .vp-contact-form .vp-contact-info-more .vp-d-flex .vp-d-flex.vp-f-d-column-mob {
        gap: 8px;
    }
}

@media (max-width: 700px) {
    .vp-contact-inner .vp-contact-bg-1 {
        right: -16px;
        border-radius: 0;
    }
}

/* ==========================================================================
   Areas We Serve Map
   ========================================================================== */

   .vp-service-maps-inner {
    padding: 100px 0 200px;
}

.vp-service-maps-inner .vp-service-maps-form {
    max-width: 400px;
    width: 100%;
}

/* City Search */
.vp-city-search-wrapper {
    position: relative;
}

.vp-city-search-wrapper input {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--16);
    border: 1px solid var(--Neutral-400);
    background: var(--Neutral-100);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.02);
    outline: none;
    font-size: 16px;
}

.vp-city-search-wrapper input:focus {
    border-color: var(--Primary-primary);
}

.vp-city-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--Neutral-100);
    border: 1px solid var(--Neutral-300);
    border-radius: var(--12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.vp-city-suggestion {
    width: 100%;
    border: 0;
    background: var(--Neutral-100);
    color: var(--Neutral-800);
    font: inherit;
    text-align: left;
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s ease;
}

.vp-city-suggestion:hover {
    background: var(--Primary-3);
}

.vp-city-suggestion:focus-visible {
    outline: 2px solid var(--Primary-primary);
    outline-offset: -2px;
    background: var(--Primary-3);
}

.vp-city-suggestion.vp-no-match {
    color: var(--Neutral-500);
    cursor: default;
}

.vp-city-suggestion.vp-no-match:hover {
    background: transparent;
}

/* Map Container */
.vp-service-maps-inner .vp-service-maps-city {
    border-radius: var(--24);
    border: 1px solid var(--Neutral-300);
    min-height: 500px;
    overflow: hidden;
    z-index: 1;
}

/* Custom Marker */
.vp-map-marker {
    background: transparent !important;
    border: none !important;
}

.vp-map-marker svg {
    filter: drop-shadow(0 2px 6px rgba(140, 88, 218, 0.3));
    transition: transform 0.2s ease;
}

.vp-map-marker-active svg {
    transform: scale(1.25);
}

/* Custom Popup - Matching Design */
.vp-custom-popup .leaflet-popup-content-wrapper {
    background: var(--Neutral-100);
    border-radius: 20px;
    border: 1px solid var(--Primary-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 0;
}

.vp-custom-popup .leaflet-popup-content {
    margin: 0;
    min-width: 120px;
}

.vp-custom-popup .leaflet-popup-tip {
    display: none;
}

.vp-map-popup-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px;
    text-decoration: none; 
}

.vp-map-popup-card img {
    width: 100%;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.vp-map-popup-city {
    color: var(--Neutral-800);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.vp-map-popup-card:hover span{
    color: var(--Primary-primary);
}

@media (max-width: 768px) {
    .vp-service-maps-inner {
        padding: 60px 0 120px;
    }
    
    .vp-service-maps-inner .vp-max-width {
        gap: 32px;
    }
    
    .vp-service-maps-inner .vp-service-maps-form {
        max-width: 100%;
    }
    
    .vp-service-maps-inner .vp-service-maps-city {
        min-height: 350px;
    }
}

/* ========================================
   FAQs Section
   ======================================== */
   .vp-faqs-section {
    background: var(--Neutral-100);
    padding: 100px 0;
}

.vp-faqs-section .vp-title {
    display: grid;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.vp-faqs-desc {
    color: var(--Neutral-600);
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 148%;
    width: 53%;
    margin: 24px auto 44px;
}

.vp-faqs-section .vp-acc-items-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 816px;
    width: 100%;
    margin: 0 auto;
}

/* Individual FAQ Item */
.vp-faqs-section .vp-faq-item {
    width: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: var(--24, 24px);
    border: 1px solid var(--Neutral-300);
}

/* FAQ Question Button */
.vp-faqs-section .vp-faq-question {
    width: 100%;
    background: var(--Neutral-100, #fff);
    border: none;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-radius: var(--24, 24px);
    color: var(--Neutral-800);
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
    line-height: 140%;
    text-align: left; 
}

.vp-faqs-section .vp-faq-question span:first-child {
    flex: 1;
}

.vp-faqs-section .vp-faq-question:hover {
    color: var(--Primary-primary);
    border-color: var(--Neutral-400);
}

.vp-faqs-section .vp-faq-question:focus {
    outline: 2px solid var(--Primary-primary);
    outline-offset: 2px;
}

.vp-faqs-section .vp-faq-question:focus:not(:focus-visible) {
    outline: none;
}

/* Arrow Button */
.vp-faqs-section .vp-faq-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--Neutral-300);
    background: #fff;
    color: var(--Primary-primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.vp-faqs-section .vp-faq-arrow svg {
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
}

/* Arrow Hover State */
.vp-faqs-section .vp-faq-question:hover .vp-faq-arrow {
    background-color: var(--Primary-primary);
    border-color: var(--Primary-primary);
    color: #fff;
}

/* FAQ Answer */
.vp-faqs-section .vp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.vp-faqs-section .vp-faq-answer-inner {
    padding: 16px 24px 24px;
}

.vp-faqs-section .vp-faq-answer-inner p {
    margin: 0 0 12px;
    color: var(--Neutral-600);
    font-size: 18px;
    font-weight: 400;
    line-height: 160%;
}

.vp-faqs-section .vp-faq-answer-inner p:last-child {
    margin-bottom: 0;
}

/* Active/Open State */
.vp-faqs-section .vp-faq-item.active {
    border-radius: var(--24, 24px);
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.08);
}

.vp-faqs-section .vp-faq-item.active .vp-faq-question {
    color: var(--Primary-primary);
    border: none;
    border-radius: 24px 24px 0 0;
    box-shadow: none;
    background: #fff;
}

.vp-faqs-section .vp-faq-item.active .vp-faq-answer { 
    transition: max-height 0.4s ease-in;
}

.vp-faqs-section .vp-faq-item.active .vp-faq-arrow {
    background-color: var(--Primary-primary);
    border-color: var(--Primary-primary);
    color: #fff;
}

.vp-faqs-section .vp-faq-item.active .vp-faq-arrow svg {
    transform: rotate(180deg);
}

.vp-faqs-btn {
    display: flex;
    justify-content: center;
    margin-top: 44px;
}

/* Responsive */
@media (max-width: 768px) {
    .wpforms-submit.gm-submit-form{
        width: 100%;
    }
    .vp-faqs-section {
        padding: 60px 0;
    }

    .vp-faqs-desc {
        width: 100%;
        font-size: var(--16);
        margin-bottom: 20px;
    }

    .vp-faqs-section .vp-faq-question {
        font-size: 16px;
        padding: 16px;
        gap: 12px;
        border-radius: 16px;
    }

    .vp-faqs-section .vp-faq-item {
        border-radius: 16px;
    }

    .vp-faqs-section .vp-faq-item.active .vp-faq-question {
        border-radius: 16px 16px 0 0;
    }

    .vp-faqs-section .vp-faq-arrow {
        min-width: 36px;
        width: 36px;
        height: 36px;
    }

    .vp-faqs-section .vp-faq-arrow svg {
        width: 16px;
        height: 16px;
    }

    .vp-faqs-section .vp-faq-answer-inner {
        padding: 12px 16px 16px;
    }

    .vp-faqs-section .vp-faq-answer-inner p {
        font-size: 16px;
    }

    .vp-faqs-btn {
        width: 100%;
    }

    .vp-faqs-btn a {
        width: 100%;
    }
}

.gm-form input:focus,
.gm-form select:focus,
.gm-form textarea:focus {
    border-color: var(--Primary-primary) !important; 
}

.gm-form .wpforms-field-label{
    font-weight: 700;
    font-size: var(--18);
    line-height: 148%;
    
}

.gm-form .wpforms-field-medium{
    margin-top: 12px;
}

.gm-form .wpforms-field-layout-rows .wpforms-layout-row{
    margin-bottom: 24px;
}

#wpforms-error-noscript,
.wpforms-label-hide{
    display: none!important;
}

.wpforms-submit.gm-submit-form{
    border: none;
    cursor: pointer;
    display: inline-flex;
    padding: var(--20);
    justify-content: center;
    align-items: center;
    gap: var(--12);
    border-radius: var(--12);
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    height: var(--64);
    background: var(--Primary-primary);
    color: var(--Neutral-100);
    transition: background 0.3s ease;
    font-weight: 700;
    font-size: var(--18);
    line-height: 148%;
    margin-top: 24px;
}

.wpforms-submit.gm-submit-form:hover{
    background: var(--Secondary-1);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.16);
}

.gm-form .wpforms-error{
    color: #DC2B2B;
}

.gm-form .wpforms-confirmation-container{
    color: #11845B;
    font-weight: 500;
    font-size: 26px;
    text-align: center;
} 

/* Select with value selected (valid) */
.wpforms-container select:valid {
    color: var(--Neutral-800) !important;
    font-weight: 500;
}
 
.gm-form .gm-privacy{
    margin-top: 24px;
}

.gm-form .gm-privacy fieldset{
    border: none;
}

.gm-form .gm-privacy ul li{
    display: flex; 
    gap: 12px;
}

.gm-form .gm-privacy ul li input{
    width: auto;
}

.gm-form .gm-privacy ul li a{
    text-decoration: underline;
    color: #8c59da;
}

/* Checkbox */
.gm-form .gm-privacy ul li input {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 6px;
    border: 1px solid var(--Neutral-500);
    background: var(--Neutral-100);
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
}

.gm-form .gm-privacy ul li input[type="checkbox"]:checked {
    background-color: var(--Primary-primary);
    border-color: var(--Primary-primary);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-6' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.wpforms-field-limit-text,
.wpforms-hidden{
    display: none!important;
}

@media (max-width: 600px) {
    .gm-form .wpforms-field-layout-rows .wpforms-layout-row{
        margin-bottom: 12px;
        gap: 12px;
    }

    .gm-form .wpforms-confirmation-container{
        font-size: 20px;
    } 
}
