﻿/* ============================================================
   SnappPay Support - one stylesheet for the public site and all panels
   Brand colors live in the :root block. Change them there and everything follows.
   ============================================================ */
@font-face {
    font-family: "Vazirmatn";
    src: url("fonts/Vazirmatn.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --brand-900: #003a7a;
    --brand-700: #0062c9;
    --brand-600: #007cfc;
    --brand-500: #2e92ff;
    --brand-100: #cfe4ff;
    --brand-50: #e8f3ff;
    --accent: #00c2b8;

    --ink: #0f1b2d;
    --ink-2: #33445c;
    --muted: #64748b;
    --line: #e3e9f2;
    --line-2: #eef2f8;
    --bg: #f4f7fb;
    --card: #ffffff;

    --ok: #12a150;      --ok-bg: #e6f6ec;
    --warn: #a86a05;    --warn-bg: #fff3d6;
    --bad: #d92d20;     --bad-bg: #fdecea;
    --info: #007cfc;    --info-bg: #e8f3ff;
    --mute: #64748b;    --mute-bg: #eef2f7;

    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 6px 20px rgba(15, 27, 45, .05);
    --shadow-lg: 0 10px 40px rgba(0, 124, 252, .18);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: var(--ink);
    background: var(--bg);
}
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { margin: 0; line-height: 1.5; font-weight: 700; }
h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
p { margin: 0 0 .6em; }
img { max-width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.ic { flex: none; vertical-align: middle; }

/* ---------- utilities ---------- */
.muted { color: var(--muted); }
.sm { font-size: 13px; }
.ltr { direction: ltr; unicode-bidi: embed; text-align: left; }
.nowrap { white-space: nowrap; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.sp { flex: 1; }
.mt { margin-top: 16px; }
.mt-lg { margin-top: 28px; }
.mb { margin-bottom: 16px; }
.hide { display: none !important; }
.center { text-align: center; }
.bold { font-weight: 700; }
.pre { white-space: pre-wrap; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 9px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
    font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
    transition: background .15s, box-shadow .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 4px 14px rgba(0, 124, 252, .28); }
.btn-primary:hover { background: var(--brand-700); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg); color: var(--ink); }
.btn-ok { background: var(--ok); color: #fff; }
.btn-ok:hover { background: #0e8a43; color: #fff; }
.btn-danger { background: #fff; color: var(--bad); border-color: #f4c4c0; }
.btn-danger:hover { background: var(--bad-bg); color: var(--bad); }
.btn-sm { padding: 5px 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 13px 28px; font-size: 16px; border-radius: 12px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
form.inline { display: inline; }

/* ---------- forms ---------- */
.field { margin-bottom: 16px; }
.field > label, .lbl { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--ink-2); }
.req::after { content: " *"; color: var(--bad); }
.input, .select, .textarea {
    width: 100%; padding: 10px 14px; font: inherit; color: var(--ink);
    background: #fff; border: 1px solid #cfd8e6; border-radius: var(--radius-sm);
    transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(46, 146, 255, .14); }
.textarea { min-height: 110px; resize: vertical; line-height: 1.9; }
.input[type=file] { padding: 8px; }
.hint { color: var(--muted); font-size: 13px; margin-top: 5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 7px; width: 17px; height: 17px; accent-color: var(--brand-600); }
.trap { position: absolute; right: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- alerts ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; border: 1px solid transparent; font-size: 14px; }
.alert ul { margin: 0; padding-inline-start: 18px; }
.a-ok { background: var(--ok-bg); color: #0b6b36; border-color: #bfe6cd; }
.a-err { background: var(--bad-bg); color: #9d1c12; border-color: #f4c4c0; }
.a-warn { background: var(--warn-bg); color: #7a4a00; border-color: #f2dba0; }
.a-info { background: var(--info-bg); color: var(--brand-700); border-color: var(--brand-100); }
.demo-banner { background: #fff3d6; color: #7a4a00; border: 1px dashed #e0b34a; border-radius: var(--radius-sm); padding: 10px 14px; font-size: 13px; margin-bottom: 16px; }

/* ---------- badges ---------- */
.badge { display: inline-block; padding: 2px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.b-ok { background: var(--ok-bg); color: var(--ok); }
.b-warn { background: var(--warn-bg); color: var(--warn); }
.b-bad { background: var(--bad-bg); color: var(--bad); }
.b-info { background: var(--info-bg); color: var(--info); }
.b-brand { background: var(--brand-600); color: #fff; }
.b-muted { background: var(--mute-bg); color: var(--mute); }
.sla { font-size: 13px; font-weight: 600; white-space: nowrap; }
.s-ok { color: var(--ok); }
.s-warn { color: var(--warn); }
.s-bad { color: var(--bad); }
.s-muted { color: var(--muted); }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-h { padding: 16px 20px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card-h h2, .card-h h3 { flex: 1; }
.card-b { padding: 20px; }
.card-f { padding: 14px 20px; border-top: 1px solid var(--line-2); background: #fafcff; border-radius: 0 0 var(--radius) var(--radius); }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g-main { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }

.stat { display: flex; gap: 14px; align-items: center; padding: 18px 20px; }
.stat .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; flex: none; }
.stat .ico.ok { background: var(--ok-bg); color: var(--ok); }
.stat .ico.warn { background: var(--warn-bg); color: var(--warn); }
.stat .ico.bad { background: var(--bad-bg); color: var(--bad); }
.stat .v { font-size: 22px; font-weight: 800; line-height: 1.3; }
.stat .l { color: var(--muted); font-size: 13px; }
a.stat { color: inherit; }
a.stat:hover { border-color: var(--brand-100); box-shadow: var(--shadow-lg); }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: right; font-size: 12.5px; color: var(--muted); font-weight: 600; padding: 11px 16px; background: #fafcff; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: #fbfdff; }
.tbl .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl-wrap:first-child .tbl th:first-child { border-top-right-radius: var(--radius); }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.empty .ic { color: #b8c4d6; margin-bottom: 8px; }

/* ---------- key/value ---------- */
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; margin: 0; }
.kv dt { color: var(--muted); font-size: 13.5px; }
.kv dd { margin: 0; font-weight: 500; word-break: break-word; }

/* ---------- filters ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line-2); }
.filters .input, .filters .select { width: auto; min-width: 150px; padding: 7px 12px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 5px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.chip:hover { border-color: var(--brand-500); color: var(--brand-600); }
.chip.on { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.chip .n { opacity: .75; margin-inline-start: 4px; }

/* ---------- pager ---------- */
.pager { display: flex; gap: 6px; justify-content: center; padding: 16px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 600; padding: 0 8px; }
.pager span.cur { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }

/* ---------- conversation ---------- */
.thread { display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.msg.theirs { align-self: flex-start; border-top-right-radius: 4px; }
.msg.mine { align-self: flex-end; background: var(--brand-50); border-color: var(--brand-100); border-top-left-radius: 4px; }
.msg.note { align-self: stretch; max-width: 100%; background: #fffbea; border: 1px dashed #e8c75b; }
.msg.sys { align-self: center; max-width: 100%; background: transparent; border: 0; color: var(--muted); font-size: 13px; padding: 2px 10px; text-align: center; }
.msg .meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.msg .meta b { color: var(--ink-2); }
.msg .body { word-break: break-word; }
.msg .att { margin-top: 8px; font-size: 13px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }

/* ---------- progress ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 34px 18px 0; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; right: 7px; top: 22px; bottom: -2px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; right: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid #cbd5e4; }
.timeline li.done { color: var(--ink); }
.timeline li.done::after { background: var(--ok); border-color: var(--ok); }
.timeline li.cur { color: var(--brand-700); font-weight: 700; }
.timeline li.cur::after { background: #fff; border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(46, 146, 255, .18); }
.timeline li small { display: block; font-weight: 400; color: var(--muted); }

.stars { color: #f5a524; letter-spacing: 2px; }
.rate { display: flex; gap: 6px; flex-direction: row-reverse; justify-content: flex-end; }
.rate input { display: none; }
.rate label { font-size: 28px; color: #cbd5e4; cursor: pointer; margin: 0; line-height: 1; }
.rate input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: #f5a524; }

/* ============================================================
   APP SHELL (all signed-in pages)
   ============================================================ */
.app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.side {
    background: #fff; border-inline-end: 1px solid var(--line);
    display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 18px 14px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; color: var(--ink); }
.brand img { height: 40px; width: auto; display: block; }
.brand .wordmark { font-weight: 800; font-size: 20px; color: var(--brand-600); letter-spacing: -.3px; }
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.3; }
.nav { display: flex; flex-direction: column; gap: 3px; overflow-y: auto; flex: 1; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; color: var(--ink-2); font-weight: 600; }
.nav a:hover { background: var(--bg); color: var(--ink); }
.nav a.active { background: var(--brand-50); color: var(--brand-700); }
.nav a .cnt { margin-inline-start: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 12px; display: grid; place-items: center; font-weight: 700; }
.nav a.active .cnt { background: var(--brand-600); }
.me { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 10px; display: flex; gap: 10px; align-items: center; }
.me .who { flex: 1; min-width: 0; line-height: 1.5; }
.me .who b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me .who small { color: var(--muted); }
.me button { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px; border-radius: 8px; }
.me button:hover { background: var(--bad-bg); color: var(--bad); }

.main { min-width: 0; display: flex; flex-direction: column; }
.top { display: none; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top button { background: none; border: 0; cursor: pointer; color: var(--ink); padding: 6px; }
.content { padding: 28px 32px 60px; max-width: 1280px; width: 100%; }
.page-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { flex: 1; min-width: 200px; }
.page-head .crumb { width: 100%; font-size: 13px; color: var(--muted); margin-bottom: -6px; }
.scrim { display: none; }

/* ============================================================
   PUBLIC SITE
   ============================================================ */
.pub-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.pub-head .in { max-width: 1160px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 24px; }
.pub-head nav { display: flex; gap: 6px; flex: 1; }
.pub-head nav a { padding: 7px 14px; border-radius: 10px; color: var(--ink-2); font-weight: 600; }
.pub-head nav a:hover { background: var(--bg); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap-sm { max-width: 760px; margin: 0 auto; padding: 0 20px; }

.hero {
    position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(900px 400px at 85% -10%, rgba(0, 194, 184, .55), transparent 60%),
                linear-gradient(135deg, var(--brand-900) 0%, var(--brand-600) 55%, var(--brand-500) 100%);
}
.hero .in { max-width: 1160px; margin: 0 auto; padding: 84px 20px 96px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 40px; line-height: 1.5; font-weight: 800; }
.hero p.lead { font-size: 18px; opacity: .92; margin: 16px 0 28px; max-width: 560px; }
.hero .btn-light { background: #fff; color: var(--brand-700); }
.hero .btn-light:hover { background: var(--brand-50); }
.hero .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero .btn-line:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.hero-card { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); border-radius: 22px; padding: 26px; backdrop-filter: blur(6px); }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; }
.hero-card li .ic { background: rgba(255, 255, 255, .2); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }
.section { padding: 72px 0; }
.section.alt { background: #fff; border-block: 1px solid var(--line); }
.section h2.title { font-size: 28px; text-align: center; margin-bottom: 8px; }
.section p.sub { text-align: center; color: var(--muted); margin-bottom: 40px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 24px 20px; text-align: center; }
.step .no { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; font-weight: 800; font-size: 18px; margin: 0 auto 12px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--brand-600); box-shadow: var(--shadow-lg); }
.plan .tag { position: absolute; top: -13px; right: 24px; background: var(--brand-600); color: #fff; padding: 2px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.plan h3 { font-size: 20px; }
.plan .price { margin: 12px 0 4px; font-size: 30px; font-weight: 800; color: var(--ink); }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ic { color: var(--ok); margin-top: 4px; }
.install-box { display: flex; gap: 24px; align-items: center; padding: 26px 30px; margin-bottom: 30px; background: linear-gradient(135deg, var(--brand-50), #fff); border: 1px solid var(--brand-100); border-radius: var(--radius); flex-wrap: wrap; }
.install-box .price { font-size: 28px; font-weight: 800; color: var(--brand-700); }

.pub-foot { background: var(--brand-900); color: #c9d9f2; padding: 34px 0; margin-top: 0; font-size: 14px; }
.pub-foot a { color: #fff; }
.foot-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.foot-phone { text-align: end; }
.foot-social { display: flex; gap: 10px; justify-content: center; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); transition: background .15s, transform .15s; }
.foot-social a:hover { background: var(--brand-600); transform: translateY(-2px); }

.auth-wrap { min-height: calc(100vh - 140px); display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: 100%; max-width: 440px; padding: 34px 30px; }
.auth-card h1 { font-size: 22px; margin-bottom: 6px; }
.otp-boxes { display: flex; gap: 8px; justify-content: center; direction: ltr; margin: 18px 0 8px; }
.otp-boxes input { width: 48px; height: 58px; text-align: center; font-size: 24px; font-weight: 700; border: 1.5px solid #cfd8e6; border-radius: 12px; background: #fff; font-family: inherit; }
.otp-boxes input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(46, 146, 255, .14); }
.otp-meta { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-600); cursor: pointer; font-weight: 600; }
.linklike[disabled] { color: var(--muted); cursor: default; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .g4 { grid-template-columns: repeat(2, 1fr); }
    .g-main { grid-template-columns: 1fr; }
    .hero .in { grid-template-columns: 1fr; padding-top: 56px; }
    .hero h1 { font-size: 32px; }
}
@media (max-width: 860px) {
    .app { grid-template-columns: 1fr; }
    .side { position: fixed; inset-block: 0; right: 0; width: 280px; z-index: 50; transform: translateX(105%); transition: transform .2s; box-shadow: var(--shadow-lg); }
    body.menu-open .side { transform: none; }
    body.menu-open .scrim { display: block; position: fixed; inset: 0; background: rgba(15, 27, 45, .45); z-index: 40; }
    .top { display: flex; }
    .content { padding: 20px 16px 48px; }
    .g2, .g3, .plans, .steps, .form-grid { grid-template-columns: 1fr; }
    .kv { grid-template-columns: 1fr; gap: 2px 0; }
    .kv dd { margin-bottom: 10px; }
    .pub-head nav { display: none; }
    .msg { max-width: 100%; }
}
@media (max-width: 520px) {
    .g4 { grid-template-columns: 1fr; }
    .otp-boxes input { width: 42px; height: 52px; }
    .auth-card { padding: 26px 18px; }
}
@media print {
    .side, .top, .actions, .btn, .pub-head, .pub-foot { display: none !important; }
    .app { display: block; }
    body { background: #fff; }
    .card { box-shadow: none; }
}

/* ---------- brand block ---------- */
.brand-sub { font-size: 12.5px; color: var(--muted); font-weight: 600; padding-inline-start: 10px; border-inline-start: 1px solid var(--line); line-height: 1.3; }
.pub-head .brand { padding: 0; }

/* ============================================================
   FRONT PAGE: ticket desk
   ============================================================ */
.hero-desk .in { display: block; max-width: 760px; padding: 48px 20px 56px; text-align: center; }
.hero-desk .hero-text { margin-bottom: 26px; }
.hero-desk .desk { text-align: start; }
.to-plans { margin-top: 22px; }
.hero-desk h1 { font-size: 36px; margin: 0; }
.hero-desk p.lead { margin: 10px auto 0; font-size: 17px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); font-size: 13.5px; font-weight: 600; }
.hero-pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero-pts li { display: flex; gap: 10px; align-items: center; }
.hero-pts .ic { background: rgba(255, 255, 255, .2); border-radius: 50%; padding: 3px; width: 24px; height: 24px; flex: none; }

.desk { background: #fff; color: var(--ink); border-radius: 22px; box-shadow: 0 24px 60px rgba(0, 30, 80, .35); overflow: hidden; }
.desk-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--line-2); padding: 6px; gap: 6px; }
.desk-tab { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 8px; border-radius: 14px; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.desk-tab:hover { background: rgba(255, 255, 255, .6); color: var(--ink); }
.desk-tab.on { background: #fff; color: var(--brand-700); box-shadow: var(--shadow); }
.desk-panel { display: none; padding: 24px 26px 26px; }
.desk-panel.on { display: block; }
.desk-form .field { margin-bottom: 14px; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cat input { position: absolute; opacity: 0; pointer-events: none; }
.cat span { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; cursor: pointer; background: #fff; color: var(--ink-2); }
.cat span:hover { border-color: var(--brand-500); }
.cat input:checked + span { background: var(--brand-50); border-color: var(--brand-600); color: var(--brand-700); font-weight: 700; }
.cat input:focus-visible + span { outline: 2px solid var(--brand-500); outline-offset: 2px; }
.desk-foot { text-align: center; color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.desk-note, .desk-install { text-align: center; }
.desk-note .avatar { margin: 4px auto 12px; }
.desk-install .avatar { margin: 0 auto 12px; }
.desk-install p { margin: 0 0 4px; }
.desk-install h3 { font-size: 20px; margin-bottom: 6px; }
.inst-price { margin: 14px 0; padding: 12px 16px; border-radius: 12px; background: var(--brand-50); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.inst-price b { font-size: 26px; color: var(--brand-700); }
.inst-pts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; text-align: start; }
.inst-pts li { display: flex; gap: 10px; align-items: flex-start; }
.inst-pts .ic { color: var(--ok); margin-top: 3px; flex: none; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.flow-i { text-align: center; padding: 8px 14px; position: relative; }
.flow-i .no { width: 56px; height: 56px; border-radius: 18px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; margin: 0 auto 12px; }
.flow-i:not(:last-child)::after { content: ""; position: absolute; top: 36px; inset-inline-end: -12%; width: 24%; border-top: 2px dashed var(--brand-100); }

/* install form: access choice */
.access-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.access-opt input { position: absolute; opacity: 0; pointer-events: none; }
.access-opt .box { display: grid; gap: 6px; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; height: 100%; background: #fff; }
.access-opt .box b { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.access-opt .box small { color: var(--muted); line-height: 1.8; }
.access-opt .box:hover { border-color: var(--brand-500); }
.access-opt input:checked + .box { border-color: var(--brand-600); background: var(--brand-50); }
.access-opt input:checked + .box b { color: var(--brand-700); }
.access-opt input:focus-visible + .box { outline: 2px solid var(--brand-500); outline-offset: 2px; }

.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.access-opt .box .pp { font-weight: 800; font-size: 18px; color: var(--ink); }
.access-opt .box .pp small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.mini-tag { font-style: normal; font-size: 11.5px; background: var(--brand-600); color: #fff; padding: 1px 9px; border-radius: 999px; font-weight: 700; }
.months { display: flex; flex-wrap: wrap; gap: 10px; }
.month input { position: absolute; opacity: 0; pointer-events: none; }
.month span { display: grid; gap: 2px; text-align: center; min-width: 108px; padding: 10px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: #fff; }
.month span em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ok); }
.month span:hover { border-color: var(--brand-500); }
.month input:checked + span { border-color: var(--brand-600); background: var(--brand-50); }
.month input:focus-visible + span { outline: 2px solid var(--brand-500); outline-offset: 2px; }
.sum-sup { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--brand-50); border: 1px solid var(--brand-100); display: grid; gap: 4px; font-size: 14px; }
.sum-sup b { color: var(--brand-700); }
.sum-sup .free { color: var(--ok); font-weight: 700; }
.promo { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; margin: 0 auto 30px; padding: 14px 20px; border-radius: var(--radius); background: linear-gradient(135deg, #e6f6ec, #f1fbf6); border: 1px solid #bfe6cd; color: #0b6b36; font-weight: 600; }
.promo b { font-weight: 800; }
.promo .gift { display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px; padding: 4px 14px; border: 1px solid #bfe6cd; }
[hidden] { display: none !important; }

.dur { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 34px; }
.dur-b { font: inherit; cursor: pointer; display: grid; gap: 2px; min-width: 120px; padding: 10px 18px; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink-2); font-weight: 700; }
.dur-b em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ok); }
.dur-b:hover { border-color: var(--brand-500); }
.dur-b.on { border-color: var(--brand-600); background: var(--brand-50); color: var(--brand-700); }
.p-per { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; min-height: 42px; }
.bill { margin: 8px 0 18px; padding: 16px 18px; border-radius: var(--radius); background: var(--brand-50); border: 1px solid var(--brand-100); display: grid; gap: 8px; }
.bill-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bill-row b { font-size: 17px; }
.bill-plus { text-align: center; font-size: 26px; line-height: 1; font-weight: 800; color: var(--brand-600); }
.bill-save { color: #0b6b36; background: var(--ok-bg); border-radius: 8px; padding: 4px 12px; font-weight: 700; font-size: 13.5px; justify-self: start; }
.bill-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-top: 2px dashed var(--brand-100); padding-top: 10px; margin-top: 2px; font-weight: 800; }
.bill-total b { font-size: 21px; color: var(--brand-700); }
.p-gift { font-size: 13px; color: #0b6b36; background: var(--ok-bg); border-radius: 8px; padding: 4px 10px; margin-bottom: 4px; display: inline-block; }

@media (max-width: 1100px) {
    .hero-desk .in { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .flow { grid-template-columns: 1fr 1fr; }
    .flow-i:not(:last-child)::after { display: none; }
    .access-pick, .plan-pick { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .foot-in { grid-template-columns: 1fr; text-align: center; }
    .foot-phone { text-align: center; }
}
@media (max-width: 520px) {
    .hero-desk h1 { font-size: 26px; }
    .desk-panel { padding: 18px 16px 20px; }
    .desk-tab { font-size: 13.5px; padding: 10px 4px; }
    .flow { grid-template-columns: 1fr; }
}

.sub-sum { font-size: 13.5px; background: var(--brand-50); border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; display: grid; gap: 3px; }
.sub-sum .free { color: #0b6b36; font-weight: 700; }

/* ---- calmer forms: the ticket box opens when you click it ---- */
.input-lg { padding: 14px 16px; font-size: 16px; border-radius: 12px; }
.desk-more { display: block; animation: deskOpen .25s ease; }
.desk-more.closed { display: none; }
@keyframes deskOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.desk-install .chips { justify-content: center; margin: 14px 0 0; }

/* ---- install page: one step at a time ---- */
.wiz-bar { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wiz-bar li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--line-2); color: var(--muted); font-weight: 700; font-size: 13.5px; cursor: default; }
.wiz-bar li span { width: 24px; height: 24px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 12.5px; flex: none; }
.wiz-bar li.done { background: var(--ok-bg); color: #0b6b36; cursor: pointer; }
.wiz-bar li.on { background: var(--brand-50); color: var(--brand-700); }
.wiz-bar li.on span { background: var(--brand-600); color: #fff; }
.wiz.js .step { display: none; }
.wiz.js .step.on { display: block; animation: deskOpen .25s ease; }
.wiz-nav { margin-top: 18px; }
.input.bad, .textarea.bad { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-bg); }
@media (max-width: 700px) {
    .wiz-bar { grid-template-columns: repeat(4, auto); justify-content: space-between; }
    .wiz-bar li { font-size: 0; padding: 6px; }
    .wiz-bar li span { font-size: 12.5px; }
    .wiz-bar li.on { font-size: 13px; }
}

/* ---- plan cards: struck old price, free month, install + total ---- */
.price .old { display: block; font-size: 16px; font-weight: 600; color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.price .old[hidden] { display: none !important; }
.p-bill { border-top: 1px dashed var(--line); padding-top: 12px; margin-bottom: 16px; display: grid; gap: 8px; font-size: 14px; }
.p-plus, .p-eq { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.p-plus { color: var(--ink-2); }
.p-eq { font-weight: 800; }
.p-eq b { font-size: 17px; color: var(--brand-700); }
.bill s, .sub-sum s { color: var(--muted); text-decoration-thickness: 2px; }
