/* ═══════════════════════════════════════════════════════════════════════
   VPS page (/vps-hosting/): loaded after fibre.css. Terminal hero card, a
   server picker (range switch + slider + live gauges) with an enquiry panel,
   an image/list "included" block and a dark "who needs a VPS" section.
   ═══════════════════════════════════════════════════════════════════════ */

.vs-hero .fh-hero-bg img { object-position: 75% center; }
.vs-eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.vs-eyebrow svg { width: 15px; height: 15px; }

/* ── Terminal ── */
.vs-term { border-radius: 18px; overflow: hidden; background: rgba(8,8,10,0.92); border: 1px solid rgba(255,255,255,0.10); box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(216,38,51,0.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.vs-term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.06); }
.vs-term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a40; }
.vs-term-bar i:first-child { background: #d82633; }
.vs-term-bar span { margin-left: 8px; color: rgba(255,255,255,0.45); font: 600 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.vs-term-body { margin: 0; padding: 18px 20px 22px; min-height: 252px; color: #d1d5db; font: 13.5px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.vs-t-prompt { color: #ff4d5a; font-weight: 700; }
.vs-t-ok { color: #4ade80; }
.vs-t-cursor { display: inline-block; width: 8px; height: 15px; margin-left: 2px; vertical-align: -2px; background: #ff4d5a; animation: vs-blink 1s steps(1) infinite; }
@keyframes vs-blink { 50% { opacity: 0; } }

/* ── Server picker ── */
.vs-picker { display: grid; grid-template-columns: minmax(0, 1fr) 360px; background: #fff; border: 1px solid #f0f0f0; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.07); }
.vs-pick-main { padding: 32px; min-width: 0; }
.vs-range { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: #f5f5f6; margin-bottom: 28px; }
.vs-range button { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 700; color: #4b5563; background: transparent; border: 0; border-radius: 11px; padding: 10px 18px; cursor: pointer; transition: all .2s; }
.vs-range button svg { width: 16px; height: 16px; }
.vs-range button[aria-pressed="true"] { background: #111; color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,0.18); }
.vs-names { display: flex; justify-content: space-between; margin-bottom: 10px; }
.vs-names button { font: inherit; font-size: 14px; font-weight: 800; color: #9ca3af; background: none; border: 0; padding: 4px 2px; cursor: pointer; transition: color .2s, transform .2s; }
.vs-names button.is-on { color: #d82633; transform: scale(1.12); }
.vs-slider { display: block; margin-bottom: 30px; }
.vs-slider input { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; background: linear-gradient(90deg, #d82633 var(--p, 33%), #ececec var(--p, 33%)); outline: none; cursor: pointer; }
.vs-slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 7px solid #d82633; box-shadow: 0 0 0 6px rgba(216,38,51,0.18), 0 6px 14px rgba(0,0,0,0.15); }
.vs-slider input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 6px solid #d82633; }
.vs-slider input:focus-visible { box-shadow: 0 0 0 3px rgba(216,38,51,0.35); }
.vs-gauges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vs-gauge { padding: 18px; border-radius: 18px; background: #fafafa; border: 1px solid #f0f0f0; min-width: 0; }
.vs-gauge-icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(216,38,51,0.10); color: #d82633; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.vs-gauge-icon svg { width: 20px; height: 20px; }
.vs-gauge-txt span { display: block; color: #6b7280; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.vs-gauge-txt strong { display: block; color: #111; font-size: 30px; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; }
.vs-gauge-txt small { font-size: 14px; color: #9ca3af; font-weight: 700; }
.vs-gauge-bar { display: block; height: 6px; margin-top: 12px; border-radius: 999px; background: #ececec; overflow: hidden; }
.vs-gauge-bar b { display: block; height: 100%; width: 6%; border-radius: inherit; background: linear-gradient(90deg, #99151c, #d82633); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.vs-pick-incl { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.vs-pick-incl li { display: inline-flex; align-items: center; gap: 6px; color: #4b5563; font-size: 13.5px; font-weight: 600; }
.vs-pick-incl svg { width: 15px; height: 15px; color: #16a34a; }

.vs-pick-side { position: relative; padding: 32px 28px; background: #111; color: #fff; overflow: hidden; }
.vs-pick-side::before { content: ''; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(216,38,51,0.38), transparent 65%); pointer-events: none; }
.vs-pick-side > * { position: relative; }
.vs-side-eyebrow { color: #ff4d5a; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.vs-side-name { font-size: 32px; font-weight: 900; line-height: 1.1; margin-top: 6px; }
.vs-side-spec { color: rgba(255,255,255,0.65); font-size: 14px; margin-top: 4px; }
.vs-side-price { margin-top: 18px; }
.vs-side-price strong { font-size: 44px; font-weight: 900; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.vs-side-price small { color: rgba(255,255,255,0.55); font-size: 14px; margin-left: 3px; }
.vs-side-terms { color: rgba(255,255,255,0.45); font-size: 12.5px; margin: 2px 0 22px; }
.vs-form-fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.vs-form-fields[hidden] { display: none; }
.vs-field { display: flex; flex-direction: column; gap: 5px; }
.vs-field span { color: rgba(255,255,255,0.7); font-size: 12.5px; font-weight: 700; }
.vs-field input, .vs-field textarea { font: inherit; font-size: 15px; color: #fff; background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.12); border-radius: 11px; padding: 10px 12px; outline: none; resize: vertical; min-width: 0; }
.vs-field input:focus, .vs-field textarea:focus { border-color: #d82633; }
.vs-field input::placeholder, .vs-field textarea::placeholder { color: rgba(255,255,255,0.3); }
.vs-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vs-send:disabled { opacity: .7; cursor: wait; }
.vs-form-msg { margin-top: 10px; font-size: 13.5px; font-weight: 600; line-height: 1.45; text-align: center; }
.vs-form-msg:empty { display: none; }
.vs-form-msg.is-ok { color: #86efac; }
.vs-form-msg.is-error { color: #fca5a5; }

/* Compare */
.vs-compare { margin-top: 24px; background: #fff; border: 1px solid #f0f0f0; border-radius: 20px; overflow: hidden; }
.vs-compare summary { display: flex; align-items: center; gap: 10px; padding: 18px 22px; cursor: pointer; list-style: none; color: #111; font-weight: 800; font-size: 15px; }
.vs-compare summary::-webkit-details-marker { display: none; }
.vs-compare summary svg { width: 18px; height: 18px; color: #d82633; }
.vs-compare-chev { margin-left: auto; color: #9ca3af !important; transition: transform .2s; }
.vs-compare[open] .vs-compare-chev { transform: rotate(180deg); }
.vs-compare-wrap { border-top: 1px solid #f0f0f0; }
.vs-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.vs-table th, .vs-table td { padding: 12px 18px; border-bottom: 1px solid #f3f3f3; text-align: left; font-variant-numeric: tabular-nums; }
.vs-table thead th { color: #9ca3af; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: #fafafa; }
.vs-table tbody th { color: #111; font-weight: 800; }
.vs-table td { color: #374151; }
.vs-t-range th { background: #fff4f5; color: #d82633 !important; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.vs-t-price { color: #111 !important; font-weight: 900; }
.vs-t-pick { font: inherit; font-size: 12.5px; font-weight: 700; color: #d82633; background: #fff4f5; border: 0; border-radius: 9px; padding: 7px 14px; cursor: pointer; }
.vs-t-pick:hover { background: #d82633; color: #fff; }
.vs-cards { display: none; }
.vs-compare-note { padding: 12px 22px 16px; color: #9ca3af; font-size: 12.5px; }

/* ── Included ── */
.vs-inc { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.vs-inc-img { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: 0 30px 70px rgba(0,0,0,0.15); }
.vs-inc-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.vs-inc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.vs-inc-list li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px dashed #ececec; color: #374151; font-size: 15px; font-weight: 600; line-height: 1.4; }
.vs-inc-list li:last-child { border-bottom: 0; }
.vs-inc-list svg { width: 20px; height: 20px; color: #d82633; flex-shrink: 0; }

/* ── Who needs a VPS (dark) ── */
.vs-who-sec { position: relative; background: #0d0d0d; overflow: hidden; }
.vs-who-sec::before { content: ''; position: absolute; left: 50%; top: -30%; width: 80%; height: 90%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(216,38,51,0.18), transparent 60%); pointer-events: none; }
.vs-who-sec > div { position: relative; }
.vs-uses { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.vs-uses li { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; border-radius: 18px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: #fff; font-size: 15px; font-weight: 700; line-height: 1.35; transition: border-color .2s, transform .2s; }
.vs-uses li:hover { border-color: rgba(216,38,51,0.5); transform: translateY(-3px); }
.vs-uses li span { width: 42px; height: 42px; border-radius: 12px; background: rgba(216,38,51,0.18); color: #ff4d5a; display: flex; align-items: center; justify-content: center; }
.vs-uses li svg { width: 20px; height: 20px; }
.vs-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; margin: 0 auto; }
.vs-vs-card { position: relative; padding: 26px; border-radius: 22px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: #fff; }
.vs-vs-card.is-vps { background: linear-gradient(150deg, rgba(216,38,51,0.22), rgba(216,38,51,0.05)); border-color: rgba(216,38,51,0.55); }
.vs-vs-tag { position: absolute; top: 22px; right: 22px; padding: 4px 10px; border-radius: 999px; background: #d82633; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.vs-vs-card h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 900; margin-bottom: 14px; padding-right: 80px; }
.vs-vs-card h3 svg { width: 22px; height: 22px; color: #ff4d5a; flex-shrink: 0; }
.vs-vs-card ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.vs-vs-card li { position: relative; padding-left: 18px; color: rgba(255,255,255,0.75); font-size: 14.5px; }
.vs-vs-card li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: #d82633; }
.vs-vs-card a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; font-size: 14.5px; }
.vs-vs-card a svg { width: 15px; height: 15px; }

/* Phones: "your server" bar */
.vs-mbar { display: none; }

/* ── Dark theme ── */
[data-theme="dark"] .vs-picker, [data-theme="dark"] .vs-compare { background: #16171d; border-color: rgba(255,255,255,0.07); box-shadow: none; }
[data-theme="dark"] .vs-range { background: rgba(255,255,255,0.05); }
[data-theme="dark"] .vs-range button { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .vs-range button[aria-pressed="true"] { background: #d82633; }
[data-theme="dark"] .vs-gauge { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.07); }
[data-theme="dark"] .vs-gauge-txt strong, [data-theme="dark"] .vs-compare summary, [data-theme="dark"] .vs-table tbody th, [data-theme="dark"] .vs-t-price { color: #fff !important; }
[data-theme="dark"] .vs-gauge-bar, [data-theme="dark"] .vs-slider input { background-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .vs-slider input { background: linear-gradient(90deg, #d82633 var(--p, 33%), rgba(255,255,255,0.12) var(--p, 33%)); }
[data-theme="dark"] .vs-pick-incl li, [data-theme="dark"] .vs-table td, [data-theme="dark"] .vs-inc-list li { color: rgba(255,255,255,0.75); }
[data-theme="dark"] .vs-pick-side { border-left: 1px solid rgba(255,255,255,0.06); }
[data-theme="dark"] .vs-table th, [data-theme="dark"] .vs-table td, [data-theme="dark"] .vs-compare-wrap, [data-theme="dark"] .vs-inc-list li { border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .vs-table thead th { background: rgba(255,255,255,0.03); }
[data-theme="dark"] .vs-t-range th { background: rgba(216,38,51,0.12); }

@media (prefers-reduced-motion: reduce) {
    .vs-t-cursor { animation: none; }
    .vs-gauge-bar b { transition: none; }
}

/* ── Tablets ── */
@media (max-width: 1100px) {
    .vs-picker { grid-template-columns: 1fr; }
    .vs-uses { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
    .vs-inc { grid-template-columns: 1fr; gap: 32px; }
    .vs-vs { grid-template-columns: 1fr; max-width: 560px; }
}

/* ── Phones ── */
@media (max-width: 767px) {
    .vs-term-body { min-height: 0; padding: 14px 14px 16px; font-size: 12px; }
    .vs-pick-main { padding: 20px 16px; }
    .vs-range { display: flex; margin-bottom: 22px; }
    .vs-range button { flex: 1; justify-content: center; padding: 10px 8px; font-size: 13.5px; }
    .vs-gauges { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .vs-gauge { padding: 12px 10px; border-radius: 14px; }
    .vs-gauge-icon { width: 32px; height: 32px; border-radius: 10px; margin-bottom: 8px; }
    .vs-gauge-icon svg { width: 16px; height: 16px; }
    .vs-gauge-txt span { font-size: 10px; letter-spacing: .04em; }
    .vs-gauge-txt strong { font-size: 21px; }
    .vs-gauge-txt small { font-size: 11px; }
    .vs-pick-incl { gap: 6px 12px; }
    .vs-pick-incl li { font-size: 12.5px; }
    .vs-pick-side { padding: 24px 18px; }
    .vs-side-name { font-size: 26px; }
    .vs-side-price strong { font-size: 36px; }
    .vs-compare-wrap { display: none; }
    .vs-cards { list-style: none; margin: 0; padding: 14px; border-top: 1px solid #f0f0f0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .vs-cards li { display: flex; flex-direction: column; padding: 14px 12px; border: 1px solid #f0f0f0; border-radius: 14px; background: #fafafa; min-width: 0; }
    .vs-c-head { display: flex; flex-direction: column; }
    .vs-c-head strong { color: #111; font-size: 15px; font-weight: 900; }
    .vs-c-head span { color: #d82633; font-size: 18px; font-weight: 900; }
    .vs-c-head small { color: #9ca3af; font-size: 11.5px; margin-left: 1px; }
    .vs-cards p { color: #6b7280; font-size: 12.5px; line-height: 1.45; margin: 6px 0 10px; flex: 1; }
    .vs-cards .vs-t-pick { width: 100%; }
    [data-theme="dark"] .vs-cards li { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08); }
    [data-theme="dark"] .vs-c-head strong { color: #fff; }
    .vs-inc-img { aspect-ratio: 4 / 3; border-radius: 20px; }
    .vs-inc-list li { font-size: 14px; padding: 11px 0; }
    .vs-uses { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 32px; }
    .vs-uses li { padding: 14px; font-size: 13.5px; gap: 10px; }
    .vs-uses li:last-child { grid-column: 1 / -1; }
    .vs-vs-card { padding: 20px; }
    .vs-mbar { display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 18px; background: rgba(17,17,17,0.94); backdrop-filter: blur(10px); color: #fff; box-shadow: 0 14px 40px rgba(0,0,0,0.35); transform: translateY(140%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
    .vs-mbar.is-on { transform: none; }
    .vs-mbar small { display: block; color: rgba(255,255,255,0.55); font-size: 11px; }
    .vs-mbar strong { font-size: 15px; white-space: nowrap; }
    .vs-mbar .btn-red { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 700; color: #fff; white-space: nowrap; }
    .vs-mbar .btn-red svg { width: 15px; height: 15px; }
}
@media (max-width: 374px) {
    .vs-gauges { grid-template-columns: 1fr; }
    .vs-gauge { display: grid; grid-template-columns: 32px 1fr; column-gap: 10px; align-items: center; }
    .vs-gauge-icon { margin: 0; grid-row: span 2; }
    .vs-cards { grid-template-columns: 1fr; }
    .vs-uses { grid-template-columns: 1fr; }
}

/* Light mode: gauge units readable on white (page audit, 3 Dec 2026) */
:root:not([data-theme="dark"]) .vs-gauge-txt small { color: #6b7280; }
