:root {
    --ink: #1c2230;
    --muted: #5d6475;
    --lav: #8d7ad6;
    --lav-200: #cabff2;
    --lav-700: #6b58b0;
    --leaf: #58a078;
    --leaf-700: #2a7b63;
    --card: #ffffff;
    --page: #fbfaff;
    --link: #2b5fd9;
    --shadow: 0 6px 24px rgba(37, 32, 77, .08);
}

body {
    margin: 0;
    color: var(--ink);
    font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: linear-gradient(180deg, rgba(141, 122, 214, .05), rgba(88, 160, 120, .05));
    background-color: #fbfaff;
}

/* Darker full-page yoga watermark */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .28;
    background-image:
        radial-gradient(48rem 48rem at 85% -10%, rgba(141, 122, 214, .35), transparent 70%),
        radial-gradient(44rem 44rem at -10% 85%, rgba(88, 160, 120, .35), transparent 70%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%236b58b0' stroke-opacity='.8' stroke-width='2'%3E%3Ccircle cx='180' cy='180' r='140'/%3E%3Ccircle cx='180' cy='180' r='110'/%3E%3Cpath d='M180 60c24 24 24 56 0 80s-56 24-80 0-24-56 0-80 56-24 80 0z' transform='rotate(0 180 180)'/%3E%3Cpath d='M180 60c24 24 24 56 0 80s-56 24-80 0-24-56 0-80 56-24 80 0z' transform='rotate(60 180 180)'/%3E%3Cpath d='M180 60c24 24 24 56 0 80s-56 24-80 0-24-56 0-80 56-24 80 0z' transform='rotate(120 180 180)'/%3E%3C/g%3E%3Cg stroke='%2358a078' stroke-opacity='.8' stroke-width='2'%3E%3Cpath d='M180 100c18 18 18 42 0 60s-42 18-60 0 -18-42 0-60 42-18 60 0z' transform='rotate(30 180 180)'/%3E%3Cpath d='M180 100c18 18 18 42 0 60s-42 18-60 0 -18-42 0-60 42-18 60 0z' transform='rotate(90 180 180)'/%3E%3Cpath d='M180 100c18 18 18 42 0 60s-42 18-60 0 -18-42 0-60 42-18 60 0z' transform='rotate(150 180 180)'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 280px 280px;
    background-position: center;
    mix-blend-mode: multiply;
    filter: saturate(140%) brightness(1.05);
}

.wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 24px
}

header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
    padding: 22px 0;
    background: rgba(255, 255, 255, .9);
    border-bottom: 2px solid var(--lav-200);
    backdrop-filter: blur(2px);
}

.logo {
    width: 88px;
    height: 88px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    border: 2px solid rgba(106, 87, 165, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.site h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1
}

.tag {
    color: var(--muted);
    margin-top: 6px;
    font-style: italic
}

.provider-inline {
    margin-top: 8px;
    font-weight: 800;
}

.provider-inline .name-link {
    color: var(--lav-700);
}

.top-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: center
}

a.link {
    color: var(--link);
    text-decoration: underline;
    font-weight: 700;
    position: relative;
    padding-right: 18px
}

.link.ext::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    opacity: .95;
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232b5fd9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3C/svg%3E");
}

section {
    background: var(--card);
    border: 1px solid rgba(106, 87, 165, .12);
    border-radius: 16px;
    padding: 18px;
    margin: 18px 0;
    box-shadow: var(--shadow)
}

section h2 {
    margin: 0 0 10px;
    color: var(--lav-700);
    border-bottom: 2px solid var(--lav-200);
    padding-bottom: 6px
}

footer {
    margin: 28px 0 12px;
    color: var(--ink);
    font-size: 14px
}

.foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 18px;
    background: linear-gradient(180deg, #fff, #faf8ff);
    border: 1px solid rgba(106, 87, 165, .14);
    border-radius: 16px;
    box-shadow: var(--shadow)
}

.muted {
    color: var(--muted);
    margin-top: 10px;
    font-size: 13px
}

a[href^="mailto:"] {
    color: var(--link);
}

a[href^="mailto:"]:hover {
    opacity: .85
}

@media (max-width:720px) {
    header {
        grid-template-columns: 1fr
    }

    .logo {
        width: 76px;
        height: 76px;
        border-radius: 50%;
    }
}

.form-button-div{
    /* background-color: #58a078; */
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}
.intake-form-button{
    width: full;
    background-color: #2b5fd9;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
}


.button {
  height: 50px;
  width: 450px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

.button:hover {
  box-shadow: .5px .5px 150px #252525;
}

.type1::after {
  content: "Click to Start Intake";
  height: 50px;
  width: 450px;
  background-color: #008080;
  color: #fff;
  position: absolute;
  top: 0%;
  left: 0%;
  transform: translateY(50px);
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease-in-out;
}

.type1::before {
  content: "Start New Patient Intake";
  height: 50px;
  width: 450px;
  background-color: #6b58b0;
  color: #fff;
  position: absolute;
  top: 0%;
  left: 0%;
  transform: translateY(0px) scale(1.2);
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease-in-out;
}

.type1:hover::after {
  transform: translateY(0) scale(1.2);
}

.type1:hover::before {
  transform: translateY(-50px) scale(0) rotate(120deg);
}

.mian-form {
    margin-top: 1.75rem;
    padding: 1.75rem 1.75rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(106, 87, 165, .16);
    background:
        radial-gradient(circle at top left, rgba(141, 122, 214, .08), transparent 55%),
        radial-gradient(circle at bottom right, rgba(88, 160, 120, .08), transparent 55%),
        #ffffff;
    box-shadow: 0 14px 40px rgba(31, 28, 61, 0.16);
}

.mian-form form {
    max-width: 720px;
    margin: 0 auto;
}

.form-heading {
    margin: 0 0 .35rem;
    text-align: center;
    font-size: 1.45rem;
    letter-spacing: .02em;
    color: var(--lav-700);
}

.sub-heading {
    font-size: 0.9rem;
    color: var(--muted);
    text-align: center;
    margin: 0 0 .75rem;
}

.mian-form p {
    margin-top: 0;
}

.question-block {
    position: relative;
    margin: 1rem 0;
    padding: 1.1rem 1.1rem 1.05rem 1.2rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(141, 122, 214, .06), rgba(88, 160, 120, .04));
    border: 1px solid rgba(106, 87, 165, .16);
    box-shadow: 0 10px 26px rgba(31, 28, 61, 0.10);
}

.question-block::before {
    content: "";
    position: absolute;
    inset-block: 10px;
    left: 4px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--lav-700), var(--leaf-700));
    opacity: .9;
}

.question-block>label {
    display: block;
    font-weight: 600;
    color: var(--lav-700);
    padding-left: 10px;
}

.question-block .sub-example,
.question-block p {
    font-size: 0.85rem;
    color: var(--muted);
    margin: .4rem 0 .65rem;
    padding-left: 10px;
}

.question-block .options {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    padding-left: 10px;
}

.question-block .options>div {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .2rem .75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(106, 87, 165, .16);
}

.question-block .options label {
    font-size: 0.9rem;
    color: var(--ink);
}

input[type="radio"] {
    accent-color: var(--leaf-700);
}

.mian-form .submit-row {
    margin-top: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.form-error {
    min-height: 1.2em;
    font-size: 0.85rem;
    color: #b3261e;
}

.question-block.has-error {
    border-color: rgba(179, 38, 30, .7);
    box-shadow: 0 0 0 1px rgba(179, 38, 30, .35);
}

.primary-btn {
    border: none;
    border-radius: 999px;
    padding: .7rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(135deg, var(--lav-700), var(--leaf-700));
    box-shadow: 0 10px 22px rgba(31, 28, 61, 0.22);
    transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.08s ease;
}

.primary-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 14px 28px rgba(31, 28, 61, 0.26);
}

.primary-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(31, 28, 61, 0.18);
}

@media (max-width: 600px) {
    .mian-form {
        padding: 1.25rem 1.1rem 1.5rem;
    }

    .question-block .options {
        flex-direction: column;
        align-items: flex-start;
    }

    .question-block .options>div {
        width: 100%;
        justify-content: flex-start;
    }
    .button{
        width: 100%;
    }
    .button::after, .button::before{
        width: 100%;
    }
}

.crisis-info-page {
    max-width: 720px;
    width: 92%;
    margin: 60px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    font-family: system-ui, -apple-system, sans-serif;
    color: #2b2b2b;
}

/* Title */
.crisis-info-page__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
}

/* Description */
.crisis-info-page__lead {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Alert Box */
.crisis-info-page__alert {
    background: #fff6f6;
    border: 1px solid #ffd9d9;
    border-left: 5px solid #e53935;
    padding: 28px;
    border-radius: 12px;
    margin-bottom: 25px;
}

/* Section title */
.crisis-info-page__section-title {
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 20px;
}

/* Button layout */
.crisis-info-page__actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Buttons */
.crisis-btn {
    display: block;
    text-align: center;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: all .25s ease;
}

/* 988 button */
.crisis-btn--primary {
    background: white;
    border: 2px solid #e53935;
    color: #e53935;
}

.crisis-btn--primary:hover {
    background: #e53935;
    color: white;
}

/* 911 button */
.crisis-btn--danger {
    background: #e53935;
    color: white;
    border: none;
}

.crisis-btn--danger:hover {
    background: #c62828;
}

/* ER button */
.crisis-btn--neutral {
    background: #eef0f3;
    color: #444;
}

/* Bottom text */
.crisis-info-page__extra {
    font-size: 15px;
    color: #555;
    margin-bottom: 12px;
}

.crisis-info-page__note {
    color: #e53935;
    font-weight: 600;
}


/* -------------------- */
/* MOBILE IMPROVEMENTS  */
/* -------------------- */

@media (max-width: 600px) {

    .crisis-info-page {
        padding: 28px 16px;
        margin: 30px auto;
    }

    .crisis-info-page__title {
        font-size: 24px;
    }

    .crisis-info-page__alert {
        padding: 22px;
    }

    .crisis-btn {
        font-size: 15px;
        padding: 14px;
    }

}

/* Tablet */

@media (min-width: 700px) {

    .crisis-info-page__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .crisis-btn {
        flex: 1;
    }

}

@media (min-width: 900px) {

    .crisis-info-page__actions {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .crisis-btn {
        width: auto;
        min-width: 200px;
        max-width: 260px;
        padding: 14px 22px;
    }

}

.registration-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.registration-modal.is-visible {
    display: flex;
}

.stripe-like {
    display: flex;
    justify-content: center;
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 1.2rem;
    padding: 0.65rem 1.4rem;
    text-decoration: none;
    background: #6b58b0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.stripe-like:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.secondary-button {
    display: flex;
    justify-content: center;
    border: 1px solid #000;
    border-radius: 10px;
    color: #000;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 1.2rem;
    padding: 0.65rem 1.4rem;
    text-decoration: none;
    background: transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.emergency-modal__dialog {
    position: relative;
    max-width: 420px;
    width: calc(100% - 32px);
    margin: 0 16px;
    padding: 1.9rem 0.2rem 1.7rem;
    border-radius: 20px;
    background:
        radial-gradient(circle at top left, rgba(141, 122, 214, .08), transparent 60%),
        radial-gradient(circle at bottom right, rgba(88, 160, 120, .08), transparent 60%),
        #ffffff;
    box-shadow:
        0 18px 50px rgba(31, 28, 61, .18);
    color: var(--ink);
    z-index: 10;
    pointer-events: auto;
}
.model-box{
    display: flex;
    flex-direction: column;
    padding: 0 5rem 0 5rem;
}
.emergency-modal__close {
    position: absolute;
    top: .75rem;
    right: .85rem;
    border: none;
    background: rgba(255, 255, 255, .95);
    color: var(--ink);
    border-radius: 999px;
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px rgba(106, 87, 165, .22);
}
.emergency-modal__title {
    margin-top: 0;
    margin-bottom: .4rem;
    font-size: 1.2rem;
    text-align: center;
}
.emergency-modal__backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 255, 255, .6), rgba(245, 242, 255, .85));
    backdrop-filter: blur(3px) saturate(1.15);
    pointer-events: none;
    z-index: 0;
}