/* EW Behavioral Health main design stylesheet */
:root {
    --bg: #fff;
    --surface: #fff;
    --ink: #13223f;
    --muted: #55627a;
    --brand: #087a69;
    --brand2: #3a7a3f;
    --acc: #087a69;
    --navy: #0f2a5c;
    --line: #d9ebe7;
    --soft: #eafaf6;

    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0c1426;
        --surface: #14203a;
        --ink: #eef2fb;
        --muted: #a9b6cf;
        --brand: #5ee0cb;
        --acc: #55e09a;
        --line: #26365a;
        --soft: #14203a;
    }
}

:root[data-theme="dark"] {
    --bg: #0c1426;
    --surface: #14203a;
    --ink: #eef2fb;
    --muted: #a9b6cf;
    --brand: #5ee0cb;
    --acc: #55e09a;
    --line: #26365a;
    --soft: #14203a;
}

html {
    scroll-padding-top: env(safe-area-inset-top, 0px);
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 17px/1.6 "Source Sans 3", system-ui, -apple-system, Segoe UI, sans-serif;
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.2;
    margin: 0 0 .5em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

h3 {
    font-size: 1.2rem;
}

a {
    color: var(--brand);
}

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.top {
    background: var(--navy);
    color: #fff;
    font-size: .9rem;
    text-align: center;
    padding: 8px 12px;
}

.top a {
    color: #fff;
    font-weight: 700;
}

header {
    position: sticky;
    top: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    z-index: 5;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    max-width: 1080px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.logo img,
.logo .custom-logo {
    height: 56px;
    width: auto;
    max-width: 220px;
    display: block;
    background: #fff;
    border-radius: 8px;
}

nav a {
    color: var(--ink);
    text-decoration: none;
    margin-right: 18px;
    font-size: .95rem;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
}

.btn {
    display: inline-block;
    background: var(--brand2);
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 0;
    font-size: 1rem;
    cursor: pointer;
}

.btn.alt {
    background: transparent;
    color: var(--brand);
    border: 2px solid var(--brand);
}

.hero {
    padding: 72px 0 56px;
    background: linear-gradient(180deg, var(--soft), var(--bg));
}

.hero p {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 620px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem;
    color: var(--acc);
    font-weight: 700;
    margin-bottom: 10px;
}

.cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

section {
    padding: 60px 0;
}

.section-intro {
    color: var(--muted);
    max-width: 640px;
}

.grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
}

.card p {
    color: var(--muted);
    margin: 0;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    list-style: none;
    margin: 20px 0 0;
}

.tags li {
    background: var(--soft);
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: .95rem;
}

.treat-section {
    background: var(--soft);
}

.band {
    background: var(--navy);
    color: #fff;
}

.band h2 {
    color: #fff;
}

.band p {
    opacity: .92;
}

.two {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
}

.steps {
    counter-reset: s;
    padding: 0;
    list-style: none;
    margin: 0;
}

.steps li {
    counter-increment: s;
    padding-left: 48px;
    position: relative;
    margin-bottom: 18px;
}

.steps li:before {
    content: counter(s);
    position: absolute;
    left: 0;
    top: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand2);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
}

label {
    display: block;
    font-weight: 600;
    font-size: .9rem;
    margin: 12px 0 4px;
}

input,
select,
textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
}

.small {
    font-size: .8rem;
    color: var(--muted);
}

footer {
    background: var(--navy);
    color: #cfdad8;
    padding: 40px 0;
    font-size: .92rem;
}

footer a {
    color: #fff;
}

/* Contact Form 7 styling - used when the form is connected */

.wpcf7 form label {
    display: block;
    font-weight: 600;
    font-size: .9rem;
    margin: 12px 0 4px;
}

.wpcf7 input:not([type="submit"]),
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
}

.wpcf7 input[type="submit"] {
    display: inline-block;
    background: var(--brand2);
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    border: 0;
    font-size: 1rem;
    cursor: pointer;
}

.wpcf7-not-valid-tip {
    font-size: .85rem;
}

.wpcf7 form .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 12px;
    border-radius: 10px;
}


/* =====================================
   COMING SOON PAGE
===================================== */

.coming-soon-page {
    margin: 0;
    min-height: 100vh;
    background: #eafaf6;
}

.coming-soon-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px 25px;
    box-sizing: border-box;
}

.coming-soon-content {
    width: 100%;
    max-width: 760px;
    margin: auto;
}

.coming-soon-logo {
    margin-bottom: 55px;
}

.coming-soon-logo img {
    width: 100%;
    max-width: 430px;
    height: auto;
}

.coming-soon-label {
    display: inline-block;
    color: #087a69;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.coming-soon-content h1 {
    color: #0f2a5c;
    font-family: Georgia, serif;
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.15;
    margin: 0 0 22px;
}

.coming-soon-content p {
    color: #55627a;
    font-size: 18px;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 30px;
}

.coming-soon-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #55627a;
}

.coming-soon-contact a {
    color: #087a69;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

.coming-soon-footer {
    color: #55627a;
    font-size: 13px;
    padding-top: 35px;
}

@media (max-width: 600px) {
    .coming-soon-logo {
        margin-bottom: 40px;
    }

    .coming-soon-logo img {
        max-width: 300px;
    }

    .coming-soon-content p {
        font-size: 16px;
    }
}


/* =====================================
   WPBAKERY PAGE BUILDER SUPPORT
===================================== */

.website-page {
    width: 100%;
}

.website-page .page-content {
    width: 100%;
}

/* WPBakery rows */
.website-page .vc_row {
    margin-left: 0;
    margin-right: 0;
}

/* Responsive images */
.website-page .wpb_single_image img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.website-page .vc_btn3 {
    border-radius: 6px;
}

/* Mobile spacing */
@media (max-width: 767px) {
    .website-page .vc_row {
        padding-left: 15px;
        padding-right: 15px;
    }
}


/* ==========================================
   INNER PAGE TITLE BANNER
========================================== */

.page-title-banner {
    position: relative;
    width: 100%;
    padding: 65px 20px;
    background: linear-gradient(
        135deg,
        #eafaf6 0%,
        #f5fbf9 55%,
        #ffffff 100%
    );
    border-bottom: 1px solid #d9ebe7;
    text-align: center;
    overflow: hidden;
}

.page-title-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-title-heading {
    margin: 0;
    padding: 0;
    color: #0f2a5c;
    font-family: Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-title-accent {
    width: 65px;
    height: 4px;
    background: #087a69;
    border-radius: 5px;
    margin: 20px auto 0;
}

/* Inner page content spacing */

.website-page .page-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 20px 65px;
    box-sizing: border-box;
}

/* WPBakery full-width rows should remain full width */

.website-page .page-content > .vc_row,
.website-page .page-content > .vc_section {
    max-width: none;
}

/* Responsive title banner */

@media (max-width: 767px) {

    .page-title-banner {
        padding: 45px 15px;
    }

    .page-title-heading {
        font-size: 32px;
    }

    .page-title-accent {
        margin-top: 15px;
    }

    .website-page .page-content {
        padding: 30px 15px 45px;
    }
}

@media (max-width: 480px) {

    .page-title-banner {
        padding: 35px 15px;
    }

    .page-title-heading {
        font-size: 28px;
    }
}

