﻿/* =====================================================================
   cloudeVITA theme layer (loads last)
   Fresh palette: medical blue (logo) + mint green, soft sky tints.
   Quiet type: Manrope headings at medium weight, Inter body.
   ===================================================================== */

:root {
    /* the old token names are kept so every page picks the new colours up */
    --vx-teal:      #1463D8;   /* primary: medical blue (AA with white) */
    --vx-teal-2:    #12B886;   /* accent: fresh mint                    */
    --vx-teal-50:   #EEF5FF;   /* sky tint                              */
    --vx-teal-100:  #D3E4FF;
    --vx-mint:      #12B886;
    --vx-mint-text: #047857;
    --vx-mint-50:   #E8FAF2;
    --vx-coral:     #FF7A45;   /* logo orange, used sparingly           */
    --vx-coral-text:#C2410C;
    --vx-coral-50:  #FFF3EC;
    --vx-blue:      #1463D8;
    --vx-blue-50:   #EEF5FF;
    --vx-ink:       #0E1B2E;
    --vx-muted:     #51617A;
    --vx-faint:     #7A889C;
    --vx-line:      #E3E9F2;
    --vx-soft:      #F5F8FC;
    --vx-deep:      #0B1D36;
    --vx-ff-head:   "Manrope", "Segoe UI", system-ui, sans-serif;
    --vx-ff-body:   "Inter", "Segoe UI", system-ui, sans-serif;
    --vx-hover:     #0F4FB3;
}

/* ---------- quiet typography ---------- */
.vx-page, .vx-header, .vx-footer { font-family: var(--vx-ff-body); color: var(--vx-ink); }
.vx-page h1, .vx-page h2, .vx-page h3, .vx-page h4 { font-family: var(--vx-ff-head); font-weight: 600; letter-spacing: -.015em; }
.vx-h2 { font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.vx-chero h1, .vx-phero h1, .vx-fhero h1 { font-weight: 600; letter-spacing: -.025em; }
.vx-lead, .vx-promise__copy p, .vx-prose p { color: var(--vx-muted); font-weight: 400; }
.vx-crow dd, .vx-plan__price b, .vx-stats dd, .vx-bignums b, .vx-bx__num { font-weight: 600; }
.vx-eyebrow { letter-spacing: .12em; font-weight: 600; color: var(--vx-mint-text); }
.vx-eyebrow::before { background: var(--vx-mint); }
.vx-rule small { font-weight: 500; color: var(--vx-muted); letter-spacing: .02em; }
.vx-rule small::after { background: linear-gradient(90deg, var(--vx-teal), var(--vx-mint)); width: 56px; height: 3px; }
.vx-svc__item h3, .vx-quick h3 { font-weight: 600; }

/* ---------- colours that were hard-coded in earlier layers ---------- */
.vx-btn--primary, .vx-btn--amber { background: var(--vx-teal); color: #fff; }
.vx-btn--primary:hover, .vx-btn--amber:hover { background: var(--vx-hover); color: #fff; }
.vx-btn--white { color: var(--vx-teal); }
.vx-btn--white:hover { background: var(--vx-teal-50); color: var(--vx-teal); }
.vx-link, .vx-link:hover { color: var(--vx-teal); }
.vx-link:hover { color: var(--vx-hover); }
.vx-nav a:hover { color: var(--vx-hover); }
.vx-util { background: var(--vx-soft); }
.vx-util__links a:first-child { color: var(--vx-teal); }
.vx-checks li::before { background-color: var(--vx-mint-50); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }
.vx-svc summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231463D8' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.vx-svc details li::before { background: var(--vx-mint); }
.vx-svc__ic { color: var(--vx-teal); background: linear-gradient(135deg, var(--vx-teal-50), var(--vx-mint-50)); width: 64px; height: 64px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; }
.vx-svc__ic svg { width: 32px; height: 32px; }
.vx-help__ic { background: var(--vx-mint-50); color: var(--vx-mint-text); }
.vx-help li a { text-decoration-color: rgba(20,99,216,.3); }
.vx-quick__ic { width: 60px; height: 60px; border-radius: 16px; background: var(--vx-teal-50); display: inline-flex; align-items: center; justify-content: center; }
.vx-quick a:nth-child(2) .vx-quick__ic { background: var(--vx-mint-50); color: var(--vx-mint-text); }
.vx-quick a:nth-child(3) .vx-quick__ic { background: var(--vx-coral-50); color: var(--vx-coral-text); }
.vx-crow dl > div:nth-child(2) dd { color: var(--vx-mint-text); }
.vx-crow dl > div:nth-child(4) dd { color: var(--vx-mint-text); }
.vx-chip, .vx-chips li { background: var(--vx-teal-50); color: var(--vx-teal); }
.vx-tag--teal { background: var(--vx-mint-50); color: var(--vx-mint-text); }
.vx-area__mods li { border-left-color: var(--vx-mint); }
.vx-area__count, .vx-feat__num { background: var(--vx-mint-50); color: var(--vx-mint-text); }
.vx-flow li::before, .vx-steps__list li::before { background: linear-gradient(135deg, var(--vx-teal), #3B82F6); }
.vx-faq summary::after { background: var(--vx-teal-50); color: var(--vx-teal); }
.vx-faq details[open] summary::after { background: var(--vx-mint-50); color: var(--vx-mint-text); }
.vx-efaq summary::before { color: var(--vx-mint-text); }
.vx-efaq details[open] summary::after { background-color: var(--vx-teal-50); border-color: var(--vx-teal-100); }
.vx-input:focus { border-color: var(--vx-teal); box-shadow: 0 0 0 4px rgba(20,99,216,.14); }
.vx-checklist li:has(input:checked) { border-color: var(--vx-teal); background: var(--vx-teal-50); }
.vx-checklist input { accent-color: var(--vx-teal); }
.vx-submit { background: var(--vx-teal); }
.vx-submit:hover { background: var(--vx-hover); }
.cv-otp { background: var(--vx-teal-50); border-color: var(--vx-teal-100); }
.cv-otp-send { border-color: var(--vx-teal); color: var(--vx-teal); }
.cv-otp-send:hover, .cv-otp-verify { background: var(--vx-teal); color: #fff; }
.cv-otp-change, .cv-otp-resend { color: var(--vx-teal); }

/* section backgrounds: fresh, light */
.vx-dark  { background: linear-gradient(180deg, #F3F8FF 0%, #F6FBF9 100%); }
.vx-light { background: var(--vx-soft); }

/* photo overlays: navy-blue instead of teal */
.vx-chero::before { background: linear-gradient(0deg, rgba(8,24,48,.86) 0%, rgba(8,24,48,.35) 55%, rgba(8,24,48,.12) 100%), linear-gradient(90deg, rgba(8,24,48,.55) 0%, rgba(8,24,48,0) 60%); }
.vx-chero__links a:not(.vx-btn):hover { color: #A7F3D0; }
.vx-chero__scroll { background: var(--vx-mint); }
.vx-phero { background: var(--vx-deep); }
.vx-phero::before { background: linear-gradient(90deg, rgba(8,24,48,.92) 0%, rgba(8,24,48,.72) 45%, rgba(8,24,48,.25) 100%); }
.vx-phero h1 span, .vx-fhero h1 span { color: #86EFC5; }
.vx-phero .vx-hero__lead { color: #DCE6F5; }
.vx-phero .vx-crumbs, .vx-phero .vx-crumbs a { color: #B9C8DE; }
.vx-cta { background: linear-gradient(120deg, rgba(20,99,216,.96) 0%, rgba(15,79,179,.9) 55%, rgba(18,184,134,.75) 100%), url("../../Images/photos/corridor.jpg") center/cover no-repeat; }
.vx-cta p { color: #E3EDFF; }
.vx-plan--featured { background: linear-gradient(160deg, var(--vx-teal) 0%, #0F4FB3 100%); box-shadow: 0 40px 70px -40px rgba(20,99,216,.7); }
.vx-plan--featured .vx-plan__for, .vx-plan--featured .vx-plan__price span { color: #D3E4FF; }
.vx-plan--featured .vx-checks li { color: #EAF2FF; }
.vx-plan__badge { background: var(--vx-mint); }
.vx-card--dark { background: linear-gradient(150deg, var(--vx-teal) 0%, #0F4FB3 100%); }
.vx-footer { background: var(--vx-deep); color: #A9B8CE; }
.vx-footer a { color: #B9C6DA; }
.vx-social a:hover { background: var(--vx-mint); }

/* ---------- Features mega menu ---------- */
.vx-dd { position: static; }
.vx-dd__btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 0; background: none; font: 500 16px var(--vx-ff-body); color: var(--vx-teal); cursor: pointer; border-radius: 8px; }
.vx-dd__btn svg { transition: transform .2s; }
.vx-dd__btn:hover { color: var(--vx-hover); }
.vx-dd.is-open .vx-dd__btn { color: var(--vx-ink); background: var(--vx-teal-50); }
.vx-dd.is-open .vx-dd__btn svg { transform: rotate(180deg); }
.vx-dd__btn.active { color: var(--vx-ink); font-weight: 600; box-shadow: inset 0 -3px 0 var(--vx-teal); border-radius: 0; }
.vx-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--vx-line); box-shadow: 0 30px 50px -30px rgba(14,27,46,.35); padding: 28px 0 32px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 50; }
.vx-dd.is-open .vx-mega { opacity: 1; visibility: visible; transform: none; }
.vx-mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)) minmax(0,1.15fr); gap: 12px 20px; }
.vx-mega__col { display: flex; flex-direction: column; gap: 2px; }
.vx-mega__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--vx-faint); padding: 0 12px 8px; }
.vx-nav .vx-mega a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--vx-ink); text-decoration: none; font-size: 15px; box-shadow: none; background: none; }
.vx-nav .vx-mega a b { font-family: var(--vx-ff-head); font-weight: 600; font-size: 15px; color: var(--vx-ink); }
.vx-nav .vx-mega a small { font-size: 13px; color: var(--vx-muted); line-height: 1.45; }
.vx-nav .vx-mega a:hover { background: var(--vx-soft); text-decoration: none; }
.vx-nav .vx-mega a:hover b { color: var(--vx-teal); }
.vx-mega__promo { border-radius: 16px; padding: 22px; background: linear-gradient(150deg, var(--vx-teal) 0%, #0F4FB3 60%, #12B886 130%); color: #fff; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.vx-mega__promo .vx-mega__label { padding: 0; }
.vx-mega__promo strong { font-family: var(--vx-ff-head); font-size: 19px; font-weight: 600; line-height: 1.3; }
.vx-mega__promo p { font-size: 14px; line-height: 1.55; color: #E3EDFF; margin: 0 0 4px; }
.vx-nav .vx-mega__promo a.vx-btn { flex-direction: row; color: var(--vx-teal); background: #fff; padding: 0 16px; min-height: 40px; font-size: 14px; font-weight: 600; }
.vx-nav .vx-mega__promo a.vx-mega__demo { padding: 0; color: #fff; font-weight: 600; font-size: 14px; }
.vx-nav .vx-mega__promo a.vx-mega__demo:hover { background: none; text-decoration: underline; }

@media (max-width: 1180px) {
    .vx-dd { width: 100%; }
    .vx-dd__btn { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 16px; }
    .vx-dd__btn.active { box-shadow: none; background: var(--vx-teal-50); border-radius: 10px; }
    .vx-mega { position: static; box-shadow: none; border-top: 0; padding: 4px 0 8px 8px; opacity: 1; visibility: visible; transform: none; display: none; }
    .vx-dd.is-open .vx-mega { display: block; }
    .vx-mega > .vx-wrap { padding: 0; }
    .vx-mega__grid { grid-template-columns: minmax(0,1fr); gap: 8px; }
    .vx-mega__promo { display: none; }
    .vx-mega__label { padding-top: 6px; }
}
@media (prefers-reduced-motion: reduce) { .vx-mega, .vx-dd__btn svg { transition: none; } }
