/* VIP Technology Solutions Group: dark theme.
   Loaded after styles.css in the dark version of the site (python build.py --dark).
   In the light theme --ink is both the text color and the navy used for dark panels;
   here text becomes light and the navy panels use --navy instead. */

:root {
  --ink: #eceef8;          /* main text */
  --ink-soft: #b7bad3;     /* secondary text */
  --paper: #0e0b28;        /* page background: deep VIP navy */
  --mist: #17133a;         /* section bands, cards */
  --rule: #2e2a5e;         /* borders */
  --navy: #1c1650;         /* VIP brand navy, for panels */
  --deep: #08061a;         /* darkest: top bar, footer */
  --cn: #6b9ff2;           /* division colors, lifted for contrast on dark */
  --is: #ee8240;
  --is-text: #f39558;
  --vs: #3fc487;
  --focus: #f2b705;
}

body { background: var(--paper); color: var(--ink); }
a { color: var(--cn); }
a:hover { color: #fff; }
.skip { background: var(--mist); color: var(--ink); }

/* Header and navigation */
.utility { background: var(--deep); border-bottom: 1px solid rgba(255,255,255,.14); }   /* neutral hairline (was the logo red) */
.site-head { background: transparent; }
.site-head .wrap { background: rgba(23, 19, 58, .9); border-color: #332e6a; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.site-head.scrolled .wrap { box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.mega { background: #120f33; border-color: #332e6a; box-shadow: 0 28px 70px rgba(0,0,0,.6); }
.mega-links a:hover, .mega-links a:focus-visible { background: #1f1a4d; }
.mega-links a:hover strong { color: #fff; }
.mega-feature { background: #1b1745; }
.mega-foot { border-top-color: #2a2659; }
.mega-foot a:hover { color: var(--cn); }
.nav-scrim { background: rgba(3, 2, 12, .55); }
.menu-toggle { border-color: var(--ink); color: var(--ink); }
@media (max-width: 1260px) { .nav { background: #120f33; border-color: #332e6a; } }

/* Buttons: light on dark (navy text), the inverse of the light theme */
.btn { background: #ffffff; border-color: #ffffff; color: var(--navy); }
.btn:hover { background: #dfe3f3; border-color: #dfe3f3; color: var(--navy); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: #241f52; color: #fff; }
.btn.on-dark { background: #fff; color: var(--navy); border-color: #fff; }

/* Hero and page headers */
.hero { background: var(--paper); }   /* solid: the animated rope (hero-rope.js) is the hero background */
.page-head { background: var(--mist); }   /* solid: the animated rope (hero-rope.js) runs behind every page header */
.page-head:not(.div-cn):not(.div-is):not(.div-vs) { border-top-color: var(--navy); }
.hero-art text { fill: var(--ink-soft); }
.hero-art .plate-text { fill: var(--ink); }
.hero-art .plate rect { fill: #ffffff; }

/* Bands, cards, panels */
.section.band, .area-strip, .ratings-top { background: var(--mist); }
.section.dark, .offer, .logo-wall { background: var(--navy); }
.offer { border: 1px solid #2f2873; }
.situation, .pair, .callout { background: var(--mist); border-color: var(--rule); }
.situation:hover, .pair:hover { border-color: var(--ink-soft); }
.callout { border-left-color: var(--ink-soft); }
.photo { background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, rgba(255,255,255,0) 14px 28px), var(--mist); border-color: #3a3570; }
.photo figcaption { background: rgba(14, 11, 40, .85); color: var(--ink-soft); }
.photo.has-photo img { box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.person img { background: var(--mist); }
.team-group:not(.div-cn):not(.div-is):not(.div-vs) h3::before,
.risks li::before { background: var(--ink-soft); }

/* Tables */
table.plans th, table.plans td { border-color: var(--rule); }
table.plans thead th { background: var(--mist); }

/* Forms: dark fields everywhere */
form.lead-form input, form.lead-form select, form.lead-form textarea {
  background: #0a0820; color: var(--ink); border-color: #3a3570;
}
form.lead-form input::placeholder, form.lead-form textarea::placeholder { color: #8d90ad; }
form.lead-form select option { background: #0a0820; color: var(--ink); }
.offer form.lead-form input, .offer form.lead-form select, .offer form.lead-form textarea { background: #120e3a; border-color: #463f8f; }
.form-status { background: #10331f; color: #a6ebc3; }
.form-status.error { background: #3b1518; color: #ffb9b0; }
.form-error { color: #ff9c8f; }
.invalid input, .invalid select, .invalid textarea { border-color: #ff7a6b; }

/* Footer */
.site-foot { background: var(--deep); border-top: 1px solid var(--rule); }
.foot-logo { background: none; padding: 0; }

/* SmileBack reviews: the widget draws its review strip with a white background and dark text
   (set with !important), so these more specific rules repaint it for the dark theme. */
.reviews-live .sb-widget.reviewsWidget .reviews .review .comment { color: var(--ink) !important; }
.reviews-live .sb-widget.reviewsWidget .reviews .review .reviewer,
.reviews-live .sb-widget.reviewsWidget .reviews .review .date { color: var(--ink-soft) !important; }
.reviews-live .sb-widget.reviewsWidget .reviews .review .score { color: var(--vs) !important; }
.reviews-live .sb-widget.reviewsWidget .arrow { border-color: var(--ink-soft) !important; }

/* Vendor logo slider (About page) */
.vendor-marquee { overflow: hidden; margin-top: 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.vm-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: vip-vendors 75s linear infinite; }
.vendor-marquee:hover .vm-track, .vendor-marquee:focus-within .vm-track { animation-play-state: paused; }
.vm-item { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; height: 48px; padding: 0 2.25rem; opacity: .85; transition: opacity .2s; }
.vm-item:hover { opacity: 1; }
.vm-item img { max-height: 32px; max-width: 180px; width: auto; height: auto; object-fit: contain; }
.vm-item img[src$=".svg"] { height: 18px; max-height: 18px; }
@keyframes vip-vendors { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .vm-item { padding: 0 1.4rem; } .vm-item img { max-height: 28px; max-width: 110px; } .vm-track { animation-duration: 55s; } }
@media (prefers-reduced-motion: reduce) { .vendor-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } .vm-track { animation: none; } .vm-item[aria-hidden="true"] { display: none; } }

/* Homepage: technician headshots under "Technicians you know by name" */
.faces { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.faces-row { display: flex; padding-left: 10px; }
.faces-row img { width: 48px; height: 48px; margin-left: -10px; border-radius: 50%; object-fit: cover; object-position: center 22%; border: 2px solid var(--paper); background: var(--mist); }
.faces a { font-weight: 600; font-size: .95rem; white-space: nowrap; }

/* Homepage: score gauge beside the security self-check */
.sc-dial-row { display: flex; align-items: center; gap: 22px; margin: 18px 0; }
.sc-dial-row .sc-chips { margin: 0; }
.sc-dial { flex: 0 0 150px; margin: 0; text-align: center; }
.sc-dial svg { width: 150px; height: auto; display: block; }
.sc-dial .scd-num { font-family: var(--head); font-weight: 700; font-size: 40px; fill: var(--ink); }
.sc-dial figcaption { font-size: .8rem; color: var(--ink-soft); margin-top: -4px; }
@media (max-width: 520px) { .sc-dial-row { flex-direction: column; align-items: flex-start; } }

/* Service Area page map */
.area-map { margin: 8px 0 36px; max-width: 760px; }
.area-map svg { width: 100%; height: auto; display: block; }
.area-map .am-bg { fill: #141038; stroke: #3a3570; }
.area-map .am-border { fill: none; stroke: #5a5494; stroke-width: 2; stroke-dasharray: 6 6; }
.area-map .am-state { font-family: var(--head); font-weight: 700; font-size: 22px; letter-spacing: .3em; fill: rgba(255,255,255,.13); }
.area-map .am-pin circle { fill: var(--cn); stroke: #0e0b28; stroke-width: 2; transition: r .15s; cursor: pointer; }
.area-map .am-pin:hover circle, .area-map .am-pin:focus circle { r: 8; fill: #9cc0ff; }
.area-map .am-labels text { font-family: var(--body); font-size: 13px; fill: #c9cbe0; paint-order: stroke; stroke: #141038; stroke-width: 3px; }
.area-map .am-hq path { fill: var(--focus); stroke: #0e0b28; stroke-width: 1.5; }
.area-map .am-hq text { font-family: var(--body); font-weight: 700; font-size: 14px; fill: #fff; paint-order: stroke; stroke: #141038; stroke-width: 3px; }
.area-map .am-pulse { fill: none; stroke: var(--focus); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: am-pulse 2.4s ease-out infinite; }
@keyframes am-pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .area-map .am-pulse { animation: none; opacity: .5; } }
.area-map figcaption { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .9rem; color: var(--ink-soft); margin-top: 10px; }
.am-key { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.am-key-hq { background: var(--focus); } .am-key-town { background: var(--cn); margin-left: 12px; }
@media (max-width: 640px) { .area-map .am-labels text { font-size: 20px; stroke-width: 4px; } .area-map .am-pin circle { r: 7; } }

/* Polish: balanced headline wrapping, so no heading ends with one word alone on a line */
h1, h2, h3, h4, .kicker { text-wrap: balance; }
p, li, figcaption, .lead { text-wrap: pretty; }

/* Polish: confirmation shown after a form is sent */
form.lead-form.is-done > :not(.form-done) { display: none !important; }
.form-done { grid-column: 1 / -1; text-align: center; padding: 34px 22px 30px; border: 1px solid rgba(63,196,135,.45); border-radius: var(--radius-m, 14px); background: linear-gradient(180deg, rgba(63,196,135,.12), rgba(63,196,135,.04)); outline: none; animation: fd-in .35s ease-out; }
.form-done .fd-check { width: 64px; height: 64px; margin: 0 auto 14px; display: block; }
.form-done .fd-check circle { fill: #3fc487; }
.form-done .fd-check path { fill: none; stroke: #0b2a1c; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: fd-draw .45s .2s ease-out forwards; }
.form-done h3 { margin: 0 0 8px; font-size: 1.5rem; color: #fff; }
.form-done p { margin: 0 auto 6px; max-width: 46ch; color: #d9d7ea; }
.form-done .fd-call a { color: #fff; font-weight: 600; white-space: nowrap; }
.form-done .fd-note { margin-top: 12px; font-size: .85rem; opacity: .75; }
.form-done .fd-again { margin-top: 18px; }
@keyframes fd-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes fd-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .form-done { animation: none; } .form-done .fd-check path { animation: none; stroke-dashoffset: 0; } }

/* Polish: page-not-found page */
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.nf-call { margin-top: 26px; }

/* Computers & Networking: shorter Cybersecurity section. Three numbered steps in shades of the Computers & Networking
   blue (light, brand, deep), so the team colors stay with their teams, with client quotes between them. */
.sec-groups { margin-top: 40px; display: grid; gap: 22px; }
.sec-group { --gc: var(--cn); display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; padding: 26px; border-radius: 16px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--gc) 14%, transparent), color-mix(in srgb, var(--gc) 4%, transparent) 45%, transparent);
  border: 1px solid color-mix(in srgb, var(--gc) 35%, transparent); }
.sec-group:nth-of-type(1) { --gc: #a9c6f8; }
.sec-group:nth-of-type(2) { --gc: #6b9ff2; }
.sec-group:nth-of-type(3) { --gc: #3f6fd8; }
.sec-divider { margin: 0; }
.sec-divider h3 { margin: 0; font-size: 1.35rem; }
.sec-divider .sub { color: var(--ink-soft); font-size: .95rem; margin: 8px 0 0; }
.sec-num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px; font-family: var(--head); font-weight: 700; font-size: 1.35rem; color: #0e0b28; background: var(--gc); }
.sec-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sec-group:nth-of-type(2) .sec-cards { grid-template-columns: repeat(2, 1fr); }
.sec-card { background: rgba(8,6,28,.45); border: 1px solid var(--rule); border-top: 3px solid var(--gc); border-radius: var(--radius-s, 8px); padding: 18px 18px 8px; }
.sec-card h4 { margin: 0 0 10px; font-size: 1.05rem; }
.sec-card .ticks li { font-size: .95rem; color: var(--ink-soft); margin-bottom: 7px; }
.sec-card .ticks li::before { border-color: var(--gc) !important; }
.sec-groups .quote.pull { margin: 6px 0; padding: 22px 30px; border-left: 4px solid var(--cn); background: rgba(107,159,242,.07); border-radius: 0 14px 14px 0; }
.sec-groups .quote.pull blockquote { font-size: 1.25rem; line-height: 1.5; color: #fff; margin: 0 0 10px; font-style: normal; }
.sec-groups .quote.pull figcaption { color: var(--ink-soft); }
.sec-groups .quote.pull figcaption strong { color: #fff; margin-right: 8px; }
@media (max-width: 1000px) { .sec-group { grid-template-columns: 1fr; gap: 16px; } .sec-cards, .sec-group:nth-of-type(2) .sec-cards { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .sec-group { padding: 18px; } .sec-card { padding: 14px 14px 4px; } .sec-groups .quote.pull { padding: 18px 20px; } .sec-groups .quote.pull blockquote { font-size: 1.1rem; } }
.service p.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Two client quotes side by side (Cybersecurity, Voice & Internet) */
.quotes.two { grid-template-columns: repeat(2, 1fr); }
.cyber-quotes { margin-top: 34px; }
@media (max-width: 900px) { .quotes.two { grid-template-columns: 1fr; } }

/* Homepage client logos: heading and description on the left, a grid of logo tiles on the right */
.trust-grid { display: grid; grid-template-columns: .9fr 1.6fr; gap: 48px; align-items: center; }
.trust-copy h2 { margin-top: 0; }
.trust-tiles .trust-more { margin: 14px 0 0; }
.trust-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust-logos li { display: grid; place-items: center; height: 96px; padding: 14px; border-radius: 12px; background: #151140; border: 1px solid var(--rule); }
.trust-logos img { max-height: 58px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; gap: 22px; } .trust-logos { grid-template-columns: repeat(3, 1fr); } .trust-logos li { height: 76px; padding: 10px; } .trust-logos img { max-height: 44px; } }
