/* Contact page */
.ez-contact {
    background: var(--page-bg);
    overflow: hidden;
    --ez-field-bg: #FAFAFA;
}

.ez-contact .ez-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* Hero + Form */
.ez-contact-hero {
    padding: var(--space-24) 0 var(--space-16);
    text-align: center;
}

.ez-contact-hero__head {
    margin: 0 auto var(--space-12);
}

.ez-contact-hero .eyebrow {
    margin-bottom: var(--space-5);
}

.ez-contact-hero h1 {
    margin: 0 0 var(--space-5);
}

.ez-contact-hero__head p {
    font-family: var(--font-family-subtext);
    font-size: var(--fs-body-lg);
    line-height: var(--line-height-body);
    color: var(--color-muted);
    margin: 0 auto;
    max-width: 700px;
}

.ez-contact-hero .form_main {
    width: 100%;
}
.ez-contact-hero .form_main .custom-eazyride-cf7-form {
    margin-left: auto;
    margin-right: auto;
}
.ez-contact-hero .form_main .wpcf7 {
    text-align: left;
}

/* Reach Us */
.ez-reach {
    padding: var(--space-16) 0 var(--space-8);
}

.ez-contact .er-cta {
    padding-top: 0;
}

.ez-reach__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-12);
}

.ez-reach__head h2 {
    margin: 0 0 var(--space-4);
}

.ez-reach__head p {
    font-family: var(--font-family-subtext);
    font-size: var(--fs-body-lg);
    line-height: var(--line-height-body);
    color: var(--color-muted);
    margin: 0;
}

.ez-reach__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
    margin: 0 auto;
}

.ez-reach-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2);
    padding: var(--space-8);
    transition: transform var(--motion-duration) var(--motion-ease),
                box-shadow var(--motion-duration) var(--motion-ease),
                border-color var(--motion-duration) var(--motion-ease);
}
.ez-reach-card:hover {
    transform: translateY(var(--card-hover-lift));
    box-shadow: var(--shadow-3);
    border-color: rgba(var(--primary-rgb), .35);
}

.ez-reach-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-badge-size);
    height: var(--icon-badge-size);
    background: var(--surface-blue);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-6);
    color: var(--primary-color);
}
.ez-reach-card__icon img,
.ez-reach-card__icon svg {
    width: var(--icon-md);
    height: var(--icon-md);
    object-fit: contain;
}

.ez-reach-card h3 {
    margin: 0 0 var(--space-2);
}

.ez-reach-card p {
    font-family: var(--font-family-subtext);
    font-size: var(--fs-body);
    line-height: var(--line-height-body);
    color: var(--color-muted);
    margin: 0 0 var(--space-6);
}

.ez-reach-card__divider {
    height: 1px;
    background: var(--border-color);
    margin: auto 0 var(--space-6);
}

.ez-reach-card__value {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-bold);
    font-size: var(--fs-body-lg);
    line-height: 1.3;
    color: var(--color-heading);
    text-decoration: none;
    transition: color var(--motion-fast) var(--motion-ease);
    word-break: break-word;
}
.ez-reach-card__value:hover {
    color: var(--primary-color);
}

.ez-reach__social {
    margin-top: var(--space-16);
    text-align: center;
}
.ez-reach__social-label {
    font-family: var(--font-family-subtext);
    font-size: var(--fs-small);
    color: var(--color-muted);
    margin: 0 0 var(--space-4);
}
.ez-reach__social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
}
.ez-reach__social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    color: var(--color-muted);
    transition: color var(--motion-fast) var(--motion-ease),
                border-color var(--motion-fast) var(--motion-ease),
                transform var(--motion-fast) var(--motion-ease),
                box-shadow var(--motion-fast) var(--motion-ease);
}
.ez-reach__social-links a:hover {
    color: var(--primary-color);
    border-color: rgba(var(--primary-rgb), .4);
    transform: translateY(var(--motion-hover-lift));
    box-shadow: var(--shadow-2);
}
.ez-reach__social-links svg,
.ez-reach__social-links img {
    width: 18px;
    height: 18px;
    display: block;
}

/* Contact Form */
.ez-contact .custom-eazyride-cf7-form {
    background: var(--white) !important;
    border: 3px solid #F4F4F4 !important;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2) !important;
    padding: var(--space-8) var(--space-8) var(--space-5);
    max-width: 850px;
    backdrop-filter: none;
}

.ez-contact .custom-eazyride-cf7-form .cf7-eayride-row.single:has(.wpcf7-submit) {
    margin-bottom: 0 !important;
}

.ez-contact .custom-eazyride-cf7-form label {
    font-family: var(--font-family-base);
    font-size: var(--fs-small);
    font-weight: var(--font-weight-semibold);
    color: var(--color-heading);
    margin-bottom: var(--space-3);
}

.ez-contact .custom-eazyride-cf7-form input[type="text"],
.ez-contact .custom-eazyride-cf7-form input[type="email"],
.ez-contact .custom-eazyride-cf7-form input[type="tel"],
.ez-contact .custom-eazyride-cf7-form textarea,
.ez-contact .custom-eazyride-cf7-form select,
.ez-contact .custom-eazyride-cf7-form .country-picker-toggle,
.ez-contact .custom-eazyride-cf7-form .ez-picker-toggle,
.ez-contact .custom-eazyride-cf7-form .phone-wrap input[type="tel"],
.ez-contact .custom-eazyride-cf7-form .phone-wrap .phone-input {
    background: var(--ez-field-bg) !important;
    border: 1px solid var(--color-muted-2) !important;
    border-radius: var(--radius-btn) !important;
    padding: 16px !important;
    min-height: 40px;
    box-sizing: border-box;
    font-family: var(--font-family-subtext);
    font-size: var(--fs-body) !important;
    color: var(--color-heading);
    box-shadow: none !important;
    transition: border-color var(--motion-fast) var(--motion-ease),
                box-shadow var(--motion-fast) var(--motion-ease),
                background var(--motion-fast) var(--motion-ease);
}

.ez-contact .custom-eazyride-cf7-form ::placeholder {
    color: var(--color-muted);
    opacity: .75;
}

.ez-contact .custom-eazyride-cf7-form .cf7-eayride-row.single:has(#build-manage) {
    float: left;
    width: calc(50% - 12px);
    margin-right: 24px;
}
.ez-contact .custom-eazyride-cf7-form .cf7-eayride-row.single:has(#business-stage) {
    float: left;
    width: calc(50% - 12px);
}
.ez-contact .custom-eazyride-cf7-form .cf7-eayride-row.single:has(#vehicles-start) {
    clear: both;
    float: left;
    width: calc(50% - 12px);
    margin-right: 24px;
}
.ez-contact .custom-eazyride-cf7-form .cf7-eayride-row.single:has(#launch-timeline) {
    float: left;
    width: calc(50% - 12px);
}
.ez-contact .custom-eazyride-cf7-form .cf7-eayride-row.single:has(#business-desc) {
    clear: both;
}

.ez-contact .custom-eazyride-cf7-form .cf7-eayride-row.single {
    gap: 0;
}

.ez-contact .custom-eazyride-cf7-form .ez-picker {
    position: relative;
    width: 100%;
}
.ez-contact .custom-eazyride-cf7-form .ez-picker-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    text-align: left;
    cursor: pointer;
    font-weight: 400;
}
.ez-contact .custom-eazyride-cf7-form .ez-picker-toggle-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-muted);
}
.ez-contact .custom-eazyride-cf7-form .ez-picker.has-value .ez-picker-toggle-text {
    color: var(--color-heading);
}
.ez-contact .custom-eazyride-cf7-form .ez-picker-arrow {
    flex: 0 0 auto;
    width: 12px;
    height: 8px;
    color: var(--color-muted);
    transition: transform var(--motion-fast) var(--motion-ease);
}
.ez-contact .custom-eazyride-cf7-form .ez-picker.open .ez-picker-arrow {
    transform: rotate(180deg);
}

.ez-contact .custom-eazyride-cf7-form .ez-picker-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 6px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-2);
}
.ez-contact .custom-eazyride-cf7-form .ez-picker-dropdown[hidden] {
    display: none;
}
.ez-contact .custom-eazyride-cf7-form .ez-picker-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ez-contact .custom-eazyride-cf7-form .ez-picker-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    padding: 7px 12px;
    border-radius: var(--radius-badge);
    cursor: pointer;
    font-family: var(--font-family-subtext);
    transition: background var(--motion-fast) var(--motion-ease);
}
.ez-contact .custom-eazyride-cf7-form .ez-picker-item:hover,
.ez-contact .custom-eazyride-cf7-form .ez-picker-item.is-active {
    background: var(--ez-field-bg);
}
.ez-contact .custom-eazyride-cf7-form .ez-picker-item[aria-selected="true"] {
    background: rgba(var(--primary-rgb), .07);
}
.ez-contact .custom-eazyride-cf7-form .ez-picker-item-title {
    display: block;
    font-family: var(--font-family-subtext);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.35;
    color: var(--color-heading);
}
.ez-contact .custom-eazyride-cf7-form .ez-picker-item > p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    width: 100%;
    margin: 0;
    line-height: 1.35;
}
.ez-contact .custom-eazyride-cf7-form .ez-picker-info {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
}
.ez-contact .custom-eazyride-cf7-form .ez-picker-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: var(--color-muted-2);
    cursor: help;
    transition: color var(--motion-fast) var(--motion-ease);
}
.ez-contact .custom-eazyride-cf7-form .ez-picker-info-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}
.ez-contact .custom-eazyride-cf7-form .ez-picker-item:hover .ez-picker-info-icon,
.ez-contact .custom-eazyride-cf7-form .ez-picker-item.is-active .ez-picker-info-icon,
.ez-contact .custom-eazyride-cf7-form .ez-picker-info.is-open .ez-picker-info-icon,
.ez-contact .custom-eazyride-cf7-form .ez-picker-info-icon:focus {
    color: var(--primary-color);
    outline: none;
}

.ez-contact .custom-eazyride-cf7-form .ez-picker-info-panel {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    z-index: 10000;
    width: 260px;
    max-width: calc(100vw - 48px);
    box-sizing: border-box;
    padding: var(--space-3) var(--space-4);
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-2);
    font-size: var(--fs-caption);
    line-height: 1.5;
    font-weight: 400;
    color: var(--color-muted);
    text-align: left;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transform: translate(-6px, -50%);
    transition: opacity var(--motion-fast) var(--motion-ease),
                transform var(--motion-fast) var(--motion-ease),
                visibility var(--motion-fast) var(--motion-ease);
}
.ez-contact .custom-eazyride-cf7-form .ez-picker-info-panel::after {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-right: -6px;
    background: var(--white);
    border-left: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-50%) rotate(45deg);
}
.ez-contact .custom-eazyride-cf7-form .ez-picker-item:hover .ez-picker-info-panel,
.ez-contact .custom-eazyride-cf7-form .ez-picker-item.is-active .ez-picker-info-panel,
.ez-contact .custom-eazyride-cf7-form .ez-picker-info.is-open .ez-picker-info-panel,
.ez-contact .custom-eazyride-cf7-form .ez-picker-info-icon:focus + .ez-picker-info-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}

.ez-contact .custom-eazyride-cf7-form .ez-picker-input {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.ez-contact .custom-eazyride-cf7-form input:focus,
.ez-contact .custom-eazyride-cf7-form textarea:focus,
.ez-contact .custom-eazyride-cf7-form select:focus,
.ez-contact .custom-eazyride-cf7-form .country-picker-toggle:focus,
.ez-contact .custom-eazyride-cf7-form .ez-picker-toggle:focus,
.ez-contact .custom-eazyride-cf7-form .phone-wrap input[type="tel"]:focus {
    outline: none;
    border-color: var(--primary-color) !important;
    background: var(--surface) !important;
    box-shadow: var(--input-focus-glow) !important;
}

.ez-contact .custom-eazyride-cf7-form textarea {
    min-height: 140px;
    resize: vertical;
}

.ez-contact .custom-eazyride-cf7-form .phone-wrap.has-code input[type="tel"],
.ez-contact .custom-eazyride-cf7-form .phone-wrap.has-code .phone-input {
    padding-left: 70px !important;
}

.ez-contact .custom-eazyride-cf7-form .country-picker-search {
    padding: 10px 12px !important;
    border-radius: var(--radius-sm) !important;
}

.ez-contact .custom-eazyride-cf7-form .country-picker-dropdown {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-2);
}

.ez-contact .custom-eazyride-cf7-form .wpcf7-submit {
    display: flex;
    width: 100%;
    min-height: 58px;
    justify-content: center;
    margin-top: var(--space-2);
}

/* Responsive */
@media (max-width: 991px) {
    /* Reach Us */
    .ez-reach__grid {
        max-width: 720px;
    }
}

@media (max-width: 767px) {
    /* Hero + Form */
    .ez-contact-hero {
        padding: var(--space-20) 0 var(--space-12);
    }
    .ez-contact-hero__head {
        margin-bottom: var(--space-10);
    }
    /* Reach Us */
    .ez-reach {
        padding: var(--space-12) 0 var(--space-8);
    }
    .ez-reach__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    .ez-reach-card {
        padding: var(--space-6);
    }
    /* Contact Form */
    .ez-contact .custom-eazyride-cf7-form {
        padding: var(--space-6) var(--space-5) var(--space-4);
    }
    .ez-contact .custom-eazyride-cf7-form .cf7-eayride-row {
        gap: 15px;
    }
    .ez-contact .custom-eazyride-cf7-form .wpcf7-submit {
        width: 100%;
    }

    .ez-contact .custom-eazyride-cf7-form .ez-picker-info-panel {
        left: auto;
        right: 0;
        top: auto;
        bottom: calc(100% + 10px);
        width: 240px;
        transform: translate(0, 6px);
    }
    .ez-contact .custom-eazyride-cf7-form .ez-picker-info-panel::after {
        right: 5px;
        top: 100%;
        margin-right: 0;
        border-left: 0;
        border-right: 1px solid var(--border-color);
        transform: translateY(-50%) rotate(45deg);
    }
    .ez-contact .custom-eazyride-cf7-form .ez-picker-item:hover .ez-picker-info-panel,
    .ez-contact .custom-eazyride-cf7-form .ez-picker-item.is-active .ez-picker-info-panel,
    .ez-contact .custom-eazyride-cf7-form .ez-picker-info.is-open .ez-picker-info-panel,
    .ez-contact .custom-eazyride-cf7-form .ez-picker-info-icon:focus + .ez-picker-info-panel {
        transform: translate(0, 0);
    }

    .ez-contact .custom-eazyride-cf7-form .cf7-eayride-row.single:has(#build-manage),
    .ez-contact .custom-eazyride-cf7-form .cf7-eayride-row.single:has(#business-stage),
    .ez-contact .custom-eazyride-cf7-form .cf7-eayride-row.single:has(#vehicles-start),
    .ez-contact .custom-eazyride-cf7-form .cf7-eayride-row.single:has(#launch-timeline) {
        float: none;
        width: 100%;
        margin-right: 0;
    }
}

/* Thank you popup */
.ty-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:var(--space-4)}
.ty-modal[hidden]{display:none}
.ty-modal__overlay{position:absolute;inset:0;background:rgba(var(--primary-rgb),.28);backdrop-filter:blur(4px)}
.ty-modal__card{position:relative;box-sizing:border-box;width:100%;max-width:440px;background:var(--white);border-radius:var(--radius-lg);box-shadow:var(--shadow-2);padding:var(--space-10) var(--space-8) var(--space-8);text-align:center;animation:ty-pop .28s cubic-bezier(.2,.8,.2,1)}
@keyframes ty-pop{from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:none}}
.ty-modal__close{position:absolute;top:var(--space-4);right:var(--space-4);width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:var(--surface-soft);color:var(--muted);cursor:pointer;transition:var(--transition-base)}
.ty-modal__close:hover{background:var(--border-color);color:var(--color-heading)}
.ty-modal__icon{display:flex;align-items:center;justify-content:center;margin:0 auto var(--space-3)}
.ty-modal__img{width:96px;height:96px;object-fit:contain;display:block}
.ty-modal__title{font-family:var(--font-family-base);font-size:var(--fs-h3);font-weight:var(--font-weight-bold);letter-spacing:-.01em;color:var(--color-heading);margin:0}
.ty-modal__desc{font-family:var(--font-family-subtext);font-size:var(--fs-body-lg);color:var(--muted);line-height:var(--line-height-body);margin:var(--space-3) auto 0;max-width:340px}
.ty-modal__ok{margin-top:var(--space-8);min-width:160px;justify-content:center;text-align:center}
/* ≤480px */
@media (max-width:480px){
	.ty-modal{padding:var(--space-3)}
	.ty-modal__card{padding:var(--space-8) var(--space-5) var(--space-6)}
	.ty-modal__title{font-size:var(--fs-h4)}
	.ty-modal__img{width:84px;height:84px}
}