/* FreeSoft IT Consultant — catalogue site. Mobile-first, no framework. */
:root {
  --ink: #0b1220; --ink-2: #334155; --muted: #64748b; --line: #e6e9f0;
  --bg: #f5f7fb; --card: #ffffff; --brand: #2563eb; --brand-2: #7c3aed; --brand-ink: #1d4ed8;
  --ok: #16a34a; --wa: #25d366;
  --r-lg: 22px; --r-md: 14px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .14);
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px; border-radius: 6px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.35em; border-radius: 999px; font-weight: 700; font-size: .98rem; border: 2px solid transparent; cursor: pointer; text-decoration: none !important; transition: transform .12s, box-shadow .12s, background .12s; white-space: nowrap; font-family: inherit; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(37, 99, 235, .35); }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cbd5e1; }
.btn-wa { background: var(--wa); color: #06361b; }
.btn-wa:hover { background: #1fbe5b; }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-sm { padding: .5em 1em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn .bi { font-size: 1.1em; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 16px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .95rem; letter-spacing: -.03em; box-shadow: 0 4px 12px rgba(91, 76, 233, .35); }
.brand-name { font-weight: 800; line-height: 1.05; font-size: 1.02rem; }
.brand-name small { display: block; font-weight: 600; font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.nav-links { display: none; margin-left: auto; gap: 4px; align-items: center; }
.nav-links a { color: var(--ink-2); font-weight: 600; padding: 8px 12px; border-radius: 999px; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current] { background: #eef2ff; color: var(--brand-ink); text-decoration: none; }
.nav-cta { margin-left: auto; }
.menu-btn { margin-left: 4px; background: none; border: 0; font-size: 1.6rem; color: var(--ink); padding: 4px 6px; cursor: pointer; }
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 8px 20px 16px; background: #fff; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 4px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-cta { margin-left: 8px; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 90% -10%, rgba(124, 58, 237, .14), transparent 60%), radial-gradient(900px 500px at -10% 10%, rgba(37, 99, 235, .14), transparent 60%), #fff; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 40px; padding-top: 40px; padding-bottom: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #eef2ff; color: var(--brand-ink); font-weight: 700; font-size: .82rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); }
.hero h1 .grad { background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.13rem; color: var(--ink-2); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.checks .bi { color: var(--ok); margin-right: 6px; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; padding-top: 72px; padding-bottom: 84px; } }

/* phone mock with the app grid */
.device { position: relative; margin: 0 auto; width: min(340px, 86vw); aspect-ratio: 9 / 18.5; border-radius: 44px; background: #0b1220; padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #1f2937; }
.device-screen { height: 100%; border-radius: 34px; background: linear-gradient(180deg, #eef2ff 0%, #fdf4ff 100%); overflow: hidden; padding: 46px 18px 18px; position: relative; }
.device-screen::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; background: #0b1220; border-radius: 999px; }
.device-title { font-weight: 800; font-size: 1.15rem; margin-bottom: 4px; }
.device-sub { font-size: .78rem; color: var(--muted); margin-bottom: 16px; }
.device-search { background: #fff; border-radius: 12px; padding: 9px 12px; font-size: .78rem; color: var(--muted); display: flex; gap: 8px; align-items: center; margin-bottom: 16px; box-shadow: var(--shadow); }
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.device-app { text-align: center; font-size: .66rem; font-weight: 700; color: var(--ink-2); line-height: 1.2; }
.device-app img { width: 100%; aspect-ratio: 1; border-radius: 22%; margin-bottom: 6px; box-shadow: 0 6px 14px rgba(15,23,42,.14); }
.device-card { margin-top: 18px; background: #fff; border-radius: 16px; padding: 12px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); }
.device-card img { width: 44px; height: 44px; border-radius: 22%; }
.device-card b { font-size: .8rem; display: block; }
.device-card span { font-size: .7rem; color: var(--muted); }
.device-card .pill { margin-left: auto; background: #eef2ff; color: var(--brand-ink); border-radius: 999px; padding: 4px 10px; font-size: .7rem; font-weight: 800; }
.float-chip { position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: .82rem; font-weight: 700; display: none; align-items: center; gap: 8px; }
.float-chip .bi { font-size: 1.2rem; }
@media (min-width: 960px) { .float-chip { display: flex; } }

/* ---- sections ---- */
section { padding: 64px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 26px; }
.section-head p { margin: 0; color: var(--muted); max-width: 40em; }
.kicker { color: var(--brand-ink); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* store search + chips */
.store-bar { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow); margin-top: -34px; position: relative; z-index: 2; }
.search { display: flex; align-items: center; gap: 10px; background: var(--bg); border-radius: 14px; padding: 0 14px; }
.search .bi { color: var(--muted); font-size: 1.1rem; }
.search input { border: 0; background: none; padding: 14px 0; font: inherit; width: 100%; outline: none; color: var(--ink); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: .86rem; cursor: pointer; font-family: inherit; }
.chip[aria-pressed="true"], .chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); text-decoration: none; }

/* app cards */
.app-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .app-grid { grid-template-columns: repeat(3, 1fr); } }
.app-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; color: inherit; }
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.app-top { display: flex; gap: 14px; align-items: center; }
.app-icon { width: 64px; height: 64px; border-radius: 22%; flex: none; box-shadow: 0 6px 16px rgba(15, 23, 42, .14); }
.app-name { font-weight: 800; font-size: 1.08rem; color: var(--ink); line-height: 1.25; }
.app-cat { font-size: .82rem; color: var(--muted); font-weight: 600; }
.app-tag { color: var(--ink-2); font-size: .95rem; margin: 0; }
.app-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.free { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .82rem; color: var(--ok); }
.badge { position: absolute; top: 14px; right: 14px; background: #fef3c7; color: #92400e; font-weight: 800; font-size: .72rem; padding: 3px 9px; border-radius: 999px; }
.badge.new { background: #dcfce7; color: #166534; }
.get { background: #eef2ff; color: var(--brand-ink); font-weight: 800; border-radius: 999px; padding: .45em 1.1em; font-size: .88rem; }
.app-card:hover .get { background: var(--brand); color: #fff; }

/* featured banner */
.feature { display: grid; gap: 0; background: linear-gradient(135deg, #0b1220, #1e1b4b 60%, #312e81); color: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 26px; }
.feature-body { padding: 30px; }
.feature-body .kicker { color: #c7d2fe; }
.feature-body p { color: #cbd5e1; }
.feature-shot { background: rgba(255,255,255,.06); padding: 24px 24px 0; display: flex; align-items: end; }
.feature-shot img { border-radius: 14px 14px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.35); }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1.15fr; } .feature-body { padding: 44px; } .feature-shot { padding: 40px 0 0 0; } .feature-shot img { border-radius: 14px 0 0 0; } }

/* industries */
.ind-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .ind-grid { grid-template-columns: repeat(4, 1fr); } }
.ind { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 6px; color: inherit; transition: border-color .12s, transform .12s; }
.ind:hover { border-color: #c7d2fe; transform: translateY(-2px); text-decoration: none; }
.ind .bi { font-size: 1.5rem; color: var(--brand); }
.ind b { font-size: .98rem; }
.ind span { font-size: .82rem; color: var(--muted); }

/* services */
.svc-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.svc-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; margin-bottom: 16px; }
.svc ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; color: var(--ink-2); font-size: .95rem; }
.svc li { display: flex; gap: 10px; }
.svc li .bi { color: var(--ok); flex: none; margin-top: 3px; }
.svc .btn { margin-top: auto; align-self: flex-start; }

/* steps */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; position: relative; }
.step::before { counter-increment: step; content: counter(step); width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* about */
.about { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: .8fr 1.2fr; } }
.about-card { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-radius: 28px; padding: 30px; box-shadow: var(--shadow-lg); }
.about-card .avatar { width: 76px; height: 76px; border-radius: 24px; background: rgba(255,255,255,.18); display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; margin-bottom: 16px; }
.about-card ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.about-card li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.values { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .values { grid-template-columns: 1fr 1fr; } }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.value .bi { font-size: 1.4rem; color: var(--brand); }
.value b { display: block; margin: 6px 0 4px; }
.value span { color: var(--muted); font-size: .92rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #0b1220, #1e1b4b); color: #fff; border-radius: 28px; padding: 36px 28px; display: grid; gap: 18px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band p { color: #cbd5e1; margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.3fr auto; padding: 44px 48px; } }

/* app detail */
.app-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 28px 0 30px; }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.app-head { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.app-head .app-icon { width: 96px; height: 96px; }
@media (min-width: 700px) { .app-head .app-icon { width: 128px; height: 128px; } }
.app-head h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); margin-bottom: 4px; }
.dev { font-weight: 700; color: var(--brand-ink); font-size: .95rem; }
.app-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (min-width: 700px) { .app-actions { grid-column: 2; } }
.facts { display: flex; gap: 0; overflow-x: auto; margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; scrollbar-width: none; }
.facts::-webkit-scrollbar { display: none; }
.fact { flex: none; padding: 0 22px; text-align: center; border-right: 1px solid var(--line); min-width: 120px; }
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; }
.fact small { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.fact b { display: block; font-size: 1rem; margin: 2px 0; }
.fact span { color: var(--muted); font-size: .78rem; }
.shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; }
.shots button { flex: none; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 16px; padding: 0; overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: var(--shadow); }
.shots img { height: 300px; width: auto; }
.shots .mobile img { height: 420px; }
@media (min-width: 760px) { .shots img { height: 380px; } .shots .mobile img { height: 460px; } }
.shot-cap { display: block; text-align: left; font-size: .8rem; color: var(--muted); padding: 8px 12px; font-weight: 600; font-family: inherit; }
.detail-grid { display: grid; gap: 26px; }
@media (min-width: 980px) { .detail-grid { grid-template-columns: 1.6fr 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 18px; }
.desc p { color: var(--ink-2); }
.feat-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
.feat { display: flex; gap: 12px; }
.feat .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; font-size: 1.15rem; }
.feat b { display: block; font-size: .96rem; }
.feat span { color: var(--muted); font-size: .88rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--bg); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.custom-box { background: linear-gradient(135deg, #eef2ff, #faf5ff); border: 1px solid #ddd6fe; }
.custom-box ul { padding-left: 0; list-style: none; display: grid; gap: 8px; margin: 0 0 18px; }
.custom-box li { display: flex; gap: 10px; color: var(--ink-2); }
.custom-box li .bi { color: var(--brand-2); }
.demo-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--r-md); padding: 14px 16px; font-size: .92rem; margin-top: 14px; }
.demo-box code { background: #fff; padding: 2px 8px; border-radius: 6px; border: 1px solid #bbf7d0; font-weight: 700; }
.sticky-side { position: sticky; top: 86px; }

/* catalog list */
.cat-list { display: grid; gap: 12px; }
.row-app { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; color: inherit; box-shadow: var(--shadow); }
.row-app:hover { border-color: #c7d2fe; text-decoration: none; }
.row-app .app-icon { width: 72px; height: 72px; }
.row-app p { margin: 2px 0 0; color: var(--ink-2); font-size: .93rem; }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); }

/* forms */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
label { font-weight: 700; font-size: .9rem; display: block; margin-bottom: 6px; }
.req { color: #dc2626; }
input[type=text], input[type=tel], input[type=email], input[type=password], select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .12s, box-shadow .12s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
textarea { min-height: 120px; resize: vertical; }
.hint { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: .95rem; }
.alert-err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-err ul { margin: 0; padding-left: 18px; }
.contact-grid { display: grid; gap: 22px; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1.4fr 1fr; } }
.contact-item { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); color: inherit; }
.contact-item:last-child { border-bottom: 0; }
.contact-item .bi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #eef2ff; color: var(--brand); font-size: 1.2rem; flex: none; }

/* faq */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px 18px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding-bottom: 8px; }

/* page header */
.page-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 40px 0 34px; }
.page-hero p { color: var(--muted); max-width: 44em; margin: 0; font-size: 1.05rem; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }

/* footer */
.site-footer { background: #0b1220; color: #94a3b8; padding: 48px 0 28px; margin-top: 40px; font-size: .93rem; }
.site-footer a { color: #cbd5e1; }
.foot-grid { display: grid; gap: 26px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand-name small { color: #94a3b8; }
.foot-bottom { border-top: 1px solid #1e293b; margin-top: 30px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }

/* floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 1.75rem; box-shadow: 0 10px 26px rgba(37, 211, 102, .45); text-decoration: none !important; }
.wa-float:hover { transform: scale(1.05); }

/* lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(2, 6, 23, .85); }
dialog.lightbox img { max-width: 96vw; max-height: 86vh; border-radius: 12px; }
dialog.lightbox .close { position: fixed; top: 14px; right: 14px; background: #fff; border: 0; border-radius: 50%; width: 42px; height: 42px; font-size: 1.4rem; cursor: pointer; }

/* admin */
.table { width: 100%; border-collapse: collapse; background: #fff; font-size: .9rem; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--bg); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 420px) { .hide-xs { display: none; } .nav-cta.btn-wa { padding: .5em .7em; } }
.shots { align-items: flex-start; }
@media (max-width: 640px) { .shots .mobile { order: -1; } }
@media (max-width: 759px) { .hero-visual { display: none; } }
.hero { padding: 0; }

/* The hidden attribute must win over component display rules (catalogue filter hides .app-card with it). */
[hidden] { display: none !important; }

/* Language switcher (EN / BM) */
.lang-switch { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); font-weight: 700; font-size: .85rem; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); margin-left: auto; white-space: nowrap; }
.lang-switch:hover { background: #eef2ff; color: var(--brand-ink); text-decoration: none; }
.lang-switch + .nav-cta { margin-left: 8px; }
@media (min-width: 860px) { .nav-links + .lang-switch { margin-left: 8px; } }
