/* ==========================================================================
   Cavidel — modern UI
   Font: Manrope. Palette pulled from the Cavidel logo (teal / orange / amber).
   ========================================================================== */

:root {
    /* Brand: navy #011533, white, orange #f97e0d. The "teal" names are the navy/blue scale;
       white text on #f97e0d is too faint, so filled orange areas use navy text and orange
       text on white uses the deeper --orange-600. */
    --ink: #011533;
    --ink-soft: #2a3a55;
    --muted: #5d6a80;
    --teal-950: #000d22;
    --teal-900: #011533;
    --teal-800: #0b2a5c;
    --teal-600: #1e4a8c;
    --teal-500: #4c82d6;
    --teal-100: #dce6f5;
    --teal-50: #eef3fa;
    --orange-700: #9a4800;
    --orange-600: #b85600;
    --orange-400: #ff9533;
    --orange-500: #f97e0d;
    --orange-50: #fff3e6;
    --amber-500: #ffb066;
    --amber-50: #fff6ec;
    --bg: #ffffff;
    --bg-soft: #f4f6fa;
    --bg-tint: #e9eef6;
    --line: #e1e6ee;
    --line-strong: #cdd5e2;
    /* The same colours as "r, g, b" for see-through tints: rgba(var(--teal-500-rgb), .2) */
    --teal-500-rgb: 76, 130, 214;
    --teal-600-rgb: 30, 74, 140;
    --orange-500-rgb: 249, 126, 13;
    --teal-950-rgb: 0, 13, 34;
    --amber-500-rgb: 255, 176, 102;
    --ink-rgb: 1, 21, 51;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(var(--ink-rgb), .06), 0 1px 3px rgba(var(--ink-rgb), .05);
    --shadow: 0 10px 30px -12px rgba(var(--ink-rgb), .18), 0 2px 6px rgba(var(--ink-rgb), .05);
    --shadow-lg: 0 30px 60px -20px rgba(var(--ink-rgb), .28);
    --container: 1200px;
    --gutter: 24px;
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.cv {
    margin: 0;
    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-soft);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.cv h1, .cv h2, .cv h3, .cv h4, .cv h5, .cv h6 {
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin: 0 0 .5em;
}
.cv p { margin: 0 0 1em; }
.cv a { color: var(--teal-600); text-decoration: none; transition: color .2s; }
.cv a:hover { color: var(--orange-600); text-decoration: none; }
.cv img { max-width: 100%; height: auto; }
.cv :focus-visible { outline: 3px solid var(--amber-500); outline-offset: 2px; border-radius: 4px; }
.cv section { position: relative; }
.cv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cv-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.cv-section { padding: 104px 0; }
.cv-section--soft { background: var(--bg-soft); }
.cv-section--tint { background: var(--bg-tint); }
.cv-section--tight { padding: 72px 0; }

/* dotted backdrop used by heroes */
.cv-dots {
    background-color: var(--bg-soft);
    background-image: radial-gradient(rgba(var(--teal-600-rgb), .14) 1px, transparent 1px);
    background-size: 22px 22px;
}

/* ---------- Typography helpers ---------- */
.cv-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--teal-600); margin-bottom: 18px;
}
.cv-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--amber-500); border-radius: 2px; }
.cv-eyebrow--orange { color: var(--orange-600); }
.cv-eyebrow--light { color: var(--amber-500); }
.cv-eyebrow--center::after { content: ""; width: 28px; height: 2px; background: var(--amber-500); border-radius: 2px; }

.cv-title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.cv-lead { font-size: 1.125rem; color: var(--muted); line-height: 1.7; }
.cv-accent { color: var(--teal-600); }
.cv-accent-orange { color: var(--orange-600); }

.cv-head { max-width: 720px; margin-bottom: 56px; }
.cv-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.cv-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cv-head--split > div { max-width: 640px; }

/* ---------- Buttons ---------- */
.cv-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 24px; border-radius: 10px; border: 1.5px solid transparent;
    font: 700 15px/1.2 'Manrope', sans-serif; letter-spacing: -.005em;
    cursor: pointer; white-space: nowrap; text-align: center;
    transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.cv-btn:hover { transform: translateY(-2px); }
.cv-btn:active { transform: translateY(0); }
.cv-btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.cv-btn:hover svg { transform: translateX(3px); }
.cv-btn--primary { background: var(--orange-500); color: var(--ink) !important; box-shadow: 0 8px 20px -8px rgba(var(--orange-500-rgb), .65); }
.cv-btn--primary:hover { background: var(--orange-400); }
.cv-btn--soft { background: var(--teal-50); color: var(--teal-800) !important; border-color: var(--teal-100); }
.cv-btn--soft:hover { background: var(--teal-100); }
.cv-btn--dark { background: var(--teal-900); color: #fff !important; }
.cv-btn--dark:hover { background: var(--teal-800); }
.cv-btn--light { background: #fff; color: var(--teal-900) !important; }
.cv-btn--light:hover { background: var(--amber-50); }
.cv-btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff !important; }
.cv-btn--ghost-light:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.cv-btn--sm { padding: 10px 18px; font-size: 14px; }
.cv-btn--block { width: 100%; }
.cv-btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.cv-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal-600); }
.cv-link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.cv-link-arrow:hover svg { transform: translateX(4px); }

.cv-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
    background: var(--teal-50); color: var(--teal-800); border: 1px solid var(--teal-100);
}

/* ---------- Top bar ---------- */
.cv-topbar { background: var(--teal-900); color: rgba(255, 255, 255, .82); font-size: 13px; }
.cv-topbar .cv-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.cv-topbar a { color: rgba(255, 255, 255, .9); }
.cv-topbar a:hover { color: var(--amber-500); }
.cv-topbar__links { display: flex; gap: 24px; }
.cv-topbar__links a { display: inline-flex; align-items: center; gap: 8px; }
.cv-topbar__links i { color: var(--amber-500); }
.cv-topbar__tag { display: inline-flex; align-items: center; gap: 10px; }
.cv-topbar__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 4px rgba(var(--teal-500-rgb), .25); }

/* ---------- Header ---------- */
.cv-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.cv-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(var(--ink-rgb), .45); }
.cv-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.cv-logo { display: inline-flex; align-items: center; flex: none; }
.cv-logo img { width: 180px; height: auto; display: block; }
.cv-drawer .cv-logo img { width: 150px; }
@media (max-width: 600px) { .cv-header .cv-logo img { width: 140px; } }

.cv-nav { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.cv-nav a {
    display: block; padding: 9px 14px; border-radius: 8px;
    font-size: 15px; font-weight: 600; color: var(--ink-soft);
}
.cv-nav a:hover { color: var(--teal-600); background: var(--teal-50); }
.cv-nav .is-active a { color: var(--teal-800); background: var(--teal-50); }

.cv-header__actions { display: flex; align-items: center; gap: 10px; }
.cv-icon-btn {
    width: 44px; height: 44px; display: inline-grid; place-items: center;
    border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink);
    cursor: pointer; transition: background .2s, border-color .2s;
}
.cv-icon-btn:hover { background: var(--teal-50); border-color: var(--teal-100); }
.cv-icon-btn svg { width: 20px; height: 20px; }
.cv-burger { display: none; }

/* search drop panel (Google CSE) */
.cv-search {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 18px 0; display: none;
}
.cv-search.is-open { display: block; animation: cvDrop .25s var(--ease); }
.cv-search .cv-container { display: flex; align-items: center; gap: 16px; }
.cv-search__box { flex: 1; min-width: 0; }
.cv-search .gsc-control-cse { padding: 0 !important; border: 0 !important; background: transparent !important; }
.cv-search .gsc-input-box { border-radius: 10px !important; border-color: var(--line-strong) !important; padding: 4px 6px !important; }
.cv-search .gsc-search-button-v2 { background: var(--teal-900) !important; border-color: var(--teal-900) !important; border-radius: 10px !important; padding: 12px 16px !important; }
.cv-search .gsc-input { padding-right: 0 !important; }
@keyframes cvDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* mobile drawer */
.cv-drawer-overlay {
    position: fixed; inset: 0; background: rgba(var(--teal-950-rgb), .5); z-index: 1100;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.cv-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); z-index: 1101;
    background: #fff; padding: 22px 22px 30px; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s var(--ease);
    display: flex; flex-direction: column; gap: 24px;
}
.cv-drawer-open .cv-drawer { transform: none; }
.cv-drawer-open .cv-drawer-overlay { opacity: 1; visibility: visible; }
.cv-drawer-open { overflow: hidden; }
.cv-drawer__top { display: flex; align-items: center; justify-content: space-between; }
.cv-drawer__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cv-drawer__nav a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; border-radius: 10px; font-weight: 700; font-size: 17px; color: var(--ink);
}
.cv-drawer__nav a::after { content: "→"; color: var(--muted); transition: transform .2s; }
.cv-drawer__nav a:hover, .cv-drawer__nav .is-active a { background: var(--teal-50); color: var(--teal-800); }
.cv-drawer__meta { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; display: grid; gap: 10px; }
.cv-drawer__meta a { color: var(--ink-soft); display: flex; gap: 10px; align-items: center; }
.cv-drawer__meta i { color: var(--orange-600); width: 16px; }

/* ---------- Hero ---------- */
.cv-hero { padding: 72px 0 0; overflow: hidden; }
.cv-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.cv-hero__copy { position: relative; }
.cv-rotator { position: relative; display: grid; }
.cv-rotator__item {
    grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s;
}
.cv-rotator__item.is-active { opacity: 1; visibility: visible; transform: none; }
.cv-hero .cv-hero__title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 22px; }
.cv-hero__lead { font-size: 1.125rem; color: var(--muted); max-width: 540px; margin-bottom: 0; }
.cv-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cv-hero__foot { display: flex; align-items: center; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.cv-rotator-dots { display: flex; gap: 8px; }
.cv-rotator-dots button {
    width: 28px; height: 6px; border-radius: 6px; border: 0; padding: 0; cursor: pointer;
    background: var(--line-strong); transition: background .3s, width .3s;
}
.cv-rotator-dots button.is-active { background: var(--orange-500); width: 44px; }
.cv-social { display: flex; gap: 8px; }
.cv-social a {
    width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 10px;
    border: 1px solid var(--line); background: #fff; color: var(--teal-800); font-size: 15px;
    transition: background .2s, color .2s, transform .2s;
}
.cv-social a:hover { background: var(--teal-900); color: #fff; transform: translateY(-2px); }

/* dashboard mock */
.cv-mock { position: relative; padding: 10px 0 40px; }
.cv-mock__window {
    background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
    transition: transform .6s var(--ease);
}
.cv-mock:hover .cv-mock__window { transform: perspective(1400px) rotateY(0) rotateX(0); }
.cv-mock__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.cv-mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #e2e7ef; }
.cv-mock__bar strong { margin-left: 12px; font-size: 12px; color: var(--muted); font-weight: 700; }
.cv-mock__body { display: grid; grid-template-columns: 150px 1fr; min-height: 290px; }
.cv-mock__side { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; align-content: start; gap: 4px; }
.cv-mock__side span { font-size: 11.5px; font-weight: 600; color: var(--muted); padding: 7px 10px; border-radius: 6px; }
.cv-mock__side span.is-on { background: var(--teal-50); color: var(--teal-800); }
.cv-mock__main { padding: 18px; display: grid; gap: 16px; align-content: start; }
.cv-mock__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cv-mock__tiles i { height: 46px; border-radius: 8px; display: block; }
.cv-mock__tiles i:nth-child(1) { background: var(--orange-50); }
.cv-mock__tiles i:nth-child(2) { background: var(--teal-50); }
.cv-mock__tiles i:nth-child(3) { background: var(--amber-50); }
.cv-mock__chart { display: flex; align-items: flex-end; gap: 12px; height: 150px; padding: 0 6px; border-bottom: 1px solid var(--line); }
.cv-mock__chart b {
    flex: 1; border-radius: 6px 6px 0 0; background: var(--teal-100);
    transform-origin: bottom; animation: cvGrow 1.2s var(--ease) both;
}
.cv-mock__chart b:nth-child(1) { height: 38%; animation-delay: .1s; }
.cv-mock__chart b:nth-child(2) { height: 58%; animation-delay: .2s; background: var(--teal-500); }
.cv-mock__chart b:nth-child(3) { height: 46%; animation-delay: .3s; }
.cv-mock__chart b:nth-child(4) { height: 80%; animation-delay: .4s; background: var(--teal-600); }
.cv-mock__chart b:nth-child(5) { height: 64%; animation-delay: .5s; }
.cv-mock__chart b:nth-child(6) { height: 92%; animation-delay: .6s; background: var(--orange-500); }
@keyframes cvGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.cv-mock__float {
    position: absolute; right: -8px; bottom: 6px; width: 250px;
    background: var(--teal-900); color: #fff; border-radius: 14px; padding: 16px 18px;
    box-shadow: var(--shadow-lg); animation: cvFloat 6s ease-in-out infinite;
}
.cv-mock__float strong { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-bottom: 6px; }
.cv-mock__float strong span { width: 28px; height: 28px; border-radius: 8px; background: var(--teal-500); display: inline-grid; place-items: center; }
.cv-mock__float strong svg { width: 16px; height: 16px; }
.cv-mock__float p { margin: 0; font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.cv-mock__badge {
    position: absolute; left: -18px; top: 46px; background: #fff; border-radius: 12px; padding: 10px 14px;
    box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--ink);
    animation: cvFloat 7s ease-in-out infinite reverse;
}
.cv-mock__badge span { width: 30px; height: 30px; border-radius: 8px; background: var(--orange-50); color: var(--orange-600); display: inline-grid; place-items: center; }
.cv-mock__badge svg { width: 16px; height: 16px; }
@keyframes cvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* stats */
.cv-stats {
    margin-top: 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr);
    position: relative; z-index: 2; transform: translateY(50%);
}
.cv-stat { padding: 28px 32px; border-left: 1px solid var(--line); }
.cv-stat:first-child { border-left: 0; }
.cv-stat__num { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.cv-stat__num sup { font-size: .55em; color: var(--orange-600); top: -.7em; margin-left: 2px; }
.cv-stat__label { margin-top: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.cv-after-stats { padding-top: 64px; }
.cv-after-stats + .cv-clients { padding-top: 32px; }

.cv-stats--dark { transform: none; margin: 0; background: transparent; border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.cv-stats--dark .cv-stat { border-color: rgba(255, 255, 255, .12); }
.cv-stats--dark .cv-stat__num { color: #fff; }
.cv-stats--dark .cv-stat__label { color: rgba(255, 255, 255, .7); }

/* ---------- Client logos ---------- */
.cv-clients { padding: 56px 0; border-bottom: 1px solid var(--line); }
.cv-clients__label { text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.cv-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cv-marquee__track { display: flex; width: max-content; animation: cvMarquee 70s linear infinite; }
.cv-marquee:hover .cv-marquee__track { animation-play-state: paused; }
.cv-marquee__item { flex: none; width: 170px; height: 84px; margin: 0 14px; display: grid; place-items: center; padding: 12px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.cv-marquee__item img { max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.cv-marquee__item:hover img { filter: none; opacity: 1; }
@keyframes cvMarquee { to { transform: translateX(-50%); } }

/* ---------- About split ---------- */
.cv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.cv-split--top { align-items: start; }
.cv-photo { position: relative; }
.cv-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow-lg); }
.cv-photo::before {
    content: ""; position: absolute; inset: 28px -28px -28px 28px; border-radius: var(--radius-lg);
    background: var(--teal-50); border: 1px solid var(--teal-100); z-index: -1;
}
.cv-photo__tag {
    position: absolute; left: -24px; bottom: 40px; background: #fff; border-radius: 14px; padding: 16px 20px;
    box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; max-width: 260px;
}
.cv-photo__tag strong { font-size: 28px; color: var(--orange-600); line-height: 1; font-weight: 800; }
.cv-photo__tag span { font-size: 13px; font-weight: 600; color: var(--ink-soft); line-height: 1.35; }

/* ---------- Cards ---------- */
.cv-grid { display: grid; gap: 24px; }
.cv-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cv-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cv-grid--4 { grid-template-columns: repeat(4, 1fr); }

.cv-card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; overflow: hidden;
}
.cv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.cv-card--accent { border-top: 3px solid var(--teal-600); }
.cv-card--accent-orange { border-top: 3px solid var(--orange-600); }
.cv-card--accent-amber { border-top: 3px solid var(--amber-500); }
.cv-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.cv-card p { color: var(--muted); font-size: 15px; margin: 0; }
.cv-card__icon {
    width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px;
    background: var(--teal-50); color: var(--teal-600); border: 1px solid var(--teal-100);
}
.cv-card__icon svg { width: 24px; height: 24px; }
.cv-card__icon--orange { background: var(--orange-50); color: var(--orange-600); border-color: #fde0c4; }
.cv-card__icon--amber { background: var(--amber-50); color: var(--orange-600); border-color: #fde3c8; }
.cv-card__icon img { width: 30px; height: 30px; object-fit: contain; }
.cv-card--row { display: flex; gap: 22px; align-items: flex-start; }
.cv-card--row .cv-card__icon { margin: 0; flex: none; }

/* ---------- Products explorer ---------- */
.cv-explorer { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.cv-explorer__list { display: grid; gap: 6px; position: sticky; top: calc(var(--header-h) + 24px); }
.cv-explorer__tab {
    display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
    padding: 14px 16px; border-radius: 12px; border: 1px solid transparent; background: transparent;
    font: 700 15px/1.3 'Manrope', sans-serif; color: var(--ink-soft); cursor: pointer;
    transition: background .2s, border-color .2s, box-shadow .2s;
}
.cv-explorer__tab:hover { background: rgba(255, 255, 255, .6); }
.cv-explorer__tab.is-active { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); color: var(--ink); }
.cv-explorer__tab img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--line); padding: 4px; flex: none; }
.cv-explorer__tab .cv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); margin-left: auto; flex: none; transition: background .2s; }
.cv-explorer__tab.is-active .cv-dot { background: var(--orange-500); }
.cv-explorer__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.cv-explorer__panel[hidden] { display: none; }
.cv-explorer__panel.is-entering { animation: cvFade .45s var(--ease); }
@keyframes cvFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cv-explorer__media { position: relative; aspect-ratio: 16 / 8; background: var(--teal-900); overflow: hidden; }
.cv-explorer__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.cv-explorer__panel:hover .cv-explorer__media img { transform: scale(1.04); }
.cv-explorer__logo { position: absolute; left: 24px; bottom: 24px; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); max-width: 170px; }
.cv-explorer__logo img { height: 40px; width: auto; object-fit: contain; transform: none !important; }
.cv-explorer__body { padding: 32px; }
.cv-explorer__body h3 { font-size: 1.75rem; }
.cv-explorer__body > p { color: var(--muted); }
.cv-checks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.cv-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.cv-checks li::before {
    content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; background: var(--teal-50)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311807d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.cv-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Product cards (products page) ---------- */
.cv-product-card { display: flex; flex-direction: column; padding: 0; height: 100%; color: inherit !important; }
.cv-product-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-tint); }
.cv-product-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.cv-product-card:hover .cv-product-card__media img { transform: scale(1.05); }
.cv-product-card__body { padding: 24px 26px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: 1; }
.cv-product-card__body h3 { margin: 0; font-size: 1.15rem; }
.cv-product-card__go {
    flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    background: var(--teal-50); color: var(--teal-800); transition: background .25s, color .25s, transform .25s;
}
.cv-product-card__go svg { width: 18px; height: 18px; }
.cv-product-card:hover .cv-product-card__go { background: var(--orange-500); color: var(--ink); transform: rotate(-45deg); }

/* ---------- Steps ---------- */
.cv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; position: relative; }
.cv-steps::before { content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px); }
.cv-step { position: relative; }
.cv-step__num {
    position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
    background: var(--teal-900); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 22px;
    box-shadow: 0 0 0 8px var(--bg);
}
.cv-section--soft .cv-step__num { box-shadow: 0 0 0 8px var(--bg-soft); }
.cv-step h3 { font-size: 1.2rem; }
.cv-step p { color: var(--muted); font-size: 15px; }

/* ---------- Dark band / testimonial ---------- */
.cv-dark { background: var(--teal-900); color: rgba(255, 255, 255, .8); overflow: hidden; }
.cv-dark h2, .cv-dark h3 { color: #fff; }
.cv-dark::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(600px 300px at 90% 0%, rgba(var(--teal-500-rgb), .25), transparent 70%),
                radial-gradient(500px 300px at 0% 100%, rgba(var(--amber-500-rgb), .12), transparent 70%);
}
.cv-dark > * { position: relative; }
.cv-quote { max-width: 880px; margin: 0 auto; text-align: center; }
.cv-quote__mark { font-size: 72px; line-height: .6; color: var(--amber-500); font-weight: 800; display: block; margin-bottom: 18px; font-family: Georgia, serif; }
.cv-quote__viewport { display: grid; }
.cv-quote__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s; }
.cv-quote__slide.is-active { opacity: 1; visibility: visible; transform: none; }
.cv-quote blockquote { margin: 0; font-size: clamp(1.2rem, 2.3vw, 1.65rem); line-height: 1.5; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.cv-quote__who { margin-top: 26px; display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.cv-quote__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--teal-600); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 15px; flex: none; }
.cv-quote__who strong { display: block; color: #fff; font-size: 16px; }
.cv-quote__who span { font-size: 14px; color: rgba(255, 255, 255, .65); }
.cv-quote__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; }
.cv-quote__controls button {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: transparent;
    color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.cv-quote__controls button:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.cv-quote__controls svg { width: 18px; height: 18px; }
.cv-quote__count { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .75); min-width: 48px; text-align: center; }

/* call to action */
.cv-cta {
    border-radius: var(--radius-lg); padding: 64px; background: var(--teal-900); color: rgba(255, 255, 255, .8);
    display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; overflow: hidden; position: relative;
}
.cv-cta::after {
    content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
    border: 46px solid rgba(var(--amber-500-rgb), .12); pointer-events: none;
}
.cv-cta::before {
    content: ""; position: absolute; right: 60px; bottom: -120px; width: 240px; height: 240px; border-radius: 50%;
    border: 36px solid rgba(var(--teal-500-rgb), .16); pointer-events: none;
}
.cv-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.15rem); margin: 0; max-width: 760px; position: relative; z-index: 1; }
.cv-cta > div { position: relative; z-index: 1; }

/* ---------- Page hero ---------- */
.cv-page-hero { padding: 80px 0 72px; border-bottom: 1px solid var(--line); overflow: hidden; }
.cv-page-hero::after {
    content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
    border: 60px solid rgba(var(--teal-600-rgb), .06); pointer-events: none;
}
.cv-page-hero .cv-container { position: relative; z-index: 1; }
.cv-page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -.03em; margin: 0; max-width: 900px; }
.cv-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; font-size: 14px; font-weight: 600; }
.cv-crumbs li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.cv-crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 2px solid var(--line-strong); border-right: 2px solid var(--line-strong); transform: rotate(45deg); }
.cv-crumbs a { color: var(--teal-600); }
.cv-crumbs li:last-child { color: var(--ink); }

/* ---------- People ---------- */
.cv-person { padding: 0; display: flex; flex-direction: column; }
.cv-person__photo { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--bg-tint); }
.cv-person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .7s var(--ease); }
.cv-person:hover .cv-person__photo img { transform: scale(1.04); }
.cv-person__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.cv-person__body h3 { font-size: 1.15rem; margin-bottom: 4px; }
.cv-person__role { font-size: 13.5px; font-weight: 700; color: var(--orange-600); margin-bottom: 12px; }
.cv-person__excerpt { font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.cv-person__more {
    margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 0; cursor: pointer;
    font: 700 14px 'Manrope', sans-serif; color: var(--teal-600); display: inline-flex; align-items: center; gap: 6px;
}
.cv-person__more:hover { color: var(--orange-600); }
.cv-person__more svg { width: 15px; height: 15px; }
.cv-person__bio { display: none; }

#team_mem { display: none; }
#team_mem.show { display: block; animation: cvFade .5s var(--ease); }

/* ---------- Dialogs (bio + lightbox) ---------- */
.cv-dialog {
    border: 0; padding: 0; border-radius: var(--radius-lg); width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 48px);
    box-shadow: var(--shadow-lg); color: var(--ink-soft); overflow: hidden;
}
.cv-dialog::backdrop { background: rgba(var(--teal-950-rgb), .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cv-dialog[open] { animation: cvFade .3s var(--ease); }
.cv-dialog__close {
    position: absolute; right: 14px; top: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
    border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.cv-dialog__close svg { width: 18px; height: 18px; }
.cv-bio { display: grid; grid-template-columns: 300px 1fr; max-height: calc(100vh - 48px); }
.cv-bio__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; min-height: 320px; }
.cv-bio__text { padding: 40px 36px; overflow-y: auto; }
.cv-bio__text h3 { font-size: 1.6rem; margin-bottom: 4px; }
.cv-bio__text .cv-person__role { margin-bottom: 20px; }
.cv-bio__text p { font-size: 15.5px; }

.cv-lightbox { background: transparent; box-shadow: none; width: min(1100px, calc(100vw - 32px)); overflow: visible; }
.cv-lightbox img { width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: var(--radius); background: #fff; display: block; }
.cv-lightbox__nav { display: flex; justify-content: center; gap: 12px; margin-top: 14px; }
.cv-lightbox__nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.cv-lightbox__nav svg { width: 18px; height: 18px; }
.cv-lightbox .cv-dialog__close { right: -6px; top: -6px; }

/* ---------- Product detail ---------- */
.cv-pd { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.cv-pd__info { position: sticky; top: calc(var(--header-h) + 28px); }
.cv-pd__info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cv-pd__info p { color: var(--muted); font-size: 16.5px; }
.cv-pd__tagline { font-size: 1.2rem !important; font-weight: 700; color: var(--ink) !important; }
.cv-pd__cta { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.cv-pd__cta strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.cv-browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
.cv-browser__bar { display: flex; gap: 7px; padding: 11px 14px; background: #f7f9fc; border-bottom: 1px solid var(--line); }
.cv-browser__bar span { width: 10px; height: 10px; border-radius: 50%; background: #dde3ec; }
.cv-browser img { display: block; width: 100%; }

.cv-gallery { columns: 3 260px; column-gap: 18px; }
.cv-gallery button {
    display: block; width: 100%; margin: 0 0 18px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; background: #fff; cursor: zoom-in; break-inside: avoid; position: relative;
    transition: box-shadow .3s, transform .3s var(--ease);
}
.cv-gallery button:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.cv-gallery img { width: 100%; display: block; }

.cv-feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cv-feature { display: flex; gap: 18px; padding: 26px; }
.cv-feature__n {
    flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
    background: var(--teal-50); color: var(--teal-600); font-weight: 800; font-size: 14px; border: 1px solid var(--teal-100);
}
.cv-feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.cv-feature p { font-size: 14.5px; }
.cv-pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cv-pills li {
    display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 12px;
    background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
    transition: border-color .2s, transform .2s;
}
.cv-pills li:hover { border-color: var(--teal-500); transform: translateY(-2px); }
.cv-pills li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); flex: none; }

/* ---------- Contact ---------- */
.cv-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.cv-contact__items { display: grid; gap: 14px; margin-top: 32px; }
.cv-contact__item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.cv-contact__item:hover { border-color: var(--teal-100); box-shadow: var(--shadow-sm); }
.cv-contact__icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); }
.cv-contact__icon svg { width: 20px; height: 20px; }
.cv-contact__item h3 { font-size: 15px; margin: 0 0 4px; }
.cv-contact__item a, .cv-contact__item span { color: var(--muted); font-size: 15px; font-weight: 600; }
.cv-contact__item a:hover { color: var(--orange-600); }
.cv-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.cv-map iframe { width: 100%; height: 440px; display: block; border: 0; }

/* ---------- Forms ---------- */
.cv-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.cv-form-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.cv-form-card > p { color: var(--muted); margin-bottom: 28px; }
.cv-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cv-form-grid .cv-span-2 { grid-column: 1 / -1; }
.cv-field label, .cv-label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.cv-field label .small { color: var(--muted); font-weight: 600; }
.cv-input, .cv-form-card input[type=text], .cv-form-card input[type=email], .cv-form-card input[type=tel],
.cv-form-card input[type=number], .cv-form-card select, .cv-form-card textarea {
    width: 100%; display: block; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
    background: #fbfcfe; font: 500 15px/1.4 'Manrope', sans-serif; color: var(--ink); height: auto;
    transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.cv-form-card select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6f70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px;
}
.cv-form-card textarea { min-height: 140px; resize: vertical; }
.cv-form-card input:focus, .cv-form-card select:focus, .cv-form-card textarea:focus {
    outline: none; border-color: var(--teal-500); background: #fff; box-shadow: 0 0 0 4px rgba(var(--teal-500-rgb), .14);
}
.cv-form-card ::placeholder { color: #9aabab; }
.cv-form-card input[type=file] { width: 100%; padding: 10px; border: 1.5px dashed var(--line-strong); border-radius: 10px; background: var(--bg-soft); font: 600 14px 'Manrope', sans-serif; color: var(--muted); }
.cv-form-card input[type=range] { width: 100%; accent-color: var(--orange-600); }
.cv-form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cv .alert-success { border-radius: 10px; border: 1px solid #bfe3d4; background: #ebf8f2; color: #17694a; padding: 12px 16px; font-weight: 600; font-size: 14px; }

/* ---------- Legal ---------- */
.cv-legal-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.cv-toc { position: sticky; top: calc(var(--header-h) + 28px); padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cv-toc strong { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.cv-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.cv-toc a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.35; }
.cv-toc a:hover, .cv-toc a.is-active { background: var(--teal-50); color: var(--teal-800); }
.cv-legal { max-width: 780px; }
.cv-legal h2 { font-size: 1.8rem; }
.cv-legal h3 { font-size: 1.2rem; margin-top: 44px; padding-top: 4px; scroll-margin-top: calc(var(--header-h) + 24px); display: flex; gap: 12px; align-items: baseline; }
.cv-legal p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.cv-legal strong { color: var(--ink); }
.cv-legal__intro { padding: 26px 28px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.cv-legal__intro p:last-child { margin: 0; }

/* ---------- Footer ---------- */
.cv-footer { background: var(--teal-950); color: rgba(255, 255, 255, .7); font-size: 15px; position: relative; overflow: hidden; }
.cv-footer a { color: rgba(255, 255, 255, .78); }
.cv-footer a:hover { color: var(--amber-500); }
.cv-footer h4 { color: #fff; font-size: 15px; letter-spacing: 0; margin-bottom: 18px; }
.cv-footer__cta { padding: 56px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 40px; align-items: center; }
.cv-footer__cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
.cv-subscribe { display: flex; gap: 8px; padding: 6px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.cv-subscribe input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 10px 12px; font: 500 15px 'Manrope', sans-serif; }
.cv-subscribe input::placeholder { color: rgba(255, 255, 255, .5); }
.cv-subscribe input:focus { outline: none; }
.cv-subscribe button { border: 0; border-radius: 10px; background: var(--orange-500); color: var(--ink); padding: 0 18px; min-height: 46px; cursor: pointer; font-size: 15px; transition: background .2s; }
.cv-subscribe button:hover { background: var(--orange-400); }
#guest_form_response .alert { margin-top: 10px !important; }
.cv-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 48px; padding: 64px 0 48px; }
.cv-footer__brand img { width: 200px; margin-bottom: 18px; }
.cv-footer__brand p { max-width: 320px; }
.cv-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cv-footer .cv-social a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; }
.cv-footer .cv-social a:hover { background: var(--orange-500); border-color: var(--orange-500); color: var(--ink); }
.cv-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.cv-footer__contact i { color: var(--amber-500); margin-top: 5px; width: 14px; text-align: center; }
.cv-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.cv-footer__bottom p { margin: 0; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .08s; }
.js [data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal-delay="3"] { transition-delay: .24s; }

/* ---------- Legacy compatibility (screening questionnaire views) ---------- */
.cv .breadcrumb-option { padding: 80px 0 72px; border-bottom: 1px solid var(--line); background-color: var(--bg-soft); background-image: radial-gradient(rgba(var(--teal-600-rgb), .14) 1px, transparent 1px); background-size: 22px 22px; text-align: left; }
.cv .breadcrumb__text h2 { font-size: clamp(2rem, 4vw, 3rem); text-align: left; margin: 0; }
.cv .site-btn, .cv .primary-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 10px; border: 0; background: var(--orange-500); color: var(--ink); font-weight: 700; cursor: pointer; }
.cv .form-control { border-radius: 10px; border: 1.5px solid var(--line); min-height: 46px; font-family: 'Manrope', sans-serif; }
.cv .form-control:focus { border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(var(--teal-500-rgb), .14); }
.cv .border-primary { border-color: var(--teal-100) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .cv-nav a { padding: 9px 10px; font-size: 14.5px; }
    .cv-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
    :root { --header-h: 68px; }
    .cv-section { padding: 80px 0; }
    .cv-nav, .cv-header__cta { display: none; }
    .cv-burger { display: inline-grid; }
    .cv-hero__grid, .cv-split, .cv-pd, .cv-contact, .cv-explorer, .cv-legal-wrap { grid-template-columns: 1fr; }
    .cv-hero__grid { gap: 48px; }
    .cv-mock { max-width: 620px; margin: 0 auto; width: 100%; }
    .cv-mock__window { transform: none; }
    .cv-split { gap: 56px; }
    .cv-photo { max-width: 520px; }
    .cv-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .cv-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .cv-explorer__list { position: static; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
    .cv-explorer__tab { flex: none; width: auto; scroll-snap-align: start; background: rgba(255, 255, 255, .55); border-color: var(--line); }
    .cv-explorer__tab .cv-dot { display: none; }
    .cv-pd__info, .cv-toc { position: static; }
    .cv-toc { display: none; }
    .cv-cta { grid-template-columns: 1fr; padding: 48px; }
    .cv-footer__cta { grid-template-columns: 1fr; }
    .cv-bio { grid-template-columns: 1fr; overflow-y: auto; }
    .cv-bio__photo img { max-height: 340px; min-height: 0; }
    .cv-bio__text { overflow: visible; }
    .cv-steps { grid-template-columns: 1fr; gap: 32px; }
    .cv-steps::before { top: 0; bottom: 0; left: 26px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-strong) 0 8px, transparent 8px 16px); }
    .cv-step { padding-left: 82px; }
    .cv-step__num { position: absolute; left: 0; top: 0; }
}
@media (max-width: 767px) {
    :root { --gutter: 16px; }
    .cv-section { padding: 64px 0; }
    .cv-section--tight { padding: 52px 0; }
    .cv-topbar__tag { display: none; }
    .cv-topbar .cv-container { justify-content: center; }
    .cv-topbar__links { gap: 16px; font-size: 12.5px; }
    .cv-hero { padding-top: 48px; }
    .cv-hero__actions .cv-btn { flex: 1 1 auto; }
    .cv-mock__body { grid-template-columns: 1fr; }
    .cv-mock__side { display: none; }
    .cv-mock__float { right: 0; width: 220px; }
    .cv-mock__badge { left: 0; top: 30px; }
    .cv-stats { grid-template-columns: 1fr 1fr; transform: none; margin-top: 48px; }
    .cv-stat { padding: 22px 20px; }
    .cv-stat:nth-child(3) { border-left: 0; }
    .cv-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .cv-stats--dark .cv-stat:nth-child(n+3) { border-top-color: rgba(255, 255, 255, .12); }
    .cv-after-stats { padding-top: 64px; }
    .cv-hero { padding-bottom: 0; }
    .cv-hero + .cv-clients { margin-top: 0; }
    .cv-grid--2, .cv-grid--3, .cv-grid--4, .cv-feature-list, .cv-checks, .cv-form-grid { grid-template-columns: 1fr; }
    .cv-card { padding: 24px; }
    .cv-card--row { flex-direction: column; gap: 16px; }
    .cv-head { margin-bottom: 36px; }
    .cv-photo::before { inset: 16px -12px -16px 16px; }
    .cv-photo__tag { left: 12px; bottom: 16px; }
    .cv-explorer__body { padding: 24px; }
    .cv-explorer__media { aspect-ratio: 16 / 10; }
    .cv-cta { padding: 36px 24px; }
    .cv-form-card { padding: 26px 20px; }
    .cv-page-hero { padding: 56px 0 48px; }
    .cv-footer__grid { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 36px; }
    .cv-footer__bottom { flex-direction: column; text-align: center; align-items: center; }
    .cv-bio__text { padding: 28px 22px; }
    .cv-map iframe { height: 320px; }
    .cv-marquee__item { width: 140px; height: 72px; margin: 0 8px; }
}
@media (max-width: 420px) {
    .cv-topbar__links a span { display: none; }
    .cv-topbar__links { gap: 20px; }
    .cv-header__actions .cv-btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .cv-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
    .cv-marquee__track [aria-hidden="true"] { display: none; }
}

/* ---------- Website chat widget ---------- */
.cv-chat { position: fixed; right: 20px; bottom: 20px; z-index: 1200; font-family: 'Manrope', sans-serif; }
.cv-chat.is-hidden { display: none; }
.cv-chat__launcher {
    width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; position: relative;
    background: var(--orange-500); color: var(--ink); display: grid; place-items: center;
    box-shadow: 0 14px 30px -10px rgba(var(--orange-500-rgb), .7); transition: transform .2s var(--ease), background .2s;
}
.cv-chat__launcher:hover { transform: translateY(-2px); background: var(--orange-400); }
.cv-chat__launcher svg { width: 26px; height: 26px; }
.cv-chat__launcher-close { display: none; }
.cv-chat.is-open .cv-chat__launcher-open { display: none; }
.cv-chat.is-open .cv-chat__launcher-close { display: grid; }
.cv-chat.has-unread .cv-chat__launcher::after { content: ""; position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--teal-500); border: 2px solid #fff; }
.cv-chat__panel {
    position: absolute; right: 0; bottom: 76px; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px));
    background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    display: flex; flex-direction: column; overflow: hidden; animation: cvFade .25s var(--ease);
}
.cv-chat__panel[hidden] { display: none; }
.cv-chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--teal-900); color: #fff; }
.cv-chat__head strong { display: block; font-size: 15px; }
.cv-chat__head span { font-size: 12px; color: rgba(255, 255, 255, .7); }
.cv-chat__avatar { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; overflow: hidden; }
.cv-chat__avatar img { width: 26px; height: 26px; object-fit: contain; }
.cv-chat__x { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; display: grid; place-items: center; }
.cv-chat__x svg { width: 16px; height: 16px; }
.cv-chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.cv-chat__msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; }
.cv-chat__msg p { margin: 0; white-space: pre-wrap; word-wrap: break-word; }
.cv-chat__msg--bot, .cv-chat__msg--agent { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); border-bottom-left-radius: 4px; }
.cv-chat__msg--agent { border-color: var(--teal-100); background: var(--teal-50); }
.cv-chat__msg--user { align-self: flex-end; background: var(--teal-900); color: #fff; border-bottom-right-radius: 4px; }
.cv-chat__msg--system { align-self: center; background: transparent; color: var(--muted); font-size: 12.5px; text-align: center; padding: 4px 8px; }
.cv-chat__meta { display: block; font-size: 11.5px; font-weight: 700; color: var(--teal-600); margin-bottom: 2px; }
.cv-chat__typing { display: flex; gap: 4px; padding: 14px; }
.cv-chat__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); animation: cvTyping 1.2s infinite ease-in-out; }
.cv-chat__typing span:nth-child(2) { animation-delay: .15s; }
.cv-chat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes cvTyping { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
.cv-chat__foot { border-top: 1px solid var(--line); padding: 10px 12px 12px; background: #fff; }
.cv-chat__foot[hidden] { display: none; }
.cv-chat__handoff { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 2px 4px 8px; font: 700 13px 'Manrope', sans-serif; color: var(--teal-600); cursor: pointer; }
.cv-chat__handoff[hidden] { display: none; }
.cv-chat__handoff svg { width: 15px; height: 15px; }
.cv-chat__handoff:hover { color: var(--orange-600); }
.cv-chat__compose { display: flex; gap: 8px; align-items: flex-end; }
.cv-chat__compose textarea { flex: 1; resize: none; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font: 500 14.5px/1.4 'Manrope', sans-serif; color: var(--ink); max-height: 120px; }
.cv-chat__compose textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(var(--teal-500-rgb), .14); }
.cv-chat__compose button { width: 42px; height: 42px; flex: none; border-radius: 12px; border: 0; background: var(--orange-500); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.cv-chat__compose button svg { width: 18px; height: 18px; }
.cv-chat__compose button[disabled] { cursor: progress; opacity: .75; }
.cv-chat__compose button.is-loading svg { display: none; }
.cv-chat__compose button.is-loading::before, .cv-btn.is-loading::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: cv-spin .7s linear infinite; }
.cv-btn.is-loading { cursor: progress; opacity: .85; transform: none; }
@keyframes cv-spin { to { transform: rotate(360deg); } }
.cv-chat__human { padding: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: #fff; }
.cv-chat__human[hidden] { display: none; }
.cv-chat__human p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.cv-chat__human input { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font: 500 14.5px 'Manrope', sans-serif; }
.cv-chat__human input:focus { outline: none; border-color: var(--teal-500); }
.cv-chat__human-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cv-chat__link { border: 0; background: none; color: var(--muted); font: 600 13px 'Manrope', sans-serif; cursor: pointer; padding: 0; }
@media (max-width: 480px) {
    .cv-chat { right: 12px; bottom: 12px; }
    .cv-chat__panel { position: fixed; inset: auto 8px 84px 8px; width: auto; height: min(560px, calc(100vh - 110px)); }
}
