﻿/* =====================================================================
   cloudeVITA "Calm" layer (inspired by leading hospital websites):
   white space, one brand colour, line icons, task-first navigation.
   Loads after vita.css and vita-fresh.css.
   ===================================================================== */

:root { --vx-header-h: 124px; }

/* ---------- header: utility bar + short menu ---------- */
.vx-header { height: auto; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--vx-line); }
.vx-util { background: #F2F5F5; font-size: 13px; color: var(--vx-muted); }
.vx-util__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 38px; }
.vx-util__offices b { color: var(--vx-ink); font-weight: 600; }
.vx-util__links { display: flex; align-items: center; gap: 0; }
.vx-util__links a { color: var(--vx-muted); text-decoration: none; padding: 0 14px; border-left: 1px solid #D5DEDD; line-height: 1; }
.vx-util__links a:first-child { border-left: 0; color: var(--vx-teal); font-weight: 600; }
.vx-util__links a:hover { color: var(--vx-teal); text-decoration: underline; }
.vx-util__links .vx-util__trial { color: var(--vx-coral-text); font-weight: 700; }
.vx-header__bar { height: 86px; }
.vx-header__logo img { height: 50px; }
.vx-nav { gap: 6px; margin-left: auto; margin-right: 8px; }
.vx-nav a { font-size: 16px; font-weight: 500; color: var(--vx-teal); padding: 10px 14px; }
.vx-nav a:hover { background: transparent; color: #065E56; text-decoration: underline; text-underline-offset: 6px; }
.vx-nav a.active { background: transparent; color: var(--vx-ink); font-weight: 600; box-shadow: inset 0 -3px 0 var(--vx-teal); border-radius: 0; }
.vx-nav__mobile-only { display: none !important; }
.vx-search { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--vx-teal); }
.vx-search:hover { background: var(--vx-teal-50); }
.vx-header__cta { min-height: 54px; padding: 0 26px; border-radius: 6px; font-size: 17px; box-shadow: none; }
@media (max-width: 1180px) {
    :root { --vx-header-h: 74px; }
    .vx-util { display: none; }
    .vx-header__bar { height: 74px; }
    .vx-header__logo img { height: 42px; }
    .vx-search { display: none; }
    .vx-nav__mobile-only { display: flex !important; }
    .vx-nav a.active { box-shadow: none; background: var(--vx-teal-50); border-radius: 10px; }
}

/* ---------- calmer palette everywhere ---------- */
.vx-dark { background: #F6F8F8; }
.vx-light { background: #F9FAFA; }
.vx-dark2 { background: #FBF7F5; }
.vx-btn { border-radius: 8px; }
.vx-btn--amber { background: var(--vx-teal); box-shadow: none; }
.vx-btn--amber:hover { background: #065E56; }
.vx-btn--primary { box-shadow: none; }
.vx-eyebrow::before { background: var(--vx-teal-2); }
.vx-h2 em { color: var(--vx-teal); }
.vx-card, .vx-feat, .vx-plan, .vx-cert, .vx-faq details, .vx-area { border-radius: 12px; }
.vx-cta { border-radius: 12px; }

/* ---------- Home: hero (video-style, plain links under the headline) ---------- */
.vx-chero { position: relative; isolation: isolate; overflow: hidden; color: #fff; min-height: 600px; display: flex; align-items: flex-end; padding: 120px 0 72px; }
.vx-chero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 30%; z-index: -2; animation: vxKen 24s ease-in-out infinite alternate; }
@keyframes vxKen { from { transform: scale(1); } to { transform: scale(1.08); } }
.vx-chero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4,30,33,.85) 0%, rgba(4,30,33,.35) 55%, rgba(4,30,33,.15) 100%), linear-gradient(90deg, rgba(4,30,33,.55) 0%, rgba(4,30,33,0) 60%); }
.vx-chero > .vx-wrap { width: 100%; }
.vx-chero h1 { font-family: var(--vx-ff-head); font-size: clamp(38px, 5vw, 62px); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; max-width: 760px; margin: 0 0 18px; }
.vx-chero p { font-size: 19px; line-height: 1.6; color: #E3F1EF; max-width: 620px; margin: 0 0 30px; }
.vx-chero__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.vx-chero__links a:not(.vx-btn) { color: #fff; font-weight: 600; font-size: 17px; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.vx-chero__links a:not(.vx-btn):hover { color: #9CEBDD; }
.vx-chero__scroll { position: absolute; right: max(24px, calc((100vw - 1240px) / 2 + 24px)); bottom: 72px; width: 48px; height: 48px; border-radius: 50%; background: var(--vx-teal); display: flex; align-items: center; justify-content: center; color: #fff; }

/* stat row under hero */
.vx-crow { border-bottom: 1px solid var(--vx-line); }
.vx-crow dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.vx-crow dl > div { padding: 28px 24px; border-left: 1px solid var(--vx-line); display: flex; flex-direction: column; gap: 2px; }
.vx-crow dl > div:first-child { border-left: 0; padding-left: 0; }
.vx-crow dd { order: 1; margin: 0; font-family: var(--vx-ff-head); font-size: 34px; font-weight: 700; color: var(--vx-teal); letter-spacing: -.02em; }
.vx-crow dt { order: 2; font-size: 15px; color: var(--vx-muted); }

/* section heading with short rule (Cleveland style) */
.vx-rule { display: flex; flex-direction: column; gap: 14px; }
.vx-rule small { font-size: 15px; font-weight: 600; color: var(--vx-ink); }
.vx-rule small::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--vx-teal); margin-top: 14px; }

/* ---------- featured module areas (expandable) ---------- */
.vx-svc { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 44px 40px; }
.vx-svc__item { display: flex; flex-direction: column; gap: 6px; }
.vx-svc__ic { color: var(--vx-teal); margin-bottom: 8px; }
.vx-svc__item h3 { font-family: var(--vx-ff-head); font-size: 26px; font-weight: 600; color: var(--vx-teal); margin: 0; }
.vx-svc__item > p { font-size: 15px; color: var(--vx-muted); margin: 0; }
.vx-svc details { margin-top: 6px; }
.vx-svc summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--vx-teal); }
.vx-svc summary::-webkit-details-marker { display: none; }
.vx-svc summary::after { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8A7E' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .2s; }
.vx-svc details[open] summary::after { transform: rotate(180deg); }
.vx-svc summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.vx-svc details ul { list-style: none; padding: 14px 0 0; margin: 0; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--vx-line); margin-top: 12px; }
.vx-svc details li { font-size: 15px; color: var(--vx-ink); padding-left: 16px; position: relative; }
.vx-svc details li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--vx-teal-2); }
.vx-svc details li a { color: var(--vx-teal); font-weight: 600; text-decoration: none; }
.vx-svc details li a:hover { text-decoration: underline; }
.vx-svc details .vx-link { margin-top: 10px; font-size: 14px; }

/* ---------- get started / need help ---------- */
.vx-help { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border: 1px solid var(--vx-line); border-radius: 12px; overflow: hidden; }
.vx-help__box { padding: 40px; display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; }
.vx-help__box + .vx-help__box { border-left: 1px solid var(--vx-line); }
.vx-help__ic { width: 64px; height: 64px; border-radius: 50%; background: var(--vx-teal-50); color: var(--vx-teal); display: flex; align-items: center; justify-content: center; }
.vx-help h2 { font-size: 26px; margin: 0 0 4px; }
.vx-help__phone { display: inline-block; font-family: var(--vx-ff-head); font-size: 22px; font-weight: 600; color: var(--vx-teal); text-decoration: none; margin-bottom: 14px; }
.vx-help ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.vx-help li a { color: var(--vx-teal); font-weight: 500; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(11,138,126,.35); }
.vx-help li a:hover { text-decoration-color: currentColor; }

/* ---------- why: promise rows (calm alternating) ---------- */
.vx-promise { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 72px; align-items: center; }
.vx-promise--rev .vx-promise__img { order: 2; }
.vx-promise__img img { width: 100%; height: 440px; object-fit: cover; border-radius: 8px; }
.vx-promise__copy { display: flex; flex-direction: column; gap: 18px; }
.vx-promise__copy h3 { font-family: var(--vx-ff-head); font-size: clamp(28px, 3vw, 40px); line-height: 1.15; font-weight: 700; margin: 0; }
.vx-promise__copy p { font-size: 18px; line-height: 1.7; color: var(--vx-muted); margin: 0; }
.vx-promises { display: flex; flex-direction: column; gap: 88px; }

/* ---------- trust feature ---------- */
.vx-trust2 { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 64px; align-items: center; }
.vx-trust2 img { width: 100%; height: 420px; object-fit: cover; border-radius: 8px; }
.vx-trust2__copy { display: flex; flex-direction: column; gap: 18px; }
.vx-trust2__copy h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; margin: 0; }
.vx-trust2__badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.vx-trust2__badges img { width: auto; height: 60px; border-radius: 0; object-fit: contain; }

/* ---------- three quick-action cards ---------- */
.vx-quick { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.vx-quick a { display: flex; flex-direction: column; gap: 10px; padding: 34px 30px; border-radius: 12px; border: 1px solid var(--vx-line); background: #fff; text-decoration: none; color: var(--vx-ink); transition: border-color .2s, box-shadow .2s; }
.vx-quick a:hover { border-color: var(--vx-teal); box-shadow: 0 20px 40px -30px rgba(6,47,51,.45); color: var(--vx-ink); }
.vx-quick__ic { color: var(--vx-teal); margin-bottom: 6px; }
.vx-quick h3 { font-family: var(--vx-ff-head); font-size: 24px; font-weight: 600; color: var(--vx-teal); margin: 0; }
.vx-quick p { font-size: 16px; line-height: 1.6; color: var(--vx-muted); margin: 0; }
.vx-quick span.go { margin-top: auto; font-weight: 600; color: var(--vx-teal); }

@media (max-width: 960px) {
    .vx-crow dl { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .vx-crow dl > div:nth-child(3) { border-left: 0; padding-left: 0; }
    .vx-crow dl > div:nth-child(n+3) { border-top: 1px solid var(--vx-line); }
    .vx-svc { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .vx-help, .vx-promise, .vx-trust2, .vx-quick { grid-template-columns: minmax(0,1fr); }
    .vx-help__box + .vx-help__box { border-left: 0; border-top: 1px solid var(--vx-line); }
    .vx-promise--rev .vx-promise__img { order: 0; }
    .vx-promise__img img, .vx-trust2 img { height: 300px; }
    .vx-promises { gap: 56px; }
    .vx-chero__scroll { display: none; }
}
@media (max-width: 600px) {
    .vx-svc { grid-template-columns: minmax(0,1fr); gap: 32px; }
    .vx-help__box { padding: 26px; grid-template-columns: 1fr; }
    .vx-chero { min-height: 520px; padding-bottom: 48px; }
    .vx-chero::before { background: linear-gradient(0deg, rgba(4,30,33,.9) 0%, rgba(4,30,33,.6) 60%, rgba(4,30,33,.35) 100%); }
}
@media (prefers-reduced-motion: reduce) { .vx-chero > img { animation: none; } }
