/* ==========================================================================
   Call me form (2026-10 redesign)
   ========================================================================== */

.jsplash-viewport.callme-js-form,
.jsplash-viewport:has(.callme-js-form) {
    background: rgba(15, 20, 35, .45);
}

.jsplash-wrapper.callme-js-form {
    padding: 0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 80px -20px rgba(15, 20, 35, .45);
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
}

.jsplash-inner.callme-js-form {
    max-width: none;
    overflow: visible;
    text-align: left;
}

.jsplash-closebtn.callme-js-form {
    top: 14px;
    right: 14px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    line-height: 1;
    font-size: 20px;
    border-radius: 50%;
    background: #f6f7f9;
    color: #7a8394;
    transition: background .2s ease-out, color .2s ease-out;
}

.jsplash-closebtn.callme-js-form:hover {
    background: #eceef2;
    color: #1f2a44;
}

/* card */
.callme-form-module.cm-card {
    position: relative;
    width: 400px;
    max-width: 100%;
    margin: 0;
    padding: 30px 30px 24px 30px;
    box-sizing: border-box;
    border: 0;
    border-radius: 22px;
    background: #fff;
    box-shadow: none;
    font-family: 'Ubuntu', sans-serif;
    color: #2b3446;
    text-align: left;
}

.jsplash-inner .callme-form-module.cm-card {
    width: 400px;
}

.cm-card .cm-head {
    margin: 0 0 22px 0;
}

.cm-card .cm-head-icon,
.cm-card .cm-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 0 16px 0;
    border-radius: 16px;
    background: #fff6dc;
    color: #d99a00;
}

.cm-card .cm-head-icon svg,
.cm-card .cm-success-icon svg {
    width: 24px;
    height: 24px;
}

.cm-card .cm-title {
    font-family: 'Ubuntu-Bold', 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    color: #1f2a44;
}

.cm-card .cm-text,
.cm-card .feedback-description {
    margin: 8px 0 0 0;
    font-size: 15px;
    line-height: 1.45;
    color: #7a8394;
    text-align: left;
}

/* fields */
.cm-card .field.cm-field {
    position: relative;
    margin: 0 0 16px 0;
    padding: 0;
}

.cm-card .cm-field label {
    display: block;
    margin: 0;
}

.jsplash-inner .cm-card .cm-field label > span.cm-label,
.cm-card .cm-label {
    display: block;
    margin: 0 0 6px 0;
    font-size: 13px;
    font-weight: 500;
    color: #2b3446;
    text-align: left;
}

.cm-card .cm-input {
    position: relative;
    display: block;
}

.cm-card .cm-input svg {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    z-index: 2;
    color: #9aa1ad;
    pointer-events: none;
    transition: color .2s ease-out;
}

.cm-card .cm-input input {
    display: block;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 16px 0 44px;
    box-sizing: border-box;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    background: #f7f8fa;
    font: inherit;
    font-size: 16px;
    color: #1f2a44;
    box-shadow: none;
    outline: none;
    transition: border-color .2s ease-out, background .2s ease-out, box-shadow .2s ease-out;
}

.cm-card .cm-input input::placeholder {
    color: #a5acb8;
}

.cm-card .cm-input input:focus {
    border-color: #fbc13c;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(251, 193, 60, .25);
}

.cm-card .cm-input input:focus + svg,
.cm-card .cm-input:focus-within svg {
    color: #d99a00;
}

.cm-card .cm-input input.error {
    border-color: #e5484d;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(229, 72, 77, .15);
}

.cm-card .validation-error {
    position: static;
    display: none;
    margin: 6px 0 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-size: 13px;
    color: #e5484d;
    opacity: 1;
}

.cm-card .validation-error:before {
    content: none;
}

.cm-card .validation-error.-visible {
    display: block;
}

/* submit */
.cm-card .field.button-field {
    margin: 22px 0 0 0;
    padding: 0;
}

.cm-card .cm-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 54px;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    background: #fbc13c;
    color: #1f2a44;
    font: inherit;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 10px 22px -12px rgba(232, 160, 0, .9);
    transition: background .2s ease-out;
}

.cm-card .cm-submit svg {
    width: 20px;
    height: 20px;
    transition: transform .2s ease-out;
}

.cm-card .cm-submit:hover {
    background: #f4b21c;
}

.cm-card .cm-submit:hover svg {
    transform: translateX(3px);
}

.cm-card .cm-note {
    margin: 12px 0 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: #9aa1ad;
    text-align: center;
}

.cm-card .cm-note a {
    color: #7a8394;
    text-decoration: underline;
}

.cm-card .cm-alt {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 2px 6px;
    margin: 20px -30px -24px -30px;
    padding: 16px 30px;
    border-top: 1px solid #eef0f4;
    border-radius: 0 0 22px 22px;
    background: #f9fafb;
    font-size: 14px;
    color: #7a8394;
    text-align: center;
}

.cm-card .cm-alt a {
    font-weight: 700;
    color: #1f2a44;
    text-decoration: none;
    white-space: nowrap;
}

.cm-card .cm-alt a:hover {
    color: #d99a00;
}

.cm-card .cm-alt-hours {
    flex-basis: 100%;
    font-size: 12px;
}

/* success state */
.cm-card .cm-success {
    display: none;
    padding: 10px 0 6px 0;
    text-align: center;
}

.cm-card .cm-success .cm-success-icon {
    margin: 0 auto 16px auto;
    border-radius: 50%;
    background: #e7f7ee;
    color: #1f9d55;
    animation: cm-pop .35s ease-out both;
}

.cm-card .cm-success .cm-text {
    text-align: center;
}

.cm-card .cm-success .cm-submit {
    margin-top: 22px;
}

.cm-card.-sent form {
    display: none;
}

.cm-card.-sent .cm-success {
    display: block;
}

@keyframes cm-pop {
    from { transform: scale(.6); opacity: 0; }
    to { transform: none; opacity: 1; }
}

@media all and (max-width: 480px) {
    .callme-form-module.cm-card,
    .jsplash-inner .callme-form-module.cm-card {
        width: calc(100vw - 24px);
        padding: 24px 20px 20px 20px;
    }
    .cm-card .cm-alt {
        margin: 18px -20px -20px -20px;
        padding: 14px 20px;
    }
    .cm-card .cm-title {
        font-size: 21px;
    }
}

/* free site visit form */
.cm-card.cm-visit .cm-visit-points {
    margin: -6px 0 18px 0;
    padding: 0;
    list-style: none;
}

.cm-card.cm-visit .cm-visit-points li {
    position: relative;
    margin: 0 0 6px 0;
    padding: 0 0 0 26px;
    font-size: 14px;
    line-height: 1.4;
    color: #2b3446;
}

.cm-card.cm-visit .cm-visit-points li:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fbc13c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2a44' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 10px 10px;
}

.cm-card.cm-visit .cm-visit-item {
    margin: 0 0 16px 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f6f7f9;
    font-size: 14px;
    color: #1f2a44;
}

.cm-card.cm-visit .cm-visit-item[hidden] {
    display: none;
}

.cm-card .cm-optional {
    font-size: 12px;
    font-weight: 400;
    color: #9aa1ad;
}
