/* ============================================================
   CONTACT PAGE - HEADER AND HERO
   ============================================================ */
body.contact-page .top-wrap {
    padding: 8px 10px;
    position: relative;
    top: 0;
    z-index: 4;
    background: #89a8c4;
}

body.contact-page .ftco-navbar-light {
    position: relative;
    top: 0;
    background: #fff !important;
}

body.contact-page .topper .text .con span,
body.contact-page .topper .text .con span:first-child,
body.contact-page .topper .ftco-social li a {
    color: #fff;
}

body.contact-page .topper .ftco-social li a:hover:after {
    background: #88a7c3;
}

body.contact-page .ftco-navbar-light .navbar-nav>.nav-item>.nav-link:hover,
body.contact-page .ftco-navbar-light .navbar-nav>.nav-item>.nav-link:focus,
body.contact-page .ftco-navbar-light .navbar-nav>.nav-item .nav-link.active {
    color: #eba7ac;
}

body.contact-page .ftco-navbar-light .border-top-custom:after {
    background: linear-gradient(to right, rgba(136, 167, 195, 0) 0%, #eba7ac 100%);
}

body.contact-page .ftco-navbar-light .btn-custom {
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.2) 48%,
            rgba(255, 255, 255, 0.45) 50%,
            rgba(255, 255, 255, 0.2) 52%,
            rgba(255, 255, 255, 0) 60%,
            rgba(255, 255, 255, 0) 100%);
    background-repeat: no-repeat;
    background-size: 250% 100%;
    background-position: 160% 0;
    transition: filter 0.25s ease;
}

body.contact-page .ftco-navbar-light .btn-custom:hover,
body.contact-page .ftco-navbar-light .btn-custom:focus {
    filter: brightness(1.03);
    animation: wellness-button-shimmer 0.8s ease;
}

body.contact-page .hero-wrap.hero-wrap-2 {
    min-height: auto;
    height: 500px;
    background-position: center top;
    background-attachment: unset;
}

body.contact-page .hero-wrap.hero-wrap-2 .slider-text {
    min-height: auto;
    height: 500px;
}

/* body.contact-page .hero-wrap.hero-wrap-2 .overlay {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.66) 0%, rgba(45, 41, 38, 0.5) 45%, rgba(136, 167, 195, 0.42) 100%);
} */

body.contact-page .hero-wrap .slider-text .breadcrumbs .separator {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transform: translateY(-1px);
    margin-right: 5px;
    margin-left: 5px;
}

/* ============================================================
   CONTACT PAGE - INTRO CARDS
   ============================================================ */
body.contact-page {
    background: linear-gradient(180deg, #f8f2f1 0%, #edf4f8 60%, #ffffff 100%);
}

.contact-intro-section {
    position: relative;
    padding-top: 0px;
    /* margin-top: -40px; */
    z-index: 3;
    padding-bottom: 15px;
}

.contact-intro-shell {
    position: relative;
}

.contact-glass-card {
    height: 100%;
    padding: 28px 24px;
    border-radius: 26px;
    background: #89a8c4;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 22px 45px rgba(45, 41, 38, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(45, 41, 38, 0.12);
}

.contact-glass-card__icon {
    width: 62px !important;
    height: 62px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #eba7ac;
    color: white;
    font-size: 1.35rem;
    box-shadow: 0 16px 30px rgba(136, 167, 195, 0.24);
}

.contact-glass-card__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #fff0f1;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-glass-card h2 {
    margin-bottom: 10px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d2926;
}

.contact-glass-card p,
.contact-glass-card a {
    margin: 0;
    color: #ffffffe8;
    line-height: 1.8;
    text-align: center;
    font-weight: 600;
}

.contact-glass-card a:hover {
    color: white;
}

/* ============================================================
   CONTACT PAGE - MAIN STUDIO SECTION
   ============================================================ */
.contact-studio-section {
    padding-top: 18px;
    padding-bottom: 50px;
}

.contact-studio {
    overflow: hidden;
    border-radius: 34px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(45, 41, 38, 0.08);
}

.contact-studio__aside {
    position: relative;
    height: 100%;
    padding: 42px 34px;
    background: linear-gradient(160deg, #23201e 0%, #2d2926 55%, #3f4f5d 100%);
    color: #fff;
}

.contact-studio__aside::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(235, 167, 172, 0.22) 0%, transparent 72%);
    pointer-events: none;
}

.contact-studio__aside::after {
    content: "";
    position: absolute;
    bottom: -120px;
    left: -100px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(136, 167, 195, 0.18) 0%, transparent 72%);
    pointer-events: none;
}

.contact-studio__kicker {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 16px;
    color: #eba7ac;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.contact-studio__title {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.1rem, 3vw, 3.25rem);
    line-height: 1.15;
}

.contact-studio__copy {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.8;
}

.contact-studio__social {
    position: relative;
    z-index: 1;
    margin-top: 10px;
}

.contact-studio__social-label {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.contact-studio__social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-studio__social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    transition: background 0.25s ease, transform 0.25s ease;
}

.contact-studio__social-links a:hover {
    background: #e58f98;
    transform: translateY(-2px);
}

.contact-studio__main {
    display: grid;
    gap: 1px;
    height: 100%;
    background: rgba(136, 167, 195, 0.14);
}

.contact-studio__panel {
    padding: 34px;
    background: #fff;
}

.contact-studio__panel.contact-studio__panel--map.aos-init.aos-animate {
    padding: 0px;
}

.contact-panel__header {
    margin-bottom: 18px;
}

.contact-panel__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #e58f98;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.contact-panel__header h3 {
    margin-bottom: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.8rem;
    color: #2d2926;
    font-weight: 600;
}

body.contact-page .contactForm .form-group {
    margin-bottom: 0;
}

body.contact-page .contactForm .form-control {
    border: 1px solid #d8e1e8;
    border-radius: 18px;
    min-height: 58px;
    padding: 16px 18px;
    background: #f8fbfd;
    color: #2d2926;
    box-shadow: none;
}

body.contact-page .contactForm textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

body.contact-page .contactForm .form-control::placeholder {
    color: #2d2926ca !important;
}

body.contact-page .contactForm .form-control:focus {
    border-color: rgba(229, 143, 152, 0.65) !important;
    background: #fff;
    box-shadow: 0 0 0 0.2rem rgba(229, 143, 152, 0.12) !important;
}

body.contact-page .contactForm .btn-primary {
    /* min-width: 190px;
    min-height: 56px; */
    padding: 14px 28px;
    border: 1px solid #ffffff !important;
    border-radius: 999px;
    background: #89a8c4 !important;
    background-image: linear-gradient(135deg, #eba7ac 0%, #eba7ac 100%) !important;
    color: black !important;
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: 0 16px 32px rgba(136, 167, 195, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

body.contact-page .contactForm .btn-primary:hover,
body.contact-page .contactForm .btn-primary:focus {
    transform: translateY(-2px);
    border-color: #547493 !important;
    box-shadow: 0 22px 38px rgba(136, 167, 195, 0.34);
    color: #fff !important;
    background: #6d90af !important;
    background-image: linear-gradient(135deg, #6d90af 0%, #547493 100%) !important;
}

.contact-panel__note {
    color: #6a7380;
    line-height: 1.7;
}

.contact-panel__action {
    margin-left: auto;
}

.contact-map-frame {
    overflow: hidden;
    border-radius: 0px;
    background: linear-gradient(135deg, rgba(136, 167, 195, 0.14) 0%, rgba(235, 167, 172, 0.14) 100%);
}

.contact-map-frame iframe {
    display: block;
    width: 100%;
    min-height: 300px;
    filter: grayscale(0.12) saturate(0.9) contrast(1.05);
}

/* ============================================================
   CONTACT PAGE - RESPONSIVE
   ============================================================ */
@media (max-width: 1199.98px) {

    .contact-studio__aside,
    .contact-studio__panel {
        padding: 32px 26px;
    }
}

@media (max-width: 991.98px) {

    body.contact-page .hero-wrap.hero-wrap-2,
    body.contact-page .hero-wrap.hero-wrap-2 .slider-text {
        height: 460px;
    }

    .contact-intro-section {
        margin-top: -60px;
    }

    .contact-studio {
        border-radius: 28px;
    }

    .contact-studio__main {
        gap: 0;
    }

    .contact-studio__panel+.contact-studio__panel {
        border-top: 1px solid rgba(136, 167, 195, 0.18);
    }
}

@media (max-width: 767.98px) {

    body.contact-page .hero-wrap.hero-wrap-2,
    body.contact-page .hero-wrap.hero-wrap-2 .slider-text {
        height: 250px;
    }

    .contact-intro-section {
        margin-top: 0px;
    }

    .contact-glass-card,
    .contact-studio__aside,
    .contact-studio__panel {
        padding: 24px 20px;
    }

    .contact-glass-card h2,
    .contact-panel__header h3 {
        font-size: 1.35rem;
    }

    .contact-studio__title {
        font-size: 2rem;
    }

    .contact-panel__note {
        width: 100%;
    }

    .contact-panel__action {
        width: 100%;
    }

    body.contact-page .contactForm .btn-primary {
        width: 100%;
    }

    .contact-map-frame iframe {
        min-height: 280px;
    }
}

/* ── CF7 wrapper — base input display ───────────────────────────── */
.ww-cf7-wrapper .wpcf7-form input[type="text"],
.ww-cf7-wrapper .wpcf7-form input[type="email"],
.ww-cf7-wrapper .wpcf7-form input[type="tel"],
.ww-cf7-wrapper .wpcf7-form textarea {
    display: block;
    width: 100%;
}

/* Remove default CF7 paragraph wrapping gaps */
.ww-cf7-wrapper .wpcf7-form .row p {
    margin-bottom: 0;
}

/* ── CF7 input fields — match original design ────────────────────── */
.ww-cf7-wrapper .wpcf7-form input.form-control,
.ww-cf7-wrapper .wpcf7-form input[type="text"].wpcf7-text,
.ww-cf7-wrapper .wpcf7-form input[type="email"].wpcf7-email,
.ww-cf7-wrapper .wpcf7-form input[type="tel"].wpcf7-tel {
    width: 100%;
    height: 52px;
    padding: 0.75rem 1.25rem;
    background-color: #f8fbfd;
    border: 1px solid #ebebeb;
    border-radius: 50px;
    font-size: 0.95rem;
    color: #333;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ww-cf7-wrapper .wpcf7-form textarea.form-control,
.ww-cf7-wrapper .wpcf7-form textarea.wpcf7-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: #f8fbfd;
    border: 1px solid #ebebeb;
    border-radius: 20px;
    font-size: 0.95rem;
    color: #333;
    outline: none;
    box-shadow: none;
    resize: vertical;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ww-cf7-wrapper .wpcf7-form input.form-control:focus,
.ww-cf7-wrapper .wpcf7-form input[type="text"].wpcf7-text:focus,
.ww-cf7-wrapper .wpcf7-form input[type="email"].wpcf7-email:focus,
.ww-cf7-wrapper .wpcf7-form input[type="tel"].wpcf7-tel:focus,
.ww-cf7-wrapper .wpcf7-form textarea.form-control:focus,
.ww-cf7-wrapper .wpcf7-form textarea.wpcf7-textarea:focus {
    border-color: #c97b8a;
    background-color: #f8fbfd;
    box-shadow: none;
    outline: none;
}

/* Placeholder color — fixed (was incorrectly setting border) */
.ww-cf7-wrapper .wpcf7-form input::placeholder,
.ww-cf7-wrapper .wpcf7-form textarea::placeholder {
    color: #999;
    opacity: 1;
}

/* ── CF7 submit button ───────────────────────────────────────────── */
.ww-cf7-wrapper .wpcf7-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background-color: var(--color-primary, #c97b8a);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease;
    margin-left: auto;
}

.ww-cf7-wrapper .wpcf7-submit:hover {
    background-color: var(--color-primary-dark, #b5677a);
    transform: translateY(-1px);
}

/* Wrap submit in flex to push it right */
.ww-cf7-wrapper .contact-panel__action {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

/* ── Spinner — loading state ─────────────────────────────────────── */
.ww-cf7-wrapper .wpcf7-submit.ww-btn--loading {
    color: transparent !important;
    pointer-events: none;
    min-width: 140px;
}

.ww-cf7-wrapper .wpcf7-submit.ww-btn--loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    margin-left: -9px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ww-spin 0.7s linear infinite;
}

/* Ensure spinner pseudo-element is gone when not loading */
.ww-cf7-wrapper .wpcf7-submit:not(.ww-btn--loading)::after {
    display: none;
}

@keyframes ww-spin {
    to { transform: rotate(360deg); }
}

/* ── Validation tips below each field ───────────────────────────── */
.ww-cf7-wrapper .wpcf7-not-valid-tip {
    display: block;
    margin-top: 5px;
    margin-left: 4px;
    font-size: 0.775rem;
    color: #e05a6a;
    font-weight: 500;
}

.ww-cf7-wrapper .wpcf7-not-valid {
    border-color: #e05a6a !important;
    background-color: #fff8f8 !important;
}

/* ── Hide CF7 default UI elements ────────────────────────────────── */
.ww-cf7-wrapper .wpcf7-response-output {
    display: none !important;
}

.wpcf7-spinner {
    display: none !important;
}

/* ── Toast container ─────────────────────────────────────────────── */
#ww-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 340px;
    max-width: calc(100vw - 48px);
    pointer-events: none;
}

.ww-toast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    font-size: 0.875rem;
    line-height: 1.45;
    color: #333;
    border-left: 4px solid transparent;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: all;
}

.ww-toast--visible {
    opacity: 1;
    transform: translateX(0);
}

.ww-toast--success { border-left-color: #4caf7d; }
.ww-toast--success .ww-toast__icon { color: #4caf7d; flex-shrink: 0; margin-top: 1px; }

.ww-toast--error { border-left-color: #e05a6a; }
.ww-toast--error .ww-toast__icon { color: #e05a6a; flex-shrink: 0; margin-top: 1px; }

.ww-toast__message { flex: 1; }

.ww-toast__close {
    background: none;
    border: none;
    font-size: 1.1rem;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.ww-toast__close:hover { color: #333; }

/* ── Fake spinner button (shown during CF7 submission) ─── */
.ww-fake-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    min-width: 140px;
    background-color: var(--color-primary, #c97b8a);
    border: none;
    border-radius: 50px;
    cursor: not-allowed;
    position: relative;
}

.ww-fake-submit__spinner {
    display: block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ww-spin 0.7s linear infinite;
}