/* ==== 00-tokens.css ==== */
/* =====================================================================
   Limon.uz — дизайн-система v4 «Liquid Glass · Lemon»
   Onest · Lemon #FFE000 · Orange #FF8C00 · Shark #232325
   Фирменный градиент: linear-gradient(135deg, #FFE000, #FF8C00).
   Две темы: светлая (по умолчанию) и тёмная — html[data-theme="dark"].
   Жёлтый и оранжевый — заливки и графика; текст на них всегда чернильный.
   Текст «цветом бренда» на светлом фоне — только --brand-ink (AA), на тёмном — светлый лимонный.
   Имена --green* сохранены для совместимости: теперь это второй, лимонный акцент.
   ===================================================================== */

:root {
  color-scheme: light;

  /* ---- brand constants ---- */
  --grad-brand: linear-gradient(135deg, #ffe000, #ff8c00);
  --grad-text: linear-gradient(135deg, #c98000, #e8590c);   /* градиентный текст на светлом (≥ 3:1 для крупного) */
  --brand: #ff8c00;              /* оранжевый: иконки, точки, кольца, заливки */
  --brand-deep: #e86a00;
  --brand-ink: #b04a00;          /* текст-ссылки на светлом фоне (≥ 4.5:1) */
  --brand-rgb: 255, 140, 0;
  --green: #ffe000;              /* лимонный: второй акцент и сигнал */
  --green-deep: #a35f00;         /* лимонный акцент для текста и галочек на светлом (≥ 4.5:1) */
  --green-rgb: 255, 224, 0;
  --shark: #232325;
  --concrete: #f3f3f3;
  --danger: #e5484d;
  --warn: #ff6b2c;
  --on-brand: #232325;           /* текст на жёлтом и оранжевом — всегда чернильный */
  --on-brand-2: #5a3200;         /* вторичный текст на бренде (≥ 4.5:1 и на #FF8C00) */

  /* ---- surfaces ---- */
  --bg: #f5f4f0;                 /* фон страницы (тёплый) */
  --bg-elev: #ffffff;            /* карточки */
  --bg-elev-2: #faf9f6;          /* вложенные плашки */
  --bg-sunk: rgba(120, 120, 128, 0.1);  /* поля ввода, треки */
  --ink: #232325;                /* основной текст */
  --ink-soft: #3a3a3e;
  --label-2: #616166;            /* вторичный текст, ≥ 4.5:1 на --bg */
  --label-3: #6c6c70;            /* третичный текст, ≥ 4.5:1 на --bg и на белом */
  --sep: rgba(60, 60, 67, 0.13);
  --fill: rgba(120, 120, 128, 0.12);
  --fill-2: rgba(120, 120, 128, 0.2);
  --ink-fill: #232325;           /* заливка основной кнопки */
  --on-ink: #ffffff;             /* текст на основной кнопке */
  --link: var(--brand-ink);

  /* ---- liquid glass ---- */
  --g-fill: rgba(255, 255, 255, 0.5);          /* обычное стекло */
  --g-fill-thin: rgba(255, 255, 255, 0.26);    /* прозрачное стекло контролов */
  --g-fill-thick: rgba(252, 251, 248, 0.8);    /* шторки, меню */
  --g-rim: rgba(255, 255, 255, 0.95);          /* светлая кромка сверху */
  --g-rim-lo: rgba(255, 255, 255, 0.28);       /* кромка снизу */
  --g-edge: rgba(60, 40, 10, 0.07);            /* тонкая внешняя обводка */
  --g-spec: rgba(255, 255, 255, 0.55);         /* блик */
  --g-shadow: 0 1px 1px rgba(60, 40, 10, 0.04), 0 10px 30px -10px rgba(60, 40, 10, 0.2), 0 2px 6px -2px rgba(60, 40, 10, 0.08);
  --g-shadow-lift: 0 2px 2px rgba(60, 40, 10, 0.04), 0 26px 60px -18px rgba(60, 40, 10, 0.3), 0 6px 14px -6px rgba(60, 40, 10, 0.12);
  --g-blur: 22px;
  --g-sat: 160%;

  /* ---- ambient backdrop (цветные «ауры» за стеклом) ---- */
  --amb-1: rgba(255, 224, 0, 0.32);
  --amb-2: rgba(255, 140, 0, 0.2);
  --amb-3: rgba(255, 190, 110, 0.26);

  /* ---- always-dark scenes (Cleversoft, CTA) ---- */
  --night: #0c0b09;
  --night-2: #171512;
  --night-3: #201e1a;
  --night-label-2: rgba(245, 240, 230, 0.68);
  --night-sep: rgba(255, 255, 255, 0.1);

  /* ---- shape ---- */
  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 22px;
  --r-sm: 14px;
  --r-xs: 10px;
  --r-pill: 999px;

  /* ---- elevation for opaque cards ---- */
  --shadow-1: 0 1px 2px rgba(30, 26, 21, 0.04), 0 8px 24px rgba(30, 26, 21, 0.06);
  --shadow-2: 0 2px 6px rgba(30, 26, 21, 0.05), 0 24px 60px rgba(30, 26, 21, 0.12);
  --shadow-3: 0 30px 80px rgba(60, 40, 10, 0.2), 0 8px 24px rgba(60, 40, 10, 0.12);

  /* ---- motion ---- */
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms;
  --t-mid: 320ms;
  --t-slow: 560ms;

  /* ---- layout ---- */
  --gutter: clamp(16px, 5vw, 56px);
  --max: 1240px;
  --sp-section: clamp(88px, 12vw, 168px);
  --header-h: 64px;

  /* ---- legacy aliases (старые шаблоны) ---- */
  --bg-2: var(--bg-elev);
  --bg-3: var(--bg-elev-2);
  --ink-2: var(--ink-soft);
  --ink-3: var(--label-2);
  --ink-4: var(--label-3);
  --line: var(--sep);
  --ground: var(--bg);
  --ground-2: var(--bg-elev-2);
  --paper: var(--bg-elev);
  --r-panel: var(--r-lg);
  --r-input: var(--r-sm);
  --glass: var(--g-fill);
  --glass-strong: var(--g-fill-thick);
  --glass-edge: var(--g-rim);
}

/* ---------- Dark theme ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0a0908;
  --bg-elev: #161411;
  --bg-elev-2: #1d1b17;
  --bg-sunk: rgba(140, 132, 120, 0.16);
  --ink: #f5f3ee;
  --ink-soft: #dad6cf;
  --label-2: #ada79d;
  --label-3: #8c867c;
  --sep: rgba(255, 255, 255, 0.09);
  --fill: rgba(140, 132, 120, 0.18);
  --fill-2: rgba(140, 132, 120, 0.28);
  --ink-fill: #f5f3ee;
  --on-ink: #0b0b0d;
  --link: #ffd23f;
  --grad-text: var(--grad-brand);
  --brand-ink: #ffd23f;
  --green-deep: #ffd23f;

  --g-fill: rgba(34, 31, 27, 0.46);
  --g-fill-thin: rgba(44, 41, 36, 0.3);
  --g-fill-thick: rgba(24, 22, 19, 0.8);
  --g-rim: rgba(255, 255, 255, 0.26);
  --g-rim-lo: rgba(255, 255, 255, 0.06);
  --g-edge: rgba(255, 255, 255, 0.06);
  --g-spec: rgba(255, 255, 255, 0.16);
  --g-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 14px 36px -12px rgba(0, 0, 0, 0.7), 0 2px 6px -2px rgba(0, 0, 0, 0.4);
  --g-shadow-lift: 0 2px 2px rgba(0, 0, 0, 0.3), 0 30px 70px -20px rgba(0, 0, 0, 0.85), 0 8px 18px -8px rgba(0, 0, 0, 0.5);
  --g-sat: 170%;

  --amb-1: rgba(255, 200, 0, 0.16);
  --amb-2: rgba(255, 120, 0, 0.14);
  --amb-3: rgba(255, 90, 40, 0.1);

  --night: #050403;
  --night-2: #110f0c;
  --night-3: #1a1814;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, 0.45), 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-3: 0 30px 80px rgba(0, 0, 0, 0.7), 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* ==== 01-base.css ==== */
/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg); overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 17px; line-height: 1.5; font-weight: 400;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
  transition: background-color 0.5s var(--ease-out), color 0.5s var(--ease-out);
}
img, svg, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: rgba(var(--brand-rgb), 0.3); }
:root { accent-color: var(--brand); } /* native range / checkbox / radio follow the brand */
:focus-visible { outline: 3px solid rgba(var(--brand-rgb), 0.6); outline-offset: 3px; border-radius: 8px; }
.i { width: 20px; height: 20px; flex: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink-fill); color: var(--on-ink); padding: 10px 16px; border-radius: var(--r-pill); text-decoration: none; }
.skip:focus { top: 12px; }
main { display: block; outline: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
html { scrollbar-color: rgba(120, 120, 128, 0.45) transparent; scrollbar-width: thin; }
body.no-scroll { overflow: hidden; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display, .h1, .h2, .h2-sm, .h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  -webkit-hyphens: manual;
}
.display { font-size: clamp(36px, 6.4vw, 92px); font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; }
.h1 { font-size: clamp(30px, 5.8vw, 80px); font-weight: 800; line-height: 1.12; letter-spacing: -0.035em; }
.h2 { font-size: clamp(26px, 4.4vw, 62px); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
.h2-sm { font-size: clamp(22px, 3.4vw, 48px); line-height: 1.18; }
.h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
h3 { font-weight: 700; letter-spacing: -0.015em; line-height: 1.28; }
@media (max-width: 600px) {
  .display { font-size: clamp(28px, 8.5vw, 40px); line-height: 1.12; }
  .h1 { font-size: clamp(24px, 7.2vw, 34px); line-height: 1.18; }
  .h2 { font-size: clamp(22px, 6vw, 28px); line-height: 1.22; }
  .h2-sm { font-size: clamp(19px, 4.8vw, 24px); line-height: 1.24; }
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--label-2); }
.lead { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.45; color: var(--label-2); font-weight: 500; letter-spacing: -0.01em; max-width: 60ch; }
.lead-on-dark { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.45; color: var(--night-label-2); font-weight: 500; margin-top: 18px; max-width: 52ch; }
.small { font-size: 14px; }
.muted { color: var(--label-2); }
.num { font-size: clamp(40px, 4.8vw, 64px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
/* accent words: on light surfaces ink text over a lemon→orange marker (yellow text would be unreadable);
   on dark surfaces the brand gradient fills the letters; descender padding prevents glyph clipping */
.grad-text {
  display: inline;
  padding-block: 0.04em 0.14em;
  margin-block: -0.04em -0.14em;
  padding-inline: 0.02em;
  margin-inline: -0.02em;
  color: var(--ink);
  background-image: var(--grad-brand);
  background-repeat: no-repeat;
  background-size: 100% 0.3em;
  background-position: 0 88%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.is-split .grad-text .w {
  display: inline-block;
  padding-block: 0.04em 0.14em;
  margin-block: -0.04em -0.14em;
  padding-inline: 0.02em;
  margin-inline: -0.02em;
  color: var(--ink);
  background-image: var(--grad-brand);
  background-repeat: no-repeat;
  background-size: 100% 0.3em;
  background-position: 0 88%;
}
.is-split .grad-text { background-image: none; }
:root[data-theme="dark"] .grad-text, .night .grad-text, .is-dark .grad-text,
:root[data-theme="dark"] .is-split .grad-text .w, .night .is-split .grad-text .w, .is-dark .is-split .grad-text .w {
  background-image: var(--grad-brand);
  background-size: 100% 100%;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
:root[data-theme="dark"] .is-split .grad-text, .night .is-split .grad-text, .is-dark .is-split .grad-text { background-image: none; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--ink-soft); }
.prose b { color: var(--ink); }
.prose h2, .prose h3 { margin: 32px 0 10px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; } .mb-48 { margin-bottom: 48px; }
.center { text-align: center; }
.center .lead, .center.lead { margin-inline: auto; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), 980px); margin-inline: auto; }
.section { padding-block: var(--sp-section); position: relative; }
.section-tight { padding-block: clamp(56px, 8vw, 96px); }
.is-paper { background: var(--bg-elev); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .lead { margin-top: 16px; }
.sec-head > .btn, .sec-head > .link-arrow { flex: none; margin-bottom: 6px; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split-eq { grid-template-columns: 1fr 1fr; }
.split > .split-sticky { position: sticky; top: 110px; }
.split-sticky .lead { margin-top: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) {
  .split, .split-eq { grid-template-columns: 1fr; }
  .split > .split-sticky { position: static; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ==== 02-materials.css ==== */
/* =====================================================================
   Materials: Liquid Glass
   .lg            — основное стекло (карточки, виджеты)
   .lg-thin       — прозрачное стекло контролов (кнопки, чипы, панели инструментов)
   .lg-thick      — плотное стекло (шторки, меню, модалки)
   .lg-tint       — тонированное стекло (--tint: r, g, b)
   .lg-dark       — тёмное стекло на тёмных сценах (в любой теме)
   .lg-rim        — усиленная светящаяся кромка (::before, масочное кольцо)
   .lg-lift       — подъём и тень при наведении
   [data-lg-refract] — преломление фона (Chromium, модуль liquid-glass.js)
   Блик следует за курсором: JS пишет --mx / --my (в %) на наведённый элемент.
   ===================================================================== */

:root {
  --g-rim-side: rgba(255, 255, 255, 0.55);
  --g-glow: rgba(255, 255, 255, 0.55);
  --g-rims:
    inset 0 1px 0 0 var(--g-rim),
    inset 1px 0 0 0 var(--g-rim-side),
    inset 0 -1px 0 0 var(--g-rim-lo),
    inset -1px 0 0 0 var(--g-rim-lo),
    inset 0 0 24px -10px var(--g-glow);
}
:root[data-theme="dark"] {
  --g-rim-side: rgba(255, 255, 255, 0.12);
  --g-glow: rgba(255, 255, 255, 0.14);
}

:where(.lg, .glass, .lg-dark, .glass-dark) { position: relative; }

.lg, .glass {
  --lg-fill: var(--g-fill);
  --lg-blur: var(--g-blur);
  background-color: var(--lg-fill);
  background-image:
    radial-gradient(130% 90% at var(--mx, 18%) var(--my, -12%), var(--g-spec), rgba(255, 255, 255, 0) 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 36%);
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(var(--g-sat)) brightness(1.02);
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--g-sat)) brightness(1.02);
  box-shadow: var(--g-shadow), var(--g-rims), 0 0 0 0.5px var(--g-edge);
}
.lg-thin { --lg-fill: var(--g-fill-thin); --lg-blur: 14px; }
.lg-thick { --lg-fill: var(--g-fill-thick); --lg-blur: 36px; }
.lg-tint { --lg-fill: rgba(var(--tint, var(--brand-rgb)), 0.2); }
:root[data-theme="dark"] .lg-tint { --lg-fill: rgba(var(--tint, var(--brand-rgb)), 0.16); }

/* always-dark glass (scenes on --night) */
.lg-dark, .glass-dark {
  background-color: rgba(30, 32, 38, 0.5);
  background-image:
    radial-gradient(130% 90% at var(--mx, 18%) var(--my, -12%), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 36%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  backdrop-filter: blur(26px) saturate(170%);
  box-shadow:
    0 20px 60px -20px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.22),
    inset 1px 0 0 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.04),
    inset 0 0 24px -10px rgba(255, 255, 255, 0.14),
    0 0 0 0.5px rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* gradient rim ring — for hero elements */
.lg-rim::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; pointer-events: none; z-index: 3;
  background: conic-gradient(from var(--rim-a, 210deg),
    rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.15) 18%, rgba(255, 255, 255, 0) 30%,
    rgba(var(--brand-rgb), 0.35) 45%, rgba(255, 255, 255, 0.05) 58%, rgba(255, 255, 255, 0.7) 72%,
    rgba(var(--green-rgb), 0.35) 86%, rgba(255, 255, 255, 0.95));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0.9;
}
:root[data-theme="dark"] .lg-rim::before { opacity: 0.55; }

.lg-lift { transition: translate var(--t-mid) var(--ease-out), box-shadow var(--t-mid) ease, background-color var(--t-mid) ease; }
@media (hover: hover) {
  .lg-lift:hover { translate: 0 -5px; box-shadow: var(--g-shadow-lift), var(--g-rims), 0 0 0 0.5px var(--g-edge); }
}

/* legacy opaque card */
.card { background: var(--bg-elev); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }

/* ---------- Ambient backdrop (what the glass refracts) ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i { position: absolute; border-radius: 50%; width: 70vmax; height: 70vmax; will-change: transform; }
.aurora i:nth-child(1) { left: -22vmax; top: -30vmax; background: radial-gradient(circle at center, var(--amb-1), rgba(255, 140, 0, 0) 62%); animation: drift-a 26s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { right: -26vmax; top: -12vmax; background: radial-gradient(circle at center, var(--amb-2), rgba(255, 224, 0, 0) 60%); animation: drift-b 32s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { left: 18vmax; top: 30vmax; background: radial-gradient(circle at center, var(--amb-3), rgba(255, 215, 125, 0) 60%); animation: drift-c 38s ease-in-out infinite alternate; }
.aurora.is-night i:nth-child(1) { background: radial-gradient(circle, rgba(255, 140, 0, 0.3), rgba(255, 140, 0, 0) 60%); }
.aurora.is-night i:nth-child(2) { background: radial-gradient(circle, rgba(255, 224, 0, 0.18), rgba(255, 224, 0, 0) 60%); }
.aurora.is-night i:nth-child(3) { background: radial-gradient(circle, rgba(255, 101, 24, 0.14), rgba(255, 101, 24, 0) 60%); }
@keyframes drift-a { to { transform: translate3d(12vmax, 8vmax, 0) scale(1.1); } }
@keyframes drift-b { to { transform: translate3d(-10vmax, 12vmax, 0) scale(0.92); } }
@keyframes drift-c { to { transform: translate3d(-8vmax, -10vmax, 0) scale(1.12); } }

/* faint film grain — kills banding under heavy blur */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0.05; mix-blend-mode: overlay; border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- App icons: layered glass squircles ---------- */
.app-icon {
  --s: 56px; --ic-glow: var(--brand-rgb);
  width: var(--s); height: var(--s); border-radius: calc(var(--s) * 0.28);
  display: grid; place-items: center; color: #fff; flex: none; position: relative; isolation: isolate;
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.06),
    0 calc(var(--s) * 0.16) calc(var(--s) * 0.36) calc(var(--s) * -0.14) rgba(var(--ic-glow), 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -2px 5px rgba(0, 0, 0, 0.14);
}
.app-icon::before {
  content: ""; position: absolute; inset: 1px; border-radius: inherit; pointer-events: none; z-index: 0;
  background:
    radial-gradient(120% 70% at 30% 0%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 50%);
}
.app-icon::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.12) 38%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.app-icon svg { width: 52%; height: 52%; position: relative; z-index: 1; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.22)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.14)); }
.app-icon.sm { --s: 32px; }
.app-icon.md { --s: 44px; }
.app-icon.lg { --s: 76px; }
.app-icon.xl { --s: 96px; }
.ic-1 { background: linear-gradient(145deg, #ffb340, #e86a00); --ic-glow: 255, 140, 0; }
.ic-2 { background: linear-gradient(145deg, #fff27a, #ffd400); --ic-glow: 255, 212, 0; }
.ic-3 { background: linear-gradient(145deg, #55555c, #1b1b1e); --ic-glow: 30, 30, 36; }
.ic-4 { background: linear-gradient(145deg, #ffe08a, #ffad1f); --ic-glow: 255, 173, 31; }
.ic-5 { background: var(--grad-brand); --ic-glow: 255, 182, 0; }
.ic-6 { background: linear-gradient(145deg, #7a7268, #2f2b26); --ic-glow: 47, 43, 38; }
.ic-7 { background: linear-gradient(145deg, #ffcf5c, #ff7a1a); --ic-glow: 255, 122, 26; }
.ic-8 { background: linear-gradient(145deg, #ff9a4d, #c2410c); --ic-glow: 194, 65, 12; }
.ic-amber { background: linear-gradient(145deg, #ffc938, #ff8c00); --ic-glow: 255, 140, 0; color: #2a1d00; }
.ic-green { background: linear-gradient(145deg, #10b981, #047857); --ic-glow: 16, 185, 129; color: #ffffff; }
.ic-w { background: linear-gradient(145deg, #34343a, #0f0f11); color: var(--green); --ic-glow: 255, 182, 0; }
.ic-2, .ic-4, .ic-5, .ic-7, .ic-amber { color: #2a1d00; }
.ic-2 svg, .ic-4 svg, .ic-5 svg, .ic-7 svg, .ic-amber svg { filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35)); }
.ic-w svg { width: 48%; height: 60%; }
/* clear glass icon: frosted tile with a coloured glyph */
.app-icon.is-glass {
  color: var(--ic-color, var(--brand-deep));
  background: rgba(255, 255, 255, 0.34);
  -webkit-backdrop-filter: blur(12px) saturate(180%); backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 8px 20px -10px rgba(var(--ic-glow), 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 14px -6px rgba(255, 255, 255, 0.8);
}
:root[data-theme="dark"] .app-icon.is-glass { background: rgba(255, 255, 255, 0.08); color: var(--ic-color, #ffc457); box-shadow: 0 8px 20px -10px rgba(var(--ic-glow), 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 0 14px -6px rgba(255, 255, 255, 0.18); }

/* ---------- Night scenes ---------- */
.night { --grad-text: var(--grad-brand); background: var(--night); color: #fff; overflow: hidden; position: relative; }
.is-dark { --grad-text: var(--grad-brand); }
.night .lead { color: var(--night-label-2); }
.night .muted { color: var(--night-label-2); }
.night a:not(.btn) { color: inherit; }

/* ---------- Reduced transparency / no backdrop-filter ---------- */
@media (prefers-reduced-transparency: reduce) {
  .lg, .glass, .lg-thin, .lg-thick, .lg-tint { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background-color: var(--bg-elev) !important; background-image: none !important; }
  .lg-dark, .glass-dark { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background-color: var(--night-3) !important; }
  .app-icon.is-glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg-elev); }
  .grain::after { display: none; }
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .lg, .glass { background-color: var(--g-fill-thick); }
  .lg-dark, .glass-dark { background-color: var(--night-3); }
}

/* ==== 03-controls.css ==== */
/* ---------- Buttons & links ---------- */
.btn {
  --h: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; position: relative; isolation: isolate;
  height: var(--h); padding: 0 24px; border-radius: var(--r-pill); font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; border: 0; background: var(--ink-fill); color: var(--on-ink);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), 0 8px 20px -10px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-mid) ease, color var(--t-mid) ease, box-shadow var(--t-mid) ease;
  -webkit-tap-highlight-color: transparent; user-select: none; overflow: hidden;
}
.btn::after { /* glossy capsule highlight */
  content: ""; position: absolute; inset: 0 0 50% 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)); opacity: 0.9;
}
@media (hover: hover) { .btn:hover { box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), 0 14px 30px -12px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(0, 0, 0, 0.2); } }
.btn:active { transform: scale(0.96); }
.btn .i { width: 18px; height: 18px; }
.btn-primary { background: var(--ink-fill); color: var(--on-ink); }
.btn-brand { background: var(--grad-brand); color: var(--on-brand); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 10px 26px -10px rgba(var(--brand-rgb), 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.12); }
.btn-brand:hover { background: linear-gradient(135deg, #fff04d, #ffa024); }
.btn-outline, .btn-ghost, .btn-glass {
  background: var(--g-fill-thin); color: var(--ink);
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--g-rims), 0 0 0 0.5px var(--g-edge), 0 6px 18px -10px rgba(0, 0, 0, 0.25);
}
.btn-brand-glass {
  background: linear-gradient(135deg, rgba(255, 220, 0, 0.2), rgba(255, 140, 0, 0.14));
  color: #a84a00;
  font-weight: 650;
  border: none !important;
  outline: none !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    0 4px 18px -4px rgba(var(--brand-rgb), 0.35);
  transition: transform var(--t-fast) var(--ease-out), background var(--t-mid) ease, box-shadow var(--t-mid) ease, color var(--t-mid) ease;
}
:root[data-theme="dark"] .btn-brand-glass {
  background: linear-gradient(135deg, rgba(255, 224, 0, 0.18), rgba(255, 140, 0, 0.11));
  color: #ffc82a;
  border: none !important;
  outline: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 4px 22px -4px rgba(255, 140, 0, 0.32);
}
@media (hover: hover) {
  .btn-brand-glass:hover {
    background: linear-gradient(135deg, rgba(255, 224, 0, 0.32), rgba(255, 140, 0, 0.22));
    color: #923e00;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.75),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15),
      0 10px 28px -4px rgba(var(--brand-rgb), 0.52);
    transform: translateY(-1px);
  }
  :root[data-theme="dark"] .btn-brand-glass:hover {
    background: linear-gradient(135deg, rgba(255, 224, 0, 0.26), rgba(255, 140, 0, 0.18));
    color: #ffe055;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.35),
      inset 0 -1px 0 rgba(0, 0, 0, 0.4),
      0 12px 32px -4px rgba(255, 140, 0, 0.46);
  }
}
.btn-brand-glass .i {
  transition: transform var(--t-fast) var(--ease-out);
}
.btn-brand-glass:hover .i {
  transform: translateX(3px);
}
.btn-outline::after, .btn-ghost::after, .btn-glass::after, .btn-brand-glass::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)); }
:root[data-theme="dark"] .btn-outline::after, :root[data-theme="dark"] .btn-ghost::after, :root[data-theme="dark"] .btn-glass::after, :root[data-theme="dark"] .btn-brand-glass::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)); }
@media (hover: hover) { .btn-outline:hover, .btn-ghost:hover, .btn-glass:hover { background: var(--g-fill); box-shadow: var(--g-rims), 0 0 0 0.5px var(--g-edge), 0 12px 26px -12px rgba(0, 0, 0, 0.3); } }
.btn-on-brand { background: var(--shark); color: #fff; }
.btn-on-dark { background: #fff; color: var(--shark); }
.btn-on-dark:hover { background: var(--green); color: var(--shark); }
.night .btn-outline, .night .btn-ghost, .night .btn-glass { background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.night .btn-primary, .night .btn:not(.btn-outline):not(.btn-ghost):not(.btn-glass):not(.btn-brand) { background: #fff; color: var(--shark); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14.5px; }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--link); }
.link-arrow .i { width: 18px; height: 18px; transition: transform var(--t-fast) var(--ease-out); }
.link-arrow:hover .i { transform: translateX(3px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.center .hero-cta, .hero-cta.center { justify-content: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); position: relative; transition: background-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out), color var(--t-fast) ease; }
.icon-btn:hover { background: var(--fill); }
.icon-btn:active { transform: scale(0.9); }

/* ---------- Chips, tags, pills ---------- */
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px; border-radius: var(--r-pill); background: var(--fill); color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.2;
  transition: background-color var(--t-mid) var(--ease-out), color var(--t-mid) ease, transform var(--t-fast) var(--ease-out), box-shadow var(--t-mid) ease;
}
.chip:hover { background: var(--fill-2); }
.chip:active { transform: scale(0.95); }
.chip.is-on, .chip[aria-checked="true"], .chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink-fill); color: var(--on-ink); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--fill); font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.tag-dashed { background: transparent; box-shadow: inset 0 0 0 1px var(--fill-2); color: var(--label-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 600; }
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 0 0 rgba(var(--brand-rgb), 0.6); animation: pulse 2.2s ease-out infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--brand-rgb), 0.6); } 70% { box-shadow: 0 0 0 10px rgba(var(--brand-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--brand-rgb), 0); } }
.todo { border-radius: var(--r-md); padding: 14px 18px; font-size: 14.5px; color: var(--label-2); background: repeating-linear-gradient(135deg, rgba(120, 120, 128, 0.07) 0 10px, rgba(120, 120, 128, 0.02) 10px 20px); box-shadow: inset 0 0 0 1px var(--fill-2); }
.todo::before { content: "На уточнении"; display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: var(--r-pill); background: var(--ink-fill); color: var(--on-ink); font-size: 12px; font-weight: 600; }
:lang(uz) .todo::before { content: "Aniqlanmoqda"; }
:lang(en) .todo::before { content: "To be confirmed"; }
.night .todo { color: var(--night-label-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.night .todo::before { background: #fff; color: var(--shark); }

/* ---------- iOS controls ---------- */
.switch { position: relative; width: 52px; height: 32px; border-radius: 999px; background: var(--fill-2); flex: none; transition: background-color 0.3s ease; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.16); transition: transform 0.36s var(--spring), width 0.2s ease; }
[aria-checked="true"] > .switch { background: var(--brand); }
[aria-checked="true"] > .switch::after { transform: translateX(20px); }
.segmented { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 12px; background: var(--fill); isolation: isolate; }
.segmented button { position: relative; z-index: 1; padding: 8px 10px; border-radius: 9px; font-size: 14.5px; font-weight: 500; line-height: 1.25; color: var(--ink); transition: color var(--t-fast) ease; }
.segmented button[aria-checked="true"], .segmented button[aria-selected="true"] { font-weight: 700; }
.segmented .seg-thumb { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; border-radius: 9px; background: var(--bg-elev); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 3px 1px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6); transition: transform 0.42s var(--spring), width 0.42s var(--spring); }
:root[data-theme="dark"] .segmented .seg-thumb { background: #3a3b42; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
input[type="range"].ios-range, .rng input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; --fill: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--brand) var(--fill), var(--fill-2) var(--fill)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--fill-2); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--brand); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18), 0 0 0 0.5px rgba(0, 0, 0, 0.06); transition: transform var(--t-fast) var(--ease-out); }
input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.1); }
input[type="range"]:focus-visible { outline: 3px solid rgba(var(--brand-rgb), 0.5); outline-offset: 2px; border-radius: 12px; }
.stepper { display: inline-flex; align-items: center; background: var(--fill); border-radius: 10px; overflow: hidden; }
.stepper button { width: 44px; height: 34px; display: grid; place-items: center; transition: background-color var(--t-fast) ease; }
.stepper button:hover { background: var(--fill); }
.stepper button:active { background: var(--fill-2); }
.stepper button[disabled] { opacity: 0.35; cursor: default; }
.stepper button .i { width: 16px; height: 16px; }
.stepper output { min-width: 86px; text-align: center; font-weight: 700; font-size: 14.5px; color: var(--ink) !important; box-shadow: inset 1px 0 0 var(--sep), inset -1px 0 0 var(--sep); line-height: 34px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 12px; min-width: 0; max-width: 100%; }
.field { display: grid; gap: 6px; min-width: 0; max-width: 100%; }
.field > span, .field-head > span { font-size: 13px; font-weight: 600; color: var(--label-2); padding-left: 4px; }
.field > span em, .field-head > span em { font-style: normal; color: var(--danger); }
.field-head { display: flex; justify-content: space-between; align-items: center; padding-right: 4px; }
.field-count { font-size: 12px; color: var(--label-3); font-weight: 500; font-variant-numeric: tabular-nums; }
.field input, .field select, .field textarea {
  width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; padding: 14px 16px; background: var(--bg-sunk); border: 1px solid transparent; border-radius: var(--r-sm); font-size: 16px; color: var(--ink);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease, background-color var(--t-fast) ease; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: var(--bg-elev); border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.16); }
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--label-3); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.14); }
.form-note { font-size: 13px; color: var(--label-2); text-align: center; }
.form-error { font-size: 14px; color: var(--danger); font-weight: 600; }
.form .btn { margin-top: 6px; }
.form.is-sending .btn { opacity: 0.7; pointer-events: none; }
.form-on-dark .field > span { color: var(--night-label-2); }
.form-on-dark .field input, .form-on-dark .field textarea, .form-on-dark .field select { background: rgba(255, 255, 255, 0.08); color: #fff; }
.form-on-dark .field input:focus, .form-on-dark .field textarea:focus { background: rgba(255, 255, 255, 0.12); border-color: var(--green); box-shadow: 0 0 0 4px rgba(var(--green-rgb), 0.2); }
.form-on-dark .field input::placeholder, .form-on-dark .field textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.form-on-dark .form-error { color: #ff9a9d; }

/* ---------- Custom Select (iOS Glassmorphism) ---------- */
.cselect { position: relative; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.cselect-native {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  overflow: hidden !important;
}
.cselect-btn {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-sunk);
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease, background-color var(--t-fast) ease;
}
.cselect-btn:hover { background-color: var(--fill); }
.cselect-btn:focus-visible,
.cselect.is-open .cselect-btn {
  outline: none;
  background-color: var(--bg-elev);
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.16);
}
.field.is-invalid .cselect-btn {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.14);
}
.cselect-val {
  flex: 1 1 0%;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
}
.cselect-val.is-placeholder {
  color: var(--label-3);
  font-weight: 400;
}
.cselect-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--label-2);
  transition: transform 0.35s var(--spring), color var(--t-fast) ease;
}
.cselect.is-open .cselect-arrow {
  transform: rotate(180deg);
  color: var(--brand);
}
.cselect-arrow svg { width: 18px; height: 18px; }

/* Custom dropdown listbox menu */
.cselect-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  z-index: 60;
  border-radius: 20px;
  padding: 6px;
  color: var(--ink);
  background-color: var(--g-fill-thick);
  background-image: radial-gradient(120% 80% at 20% -10%, var(--g-spec), rgba(255, 255, 255, 0) 55%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  backdrop-filter: blur(36px) saturate(200%);
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.4), var(--g-rims), 0 0 0 0.5px var(--g-edge);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: 50% 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.35s var(--spring), visibility 0s linear 0.18s;
}
.cselect.is-open .cselect-menu {
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.2s ease, transform 0.45s var(--spring);
}
.cselect-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-height: 270px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 2px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.cselect-list::-webkit-scrollbar { width: 6px; }
.cselect-list::-webkit-scrollbar-track { background: transparent; }
.cselect-list::-webkit-scrollbar-thumb { background: var(--fill-2); border-radius: 999px; }
.cselect-list::-webkit-scrollbar-thumb:hover { background: var(--label-3); }

.cselect-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 11px 14px;
  border: none;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease;
}
.cselect-opt:hover,
.cselect-opt:focus-visible {
  outline: none;
  background-color: var(--fill);
}
.cselect-opt.is-selected {
  background-color: rgba(var(--brand-rgb), 0.14);
  color: var(--brand-ink);
  font-weight: 600;
}
.cselect-opt-text {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  word-break: break-word;
  line-height: 1.35;
}
.cselect-opt-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--brand);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--t-fast) ease, transform 0.25s var(--spring);
}
.cselect-opt.is-selected .cselect-opt-check {
  opacity: 1;
  transform: scale(1);
}
.form-on-dark .cselect-btn { background: rgba(255, 255, 255, 0.08); color: #fff; }
.form-on-dark .cselect-btn:hover { background: rgba(255, 255, 255, 0.12); }


/* ==== 04-header.css ==== */
/* =====================================================================
   Header: floating Liquid Glass capsule with mega menus,
   language / theme / sound controls and a mobile sheet
   ===================================================================== */
:root { --hd-fill: rgba(255, 255, 255, 0.78); --hd-ink: var(--ink); }
:root[data-theme="dark"] { --hd-fill: rgba(16, 17, 22, 0.88); }

.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--hd-ink, var(--ink)); font-weight: 800; font-size: 17px; letter-spacing: -0.03em; flex: none; border-radius: 12px; }
.logo-mark { width: 26px; height: 26px; color: var(--brand); filter: drop-shadow(0 2px 6px rgba(var(--brand-rgb), 0.45)); transition: transform var(--t-mid) var(--spring); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.08); }

.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 90; padding: 10px 12px 0; pointer-events: none; }
html:active-view-transition .hd { view-transition-name: site-header; }
.hd-bar {
  pointer-events: auto; position: relative; isolation: isolate; margin-inline: auto; width: min(100%, 1320px); height: 60px;
  display: flex; align-items: center; gap: 6px; padding: 0 8px 0 18px; border-radius: 22px; color: var(--hd-ink);
  transition: height var(--t-slow) var(--spring), color var(--t-mid) ease;
}
/* the glass lives on a pseudo-element, so the bar itself is not a backdrop root
   and the mega panels inside it can blur the page behind them */
.hd-bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background-color: var(--hd-fill);
  background-image:
    radial-gradient(90% 180% at var(--mx, 22%) var(--my, -60%), var(--g-spec), rgba(255, 255, 255, 0) 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 62%);
  -webkit-backdrop-filter: blur(22px) saturate(210%) brightness(1.04);
  backdrop-filter: var(--hd-refract, ) blur(22px) saturate(210%) brightness(1.04);
  box-shadow: var(--g-shadow), var(--g-rims), 0 0 0 0.5px var(--g-edge);
  transition: background-color var(--t-slow) ease, box-shadow var(--t-mid) ease;
}
.hd-bar::after { /* moving light sweep along the rim */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--rim-a, 200deg), rgba(255, 255, 255, 0) 0deg, rgba(255, 255, 255, 0.9) 40deg, rgba(255, 255, 255, 0) 90deg, rgba(255, 255, 255, 0) 200deg, rgba(var(--brand-rgb), 0.55) 240deg, rgba(255, 255, 255, 0) 290deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0.8;
}
:root[data-theme="dark"] .hd-bar::after { opacity: 0.45; }
.hd.is-compact .hd-bar { height: 54px; }
.hd.is-compact .hd-bar::before { box-shadow: var(--g-shadow-lift), var(--g-rims), 0 0 0 0.5px var(--g-edge); }
:root[data-theme="dark"] .hd.is-compact .hd-bar { --hd-fill: rgba(13, 14, 18, 0.94); }
.hd.on-dark { --hd-ink: #fff; }
.hd.on-dark .hd-bar { --hd-fill: rgba(18, 19, 24, 0.88); --g-spec: rgba(255, 255, 255, 0.14); --g-rim: rgba(255, 255, 255, 0.28); --g-rim-lo: rgba(255, 255, 255, 0.06); --g-rim-side: rgba(255, 255, 255, 0.1); --g-glow: rgba(255, 255, 255, 0.12); --g-edge: rgba(255, 255, 255, 0.08); }
.hd.on-dark .hd-link, .hd.on-dark .hd-tool { color: #fff; }
.hd.on-dark .hd-link:hover, .hd.on-dark .hd-tool:hover, .hd.on-dark .hd-item.is-open > .hd-link { background: rgba(255, 255, 255, 0.12); }

/* ---- nav ---- */
.hd-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.hd-menu { display: flex; align-items: center; gap: 2px; position: relative; }
.hd-item { position: static; }
.hd-link {
  display: inline-flex; align-items: center; gap: 3px; height: 40px; padding: 0 13px; border-radius: 13px; position: relative;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--hd-ink); text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease;
}
.hd-link:hover, .hd-item.is-open > .hd-link { background: var(--fill); }
.hd-link[aria-current="page"]::after, .hd-link[data-current]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 8px rgba(var(--brand-rgb), 0.9); }
.hd-chev { width: 14px; height: 14px; transform: rotate(90deg); opacity: 0.55; transition: transform var(--t-mid) var(--spring), opacity var(--t-fast) ease; }
.hd-item.is-open .hd-chev { transform: rotate(-90deg); opacity: 1; }

/* ---- mega panels ---- */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; width: min(860px, calc(100vw - 24px)); translate: -50% 0;
  visibility: hidden; pointer-events: none; transition: visibility 0s linear 0.25s;
}
.mega-in, .lang-pop-in, .phone-pop-in { opacity: 0; transform: translateY(-10px) scale(0.97); transform-origin: 50% 0; transition: opacity 0.2s ease, transform 0.4s var(--spring); }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.hd-item.is-open .mega, .hd-lang.is-open .lang-pop, .hd-phone.is-open .phone-pop { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.hd-item.is-open .mega-in, .hd-lang.is-open .lang-pop-in, .hd-phone.is-open .phone-pop-in { opacity: 1; transform: none; transition: opacity 0.2s ease, transform 0.5s var(--spring); }
.mega-in, .lang-pop-in, .phone-pop-in {
  border-radius: 26px; color: var(--ink);
  background-color: var(--g-fill-thick);
  background-image: radial-gradient(120% 80% at 20% -10%, var(--g-spec), rgba(255, 255, 255, 0) 55%);
  -webkit-backdrop-filter: blur(40px) saturate(200%); backdrop-filter: blur(40px) saturate(200%);
  box-shadow: var(--g-shadow-lift), var(--g-rims), 0 0 0 0.5px var(--g-edge);
}
.mega-in { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 10px; padding: 10px; }
.mega-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; align-content: start; }
.mega-link { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; text-decoration: none; color: var(--ink); transition: background-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out); }
.mega-link:hover, .mega-link:focus-visible { background: var(--fill); }
.mega-link:active { transform: scale(0.98); }
.mega-link[aria-current="page"] { background: rgba(var(--brand-rgb), 0.1); }
.mega-txt b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.mega-txt small { display: block; font-size: 13px; color: var(--label-2); line-height: 1.35; margin-top: 3px; }
.mega .app-icon { transition: transform var(--t-mid) var(--spring); }
.mega-link:hover .app-icon { transform: scale(1.08) rotate(-4deg); }
.mega-promo {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; padding: 20px; min-height: 230px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; color: #fff; text-decoration: none; background: #07080a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.mega-promo b { font-size: 19px; letter-spacing: -0.02em; position: relative; }
.mega-promo > span:not(.mega-promo-art) { font-size: 13.5px; color: rgba(243, 241, 237, 0.72); line-height: 1.4; position: relative; }
.mega-promo .link-arrow { color: #ffd87f; font-size: 14px; margin-top: 6px; }
.mega-promo-art { position: absolute; inset: 0; z-index: -1; }
.mega-promo-art i { position: absolute; border-radius: 50%; filter: blur(22px); animation: mp-float 9s ease-in-out infinite alternate; }
.mega-promo-art i:nth-child(1) { width: 170px; height: 170px; left: -40px; top: -60px; background: rgba(var(--brand-rgb), 0.75); }
.mega-promo-art i:nth-child(2) { width: 150px; height: 150px; right: -50px; top: 10px; background: rgba(var(--green-rgb), 0.5); animation-delay: -3s; }
.mega-promo-art i:nth-child(3) { width: 120px; height: 120px; left: 60px; top: 70px; background: rgba(255, 125, 54, 0.45); animation-delay: -6s; }
.mp-services .mega-promo-art i:nth-child(1) { background: rgba(255, 117, 44, 0.7); }
.mp-company .mega-promo-art i:nth-child(2) { background: rgba(var(--green-rgb), 0.7); }
.mega-promo-art svg { position: absolute; right: 16px; top: 16px; width: 50px; height: 50px; color: #fff; opacity: 0.9; filter: drop-shadow(0 4px 14px rgba(var(--brand-rgb), 0.8)); }
.mega-promo-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 8, 10, 0) 30%, rgba(7, 8, 10, 0.78) 100%); }
@keyframes mp-float { to { transform: translate3d(24px, 18px, 0) scale(1.15); } }

/* ---- tools ---- */
.hd-tools { display: flex; align-items: center; gap: 2px; margin-left: auto; flex: none; }
.hd-tool {
  height: 40px; min-width: 40px; padding: 0; border-radius: 13px; display: inline-grid; place-items: center; color: var(--hd-ink); position: relative;
  transition: background-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out), color var(--t-fast) ease;
}
.hd-tool:hover { background: var(--fill); }
.hd-tool:active { transform: scale(0.9); }
.hd-tool .i { width: 20px; height: 20px; }
.hd-cta { margin-left: 8px; }
.hd-lang { position: relative; }
.hd-lang-btn { display: inline-flex; align-items: center; gap: 5px; padding: 0 10px; font-weight: 700; font-size: 13.5px; letter-spacing: 0.02em; }
.hd-lang-btn .i { width: 18px; height: 18px; opacity: 0.8; }
.lang-pop { position: absolute; top: calc(100% + 14px); right: -6px; width: 220px; visibility: hidden; pointer-events: none; transition: visibility 0s linear 0.25s; z-index: 2; }
.lang-pop-in { transform-origin: 80% 0; }
.lang-pop-in { padding: 6px; display: grid; gap: 2px; }
.lang-pop a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; transition: background-color var(--t-fast) ease; }
.lang-pop a:hover, .lang-pop a:focus-visible { background: var(--fill); }
.lang-code { width: 32px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; letter-spacing: 0.04em; background: var(--fill); color: var(--label-2); }
.lang-pop a .i { margin-left: auto; width: 18px; height: 18px; color: var(--brand); opacity: 0; }
.lang-pop a[aria-current="true"] .i { opacity: 1; }
.lang-pop a[aria-current="true"] .lang-code { background: var(--brand); color: var(--on-brand); }

/* ---- phone dropdown ---- */
.hd-phone { position: relative; margin-left: 2px; }
.hd-phone-btn {
  background: var(--grad-brand);
  color: var(--on-brand);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 14px -3px rgba(var(--brand-rgb), 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  transition: background var(--t-fast) ease, transform var(--t-fast) var(--spring), box-shadow var(--t-fast) ease;
}
.hd-phone-btn:hover {
  background: linear-gradient(135deg, #fff04d, #ffa024);
  color: var(--on-brand);
  transform: scale(1.06);
  box-shadow: 0 6px 18px -3px rgba(var(--brand-rgb), 0.85);
}
.hd-phone-btn:active {
  transform: scale(0.92);
}
.hd-phone.is-open .hd-phone-btn {
  background: linear-gradient(135deg, #fff04d, #ffa024);
  color: var(--on-brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.35), 0 6px 18px -3px rgba(var(--brand-rgb), 0.7);
}
.phone-pop {
  position: absolute; top: calc(100% + 14px); right: -6px; width: 286px; max-width: calc(100vw - 20px);
  visibility: hidden; pointer-events: none; transition: visibility 0s linear 0.25s; z-index: 2;
}
.phone-pop-in {
  transform-origin: 85% 0; padding: 10px; display: grid; gap: 8px; border-radius: 22px;
}
.phone-pop-head {
  display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 6px;
  border-bottom: 1px solid var(--border-soft);
}
.phone-pop-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--label-2);
}
.phone-pop-status {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--ink-soft);
}
.phone-live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #34c759; box-shadow: 0 0 8px rgba(52, 199, 89, 0.8); display: inline-block;
}
.phone-pop-list {
  display: grid; gap: 4px;
}
.phone-pop-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 16px;
  text-decoration: none; color: var(--ink); background: transparent;
  transition: background-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
.phone-pop-item:hover, .phone-pop-item:focus-visible {
  background: var(--fill);
}
.phone-pop-item:active {
  transform: scale(0.98);
}
.ic-phone-ico {
  background: linear-gradient(145deg, #34c759, #248a3d); color: #fff; --ic-glow: 52, 199, 89;
  box-shadow: 0 4px 12px -2px rgba(52, 199, 89, 0.45); flex: none;
}
.phone-pop-item-txt {
  display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0;
}
.phone-pop-num {
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); line-height: 1.25; white-space: nowrap;
}
.phone-pop-desc {
  font-size: 12px; color: var(--label-2); line-height: 1.2;
}
.phone-pop-call {
  width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  background: var(--fill); color: var(--label-2); margin-left: auto; flex: none;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-fast) ease;
}
.phone-pop-call .i {
  width: 14px; height: 14px;
}
.phone-pop-item:hover .phone-pop-call {
  background: var(--brand); color: var(--on-brand); transform: translateX(2px);
}

/* theme icon: sun ⇄ moon morph */
.th-ico { overflow: visible; }
.th-core { r: 4.6px; transition: r 0.55s var(--spring); }
.th-bite { cx: 26px; cy: 2px; r: 6.4px; transition: cx 0.55s var(--spring), cy 0.55s var(--spring); }
.th-rays { transform-origin: 12px 12px; transition: transform 0.55s var(--spring), opacity 0.3s ease; }
:root[data-theme="dark"] .th-core { r: 7.4px; }
:root[data-theme="dark"] .th-bite { cx: 16.8px; cy: 7.2px; }
:root[data-theme="dark"] .th-rays { transform: rotate(60deg) scale(0.3); opacity: 0; }

/* sound icon: iOS speaker with live waves */
.snd-ico path { transition: opacity 0.3s ease, transform 0.4s var(--spring); transform-box: fill-box; transform-origin: 0% 50%; }
.hd-sound[aria-pressed="false"] .snd-w1, .hd-sound[aria-pressed="false"] .snd-w2 { opacity: 0; transform: scale(0.4); }
.hd-sound[aria-pressed="true"] .snd-x { opacity: 0; transform: scale(0.3); }
.hd-sound[aria-pressed="false"] { color: var(--label-2); }
.hd.on-dark .hd-sound[aria-pressed="false"] { color: rgba(255, 255, 255, 0.6); }
.hd-sound[aria-pressed="true"] .snd-w1 { animation: snd-wave 1.4s ease-in-out infinite; }
.hd-sound[aria-pressed="true"] .snd-w2 { animation: snd-wave 1.4s ease-in-out 0.2s infinite; }
.hd-sound[aria-pressed="true"]::after { content: ""; position: absolute; right: 7px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 8px rgba(var(--brand-rgb), 0.9); }
@keyframes snd-wave { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* burger → close */
.hd-burger { display: none; }
.hd-burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.45s var(--spring), top 0.45s var(--spring); }
.hd-burger span:nth-child(1) { top: 15px; }
.hd-burger span:nth-child(2) { top: 23px; }
.hd.menu-open .hd-burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.hd.menu-open .hd-burger span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

/* ---- mobile sheet ---- */
.mnav { position: fixed; inset: 0; z-index: -1; padding: 82px 12px 12px; pointer-events: none; visibility: hidden; transition: visibility 0s linear 0.35s; }
.hd.menu-open .mnav { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.mnav-scrim { position: absolute; inset: 0; background: rgba(8, 10, 14, 0.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.3s ease; }
.hd.menu-open .mnav-scrim { opacity: 1; }
.mnav-in {
  position: relative; max-width: 560px; margin: 0 auto; max-height: 100%; overflow: auto; overscroll-behavior: contain; border-radius: 28px; padding: 10px 10px 16px;
  background-color: var(--g-fill-thick);
  background-image: radial-gradient(120% 60% at 20% -10%, var(--g-spec), rgba(255, 255, 255, 0) 55%);
  -webkit-backdrop-filter: blur(40px) saturate(200%); backdrop-filter: blur(40px) saturate(200%);
  box-shadow: var(--g-shadow-lift), var(--g-rims), 0 0 0 0.5px var(--g-edge);
  opacity: 0; transform: translateY(-14px) scale(0.97); transform-origin: 50% 0; transition: transform 0.5s var(--spring), opacity 0.25s ease;
}
.hd.menu-open .mnav-in { transform: none; opacity: 1; }
.mnav-nav { display: grid; }
.mnav-link, .mnav-group summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 14px; border-radius: 16px; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); cursor: pointer; list-style: none; }
.mnav-group summary::-webkit-details-marker { display: none; }
.mnav-link:hover, .mnav-group summary:hover { background: var(--fill); }
.mnav-link .i { width: 18px; height: 18px; color: var(--label-3); }
.mnav-group summary .i { width: 18px; height: 18px; color: var(--label-3); transform: rotate(90deg); transition: transform var(--t-mid) var(--spring); }
.mnav-group[open] summary .i { transform: rotate(-90deg); }
.mnav-link[aria-current="page"] { color: var(--brand-ink); }
.mnav-sub { display: grid; gap: 2px; padding: 0 4px 8px; }
.mnav-sub a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; text-decoration: none; color: var(--ink); font-size: 16px; font-weight: 600; }
.mnav-sub a:hover, .mnav-sub a[aria-current="page"] { background: var(--fill); }
.mnav-prefs { display: grid; gap: 8px; margin: 10px 4px 14px; padding: 12px; border-radius: 20px; background: var(--fill); }
.mnav-lang { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 3px; border-radius: 13px; background: var(--fill); }
.mnav-lang a { text-align: center; padding: 8px 0; border-radius: 10px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--ink-soft); }
.mnav-lang a[aria-current="true"] { background: var(--bg-elev); color: var(--ink); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12); }
.mnav-pref { display: flex; align-items: center; gap: 12px; padding: 8px 6px; font-size: 16px; font-weight: 600; color: var(--ink); text-align: left; }
.mnav-pref .i { width: 20px; height: 20px; color: var(--label-2); }
.mnav-pref > span:not(.switch) { flex: 1; }
[aria-pressed="true"] > .switch { background: var(--brand); }
[aria-pressed="true"] > .switch::after { transform: translateX(20px); }
.mnav-contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 14.5px; }
.mnav-contact a { color: var(--label-2); text-decoration: none; font-weight: 600; }

@media (max-width: 1240px) {
  .hd-nav { display: none; }
  .hd-burger { display: inline-grid; }
  .hd-tools { margin-left: auto; }
}
@media (max-width: 980px) {
  .hd-cta { display: none; }
}
@media (max-width: 720px) {
  .hd { padding: 8px 8px 0; }
  .hd-bar { height: 56px; padding-left: 14px; border-radius: 20px; }
  .hd.is-compact .hd-bar { height: 52px; }
  .hd-lang, .hd-theme { display: none; }
  .mnav { padding-top: 72px; }
}
@media (max-width: 480px) {
  .hd-sound { display: none; }
}
@media (min-width: 1241px) { .mnav { display: none; } }
@media (prefers-reduced-transparency: reduce) {
  .hd-bar::before, .mega-in, .lang-pop-in, .phone-pop-in, .mnav-in { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background-color: var(--bg-elev) !important; background-image: none !important; }
  .hd.on-dark .hd-bar::before { background-color: #1a1b20 !important; }
}

/* ==== 05-loader.css ==== */
/* =====================================================================
   Boot loader — shown once per session while html.boot is set
   ===================================================================== */
body .boot { display: none; } /* not "html.boot": the <html> flag class shares the name */
html.boot { overflow: hidden; }
html.boot body { overflow: hidden; }
html.boot .boot {
  display: block; position: fixed; inset: 0; z-index: 1000; color: #fff; background: #030405; overflow: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; animation: boot-failsafe 0s linear 7s forwards;
}
html.boot:not(.boot-exit) .hd, html.boot:not(.boot-exit) main, html.boot:not(.boot-exit) .site-footer { visibility: hidden; }
@keyframes boot-failsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }

.boot-bg, .boot-bg i { position: absolute; inset: 0; pointer-events: none; }
.boot-glow { background: radial-gradient(60% 50% at 50% 46%, rgba(255, 140, 0, 0.16), rgba(255, 140, 0, 0) 70%), radial-gradient(40% 40% at 80% 90%, rgba(255, 224, 0, 0.1), rgba(255, 224, 0, 0) 70%), radial-gradient(40% 40% at 10% 10%, rgba(255, 101, 24, 0.1), rgba(255, 101, 24, 0) 70%); }
.boot-floor {
  top: 55% !important; left: -50% !important; right: -50% !important; bottom: -40% !important;
  background-image: linear-gradient(rgba(255, 140, 0, 0.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 140, 0, 0.22) 1px, transparent 1px);
  background-size: 56px 56px; transform: perspective(520px) rotateX(64deg); transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 60%, transparent 100%);
  animation: boot-floor 1.6s linear infinite; opacity: 0.55;
}
@keyframes boot-floor { to { background-position: 0 56px; } }
.boot-scan { background: linear-gradient(180deg, rgba(255, 140, 0, 0) 0%, rgba(255, 140, 0, 0.06) 48%, rgba(255, 213, 120, 0.14) 50%, rgba(255, 140, 0, 0) 52%); background-size: 100% 220%; animation: boot-scan 3.2s linear infinite; mix-blend-mode: screen; }
@keyframes boot-scan { from { background-position: 0 120%; } to { background-position: 0 -120%; } }
.boot-cv { position: absolute; inset: 0; transform-origin: 50% 46%; }

.boot-hud { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto auto; padding: max(20px, env(safe-area-inset-top)) clamp(18px, 4vw, 48px) max(22px, env(safe-area-inset-bottom)); transition: opacity 0.4s ease, transform 0.6s var(--ease-out); }
.boot.is-exit .boot-hud, .boot.is-fade .boot-hud { opacity: 0; transform: scale(1.04); }
.boot.is-fade { opacity: 0; transition: opacity 0.35s ease; }
.boot-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.boot-brand { display: flex; align-items: center; gap: 12px; }
.boot-w { flex: none; width: auto; max-width: 120px; height: 32px; color: var(--brand); filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.8)); }
.boot-brand b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.boot-brand small { display: block; font: 500 11.5px/1.3 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: rgba(243, 241, 237, 0.55); letter-spacing: 0.06em; text-transform: uppercase; }
.boot-skip {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px 0 16px; border-radius: 999px; color: rgba(255, 255, 255, 0.86); font-size: 14px; font-weight: 600;
  background: rgba(255, 255, 255, 0.07); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.08); transition: background-color 0.2s ease;
}
.boot-skip:hover { background: rgba(255, 255, 255, 0.14); }
.boot-skip .i { width: 16px; height: 16px; }
.boot-stats { align-self: center; justify-self: end; display: grid; gap: 14px; text-align: right; font: 500 11.5px/1.3 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(243, 241, 237, 0.5); }
.boot-stats b { display: block; margin-top: 3px; font: 700 18px/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -0.01em; color: #fff; font-variant-numeric: tabular-nums; }
.boot-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.boot-log { display: grid; gap: 5px; font: 500 12.5px/1.35 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: rgba(243, 241, 237, 0.62); max-width: 62ch; min-height: 88px; align-content: end; }
.boot-log li { display: flex; gap: 10px; animation: bl-in 0.35s var(--ease-out) both; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.boot-log .bl-t { color: rgba(255, 140, 0, 0.8); flex: none; }
.boot-log .bl-m { overflow: hidden; text-overflow: ellipsis; }
.boot-log li:last-child .bl-m { color: #fff; }
.boot-log li:last-child:not(.is-ok) .bl-m::after { content: "▍"; margin-left: 2px; color: var(--brand); animation: blink 0.8s steps(1) infinite; }
.boot-log .bl-s { flex: none; color: var(--green); opacity: 0; transition: opacity 0.2s ease; }
.boot-log .is-ok .bl-s { opacity: 1; }
@keyframes bl-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes blink { 50% { opacity: 0; } }
.boot-pct { display: flex; align-items: flex-start; line-height: 0.8; font-variant-numeric: tabular-nums; }
.boot-pct b { font-size: clamp(72px, 13vw, 176px); font-weight: 800; letter-spacing: -0.06em; background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.5)); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 2.3ch; text-align: right; }
.boot-pct small { font-size: clamp(22px, 3vw, 40px); font-weight: 700; color: var(--brand); margin: 0.2em 0 0 0.12em; }
.boot-bar { margin-top: 18px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.boot-bar i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad-brand); box-shadow: 0 0 14px rgba(255, 140, 0, 0.9); }
@media (max-width: 640px) {
  .boot-stats { display: none; }
  .boot-bottom { flex-direction: column-reverse; align-items: stretch; gap: 10px; }
  .boot-pct { justify-content: flex-end; }
  .boot-log { font-size: 11px; min-height: 70px; }
}
@media (prefers-reduced-motion: reduce) { .boot-floor, .boot-scan { animation: none; } }

/* ==== 06-components.css ==== */
/* =====================================================================
   Shared components for inner pages (ported from v2, re-skinned as layered glass,
   light + dark themes)
   ===================================================================== */
:root {
  --card-fill: rgba(255, 255, 255, 0.7);
  --card-blur: 20px;
  --card-rims: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(47, 42, 33, 0.04);
  --card-shadow: 0 1px 2px rgba(45, 40, 31, 0.04), 0 12px 32px -14px rgba(45, 40, 31, 0.18);
  --card-shadow-lift: 0 2px 4px rgba(45, 40, 31, 0.05), 0 30px 60px -20px rgba(45, 40, 31, 0.28);
}
:root[data-theme="dark"] {
  --card-fill: rgba(26, 28, 34, 0.62);
  --card-rims: inset 0 1px 0 rgba(255, 255, 255, 0.09), inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 36px -16px rgba(0, 0, 0, 0.7);
  --card-shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.4), 0 34px 70px -24px rgba(0, 0, 0, 0.85);
}
@media (max-width: 700px) { :root { --card-blur: 0px; --card-fill: rgba(255, 255, 255, 0.9); } :root[data-theme="dark"] { --card-fill: rgba(24, 26, 31, 0.94); } }

/* ambient colour field behind the whole site — gives the glass something to refract */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient i { position: absolute; border-radius: 50%; width: 60vmax; height: 60vmax; opacity: 0.55; }
.ambient i:nth-child(1) { left: -20vmax; top: -24vmax; background: radial-gradient(circle, rgba(255, 140, 0, 0.2), rgba(255, 140, 0, 0) 62%); }
.ambient i:nth-child(2) { right: -24vmax; top: 20vh; background: radial-gradient(circle, rgba(255, 224, 0, 0.16), rgba(255, 224, 0, 0) 62%); }
.ambient i:nth-child(3) { left: 10vw; bottom: -30vmax; background: radial-gradient(circle, rgba(255, 140, 74, 0.16), rgba(255, 140, 74, 0) 62%); }
:root[data-theme="dark"] .ambient i { opacity: 0.8; }

/* shared glass card recipe */
.tile, .pcard, .svc-card, .figures > div, .flow > div, .two-lists > div, .panel, .person,
.list, .index, .faq, .facts, .own, .industries, .doc-list, .ledger, .stack, .tbl-wrap, .contact-group, .tiles > div {
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%); backdrop-filter: blur(var(--card-blur)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
}
.is-paper { background: transparent; }

/* ---------- Night sections ---------- */
.night .btn-outline, .night .btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; }
.spot { position: relative; z-index: 1; max-width: 760px; margin: clamp(48px, 6vw, 72px) auto 0; border-radius: 30px; padding: 10px; }
.spot-bar { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 18px; border-radius: 22px; background: rgba(255, 255, 255, 0.08); font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; }
.spot-bar .i { width: 22px; height: 22px; color: var(--night-label-2); }
.caret { width: 2px; height: 24px; background: var(--brand); border-radius: 2px; animation: blink 1s steps(1) infinite; }
.spot-answer { padding: 22px 18px 16px; }
.spot-answer .sa-label { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--night-label-2); }
.spot-answer .sa-text { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; margin-top: 12px; }
.spot-answer .sa-text b { color: #fff; }
.cite { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 7px; background: rgba(255, 140, 0, 0.22); color: #ffdf8f; font-size: 12.5px; font-weight: 700; vertical-align: 2px; margin-left: 2px; }
.spot-src { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.src-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); font-size: 13.5px; color: rgba(255, 255, 255, 0.86); }
.src-chip .i { width: 16px; height: 16px; color: var(--brand); }
.spot-meta { font-size: 13px; color: var(--night-label-2); margin-top: 14px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Tiles ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 220px; position: relative; overflow: hidden; transition: translate var(--t-mid) var(--ease-out), box-shadow var(--t-mid) ease; }
@media (hover: hover) { .tile:hover { translate: 0 -4px; box-shadow: var(--card-shadow-lift), var(--card-rims); } }
.tile.span-2 { grid-column: span 2; }
.tile h3 { font-size: 21px; margin-top: auto; }
.tile p { color: var(--label-2); font-size: 15px; }
.tile .app-icon { --s: 48px; }
.tile.is-num, .tile.is-ink { background: linear-gradient(160deg, #1d1e23, #0d0e10); color: #fff; }
.tile.is-num { justify-content: space-between; }
.tile.is-num b { font-size: clamp(44px, 4.6vw, 68px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.tile.is-num p, .tile.is-ink p { color: var(--night-label-2); }
.tile.is-brand { background: var(--grad-brand); color: var(--on-brand); }
.tile.is-brand p { color: var(--on-brand-2); }
.tile.is-brand .btn { background: var(--shark); color: #fff; }
.tile.is-green { background: linear-gradient(150deg, #ffea53, var(--green)); color: var(--on-brand); }
.tile.is-green p { color: #663a00; }
.bento.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bento, .bento.is-2 { grid-template-columns: 1fr; } .tile.span-2 { grid-column: auto; } .tile { min-height: 0; } }

/* ---------- Project cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pgrid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pgrid[data-random-cases] > :nth-child(n+3) { display: none !important; }
@media (max-width: 1024px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 640px) { .pgrid, .pgrid.is-2 { grid-template-columns: 1fr; gap: 16px; } }

.pcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: 22px; overflow: hidden; transition: translate var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out); }
@media (hover: hover) {
  a.pcard:hover { translate: 0 -5px; box-shadow: var(--card-shadow-lift), var(--card-rims); }
  :root[data-theme="dark"] a.pcard:hover { box-shadow: var(--card-shadow-lift), inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
}
.pcard > div:last-child { padding: 16px 20px 20px; }
.pcard p { color: var(--label-2); font-size: 13.5px; line-height: 1.45; max-width: 52ch; }
.pcard .tags { margin-top: 10px; }
.cover { aspect-ratio: 16 / 10; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; color: #fff; border-radius: 22px 22px 0 0; }
.cover-brand { background: radial-gradient(120% 90% at 85% 10%, #ffdf8f 0%, rgba(255, 223, 143, 0) 55%), linear-gradient(150deg, #ff8c00, #a94c00); }
.cover-ink { background: radial-gradient(100% 80% at 90% 0%, rgba(255, 140, 0, 0.45), rgba(255, 140, 0, 0) 60%), linear-gradient(150deg, #2c2c31, #0d0d0f); }
.cover-concrete { background: radial-gradient(100% 90% at 90% 0%, rgba(255, 224, 0, 0.55), rgba(255, 224, 0, 0) 60%), linear-gradient(150deg, #f3f1ee, #e4e0d9); color: var(--shark); }
.cover-meta { font-size: 13.5px; font-weight: 600; opacity: 0.85; position: relative; z-index: 1; }
.cover-name { font-size: clamp(30px, 3.4vw, 48px); font-weight: 800; letter-spacing: -0.045em; line-height: 0.98; position: relative; z-index: 1; word-break: break-word; }
.cover-w { position: absolute; right: -4%; bottom: -14%; width: 44%; opacity: 0.18; color: currentColor; pointer-events: none; transition: transform var(--t-slow) var(--ease-out); }
a.pcard:hover .cover-w { transform: translate(-10px, -8px) rotate(-3deg); }
.cover-lg { aspect-ratio: 21 / 9; border-radius: var(--r-xl); padding: clamp(26px, 4vw, 44px); }
.cover-lg .cover-name { font-size: clamp(44px, 7vw, 104px); }
@media (max-width: 760px) { .pgrid { grid-template-columns: 1fr; } .cover-lg { aspect-ratio: 4 / 3; } }

/* ---------- Grouped lists (iOS inset) ---------- */
.list, .index, .faq, .facts, .own, .industries, .doc-list, .ledger { border-radius: var(--r-md); overflow: hidden; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; }
.list-row + .list-row { box-shadow: inset 0 1px 0 var(--sep); }
.list-row b { display: block; font-weight: 600; }
.list-row .small { color: var(--label-2); display: block; margin-top: 2px; }
.list-row a { text-decoration: none; }
.list-row .btn { flex: none; }
.index-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 3fr); gap: 24px; padding: 22px 24px; align-items: center; text-decoration: none; color: inherit; transition: background-color var(--t-fast) ease; }
.index-row + .index-row { box-shadow: inset 0 1px 0 var(--sep); }
a.index-row:hover { background: rgba(120, 120, 128, 0.06); }
.index-row h3 { font-size: 19px; display: flex; align-items: center; gap: 14px; }
.index-row p { color: var(--label-2); font-size: 15px; }
.index-kpi { text-align: right; }
.index-kpi b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.index-kpi span { display: block; font-size: 13px; color: var(--label-2); margin-top: 4px; }
.index-row .link-arrow { justify-self: end; }
.index-row[data-cols="4-7"] { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) auto; }
.index-row[data-cols="2-7"] { grid-template-columns: minmax(0, 2fr) minmax(0, 7fr) auto; }
@media (max-width: 800px) {
  .index-row, .index-row[data-cols] { grid-template-columns: 1fr; gap: 8px; padding: 18px 20px; }
  .index-kpi { text-align: left; }
  .index-kpi b { display: inline; font-size: 17px; }
  .index-kpi span { display: inline; margin: 0 0 0 4px; font-size: 14px; }
  .index-row[data-cols] .tag { justify-self: start; }
}
.industries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.industries > div, .industries > a { padding: 20px 22px; text-decoration: none; color: inherit; box-shadow: inset 0 1px 0 var(--sep); }
.industries > :nth-child(-n + 2) { box-shadow: none; }
.industries > :nth-child(2n) { border-left: 1px solid var(--sep); }
.industries b { display: block; font-size: 17.5px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.01em; }
.industries p { color: var(--label-2); font-size: 14.5px; }
a.industries-link:hover b { color: var(--brand-ink); }
.industries.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.industries.is-3 > :nth-child(-n + 3) { box-shadow: none; }
.industries.is-3 > :nth-child(2n) { border-left: 0; }
.industries.is-3 > :not(:nth-child(3n + 1)) { border-left: 1px solid var(--sep); }
@media (max-width: 720px) {
  .industries, .industries.is-3 { grid-template-columns: 1fr; }
  .industries > *, .industries.is-3 > * { border-left: 0 !important; box-shadow: inset 0 1px 0 var(--sep) !important; }
  .industries > :first-child { box-shadow: none !important; }
}

/* ---------- Service Includes: Modern Bento Cards ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 24px 22px;
  border-radius: 20px;
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  transition: translate 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
  overflow: hidden;
}

.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at 100% 0%, rgba(255, 140, 0, 0.09), transparent 70%);
  pointer-events: none;
  border-radius: 0 20px 0 0;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

:root[data-theme="dark"] .svc-card::before {
  background: radial-gradient(circle at 100% 0%, rgba(255, 210, 63, 0.12), transparent 70%);
}

.svc-card:hover {
  translate: 0 -4px;
}

:root[data-theme="dark"] .svc-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 24px 44px -14px rgba(0, 0, 0, 0.8),
              inset 0 1px 0 rgba(255, 255, 255, 0.2),
              inset 0 0 0 1px rgba(255, 210, 63, 0.3);
}

:root[data-theme="dark"] .svc-card:hover::before {
  opacity: 1;
}

:root:not([data-theme="dark"]) .svc-card:hover {
  box-shadow: 0 4px 14px rgba(45, 40, 31, 0.06), 0 24px 48px -14px rgba(45, 40, 31, 0.18),
              inset 0 1px 0 #ffffff,
              inset 0 0 0 1px rgba(255, 140, 0, 0.32);
}

.svc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* iOS squircle icon tile with specular rims */
.svc-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 245, 230, 0.8) 100%);
  box-shadow: inset 0 1px 1.5px 0 #ffffff, inset 0 0 0 1px rgba(45, 40, 31, 0.08), 0 4px 14px -3px rgba(45, 40, 31, 0.1), 0 1px 3px rgba(45, 40, 31, 0.05);
  color: var(--brand-ink);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, color 0.25s ease;
}

:root[data-theme="dark"] .svc-icon-box {
  background: linear-gradient(150deg, rgba(255, 215, 64, 0.2) 0%, rgba(255, 140, 0, 0.07) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 -1px 1px 0 rgba(0, 0, 0, 0.35), 0 6px 16px -4px rgba(0, 0, 0, 0.5), 0 2px 6px -1px rgba(255, 140, 0, 0.25);
  color: #ffd23f;
}

.svc-card:hover .svc-icon-box {
  transform: scale(1.08) translateY(-1px);
}

:root[data-theme="dark"] .svc-card:hover .svc-icon-box {
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.55), inset 0 0 0 1px rgba(255, 210, 63, 0.38), 0 8px 20px -4px rgba(255, 140, 0, 0.38);
}

.svc-icon-box .i {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

:root[data-theme="dark"] .svc-icon-box .i {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 8px rgba(255, 210, 63, 0.3));
}

.svc-idx {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--label-2);
  opacity: 0.55;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.svc-card:hover .svc-idx {
  opacity: 1;
  color: var(--brand);
}

.svc-card-body {
  flex-grow: 1;
}

.svc-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 8px 0;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 0.25s ease;
}

:root[data-theme="dark"] .svc-title {
  color: #f5f5f7;
}

:root[data-theme="dark"] .svc-card:hover .svc-title {
  color: #ffffff;
}

.svc-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--label-2);
  margin: 0;
}

/* iOS pill tags & translucent blur */
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--sep);
}

:root[data-theme="dark"] .svc-tags {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.svc-tag {
  display: inline-flex;
  align-items: center;
  padding: 4.5px 12px;
  border-radius: var(--r-pill, 999px);
  font-size: 12px;
  font-weight: 550;
  letter-spacing: -0.01em;
  background: rgba(120, 120, 128, 0.08);
  color: var(--ink-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

:root[data-theme="dark"] .svc-tag {
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.svc-card:hover .svc-tag {
  background: rgba(120, 120, 128, 0.12);
  color: var(--ink);
}

:root[data-theme="dark"] .svc-card:hover .svc-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 1px rgba(255, 210, 63, 0.24);
}

.svc-tag:hover {
  transform: translateY(-1px);
}

:root[data-theme="dark"] .svc-tag:hover {
  background: rgba(255, 210, 63, 0.16) !important;
  color: #ffd23f !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), inset 0 0 0 1px rgba(255, 210, 63, 0.42) !important;
}

:root:not([data-theme="dark"]) .svc-tag:hover {
  background: rgba(255, 140, 0, 0.12) !important;
  color: var(--brand-ink) !important;
  box-shadow: inset 0 1px 0 #ffffff, inset 0 0 0 1px rgba(255, 140, 0, 0.32) !important;
}

@media (max-width: 960px) {
  .svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .svc-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .svc-card {
    padding: 20px 20px 18px;
  }
}
.facts-row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 20px; font-size: 15px; }
.facts-row + .facts-row { box-shadow: inset 0 1px 0 var(--sep); }
.facts-row span { color: var(--label-2); }
.facts-row .pending { color: var(--label-2); font-weight: 500; }
@media (max-width: 560px) { .facts-row { grid-template-columns: 1fr; gap: 2px; } }
.own > div { padding: 20px 22px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; }
.own > div + div { box-shadow: inset 0 1px 0 var(--sep); }
.own b { font-size: 17px; }
.own p { color: var(--label-2); font-size: 15px; }
@media (max-width: 720px) { .own > div { grid-template-columns: 1fr; gap: 6px; } }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.check-list .i { color: var(--on-brand); background: linear-gradient(145deg, #fff06a, #ffc400); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; box-shadow: 0 4px 10px -4px rgba(var(--green-rgb), 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5); }

/* FAQ */
.faq-item + .faq-item { box-shadow: inset 0 1px 0 var(--sep); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17px; line-height: 1.35; letter-spacing: -0.01em; transition: background-color var(--t-fast) ease; }
.faq-item summary:hover { background: rgba(120, 120, 128, 0.06); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--fill); position: relative; transition: transform var(--t-mid) var(--spring), background-color var(--t-mid) ease; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus { transform: rotate(135deg); background: var(--ink-fill); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: var(--on-ink); }
.faq-a { padding: 0 22px 22px; color: var(--label-2); font-size: 16px; max-width: 72ch; }
.faq-item::details-content { transition: height 0.4s var(--ease-out), content-visibility 0.4s allow-discrete; height: 0; overflow: clip; }
.faq-item[open]::details-content { height: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
.night .faq, .night .list { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.night .faq-item + .faq-item, .night .list-row + .list-row { box-shadow: inset 0 1px 0 var(--night-sep); }
.night .faq-plus { background: rgba(255, 255, 255, 0.12); }
.night .faq-plus::before, .night .faq-plus::after { background: #fff; }
.night .faq-a { color: var(--night-label-2); }

/* Ledger «Вы / Мы» */
.ledger-head, .ledger-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 16px 22px; }
.ledger-head { font-weight: 700; font-size: 14px; color: var(--label-2); background: rgba(120, 120, 128, 0.07); }
.ledger-row { box-shadow: inset 0 1px 0 var(--sep); }
.ledger-row b { display: block; font-weight: 700; margin-bottom: 4px; }
.ledger-row p { color: var(--label-2); font-size: 15px; }
.ledger-head.is-3, .ledger-row.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ledger-cols { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 14px 22px; font-weight: 700; font-size: 14px; color: var(--label-2); background: rgba(120, 120, 128, 0.07); }
.ledger-step { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); gap: 8px 24px; padding: 22px; box-shadow: inset 0 1px 0 var(--sep); align-items: start; }
.step-n { box-shadow: 0 8px 18px -8px rgba(var(--brand-rgb), 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 4px rgba(0, 0, 0, 0.15); }
.ledger-step .step-n { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(145deg, #ffb63f, #cb6400); }
.ledger-step:nth-child(4n + 3) .step-n { background: linear-gradient(145deg, #fff06a, #ffc400); }
.ledger-step:nth-child(4n) .step-n { background: linear-gradient(145deg, #4a4a50, #1b1b1e); }
.ledger-step:nth-child(4n + 1) .step-n { background: linear-gradient(145deg, #ffc558, #db4000); }
.ledger-step-title { grid-column: 2 / -1; grid-row: 1; font-size: 19px; line-height: 1.3; letter-spacing: -0.02em; }
.ledger-step > [data-col]:nth-of-type(2) { grid-column: 2; }
.ledger-step > [data-col]:nth-of-type(3) { grid-column: 3; }
.ledger-step p { color: var(--label-2); font-size: 15px; }
@media (max-width: 720px) {
  .ledger-head, .ledger-cols { display: none; }
  .ledger-row, .ledger-row.is-3 { grid-template-columns: 1fr; gap: 10px; }
  .ledger-row > div::before, .ledger-step > [data-col]::before { content: attr(data-col); display: block; font-size: 12.5px; font-weight: 700; color: var(--brand-ink); margin-bottom: 3px; }
  .ledger-step { grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; }
  .ledger-step .step-n { grid-row: 1; width: 36px; height: 36px; font-size: 15px; border-radius: 11px; }
  .ledger-step > [data-col]:nth-of-type(n) { grid-column: 1 / -1; }
}

/* Figures → stat widgets */
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.figures > div { border-radius: var(--r-lg); padding: 26px; }
.figures .num { margin-bottom: 12px; }
.figures p { color: var(--label-2); font-size: 15px; }
.figures-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.figures-4 .num { font-size: clamp(32px, 3.2vw, 46px); }
.figures.is-1 { grid-template-columns: 1fr; }
.figures.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.night .figures > div, .is-dark .figures > div { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.night .figures p, .is-dark .figures p { color: var(--night-label-2); }
.is-brand .figures > div { background: rgba(255, 255, 255, 0.5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.is-brand .figures p { color: var(--on-brand-2); }
@media (max-width: 900px) { .figures, .figures-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .figures, .figures-4, .figures.is-2 { grid-template-columns: 1fr; } }

/* Flow steps */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: flow; }
.flow > div { border-radius: var(--r-lg); padding: 24px; }
.flow h3 { font-size: 19px; margin: 0 0 8px; display: flex; flex-direction: column; gap: 16px; }
.flow .step-n { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.flow > div:nth-child(1) .step-n { background: linear-gradient(145deg, #ff9f1c, #d35400); box-shadow: 0 4px 14px rgba(211, 84, 0, 0.35); }
.flow > div:nth-child(2) .step-n { background: linear-gradient(145deg, #38bdf8, #0284c7); box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35); }
.flow > div:nth-child(3) .step-n { background: linear-gradient(145deg, #10b981, #047857); box-shadow: 0 4px 14px rgba(4, 120, 87, 0.35); }
.flow > div:nth-child(4) .step-n { background: linear-gradient(145deg, #818cf8, #4f46e5); box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35); }
.flow > div:nth-child(5) .step-n { background: linear-gradient(145deg, #f59e0b, #b45309); box-shadow: 0 4px 14px rgba(180, 83, 9, 0.35); }
.flow > div:nth-child(6) .step-n { background: linear-gradient(145deg, #0ea5e9, #1d4ed8); box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35); }
.flow p { color: var(--label-2); font-size: 14.5px; line-height: 1.5; }
.flow.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .flow, .flow.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .flow, .flow.is-3 { grid-template-columns: 1fr; } }

/* Stack spec rows */
.stack { border-radius: var(--r-md); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); }
.stack > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 14px 20px; font-size: 15px; color: var(--label-2); }
.stack > div + div { box-shadow: inset 0 1px 0 var(--sep); }
.stack b { color: var(--ink); font-weight: 700; }
.stack.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stack.is-2 > div { grid-template-columns: 1fr; gap: 3px; }
.stack.is-2 > div:nth-child(2) { box-shadow: none; }
.stack.is-2 > div:nth-child(2n) { border-left: 1px solid var(--sep); }
.night .stack { background: rgba(255, 255, 255, 0.05); }
.night .stack > div { color: var(--night-label-2); }
.night .stack b { color: #fff; }
@media (max-width: 720px) { .stack.is-2 { grid-template-columns: 1fr; } .stack.is-2 > div { border-left: 0 !important; box-shadow: inset 0 1px 0 var(--sep) !important; } .stack.is-2 > div:first-child { box-shadow: none !important; } }
@media (max-width: 480px) { .stack > div { grid-template-columns: 1fr; gap: 2px; } }
.tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.tiles > div { border-radius: var(--r-pill); padding: 9px 16px; font-size: 14.5px; font-weight: 600; }
.two-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.two-lists > div { border-radius: var(--r-lg); padding: 26px; }
.two-lists h3 { margin-bottom: 12px; }
@media (max-width: 720px) { .two-lists { grid-template-columns: 1fr; } }
.panel { border-radius: var(--r-lg); padding: 26px; }
.panel h3 { margin-bottom: 8px; }
.panel p { color: var(--label-2); font-size: 15px; }
.quote { background: linear-gradient(160deg, #1d1e23, #0d0e10); color: #fff; border-radius: var(--r-lg); padding: 32px 36px; font-size: 21px; line-height: 1.4; font-weight: 600; letter-spacing: -0.015em; box-shadow: var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.quote .who { display: block; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--night-label-2); }

/* Tables */
.tbl-wrap { overflow-x: auto; border-radius: var(--r-md); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.tbl th, .tbl td { padding: 14px 20px; text-align: left; vertical-align: middle; }
.tbl tr + tr td, .tbl tbody tr:first-child td { box-shadow: inset 0 1px 0 var(--sep); }
.tbl th { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--label-2); background: rgba(120, 120, 128, 0.07); }
.tbl td b { font-weight: 700; }
.tbl td a { text-decoration: none; color: var(--ink); transition: color var(--t-fast) ease; }
.tbl td a:hover { color: var(--brand); }
.tbl-num td:not(:first-child), .tbl-num th:not(:first-child) { text-align: right; }

@media (max-width: 760px) {
  .tbl-wrap.is-cards {
    overflow: visible;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: none;
    padding: 0;
  }
  .tbl-cards { min-width: 0; width: 100%; display: block; }
  .tbl-cards thead { display: none; }
  .tbl-cards, .tbl-cards tbody { display: flex; flex-direction: column; gap: 10px; width: 100%; }

  .tbl-cards tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 14px;
    background: var(--card-fill);
    border-radius: 20px;
    padding: 14px 16px;
    margin-bottom: 0;
    box-shadow: var(--card-shadow), var(--card-rims);
    border: 1px solid var(--sep);
    -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
    backdrop-filter: blur(var(--card-blur)) saturate(180%);
    transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) ease;
  }

  .tbl-cards td {
    padding: 0;
    box-shadow: none !important;
    text-align: left !important;
    border: none;
  }
  .tbl-cards td::before {
    display: none !important;
  }

  /* 1. Savol / Mavzu */
  .tbl-cards td:nth-child(1) {
    grid-column: 1 / -1;
    display: block;
    width: 100%;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: var(--ink);
    padding-bottom: 9px;
    border-bottom: 1px solid var(--sep);
  }

  /* 2. Mas'ul shaxs va lavozim */
  .tbl-cards td:nth-child(2) {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
  }
  .tbl-cards td:nth-child(2) a {
    text-decoration: none;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: color var(--t-fast) ease;
  }
  .tbl-cards td:nth-child(2) a:hover {
    color: var(--brand);
  }
  .tbl-cards td:nth-child(2) br {
    display: none;
  }
  .tbl-cards td:nth-child(2) .muted {
    font-size: 12px;
    color: var(--label-2);
    line-height: 1.3;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  /* 3. Javob muddati (Status badge) */
  .tbl-cards td:nth-child(3) {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.08);
    border: 1px solid rgba(255, 140, 0, 0.22);
    color: var(--brand-ink, var(--brand));
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    align-self: center;
  }
  .tbl-cards td:nth-child(3)::before {
    content: "" !important;
    display: inline-block !important;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 6px rgba(var(--brand-rgb), 0.85);
    flex-shrink: 0;
  }
}

@media (max-width: 380px) {
  .tbl-cards tr {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 14px;
  }
  .tbl-cards td:nth-child(2) {
    grid-column: 1;
  }
  .tbl-cards td:nth-child(3) {
    grid-column: 1;
    justify-self: flex-start;
  }
}

/* ---------- Page hero (inner pages) ---------- */
.hero-page { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(48px, 6vw, 84px)) 0 0; }
.hero-page::before, .hero-page::after { content: ""; position: absolute; border-radius: 50%; width: 70vmax; height: 70vmax; pointer-events: none; z-index: 0; }
.hero-page::before { left: -26vmax; top: -40vmax; background: radial-gradient(circle, rgba(255, 140, 0, 0.32), rgba(255, 140, 0, 0) 62%); animation: drift-a 26s ease-in-out infinite alternate; }
.hero-page::after { right: -30vmax; top: -30vmax; background: radial-gradient(circle, rgba(255, 224, 0, 0.24), rgba(255, 224, 0, 0) 60%); animation: drift-b 32s ease-in-out infinite alternate; }
.hero-page.is-brand::before { background: radial-gradient(circle, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 62%); }
.hero-page.is-brand::after { background: radial-gradient(circle, rgba(255, 224, 0, 0.55), rgba(255, 224, 0, 0) 60%); }

/* ---------- Aurora Background Effect (High-Performance Limon Golden Ambient Aurora) ---------- */
.hero-page--aurora { position: relative; overflow: hidden; }
.hero-page--aurora::before,
.hero-page--aurora::after,
.hero-page:has(.hero-aurora-wrap)::before,
.hero-page:has(.hero-aurora-wrap)::after { display: none !important; }
.hh:has(.hero-aurora-wrap) > .aurora { display: none !important; }
.hero-aurora-wrap {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
  contain: strict;
  transform: translate3d(0, 0, 0);
  --lemon-300: #fff3b0;
  --lemon-400: #ffe000;
  --amber-500: #ffaa00;
  --orange-500: #ff8c00;
  --orange-600: #e86a00;
  --aurora: repeating-linear-gradient(
    100deg,
    var(--orange-500) 10%,
    var(--amber-500) 15%,
    var(--lemon-400) 20%,
    var(--lemon-300) 25%,
    var(--orange-600) 30%
  );
  --dark-gradient: repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%);
  --white-gradient: repeating-linear-gradient(100deg, #fff 0%, #fff 7%, transparent 10%, transparent 12%, #fff 16%);
}
.hero-aurora {
  pointer-events: none; position: absolute; inset: -40px;
  background-image: var(--dark-gradient), var(--aurora);
  background-size: 300% 200%; background-position: 50% 50%, 50% 50%;
  opacity: 0.65; filter: blur(12px);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-mask-image: radial-gradient(ellipse 135% 115% at 100% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 135% 115% at 100% 0%, #000 25%, transparent 78%);
}
.hero-aurora::after {
  content: ""; position: absolute;
  top: 0; bottom: 0; left: 0; width: 200%;
  background-image: var(--dark-gradient), var(--aurora);
  background-size: 50% 100%;
  mix-blend-mode: difference;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  animation: aurora-gpu 40s linear infinite;
}
@keyframes aurora-gpu {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
:root:not([data-theme="dark"]) .hero-aurora-wrap {
  --aurora-light-1: rgba(255, 145, 20, 0.32);
  --aurora-light-2: rgba(255, 195, 45, 0.38);
  --aurora-light-3: rgba(255, 225, 95, 0.35);
  --aurora-light-4: rgba(255, 165, 40, 0.28);
  --aurora-light-5: rgba(46, 213, 115, 0.14);
  --aurora-light-stripe: repeating-linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.9) 5%,
    rgba(255, 255, 255, 0) 11%,
    rgba(255, 255, 255, 0) 15%,
    rgba(255, 255, 255, 0.9) 20%
  );
  --aurora-light: repeating-linear-gradient(
    105deg,
    var(--aurora-light-1) 8%,
    var(--aurora-light-2) 16%,
    var(--aurora-light-3) 24%,
    var(--aurora-light-5) 32%,
    var(--aurora-light-4) 40%,
    var(--aurora-light-1) 48%
  );
}
:root:not([data-theme="dark"]) .hero-aurora {
  background-image:
    radial-gradient(ellipse 75% 65% at 75% 35%, rgba(255, 175, 40, 0.28), transparent 70%),
    radial-gradient(ellipse 65% 55% at 25% 15%, rgba(255, 210, 60, 0.18), transparent 65%),
    radial-gradient(ellipse 50% 40% at 50% 5%, rgba(255, 230, 110, 0.14), transparent 60%),
    var(--aurora-light-stripe),
    var(--aurora-light);
  background-size: 100% 100%, 100% 100%, 100% 100%, 300% 200%, 300% 200%;
  background-position: center, center, center, 50% 50%, 50% 50%;
  filter: blur(34px);
  opacity: 0.85;
  -webkit-mask-image: radial-gradient(ellipse 140% 110% at 65% 15%, #000 35%, rgba(0, 0, 0, 0.6) 65%, transparent 92%);
  mask-image: radial-gradient(ellipse 140% 110% at 65% 15%, #000 35%, rgba(0, 0, 0, 0.6) 65%, transparent 92%);
}
:root:not([data-theme="dark"]) .hero-aurora::after {
  background-image: var(--aurora-light-stripe), var(--aurora-light);
  background-size: 50% 100%, 50% 100%;
  mix-blend-mode: soft-light;
  opacity: 0.55;
  filter: blur(28px);
}
@media (prefers-reduced-motion: reduce) {
  .hero-aurora::after { animation: none !important; }
}
.text-mbosLinear {
  background: linear-gradient(45deg, #166cc8, #0eaf69);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.hero-page-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 920px; margin-inline: auto; padding-bottom: clamp(48px, 6vw, 76px); }
.hero-page-in > div:first-child { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; }
.hero-page .lead { margin-top: 18px; text-align: center; max-width: 720px; margin-inline: auto; font-size: clamp(16px, 1.25vw, 19px); color: var(--label-2); }
.hero-page .h1 { max-width: 18em; text-align: center; margin-inline: auto; font-size: clamp(34px, 5vw, 62px); line-height: 1.15; letter-spacing: -0.03em; }
.hero-page .crumbs { align-self: center; margin-bottom: 20px; display: inline-flex; align-items: center; justify-content: center; }
.hero-page .hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(28px, 3vw, 36px); }
.hero-page .h1 + .hero-cta { margin-top: clamp(38px, 4.5vw, 56px); }
.hero-page-aside { display: none; }

/* ---------- Subpage Marquee / Ticker Tape (Yellow Ribbon) ---------- */
.subpage-ticker {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--grad-brand);
  color: var(--on-brand);
  padding: clamp(14px, 1.4vw, 18px) 0;
  overflow: hidden;
  user-select: none;
  box-shadow: 0 6px 28px rgba(255, 140, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}
.subpage-ticker-track {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  align-items: center;
}
.subpage-ticker-content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  padding-right: clamp(16px, 2vw, 28px);
  animation: subpage-ticker-scroll 28s linear infinite;
  will-change: transform;
}
.subpage-ticker-content span {
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--on-brand);
  white-space: nowrap;
}
.subpage-ticker-content .st-star {
  width: clamp(14px, 1.25vw, 19px);
  height: clamp(14px, 1.25vw, 19px);
  flex-shrink: 0;
  color: var(--on-brand);
  fill: currentColor;
  display: inline-block;
  opacity: 0.9;
  vertical-align: middle;
}
@keyframes subpage-ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-100%, 0, 0); }
}
.subpage-ticker:hover .subpage-ticker-content {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .subpage-ticker-content {
    animation: none;
  }
  .subpage-ticker-track {
    overflow-x: auto;
  }
}
.crumbs {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--label-2); margin-bottom: 22px; padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--g-fill-thin); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); box-shadow: var(--g-rims), 0 0 0 0.5px var(--g-edge);
}
.crumbs a { text-decoration: none; color: var(--ink); }
.crumbs span { color: var(--label-3); }
.hero-page-aside {
  border-radius: var(--r-lg); padding: 24px; color: var(--label-2); font-size: 15px; line-height: 1.55;
  background-color: var(--g-fill); background-image: radial-gradient(130% 90% at var(--mx, 18%) var(--my, -12%), var(--g-spec), rgba(255, 255, 255, 0) 48%);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: var(--g-shadow), var(--g-rims), 0 0 0 0.5px var(--g-edge);
}
.hero-page-aside b { color: var(--ink); display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.035em; margin-bottom: 2px; }
.hero-page-aside p + p { margin-top: 16px; padding-top: 16px; box-shadow: inset 0 1px 0 var(--sep); }
.hero-page.is-dark { background: var(--night); color: #fff; }
.hero-page.is-dark .lead { color: var(--night-label-2); }
.hero-page.is-dark .crumbs { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); color: var(--night-label-2); }
.hero-page.is-dark .crumbs a { color: #fff; }
.hero-page.is-dark .hero-page-aside { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.08); color: var(--night-label-2); }
.hero-page.is-dark .hero-page-aside b { color: #fff; }
.hero-page.is-dark .hero-page-aside p + p { box-shadow: inset 0 1px 0 var(--night-sep); }
.hero-page.is-dark .btn-outline, .hero-page.is-dark .btn-ghost, .hero-page.is-dark .btn-glass { background: rgba(255, 255, 255, 0.08); color: #fff; }
.hero-page.is-dark .btn:not(.btn-outline):not(.btn-ghost):not(.btn-glass):not(.btn-brand) { background: #fff; color: var(--shark); }
.hero-page.is-brand { background: var(--brand); color: var(--on-brand); }
.hero-page.is-brand .lead { color: var(--on-brand-2); }
.hero-page.is-brand .crumbs { background: rgba(255, 255, 255, 0.4); color: var(--on-brand-2); }
.hero-page.is-brand .crumbs a { color: var(--shark); }
.hero-page.is-brand .hero-page-aside { background: rgba(255, 255, 255, 0.45); color: var(--on-brand-2); }
.hero-page.is-brand .hero-page-aside b { color: var(--shark); }
.hero-page.is-brand .btn-outline, .hero-page.is-brand .btn-glass { background: rgba(255, 255, 255, 0.45); color: var(--shark); }
@media (max-width: 960px) { .hero-page-in { grid-template-columns: 1fr; } }

.vac-search { border: 0; border-radius: var(--r-pill); padding: 12px 18px 12px 44px; background: var(--fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M20 20l-4.2-4.2'/%3E%3C/svg%3E") no-repeat 16px center / 18px; font-size: 16px; min-width: 280px; color: var(--ink); }
.vac-search:focus { outline: none; box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.25); background-color: var(--bg-elev); }

/* ---------- Dark / brand sections ---------- */
.is-dark:not(.hero-page) { background: var(--night); color: #fff; }
.is-dark .lead, .is-dark .muted { color: var(--night-label-2); }
.is-dark .num { color: #fff; }
.is-brand:not(.hero-page):not(.result-card) { background: var(--brand); color: var(--on-brand); }
.is-brand .lead, .is-brand .muted { color: var(--on-brand-2); }
.section.is-dark .index, .section.is-dark .list, .section.is-dark .faq, .section.is-dark .ledger, .section.is-dark .industries,
.section.is-dark .flow > div, .section.is-dark .panel, .section.is-dark .two-lists > div { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.section.is-dark .index-row + .index-row, .section.is-dark .list-row + .list-row, .section.is-dark .ledger-row, .section.is-dark .industries > * { box-shadow: inset 0 1px 0 var(--night-sep); }
.section.is-dark .index-row p, .section.is-dark .index-kpi span, .section.is-dark .list-row .small, .section.is-dark .ledger-row p, .section.is-dark .industries p, .section.is-dark .flow p, .section.is-dark .panel p { color: var(--night-label-2); }
.section.is-dark .tag { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.85); }
.section.is-brand .ledger, .section.is-brand .list, .section.is-brand .tbl-wrap { background: rgba(255, 255, 255, 0.55); }
.section.is-brand .ledger-row p { color: var(--on-brand-2); }
.section.is-brand .tag { background: rgba(255, 255, 255, 0.45); color: var(--shark); }

/* ---------- Modals → glass sheets ---------- */
.modal-bg {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 24px) 16px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-sizing: border-box;
}
.modal-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 12, 0.38);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-bg.is-in::before { opacity: 1; }
.modal-bg[hidden] { display: none; }
.modal {
  position: relative;
  width: 100%;
  max-width: min(560px, calc(100vw - 32px));
  min-width: 0;
  box-sizing: border-box;
  margin: auto;
  padding: 30px;
  border-radius: 34px;
  color: var(--ink);
  background-color: var(--g-fill-thick);
  background-image: radial-gradient(120% 70% at 15% -10%, var(--g-spec), rgba(255, 255, 255, 0) 55%);
  -webkit-backdrop-filter: blur(44px) saturate(200%);
  backdrop-filter: blur(44px) saturate(200%);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.45), var(--g-rims), 0 0 0 0.5px var(--g-edge);
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.5s var(--spring);
}
.modal-bg.is-in .modal { opacity: 1; transform: none; }
.modal::before { content: ""; display: none; width: 40px; height: 5px; border-radius: 3px; background: var(--fill-2); margin: -14px auto 16px; }
.modal-search { max-width: min(660px, calc(100vw - 32px)); width: 100%; min-width: 0; box-sizing: border-box; }
.modal-internship { max-width: min(600px, calc(100vw - 32px)); width: 100%; min-width: 0; box-sizing: border-box; }
.modal-internship .form { margin-top: 18px; min-width: 0; max-width: 100%; }
.modal-internship .grid-2 { gap: 12px; min-width: 0; max-width: 100%; }
@media (max-width: 540px) {
  .modal-internship .grid-2 { grid-template-columns: 1fr; }
}
.modal-internship .field { min-width: 0; max-width: 100%; }
.modal-internship .field input,
.modal-internship .field textarea { min-width: 0; max-width: 100%; box-sizing: border-box; }
.modal-internship .field textarea { min-height: 80px; }
.modal-x { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; background: var(--fill); border-radius: 50%; display: grid; place-items: center; color: var(--label-2); transition: background-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out); z-index: 3; }
.modal-x:hover { background: var(--fill-2); color: var(--ink); }
.modal-x:active { transform: scale(0.9); }
.modal-x .i { width: 16px; height: 16px; }
.modal-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--label-2); margin-bottom: 10px; }
.modal-title { font-size: clamp(26px, 3vw, 32px); font-weight: 800; letter-spacing: -0.035em; padding-right: 44px; line-height: 1.08; }
.modal-lead { color: var(--label-2); margin: 10px 0 22px; font-size: 15.5px; }
.field-search input { font-size: 19px; padding: 16px 18px; }
.modal-search .form { margin-top: 18px; }
.search-out { margin-top: 12px; display: grid; gap: 2px; max-height: 52vh; overflow: auto; }
.search-out a { display: block; padding: 12px 14px; border-radius: 14px; text-decoration: none; }
.search-out a:hover, .search-out a:focus { background: var(--fill); }
.search-out a b { display: block; font-size: 16px; }
.search-out a span { display: block; font-size: 13.5px; color: var(--label-2); margin-top: 2px; }
.search-out mark { background: rgba(var(--brand-rgb), 0.25); color: inherit; padding: 0 2px; border-radius: 3px; }
@media (max-width: 600px) {
  .modal-bg { display: flex; align-items: flex-end; justify-content: center; padding: 0; }
  .modal { border-radius: 30px 30px 0 0; max-height: 94vh; max-height: 94dvh; max-width: 100%; overflow: auto; padding: 26px 20px calc(24px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: opacity 0.2s ease, transform 0.5s var(--spring); margin: 0; }
  .modal-bg.is-in .modal { transform: none; }
  .modal::before { display: block; }
}

/* ---------- Confirmation Dialog (Discard modal) ---------- */
.modal-bg-confirm { z-index: 10050; padding: 16px; align-items: center; justify-content: center; }
.modal-confirm {
  max-width: 420px;
  text-align: center;
  padding: 32px 24px 26px;
  border-radius: 28px;
  transform: translateY(20px) scale(0.96);
}
.modal-bg-confirm.is-in .modal-confirm { transform: none; }
.confirm-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ff8c00;
  background: rgba(255, 140, 0, 0.12);
  box-shadow: 0 0 0 8px rgba(255, 140, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.confirm-icon .i { width: 28px; height: 28px; }
.confirm-title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.25;
}
.confirm-desc {
  font-size: 14.5px;
  color: var(--label-2);
  line-height: 1.45;
  margin: 0 0 24px;
}
.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.confirm-actions .btn {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 14.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
}
.btn-danger {
  background: linear-gradient(145deg, #e5484d, #c5221f);
  color: #fff;
  border: 0;
  box-shadow: 0 8px 22px -6px rgba(229, 72, 77, 0.5);
  transition: transform var(--t-fast) var(--spring), box-shadow var(--t-fast) ease;
}
.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(229, 72, 77, 0.65);
  color: #fff;
}
.btn-danger:active {
  transform: scale(0.96);
}
@media (max-width: 600px) {
  .modal-bg-confirm { align-items: center; padding: 16px; }
  .modal-confirm { border-radius: 28px; margin: auto; transform: translateY(20px) scale(0.96); }
  .modal-confirm::before { display: none; }
}
@media (max-width: 420px) {
  .modal-confirm { padding: 26px 18px 20px; }
  .confirm-actions { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 200; translate: -50% 0; max-width: calc(100vw - 32px);
  padding: 12px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: #fff; pointer-events: none;
  background: rgba(24, 26, 32, 0.78); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  opacity: 0; transform: translateY(20px) scale(0.95); transition: opacity 0.25s ease, transform 0.45s var(--spring);
}
.toast.is-on { opacity: 1; transform: none; }
.toast:empty { display: none; }

/* ---------- Misc pages ---------- */
.center-page { text-align: center; padding-block: calc(var(--header-h) + clamp(80px, 12vw, 160px)) clamp(80px, 12vw, 160px); position: relative; overflow: hidden; }
.center-page .lead { margin-inline: auto; margin-top: 20px; }
.center-page .hero-cta { justify-content: center; }
.center-page > .wrap { position: relative; z-index: 1; }
.doc-list .list-row { padding: 18px 20px; }
.status { flex: none; font-size: 13px; font-weight: 600; color: var(--ink-soft); padding: 6px 12px; border-radius: var(--r-pill); background: var(--fill); }
.status.is-pending { background: transparent; box-shadow: inset 0 0 0 1px var(--fill-2); color: var(--label-2); }
.contact-group { border-radius: var(--r-md); overflow: hidden; }
.contact-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; flex-wrap: wrap; }
.contact-row + .contact-row { box-shadow: inset 0 1px 0 var(--sep); }
.contact-row .label { font-size: 13px; color: var(--label-2); font-weight: 600; margin-bottom: 4px; }
.contact-row .value { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.map-ph { aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: radial-gradient(60% 60% at 50% 45%, rgba(255, 140, 0, 0.18), rgba(255, 140, 0, 0) 70%), repeating-linear-gradient(0deg, var(--sep) 0 1px, transparent 1px 44px), repeating-linear-gradient(90deg, var(--sep) 0 1px, transparent 1px 44px), linear-gradient(135deg, rgba(255, 140, 0, 0.08), rgba(255, 224, 0, 0.08)); display: grid; place-items: center; align-content: center; gap: 12px; color: var(--label-2); font-size: 14px; text-align: center; padding: 24px; box-shadow: var(--card-shadow), var(--card-rims); }
.map-pin { width: 54px; height: 54px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand); box-shadow: 0 12px 30px rgba(210, 105, 0, 0.35); display: grid; place-items: center; }
.map-pin::after { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.map-box { display: grid; gap: 12px; }
.map-toolbar { display: flex; align-items: center; justify-content: flex-start; }
.map-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--fill); border: 1px solid var(--sep); border-radius: 999px; }
.map-tab { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--label-2); background: transparent; border: 0; border-radius: 999px; cursor: pointer; transition: all var(--t-fast) ease; font-family: inherit; }
.map-tab:hover { color: var(--ink); }
.map-tab.is-active { background: var(--card-bg, #1a1a1a); color: var(--brand); box-shadow: 0 2px 8px rgba(0,0,0,0.25); font-weight: 600; }
:root[data-theme="light"] .map-tab.is-active { background: #ffffff; color: var(--brand); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.map-frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--card-shadow), var(--card-rims); background: var(--fill); }
.map-frame .map-ph { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.map-frame .map-ph b { color: var(--ink); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 0.6s ease; }
.map-frame.is-ready iframe { opacity: 1; }
:root[data-theme="dark"] .map-frame iframe { filter: brightness(0.92) contrast(1.02); }
.map-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.map-addr { margin-left: auto; font-size: 14px; color: var(--label-2); }
.ct-soc { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-s { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; background: var(--fill); transition: background var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-fast) var(--spring); }
.ct-s .i { width: 20px; height: 20px; color: rgb(var(--c, var(--brand-rgb))); }
.ct-s:hover { background: rgba(var(--c, var(--brand-rgb)), 0.14); transform: translateY(-1px); }
@media (max-width: 600px) { .map-addr { margin-left: 0; width: 100%; } }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.article-cover { aspect-ratio: 21 / 9; border-radius: var(--r-xl); }
.sticky-card { position: sticky; top: 100px; }
.empty { color: var(--label-2); padding: 24px 0; }
.cases-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 700px) { .cases-2 { grid-template-columns: 1fr; } }
.hl { background: rgba(var(--brand-rgb), 0.18); padding: 0 4px; border-radius: 4px; }

/* lemon step badges carry an ink digit (white on lemon is unreadable) */
.ledger-step:nth-child(4n + 3) .step-n { color: var(--on-brand); }

:root[data-theme="dark"] .hero-page .h1 .grad-text,
:root[data-theme="dark"] .hero-page .h1.is-split .grad-text .w,
.night .hero-page .h1 .grad-text,
.night .hero-page .h1.is-split .grad-text .w {
  background-image: var(--grad-brand) !important;
  background-size: 100% 100% !important;
  background-position: 0 0 !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

:root[data-theme="light"] .hero-page .h1 .grad-text,
:root[data-theme="light"] .hero-page .h1.is-split .grad-text .w {
  background-image: linear-gradient(135deg, #d97706, #b45309) !important;
  background-size: 100% 100% !important;
  background-position: 0 0 !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.hero-page .h1.is-split .grad-text {
  background-image: none !important;
}

:root[data-theme="light"] .hero-page .h1 .grad-text,
:root[data-theme="light"] .hero-page .h1 .is-split .grad-text .w {
  background-image: linear-gradient(135deg, #d97706, #b45309) !important;
  background-size: 100% 100% !important;
  background-position: 0 0 !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

/* ---------- Pagination (Liquid Glass & Squircles) ---------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: clamp(36px, 5vw, 64px);
  width: 100%;
  clear: both;
}

.pg-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur, 16px)) saturate(180%);
  backdrop-filter: blur(var(--card-blur, 16px)) saturate(180%);
  border: 1px solid var(--sep);
  border-radius: 20px;
  box-shadow: var(--card-shadow), var(--card-rims);
  max-width: 100%;
}

.pg-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 42px;
  height: 42px;
  padding: 0 16px;
  border-radius: 13px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--label-1);
  font-size: 14.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  user-select: none;
  transition: all var(--t-fast) var(--ease-out);
  text-decoration: none;
  outline: none;
}

.pg-btn.pg-num {
  padding: 0;
  min-width: 42px;
}

.pg-btn .i {
  width: 16px;
  height: 16px;
  flex: none;
}

.pg-btn:hover:not(:disabled):not(.is-active) {
  background: var(--surface-2);
  color: var(--brand);
  border-color: rgba(255, 184, 0, 0.35);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.pg-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.pg-btn.is-active {
  background: linear-gradient(135deg, #ffc938, #ff8c00);
  color: #1a1200 !important;
  font-weight: 800;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(255, 140, 0, 0.4);
  cursor: default;
  pointer-events: none;
}

.pg-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.pg-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 42px;
  color: var(--label-2);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  user-select: none;
}

@media (max-width: 640px) {
  .pg-nav {
    gap: 4px;
    padding: 4px 6px;
  }
  .pg-btn {
    min-width: 38px;
    height: 38px;
    font-size: 13.5px;
    padding: 0 8px;
  }
  .pg-btn.pg-num {
    min-width: 38px;
  }
  .pg-btn-label {
    display: none;
  }
}
/* ==== 07-footer.css ==== */
/* =====================================================================
   Footer: game teaser, contacts, big social icons, link columns
   ===================================================================== */
.site-footer { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0 28px; color: var(--ink); box-shadow: inset 0 1px 0 var(--sep); }
.ft-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; }



/* contact card */
.ft-contact {
  border-radius: var(--r-xl); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; align-items: flex-start;
  background-color: var(--card-fill); -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%); backdrop-filter: blur(var(--card-blur)) saturate(180%); box-shadow: var(--card-shadow), var(--card-rims);
}
.ft-desc { margin-top: 14px; color: var(--label-2); font-size: 14.5px; max-width: 42ch; }
.ft-phone { margin-top: 22px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -0.03em; text-decoration: none; color: var(--ink); }
.ft-mail { font-size: 17px; font-weight: 600; text-decoration: none; color: var(--brand-ink); margin-top: 4px; }
.ft-addr { color: var(--label-2); font-size: 14px; margin-top: 10px; }
.footer-online { margin-top: 12px; font-size: 13.5px; color: var(--label-2); display: flex; align-items: center; gap: 8px; }
.clocks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.clock { display: flex; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--fill); font-size: 13.5px; }
.clock-city { color: var(--label-2); }
.clock-time { font-weight: 700; font-variant-numeric: tabular-nums; }

/* big social icons */
.site-footer > .wrap > .ft-soc:first-child { margin-top: 0; }
.site-footer .rqs-card + .ft-soc { margin-top: 20px; }
.ft-soc {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
  padding: 12px;
  border-radius: var(--r-xl);
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  border: none;
}
.soc-ic {
  --c: 24, 119, 242;
  width: 100%;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--fill);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: transform var(--t-mid) var(--spring), color var(--t-mid) ease, box-shadow var(--t-mid) ease;
}
.soc-ic:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
:root[data-theme="dark"] .soc-ic {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
}
.soc-ic::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(150deg, rgba(var(--c), 0.98), rgba(var(--c), 0.78));
  transition: opacity var(--t-mid) ease, filter var(--t-mid) ease;
}
.soc-ic::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 70% at 30% 0%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 55%);
  opacity: 0;
  transition: opacity var(--t-mid) ease;
  pointer-events: none;
}
.soc-ic svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  transition: transform var(--t-mid) var(--spring), filter var(--t-mid) ease;
}
.soc-t {
  display: none;
}
@media (hover: hover) {
  .soc-ic:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 28px -8px rgba(var(--c), 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  }
  .soc-ic:hover::before { opacity: 1; filter: brightness(1.06); }
  .soc-ic:hover::after { opacity: 0.7; }
  .soc-ic:hover svg { transform: scale(1.08); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25)); }
}
.soc-ic:active { transform: scale(0.96); }
.soc-ic:active::before { opacity: 1; }
.soc-ic:active { color: #fff; }
.soc-telegram { --c: 42, 171, 238; }
.soc-instagram { --c: 214, 41, 118; }
.soc-instagram::before { background: linear-gradient(45deg, #feda75, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5); }
.soc-facebook { --c: 24, 119, 242; }
.soc-whatsapp { --c: 37, 211, 102; }
.soc-phone { --c: 52, 199, 89; }
.soc-mail { --c: 234, 67, 53; }
.soc-linkedin { --c: 10, 102, 194; }
.soc-youtube { --c: 255, 0, 0; }
.soc-x { --c: 20, 20, 24; }
.soc-tiktok { --c: 18, 18, 22; }
/* few networks (until all links are known): wide tiles with a caption */
/* link columns */
.ft-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(40px, 5vw, 64px); }
.footer-h { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 14.5px; color: var(--label-2); text-decoration: none; padding: 4px 0; transition: color var(--t-fast) ease; }
.footer-col a:hover { color: var(--ink); }
.ft-lang { display: inline-grid; grid-template-columns: repeat(3, auto); gap: 3px; padding: 3px; border-radius: 12px; background: var(--fill); margin-bottom: 10px; }
.ft-lang a { padding: 6px 12px; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.ft-lang a[aria-current="true"] { background: var(--bg-elev); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
.ft-pref { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 230px; padding: 6px 0; font-size: 14.5px; color: var(--label-2); }
.ft-pref:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; box-shadow: inset 0 1px 0 var(--sep); font-size: 13px; color: var(--label-2); position: relative; z-index: 1; }
.footer-bottom-links { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.footer-bottom a { color: var(--label-2); margin-left: 18px; text-decoration: none; transition: color var(--t-fast) ease; }
.footer-bottom a:hover { color: var(--ink); }

.ft-resident {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px;
  color: var(--ink) !important; margin-left: 0 !important; margin-right: 6px; text-decoration: none;
  letter-spacing: -0.01em; transition: transform var(--t-fast) var(--spring), opacity var(--t-fast) ease;
}
.ft-resident:hover { transform: translateY(-1px); opacity: 0.95; }
.ft-itpark-logo { width: 23px; height: 20px; color: #7dba28; fill: #7dba28; flex-shrink: 0; filter: drop-shadow(0 1px 2px rgba(125, 186, 40, 0.25)); }
.ft-resident-text { color: var(--ink); white-space: nowrap; }

/* =====================================================================
   Footer wordmark: Limon.uz with Resend-style cursor-follow glow
   ===================================================================== */
.ft-mark {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: clamp(28px, 4vw, 56px);
  margin-bottom: -16px;
  user-select: none;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

:root:not([data-theme="dark"]) .ft-mark {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.ft-stage {
  position: relative;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  aspect-ratio: 469 / 100;
  overflow: hidden;
  display: block;
}

.ft-svg-base,
.ft-svg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* 1. Base layer: subtle stealth obsidian wordmark at rest */
.ft-svg-base {
  color: rgba(40, 30, 15, 0.05);
}

:root[data-theme="dark"] .ft-svg-base {
  color: rgba(255, 240, 200, 0.05);
}

/* 2. Interactive SVG overlay */
.ft-svg-overlay {
  overflow: visible;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ft-svg-overlay.is-active {
  opacity: 1;
}

/* Limon signature brand combo: Lemon Yellow (#ffe000) & Brand Orange (#ff8c00) */
:root {
  /* Light theme: warm solar citrus amber contour */
  --ft-laser-core: #ff9500;
  --ft-laser-lemon: #e67700;
  --ft-laser-amber: #b84c00;
  --ft-laser-fade: rgba(184, 76, 0, 0.03);
  --ft-ambient-color: rgba(255, 140, 0, 0.38);
  --ft-wash-color: rgba(232, 106, 0, 0.7);
  --ft-wash-mid: rgba(200, 80, 0, 0.18);
}

:root[data-theme="dark"] {
  /* Dark theme: White-hot Lemon spark (#fffde6) -> Electric Lemon (#ffe000) -> Warm Brand Orange (#ff8c00) */
  --ft-laser-core: #fffde6;
  --ft-laser-lemon: #ffe000;
  --ft-laser-amber: #ff8c00;
  --ft-laser-fade: rgba(255, 140, 0, 0.04);
  --ft-ambient-color: rgba(255, 210, 40, 0.45);
  --ft-wash-color: rgba(255, 224, 0, 0.82);
  --ft-wash-mid: rgba(255, 140, 0, 0.22);
}

/* Soft baseline bottom fade */
.ft-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 25%;
  background: linear-gradient(to top, var(--bg, #0a0908), transparent);
  pointer-events: none;
}

:root:not([data-theme="dark"]) .ft-stage::after {
  background: linear-gradient(to top, var(--bg, #f5f4f0), transparent);
}

@media (hover: none) {
  .ft-svg-overlay {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ft-svg-overlay {
    transition: none !important;
  }
}
@media (max-width: 1000px) { .ft-hero { grid-template-columns: 1fr; } .ft-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) {
  .ft-soc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; }
  .soc-ic { height: 64px; border-radius: 18px; }
}
@media (max-width: 767.98px) {
  .ft-soc {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
  }
  .soc-ic {
    height: auto;
    aspect-ratio: 1;
    border-radius: 16px;
  }
  .soc-ic svg {
    width: 22px;
    height: 22px;
  }
}
@media (max-width: 600px) {
  .ft-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom a { margin: 0 18px 0 0; }
  .footer-bottom-links { gap: 8px; }
  .ft-resident { margin-right: 18px !important; margin-bottom: 4px; }
}
@media (max-width: 339.98px) {
  .ft-soc {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==== 08-request.css ==== */
/* =====================================================================
   Multi-step request form (.rq)
   ===================================================================== */
.rq { --rq-p: 0; position: relative; margin-top: 20px; }
.rq-head { display: grid; gap: 14px; margin-bottom: 20px; }
.rq-steps { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--label-3); counter-reset: none; }
.rq-steps li { display: inline-flex; align-items: center; gap: 8px; transition: color var(--t-mid) ease; }
.rq-steps li + li::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--fill-2); margin-right: 2px; }
.rq-steps span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; background: var(--fill); color: var(--label-2); transition: background-color var(--t-mid) ease, color var(--t-mid) ease, transform var(--t-mid) var(--spring), box-shadow var(--t-mid) ease; }
.rq-steps span .i { width: 14px; height: 14px; }
.rq-steps li.is-on { color: var(--ink); }
.rq-steps li.is-on span { background: var(--brand); color: var(--on-brand); box-shadow: 0 6px 14px -6px rgba(var(--brand-rgb), 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.rq-steps li.is-cur span { transform: scale(1.12); }
.rq.is-done .rq-steps li span { background: linear-gradient(145deg, #fff06a, #ffc400); color: var(--on-brand); }
.rq-meter { display: flex; align-items: center; gap: 12px; }
.rq-track { position: relative; flex: 1; height: 10px; border-radius: 10px; background: var(--fill); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12); }
.rq-track i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); border-radius: inherit; background: var(--grad-brand); box-shadow: 0 0 12px rgba(var(--brand-rgb), 0.6); transition: transform 0.6s var(--spring); }
.rq-track i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 100%); background-size: 40% 100%; background-repeat: no-repeat; animation: rq-shine 2.2s ease-in-out infinite; }
@keyframes rq-shine { from { background-position: -60% 0; } to { background-position: 160% 0; } }
.rq-pct { min-width: 3.4ch; text-align: right; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rq-stage { position: relative; }
.rq-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
.rq-legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rq-legend + * { clear: both; }
.rq-opt { font-size: 12.5px; font-weight: 600; color: var(--label-2); padding: 3px 10px; border-radius: 999px; background: var(--fill); }

/* floating-label fields */
.rq-field { position: relative; display: block; }
.rq-field input, .rq-field textarea {
  width: 100%; height: 62px; padding: 24px 46px 8px 18px; border: 0; border-radius: 18px; font-size: 17px; color: var(--ink); -webkit-appearance: none; appearance: none;
  background: var(--bg-sunk); box-shadow: inset 0 0 0 1px transparent, inset 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--t-fast) ease, background-color var(--t-fast) ease;
}
.rq-field textarea { height: auto; min-height: 104px; padding-top: 30px; resize: vertical; line-height: 1.45; }
.rq-field > span { position: absolute; left: 18px; top: 20px; font-size: 16.5px; color: var(--label-2); pointer-events: none; transform-origin: 0 0; transition: transform 0.3s var(--spring), color var(--t-fast) ease; }
.rq-field > span em { font-style: normal; color: var(--brand-ink); margin-left: 3px; }
.rq-field input:focus, .rq-field textarea:focus { outline: none; background: var(--bg-elev); box-shadow: inset 0 0 0 1.5px var(--brand), 0 0 0 5px rgba(var(--brand-rgb), 0.16); }
.rq-field input:focus + span, .rq-field input:not(:placeholder-shown) + span,
.rq-field textarea:focus + span, .rq-field textarea:not(:placeholder-shown) + span { transform: translateY(-11px) scale(0.76); color: var(--label-2); }
.rq-field .rq-ok { position: absolute; right: 16px; top: 21px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: var(--on-brand); background: linear-gradient(145deg, #fff06a, #ffc400); opacity: 0; transform: scale(0.4); transition: opacity 0.25s ease, transform 0.45s var(--spring); }
.rq-field.is-ok .rq-ok { opacity: 1; transform: none; }
.rq-field.is-invalid input { box-shadow: inset 0 0 0 1.5px var(--danger), 0 0 0 5px rgba(229, 72, 77, 0.14); }
.rq-field.is-shake { animation: rq-shake 0.45s var(--ease-out); }
@keyframes rq-shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
.rq-count { position: absolute; right: 14px; bottom: 10px; font-size: 12px; color: var(--label-3); font-variant-numeric: tabular-nums; }
.rq-error { font-size: 14px; color: var(--danger); font-weight: 600; }
.rq-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.rq-hint { font-size: 13.5px; color: var(--label-2); }
.rq-next .i, .rq-send .i { transition: transform var(--t-mid) var(--spring); }
.rq-next:hover .i { transform: translateX(4px); }
.rq-back { width: 50px; padding: 0; }
.rq-back .i { transform: rotate(180deg); }
.rq-actions-2 .rq-send { margin-left: auto; }
.rq.is-sending .rq-send { pointer-events: none; opacity: 0.7; }
.rq.is-sending .rq-send .i { animation: rq-fly 0.9s ease-in-out infinite; }
@keyframes rq-fly { 50% { transform: translate(4px, -4px); } }

.rq-group { display: grid; gap: 10px; }
.rq-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; font-weight: 700; color: var(--label-2); }
.rq-budget { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.rq-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rq-chips .chip, .rq-presets .chip { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; padding: 9px 14px; }
.rq-chips .chip .i { width: 17px; height: 17px; opacity: 0.8; }
.rq-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.rq-presets .chip { font-size: 13.5px; padding: 7px 12px; }

/* dual range */
.rq-range { --lo: 10%; --hi: 40%; position: relative; height: 44px; margin-top: 2px; }
.rq-rtrack { position: absolute; left: 0; right: 0; top: 14px; height: 8px; border-radius: 8px; background: var(--fill); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12); }
.rq-rtrack i { position: absolute; top: 0; bottom: 0; left: var(--lo); right: calc(100% - var(--hi)); border-radius: inherit; background: var(--grad-brand); box-shadow: 0 0 12px rgba(var(--brand-rgb), 0.55); transition: left 0.15s ease, right 0.15s ease; }
.rq-range input[type="range"] { position: absolute; left: -2px; right: -2px; width: calc(100% + 4px); top: 4px; height: 28px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; z-index: 2; }
.rq-range input[type="range"]::-webkit-slider-runnable-track { background: none; height: 28px; box-shadow: none; }
.rq-range input[type="range"]::-moz-range-track { background: none; height: 28px; box-shadow: none; }
.rq-range input[type="range"]::-moz-range-progress { background: none; }
.rq-range input[type="range"]::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 28px; height: 28px; margin-top: 0; border-radius: 50%; background: #fff; border: 0; cursor: grab; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 0.5px rgba(0, 0, 0, 0.08), inset 0 -2px 3px rgba(0, 0, 0, 0.06); transition: transform 0.2s var(--spring); }
.rq-range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; cursor: grab; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 0.5px rgba(0, 0, 0, 0.08); }
.rq-range input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); cursor: grabbing; }
.rq-range input[type="range"]:focus-visible { outline: none; }
.rq-range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(var(--brand-rgb), 0.35), 0 4px 12px rgba(0, 0, 0, 0.25); }
.rq-scale { position: absolute; left: 0; right: 0; bottom: -4px; display: flex; justify-content: space-between; font-size: 11.5px; color: var(--label-3); font-weight: 600; }
.rq.bud-unknown .rq-range { opacity: 0.35; filter: grayscale(1); }
.rq-presets .chip[aria-pressed="true"] { background: var(--ink-fill); color: var(--on-ink); }

/* done */
.rq-done { text-align: center; justify-items: center; padding: 8px 0 4px; outline: none; }
.rq-check {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
}
.rq-check::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.42) 0%, rgba(34, 197, 94, 0) 72%);
  opacity: 0;
  transform: scale(0.65);
  pointer-events: none;
  z-index: 0;
}
:root[data-theme="dark"] .rq-check::before {
  background: radial-gradient(circle, rgba(52, 199, 89, 0.5) 0%, rgba(52, 199, 89, 0) 72%);
}
.rq-check svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
  filter: drop-shadow(0 4px 16px rgba(34, 197, 94, 0.32));
}
:root[data-theme="dark"] .rq-check svg {
  filter: drop-shadow(0 4px 18px rgba(52, 199, 89, 0.45));
}
.rq-check circle {
  stroke: #16a34a;
  stroke-width: 3.2;
  stroke-dasharray: 152;
  stroke-dashoffset: 152;
  fill: rgba(34, 197, 94, 0.12);
  transform-origin: center;
}
:root[data-theme="dark"] .rq-check circle {
  stroke: #34c759;
  fill: rgba(52, 199, 89, 0.16);
}
.rq-check path {
  stroke: #16a34a;
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 42;
  stroke-dashoffset: 42;
}
:root[data-theme="dark"] .rq-check path {
  stroke: #34c759;
}

/* Checkmark Keyframe Animations */
.rq.is-done .rq-check circle,
.rq-check.is-animating circle {
  animation: rq-draw-circle 0.65s cubic-bezier(0.65, 0, 0.45, 1) 0.05s forwards;
}
.rq.is-done .rq-check path,
.rq-check.is-animating path {
  animation: rq-draw-check 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.25) 0.5s forwards;
}
.rq-check.is-animating svg {
  animation: rq-pop 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.45s both;
}
.rq-check.is-animating::before {
  animation: rq-pulse 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

@keyframes rq-draw-circle {
  0% { stroke-dashoffset: 152; }
  100% { stroke-dashoffset: 0; }
}
@keyframes rq-draw-check {
  0% { stroke-dashoffset: 42; }
  100% { stroke-dashoffset: 0; }
}
@keyframes rq-pop {
  0% { transform: scale(0.92); }
  60% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
@keyframes rq-pulse {
  0% { opacity: 0; transform: scale(0.7); }
  40% { opacity: 0.9; }
  100% { opacity: 0; transform: scale(1.4); }
}
@media (prefers-reduced-motion: reduce) {
  .rq-check circle,
  .rq-check path { stroke-dashoffset: 0 !important; animation: none !important; }
  .rq-check svg,
  .rq-check::before { animation: none !important; }
}

.rq-spark { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 2px; background: var(--c); animation: rq-spark 1.1s var(--ease-out) forwards; }
@keyframes rq-spark { 0% { transform: translate(0, 0) scale(1) rotate(0); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(0.2) rotate(240deg); opacity: 0; } }
.rq-done-title { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.rq-done-text { color: var(--label-2); max-width: 42ch; }
.rq-done .rq-actions { justify-content: center; }
@media (max-width: 560px) {
  .rq-steps li:not(.is-cur) { font-size: 0; gap: 0; }
  .rq-steps li + li::before { width: 16px; }
  .rq-actions-2 { display: grid; grid-template-columns: 50px 1fr; }
  .rq-actions-2 .rq-send { grid-column: 1 / -1; margin: 0; order: -1; width: 100%; }
  .rq-next { width: 100%; }
}

/* no form endpoint yet: the visitor sends the prepared text via Telegram / e-mail */
.rq-fb-actions { margin-top: 18px; }
.rq-check-fb { display: grid; place-items: center; border-radius: 50%; color: #16a34a; background: rgba(34, 197, 94, 0.12); box-shadow: inset 0 0 0 3px rgba(34, 197, 94, 0.35); }
:root[data-theme="dark"] .rq-check-fb { color: #34c759; background: rgba(52, 199, 89, 0.16); box-shadow: inset 0 0 0 3px rgba(52, 199, 89, 0.4); }
.rq-check-fb .i { width: 38px; height: 38px; }
.form-send { margin-top: 16px; padding: 16px; border-radius: 18px; background: rgba(var(--brand-rgb), 0.08); box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), 0.18); }
.form-send p { font-size: 14.5px; color: var(--label-2); }
.form-send p b { color: var(--ink); }
.form-send .rq-actions { margin-top: 12px; flex-wrap: wrap; }

/* ==== 09-home.css ==== */
/* =====================================================================
   Home: hero (Cleversoft scene), logos, statement, skills, pipeline
   ===================================================================== */
.eb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 10px rgba(var(--brand-rgb), 0.8); flex: none; }

/* ---------- Hero ---------- */
.hh { position: relative; min-height: max(760px, 100svh); padding: calc(var(--header-h) + 48px) 0 72px; overflow: hidden; display: flex; align-items: center; }
.hh > .aurora { opacity: 0.9; }
.hh-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hh-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: var(--r-pill); font-size: 14px; font-weight: 700;
  background: var(--g-fill-thin); -webkit-backdrop-filter: blur(18px) saturate(190%); backdrop-filter: blur(18px) saturate(190%); box-shadow: var(--g-rims), 0 0 0 0.5px var(--g-edge), 0 8px 24px -12px rgba(var(--brand-rgb), 0.5);
}
.hh-pill-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--on-brand); background: var(--grad-brand); box-shadow: 0 4px 12px -2px rgba(var(--brand-rgb), 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.hh-pill-ic .i { width: 16px; height: 16px; }
.hh-pill-sep { width: 1px; height: 14px; background: var(--sep); }
.hh-pill-note { font-weight: 600; color: var(--label-2); }
.hh-title { margin-top: 24px; font-size: clamp(40px, 5.5vw, 86px); }
.hh-lead { margin-top: 24px; max-width: 32em; }
.hh-cta { margin-top: 34px; }
.hh-meta { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 38px; }
.hh-meta li { display: grid; }
.hh-meta b { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.hh-meta span { font-size: 13.5px; color: var(--label-2); }

.hh-stage { position: relative; width: 100%; max-width: 660px; aspect-ratio: 1; justify-self: center; }
:root:not([data-theme="dark"]) .hh-stage::before {
  content: ""; position: absolute; inset: -15%; border-radius: 50%;
  background: radial-gradient(circle at 50% 48%, rgba(255, 175, 40, 0.16), rgba(255, 215, 60, 0.08) 45%, transparent 70%);
  filter: blur(38px); pointer-events: none; z-index: 0;
}
.hh-cv { position: absolute; left: -12%; top: -12%; width: 124%; height: 124%; max-width: none; pointer-events: none; }
.hh-orb {
  position: absolute; left: 50%; top: 48%; width: 42%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; z-index: 3; pointer-events: none;
  background: transparent;
  box-shadow: 0 0 60px -10px rgba(var(--brand-rgb), 0.35), inset 0 0 40px rgba(var(--brand-rgb), 0.1);
  transition: transform var(--t-slow) var(--spring);
}
.hh-orb::before { content: ""; position: absolute; left: 16%; top: 10%; width: 38%; height: 22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0)); transform: rotate(-24deg); filter: blur(3px); opacity: 0.65; pointer-events: none; }
.hh-orb::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; padding: 1.5px; background: conic-gradient(from var(--orb-a, 0deg), rgba(255, 255, 255, 0.8), rgba(var(--brand-rgb), 0.35) 25%, rgba(255, 255, 255, 0.15) 45%, rgba(var(--green-rgb), 0.55) 70%, rgba(255, 255, 255, 0.8)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: orb-rim 9s linear infinite; pointer-events: none; }
@property --orb-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes orb-rim { to { --orb-a: 360deg; } }
:root[data-theme="dark"] .hh-orb { box-shadow: 0 0 70px -10px rgba(var(--brand-rgb), 0.45), inset 0 0 40px rgba(var(--brand-rgb), 0.18); }
:root[data-theme="dark"] .hh-orb::before { opacity: 0.35; }
.hh-orb-core { position: absolute; inset: 26%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--brand-rgb), 0.22), rgba(var(--brand-rgb), 0) 70%); animation: orb-pulse 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes orb-pulse { 50% { transform: scale(1.25); opacity: 0.6; } }
.hh-orb-label {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 5; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 7px 16px 7px 12px; border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink);
  background: var(--g-fill-thick); -webkit-backdrop-filter: blur(20px) saturate(200%); backdrop-filter: blur(20px) saturate(200%); box-shadow: var(--g-shadow), var(--g-rims), 0 0 0 0.5px var(--g-edge);
}
.hh-orb-label svg { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; }

.hh-src { position: absolute; inset: 0; pointer-events: none; }
.hh-src li { position: absolute; left: 50%; top: 48%; z-index: 4; display: grid; justify-items: center; gap: 6px; margin: -28px 0 0 -28px; width: 56px; will-change: transform, opacity; }
.hh-src li.is-back { z-index: 1; }
.hh-src small { font-size: 11.5px; font-weight: 700; color: var(--label-2); white-space: nowrap; padding: 2px 8px; border-radius: 999px; background: var(--g-fill-thin); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hh-src .app-icon { --s: 50px; font-weight: 800; font-size: 16px; letter-spacing: -0.03em; }
.hs-tg { background: linear-gradient(145deg, #5dc8ff, #1b8ed9); --ic-glow: 27, 142, 217; }
.hs-xl { background: linear-gradient(145deg, #3fd08a, #13874f); --ic-glow: 19, 135, 79; }
.hs-pdf { background: linear-gradient(145deg, #ff7a7a, #d6303a); --ic-glow: 214, 48, 58; }
.hs-py { background: linear-gradient(145deg, #3776ab, #24537d); color: #ffd43a; --ic-glow: 55, 118, 171; }
.hs-node { background: linear-gradient(145deg, #539e43, #336928); color: #fff; --ic-glow: 83, 158, 67; }
.hs-react { background: linear-gradient(145deg, #20232a, #101317); color: #00d8ff; --ic-glow: 0, 216, 255; }
.hs-git { background: linear-gradient(145deg, #f05032, #c7381d); color: #fff; --ic-glow: 240, 80, 50; }
.hs-docker { background: linear-gradient(145deg, #2496ed, #1565c0); color: #fff; --ic-glow: 36, 150, 237; }
.hs-ts { background: linear-gradient(145deg, #3178c6, #1f5694); color: #fff; font-size: 18px; font-weight: 800; --ic-glow: 49, 120, 198; }
.hs-pg { background: linear-gradient(145deg, #336791, #214361); color: #fff; --ic-glow: 51, 103, 145; }
.hs-api { background: linear-gradient(145deg, #10b981, #059669); color: #fff; --ic-glow: 16, 185, 129; }
.hs-devops { background: linear-gradient(145deg, #ff8c00, #d9480f); color: #fff; --ic-glow: 255, 140, 0; }

.hh-feed { position: absolute; right: -2%; bottom: 7%; width: min(320px, 62%); z-index: 4; display: grid; gap: 10px; }
.hh-card {
  display: grid; grid-template-columns: 34px 1fr; gap: 4px 10px; padding: 12px 14px; border-radius: 20px; color: var(--ink);
  background: var(--g-fill-thick); -webkit-backdrop-filter: blur(26px) saturate(200%); backdrop-filter: blur(26px) saturate(200%);
  box-shadow: var(--g-shadow-lift), var(--g-rims), 0 0 0 0.5px var(--g-edge);
  transform-origin: 20% 0; animation: hh-card-in 0.7s var(--spring) both;
}
.hh-card.is-out { animation: hh-card-out 0.45s ease forwards; }
.hh-card .app-icon { --s: 34px; grid-row: span 3; }
.hh-card b { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.hh-card span { font-size: 13px; color: var(--label-2); line-height: 1.35; }
.hh-card small { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--brand-ink); }
.hh-card small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 6px rgba(var(--brand-rgb), 0.9); }
@keyframes hh-card-in { from { opacity: 0; transform: translateY(18px) scale(0.86); filter: blur(6px); } }
@keyframes hh-card-out { to { opacity: 0; transform: translateY(-14px) scale(0.92); filter: blur(4px); } }
.hh-status {
  position: absolute; left: 0; bottom: 4%; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); font-size: 12.5px; color: var(--label-2);
  background: var(--g-fill); -webkit-backdrop-filter: blur(18px) saturate(190%); backdrop-filter: blur(18px) saturate(190%); box-shadow: var(--g-shadow), var(--g-rims), 0 0 0 0.5px var(--g-edge);
  animation: hh-float-status 4.5s ease-in-out infinite;
}
@keyframes hh-float-status {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.hh-status b { color: var(--ink); }
.hh-status [data-hh-docs] { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.motion .hh-copy > *, .motion .hh-stage { opacity: 0; }
.motion .hh-title.is-split { opacity: 1; }
@media (max-width: 1000px) {
  .hh { min-height: 0; padding-top: calc(var(--header-h) + 36px); }
  .hh-in { grid-template-columns: minmax(0, 1fr); }
  .hh-stage { max-width: 520px; margin-top: 8px; }
}
@media (max-width: 560px) {
  .hh-stage { width: 112%; margin-left: -6%; }
  .hh-src .app-icon { --s: 40px; font-size: 13px; }
  .hh-src small { font-size: 10.5px; }
  .hh-feed { right: 8%; left: 8%; width: auto; bottom: -6%; }
  .hh-feed .hh-card:not(:last-child) { display: none; }
  .hh-stage { margin-top: -10%; margin-bottom: 8%; }
  .hh-status { display: none; }
  .hh-meta { gap: 12px 22px; }
}

/* ---------- Logos: two opposite marquees ---------- */
.lg-logos { position: relative; padding: clamp(48px, 7vw, 96px) 0; }
.lg-logos-head { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); margin-bottom: clamp(24px, 3vw, 40px); }
.lg-logos-count b { display: block; font-size: clamp(64px, 8vw, 120px); font-weight: 800; letter-spacing: -0.06em; line-height: 0.85; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-logos-title { font-size: clamp(18px, 1.8vw, 26px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; max-width: 26ch; }
.lg-rows { display: grid; gap: 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.lg-row { display: flex; overflow: hidden; }
.lg-track { display: flex; gap: 16px; padding-right: 16px; flex: none; animation: lg-marq 70s linear infinite; }
.lg-row.is-rev .lg-track { animation-direction: reverse; animation-duration: 80s; }
.lg-row:hover .lg-track { animation-play-state: paused; }
.lg-tile { position: relative; width: clamp(176px, 16vw, 216px); aspect-ratio: 480 / 252; flex: none; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--card-shadow), inset 0 0 0 1px rgba(47, 42, 33, 0.05); transition: box-shadow var(--t-mid) ease; --zoom: 1.8; --lens: 96px; }
/* наведение: плитка не двигается (ряд обрезан по высоте). Вместо этого — «лупа» из жидкого стекла:
   круглая линза едет за курсором (--mx/--my/--img/--lens из home.js) и увеличивает логотип под собой
   (тот же файл фоном, масштаб --zoom, позиция считается так, чтобы точка под курсором осталась на месте),
   остальной логотип слегка «запотевает»; по краю плитки бежит световой ободок */
.lg-tile img { width: 100%; height: 100%; object-fit: contain; padding: clamp(12px, 1.4vw, 18px); box-sizing: border-box; transition: filter 0.45s ease, opacity 0.45s ease; }
.lg-tile::before { content: ""; position: absolute; z-index: 2; pointer-events: none; left: var(--mx, 50%); top: var(--my, 50%); width: var(--lens); height: var(--lens); border-radius: 50%; transform: translate(-50%, -50%) scale(0.3); opacity: 0;
  background-color: #fff;
  background-image:
    radial-gradient(circle at 31% 24%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0) 56%, rgba(var(--brand-rgb), 0.14) 80%, rgba(var(--green-rgb), 0.18) 92%, rgba(255, 255, 255, 0.9) 100%),
    var(--img, none);
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, calc(var(--w, 216px) * var(--zoom)) calc(var(--h, 113px) * var(--zoom));
  background-position: 0 0, 0 0, calc(var(--lens) / 2 - var(--mx, 0px) * var(--zoom)) calc(var(--lens) / 2 - var(--my, 0px) * var(--zoom));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), inset 0 -12px 20px rgba(47, 42, 33, 0.14), inset 0 12px 18px rgba(255, 255, 255, 0.55), 0 18px 34px -12px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(47, 42, 33, 0.1);
  transition: transform 0.5s var(--spring), opacity 0.22s ease; }
.lg-tile::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; padding: 2px; opacity: 0; transition: opacity 0.35s ease; background: conic-gradient(from var(--orb-a, 0deg), rgba(var(--brand-rgb), 0) 0%, var(--brand) 18%, var(--green) 32%, rgba(var(--brand-rgb), 0) 48%, rgba(var(--brand-rgb), 0) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
@media (hover: hover) {
  .lg-tile:hover { box-shadow: var(--card-shadow-lift), inset 0 0 0 1px rgba(47, 42, 33, 0.05); }
  .lg-tile:hover img { filter: blur(1.4px) saturate(0.7); opacity: 0.55; }
  .lg-tile:hover::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .lg-tile:hover::after { opacity: 1; animation: orb-rim 2.4s linear infinite; }
}
:root[data-theme="dark"] .lg-tile { background: #f3f4f6; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.8); filter: brightness(0.94); }
:root[data-theme="dark"] .lg-tile:hover { filter: none; }
@keyframes lg-marq { to { transform: translateX(-100%); } }
@media (max-width: 600px) { .lg-logos-head { flex-direction: column; align-items: flex-start; gap: 10px; } .lg-rows { gap: 10px; } .lg-track { gap: 10px; padding-right: 10px; } .lg-tile { width: 150px; border-radius: 16px; } }
@media (prefers-reduced-motion: reduce) { .lg-track { animation: none; } .lg-row.is-rev { justify-content: flex-end; } .lg-tile img, .lg-tile::before { transition: none; } .lg-tile:hover::after { animation: none; } }

/* ---------- Statement: chaos → one brain ---------- */
.st { position: relative; }
.st-pin { display: flex; align-items: center; padding: clamp(64px, 8vw, 104px) 0; }
.st-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; width: min(100% - 2 * var(--gutter), var(--max)); }
.st-title { font-size: clamp(30px, 3.2vw, 48px); }
.st-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.st-stats li { padding: 18px; border-radius: 22px; background-color: var(--card-fill); -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%); backdrop-filter: blur(var(--card-blur)) saturate(180%); box-shadow: var(--card-shadow), var(--card-rims); }
.st-stats b { display: block; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.st-stats span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--label-2); line-height: 1.35; }
.st-stats sup, .st-note sup { color: var(--brand-ink); font-weight: 700; }
.st-note { margin-top: 14px; font-size: 12px; color: var(--label-3); }
.st-scene { position: relative; height: clamp(440px, 46vw, 580px); }
.st-card {
  --x: 0px; --y: 0px; --r: 0deg; position: absolute; left: 50%; top: 50%; width: 270px; display: flex; gap: 12px; align-items: center; padding: 11px 14px 11px 11px; border-radius: 18px;
  background-color: var(--card-fill); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); box-shadow: var(--card-shadow-lift), var(--card-rims);
  transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r)); will-change: transform;
}
.st-card > span:last-child { min-width: 0; }
.st-card b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-card small { display: block; font-size: 12px; color: var(--label-2); }
.st-card .app-icon { --s: 34px; font-size: 12px; font-weight: 800; }
.st-card.c1 { --x: -150px; --y: -210px; --r: -8deg; }
.st-card.c2 { --x: 130px; --y: -170px; --r: 6deg; }
.st-card.c3 { --x: -190px; --y: -60px; --r: 4deg; }
.st-card.c4 { --x: 170px; --y: -40px; --r: -5deg; }
.st-card.c5 { --x: -120px; --y: 80px; --r: -3deg; }
.st-card.c6 { --x: 160px; --y: 110px; --r: 7deg; }
.st-card.c7 { --x: -170px; --y: 200px; --r: 5deg; }
.st-card.c8 { --x: 120px; --y: 230px; --r: -6deg; }
.st-brain {
  position: absolute; left: 50%; top: 50%; width: min(400px, 94%); translate: -50% -50%; z-index: 2; padding: 18px; border-radius: 26px;
  background-color: var(--g-fill-thick); background-image: radial-gradient(120% 80% at 20% -10%, var(--g-spec), rgba(255, 255, 255, 0) 55%);
  -webkit-backdrop-filter: blur(30px) saturate(200%); backdrop-filter: blur(30px) saturate(200%);
  box-shadow: 0 40px 90px -30px rgba(158, 69, 0, 0.45), var(--g-rims), 0 0 0 0.5px var(--g-edge), 0 0 0 6px rgba(var(--brand-rgb), 0.08);
}
.st-brain-head { display: flex; align-items: center; gap: 10px; }
.st-brain-head b { font-size: 15px; }
.st-brain-src { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--green-deep); padding: 4px 10px; border-radius: 999px; background: rgba(var(--green-rgb), 0.14); font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] .st-brain-src { color: #ffe841; }
.st-brain-q { margin-top: 14px; padding: 10px 14px; border-radius: 14px; background: var(--fill); font-size: 14px; font-weight: 600; }
.st-brain-a { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.st-brain .cite { background: rgba(var(--brand-rgb), 0.16); color: var(--brand-ink); }
.st-brain-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.st-brain-chips span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 10px; background: var(--fill); color: var(--label-2); }
.st-brain-chips .i { width: 14px; height: 14px; color: var(--brand-ink); }
@media (max-width: 1000px) {
  .st-pin { min-height: 0; }
  .st-in { grid-template-columns: 1fr; }
  .st-scene { height: 520px; }
}
@media (max-width: 560px) {
  .st-stats { grid-template-columns: 1fr; }
  .st-stats li { display: flex; gap: 14px; align-items: baseline; }
  .st-stats b { flex: none; min-width: 3.4ch; white-space: nowrap; }
  .st-stats span { margin: 0; }
  .st-scene { height: 470px; }
  .st-card { width: 220px; }
  .st-card.c1, .st-card.c3, .st-card.c5, .st-card.c7 { --x: -70px; }
  .st-card.c2, .st-card.c4, .st-card.c6, .st-card.c8 { --x: 70px; }
}

/* ---------- Skills rail ---------- */
.sk { position: relative; }
.sk-pin { padding: clamp(80px, 10vw, 120px) 0 clamp(60px, 7vw, 90px); overflow: hidden; }
.sk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.sk-head .lead { max-width: 30em; }
.sk-rail { position: relative; }
.sk-track { display: flex; gap: 18px; width: max-content; padding: 14px max(var(--gutter), calc((100vw - var(--max)) / 2)) 34px; will-change: transform; }
.sk-card {
  width: 330px; min-height: 430px; flex: none; border-radius: 30px; padding: 26px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden;
  background-color: var(--card-fill); -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%); backdrop-filter: blur(var(--card-blur)) saturate(180%); box-shadow: var(--card-shadow), var(--card-rims);
  transition: translate var(--t-mid) var(--ease-out), box-shadow var(--t-mid) ease;
}
.sk-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--brand-rgb), 0.16), rgba(var(--brand-rgb), 0) 70%); pointer-events: none; }
@media (hover: hover) { .sk-card:hover { translate: 0 -6px; box-shadow: var(--card-shadow-lift), var(--card-rims); } }
.sk-top { display: flex; justify-content: space-between; align-items: flex-start; }
.sk-n { font-size: 13px; font-weight: 800; color: var(--label-3); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.sk-name { font-size: 24px; letter-spacing: -0.03em; margin-top: 12px; }
.sk-text { color: var(--label-2); font-size: 15px; line-height: 1.5; }
.sk-kpi, .sk-action { margin-top: auto; padding-top: 16px; box-shadow: inset 0 1px 0 var(--sep); }
.sk-btn { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-weight: 600; border-radius: 14px; }
.sk-btn .i { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease-out); color: var(--brand, #ffe000); }
.sk-card:hover .sk-btn .i { transform: translateX(4px); }
.sk-kpi b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sk-kpi span { display: block; font-size: 13.5px; color: var(--label-2); margin-top: 4px; }
.sk-more { background: radial-gradient(90% 70% at 100% 0%, rgba(var(--brand-rgb), 0.45), rgba(var(--brand-rgb), 0) 60%), linear-gradient(160deg, #15171c, #050607); color: #fff; justify-content: flex-end; box-shadow: var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.sk-more .sk-text { color: var(--night-label-2); }
.sk-more .btn { align-self: flex-start; margin-top: 10px; }
.sk-more-ic { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; margin-bottom: auto; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.sk-more-ic .i { width: 28px; height: 28px; }
.sk-progress { height: 3px; border-radius: 3px; background: var(--fill); overflow: hidden; }
.sk-progress i { display: block; height: 100%; background: var(--grad-brand); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 900px) {
  .sk-pin { padding: clamp(48px, 8vw, 80px) 0; overflow: visible; }
  .sk-head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .sk-rail { overflow: visible; }
  .sk-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 16px;
    width: 100%;
    padding: 0;
    transform: none !important;
  }
  .sk-card {
    width: 100%;
    min-height: auto;
  }
  .sk-progress { display: none; }
}

/* ---------- Pipeline (process as CI/CD) ---------- */
.pl { position: relative; }
.pl-pin { padding: clamp(80px, 10vw, 120px) 0 clamp(60px, 8vw, 100px); }
.pl-track { --pl-p: 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pl-track:has(> :nth-child(6)) { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.pl-track:not(:has(> :nth-child(6))) .pl-job { padding: 10px 12px 10px 10px; gap: 10px; }
.pl-track:not(:has(> :nth-child(6))) .pl-job-t b { font-size: 14.5px; }
.pl-track:not(:has(> :nth-child(6))) .pl-detail p { font-size: 13px; line-height: 1.45; }
.pl-track::before, .pl-track::after { content: ""; position: absolute; left: 10%; right: 10%; top: 30px; height: 2px; border-radius: 2px; }
.pl-track:has(> :nth-child(6))::before, .pl-track:has(> :nth-child(6))::after { left: 5%; right: 5%; }
.pl-track::before { background: repeating-linear-gradient(90deg, var(--fill-2) 0 8px, transparent 8px 14px); }
.pl-track::after { background: var(--grad-brand); box-shadow: 0 0 10px rgba(var(--brand-rgb), 0.7); transform-origin: 0 50%; transform: scaleX(var(--pl-p)); }
.pl-node { position: relative; z-index: 1; }
.pl-job {
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 8px; border-radius: 18px; gap: 8px;
  background-color: var(--card-fill); -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%); backdrop-filter: blur(var(--card-blur)) saturate(180%); box-shadow: var(--card-shadow), var(--card-rims);
  transition: box-shadow var(--t-mid) ease, transform var(--t-mid) var(--spring);
}
.pl-node.is-run .pl-job { transform: translateY(-4px); box-shadow: var(--card-shadow-lift), var(--card-rims), 0 0 0 2px rgba(var(--brand-rgb), 0.5); }
.pl-status { position: relative; width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--fill); color: var(--label-2); transition: background var(--t-mid) ease, color var(--t-mid) ease; }
.pl-status .i { width: 18px; height: 18px; grid-area: 1 / 1; transition: opacity 0.25s ease, transform 0.4s var(--spring); }
.pl-ok { opacity: 0; transform: scale(0.4); }
.pl-spin { position: absolute; inset: 4px; border-radius: 50%; border: 2px solid rgba(var(--brand-rgb), 0.2); border-top-color: var(--brand); opacity: 0; animation: pl-spin 0.9s linear infinite; }
@keyframes pl-spin { to { transform: rotate(360deg); } }
.pl-node.is-run .pl-status { background: rgba(var(--brand-rgb), 0.12); color: var(--brand-ink); }
.pl-node.is-run .pl-spin { opacity: 1; }
.pl-node.is-done .pl-status { background: linear-gradient(145deg, #fff06a, #ffc400); color: var(--on-brand); box-shadow: 0 8px 18px -8px rgba(var(--green-rgb), 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.pl-node.is-done .pl-ic { opacity: 0; transform: scale(0.4); }
.pl-node.is-done .pl-ok { opacity: 1; transform: none; }
.pl-job-t { min-width: 0; }
.pl-job-t b { display: block; font-size: 13.5px; letter-spacing: -0.015em; line-height: 1.25; }
.pl-job-t small { display: block; font-size: 11.5px; color: var(--label-2); margin-top: 2px; }
.pl-detail { margin-top: 10px; padding: 0 2px; opacity: 0.4; transform: translateY(6px); transition: opacity 0.5s ease, transform 0.6s var(--ease-out); }
.pl-node.is-run .pl-detail, .pl-node.is-done .pl-detail { opacity: 1; transform: none; }
.pl-detail p { font-size: 12.5px; color: var(--label-2); line-height: 1.4; }
.pl-art { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 10px; border-radius: 10px; background: var(--fill); font-size: 12.5px !important; font-weight: 700; color: var(--ink) !important; }
.pl-art .i { width: 14px; height: 14px; color: var(--brand-ink); }
.pl-console { margin-top: 34px; border-radius: 22px; overflow: hidden; background: #0a0b0e; color: #e6e2dc; box-shadow: var(--card-shadow-lift), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.05); font: 500 13.5px/1.7 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.pl-console-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06); font-size: 12px; color: rgba(243, 241, 237, 0.55); }
.pl-console-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.pl-console-bar i:nth-child(2) { background: #febc2e; } .pl-console-bar i:nth-child(3) { background: #28c840; margin-right: 8px; }
.pl-console-state { margin-left: auto; padding: 2px 10px; border-radius: 999px; font-weight: 700; background: rgba(255, 255, 255, 0.08); color: rgba(243, 241, 237, 0.8); text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; }
.pl-console-state.is-run { background: rgba(var(--brand-rgb), 0.2); color: #ffd87f; }
.pl-console-state.is-ok { background: rgba(var(--green-rgb), 0.2); color: #ffe841; }
.pl-console-body { padding: 16px 18px 18px; min-height: 206px; }
.pl-cmd { color: rgba(243, 241, 237, 0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-cmd span { color: #ffe841; margin-right: 6px; }
.pl-line { display: grid; grid-template-columns: 124px minmax(0, 1fr) auto; gap: 14px; opacity: 0; transform: translateX(-8px); transition: opacity 0.35s ease, transform 0.45s var(--ease-out); }
.pl-line.is-on { opacity: 1; transform: none; }
.pl-l-stage { color: #ffd87f; }
.pl-l-msg { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-l-res { color: #ffe841; }
.pl-final .pl-l-stage, .pl-final .pl-l-msg { color: #ffe841; font-weight: 700; }
.pl-foot { margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 1000px) {
  .pl-track, .pl-track:has(> :nth-child(6)) { grid-template-columns: 1fr; gap: 12px; padding-left: 0; }
  .pl-job { padding: 11px 14px 11px 11px; gap: 12px; border-radius: 20px; }
  .pl-status { width: 44px; height: 44px; border-radius: 14px; }
  .pl-status .i { width: 20px; height: 20px; }
  .pl-job-t b { font-size: 15px; }
  .pl-job-t small { font-size: 12.5px; }
  .pl-detail { padding-left: 70px; margin-top: 8px; }
  .pl-detail p { font-size: 14px; }
  .pl-track::before, .pl-track::after, .pl-track:has(> :nth-child(6))::before, .pl-track:has(> :nth-child(6))::after { left: 32px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .pl-track::before { background: repeating-linear-gradient(180deg, var(--fill-2) 0 8px, transparent 8px 14px); }
  .pl-track::after { transform-origin: 50% 0; transform: scaleY(var(--pl-p)); }
  .pl-node { display: grid; grid-template-columns: 1fr; }
  .pl-detail { padding-left: 70px; margin-top: 8px; }
  .pl-line { grid-template-columns: 1fr auto; }
  .pl-l-stage { grid-column: 1 / -1; }
  .pl-console { font-size: 12px; }
}

/* ==== 10-calc.css ==== */
/* =====================================================================
   Calculator (Apple-Store-like configurator)
   ===================================================================== */
.cx { position: relative; }
.cx-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.cx-presets-l { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--label-2); margin-right: 4px; }
.cx-presets-l .i { width: 16px; height: 16px; color: var(--brand); }
.cx-preset {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink);
  background: var(--g-fill-thin); -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%); box-shadow: var(--g-rims), 0 0 0 0.5px var(--g-edge);
  transition: background-color var(--t-mid) ease, color var(--t-mid) ease, transform var(--t-fast) var(--ease-out), box-shadow var(--t-mid) ease;
}
.cx-preset .i { width: 17px; height: 17px; color: var(--brand-ink); }
.cx-preset:hover { background: var(--g-fill); }
.cx-preset:active { transform: scale(0.95); }
.cx-preset[aria-pressed="true"] { background: var(--ink-fill); color: var(--on-ink); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.5); }
.cx-preset[aria-pressed="true"] .i { color: var(--brand); }

.cx-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 20px; align-items: stretch; }
.cx-steps { display: flex; flex-direction: column; height: 100%; }
.cx-step, .cx-pair > .cx-step {
  border: 0; margin: 0; min-width: 0; padding: 28px; border-radius: 28px;
  background-color: var(--card-fill); -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%); backdrop-filter: blur(var(--card-blur)) saturate(180%); box-shadow: var(--card-shadow), var(--card-rims);
  height: 100%; display: flex; flex-direction: column; justify-content: space-between;
}
.cx-pair { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 14px; }
.cx-lg { float: left; display: flex; align-items: center; gap: 10px; width: 100%; padding: 0; margin-bottom: 20px; font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.cx-lg small { font-size: 13.5px; font-weight: 600; color: var(--label-2); margin-left: 2px; }
.cx-n { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; flex: none; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(145deg, #ffb63f, #cb6400); box-shadow: 0 5px 12px -5px rgba(var(--brand-rgb), 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.cx-val { margin-left: auto; font-size: 15px; font-weight: 800; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.cx-hint { font-size: 13.5px; color: var(--label-2); margin-top: 12px; }
.cx-lg + * { clear: both; }

.cx-skills { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cx-skill {
  position: relative; display: grid; align-content: space-between; gap: 12px; justify-items: start; text-align: left; padding: 18px; border-radius: 22px; min-height: 140px; color: var(--ink);
  background: var(--fill); box-shadow: inset 0 0 0 1.5px transparent; transition: background-color var(--t-mid) ease, box-shadow var(--t-mid) ease, transform var(--t-fast) var(--ease-out);
}
.cx-skill:hover { background: var(--fill-2); }
.cx-skill:active { transform: scale(0.97); }
.cx-skill .app-icon { --s: 40px; transition: transform var(--t-mid) var(--spring); }
.cx-skill-t b { display: block; font-size: 14.5px; line-height: 1.2; letter-spacing: -0.01em; }
.cx-skill-t small { display: block; font-size: 12px; color: var(--label-2); margin-top: 3px; line-height: 1.25; }
.cx-tick { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--fill-2); transition: background var(--t-mid) ease, box-shadow var(--t-mid) ease, transform var(--t-mid) var(--spring); }
.cx-tick svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(0.4); transition: opacity 0.2s ease, transform 0.35s var(--spring); }
.cx-skill.is-on { background: var(--bg-elev); box-shadow: inset 0 0 0 1.5px var(--brand), 0 10px 24px -14px rgba(var(--brand-rgb), 0.8); }
.cx-skill.is-on .app-icon { transform: scale(1.06) rotate(-4deg); }
.cx-skill.is-on .cx-tick { background: var(--brand); box-shadow: none; }
.cx-skill.is-on .cx-tick svg { opacity: 1; transform: none; }
.is-nope { animation: rq-shake 0.45s var(--ease-out); }

.cx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cx-chip { display: inline-flex; align-items: center; gap: 8px; }
.cx-chip .i { width: 17px; height: 17px; }

.cx-slider { position: relative; padding: 6px 0 10px; }
.cx-range { width: 100%; }
.cx-ticks { display: flex; justify-content: space-between; padding: 0 10px; margin-top: 6px; }
.cx-ticks i { width: 2px; height: 6px; border-radius: 2px; background: var(--fill-2); }
.cx-ticks i.is-major { height: 10px; background: var(--label-3); }

.cx-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cx-seg button { display: grid; gap: 1px; padding: 8px 6px; line-height: 1.15; }
.cx-seg button b { font-size: 15px; font-weight: 700; }
.cx-seg button small { font-size: 11.5px; font-weight: 500; color: var(--label-2); }

.cx-stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 16px; background: var(--fill); }
.cx-stepper button { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-elev); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); transition: transform var(--t-fast) var(--ease-out), opacity var(--t-fast) ease; }
.cx-stepper button:active { transform: scale(0.9); }
.cx-stepper button[disabled] { opacity: 0.35; cursor: default; }
.cx-stepper button .i { width: 18px; height: 18px; }
.cx-stepper output { min-width: 96px; text-align: center; font-weight: 800; font-size: 16px; }

.cx-deploy { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cx-deploy button { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 12px 14px; border-radius: 18px; background: var(--fill); box-shadow: inset 0 0 0 1.5px transparent; transition: background var(--t-mid) ease, box-shadow var(--t-mid) ease; }
.cx-deploy button .i { width: 20px; height: 20px; color: var(--brand-ink); }
.cx-deploy button b { font-size: 15px; }
.cx-deploy button small { font-size: 12px; color: var(--label-2); line-height: 1.25; }
.cx-deploy button.is-on { background: var(--bg-elev); box-shadow: inset 0 0 0 1.5px var(--brand), 0 10px 24px -14px rgba(var(--brand-rgb), 0.8); }

.cx-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cx-extra { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; text-align: left; background: var(--fill); transition: background var(--t-mid) ease; }
.cx-extra:hover { background: var(--fill-2); }
.cx-extra .app-icon { --s: 36px; }
.cx-extra-t { flex: 1; min-width: 0; }
.cx-extra-t b { display: block; font-size: 14.5px; }
.cx-extra-t small { display: block; font-size: 12px; color: var(--label-2); line-height: 1.25; }
.cx-extra.is-urgent[aria-checked="true"] .switch { background: var(--warn); }

/* summary card */
.cx-sum { height: 100%; position: relative; }
.cx-card {
  position: relative; overflow: hidden; isolation: isolate; container-type: inline-size; border-radius: 28px; padding: 28px; color: #fff;
  background: radial-gradient(120% 60% at 100% 0%, rgba(var(--brand-rgb), 0.35), rgba(var(--brand-rgb), 0) 60%), radial-gradient(90% 60% at 0% 100%, rgba(var(--green-rgb), 0.2), rgba(var(--green-rgb), 0) 60%), linear-gradient(165deg, #16181d, #07080a);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  height: 100%; display: flex; flex-direction: column; justify-content: space-between;
}
.cx-card.is-bump { animation: cx-bump 0.5s var(--spring); }
@keyframes cx-bump { 30% { transform: scale(1.012); } }
.cx-card-glow { position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(var(--brand-rgb), 0.4), rgba(var(--brand-rgb), 0) 65%); z-index: -1; animation: drift-b 14s ease-in-out infinite alternate; }
.cx-l { font-size: 13.5px; font-weight: 700; color: var(--night-label-2); }
.cx-range-out { font-size: clamp(20px, 9.3cqi, 31px); white-space: nowrap; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; margin-top: 6px; font-variant-numeric: tabular-nums; }
.cx-meter { position: relative; height: 8px; margin: 18px 0 26px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); }
.cx-meter i { position: absolute; inset: 0; border-radius: inherit; transform-origin: 0 50%; background: var(--grad-brand); box-shadow: 0 0 14px rgba(var(--brand-rgb), 0.7); transition: transform 0.7s var(--spring); }
.cx-meter span { position: absolute; top: 14px; font-size: 11px; font-weight: 600; color: rgba(243, 241, 237, 0.45); }
.cx-meter span:nth-of-type(1) { left: 0; } .cx-meter span:nth-of-type(2) { left: 50%; translate: -50% 0; } .cx-meter span:nth-of-type(3) { right: 0; }
.cx-facts { display: grid; gap: 0; margin: 0; border-radius: 18px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.cx-facts > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; }
.cx-facts > div + div { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07); }
.cx-facts dt { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--night-label-2); }
.cx-facts dt .i { width: 16px; height: 16px; color: #ffd87f; }
.cx-facts dd { margin: 0; font-size: 14px; font-weight: 700; text-align: right; }
.cx-stack { display: flex; gap: 3px; height: 10px; margin-top: 18px; border-radius: 6px; overflow: hidden; }
.cx-stack i { flex: 0 0 auto; transition: flex-grow 0.6s var(--spring); min-width: 4px; }
.cx-c1 { background: #ff8c00; } .cx-c2 { background: #ffe000; } .cx-c3 { background: #8e8e93; } .cx-c4 { background: #e8590c; } .cx-c5 { background: #c77dff; } .cx-c6 { background: #ff6b7a; }
.cx-parts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin-top: 12px; font-size: 12.5px; color: var(--night-label-2); }
.cx-parts li { display: flex; align-items: center; gap: 7px; }
.cx-parts li i { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.cx-parts li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-parts li b { color: #fff; font-weight: 700; }
.cx-mult { margin-top: 10px; font-size: 12.5px; color: #ffcf6b; }
.cx-actions { display: grid; gap: 8px; margin-top: 18px; }
.cx-card .btn-glass { background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }

/* calculator card lead form */
.cx-card-title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: #fff; margin: 0 0 6px; }
.cx-card-desc { font-size: 13.5px; line-height: 1.45; color: var(--night-label-2); margin: 0 0 18px; }
.cx-form { margin-top: auto; display: grid; gap: 12px; }
.cx-fields { display: grid; gap: 10px; }
.cx-field { position: relative; display: block; }
.cx-field input {
  width: 100%; height: 52px; padding: 20px 16px 6px 16px; border: 0; border-radius: 16px;
  font-family: inherit; font-size: 15px; color: #fff; -webkit-appearance: none; appearance: none;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: background-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.cx-field input:focus {
  outline: none; background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1.5px var(--brand), 0 0 16px rgba(var(--brand-rgb), 0.35);
}
.cx-field > span {
  position: absolute; left: 16px; top: 17px; font-size: 13.5px; color: var(--night-label-2);
  pointer-events: none; transform-origin: 0 0;
  transition: transform 0.25s var(--spring), color var(--t-fast) ease;
}
.cx-field > span em { font-style: normal; color: #ffd87f; margin-left: 2px; }
.cx-field input:focus + span,
.cx-field input:not(:placeholder-shown) + span {
  transform: translateY(-10px) scale(0.76);
  color: rgba(255, 255, 255, 0.65);
}
.cx-field.is-invalid input {
  box-shadow: inset 0 0 0 1.5px var(--danger), 0 0 12px rgba(229, 72, 77, 0.3);
}
.cx-form-error {
  font-size: 12px; color: #ff6b7a; font-weight: 600; line-height: 1.35; margin: -2px 0 2px;
}
.cx-submit {
  margin-top: 6px;
  --h: 56px;
}
.cx-form.is-sending .cx-submit {
  pointer-events: none; opacity: 0.7;
}
.cx-form-success {
  display: grid; gap: 10px; padding: 14px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: cx-fade 0.35s ease;
}
@keyframes cx-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cx-success-box { display: flex; align-items: center; gap: 12px; }
.cx-success-icon {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(145deg, #fff06a, #ffc400); color: var(--on-brand);
}
.cx-success-icon .i { width: 20px; height: 20px; }
.cx-success-box b { display: block; font-size: 14.5px; color: #fff; }
.cx-success-box p { font-size: 12px; color: var(--night-label-2); margin-top: 2px; line-height: 1.3; }
.cx-tg-btn { text-decoration: none; }
.cx-disc { margin-top: 14px; font-size: 11.5px; line-height: 1.45; color: rgba(243, 241, 237, 0.5); }

/* mobile bottom bar */
.cx-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 22px; color: #fff;
  background: rgba(16, 18, 22, 0.82); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateY(140%); transition: transform 0.5s var(--spring);
}
.cx-bar.is-on { transform: none; }
.cx-bar-t small { display: block; font-size: 11.5px; color: var(--night-label-2); }
.cx-bar-t b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .cx-skills { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .cx-grid { grid-template-columns: 1fr; }
  .cx-sum { position: static; height: auto; }
  .cx-steps, .cx-step, .cx-card { height: auto; }
  .cx-bar { display: flex; }
}
@media (max-width: 640px) {
  .cx-step, .cx-pair > .cx-step { padding: 18px; border-radius: 22px; }
  .cx-pair { grid-template-columns: 1fr; }
  .cx-extras { grid-template-columns: 1fr; }
  .cx-skill { min-height: 0; grid-template-columns: auto 1fr; align-items: center; }
  .cx-skill .app-icon { --s: 36px; }
  .cx-presets { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; scrollbar-width: none; }
  .cx-presets::-webkit-scrollbar { display: none; }
  .cx-preset { flex: none; }
}
@media (max-width: 420px) { .cx-skills { grid-template-columns: 1fr; } }

/* ==== 11-home2.css ==== */
/* =====================================================================
   Home part 2: industries, showcase, team cards, wallet, request section
   ===================================================================== */

/* ---------- Industries ---------- */
.ind-box { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 16px; align-items: stretch; }
.ind-tabs { display: grid; gap: 4px; align-content: space-between; }
.ind-stage { display: grid; }
.ind-panel { align-content: space-between; }
.ind-tab { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 18px; font-size: 15.5px; font-weight: 600; color: var(--label-2); text-align: left; transition: background var(--t-mid) ease, color var(--t-mid) ease, box-shadow var(--t-mid) ease; }
.ind-tab .i { width: 20px; height: 20px; color: var(--label-3); transition: color var(--t-mid) ease; }
.ind-tab:hover { background: var(--fill); color: var(--ink); }
.ind-tab[aria-selected="true"] { color: var(--ink); background-color: var(--card-fill); box-shadow: var(--card-shadow), var(--card-rims); }
.ind-tab[aria-selected="true"] .i { color: var(--brand); }
.ind-stage { position: relative; }
.ind-panel { display: grid; gap: 20px; padding: clamp(22px, 3vw, 34px); border-radius: 32px; background-color: var(--card-fill); -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%); backdrop-filter: blur(var(--card-blur)) saturate(180%); box-shadow: var(--card-shadow), var(--card-rims); }
.ind-panel[hidden] { display: none; }
.ind-panel.is-in { animation: ind-in 0.6s var(--ease-out) both; }
@keyframes ind-in { from { opacity: 0; transform: translateY(12px); } }
.ind-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: center; }
.ind-hero b { display: block; font-size: clamp(56px, 6.4vw, 92px); font-weight: 800; letter-spacing: -0.055em; line-height: 0.88; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ind-hero span { display: block; margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--label-2); max-width: 18ch; }
.ind-text { color: var(--label-2); font-size: 16px; line-height: 1.55; }
.ind-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ind-kpi { padding: 16px; border-radius: 20px; background: var(--fill); }
.ind-kpi-l { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 700; line-height: 1.3; min-height: 2.6em; }
.ind-gain { flex: none; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: rgba(var(--green-rgb), 0.16); color: #7d4d00; white-space: nowrap; }
:root[data-theme="dark"] .ind-gain { color: #ffe841; }
.ind-bars { display: grid; gap: 8px; margin-top: 12px; }
.ind-bar { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 12.5px; }
.ind-bar span { color: var(--label-2); }
.ind-bar i { position: relative; height: 10px; border-radius: 6px; background: var(--fill-2); overflow: hidden; }
.ind-bar i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: max(4px, var(--v)); border-radius: inherit; background: var(--label-3); transform-origin: 0 50%; }
.ind-bar.is-after i::after { background: var(--grad-brand); box-shadow: 0 0 10px rgba(var(--brand-rgb), 0.5); }
.ind-bar b { font-size: 13px; font-weight: 800; white-space: nowrap; }
.ind-panel.is-in .ind-bar i::after { animation: av-grow-x 1s var(--spring) both; }
.ind-panel.is-in .ind-bar.is-after i::after { animation-delay: 0.25s; }
.ind-trend { padding: 16px 18px 12px; border-radius: 20px; background: var(--fill); }
.ind-trend-l { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; font-weight: 700; }
.ind-trend-l span { font-weight: 500; font-size: 12.5px; color: var(--label-2); }
.ind-chart { display: block; width: 100%; height: 130px; margin-top: 10px; overflow: visible; }
.ind-chart .ic-area { fill: url(#ind-grad); }
.ind-chart .ic-line { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ind-chart .ic-dot { fill: var(--bg-elev); stroke: var(--brand); stroke-width: 3; vector-effect: non-scaling-stroke; }
.ind-chart .ic-grid { stroke: var(--sep); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ind-chart text { font-size: 12px; font-weight: 700; fill: var(--ink); }
.ind-last { font-size: 15px; font-weight: 800; color: var(--brand-ink); }
.ind-months { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--label-3); padding: 0 2px; }
@media (max-width: 960px) {
  .ind-box { grid-template-columns: 1fr; }
  .ind-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-inline: 0; padding: 0; overflow-x: visible; }
  .ind-tab { flex: 0 1 auto; font-size: 13.5px; padding: 9px 15px; border-radius: 999px; }
  .ind-kpis { grid-template-columns: 1fr; }
  .ind-kpi-l { min-height: 0; }
}
@media (max-width: 600px) { .ind-top { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Showcase: devices ---------- */
.sc-box { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.sc-list { display: grid; gap: 4px; }
.sc-tab { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 14px 16px 16px; border-radius: 18px; text-align: left; color: var(--ink); transition: background var(--t-mid) ease, box-shadow var(--t-mid) ease; }
.sc-tab:hover { background: var(--fill); }
.sc-tab[aria-selected="true"] { background-color: var(--card-fill); box-shadow: var(--card-shadow), var(--card-rims); }
.sc-tab-n { font-size: 12.5px; font-weight: 800; color: var(--label-3); font-variant-numeric: tabular-nums; }
.sc-tab-t b { display: block; font-size: 17px; letter-spacing: -0.02em; }
.sc-tab-t small { display: block; font-size: 12.5px; color: var(--label-2); margin-top: 2px; }
.sc-tab-bar { position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--fill); overflow: hidden; opacity: 0; transition: opacity var(--t-mid) ease; }
.sc-tab-bar::after { content: ""; position: absolute; inset: 0; background: var(--grad-brand); transform-origin: 0 50%; transform: scaleX(0); }
.sc-tab[aria-selected="true"] .sc-tab-bar { opacity: 1; }
.sc-tab.is-timing .sc-tab-bar::after { animation: ask-timer var(--sc-dur, 9s) linear forwards; }
.sc-stage { position: relative; min-width: 0; }
.sc-devices { position: relative; padding: 0 0 5% 0; }

/* ---------- Devices: Studio Display + iPhone, drawn in CSS ---------- */
.dv-display { position: relative; width: 83%; }
.dv-shell {
  position: relative; padding: 1.3%; border-radius: 14px;
  background: linear-gradient(160deg, #eef0f2 0%, #d2d6da 28%, #b9bec4 52%, #d8dbdf 78%, #f1f2f4 100%);
  box-shadow: 0 60px 110px -40px rgba(8, 16, 28, 0.55), 0 24px 44px -24px rgba(8, 16, 28, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}
.dv-shell::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, rgba(255, 255, 255, 0) 1px 3px), linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0.08)); }
.dv-glass { position: relative; padding: 1.5%; border-radius: 8px; background: #08090b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.dv-glass .sc-screen { border-radius: 3px; }
.dv-cam { position: absolute; top: 0.55%; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #584e3d, #0b0d10 70%); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.dv-sheen { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(112deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 26%, rgba(255, 255, 255, 0) 46%); }
.dv-neck { position: relative; width: 26%; height: clamp(44px, 6.4vw, 80px); margin: -1px auto 0; background: linear-gradient(90deg, #878c92, #c7cbcf 16%, #eef0f2 44%, #e0e3e6 58%, #b3b8bd 84%, #82878d); }
.dv-neck::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0)); }
.dv-foot { position: relative; width: 38%; height: clamp(9px, 1.3vw, 16px); margin: 0 auto; border-radius: 4px 4px 12px 12px; background: linear-gradient(180deg, #f3f4f6, #d7dade 55%, #9da2a8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 2px 0 rgba(0, 0, 0, 0.14); }
.dv-floor { position: absolute; left: 50%; bottom: -6%; width: 64%; height: 12%; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0)); filter: blur(4px); z-index: -1; }
.sc-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.sc-page { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.sc-page.is-on { opacity: 1; }
.sc-browser { position: absolute; left: 0; right: 0; top: 0; height: 26px; z-index: 1; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: #eef0f3; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.07); }
.sc-browser i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.sc-browser i:nth-child(2) { background: #febc2e; } .sc-browser i:nth-child(3) { background: #28c840; }
.sc-browser span { position: absolute; left: 50%; translate: -50% 0; padding: 2px 14px; border-radius: 6px; background: #fff; font-size: 10.5px; font-weight: 600; color: #555; }
.sc-page .sc-scroll { position: absolute; left: 0; right: 0; top: 26px; bottom: 0; overflow: hidden; }
.sc-scroll img { width: 100%; height: auto; will-change: transform; }
.sc-frames { position: absolute; left: 0; right: 0; top: 26px; bottom: 0; overflow: hidden; }
.sc-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 0.7s ease; }
.sc-frame.is-on { opacity: 1; }
.dv-phone { position: absolute; right: 0; bottom: 1%; width: 24%; aspect-ratio: 70.6 / 146.6; border-radius: 12.5% / 6%; padding: 1.1%; background: linear-gradient(150deg, #b9b5af 0%, #77736e 22%, #4e4b47 50%, #8d8984 78%, #bdb9b3 100%); box-shadow: 0 50px 80px -30px rgba(0, 0, 0, 0.65), 0 18px 30px -18px rgba(0, 0, 0, 0.5), inset 0 0 0 0.8px rgba(255, 255, 255, 0.4), inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.dv-phone-bezel { position: relative; width: 100%; height: 100%; border-radius: 11.5% / 5.5%; padding: 0.9%; background: #0b0b0d; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.06); }
.sc-phone-in { position: relative; width: 100%; height: 100%; border-radius: 10.5% / 5.1%; overflow: hidden; background: #fff; }
.sc-island { position: absolute; top: 1.6%; left: 50%; width: 29%; height: 3%; translate: -50% 0; border-radius: 999px; background: #000; z-index: 3; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.sc-island::after { content: ""; position: absolute; right: 9%; top: 22%; width: 18%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #40392d, #06070a 65%); }
.dv-btn { position: absolute; width: 1.1%; border-radius: 1.5px; background: linear-gradient(90deg, #4e4b47, #a19d97 50%, #4e4b47); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.3); }
.dv-btn.is-action { left: -1.1%; top: 16.5%; height: 4.2%; }
.dv-btn.is-vol1 { left: -1.1%; top: 23.5%; height: 7.6%; }
.dv-btn.is-vol2 { left: -1.1%; top: 32.6%; height: 7.6%; }
.dv-btn.is-power { right: -1.1%; top: 26%; height: 12.2%; }
.dv-phone > .dv-sheen { background: linear-gradient(105deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 30%, rgba(255, 255, 255, 0) 52%); }
.sc-mpage { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.sc-mpage.is-on { opacity: 1; }
.sc-mpage .sc-scroll, .sc-mpage .sc-frames { position: absolute; inset: 0; overflow: hidden; }
.sc-cover { position: absolute; inset: 0; padding: 7% 8%; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; }
.sc-cover-brand { background: radial-gradient(120% 90% at 85% 10%, #ffdf8f, rgba(255, 223, 143, 0) 55%), linear-gradient(150deg, #ff8c00, #a94c00); }
.sc-cover-ink { background: radial-gradient(100% 80% at 90% 0%, rgba(255, 140, 0, 0.45), rgba(255, 140, 0, 0) 60%), linear-gradient(150deg, #2c2c31, #0d0d0f); }
.sc-cover-concrete { background: radial-gradient(100% 90% at 90% 0%, rgba(255, 224, 0, 0.55), rgba(255, 224, 0, 0) 60%), linear-gradient(150deg, #f3f1ee, #e4e0d9); color: var(--shark); }
.sc-cover-w { position: absolute; right: -4%; bottom: -12%; width: 40%; height: 70%; opacity: 0.15; color: currentColor; }
.sc-cover-k { font-size: clamp(10px, 1vw, 13px); font-weight: 700; opacity: 0.8; }
.sc-cover-n { font-size: clamp(26px, 4vw, 56px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; margin-top: 6px; }
.sc-cover-d { font-size: clamp(11px, 1.1vw, 15px); max-width: 34ch; margin-top: 10px; opacity: 0.85; }
.sc-cover-ui { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 7%; max-width: 70%; }
.sc-cover-ui i { height: clamp(18px, 3vw, 40px); border-radius: 8px; background: rgba(255, 255, 255, 0.2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.sc-cover.is-m { padding: 18% 10%; }
.sc-cover.is-m .sc-cover-n { font-size: clamp(16px, 2vw, 24px); }
.sc-cover.is-m .sc-cover-ui { grid-template-columns: 1fr; max-width: 100%; }
.sc-cap { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap; }
.sc-cap[hidden] { display: none; }
.sc-cap p { color: var(--label-2); max-width: 58ch; text-align: right; margin: 0; line-height: 1.5; }
.sc-cap-links { display: flex; align-items: center; gap: 16px; flex: none; }
.sc-btn { font-size: 14.5px; }
.sc-live { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--label-2); text-decoration: none; }
.sc-live:hover { color: var(--ink); }
@media (max-width: 960px) {
  .sc-box { grid-template-columns: 1fr; }
  .sc-list { display: grid; grid-template-columns: 1fr; gap: 8px; margin-inline: 0; padding: 0; overflow-x: visible; order: 2; }
  .sc-tab { width: 100%; flex: auto; }
  .dv-display { width: 90%; }
}
@media (min-width: 641px) and (max-width: 960px) {
  .sc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sc-tab { padding: 12px 14px 14px; }
  .sc-tab-t b { font-size: 15px; }
  .sc-tab-t small { font-size: 11.5px; }
}
@media (max-width: 700px) {
  /* на телефоне показываем только iPhone: экран монитора здесь нечитаем */
  .dv-display { display: none; }
  .sc-devices { padding: 8px 0 12px; }
  .dv-phone { position: relative; width: min(64%, 290px); margin: 0 auto; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.6), inset 0 0 0 0.8px rgba(255, 255, 255, 0.4), inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
  .sc-cap { justify-content: center; text-align: center; }
  .sc-cap p { max-width: 100%; text-align: center; }
  .sc-cap-links { justify-content: center; width: 100%; }
}

/* ---------- Team cards ---------- */
.tm-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tm-grid:has(> :nth-child(6)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tm-card { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background-color: var(--card-fill); -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%); backdrop-filter: blur(var(--card-blur)) saturate(180%); box-shadow: var(--card-shadow), var(--card-rims); transition: box-shadow var(--t-mid) ease; }
@media (hover: hover) { .tm-card:hover { box-shadow: var(--card-shadow-lift), var(--card-rims); } }
.tm-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate; margin: 8px 8px 0; border-radius: 22px; }
.tm-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 50% 100%, rgba(var(--brand-rgb), 0.55), rgba(var(--brand-rgb), 0) 70%), radial-gradient(60% 50% at 80% 10%, rgba(var(--green-rgb), 0.35), rgba(var(--green-rgb), 0) 70%), linear-gradient(180deg, #f5f3f0, #fff0bd); }
.tm-accountant .tm-bg { background: radial-gradient(80% 60% at 50% 100%, rgba(34, 197, 94, 0.45), rgba(34, 197, 94, 0) 70%), radial-gradient(60% 50% at 20% 10%, rgba(var(--brand-rgb), 0.3), rgba(var(--brand-rgb), 0) 70%), linear-gradient(180deg, #f0fdf4, #dcfce7); }
.tm-ali-komiljonov .tm-bg { background: radial-gradient(80% 60% at 50% 100%, rgba(59, 130, 246, 0.45), rgba(59, 130, 246, 0) 70%), radial-gradient(60% 50% at 80% 10%, rgba(var(--brand-rgb), 0.25), rgba(var(--brand-rgb), 0) 70%), linear-gradient(180deg, #eff6ff, #dbeafe); }
.tm-xolrahmon-turayev .tm-bg { background: radial-gradient(80% 60% at 50% 100%, rgba(168, 85, 247, 0.45), rgba(168, 85, 247, 0) 70%), radial-gradient(60% 50% at 20% 10%, rgba(var(--brand-rgb), 0.25), rgba(var(--brand-rgb), 0) 70%), linear-gradient(180deg, #faf5ff, #f3e8ff); }
.tm-avazbek-qalandarov .tm-bg { background: radial-gradient(80% 60% at 50% 100%, rgba(14, 165, 233, 0.45), rgba(14, 165, 233, 0) 70%), radial-gradient(60% 50% at 80% 10%, rgba(var(--brand-rgb), 0.25), rgba(var(--brand-rgb), 0) 70%), linear-gradient(180deg, #f0f9ff, #e0f2fe); }
:root[data-theme="dark"] .tm-bg { filter: brightness(0.42) saturate(1.3); }
.tm-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; filter: none !important; transition: none; }
@media (hover: hover) { .tm-card:hover .tm-photo img { transform: none; } }
.tm-initials { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(56px, 5vw, 84px); font-weight: 800; letter-spacing: -0.05em; color: rgba(255, 255, 255, 0.95); text-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.tm-code { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.05em; color: var(--shark); background: rgba(255, 255, 255, 0.55); -webkit-backdrop-filter: blur(12px) saturate(180%); backdrop-filter: blur(12px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 12px -4px rgba(0, 0, 0, 0.2); }
.tm-info { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 18px; flex: 1; }
.tm-name { font-size: 18px; letter-spacing: -0.02em; line-height: 1.2; }
.tm-name a { text-decoration: none; color: inherit; }
.tm-name a:hover { color: var(--brand-ink); }
.tm-role { font-size: 13px; font-weight: 700; color: var(--brand-ink); }
.tm-short { font-size: 13.5px; color: var(--label-2); margin-top: 6px; line-height: 1.45; }
.tm-soc { display: none !important; }
.tm-s { --c: 255, 140, 0; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: var(--ink); background: var(--fill); transition: background var(--t-mid) ease, color var(--t-mid) ease, transform var(--t-fast) var(--spring); }
.tm-s svg { width: 18px; height: 18px; }
.tm-s:hover { color: #fff; background: rgb(var(--c)); transform: translateY(-2px); }
.tm-s-tg { --c: 36, 161, 222; }
.tm-s-ig { --c: 225, 48, 108; }
.tm-s-in { --c: 10, 102, 194; }
.tm-s-gh { --c: 36, 41, 47; }
:root[data-theme="dark"] .tm-s-gh { --c: 46, 52, 60; }
.tm-s-wa { --c: 37, 211, 102; }
.tm-s-mail { --c: 234, 67, 53; }
.tm-more { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; padding: 14px 16px; border-radius: 24px; background-color: var(--card-fill); -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%); backdrop-filter: blur(var(--card-blur)) saturate(180%); box-shadow: var(--card-shadow), var(--card-rims); }
.tm-faces { display: flex; padding-left: 10px; }
.tm-faces img, .tm-faces span { width: 44px; height: 44px; border-radius: 50%; margin-left: -10px; object-fit: cover; background: linear-gradient(145deg, #ffeeb8, #ffd170); box-shadow: 0 0 0 3px var(--bg-elev); }
.tm-faces span { display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--on-ink); background: var(--ink-fill); }
.tm-more p { flex: 1; min-width: 220px; color: var(--label-2); font-size: 15px; }
.tm-more p b { color: var(--ink); }
@media (max-width: 1200px) {
  .tm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .tm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 560px) {
  .tm-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
    gap: 16px;
  }
}

/* ---------- Wallet passes ---------- */
.wl-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.wl-index { display: grid; gap: 4px; margin-top: 26px; }
.wl-index button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; color: var(--label-2); text-align: left; transition: background var(--t-fast) ease, color var(--t-fast) ease; }
.wl-index button b { color: var(--ink); font-weight: 700; letter-spacing: -0.01em; transition: color var(--t-fast) ease; }
.wl-index button span { font-size: 13px; color: var(--label-3); font-weight: 500; transition: color var(--t-fast) ease; }
.wl-index button:hover { background: var(--fill); color: var(--ink); }
.wl-index button[aria-current="true"] { background: var(--fill); color: var(--ink); }
.wl-index button[aria-current="true"] b { color: var(--brand); }
.wl-index button[aria-current="true"] span { color: var(--label-2); }
.wl-stack { position: relative; height: 750px; clip-path: inset(-80px -80px 0 -80px); transition: height 0.4s ease; }
/* кошелёк: карман внизу, из которого выезжает выбранная карта; остальные карты видны «корешками» и кликабельны */
.wl-pocket { position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: min(100%, 460px); height: var(--pocket-h, 124px); z-index: 25; border-radius: 26px 26px 30px 30px; overflow: hidden;
  background: linear-gradient(180deg, #2a2c33, #111216 60%, #0b0c0f); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 -20px 40px -20px rgba(0, 0, 0, 0.8); }
.wl-pocket::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 6px), radial-gradient(120% 80% at 50% 0%, rgba(var(--brand-rgb), 0.22), rgba(var(--brand-rgb), 0) 60%); }
.wl-pocket-slot { position: absolute; left: 6%; right: 6%; top: 0; height: 6px; border-radius: 0 0 6px 6px; background: linear-gradient(180deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)); }
.wl-pocket-brand { position: absolute; left: 22px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.92); }
.wl-pocket-brand svg { width: 18px; height: 18px; color: var(--brand); }
.wl-pocket-hint { position: absolute; right: 22px; bottom: 19px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.5); }
.wl-shade { position: absolute; left: 50%; bottom: var(--pocket-h, 124px); translate: -50% 0; width: min(100%, 460px); height: 70px; z-index: 24; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.42)); opacity: 0.9; }
:root[data-theme="dark"] .wl-pocket { background: linear-gradient(180deg, #33363e, #16181d 60%, #0d0e12); }
.wl-pass {
  --y0: 0px; --y: var(--y0); --s: 1; position: absolute; left: 0; right: 0; top: 0; margin-inline: auto;
  width: min(100%, 436px); height: 350px; border-radius: 24px; padding: 14px 16px; text-align: left; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate; cursor: pointer;
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(var(--y)) scale(var(--s)); transition: transform 0.75s var(--spring), box-shadow 0.4s ease, filter 0.4s ease;
  user-select: none;
}
.wl-pass::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 70% at 20% -20%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 55%), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 9px); }
.wl-pass::after { content: ""; position: absolute; left: -30%; top: 0; width: 30%; height: 100%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)); transform: skewX(-18deg); transition: left 0.9s var(--ease-out); pointer-events: none; }
.wl-pass.is-open::after { left: 120%; }
.wl-pass.is-open { box-shadow: 0 40px 70px -26px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.wl-pass:not(.is-open) { filter: saturate(0.9) brightness(0.96); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
@media (hover: hover) { .wl-pass:not(.is-open):hover { filter: none; --y: calc(var(--y0) - 10px); } }
.p-brand { background-color: #ec7d00; background-image: linear-gradient(150deg, #ff9f1c, #d35400); color: #fff; }
.p-green { background-color: #e5aa00; background-image: linear-gradient(150deg, #ffd000, #c87a00); color: var(--shark); }
.p-night { background-image: radial-gradient(90% 90% at 100% 0%, rgba(var(--brand-rgb), 0.45), rgba(var(--brand-rgb), 0) 60%), linear-gradient(160deg, #2b2e38, #111216); color: #fff; }
.p-blue { background-image: linear-gradient(150deg, #3d5a80, #1c2738); color: #fff; }
.p-graphite { background-image: linear-gradient(150deg, #4f535d, #1e2025); color: #fff; }
.p-teal { background-image: linear-gradient(150deg, #d48b00, #8f4000); color: #fff; }
.wl-head { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 700; height: 26px; gap: 8px; }
.wl-logo { display: inline-flex; align-items: center; gap: 7px; letter-spacing: -0.01em; }
.wl-logo svg { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; }
.wl-logo b { font-weight: 800; letter-spacing: -0.01em; }
.wl-k { font-size: 12px; font-weight: 600; opacity: 0.9; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.22); white-space: nowrap; }
.p-green .wl-k { background: rgba(0, 0, 0, 0.12); color: var(--shark); }
.wl-preview { position: relative; width: 100%; height: 184px; border-radius: 14px; overflow: hidden; background: #0d0e12; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 10px 24px -10px rgba(0, 0, 0, 0.5); margin-block: 6px; }
.wl-mockup { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 0.4s ease; }
.wl-pass.is-open:hover .wl-mockup { transform: scale(1.02); }
.wl-preview-gloss { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 35%, rgba(0, 0, 0, 0.2) 100%); }
.wl-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.wl-t { font-size: 12.5px; line-height: 1.35; opacity: 0.95; max-width: 250px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 500; }
.p-green .wl-t { color: var(--shark); }
.wl-link { flex-shrink: 0; padding: 7px 14px; font-size: 13px; font-weight: 700; border-radius: 999px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); transition: transform var(--t-fast) ease, box-shadow var(--t-fast) ease; }
.wl-link:hover { transform: translateY(-1px) scale(1.03); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.wl-link .i { width: 13px; height: 13px; margin-left: 2px; }
@media (max-width: 960px) { .wl-in { grid-template-columns: 1fr; } .wl-index { display: none; } .wl-stack { margin-top: 16px; } }
@media (max-width: 480px) {
  .wl-pass { height: 310px; padding: 12px 14px; }
  .wl-preview { height: 154px; }
  .wl-t { font-size: 11.5px; max-width: 190px; }
  .wl-link { padding: 6px 10px; font-size: 12px; }
  .wl-pocket-hint { display: none; }
}

/* ---------- Request section ---------- */
.rqs { padding-block: var(--sp-section); }
.rqs-card { position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(28px, 4vw, 48px); padding: clamp(22px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--night); color: #fff; box-shadow: var(--card-shadow-lift); }
.rqs-card > .aurora { opacity: 1; }
.rqs-card > *:not(.aurora) { position: relative; z-index: 1; }
.rqs-eb { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--night-label-2); }
.rqs-title { margin-top: 14px; font-size: clamp(40px, 5.4vw, 76px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.98; }
.rqs-title .grad-text { background-image: var(--grad-brand); background-size: 100% 100%; background-position: 0 0; -webkit-background-clip: text; background-clip: text; color: transparent; } /* the CTA card is always dark */
.rqs-lead { margin-top: 16px; font-size: 17px; color: var(--night-label-2); max-width: 30em; }
.rqs-next { display: grid; gap: 12px; margin-top: 26px; }
.rqs-next li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; align-items: center; }
.rqs-next li span { grid-row: span 2; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.rqs-next li b { font-size: 16px; }
.rqs-next li small { font-size: 14px; color: var(--night-label-2); }
.rqs-person { display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; margin-top: 26px; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.rqs-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: linear-gradient(145deg, #ffb63f, #cb6400); flex: none; }
.rqs-person b { display: block; font-size: 15px; }
.rqs-person small { display: block; font-size: 13px; color: var(--night-label-2); }
.rqs-contacts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
.rqs-contacts a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; }
.rqs-contacts .i { width: 18px; height: 18px; color: #ffd87f; }
.rqs-form { border-radius: 30px; padding: clamp(18px, 2.6vw, 30px); background: var(--bg-elev); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
:root[data-theme="dark"] .rqs-form { box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.rqs-form .rq { margin-top: 0; }
@media (max-width: 960px) { .rqs-card { grid-template-columns: 1fr; } }
.faq-sec .split-sticky .h2 { margin-top: 12px; }

/* ==== 13-team.css ==== */
/* =====================================================================
   Team hub and person pages
   ===================================================================== */
.hero-page-side { position: relative; z-index: 1; }
.tmh-faces { position: relative; height: 420px; }
.tmh-f { --s: 84px; position: absolute; width: var(--s); height: var(--s); border-radius: 30%; overflow: hidden; background: linear-gradient(145deg, #ffeeb8, #ffd170); box-shadow: 0 16px 36px -14px rgba(100, 37, 0, 0.45), 0 0 0 3px rgba(255, 255, 255, 0.85); animation: tmh-float 7s ease-in-out infinite; animation-delay: calc(var(--i) * -0.7s); }
:root[data-theme="dark"] .tmh-f { box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.8), 0 0 0 3px rgba(255, 255, 255, 0.12); background: linear-gradient(145deg, #3c3529, #25211a); }
.tmh-f img { width: 100%; height: 100%; object-fit: cover; }
.tmh-f:nth-child(1) { left: 36%; top: 30%; --s: 120px; z-index: 2; }
.tmh-f:nth-child(2) { left: 64%; top: 8%; --s: 100px; }
.tmh-f:nth-child(3) { left: 8%; top: 12%; --s: 96px; }
.tmh-f:nth-child(4) { left: 70%; top: 48%; --s: 88px; }
.tmh-f:nth-child(5) { left: 12%; top: 50%; --s: 84px; }
.tmh-f:nth-child(6) { left: 42%; top: 2%; --s: 70px; }
.tmh-f:nth-child(7) { left: 40%; top: 68%; --s: 78px; }
.tmh-f:nth-child(8) { left: 86%; top: 28%; --s: 64px; }
.tmh-f:nth-child(9) { left: 0%; top: 78%; --s: 66px; }
.tmh-f:nth-child(10) { left: 22%; top: 82%; --s: 58px; }
.tmh-f:nth-child(11) { left: 62%; top: 78%; --s: 70px; }
.tmh-f:nth-child(12) { left: 86%; top: 72%; --s: 56px; }
@keyframes tmh-float { 50% { transform: translateY(-10px) rotate(2deg); } }
.tmh-stat { position: absolute; right: 2%; bottom: -4%; z-index: 3; padding: 14px 18px; border-radius: 20px; background-color: var(--g-fill-thick); -webkit-backdrop-filter: blur(24px) saturate(190%); backdrop-filter: blur(24px) saturate(190%); box-shadow: var(--g-shadow-lift), var(--g-rims), 0 0 0 0.5px var(--g-edge); }
.tmh-stat b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.tmh-stat span { font-size: 13.5px; color: var(--label-2); }
@media (max-width: 960px) { .tmh-faces { height: 300px; margin-top: 12px; } .tmh-f { --s: 70px !important; } .tmh-f:nth-child(1) { --s: 96px !important; } }

/* 4 columns team grid */
.tm-grid-4,
.tm-grid.tm-grid-4,
.tm-grid.tm-grid-4:has(> :nth-child(6)),
.tm:not(#__never) .tm-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 22px);
}

@media (max-width: 1200px) {
  .tm-grid-4,
  .tm-grid.tm-grid-4,
  .tm-grid.tm-grid-4:has(> :nth-child(6)),
  .tm:not(#__never) .tm-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .tm-grid-4,
  .tm-grid.tm-grid-4,
  .tm-grid.tm-grid-4:has(> :nth-child(6)),
  .tm:not(#__never) .tm-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .tm-grid-4,
  .tm-grid.tm-grid-4,
  .tm-grid.tm-grid-4:has(> :nth-child(6)),
  .tm:not(#__never) .tm-grid-4 {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
    gap: 16px;
  }
}

.tm-qayumjon-otajonov img {
  object-position: center 55%;
}

/* ---------- Who solves what (Responsibility section) ---------- */
.who-sec { padding-block: clamp(48px, 6vw, 84px); }

.who-list {
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  border: none;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.who-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 0.7fr) 36px;
  gap: 24px;
  align-items: center;
  padding: 14px 24px;
  background: rgba(120, 120, 128, 0.06);
  border-bottom: 1px solid var(--sep);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--label-2);
}

.who-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 0.7fr) 36px;
  gap: 24px;
  align-items: center;
  padding: 16px 24px;
  text-decoration: none;
  color: inherit;
  transition: background-color var(--t-fast) ease;
}

.who-row + .who-row {
  border-top: 1px solid var(--sep);
}

@media (hover: hover) {
  .who-row:hover {
    background: rgba(255, 255, 255, 0.04);
  }
  :root[data-theme="light"] .who-row:hover {
    background: rgba(0, 0, 0, 0.025);
  }
  .who-row:hover .who-name {
    color: var(--brand);
  }
  .who-row:hover .who-avatar {
    transform: scale(1.05);
  }
  .who-row:hover .who-arrow {
    background: var(--brand);
    color: var(--on-brand);
    transform: translateX(3px);
  }
}

.who-solves {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

.who-bottom-row {
  display: contents;
}

.who-col-person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.who-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-elev);
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform var(--t-mid) var(--ease-out);
}

.who-person-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.who-name-line {
  display: flex;
  align-items: center;
  gap: 7px;
}

.who-name {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--t-fast) ease;
}

.who-code {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 140, 0, 0.14);
  color: var(--brand);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  line-height: 1;
  text-transform: uppercase;
  flex-shrink: 0;
}

.who-code-accountant {
  background: rgba(34, 197, 94, 0.14);
  color: #22c55e;
}

.who-code-ali-komiljonov {
  background: rgba(59, 130, 246, 0.14);
  color: #60a5fa;
}

.who-code-xolrahmon-turayev {
  background: rgba(168, 85, 247, 0.14);
  color: #c084fc;
}

.who-code-avazbek-qalandarov {
  background: rgba(14, 165, 233, 0.14);
  color: #38bdf8;
}

.who-role {
  font-size: 12.5px;
  color: var(--label-2);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.who-sla {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 140, 0, 0.12);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: var(--brand-ink, var(--brand));
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.who-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px rgba(var(--brand-rgb), 0.85);
  flex-shrink: 0;
}

.who-arrow {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--fill);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--label-2);
  margin-left: auto;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-fast) ease;
}

.who-arrow .i {
  width: 14px;
  height: 14px;
}

@media (max-width: 860px) {
  .who-head {
    display: none;
  }

  .who-list {
    background: transparent;
    border: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 0;
    overflow: visible;
  }

  .who-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    background-color: var(--card-fill);
    -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
    backdrop-filter: blur(var(--card-blur)) saturate(180%);
    box-shadow: var(--card-shadow), var(--card-rims);
    border: none;
    border-radius: 20px;
    padding: 16px 18px;
    transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) ease;
  }

  .who-row + .who-row {
    border-top: none;
  }

  .who-col-solves {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--sep);
  }

  .who-solves {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink);
  }

  .who-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .who-col-person {
    gap: 10px;
  }

  .who-avatar {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .who-row .who-arrow {
    display: none;
  }
}

@media (max-width: 440px) {
  .who-row {
    padding: 14px 14px;
    gap: 10px;
    border-radius: 18px;
  }
  .who-col-solves {
    padding-bottom: 8px;
  }
  .who-solves {
    font-size: 14px;
  }
  .who-name {
    font-size: 13.5px;
  }
  .who-role {
    font-size: 12px;
  }
  .who-sla {
    font-size: 11px;
    padding: 4px 8px;
  }
}

@media (max-width: 380px) {
  .who-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .who-col-reaction {
    align-self: flex-start;
  }
}


.sf-sec { padding-block: clamp(56px, 7vw, 96px); }
.sf-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.sf-head .app-icon { flex: none; }
.sf-head .lead { margin-top: 10px; }
.sf-count { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 14px; font-size: 20px; vertical-align: 6px; margin-left: 6px; color: var(--brand-ink); background: rgba(var(--brand-rgb), 0.12); letter-spacing: -0.02em; }
.sf-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.sf { display: flex; flex-direction: column; padding: 8px 8px 14px; border-radius: 24px; background-color: var(--card-fill); -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%); backdrop-filter: blur(var(--card-blur)) saturate(180%); box-shadow: var(--card-shadow), var(--card-rims); transition: translate var(--t-mid) var(--ease-out), box-shadow var(--t-mid) ease; }
@media (hover: hover) { .sf:hover { translate: 0 -4px; box-shadow: var(--card-shadow-lift), var(--card-rims); } }
.sf-ph { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; isolation: isolate; background: radial-gradient(80% 60% at 50% 100%, rgba(var(--brand-rgb), 0.5), rgba(var(--brand-rgb), 0) 70%), linear-gradient(180deg, #f5f3f0, #fff0bd); }
.sf-design { background: radial-gradient(80% 60% at 50% 100%, rgba(255, 117, 44, 0.45), rgba(255, 117, 44, 0) 70%), linear-gradient(180deg, #f8f7f5, #e9e5df); }
.sf-pm { background: radial-gradient(80% 60% at 50% 100%, rgba(var(--green-rgb), 0.5), rgba(var(--green-rgb), 0) 70%), linear-gradient(180deg, #f4f3f0, #e0dbd2); }
.sf-growth { background: radial-gradient(80% 60% at 50% 100%, rgba(255, 150, 80, 0.45), rgba(255, 150, 80, 0) 70%), linear-gradient(180deg, #fff3ea, #ffd9bf); }
.sf-office { background: radial-gradient(80% 60% at 50% 100%, rgba(255, 176, 32, 0.42), rgba(255, 176, 32, 0) 70%), linear-gradient(180deg, #fff8e6, #ffe7b3); }
:root[data-theme="dark"] .sf-ph { filter: brightness(0.5) saturate(1.25); }
:root[data-theme="dark"] .sf-ph img { filter: brightness(2) saturate(0.8); }
.sf-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 0.7s var(--ease-out); }
@media (hover: hover) { .sf:hover .sf-ph img { transform: scale(1.05); } }
.sf-ph i { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: clamp(34px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.95); text-shadow: 0 8px 24px rgba(0, 0, 0, 0.16); }
.sf-n { font-size: 15.5px; letter-spacing: -0.015em; line-height: 1.25; margin: 12px 6px 0; }
.sf-r { font-size: 13px; font-weight: 600; color: var(--brand-ink); margin: 3px 6px 0; }
.sf-s { font-size: 12.5px; color: var(--label-3); margin: 6px 6px 0; }
.sf { position: relative; }
.sf-in { position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #0a66c2; background: rgba(255, 255, 255, 0.85); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.5); transition: transform var(--t-fast) var(--spring); }
.sf-in .i { width: 16px; height: 16px; }
.sf-in:hover { transform: translateY(-2px); }
@media (max-width: 1100px) { .sf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 820px) { .sf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .sf-head { flex-direction: column; gap: 12px; } .sf-n { font-size: 14.5px; } }

/* ---------- person page ---------- */
.pd-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.pd-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pd-code { display: flex; width: fit-content; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; letter-spacing: 0.06em; color: var(--brand-ink); text-transform: uppercase; }
.pd-name { margin-top: 12px; }
.pd-role { margin-top: 12px; font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; color: var(--ink-soft); }
.pd-copy .lead { margin-top: 18px; }
.pd-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.pd-soc { display: flex; gap: 8px; }
.pd-soc .tm-s { width: 50px; height: 50px; border-radius: 16px; }
.pd-soc .tm-s svg { width: 22px; height: 22px; }
.pd-visual { position: relative; }
.pd-photo { position: relative; aspect-ratio: 4 / 5; max-width: 460px; margin-left: auto; border-radius: 36px; overflow: hidden; isolation: isolate; box-shadow: 0 50px 100px -40px rgba(98, 36, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.pd-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.pd-photo .tm-initials { font-size: clamp(80px, 10vw, 150px); }
.pd-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 60% at 20% 0%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 50%); }
.pd-chips { position: absolute; left: 0; bottom: 10%; display: grid; gap: 8px; justify-items: start; }
.pd-chips li { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; background-color: var(--g-fill-thick); -webkit-backdrop-filter: blur(20px) saturate(190%); backdrop-filter: blur(20px) saturate(190%); box-shadow: var(--g-shadow-lift), var(--g-rims), 0 0 0 0.5px var(--g-edge); transform: translateX(calc(var(--i) * 18px)); animation: tmh-float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.2s); }
.pd-facts-sec { padding-block: 0 clamp(40px, 5vw, 64px); }
.pd-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pd-facts > div { padding: 18px 20px; border-radius: 22px; background-color: var(--card-fill); -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%); backdrop-filter: blur(var(--card-blur)) saturate(180%); box-shadow: var(--card-shadow), var(--card-rims); }
.pd-facts small { display: block; font-size: 12.5px; font-weight: 700; color: var(--label-2); text-transform: uppercase; letter-spacing: 0.04em; }
.pd-facts b { display: block; margin-top: 6px; font-size: 17px; letter-spacing: -0.01em; line-height: 1.3; }
.pd-bio p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; }
.pd-bio p + p { margin-top: 18px; }
.pd-own { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pd-own-i { padding: 24px; border-radius: 26px; background-color: var(--card-fill); -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%); backdrop-filter: blur(var(--card-blur)) saturate(180%); box-shadow: var(--card-shadow), var(--card-rims); }
.pd-own-i h3 { font-size: 19px; margin-top: 16px; }
.pd-own-i p { color: var(--label-2); font-size: 15px; margin-top: 6px; }
.pd-when { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.pd-when-card { padding: 26px; border-radius: 28px; display: grid; gap: 12px; background-color: var(--card-fill); -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%); backdrop-filter: blur(var(--card-blur)) saturate(180%); box-shadow: var(--card-shadow), var(--card-rims); }
.pd-when-k { font-size: 13px; font-weight: 700; color: var(--label-2); text-transform: uppercase; letter-spacing: 0.04em; }
.pd-when-v { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
@media (max-width: 960px) {
  .pd-in { grid-template-columns: 1fr; }
  .pd-photo { margin: 0 auto; max-width: 380px; }
  .pd-chips { left: 4%; }
  .pd-facts { grid-template-columns: 1fr 1fr; }
  .pd-own, .pd-when { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .pd-facts { grid-template-columns: 1fr; } }

/* =====================================================================
   Team Roles Section ("Кто работает над вашим проектом каждый день")
   ===================================================================== */
.team-roles-sec {
  position: relative;
}

.team-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
  margin-top: 28px;
}

.team-role-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 2.4vw, 28px);
  border-radius: var(--r-lg, 28px);
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  border: none;
  transition: translate var(--t-mid) var(--ease-out), box-shadow var(--t-mid) ease;
  overflow: hidden;
}

.team-role-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at 100% 0%, var(--tr-glow, rgba(255, 140, 0, 0.12)), transparent 70%);
  pointer-events: none;
  border-radius: 0 var(--r-lg, 28px) 0 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

@media (hover: hover) {
  .team-role-card:hover {
    translate: 0 -4px;
    box-shadow: var(--card-shadow-lift),
                0 0 24px -4px var(--tr-glow, rgba(255, 140, 0, 0.2)),
                var(--card-rims);
  }

  :root[data-theme="dark"] .team-role-card:hover {
    box-shadow: var(--card-shadow-lift),
                0 0 24px -4px var(--tr-glow, rgba(255, 140, 0, 0.25)),
                var(--card-rims);
  }

  .team-role-card:hover::before {
    opacity: 1;
  }
}

/* Tone Glow Colors */
.role-pm { --tr-glow: rgba(255, 159, 28, 0.25); --tr-border: rgba(255, 159, 28, 0.45); }
.role-fe { --tr-glow: rgba(56, 189, 248, 0.25); --tr-border: rgba(56, 189, 248, 0.45); }
.role-be { --tr-glow: rgba(16, 185, 129, 0.25); --tr-border: rgba(16, 185, 129, 0.45); }
.role-mo { --tr-glow: rgba(129, 140, 248, 0.25); --tr-border: rgba(129, 140, 248, 0.45); }
.role-ai { --tr-glow: rgba(245, 158, 11, 0.25); --tr-border: rgba(245, 158, 11, 0.45); }
.role-qa { --tr-glow: rgba(14, 165, 233, 0.25); --tr-border: rgba(14, 165, 233, 0.45); }

/* Card Top Bar */
.tr-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tr-icon-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 8px;
  border-radius: 14px;
  background: rgba(120, 120, 128, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

:root:not([data-theme="dark"]) .tr-icon-box {
  background: rgba(0, 0, 0, 0.04);
  box-shadow: inset 0 1px 0 #ffffff, inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.team-role-card:hover .tr-icon-box {
  transform: scale(1.05);
}

.tr-code {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13.5px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.role-pm .tr-code { background: linear-gradient(145deg, #ff9f1c, #d35400); box-shadow: 0 4px 12px rgba(211, 84, 0, 0.4); }
.role-fe .tr-code { background: linear-gradient(145deg, #38bdf8, #0284c7); box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4); }
.role-be .tr-code { background: linear-gradient(145deg, #10b981, #047857); box-shadow: 0 4px 12px rgba(4, 120, 87, 0.4); }
.role-mo .tr-code { background: linear-gradient(145deg, #818cf8, #4f46e5); box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4); }
.role-ai .tr-code { background: linear-gradient(145deg, #f59e0b, #b45309); box-shadow: 0 4px 12px rgba(180, 83, 9, 0.4); }
.role-qa .tr-code { background: linear-gradient(145deg, #0ea5e9, #1d4ed8); box-shadow: 0 4px 12px rgba(29, 78, 216, 0.4); }

.tr-icon-box .i {
  width: 20px;
  height: 20px;
  color: var(--ink);
  opacity: 0.85;
}

:root[data-theme="dark"] .tr-icon-box .i {
  color: #ffffff;
}

.tr-idx {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--label-2);
  opacity: 0.55;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.team-role-card:hover .tr-idx {
  opacity: 1;
  color: var(--brand);
}

/* Card Body */
.tr-card-body {
  flex-grow: 1;
}

.tr-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px 0;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 0.25s ease;
}

:root[data-theme="dark"] .tr-title {
  color: #f5f5f7;
}

:root[data-theme="dark"] .team-role-card:hover .tr-title {
  color: #ffffff;
}

.tr-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--label-2);
  margin: 0;
}

/* Stack Tech Chips */
.tr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--sep);
}

:root[data-theme="dark"] .tr-chips {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.tr-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: var(--r-pill, 999px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: rgba(120, 120, 128, 0.08);
  color: var(--ink-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

:root[data-theme="dark"] .tr-chip {
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.team-role-card:hover .tr-chip {
  background: rgba(120, 120, 128, 0.12);
  color: var(--ink);
}

:root[data-theme="dark"] .team-role-card:hover .tr-chip {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.tr-chip:hover {
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .team-roles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .team-roles-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


/* ==== 15-pages.css ==== */
/* =====================================================================
   Inner pages: Cleversoft, skills, misc
   ===================================================================== */
.cb-hero { padding-bottom: clamp(64px, 8vw, 110px); }
.cb-hero > .aurora { opacity: 1; }
.cb-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.cb-win { border-radius: 24px; overflow: hidden; color: #fff; background: rgba(22, 24, 30, 0.6); -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%); box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.07); transform: perspective(1400px) rotateY(-8deg) rotateX(4deg); transform-origin: 0 50%; }
.cb-win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06); font-size: 12.5px; color: rgba(243, 241, 237, 0.6); }
.cb-win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.cb-win-bar i:nth-child(2) { background: #febc2e; } .cb-win-bar i:nth-child(3) { background: #28c840; margin-right: 10px; }
.cb-win-body { display: grid; grid-template-columns: 180px minmax(0, 1fr); min-height: 360px; }
.cb-side { padding: 14px; box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.06); }
.cb-side-h { font-size: 11px; font-weight: 700; color: rgba(243, 241, 237, 0.5); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.cb-side ul { display: grid; gap: 6px; }
.cb-side li { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 10px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, 0.04); }
.cb-side li .app-icon { --s: 26px; font-size: 10px; font-weight: 800; }
.cb-side li > .i { width: 14px; height: 14px; margin-left: auto; color: #ffe841; }
.cb-spin { width: 14px; height: 14px; margin-left: auto; border-radius: 50%; border: 2px solid rgba(var(--brand-rgb), 0.25); border-top-color: var(--brand); animation: pl-spin 0.9s linear infinite; }
.cb-chat { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.cb-q { align-self: flex-end; max-width: 86%; padding: 11px 14px; border-radius: 18px 18px 6px 18px; font-size: 14px; background: linear-gradient(145deg, #fb8900, #c25d00); box-shadow: 0 10px 24px -12px rgba(var(--brand-rgb), 0.9); }
.cb-a { padding: 14px; border-radius: 18px 18px 18px 6px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.88); }
.cb-a-h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: rgba(243, 241, 237, 0.7); margin-bottom: 8px; }
.cb-a-h .app-icon { --s: 22px; }
.cb-a-h span:last-child { margin-left: auto; color: #ffe841; }
.cb-a b { color: #fff; }
.cb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cb-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 10px; font-size: 12px; background: rgba(255, 255, 255, 0.07); }
.cb-chips .cite { margin: 0; }
.cb-input { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; font-size: 13.5px; color: rgba(243, 241, 237, 0.5); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.cb-input .i { width: 18px; height: 18px; color: var(--brand); }
@media (max-width: 1000px) { .cb-in { grid-template-columns: 1fr; } .cb-win { transform: none; } }
@media (max-width: 560px) { .cb-win-body { grid-template-columns: 1fr; } .cb-side { display: none; } }

.cb-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cb-pl { padding: 26px; border-radius: 28px; background-color: var(--card-fill); -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%); backdrop-filter: blur(var(--card-blur)) saturate(180%); box-shadow: var(--card-shadow), var(--card-rims); }
.cb-pl h3 { margin-top: 18px; font-size: 20px; letter-spacing: -0.02em; }
.cb-pl p { margin-top: 8px; color: var(--label-2); font-size: 15px; }
@media (max-width: 900px) { .cb-pillars { grid-template-columns: 1fr; } }
#demo { scroll-margin-top: 90px; }
.cb-skills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cb-sk { display: grid; gap: 8px; padding: 18px; border-radius: 22px; text-decoration: none; color: inherit; background-color: var(--card-fill); -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%); backdrop-filter: blur(var(--card-blur)) saturate(180%); box-shadow: var(--card-shadow), var(--card-rims); transition: translate var(--t-mid) var(--ease-out), box-shadow var(--t-mid) ease; }
@media (hover: hover) { .cb-sk:hover { translate: 0 -4px; box-shadow: var(--card-shadow-lift), var(--card-rims); } }
.cb-sk b { font-size: 16px; margin-top: 6px; }
.cb-sk small { font-size: 13px; color: var(--label-2); }
@media (max-width: 1000px) { .cb-skills { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cb-skills { grid-template-columns: 1fr; } }

.skg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.skg-card { width: auto; min-height: 460px; scroll-margin-top: 100px; }
.skg-calc { margin-top: 14px; font-size: 14.5px; }
.skg-card:target { box-shadow: var(--card-shadow-lift), var(--card-rims), 0 0 0 2px var(--brand); }
@media (max-width: 1100px) { .skg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .skg { grid-template-columns: 1fr; } .skg-card { min-height: 0; } }

/* legacy agent cards (services pages) */
.agent-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.agent-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 28px; background-color: var(--card-fill); box-shadow: var(--card-shadow), var(--card-rims); }
.agent-card p { color: var(--label-2); font-size: 15px; }
.agent-kpi { margin-top: auto; padding-top: 14px; box-shadow: inset 0 1px 0 var(--sep); }
.agent-kpi b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.agent-kpi span { font-size: 13.5px; color: var(--label-2); }
.agent-glow { display: none; }
@media (max-width: 1000px) { .agent-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .agent-grid { grid-template-columns: 1fr; } }

/* project cards on inner pages (layered glass) */
.pcard .cover { border-radius: 22px 22px 0 0; }
.pgrid .pcard { box-shadow: var(--card-shadow), var(--card-rims); border-radius: 22px; }
.todo { display: inline-flex; align-items: center; gap: 8px; }

/* project cards with real screenshots as full cover */
.cover.has-shot {
  padding: 0;
  background: var(--surface-2, rgba(255, 255, 255, 0.04));
  isolation: isolate;
}
.cover.has-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 2;
}
.cover.has-shot .cover-w { display: none; }
.cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: inherit;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.65s ease;
}
@media (hover: hover) {
  a.pcard:hover .cover-img {
    transform: scale(1.032);
    filter: brightness(1.025);
  }
}
.pcard-body {
  display: flex;
  flex-direction: column;
  padding: 16px 20px 20px;
  flex: 1;
}
.pcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.pcard-title {
  font-size: 18.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0;
  color: var(--ink);
  transition: color 0.3s ease;
}
@media (hover: hover) {
  a.pcard:hover .pcard-title {
    color: #ffffff;
  }
  :root[data-theme="light"] a.pcard:hover .pcard-title {
    color: var(--brand-ink);
  }
}
.pcard-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4.5px 11px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--brand-ink);
  background: var(--fill);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
:root[data-theme="dark"] .pcard-link {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.pcard-link-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}
@media (hover: hover) {
  a.pcard:hover .pcard-link {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: none;
    box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0.42), 0 4px 16px -2px rgba(0, 0, 0, 0.4);
    transform: translateY(-1px);
  }
  :root[data-theme="light"] a.pcard:hover .pcard-link {
    background: rgba(255, 140, 0, 0.12);
    color: var(--brand-ink);
    box-shadow: inset 0 0 0 1px rgba(255, 140, 0, 0.35), 0 4px 12px -2px rgba(45, 40, 31, 0.12);
    transform: translateY(-1px);
  }
  a.pcard:hover .pcard-link-icon {
    transform: translate(2.5px, -2.5px);
    color: #ffd23f;
  }
  :root[data-theme="light"] a.pcard:hover .pcard-link-icon {
    color: var(--brand);
  }
}
@media (max-width: 480px) {
  .pcard-top {
    flex-wrap: wrap;
    gap: 8px;
  }
}
.pcard-desc {
  color: var(--label-2);
  font-size: 13.5px;
  line-height: 1.45;
  max-width: 52ch;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Square Bento Grid for Home Portfolio Showcase (1x1 and 2x2 Pure Squares) */
.pgrid-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 24px;
}
.pgrid-bento .pcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.pgrid-bento > .pcard {
  display: flex;
  flex-direction: column;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  grid-column: span 1;
  grid-row: span 1;
}
.pgrid-bento > .pcard .cover {
  flex: 1 1 auto;
  height: auto;
  aspect-ratio: auto;
  min-height: 0;
  position: relative;
}
.pgrid-bento > .pcard .pcard-body {
  flex: 0 0 auto;
  padding: 18px 22px 22px;
}
.pgrid-bento > .pcard .pcard-title {
  font-size: 18.5px;
  line-height: 1.25;
}
.pgrid-bento > .pcard .pcard-desc {
  font-size: 13.5px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pgrid-bento > .pcard .pcard-link {
  padding: 5px 12px;
  font-size: 12px;
}

@media (min-width: 1025px) {
  /* Dynamic 2x2 large square cards controlled purely by size: "LARGE" */
  .pgrid-bento > .pcard.is-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1 / 1;
  }
  .pgrid-bento > .pcard.is-large .pcard-body {
    padding: 26px 30px 30px;
  }
  .pgrid-bento > .pcard.is-large .pcard-title {
    font-size: 26px;
  }
  .pgrid-bento > .pcard.is-large .pcard-desc {
    font-size: 16px;
    -webkit-line-clamp: 3;
  }
  .pgrid-bento > .pcard.is-large .pcard-link {
    padding: 6px 14px;
    font-size: 13px;
  }
}

/* 75+ More projects card */
.pcard-more {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  border: none;
  border-radius: 28px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  user-select: none;
}
.pcard-more:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-lift), var(--card-rims);
}
:root[data-theme="dark"] .pcard-more:hover {
  box-shadow: var(--card-shadow-lift), inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.pcard-more-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.pcard-more-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 16px;
  color: var(--label-2);
  transition: transform 0.3s ease, color 0.3s ease;
}
.pcard-more:hover .pcard-more-badge {
  transform: scale(1.1);
  color: var(--ink);
}
.pcard-more-badge .pcard-more-icon {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}
.pcard-more-badge .pcard-more-count {
  display: none;
}
.pcard-more-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--ink);
}
.pcard-more-desc {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--label-2);
  margin: 0 0 20px;
  max-width: 28ch;
}
.pcard-more-btn {
  pointer-events: none;
}

@media (max-width: 1024px) and (min-width: 761px) {
  .pgrid-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 20px;
  }
  .pgrid-bento > .pcard {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 760px) {
  .pgrid-bento {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pgrid-bento > .pcard {
    aspect-ratio: auto;
  }
  .pgrid-bento > .pcard .cover {
    aspect-ratio: 16 / 10;
  }
}
.pd-devices { max-width: 1060px; margin: 0 auto; }

/* ---------- Documents: a folder with real sheets ---------- */
.fd { position: relative; margin-top: 8px; }
.fd-tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; margin-left: 22px; padding: 12px 22px 22px 18px; border-radius: 20px 20px 0 0; background: linear-gradient(180deg, #ffe27a, #ffc43a); color: #4a3405; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.fd-tab .i { width: 18px; height: 20px; }
.fd-tab small { font-size: 12.5px; font-weight: 700; opacity: 0.75; margin-left: 4px; }
.fd-body { position: relative; z-index: 2; margin-top: -12px; padding: clamp(18px, 3vw, 32px); border-radius: 30px; background: linear-gradient(180deg, #ffd84a, #ffb020 60%, #ff9a10); box-shadow: 0 40px 90px -40px rgba(120, 70, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.12); }
.fd-body::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 6px); mix-blend-mode: overlay; }
:root[data-theme="dark"] .fd-tab { background: linear-gradient(180deg, #f0c63a, #e8a422); color: #2b1d02; }
:root[data-theme="dark"] .fd-body { background: linear-gradient(180deg, #f2c230, #f0a01a 60%, #e08a10); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -2px 0 rgba(0, 0, 0, 0.25); }
.fd-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.fd-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: rgba(60, 40, 0, 0.75); }
.fd-hint .i { width: 18px; height: 18px; }
.fd-body .btn-glass { background: rgba(255, 255, 255, 0.55); color: #3a2800; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 24px -14px rgba(80, 50, 0, 0.6); }
.fd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px 18px; list-style: none; margin: 0; padding: 0; }
.fd-doc { display: flex; flex-direction: column; gap: 12px; }
.fd-sheet {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 460 / 650; border-radius: 6px; background: #fff;
  box-shadow: 0 4px 20px -4px rgba(60, 35, 0, 0.35);
  transform: none; transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
  overflow: hidden; outline-offset: 4px;
}
.fd-sheet img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fd-doc.is-land .fd-sheet {
  aspect-ratio: 460 / 650; background: #fdfdfd; padding: 12px; box-sizing: border-box;
}
.fd-doc.is-land .fd-sheet img {
  width: 100%; height: auto; object-fit: contain; border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
}
.fd-paper { display: none; }
.fd-sheet::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0.28) 75%, rgba(255, 255, 255, 0) 90%); opacity: 0; transition: opacity 0.4s ease; }
.fd-kind { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(26, 23, 18, 0.82); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (hover: hover) {
  .fd-doc:hover .fd-sheet { transform: translateY(-8px) scale(1.015); box-shadow: 0 16px 36px -8px rgba(60, 35, 0, 0.45); }
  .fd-doc:hover .fd-sheet::after { opacity: 1; }
}
.fd-info { display: flex; flex-direction: column; flex: 1; }
.fd-title { font-size: 15.5px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; color: #2b1d02; }
.fd-title a { color: inherit; text-decoration: none; }
.fd-title a:hover { text-decoration: underline; }
.fd-sub { margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: rgba(43, 29, 2, 0.75); }
.fd-meta { display: flex; gap: 10px; margin-top: 6px; font-size: 12px; font-weight: 600; color: rgba(43, 29, 2, 0.6); }
.fd-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.fd-dl { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); color: #2b1d02; font-size: 12.5px; font-weight: 800; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 16px -10px rgba(80, 50, 0, 0.5); transition: background var(--t-fast) ease, transform var(--t-fast) var(--spring); }
.fd-dl .i { width: 15px; height: 15px; }
.fd-dl small { font-weight: 600; opacity: 0.65; }
.fd-dl:hover { background: #fff; transform: translateY(-1px); }
@media (max-width: 600px) { .fd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; } .fd-tab { margin-left: 14px; padding: 10px 16px 20px 14px; font-size: 14px; } .fd-tab small { display: none; } }
@media (max-width: 400px) { .fd-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   IT Park Resident Showcase & Perks (About page)
   ===================================================================== */
.itp-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}
.itp-checks li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--label-2);
}
.itp-checks .i {
  width: 17px;
  height: 17px;
  color: var(--brand);
  flex-shrink: 0;
}

.itp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}
.itp-actions .btn {
  font-size: 13.5px;
  padding: 9px 18px;
}

.itp-sec .split {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
}

.itp-sec .h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-top: 8px;
}

@media (max-width: 960px) {
  .itp-sec .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Main Showcase Card matching Limon.uz dark glass aesthetic */
.itp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(18px, 2.4vw, 24px);
  border-radius: var(--r-xl);
  background: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  border: none;
  box-shadow: var(--card-shadow), var(--card-rims);
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) ease, border-color var(--t-mid) ease;
}

.itp-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

@media (hover: hover) {
  .itp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-lift), var(--card-rims);
  }
}

.itp-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.itp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.itp-brand-logo {
  width: 28px;
  height: 25px;
  color: #7dba28;
  fill: #7dba28;
  filter: drop-shadow(0 2px 6px rgba(125, 186, 40, 0.35));
  flex-shrink: 0;
}

.itp-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.itp-brand-text b {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.itp-brand-text small {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--label-3);
}

.itp-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(34, 197, 94, 0.14);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #4ade80;
}

.itp-card-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: itp-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes itp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

/* Document Certificate Showcase */
.itp-doc-preview {
  position: relative;
  z-index: 2;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: none;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.itp-doc-sheet {
  position: relative;
  aspect-ratio: 460 / 319;
  width: 100%;
  overflow: hidden;
}

.itp-doc-sheet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-mid) var(--ease-out);
}

.itp-doc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 12, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-mid) ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

@media (hover: hover) {
  .itp-doc-preview:hover .itp-doc-sheet img {
    transform: scale(1.02);
  }
  .itp-doc-preview:hover .itp-doc-overlay {
    opacity: 1;
  }
}

/* Facts Strip */
.itp-facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  gap: 12px;
  padding: 14px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.itp-fact-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.itp-fact-k {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--label-3);
  white-space: nowrap;
}

.itp-fact-v {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 640px) {
  .itp-card-top { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 540px) {
  .itp-actions { flex-direction: column; align-items: stretch; }
  .itp-actions .btn { text-align: center; justify-content: center; width: 100%; }
}

@media (max-width: 480px) {
  .itp-facts { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Perks Grid (Underneath) ---------- */
.itp-perks-section {
  margin-top: clamp(64px, 8vw, 108px);
  padding-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--sep);
}

.itp-perks-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 68ch;
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.itp-perks-head .h3 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.itp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.itp-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--r-xl);
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) ease;
}

@media (hover: hover) {
  .itp-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-lift), var(--card-rims);
  }
}

.itp-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.itp-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255, 140, 0, 0.12);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: var(--brand);
}

.itp-icon .i {
  width: 22px;
  height: 22px;
}

.itp-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(120, 120, 128, 0.08);
  color: var(--label-2);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.itp-item h4 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.itp-item p {
  font-size: 14px;
  color: var(--label-2);
  line-height: 1.55;
}

.itp-verify-bar {
  margin-top: 24px;
  padding: 18px 24px;
  border-radius: var(--r-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  border: none;
  box-shadow: var(--card-shadow), var(--card-rims);
}

.itp-verify-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.itp-verify-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  flex: none;
}

.itp-verify-icon .i {
  width: 15px;
  height: 15px;
}

@media (max-width: 1024px) {
  .itp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .itp-card { padding: 18px; }
  .itp-grid { grid-template-columns: 1fr; }
  .itp-verify-bar { flex-direction: column; align-items: flex-start; padding: 18px; }
  .itp-actions { flex-direction: column; align-items: stretch; }
  .itp-actions .btn { text-align: center; justify-content: center; }
}

/* media coming soon card */
.media-soon-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px);
  text-align: center;
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}
.media-soon-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(100% 100% at 30% 20%, rgba(var(--brand-rgb), 0.28), rgba(var(--brand-rgb), 0.08));
  border: 1px solid rgba(var(--brand-rgb), 0.35);
  box-shadow: 0 10px 28px -6px rgba(var(--brand-rgb), 0.4);
  display: grid;
  place-items: center;
  color: var(--brand-ink);
  margin-bottom: 22px;
}
.media-soon-icon {
  width: 26px;
  height: 26px;
}
.media-soon-title {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.18;
  max-width: 24ch;
  margin: 0;
}
.media-soon-text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--label-2);
  max-width: 48ch;
  margin-top: 14px;
}
.media-soon-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Media / News Grid (Live API) */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(24px, 3vw, 36px);
  width: 100%;
}
.media-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-lift), var(--card-rims);
}
.media-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
}
.media-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.media-card:hover .media-card-img img {
  transform: scale(1.04);
}
.media-card-body {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.5vw, 28px);
  flex: 1;
}
.media-card-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--label-3);
  margin-bottom: 10px;
}
.media-card-title {
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.28;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.media-card-excerpt {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Media Card Skeleton Loading State */
.media-card.is-skeleton {
  pointer-events: none;
  user-select: none;
}

.media-card.is-skeleton .media-card-img {
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

:root[data-theme="light"] .media-card.is-skeleton .media-card-img {
  background: rgba(0, 0, 0, 0.04);
}

.skeleton-box,
.skeleton-line {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
}

:root[data-theme="light"] .skeleton-box,
:root[data-theme="light"] .skeleton-line {
  background: rgba(0, 0, 0, 0.07);
}

.skeleton-box::after,
.skeleton-line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 100%
  );
  animation: media-skeleton-shimmer 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

:root[data-theme="light"] .skeleton-box::after,
:root[data-theme="light"] .skeleton-line::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.09) 50%,
    transparent 100%
  );
}

@keyframes media-skeleton-shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.skeleton-date {
  width: 96px;
  height: 13px;
  margin-bottom: 14px;
  border-radius: var(--r-pill, 999px);
}

.skeleton-title {
  width: 90%;
  height: 20px;
  margin-bottom: 8px;
  border-radius: 6px;
}

.skeleton-title-short {
  width: 58%;
  margin-bottom: 16px;
}

.skeleton-text {
  width: 100%;
  height: 13px;
  margin-bottom: 7px;
  border-radius: 4px;
  opacity: 0.8;
}

.skeleton-text-short {
  width: 42%;
  margin-bottom: 0;
}

/* ── Media Card Interactive Cue ── */
.media-card:not(.is-skeleton) {
  cursor: pointer;
}

.media-card:not(.is-skeleton):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.media-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-ink);
  margin-top: 14px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.media-card:hover .media-card-more {
  gap: 10px;
}

.media-card-more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.media-card:hover .media-card-more svg {
  transform: translateX(3px);
}

/* ── Media Article Reader Modal (Liquid Glass) ── */
.modal-news-article {
  max-width: min(780px, calc(100vw - 32px));
  max-height: min(88vh, 880px);
  padding: clamp(24px, 3.2vw, 38px);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.modal-news-header {
  margin: 6px 0 16px;
}

.modal-news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--label-3);
  margin-bottom: 12px;
}

.modal-news-meta-sep {
  opacity: 0.4;
}

.modal-news-readtime {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-pill, 999px);
  background: rgba(var(--brand-rgb), 0.1);
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

:root[data-theme="dark"] .modal-news-readtime {
  background: rgba(255, 149, 0, 0.14);
  color: #ffb340;
}

.modal-news-title {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.modal-news-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 380px;
  border-radius: 18px;
  overflow: hidden;
  margin: 14px 0 22px;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

:root[data-theme="light"] .modal-news-hero {
  background: rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.modal-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-news-content {
  font-size: clamp(15.5px, 1.15vw, 17px);
  line-height: 1.72;
  color: var(--ink-soft);
  margin: 6px 0 24px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.modal-news-content p {
  margin: 0 0 16px;
}

.modal-news-content p:last-child {
  margin-bottom: 0;
}

.modal-news-footer {
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.modal-news-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-news-share-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--label-2);
}

.btn-share-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill, 999px);
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

:root[data-theme="light"] .btn-share-item {
  background: rgba(0, 0, 0, 0.04);
}

.btn-share-item:hover {
  background: rgba(var(--brand-rgb), 0.15);
  border-color: rgba(var(--brand-rgb), 0.35);
  color: var(--brand-ink);
  transform: translateY(-1px);
}

.btn-share-tg {
  background: rgba(0, 136, 204, 0.1);
  border-color: rgba(0, 136, 204, 0.25);
  color: #29a9ea;
}

.btn-share-tg:hover {
  background: rgba(0, 136, 204, 0.2);
  border-color: rgba(0, 136, 204, 0.45);
  color: #38bafc;
}

.btn-share-item svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 600px) {
  .modal-news-article {
    padding: 24px 18px 20px;
    border-radius: 24px 24px 0 0;
    max-height: 92vh;
    width: 100%;
    margin-top: auto;
  }
  .modal-news-title {
    font-size: 20px;
  }
  .modal-news-hero {
    border-radius: 14px;
    max-height: 220px;
  }
  .modal-news-footer {
    padding-top: 16px;
  }
  .modal-news-share {
    width: 100%;
    justify-content: flex-start;
  }
}

/* =====================================================================
   Internship Application Form (Borderless & Modern Liquid Glass Blur)
   ===================================================================== */
.intern-apply-sec,
.intern-apply-page {
  position: relative;
  padding-block: clamp(48px, 6vw, 84px);
}
.intern-apply-page .hero-aurora-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  height: clamp(360px, 42vh, 460px);
  max-height: 480px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 35%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 35%, transparent 100%);
}
.intern-apply-wrap {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.intern-apply-crumbs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  margin-bottom: 24px;
}

/* Main Card: Pure Borderless Liquid Glass */
.intern-apply-card {
  position: relative;
  border-radius: var(--r-xl, 36px);
  padding: clamp(28px, 5vw, 52px);
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(36px) saturate(190%) brightness(1.02);
  backdrop-filter: blur(36px) saturate(190%) brightness(1.02);
  border: none;
  box-shadow:
    0 24px 64px -16px rgba(45, 40, 31, 0.12),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    inset 0 -1px 1px 0 rgba(45, 40, 31, 0.04);
  transition: box-shadow var(--t-mid) ease, background var(--t-mid) ease;
}
html[data-theme="dark"] .intern-apply-card {
  background: rgba(18, 20, 26, 0.65);
  -webkit-backdrop-filter: blur(40px) saturate(190%);
  backdrop-filter: blur(40px) saturate(190%);
  border: none;
  box-shadow:
    0 32px 84px -20px rgba(0, 0, 0, 0.8),
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.4);
}

/* Ambient glow orb behind card */
.intern-apply-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 224, 0, 0.18), rgba(255, 140, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
html[data-theme="dark"] .intern-apply-card::before {
  background: radial-gradient(circle, rgba(255, 210, 63, 0.14), rgba(255, 140, 0, 0) 70%);
}

.intern-header,
.intern-form,
.intern-success {
  position: relative;
  z-index: 1;
}

/* Header */
.intern-header {
  text-align: center;
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(120, 120, 128, 0.12);
}
html[data-theme="dark"] .intern-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.intern-citrus-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background: radial-gradient(circle at 35% 30%, rgba(255, 224, 0, 0.32), rgba(255, 140, 0, 0.1));
  color: var(--brand);
  margin-bottom: 18px;
  box-shadow:
    inset 0 1px 1.5px rgba(255, 255, 255, 0.5),
    0 12px 32px -8px rgba(var(--brand-rgb), 0.45);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
html[data-theme="dark"] .intern-citrus-badge {
  background: radial-gradient(circle at 35% 30%, rgba(255, 224, 0, 0.22), rgba(255, 140, 0, 0.08));
  box-shadow:
    inset 0 1px 1.5px rgba(255, 255, 255, 0.25),
    0 14px 36px -8px rgba(var(--brand-rgb), 0.4);
}
.intern-citrus-badge svg {
  width: 44px;
  height: 44px;
  color: var(--brand);
  filter: drop-shadow(0 2px 10px rgba(var(--brand-rgb), 0.45));
  transition: transform var(--t-mid) var(--spring);
}
.intern-citrus-badge:hover svg {
  transform: rotate(-6deg) scale(1.06);
}
.intern-header-title {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 12px;
}
.intern-header-sub {
  font-size: 15px;
  color: var(--label-2);
  line-height: 1.55;
  margin: 0 auto 16px;
  max-width: 52ch;
}
.intern-header-note {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--label-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.intern-header-note .text-destructive {
  color: var(--danger);
  font-weight: 700;
}

/* Sections */
.intern-sec {
  margin-bottom: 36px;
}
.intern-sec-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.intern-sec-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #111;
  font-size: 14px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow:
    0 4px 16px -2px rgba(var(--brand-rgb), 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
}
.intern-sec-title {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

/* BORDERLESS FROSTED BLUR INPUTS */
.intern-field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.intern-field-row-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
@media (min-width: 600px) {
  .intern-field-row-2 {
    grid-template-columns: 1fr 1fr;
  }
  .intern-field-row-3 {
    gap: 12px;
  }
}
@media (max-width: 540px) {
  .intern-apply-card {
    padding: 24px 18px;
    border-radius: var(--r-lg, 28px);
  }
}
.intern-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.intern-field label,
.intern-field .intern-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.intern-field .text-destructive {
  color: var(--danger);
  margin-left: 2px;
}
.intern-field-sub {
  font-size: 12px;
  color: var(--label-3);
  margin-top: -2px;
  margin-bottom: 4px;
}
.intern-field input,
.intern-field select,
.intern-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: rgba(120, 120, 128, 0.08);
  border: none;
  border-radius: var(--r-sm, 16px);
  padding: 12px 16px;
  outline: none;
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.06),
    inset 0 0 0 1px rgba(0, 0, 0, 0.03);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: all var(--t-fast) ease;
}
html[data-theme="dark"] .intern-field input,
html[data-theme="dark"] .intern-field select,
html[data-theme="dark"] .intern-field textarea {
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.intern-field input:focus,
.intern-field select:focus,
.intern-field textarea:focus {
  background: var(--bg-elev);
  box-shadow:
    0 0 0 2px var(--brand),
    0 8px 24px -4px rgba(var(--brand-rgb), 0.35);
}
.intern-field select {
  padding-left: 10px;
  padding-right: 28px;
  background-position: right 10px center;
  background-size: 15px;
  cursor: pointer;
}

/* =====================================================================
   Custom Selects inside Form (iOS Liquid Glass Integration)
   ===================================================================== */
.intern-field .cselect {
  position: relative;
  width: 100%;
  min-width: 0;
}
.intern-field .cselect-btn {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 550;
  color: var(--ink);
  background: rgba(120, 120, 128, 0.08);
  border: none;
  border-radius: var(--r-sm, 16px);
  padding: 12px 14px;
  outline: none;
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.06),
    inset 0 0 0 1px rgba(0, 0, 0, 0.03);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: all var(--t-fast) ease;
}
html[data-theme="dark"] .intern-field .cselect-btn {
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.intern-field .cselect-btn:hover {
  background: rgba(120, 120, 128, 0.12);
}
html[data-theme="dark"] .intern-field .cselect-btn:hover {
  background: rgba(255, 255, 255, 0.09);
}
.intern-field .cselect.is-open .cselect-btn,
.intern-field .cselect-btn:focus-visible {
  background: var(--bg-elev);
  color: var(--ink);
  box-shadow:
    0 0 0 2px var(--brand),
    0 8px 24px -4px rgba(var(--brand-rgb), 0.35);
}
.intern-field .cselect-val {
  flex: 1 1 0%;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.intern-field .cselect-val.is-placeholder {
  color: var(--label-3);
  font-weight: 400;
}
.intern-field .cselect-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.intern-field .cselect-arrow svg {
  width: 16px;
  height: 16px;
}
.intern-field .cselect-menu {
  border-radius: 18px;
  padding: 6px;
  max-width: 100%;
}
.intern-field .cselect-list {
  max-height: 220px;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--brand-rgb), 0.35) transparent;
}
.intern-field .cselect-opt {
  padding: 9px 12px;
  font-size: 14px;
  border-radius: 12px;
}
.intern-field .cselect-opt-text {
  text-align: left;
}
.intern-field textarea {
  resize: vertical;
  min-height: 84px;
  line-height: 1.5;
}
.intern-field.has-error input,
.intern-field.has-error select,
.intern-field.has-error textarea,
.intern-field.has-error .cselect-btn {
  box-shadow:
    0 0 0 2px var(--danger),
    0 8px 24px -4px rgba(229, 72, 77, 0.25) !important;
}
.intern-field-error {
  font-size: 12px;
  color: var(--danger);
  font-weight: 600;
  margin-top: 2px;
  display: none;
}
.intern-field.has-error .intern-field-error {
  display: block;
}

/* Radio pills (Gender) - Apple Frosted Capsule */
.intern-radio-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.intern-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 9px 18px;
  border-radius: var(--r-pill, 999px);
  background: rgba(120, 120, 128, 0.08);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 550;
  color: var(--ink);
  transition: all var(--t-fast) ease;
}
html[data-theme="dark"] .intern-radio-label {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.intern-radio-label:has(input[type="radio"]:checked) {
  background: var(--brand);
  color: #111;
  font-weight: 700;
  box-shadow:
    0 6px 18px -4px rgba(var(--brand-rgb), 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
}
.intern-radio-label input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #111;
  cursor: pointer;
  margin: 0;
}

/* Direction Cards (5 tracks) - BORDERLESS FROSTED GLASS SQUIRCLES */
.intern-dir-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 8px;
}
@media (min-width: 520px) {
  .intern-dir-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.intern-dir-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: none;
  border-radius: var(--r-md, 20px);
  background: rgba(120, 120, 128, 0.08);
  box-shadow:
    0 4px 14px -3px rgba(45, 40, 31, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  cursor: pointer;
  transition: transform var(--t-fast) ease, box-shadow var(--t-fast) ease, background var(--t-fast) ease;
  user-select: none;
}
html[data-theme="dark"] .intern-dir-card {
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 6px 18px -4px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.intern-dir-card:hover {
  transform: translateY(-2px);
  background: rgba(var(--brand-rgb), 0.1);
  box-shadow:
    0 8px 24px -6px rgba(var(--brand-rgb), 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.intern-dir-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.intern-dir-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: rgba(120, 120, 128, 0.12);
  color: var(--label-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all var(--t-fast) ease;
}
html[data-theme="dark"] .intern-dir-icon {
  background: rgba(255, 255, 255, 0.08);
}
.intern-dir-icon svg {
  width: 20px;
  height: 20px;
}
.intern-dir-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--t-fast) ease;
}
.intern-dir-card.is-active,
.intern-dir-card:has(input[type="radio"]:checked) {
  border: none;
  outline: none;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.18) 0%, rgba(255, 224, 0, 0.08) 100%);
  box-shadow:
    0 14px 34px -6px rgba(var(--brand-rgb), 0.4),
    0 4px 14px -2px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.24),
    inset 0 0 24px -6px rgba(var(--brand-rgb), 0.28);
  transform: translateY(-2px);
}
html[data-theme="light"] .intern-dir-card.is-active,
html[data-theme="light"] .intern-dir-card:has(input[type="radio"]:checked) {
  background: linear-gradient(135deg, rgba(255, 224, 0, 0.24) 0%, rgba(255, 140, 0, 0.14) 100%);
  box-shadow:
    0 12px 30px -6px rgba(var(--brand-rgb), 0.32),
    0 4px 12px -2px rgba(45, 40, 31, 0.1),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.6),
    inset 0 0 20px -6px rgba(var(--brand-rgb), 0.2);
}
.intern-dir-card.is-active .intern-dir-icon,
.intern-dir-card:has(input[type="radio"]:checked) .intern-dir-icon {
  background: var(--grad-brand);
  color: #111;
  box-shadow:
    0 4px 14px rgba(var(--brand-rgb), 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
}
.intern-dir-card.is-active .intern-dir-title,
.intern-dir-card:has(input[type="radio"]:checked) .intern-dir-title {
  color: var(--ink);
  font-weight: 750;
}
html[data-theme="dark"] .intern-dir-card.is-active .intern-dir-title,
html[data-theme="dark"] .intern-dir-card:has(input[type="radio"]:checked) .intern-dir-title {
  color: #ffffff;
}

/* Dropzone - Frosted Liquid Glass */
.intern-dropzone {
  width: 100%;
  border: 2px dashed rgba(var(--brand-rgb), 0.35);
  border-radius: var(--r-md, 22px);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  background: rgba(120, 120, 128, 0.05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow:
    0 4px 16px -4px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: all var(--t-fast) ease;
  text-align: center;
  margin-top: 6px;
}
html[data-theme="dark"] .intern-dropzone {
  background: rgba(255, 255, 255, 0.03);
  box-shadow:
    0 6px 20px -6px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.intern-dropzone:hover,
.intern-dropzone.is-dragover {
  border-color: var(--brand);
  background: rgba(var(--brand-rgb), 0.08);
  box-shadow:
    0 10px 32px -8px rgba(var(--brand-rgb), 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
.intern-dropzone svg {
  width: 34px;
  height: 34px;
  color: var(--brand);
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 8px rgba(var(--brand-rgb), 0.3));
}
.intern-dropzone-prompt {
  font-size: 14.5px;
  font-weight: 650;
  color: var(--ink);
}
.intern-dropzone-sub {
  font-size: 12.5px;
  color: var(--label-3);
}

/* File list */
.intern-file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.intern-file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--r-sm, 16px);
  background: rgba(120, 120, 128, 0.08);
  border: none;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
html[data-theme="dark"] .intern-file-item {
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 4px 14px -3px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.intern-file-icon {
  width: 22px;
  height: 22px;
  color: var(--brand);
  flex-shrink: 0;
}
.intern-file-info {
  flex: 1;
  min-width: 0;
}
.intern-file-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.intern-file-size {
  font-size: 11.5px;
  color: var(--label-3);
}
.intern-file-remove {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  color: var(--label-3);
  display: grid;
  place-items: center;
  transition: all var(--t-fast) ease;
}
.intern-file-remove:hover {
  background: rgba(229, 72, 77, 0.15);
  color: var(--danger);
}
.intern-file-remove svg {
  width: 16px;
  height: 16px;
}

/* Rules Section - BORDERLESS FROSTED CARDS */
.intern-rules-head {
  text-align: center;
  padding-top: 32px;
  margin-bottom: 28px;
  position: relative;
}
.intern-rules-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120, 120, 128, 0.2), transparent);
}
html[data-theme="dark"] .intern-rules-head::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}
.intern-rules-title {
  font-size: clamp(20px, 2.6vw, 24px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 8px;
}
.intern-rules-sub {
  font-size: 13.5px;
  color: var(--label-2);
  margin: 0;
}
.intern-rule-category {
  margin-bottom: 28px;
}
.intern-rule-cat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 14px;
}
.intern-rule-cat-pill {
  width: 5px;
  height: 22px;
  border-radius: 999px;
  background: var(--grad-brand);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(var(--brand-rgb), 0.4);
}
.intern-rule-box {
  background: rgba(120, 120, 128, 0.06);
  border: none;
  border-radius: var(--r-md, 20px);
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow:
    0 4px 16px -4px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
html[data-theme="dark"] .intern-rule-box {
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 6px 20px -6px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.intern-rule-box-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.intern-rule-box-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: radial-gradient(circle at 35% 30%, rgba(255, 224, 0, 0.25), rgba(255, 140, 0, 0.08));
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow:
    0 4px 12px -2px rgba(var(--brand-rgb), 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
}
.intern-rule-box-icon svg {
  width: 18px;
  height: 18px;
}
.intern-rule-box-name {
  font-size: 15px;
  font-weight: 750;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.intern-rule-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.intern-rule-item {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--label-2);
  line-height: 1.55;
}
.intern-rule-item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.9;
  box-shadow: 0 0 6px rgba(var(--brand-rgb), 0.5);
}
.intern-rule-sublist {
  margin: 6px 0 6px 14px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.intern-rule-subitem {
  font-size: 13.5px;
  color: var(--label-2);
  line-height: 1.45;
}
.intern-rule-p {
  font-size: 13.5px;
  color: var(--label-2);
  line-height: 1.55;
  margin: 8px 0 0;
}
.intern-rule-alert {
  color: var(--danger);
  font-weight: 600;
}
.intern-rules-box {
  background: rgba(120, 120, 128, 0.06);
  border-radius: var(--r-md, 20px);
  padding: 18px 20px;
  box-shadow:
    0 4px 16px -4px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
html[data-theme="dark"] .intern-rules-box {
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 6px 20px -6px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.intern-rules-box .intern-rule-p:first-child {
  margin-top: 0;
}
.intern-rule-ul {
  list-style: none;
  margin: 6px 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.intern-rule-ul li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--label-2);
  line-height: 1.5;
}
.intern-rule-ul li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.9;
  box-shadow: 0 0 6px rgba(var(--brand-rgb), 0.5);
}

/* Checkbox Label: Apple iOS Checkbox */
.intern-checkbox-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 550;
}
.intern-checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px !important;
  min-width: 20px;
  height: 20px !important;
  min-height: 20px;
  flex-shrink: 0;
  padding: 0 !important;
  margin: 2px 0 0 0 !important;
  border-radius: 6px !important;
  border: 1.5px solid rgba(120, 120, 128, 0.3) !important;
  background: rgba(120, 120, 128, 0.08) !important;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06) !important;
  transition: all var(--t-fast) ease;
}
html[data-theme="dark"] .intern-checkbox-label input[type="checkbox"]:not(:checked),
:root[data-theme="dark"] .intern-checkbox-label input[type="checkbox"]:not(:checked) {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35) !important;
}
.intern-checkbox-label input[type="checkbox"]:hover {
  border-color: var(--brand) !important;
}
.intern-checkbox-label input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.4) !important;
}
.intern-checkbox-label input[type="checkbox"]:checked,
html[data-theme="dark"] .intern-checkbox-label input[type="checkbox"]:checked,
:root[data-theme="dark"] .intern-checkbox-label input[type="checkbox"]:checked {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  box-shadow: 0 2px 10px rgba(var(--brand-rgb), 0.5) !important;
}
.intern-checkbox-label input[type="checkbox"]:checked::after,
html[data-theme="dark"] .intern-checkbox-label input[type="checkbox"]:checked::after,
:root[data-theme="dark"] .intern-checkbox-label input[type="checkbox"]:checked::after {
  content: "";
  width: 5px;
  height: 10px;
  border: solid var(--on-brand);
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}
.intern-field.has-error .intern-checkbox-label input[type="checkbox"] {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 2px var(--danger), 0 4px 12px -2px rgba(229, 72, 77, 0.25) !important;
}

/* Submit Button: Apple Pill with Glowing Gradient */
.intern-submit-bar {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.intern-submit-note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--label-2);
}
.intern-submit-btn {
  margin-top: 28px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  font-size: 16.5px;
  font-weight: 750;
  border-radius: var(--r-pill, 999px);
  background: var(--grad-brand);
  color: #111;
  box-shadow:
    0 12px 32px -6px rgba(var(--brand-rgb), 0.6),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.5);
  border: none;
  transition: all var(--t-fast) ease;
}
.intern-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px -6px rgba(var(--brand-rgb), 0.75),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.7);
}
.intern-submit-btn:active {
  transform: scale(0.98);
}
.intern-spinner {
  animation: internSpin 0.9s linear infinite;
  display: none;
}
.is-sending .intern-spinner {
  display: inline-block;
}
.is-sending .intern-send-icon {
  display: none;
}
.is-sending .intern-btn-text-default {
  display: none;
}
.is-sending .intern-btn-text-sending {
  display: inline;
}
.intern-btn-text-sending {
  display: none;
}
@keyframes internSpin {
  to { transform: rotate(360deg); }
}
.intern-footer-copy {
  text-align: center;
  font-size: 12.5px;
  color: var(--label-3);
  margin-top: 28px;
}

/* Global error */
.intern-global-error {
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: var(--r-sm, 16px);
  background: rgba(229, 72, 77, 0.12);
  color: var(--danger);
  font-size: 13.5px;
  font-weight: 600;
  display: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.intern-global-error.is-visible {
  display: block;
}

/* Success Screen (Rule 309: Apple Glass Success Experience) */
.intern-success {
  text-align: center;
  padding: clamp(32px, 5vw, 48px) 16px;
  animation: internScaleIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes internScaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.intern-success-badge,
.intern-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(var(--brand-rgb), 0.3), rgba(var(--brand-rgb), 0.08));
  border: 1.5px solid rgba(var(--brand-rgb), 0.4);
  color: var(--brand);
  margin: 0 auto 22px;
  box-shadow:
    0 12px 32px -4px rgba(var(--brand-rgb), 0.45),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  animation: vacBadgePop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
@keyframes vacBadgePop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.intern-success-badge svg,
.intern-success-icon svg {
  width: 38px;
  height: 38px;
  stroke: var(--brand);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:root[data-theme="light"] .intern-success-badge,
:root[data-theme="light"] .intern-success-icon {
  background: radial-gradient(circle at 35% 30%, rgba(var(--brand-rgb), 0.22), rgba(var(--brand-rgb), 0.05));
  border-color: rgba(var(--brand-rgb), 0.45);
  box-shadow:
    0 10px 24px -4px rgba(var(--brand-rgb), 0.3),
    inset 0 1px 1px #fff;
}
.intern-success-title {
  font-size: clamp(23px, 3.2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 auto 12px;
  max-width: 26ch;
  line-height: 1.25;
}
.intern-success-desc {
  font-size: 15px;
  color: var(--label-2);
  max-width: 48ch;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.intern-success-recap {
  max-width: 460px;
  margin: 0 auto 26px;
  padding: 14px 20px;
  border-radius: var(--r-md, 18px);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px -4px rgba(0, 0, 0, 0.2);
  text-align: left;
}
:root[data-theme="light"] .intern-success-recap {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: inset 0 1px 0 #fff, 0 4px 16px -2px rgba(0, 0, 0, 0.04);
}
.intern-success-recap-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(120, 120, 128, 0.12);
  font-size: 14px;
}
.intern-success-recap-row:first-child {
  padding-top: 2px;
}
.intern-success-recap-row:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}
.intern-success-recap-label {
  color: var(--label-3);
  font-weight: 500;
  font-size: 13.5px;
  flex-shrink: 0;
}
.intern-success-recap-val {
  color: var(--ink);
  font-weight: 650;
  font-size: 14px;
  text-align: right;
  word-break: break-word;
}
.intern-success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 22px;
}
.intern-success-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 750;
  color: var(--ink);
  margin-bottom: 32px;
}
.intern-success-brand svg {
  width: 22px;
  height: 22px;
  color: var(--brand);
}

/* =====================================================================
   Vacancy Form Switcher & Selected Job Notice (Rule 306)
   ===================================================================== */
.vac-form-switcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px;
  background: rgba(120, 120, 128, 0.1);
  border-radius: var(--r-pill, 999px);
  margin: 18px auto 8px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
  max-width: 100%;
}
:root[data-theme="dark"] .vac-form-switcher {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4);
}
.vac-form-switch-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--r-pill, 999px);
  font-size: 13.5px;
  font-weight: 650;
  color: var(--label-2);
  text-decoration: none;
  transition: all var(--t-fast) ease;
}
.vac-form-switch-item .i {
  width: 15px;
  height: 15px;
}
.vac-form-switch-item:hover {
  color: var(--ink);
}
.vac-form-switch-item.is-active {
  background: var(--brand);
  color: #111;
  font-weight: 750;
  box-shadow: 0 4px 16px -2px rgba(var(--brand-rgb), 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.vac-selected-notice {
  margin-top: 10px;
  padding: 22px 26px;
  border-radius: var(--r-md, 18px);
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(var(--brand-rgb), 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 24px -4px rgba(0, 0, 0, 0.35);
  animation: vacFadeIn 0.25s ease both;
  transition: all var(--t-fast) ease;
}
:root[data-theme="light"] .vac-selected-notice {
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.12) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-color: rgba(var(--brand-rgb), 0.35);
  box-shadow: 0 4px 20px -2px rgba(var(--brand-rgb), 0.15);
}
.vac-selected-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.vac-selected-title {
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 750;
  color: var(--ink);
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.vac-change-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(120, 120, 128, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--brand);
  font-size: 13px;
  font-weight: 650;
  padding: 6px 14px;
  border-radius: var(--r-pill, 999px);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--t-fast) ease;
}
:root[data-theme="light"] .vac-change-link {
  background: rgba(var(--brand-rgb), 0.1);
  border-color: rgba(var(--brand-rgb), 0.25);
}
.vac-change-link:hover {
  background: rgba(var(--brand-rgb), 0.22);
  border-color: var(--brand);
  color: var(--ink);
  transform: translateY(-1px);
}
.vac-change-link .i {
  width: 13px;
  height: 13px;
  transition: transform var(--t-fast) ease;
}
.vac-change-link:hover .i {
  transform: translateX(2px);
}
.vac-selected-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--label-2);
  margin: 12px 0 0 0;
  font-weight: 450;
}

.vac-form-context-switch {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(120, 120, 128, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--label-2);
  text-align: center;
  flex-wrap: wrap;
}
:root[data-theme="dark"] .vac-form-context-switch {
  border-top-color: rgba(255, 255, 255, 0.08);
}
.vac-form-context-switch a {
  color: var(--brand);
  font-weight: 650;
  text-decoration: none;
  transition: opacity var(--t-fast) ease;
}
.vac-form-context-switch a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* Fallback / Direct HR Contact Alert (Rule 310: Apple Glass Notice) */
.intern-fallback {
  margin-top: 20px;
  animation: vacFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.intern-fallback-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--r-md, 18px);
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(var(--brand-rgb), 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px -4px rgba(0, 0, 0, 0.3);
  text-align: left;
}
:root[data-theme="light"] .intern-fallback-card {
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
  border-color: rgba(var(--brand-rgb), 0.35);
  box-shadow: 0 4px 20px -2px rgba(var(--brand-rgb), 0.15);
}
.intern-fallback-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(var(--brand-rgb), 0.15);
  border: 1px solid rgba(var(--brand-rgb), 0.35);
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}
.intern-fallback-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--brand);
}
.intern-fallback-body {
  flex: 1;
  min-width: 0;
}
.intern-fallback-title {
  font-size: 16px;
  font-weight: 750;
  color: var(--ink);
  margin: 0 0 6px 0;
  line-height: 1.35;
}
.intern-fallback-desc {
  font-size: 14px;
  color: var(--label-2);
  margin: 0 0 16px 0;
  line-height: 1.5;
}
.intern-fallback-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.intern-fallback-btns .btn {
  padding: 8px 16px;
  font-size: 13.5px;
  border-radius: var(--r-pill, 999px);
  gap: 7px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.btn-tg {
  background: linear-gradient(135deg, rgba(34, 158, 217, 0.22) 0%, rgba(34, 158, 217, 0.1) 100%);
  border: 1px solid rgba(34, 158, 217, 0.45);
  color: #38bdf8;
  font-weight: 650;
  transition: all var(--t-fast) ease;
}
.btn-tg:hover {
  background: rgba(34, 158, 217, 0.32);
  border-color: #38bdf8;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px -2px rgba(34, 158, 217, 0.45);
}
.btn-tg .i {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}
.intern-fallback-btns .btn-glass .i {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}
@media (max-width: 640px) {
  .intern-fallback-card {
    flex-direction: column;
    padding: 18px 16px;
    gap: 12px;
  }
  .intern-fallback-btns {
    width: 100%;
  }
  .intern-fallback-btns .btn {
    flex: 1;
    justify-content: center;
  }
}




/* ==========================================================================
   SERVICE DETAIL PAGES — APPLE LIQUID GLASS CREATIVE SYSTEM
   ========================================================================== */

.badge-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans, "Onest", -apple-system, sans-serif);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--brand-ink);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: rgba(var(--brand-rgb), 0.12);
  box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

:root[data-theme="dark"] .badge-tag {
  color: #ffd23f;
  background: rgba(255, 196, 0, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 196, 0, 0.28);
}


/* 2. PAINS VS GAINS MATRIX — PREMIUM LIQUID GLASS COMPARISON */
.svc-matrix-sec {
  position: relative;
}

.svc-matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
  align-items: stretch;
}

/* Base Matrix Card */
.svc-matrix-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3.5vw, 42px);
  border-radius: var(--r-xl, 36px);
  overflow: hidden;
  transition: transform 0.25s var(--spring), box-shadow 0.25s ease;
}

/* --- Left Card: Pains (Muted, Cautionary, Restrained) --- */
.svc-matrix-card.is-pain {
  background: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  border: none;
}

:root[data-theme="dark"] .svc-matrix-card.is-pain {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 20px 48px -16px rgba(0, 0, 0, 0.45);
}

:root:not([data-theme="dark"]) .svc-matrix-card.is-pain {
  background: linear-gradient(170deg, rgba(248, 249, 250, 0.95), rgba(240, 242, 245, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(0, 0, 0, 0.06), 0 16px 40px -12px rgba(0, 0, 0, 0.06);
}

/* --- Right Card: Gains (Elevated, Glowing Hero Liquid Glass) --- */
.svc-matrix-card.is-gain {
  background: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  border: none;
}

:root[data-theme="dark"] .svc-matrix-card.is-gain {
  background: linear-gradient(165deg, rgba(34, 28, 20, 0.8), rgba(20, 18, 14, 0.9));
  box-shadow:
    0 28px 70px -16px rgba(0, 0, 0, 0.75),
    0 0 40px -10px rgba(255, 140, 0, 0.15),
    inset 0 1.5px 0 rgba(255, 215, 0, 0.48),
    inset 0 0 0 1px rgba(255, 180, 0, 0.28);
}

:root:not([data-theme="dark"]) .svc-matrix-card.is-gain {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 235, 0.92));
  box-shadow:
    0 24px 60px -14px rgba(255, 140, 0, 0.2),
    inset 0 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 0 0 1px rgba(255, 165, 0, 0.35);
}

/* Ambient Radial Glow */
.svc-matrix-ambient {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.28), rgba(255, 140, 0, 0) 70%);
  pointer-events: none;
  filter: blur(36px);
  z-index: 0;
}

/* Card Header */
.svc-matrix-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 28px;
}

.svc-matrix-head .h3 {
  margin: 12px 0 0;
  font-size: clamp(21px, 2.2vw, 25px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.svc-matrix-sub {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--label-2);
}

:root[data-theme="dark"] .svc-matrix-sub {
  color: rgba(255, 255, 255, 0.72);
}

/* Badges */
.svc-matrix-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans, "Onest", -apple-system, sans-serif);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.svc-matrix-badge.is-pain {
  background: rgba(220, 100, 90, 0.1);
  color: #d46b60;
  box-shadow: inset 0 0 0 1px rgba(220, 100, 90, 0.22);
}

:root[data-theme="dark"] .svc-matrix-badge.is-pain {
  color: #e2857b;
  background: rgba(220, 100, 90, 0.12);
  box-shadow: inset 0 0 0 1px rgba(220, 100, 90, 0.25);
}

.svc-matrix-badge.is-gain {
  background: rgba(var(--brand-rgb), 0.16);
  color: var(--brand-ink);
  box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), 0.35);
}

:root[data-theme="dark"] .svc-matrix-badge.is-gain {
  background: rgba(255, 196, 0, 0.18);
  color: #ffd23f;
  box-shadow: inset 0 0 0 1px rgba(255, 196, 0, 0.35);
}

.svc-matrix-badge .i {
  width: 12px;
  height: 12px;
}

.eb-dot.is-red {
  background: #d46b60;
  box-shadow: 0 0 8px rgba(212, 107, 96, 0.45);
}

:root[data-theme="dark"] .eb-dot.is-red {
  background: #e2857b;
  box-shadow: 0 0 8px rgba(226, 133, 123, 0.5);
}

/* Items List — Equal 1fr Grid for Row Alignment */
.svc-matrix-items {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 12px;
  flex: 1;
}

/* Individual Item Micro-Card — Centered Equal-Height Rows */
.svc-matrix-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--r-md, 18px);
  min-height: 72px;
  box-sizing: border-box;
  transition: all 0.22s var(--spring);
}

.svc-matrix-item.is-pain {
  background: rgba(120, 120, 128, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

:root[data-theme="dark"] .svc-matrix-item.is-pain {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

:root:not([data-theme="dark"]) .svc-matrix-item.is-pain {
  background: rgba(0, 0, 0, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.svc-matrix-item.is-gain {
  background: rgba(120, 120, 128, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .svc-matrix-item.is-gain {
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

:root:not([data-theme="dark"]) .svc-matrix-item.is-gain {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 #ffffff, inset 0 0 0 1px rgba(255, 165, 0, 0.15), 0 4px 14px rgba(0, 0, 0, 0.03);
}

.svc-matrix-item.is-gain:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 1px rgba(255, 180, 0, 0.35), 0 8px 24px -6px rgba(0, 0, 0, 0.35);
}

:root:not([data-theme="dark"]) .svc-matrix-item.is-gain:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 1px 0 #ffffff, inset 0 0 0 1px rgba(255, 165, 0, 0.4), 0 8px 20px -4px rgba(255, 140, 0, 0.15);
}

/* Number Label */
.svc-matrix-num {
  font-family: var(--font-sans, "Onest", -apple-system, sans-serif);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.02em;
  opacity: 0.55;
  flex-shrink: 0;
}

.svc-matrix-item.is-gain .svc-matrix-num {
  color: var(--brand-ink);
  opacity: 0.8;
}

:root[data-theme="dark"] .svc-matrix-item.is-gain .svc-matrix-num {
  color: #ffd23f;
}

/* Item Content */
.svc-matrix-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

/* Squircle Icon */
.svc-matrix-dot {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.svc-matrix-dot.is-pain {
  background: rgba(220, 100, 90, 0.12);
  color: #d46b60;
  box-shadow: inset 0 0 0 1px rgba(220, 100, 90, 0.2);
}

:root[data-theme="dark"] .svc-matrix-dot.is-pain {
  background: rgba(220, 100, 90, 0.14);
  color: #e2857b;
  box-shadow: inset 0 0 0 1px rgba(220, 100, 90, 0.22);
}

.svc-matrix-dot.is-gain {
  background: linear-gradient(135deg, #ffc938, #ff8c00);
  color: #121114;
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.35);
}

.svc-matrix-dot .i {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}

.svc-matrix-item-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 550;
}

.svc-matrix-item.is-pain .svc-matrix-item-text {
  color: var(--ink);
  font-weight: 500;
  opacity: 0.9;
}

:root[data-theme="dark"] .svc-matrix-item.is-pain .svc-matrix-item-text {
  color: rgba(255, 255, 255, 0.88);
}

.svc-matrix-item.is-gain .svc-matrix-item-text {
  color: var(--ink);
  font-weight: 600;
}

/* Trust Footer in Gains Card */
.svc-matrix-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(120, 120, 128, 0.14);
}

:root[data-theme="dark"] .svc-matrix-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.svc-matrix-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(120, 120, 128, 0.08);
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(120, 120, 128, 0.12);
}

:root[data-theme="dark"] .svc-matrix-trust-pill {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.svc-matrix-trust-pill .i {
  width: 13px;
  height: 13px;
  color: var(--brand);
}

:root[data-theme="dark"] .svc-matrix-trust-pill .i {
  color: #ffd23f;
}

.svc-matrix-trust-pill.is-pain {
  background: rgba(220, 100, 90, 0.08);
  color: #d46b60;
  box-shadow: inset 0 0 0 1px rgba(220, 100, 90, 0.18);
}

:root[data-theme="dark"] .svc-matrix-trust-pill.is-pain {
  background: rgba(220, 100, 90, 0.1);
  color: #e2857b;
  box-shadow: inset 0 1px 0 rgba(220, 100, 90, 0.2), inset 0 0 0 1px rgba(220, 100, 90, 0.14);
}

.svc-matrix-trust-pill.is-pain .i {
  color: #d46b60;
}

:root[data-theme="dark"] .svc-matrix-trust-pill.is-pain .i {
  color: #e2857b;
}


/* 3. DIRECTIONS BENTO GRID */
.svc-section-sub {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--label-2);
}

:root[data-theme="dark"] .svc-section-sub {
  color: rgba(255, 255, 255, 0.72);
}

.svc-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  grid-auto-rows: auto auto 1fr auto;
}

.svc-bento-card {
  position: relative;
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: var(--r-xl, 30px);
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  border: none;
  transition: translate var(--t-mid) var(--ease-out), box-shadow var(--t-mid) ease, border-color var(--t-mid) ease;
  overflow: hidden;
  isolation: isolate;
}

.svc-bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at 100% 0%, rgba(255, 160, 0, 0.12), transparent 70%);
  pointer-events: none;
  border-radius: 0 var(--r-xl, 30px) 0 0;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 0;
}

:root[data-theme="dark"] .svc-bento-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  box-shadow:
    0 20px 48px -14px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

:root[data-theme="dark"] .svc-bento-card::before {
  background: radial-gradient(circle at 100% 0%, rgba(255, 160, 0, 0.18), transparent 70%);
}

:root:not([data-theme="dark"]) .svc-bento-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(250, 250, 252, 0.92));
  box-shadow:
    0 14px 36px -10px rgba(0, 0, 0, 0.06),
    inset 0 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

@supports not (grid-template-rows: subgrid) {
  .svc-bento-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .svc-bento-desc {
    margin-bottom: auto;
  }
}

@media (hover: hover) {
  .svc-bento-card:hover {
    translate: 0 -4px;
    box-shadow:
      var(--card-shadow-lift),
      0 0 30px -4px rgba(255, 160, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      inset 0 0 0 1px rgba(255, 180, 0, 0.35);
  }
  .svc-bento-card:hover::before {
    opacity: 1;
    transform: scale(1.15);
  }
  .svc-bento-card:hover .app-icon {
    transform: scale(1.06) rotate(-2deg);
  }
  .svc-bento-card:hover .svc-bento-idx {
    color: var(--brand);
    background: rgba(255, 160, 0, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 180, 0, 0.35);
  }
}

.svc-bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.svc-bento-top .app-icon {
  transition: transform var(--t-mid) var(--spring);
}

.svc-bento-idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 24px;
  padding: 0 8px;
  border-radius: var(--r-pill, 999px);
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--label-2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

:root:not([data-theme="dark"]) .svc-bento-idx {
  background: rgba(0, 0, 0, 0.04);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.svc-bento-title {
  font-size: 19.5px;
  font-weight: 700;
  line-height: 1.32;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.svc-bento-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.72);
  margin: 0;
  position: relative;
  z-index: 1;
}

:root[data-theme="dark"] .svc-bento-desc {
  color: rgba(255, 255, 255, 0.74);
}

.svc-bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--sep);
  align-content: flex-start;
  position: relative;
  z-index: 1;
}

:root[data-theme="dark"] .svc-bento-tags {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.svc-bento-tags .tr-chip {
  font-size: 12.5px;
  line-height: 1.35;
  padding: 4px 10px;
}


/* 4. TECH STACK ECOSYSTEM */
.svc-stack-sec {
  scroll-margin-top: var(--header-h, 64px);
}

.svc-stack-title {
  text-wrap: balance;
}

@media (min-width: 900px) {
  .svc-stack-sec:has(.svc-stack-groups) .svc-stack-title,
  .svc-stack-title.is-mobile-stack {
    max-width: 21ch;
  }
}

.svc-stack-sec .svc-section-sub {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}

:root[data-theme="dark"] .svc-stack-sec .svc-section-sub {
  color: var(--ink-soft);
}

.svc-stack-groups {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 100%;
}

@media (min-width: 900px) {
  .svc-stack-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px clamp(24px, 4vw, 56px);
    max-width: 1000px;
  }
}

.svc-stack-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-stack-group-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: var(--ink);
}

:root[data-theme="dark"] .svc-stack-group-label {
  color: var(--ink-soft);
}

/* Inline SVG filter for liquid gooey effect */
.svc-goo-svg {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Liquid Chain (Mobile service tech-stack) */
:root {
  --chip-bg: #ffffff;
  --chip-text: var(--ink);
  --liquid-chip-bg: var(--chip-bg);
  --liquid-chip-shadow: 0 4px 14px rgba(30, 26, 21, 0.06);
}

:root[data-theme="dark"] {
  --chip-bg: #24211c;
  --chip-text: #f5f3ee;
  --liquid-chip-bg: var(--chip-bg);
  --liquid-chip-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
}

.svc-liquid-stage {
  position: relative;
  max-width: 100%;
  padding-top: 32px;
  margin-top: 0;
}

/* Soft drop-shadow on wrapper OUTSIDE the goo-filtered element */
.svc-liquid-shadow-wrap {
  filter: drop-shadow(var(--liquid-chip-shadow));
}

/* Decorative background layer: merged into liquid blob via #goo */
.svc-liquid-bg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 12px;
  column-gap: 2px;
  margin: 0;
  padding: 0;
  filter: url(#goo);
  -webkit-filter: url(#goo);
}

/* Foreground real text list (screen readers only read this) */
.svc-liquid-fg {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 12px;
  column-gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

/* Touch devices: remove reserved top padding so labels sit close to static chips */
@media (hover: none) {
  .svc-liquid-stage {
    padding-top: 0;
  }
  .svc-liquid-fg {
    top: 0;
  }
}

/* Base chip dimensions & typography (100% matched between layers) */
.svc-liquid-chip-bg,
.svc-liquid-chip-fg {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--r-pill, 999px);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  box-sizing: border-box;
  white-space: nowrap;
  position: relative;
}

/* Background chip: solid background, transparent text and dot */
.svc-liquid-chip-bg {
  background: var(--chip-bg);
  color: transparent !important;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.svc-liquid-chip-bg .svc-stack-dot {
  background: transparent !important;
  box-shadow: none !important;
}

/* Foreground chip: transparent background, crisp WCAG AA text and dot */
.svc-liquid-chip-fg {
  background: transparent;
  color: var(--chip-text);
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
}

/* Invisible hit area extending 36px downward on active chip to prevent flicker */
.svc-liquid-chip-fg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 36px;
  pointer-events: none;
}

.svc-liquid-chip-fg.is-out::after {
  pointer-events: auto;
}

/* Motion & detach effect: enabled ONLY when (hover: hover) or (any-hover: hover) and prefers-reduced-motion: no-preference */
@media ((hover: hover) or (any-hover: hover)) and (prefers-reduced-motion: no-preference) {
  .svc-liquid-chip-bg,
  .svc-liquid-chip-fg {
    transition: transform 0.55s cubic-bezier(0.3, 1.5, 0.5, 1);
    will-change: transform;
  }

  .svc-liquid-chip-bg.is-out,
  .svc-liquid-chip-fg.is-out {
    transform: translateY(-30px) scale(1.08);
    z-index: 2;
  }
}

.svc-stack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  max-width: 860px;
}

.svc-stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--r-pill, 999px);
  background: var(--card-fill);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--card-shadow), var(--card-rims);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: transform 0.2s var(--spring), box-shadow 0.2s ease, border-color 0.2s ease;
}

:root:not([data-theme="dark"]) .svc-stack-pill {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04), inset 0 1px 0 #ffffff, inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

:root[data-theme="dark"] .svc-stack-pill {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.svc-stack-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-lift), 0 0 18px -4px rgba(var(--brand-rgb), 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 0 0 1px rgba(var(--brand-rgb), 0.35);
}

.svc-stack-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px rgba(var(--brand-rgb), 0.6);
  flex-shrink: 0;
}

.svc-tech-guarantee {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
  padding: clamp(22px, 2.5vw, 28px) clamp(24px, 2.8vw, 34px);
  border-radius: var(--r-xl, 28px);
  background: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  border: none;
  overflow: hidden;
  isolation: isolate;
  max-width: 960px;
}

.svc-tech-guarantee::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 100%;
  background: radial-gradient(circle at 100% 50%, rgba(16, 185, 129, 0.12), transparent 70%);
  pointer-events: none;
  opacity: 0.8;
  z-index: 0;
}

:root:not([data-theme="dark"]) .svc-tech-guarantee {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(246, 252, 248, 0.94));
  box-shadow:
    0 14px 36px -10px rgba(0, 0, 0, 0.05),
    inset 0 1.5px 0 #ffffff,
    inset 0 0 0 1px rgba(16, 185, 129, 0.2);
}

:root[data-theme="dark"] .svc-tech-guarantee {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  box-shadow:
    0 18px 44px -14px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(16, 185, 129, 0.22);
}

.svc-tech-guarantee .app-icon {
  background: linear-gradient(145deg, #10b981, #059669);
  --ic-glow: 16, 185, 129;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 4px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.svc-tech-guarantee-body {
  position: relative;
  z-index: 1;
}

.svc-tech-guarantee h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.svc-tech-guarantee p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--label-2);
  margin: 0;
}

:root[data-theme="dark"] .svc-tech-guarantee p {
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 560px) {
  .svc-tech-guarantee {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 20px;
    border-radius: var(--r-lg, 24px);
  }

  .svc-tech-guarantee .app-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
  }

  .svc-tech-guarantee .app-icon svg {
    width: 20px;
    height: 20px;
  }

  .svc-tech-guarantee-body {
    width: 100%;
  }

  .svc-tech-guarantee h4 {
    font-size: 17px;
    line-height: 1.35;
    text-wrap: balance;
  }
}


/* 5. DELIVERABLES */
.svc-deliv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.svc-deliv-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  background: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  transition: transform 0.25s var(--spring), box-shadow 0.25s ease;
}

.svc-deliv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-lift), var(--card-rims);
}

.svc-deliv-text {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.48;
  color: var(--ink);
  margin: 0;
}


/* 6. PRICING & TERMS */
.svc-pricing-sec {
  padding-block: clamp(48px, 5.5vw, 76px);
}

.svc-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}

.svc-pricing-card {
  padding: clamp(28px, 3.6vw, 40px);
  border-radius: var(--r-lg);
  background: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

:root[data-theme="dark"] .svc-pricing-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 16px 40px -12px rgba(0, 0, 0, 0.6);
}

.svc-pricing-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.svc-pricing-top .h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.svc-pricing-desc {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--label-2);
  margin-bottom: 24px;
}

.svc-pricing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.svc-pricing-act {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}


/* 7. FAQ SPECIFICS */
.svc-faq-sec .faq-item summary {
  padding: 22px 24px;
}

.svc-faq-sec .faq-item summary .faq-num {
  font-family: var(--font-sans, "Onest", -apple-system, sans-serif);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
  opacity: 0.9;
  margin-right: 12px;
}

:root[data-theme="dark"] .svc-faq-sec .faq-item summary .faq-num {
  color: #ffd23f;
}

.svc-faq-sec .faq-title {
  flex: 1;
  min-width: 0;
}


/* RESPONSIVE QUERIES */
@media (max-width: 980px) {
  .svc-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .svc-matrix-grid {
    grid-template-columns: 1fr;
  }
  .svc-deliv-grid {
    grid-template-columns: 1fr;
  }
  .svc-pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .svc-bento-grid {
    grid-template-columns: 1fr;
  }
}

/* Rule 160: Hero page H1 typography breathing room */
.hero-page .h1 {
  max-width: 20em;
}

/* =====================================================================
   Vacancies & Career Hub (Rule 184 & 185 - Borderless Liquid Glass)
   ===================================================================== */
.vac-sec {
  padding-block: clamp(48px, 6vw, 84px);
}

.vac-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 22px);
  margin-top: clamp(28px, 3.5vw, 40px);
}

/* Pure Borderless Liquid Glass Card */
.vac-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.2vw, 36px);
  border-radius: 24px;
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  border: none;
  transition: translate 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
  overflow: hidden;
}

/* Ambient optical glow inside card */
.vac-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 100% 0%, rgba(255, 140, 0, 0.09), transparent 70%);
  pointer-events: none;
  border-radius: 0 24px 0 0;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

:root[data-theme="dark"] .vac-card::before {
  background: radial-gradient(circle at 100% 0%, rgba(255, 210, 63, 0.12), transparent 70%);
}

@media (hover: hover) {
  .vac-card:hover {
    translate: 0 -4px;
    box-shadow: var(--card-shadow-lift), var(--card-rims);
  }

  .vac-card:hover::before {
    opacity: 1;
  }

  :root[data-theme="dark"] .vac-card:hover {
    box-shadow:
      var(--card-shadow-lift),
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      inset 0 -1px 0 rgba(0, 0, 0, 0.4),
      0 0 32px -8px rgba(255, 180, 0, 0.18);
    border: none !important;
  }

  :root:not([data-theme="dark"]) .vac-card:hover {
    box-shadow:
      var(--card-shadow-lift),
      inset 0 1px 0 rgba(255, 255, 255, 0.95),
      inset 0 -1px 0 rgba(47, 42, 33, 0.06),
      0 0 28px -8px rgba(255, 140, 0, 0.14);
    border: none !important;
  }
}

/* Inactive Vacancy Card & Diagonal Corner Ribbon (Qiyshiq burchak lentasi) */
.vac-card.is-inactive {
  opacity: 0.92;
}

.vac-card.is-inactive .vac-top {
  padding-left: clamp(22px, 2.6vw, 36px);
  transition: padding-left 0.25s ease;
}

.vac-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 110px;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
  border-top-left-radius: 24px;
}

.vac-ribbon span {
  position: absolute;
  display: block;
  width: 156px;
  padding: 5px 0;
  top: 22px;
  left: -38px;
  transform: rotate(-45deg);
  text-align: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.25;
  color: #ffffff;
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #be123c 100%);
  box-shadow:
    0 3px 12px -2px rgba(225, 29, 72, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  user-select: none;
}

:root[data-theme="dark"] .vac-ribbon span {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #be123c 100%);
  box-shadow:
    0 4px 14px -2px rgba(225, 29, 72, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}

:root[data-theme="light"] .vac-ribbon span {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  box-shadow:
    0 3px 10px -2px rgba(225, 29, 72, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.vac-card.is-inactive .btn.is-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: var(--r-pill, 999px);
  font-size: 14.5px;
  font-weight: 600;
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--label-2, rgba(255, 255, 255, 0.6));
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

:root[data-theme="light"] .vac-card.is-inactive .btn.is-disabled {
  background: rgba(0, 0, 0, 0.05);
  color: var(--label-2, rgba(0, 0, 0, 0.5));
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.vac-top,
.vac-desc,
.vac-bottom {
  position: relative;
  z-index: 1;
}

.vac-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.vac-title {
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 750;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}

.vac-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Borderless Frosted Capsule Badges */
.vac-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5.5px 14px;
  border-radius: var(--r-pill, 999px);
  font-size: 13px;
  font-weight: 600;
  background: rgba(120, 120, 128, 0.08);
  color: var(--ink-soft);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  white-space: nowrap;
}

:root[data-theme="dark"] .vac-badge {
  background: rgba(255, 255, 255, 0.06);
  color: var(--label-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.vac-badge.is-brand {
  background: rgba(var(--brand-rgb), 0.14) !important;
  color: var(--brand-ink, #ff9500) !important;
  box-shadow: inset 0 1px 0 rgba(255, 224, 0, 0.3), inset 0 0 0 1px rgba(var(--brand-rgb), 0.22) !important;
}

:root[data-theme="dark"] .vac-badge.is-brand {
  background: rgba(var(--brand-rgb), 0.18) !important;
  color: #ffaa22 !important;
  box-shadow: inset 0 1px 0 rgba(255, 224, 0, 0.25), inset 0 0 0 1px rgba(var(--brand-rgb), 0.25) !important;
}

.vac-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--label-2);
  margin: 0 0 22px 0;
  max-width: 920px;
}

/* Borderless Bottom Row - Seamless Separation */
.vac-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
  border-top: none;
  margin-top: auto;
}

.vac-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Borderless Frosted Stack Tags (matching .svc-tag) */
.vac-tech {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--r-pill, 999px);
  font-size: 12px;
  font-weight: 550;
  letter-spacing: -0.01em;
  background: rgba(120, 120, 128, 0.08);
  color: var(--ink-soft);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

:root[data-theme="dark"] .vac-tech {
  background: rgba(255, 255, 255, 0.06);
  color: var(--label-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.vac-tech:hover {
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand-ink);
  transform: translateY(-1px);
}

:root[data-theme="dark"] .vac-tech:hover {
  background: rgba(255, 210, 63, 0.14);
  color: #ffd23f;
}

.vac-actions {
  display: flex;
  align-items: center;
}

/* Empty State for Vacancies when 0 open items */
.vac-empty-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(40px, 6vw, 64px) 24px;
  border-radius: 24px;
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur, 20px)) saturate(180%);
  backdrop-filter: blur(var(--card-blur, 20px)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  border: 1px dashed rgba(255, 184, 0, 0.35);
  margin-top: 8px;
}

.vac-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 184, 0, 0.12);
  color: #ffd23f;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

:root[data-theme="light"] .vac-empty-icon {
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand-ink);
}

.vac-empty-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 750;
  color: var(--ink);
  margin: 0 0 10px;
}

.vac-empty-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--label-2);
  max-width: 560px;
  margin: 0 0 24px;
}


/* ---------- Vacancies Filter Tabs (Authentic iOS Borderless Inset Style) ---------- */
.vac-nav-wrap {
  display: flex;
  justify-content: flex-start;
  margin: clamp(24px, 3vw, 36px) 0 clamp(20px, 2.5vw, 30px);
}

/* iOS Borderless Track with Recessed Inner Shadow */
.vac-tabs {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  background: rgba(120, 120, 128, 0.14);
  border: none !important;
  outline: none !important;
  border-radius: var(--r-full, 999px);
  box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.14), inset 0 0.5px 1px rgba(0, 0, 0, 0.08) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.vac-tabs::-webkit-scrollbar {
  display: none;
}

:root[data-theme="dark"] .vac-tabs {
  background: rgba(0, 0, 0, 0.38) !important;
  border: none !important;
  outline: none !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(0, 0, 0, 0.4) !important;
}

.vac-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: var(--r-full, 999px);
  border: none !important;
  outline: none !important;
  background: transparent;
  color: var(--label-2);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
  user-select: none;
}

.vac-tab .i {
  width: 17px;
  height: 17px;
  color: inherit;
  opacity: 0.72;
  transition: opacity var(--t-fast) ease, transform var(--t-fast) ease;
}

.vac-tab:hover {
  color: var(--ink);
  background: rgba(120, 120, 128, 0.08);
}
:root[data-theme="dark"] .vac-tab:hover {
  background: rgba(255, 255, 255, 0.04);
}
.vac-tab:hover .i {
  opacity: 1;
}

.vac-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--r-full, 999px);
  background: rgba(120, 120, 128, 0.16);
  color: inherit;
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  border: none !important;
  outline: none !important;
  pointer-events: none !important;
  user-select: none;
  transition: all var(--t-fast) ease;
}

/* Active State — iOS Style, No Outer Drop/Glow Shadow, Pure Crisp Depth & Inner Highlight */
.vac-tab.is-active {
  background: #ffffff !important;
  color: var(--shark) !important;
  border: none !important;
  outline: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  font-weight: 500;
}
.vac-tab.is-active .i {
  opacity: 1;
  color: var(--brand-ink);
}
.vac-tab.is-active .vac-tab-badge {
  background: var(--grad-brand) !important;
  color: #232325 !important;
  font-weight: 800;
  border: none !important;
  outline: none !important;
  pointer-events: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14),
    0 2px 6px -1px rgba(var(--brand-rgb), 0.45) !important;
  text-shadow: 0 0.5px 0 rgba(255, 255, 255, 0.25);
}

:root[data-theme="dark"] .vac-tab.is-active {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffc82a !important;
  border: none !important;
  outline: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
  font-weight: 500;
}
:root[data-theme="dark"] .vac-tab.is-active .i {
  color: #ffc82a;
}
:root[data-theme="dark"] .vac-tab.is-active .vac-tab-badge {
  background: var(--grad-brand) !important;
  color: #1a1a1c !important;
  font-weight: 800;
  border: none !important;
  outline: none !important;
  pointer-events: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(0, 0, 0, 0.16),
    0 2px 8px -1px rgba(255, 160, 0, 0.55) !important;
  text-shadow: 0 0.5px 0 rgba(255, 255, 255, 0.25);
}

/* Panes */
.vac-pane {
  display: block;
  animation: vacPaneFadeIn 0.35s ease;
}
.vac-pane[hidden] {
  display: none !important;
}

@keyframes vacPaneFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .vac-tabs {
    width: 100%;
    display: flex;
  }
  .vac-tab {
    flex: 1;
    justify-content: center;
    padding: 9px 12px;
    font-size: 13.5px;
    gap: 6px;
  }
  .vac-tab .i {
    width: 16px;
    height: 16px;
  }
}


/* Perk Checkmark Icon — Green iOS Glass with Authentic Inner Shadow (Borderless) */
.vac-perk-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: none !important;
  outline: none !important;
  background: rgba(52, 199, 89, 0.12) !important;
  color: #15803d !important;
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    inset 0 2px 4px rgba(0, 0, 0, 0.08) !important;
  flex-shrink: 0;
  transition: all var(--t-fast) var(--ease-out);
}
.vac-perk-icon .i {
  width: 18px;
  height: 18px;
}

:root[data-theme="dark"] .vac-perk-icon {
  background: linear-gradient(135deg, rgba(52, 199, 89, 0.22) 0%, rgba(36, 142, 65, 0.13) 100%) !important;
  color: #ffd23f !important;
  border: none !important;
  outline: none !important;
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    inset 0 2px 5px rgba(0, 0, 0, 0.25) !important;
}

/* Perk Cards — Borderless iOS Style Glass */
.vac-perk-tile {
  border: none !important;
  outline: none !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.85) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(47, 42, 33, 0.05),
    0 6px 20px -8px rgba(0, 0, 0, 0.07) !important;
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) ease;
}

:root[data-theme="dark"] .vac-perk-tile {
  background: rgba(255, 255, 255, 0.045) !important;
  border: none !important;
  outline: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 10px 30px -10px rgba(0, 0, 0, 0.6) !important;
}

@media (hover: hover) {
  .vac-perk-tile:hover {
    transform: translateY(-3px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.95),
      inset 0 -1px 0 rgba(47, 42, 33, 0.05),
      var(--card-shadow-lift) !important;
  }
  :root[data-theme="dark"] .vac-perk-tile:hover {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      inset 0 -1px 0 rgba(0, 0, 0, 0.4),
      0 18px 40px -12px rgba(0, 0, 0, 0.75) !important;
  }
}

/* =====================================================================
   About Page Redesign (6 Sections, Alternating Backgrounds, Liquid Glass)
   ===================================================================== */

/* ── 1. Hero Section ── */
.about-hero {
  position: relative;
  overflow: hidden;
}

.about-hero .hero-page-in {
  padding-bottom: clamp(52px, 6vw, 84px);
}

/* ── 2. Biz Kimmiz (Dark) ── */
.about-who {
  position: relative;
  padding: clamp(64px, 8vw, 108px) 0;
}

.about-who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.about-who-col-left {
  display: flex;
  flex-direction: column;
}

.about-photos-offset {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-bottom: clamp(60px, 7vw, 76px);
  perspective: 1000px;
}

.about-photo-main {
  position: relative;
  width: 90%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl, 32px);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--sep);
  transform-origin: 75% 95%;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s ease;
  will-change: transform;
}

:root[data-theme="dark"] .about-photo-main {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.7);
}

.about-photo-sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 66%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl, 28px);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  border: 3px solid var(--bg, #f5f4f0);
  transform-origin: 25% 95%;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s ease;
  will-change: transform;
}

:root[data-theme="dark"] .about-photo-sub {
  border-color: var(--bg, #0A0908);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.8);
}

.about-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-photo-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover: Pastki qismi markazga tortiladi, tepa qismi chap va o'ngga egiladi */
.about-photos-offset:hover .about-photo-main {
  transform: rotate(-2deg) translate(6px, -4px);
  box-shadow: -10px 24px 54px -10px rgba(0, 0, 0, 0.45);
}

:root[data-theme="dark"] .about-photos-offset:hover .about-photo-main {
  box-shadow: -10px 24px 54px -10px rgba(0, 0, 0, 0.75);
}

.about-photos-offset:hover .about-photo-sub {
  transform: rotate(2.5deg) translate(-6px, -4px);
  box-shadow: 10px 28px 58px -10px rgba(0, 0, 0, 0.55);
}

:root[data-theme="dark"] .about-photos-offset:hover .about-photo-sub {
  box-shadow: 10px 28px 58px -10px rgba(0, 0, 0, 0.85);
}

.about-photos-offset:hover .about-photo-main img,
.about-photos-offset:hover .about-photo-sub img {
  transform: scale(1.02);
}

.about-photo-chip {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--r-pill, 999px);
  border: none;
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s ease;
}

:root[data-theme="dark"] .about-photo-chip {
  border: none;
  background-color: var(--card-fill);
  box-shadow: var(--card-shadow), var(--card-rims);
}

.about-photos-offset:hover .about-photo-chip {
  transform: translateY(-2px);
}

.about-photo-chip .chip-sparkle {
  color: #ffaa00;
  font-size: 14px;
}

/* ── Interactive Gallery Trigger Hints (Hozircha o'chirilgan) ── */
.about-photo-main,
.about-photo-sub,
.about-photo-chip {
  cursor: default;
}

.about-photo-zoom-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 12, 16, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 4;
  pointer-events: none;
}

.about-photo-zoom-icon svg {
  width: 16px;
  height: 16px;
}

.about-photo-main:hover .about-photo-zoom-icon,
.about-photo-sub:hover .about-photo-zoom-icon,
.about-photos-offset:hover .about-photo-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.about-chip-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand-ink);
  border: 1px solid rgba(var(--brand-rgb), 0.25);
  margin-left: 4px;
}

:root[data-theme="dark"] .about-chip-badge {
  background: rgba(255, 210, 63, 0.16);
  color: #ffd23f;
  border-color: rgba(255, 210, 63, 0.35);
}

/* ── Gallery Modal (Limon.uz Native Modal Style) ── */
.modal-gallery {
  max-width: min(840px, calc(100vw - 32px));
  padding: clamp(22px, 2.5vw, 30px);
}

.modal-gallery-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.modal-gallery-title-row .modal-title {
  margin: 0;
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-gallery-counter {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: var(--r-pill, 999px);
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand-ink);
  border: 1px solid rgba(var(--brand-rgb), 0.25);
  font-variant-numeric: tabular-nums;
  margin-right: 44px;
}

:root[data-theme="dark"] .modal-gallery-counter {
  background: rgba(255, 149, 0, 0.15);
  color: #ffb340;
  border-color: rgba(255, 149, 0, 0.32);
}

.modal-gallery-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: clamp(280px, 52vh, 480px);
  border-radius: 20px;
  overflow: hidden;
  margin: 16px 0 14px;
  background: #080a0d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

:root[data-theme="light"] .modal-gallery-stage {
  background: #f1f3f6;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.modal-gallery-stage-bg {
  position: absolute;
  inset: -24px;
  background-size: cover;
  background-position: center;
  filter: blur(34px) brightness(0.4) saturate(1.35);
  opacity: 0.72;
  pointer-events: none;
  transform: scale(1.1);
  transition: opacity 0.3s ease;
}

:root[data-theme="light"] .modal-gallery-stage-bg {
  filter: blur(34px) brightness(0.92) saturate(1.15);
  opacity: 0.38;
}

.modal-gallery-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  cursor: pointer;
  border-radius: 14px;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.45));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

:root[data-theme="light"] .modal-gallery-img {
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
}

.modal-gallery-img:hover {
  transform: scale(1.015);
}

.modal-gallery-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-gallery-caption {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--label-2);
  line-height: 1.45;
}

.modal-gallery-thumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 4px;
}

.about-gal-thumb {
  position: relative;
  width: clamp(62px, 8vw, 78px);
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.about-gal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.about-gal-thumb:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.about-gal-thumb.is-active {
  opacity: 1;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .modal-gallery {
    padding: 20px 16px;
    border-radius: 24px;
  }
  .modal-gallery-stage {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }
  .modal-gallery-img {
    border-radius: 14px;
  }
  .about-gal-thumb {
    width: 54px;
    border-radius: 8px;
  }
  .modal-gallery-counter {
    margin-right: 36px;
  }
}

.about-who-col-right {
  display: flex;
  flex-direction: column;
}

.about-who-lead {
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.55;
  color: var(--label-2);
  margin: 0 0 28px;
}

/* ── Editorial List (Why work with us / Formats) ── */
.about-editorial-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: none;
}

.about-editorial-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(125, 125, 125, 0.12);
  border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  background: transparent !important;
  box-shadow: none !important;
  cursor: default;
}

.about-editorial-item:first-child {
  padding-top: 12px;
}

.about-editorial-item:last-child {
  border-bottom: none;
  padding-bottom: 6px;
}

.about-editorial-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #ff9500;
  stroke: #ff9500;
  stroke-width: 1.75;
}

.about-editorial-content {
  flex: 1;
  min-width: 0;
}

.about-editorial-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 4px;
  transition: color 200ms ease;
}

.about-editorial-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--label-2);
  margin: 0;
}

.about-editorial-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(125, 125, 125, 0.4);
  color: color-mix(in srgb, currentColor 35%, transparent);
  transition: transform 200ms ease, color 200ms ease;
}

.about-editorial-item:hover .about-editorial-title {
  color: #ff9500;
}

.about-editorial-item:hover .about-editorial-arrow {
  transform: translateX(4px);
  color: #ff9500;
}

@media (max-width: 560px) {
  .about-editorial-arrow {
    display: none;
  }
  .about-editorial-item {
    gap: 16px;
    padding: 20px 0;
  }
}

.about-clients-block {
  margin-top: 28px;
}

.about-clients-title {
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--label-2);
  margin: 0 0 14px;
}

.about-clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: stretch;
}

.about-client-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 8px 16px;
  border-radius: var(--r-sm, 14px);
  background: var(--bg-elev);
  border: 1px solid var(--sep);
  box-shadow: var(--shadow-1);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s ease,
              border-color 0.22s ease;
}

:root[data-theme="dark"] .about-client-tile {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.about-client-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--brand-rgb), 0.35);
  box-shadow: var(--card-shadow-lift);
}

:root[data-theme="dark"] .about-client-tile:hover {
  background: #ffffff;
  border-color: rgba(255, 210, 63, 0.7);
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(255, 210, 63, 0.35);
}

.about-client-tile img {
  max-width: 100%;
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

:root[data-theme="dark"] .about-client-tile img {
  filter: none;
  opacity: 0.95;
}

:root[data-theme="dark"] .about-client-tile:hover img {
  filter: none;
  opacity: 1;
}

@media (max-width: 540px) {
  .about-clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .about-client-tile {
    height: 48px;
    padding: 6px 10px;
  }
}

@media (max-width: 960px) {
  .about-who-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-photos-offset {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ── 3. Raqamlar (is-paper) ── */
.about-stats-sec {
  position: relative;
  padding: clamp(64px, 8vw, 108px) 0;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: clamp(32px, 4vw, 56px);
}

.about-stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--r-xl, 28px);
  border: none;
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur, 20px)) saturate(180%);
  backdrop-filter: blur(var(--card-blur, 20px)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease;
}

:root[data-theme="dark"] .about-stat-card {
  border: none;
  background-color: var(--card-fill);
  box-shadow: var(--card-shadow), var(--card-rims);
}

.about-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-lift), var(--card-rims);
}

:root[data-theme="dark"] .about-stat-card:hover {
  box-shadow: var(--card-shadow-lift), var(--card-rims);
}

:root[data-theme="light"] .about-stat-card {
  border: none;
  background-color: var(--card-fill);
  box-shadow: var(--card-shadow), var(--card-rims);
}

:root[data-theme="light"] .about-stat-card:hover {
  box-shadow: var(--card-shadow-lift), var(--card-rims);
}

.about-stat-label {
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 650;
  line-height: 1.45;
  color: var(--label-2);
  max-width: 22ch;
  margin: 0;
  position: relative;
  z-index: 2;
}

.about-stat-num-box {
  margin-top: auto;
  align-self: flex-end;
  position: relative;
  z-index: 2;
}

.about-stat-num {
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.04em;
  font-family: var(--font-display, inherit);
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

:root[data-theme="dark"] .about-stat-num {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-stat-card.has-photo {
  color: #ffffff;
  border: none;
}

.about-stat-card.has-photo:hover {
  box-shadow: var(--card-shadow-lift), var(--card-rims);
}

.about-stat-card.has-photo .about-stat-label {
  color: rgba(255, 255, 255, 0.95);
}

.about-stat-card.has-photo .about-stat-num {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-stat-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: contrast(105%) brightness(0.9) saturate(110%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-stat-card.has-photo:hover .about-stat-bg {
  transform: scale(1.05);
}

.about-stat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 20, 0.45) 0%, rgba(10, 11, 16, 0.88) 100%);
  box-shadow: var(--card-rims);
  border-radius: inherit;
  z-index: 1;
}

@media (max-width: 860px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-stat-card {
    min-height: 200px;
  }
}

/* ── 4. Yo'limiz (Dynamic Scroll-Driven Interactive Timeline) ── */
.about-timeline-sec {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0;
}

.about-tl-v {
  position: relative;
  max-width: 960px;
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: 32px 0;
  --p: 0;
}

/* Markaziy orqa fon chizig'i */
.about-tl-v-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  z-index: 1;
}

:root:not([data-theme="dark"]) .about-tl-v-line {
  background: rgba(0, 0, 0, 0.08);
}

/* To'lib boruvchi sariq gradient chiziq */
.about-tl-v-progress.tl-fill {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: var(--h, 0px);
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ffd000 0%, #ff8a00 100%);
  box-shadow: 0 0 14px rgba(255, 160, 0, 0.6);
  border-radius: 999px;
  pointer-events: none;
}

/* Chiziq uchidagi yorqin boshcha (kometa nuri) */
.about-tl-v-progress.tl-fill::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #fff3c4;
  box-shadow: 0 0 0 4px rgba(255, 170, 0, 0.35),
              0 0 24px 6px rgba(255, 160, 0, 0.8);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.about-tl-v.is-flowing .about-tl-v-progress.tl-fill::after {
  opacity: 1;
}

.about-tl-v-items {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 76px);
  position: relative;
  z-index: 2;
}

.about-tl-v-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 68px);
  align-items: center;
}

/* Markaziy tugun (Node) */
.about-tl-v-node {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
}

.about-tl-v-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--card-fill);
  border: 3px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}

:root:not([data-theme="dark"]) .about-tl-v-dot {
  border-color: rgba(0, 0, 0, 0.18);
}

/* O'tilgan tugun: to'ldirilgan oltin rang */
.about-tl-v-item.is-seen .about-tl-v-dot {
  background: #ffb800;
  border-color: #ffd23f;
  box-shadow: 0 0 12px rgba(255, 184, 0, 0.6);
}

/* Faol / Joriy tugun: kattalashgan va tinch to'lqin (pulse) */
.about-tl-v-item.is-active .about-tl-v-dot {
  transform: scale(1.25);
  background: #ffd23f;
  border-color: #ffffff;
  animation: tl-pulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes tl-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 170, 0, 0.65), 0 0 14px rgba(255, 170, 0, 0.85); }
  70% { box-shadow: 0 0 0 16px rgba(255, 170, 0, 0), 0 0 22px rgba(255, 170, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 170, 0, 0), 0 0 0 rgba(255, 170, 0, 0); }
}

/* Oxirgi nuqta (Hozir / Live): yashil jonli puls */
.about-tl-v-item.is-live .about-tl-v-dot {
  background: #34c759;
  border-color: #4cd964;
}

.about-tl-v-item.is-live.is-active .about-tl-v-dot {
  animation: tl-pulse-green 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes tl-pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7), 0 0 16px rgba(52, 199, 89, 0.85); }
  70% { box-shadow: 0 0 0 16px rgba(52, 199, 89, 0), 0 0 22px rgba(52, 199, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0), 0 0 0 rgba(52, 199, 89, 0); }
}

/* Odd items (1, 3): Card on Left */
.about-tl-v-item:nth-child(odd) .about-tl-v-card {
  grid-column: 1;
  text-align: right;
}

/* Even items (2, 4): Card on Right */
.about-tl-v-item:nth-child(even) .about-tl-v-card {
  grid-column: 2;
  text-align: left;
}

/* ── Karta (Card) va Fokus Effekti ── */
.about-tl-v-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 36px);
  border-radius: var(--r-xl, 24px);
  border: none;
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur, 20px)) saturate(180%);
  backdrop-filter: blur(var(--card-blur, 20px)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  overflow: hidden;
  opacity: 0.72;
  transition: opacity 0.4s ease,
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}

:root[data-theme="dark"] .about-tl-v-card {
  border: none;
  background-color: var(--card-fill);
  box-shadow: var(--card-shadow), var(--card-rims);
}

.about-tl-v-card > *:not(.about-tl-v-watermark) {
  position: relative;
  z-index: 1;
}

/* Ekran markazidagi (aktiv) karta to'liq yorqin va nurlangan */
.about-tl-v-item.is-active .about-tl-v-card {
  opacity: 1;
  transform: scale(1.02);
  box-shadow: var(--card-shadow-lift),
              var(--card-rims),
              0 0 0 1px rgba(255, 184, 0, 0.45),
              0 24px 56px rgba(255, 160, 0, 0.16);
}

.about-tl-v-card:hover {
  opacity: 1;
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--card-shadow-lift), var(--card-rims);
}

:root[data-theme="dark"] .about-tl-v-card:hover {
  box-shadow: var(--card-shadow-lift), var(--card-rims);
}

/* ── Tugundan kartagacha ulagich (Connector Line) ── */
.about-tl-v-item:nth-child(odd) .about-tl-v-card::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(-1 * clamp(20px, 2.5vw, 34px));
  width: clamp(20px, 2.5vw, 34px);
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 184, 0, 0.45));
  transform: translateY(-50%);
  pointer-events: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

:root:not([data-theme="dark"]) .about-tl-v-item:nth-child(odd) .about-tl-v-card::before {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(255, 160, 0, 0.4));
}

.about-tl-v-item:nth-child(even) .about-tl-v-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(-1 * clamp(20px, 2.5vw, 34px));
  width: clamp(20px, 2.5vw, 34px);
  height: 2px;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.12), rgba(255, 184, 0, 0.45));
  transform: translateY(-50%);
  pointer-events: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

:root:not([data-theme="dark"]) .about-tl-v-item:nth-child(even) .about-tl-v-card::before {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.08), rgba(255, 160, 0, 0.4));
}

.about-tl-v-item.is-active .about-tl-v-card::before {
  background: linear-gradient(to right, #ffd23f, #ff8a00) !important;
  box-shadow: 0 0 10px rgba(255, 184, 0, 0.65);
}

/* ── Katta kontur yil (Big Outline Watermark Year) ── */
.about-tl-v-watermark {
  position: absolute;
  top: 10px;
  font-size: clamp(3.8rem, 6.5vw, 5.5rem);
  font-weight: 850;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.04em;
  opacity: 0.75;
  transition: -webkit-text-stroke 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

/* Matn bilan to'qnashmasligi uchun: toq kartalarda chapga, juft kartalarda o'ngga */
.about-tl-v-item:nth-child(odd) .about-tl-v-watermark {
  left: 20px;
  right: auto;
}

.about-tl-v-item:nth-child(even) .about-tl-v-watermark {
  right: 20px;
  left: auto;
}

:root:not([data-theme="dark"]) .about-tl-v-watermark {
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.07);
}

.about-tl-v-item.is-active .about-tl-v-watermark {
  opacity: 0.95;
  -webkit-text-stroke: 1.2px rgba(255, 210, 63, 0.28);
  transform: scale(1.02);
}

:root:not([data-theme="dark"]) .about-tl-v-item.is-active .about-tl-v-watermark {
  -webkit-text-stroke: 1.2px rgba(210, 105, 0, 0.2);
}

/* ── Badge va Matnlar ── */
.about-tl-v-badge,
.about-tl-v-title,
.about-tl-v-text {
  position: relative;
  z-index: 1;
}

.about-tl-v-badge {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-pill, 999px);
  background: var(--fill);
  color: var(--label-2);
  border: 1px solid var(--sep);
  margin-bottom: 12px;
}

:root[data-theme="dark"] .about-tl-v-badge {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.08);
}

.about-tl-v-item:nth-child(odd) .about-tl-v-badge {
  align-self: flex-end;
}

.about-tl-v-badge.is-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(52, 199, 89, 0.12);
  color: #238636;
  border-color: rgba(52, 199, 89, 0.28);
}

:root[data-theme="dark"] .about-tl-v-badge.is-live {
  background: rgba(52, 199, 89, 0.16);
  color: #3cd465;
  border-color: rgba(52, 199, 89, 0.32);
}

.about-tl-v-badge.is-live .dot-live {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7);
  animation: tl-dot-green-pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes tl-dot-green-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(52, 199, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); }
}

.about-tl-v-title {
  font-size: clamp(18px, 1.35vw, 21px);
  font-weight: 750;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 10px;
}

.about-tl-v-text {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink-soft);
  margin: 0;
}

:root[data-theme="dark"] .about-tl-v-text {
  color: rgba(255, 255, 255, 0.88);
}

:root:not([data-theme="dark"]) .about-tl-v-text {
  color: rgba(30, 27, 22, 0.86);
}

/* ── Mobil moslashuvchanlik (Chiziq chapda, kartalar bir tomonda) ── */
@media (max-width: 768px) {
  .about-tl-v {
    margin-top: 36px;
    padding-left: 0;
  }
  .about-tl-v-line {
    left: 24px;
    transform: translateX(-50%);
  }
  .about-tl-v-progress.tl-fill {
    left: 0;
    width: 100%;
    transform: none;
  }
  .about-tl-v-progress.tl-fill::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .about-tl-v-node {
    left: 24px;
    top: 36px;
    transform: translate(-50%, -50%);
  }
  .about-tl-v-item {
    display: flex;
    flex-direction: column;
    padding-left: 52px;
    gap: 0;
  }
  .about-tl-v-item:nth-child(odd) .about-tl-v-card,
  .about-tl-v-item:nth-child(even) .about-tl-v-card {
    grid-column: auto;
    text-align: left;
    width: 100%;
  }
  .about-tl-v-item:nth-child(odd) .about-tl-v-badge,
  .about-tl-v-item:nth-child(even) .about-tl-v-badge {
    align-self: flex-start;
  }
  .about-tl-v-item:nth-child(odd) .about-tl-v-card::before,
  .about-tl-v-item:nth-child(even) .about-tl-v-card::before {
    top: 36px;
    left: -28px;
    right: auto;
    width: 28px;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.12), rgba(255, 184, 0, 0.45));
  }
  :root:not([data-theme="dark"]) .about-tl-v-item:nth-child(odd) .about-tl-v-card::before,
  :root:not([data-theme="dark"]) .about-tl-v-item:nth-child(even) .about-tl-v-card::before {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.08), rgba(255, 160, 0, 0.4));
  }
  .about-tl-v-card {
    opacity: 0.82;
  }
  .about-tl-v-watermark,
  .about-tl-v-item:nth-child(odd) .about-tl-v-watermark,
  .about-tl-v-item:nth-child(even) .about-tl-v-watermark {
    font-size: clamp(3.2rem, 13vw, 4.6rem);
    top: 10px;
    right: 14px;
    left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-tl-v-item.is-active .about-tl-v-dot { animation: none; }
  .about-tl-v-card { transition: none; opacity: 1; }
  .about-tl-v-progress.tl-fill { height: 100%; }
  .about-tl-v-progress.tl-fill::after { opacity: 1; }
}

/* ── 5. IT Park + Jamoa (is-paper) ── */
.about-itp-team-sec {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0;
}

.about-itp-head {
  margin-bottom: clamp(28px, 3.5vw, 40px);
}

.about-itp-title-wrap {
  max-width: min(920px, 100%);
}

.about-itp-head .h2 {
  margin: 8px 0 0;
  line-height: 1.2;
}

.about-itp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
}

.about-itp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.5vw, 32px);
  border-radius: var(--r-xl, 24px);
  border: none;
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur, 20px)) saturate(180%);
  backdrop-filter: blur(var(--card-blur, 20px)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease;
}

:root[data-theme="dark"] .about-itp-card {
  border: none;
  background-color: var(--card-fill);
  box-shadow: var(--card-shadow), var(--card-rims);
}

.about-itp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-lift), var(--card-rims);
}

:root[data-theme="dark"] .about-itp-card:hover {
  box-shadow: var(--card-shadow-lift), var(--card-rims);
}

.about-itp-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.about-itp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 224, 0, 0.22), rgba(255, 140, 0, 0.16));
  border: 1px solid rgba(var(--brand-rgb), 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 4px 12px -2px rgba(var(--brand-rgb), 0.18);
  color: var(--brand-ink);
  transition: transform var(--t-fast) var(--spring);
}

:root[data-theme="dark"] .about-itp-icon {
  background: linear-gradient(135deg, rgba(255, 224, 0, 0.18), rgba(255, 140, 0, 0.12));
  border-color: rgba(255, 210, 63, 0.22);
  box-shadow: 0 4px 14px -2px rgba(255, 140, 0, 0.25);
  color: #ffd23f;
}

.about-itp-card:hover .about-itp-icon {
  transform: scale(1.08) rotate(-3deg);
}

.about-itp-icon .i {
  width: 22px;
  height: 22px;
}

.about-itp-tag {
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: var(--r-pill, 999px);
  background: var(--fill);
  color: var(--label-2);
  border: 1px solid var(--sep);
}

:root[data-theme="dark"] .about-itp-tag {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.08);
}

.about-itp-top-btn {
  --h: 42px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 650;
  gap: 8px;
  white-space: nowrap;
}

.about-itp-top-btn .i {
  width: 16px;
  height: 16px;
}

.about-itp-top-btn .i:first-child {
  color: var(--brand);
}

.about-itp-top-btn .i:last-child {
  transition: transform var(--t-fast) var(--ease-out);
}

.about-itp-top-btn:hover .i:last-child {
  transform: translateX(3px);
}

.about-itp-card h3 {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 8px;
}

.about-itp-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--label-2);
  margin: 0;
}

@media (max-width: 860px) {
  .about-itp-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-itp-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ── Jamoa Expanding Photo Cards Accordion ── */
.about-team-wrap {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.about-tc-grid {
  /* Color grading fine-tuning custom properties */
  --tm-saturate: 0.4;        /* Mild desaturation to tame background color casts (0.35 - 0.55) */
  --tm-brightness: 1.05;     /* Natural portrait brightness (1.0 - 1.1) */
  --tm-contrast: 1.05;       /* Crisp portrait contrast (1.0 - 1.1) */
  --tm-tint-color: #ffa800;  /* Warm golden-amber studio tint */
  --tm-tint-opacity: 0.24;   /* Light warm overlay strength (0.20 - 0.30 keeps natural skin tones, avoids sepia) */
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 28px);
  margin-top: clamp(28px, 3.5vw, 40px);
  width: 100%;
}

.about-tc-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: clamp(16px, 2vw, 24px);
  height: clamp(380px, 28vw, 385px); /* Balanced height without excess vertical whitespace */
  width: 100%;
}

/* Card base */
.about-tc-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0fr;
  align-items: stretch;
  border-radius: var(--r-xl, 24px);
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur, 20px)) saturate(180%);
  backdrop-filter: blur(var(--card-blur, 20px)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  flex: 1 1 0%;
  min-width: 0;
  width: 0;
  height: 100%;
  transition: flex 0.7s cubic-bezier(0.25, 1, 0.35, 1),
              grid-template-columns 0.7s cubic-bezier(0.25, 1, 0.35, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}

.about-tc-card:not(.is-open) {
  cursor: pointer;
}

:root[data-theme="light"] .about-tc-card {
  border-color: rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 255, 255, 0.85);
}

/* Open card state: flex ~2.2, subtle yellow border and soft glow */
.about-tc-card.is-open {
  flex: 2.2 1 0%;
  width: 0;
  grid-template-columns: minmax(0, 1fr) 1.25fr;
  border-color: rgba(255, 184, 0, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 184, 0, 0.45), 0 20px 48px rgba(255, 160, 0, 0.12);
}

:root[data-theme="light"] .about-tc-card.is-open {
  border-color: rgba(255, 140, 0, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 140, 0, 0.4), 0 18px 40px rgba(255, 140, 0, 0.15);
}

/* Card Toggle Button (wraps photo area only) */
.about-tc-toggle {
  position: relative;
  display: block;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
  text-align: left;
  outline: none;
  overflow: hidden;
  min-width: 0;
}

.about-tc-card:not(.is-open) .about-tc-toggle {
  cursor: pointer;
}

.about-tc-toggle:focus-visible {
  outline: 2px solid #ffd23f;
  outline-offset: -2px;
  z-index: 5;
}

.about-tc-card.is-open .about-tc-toggle {
  width: 100%;
  cursor: default;
}

/* Photo container */
.about-tc-photo-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #111113;
}

/* Color grading: olib tashlandi (tabiiy rang) */
.about-tc-photo-wrap::before {
  display: none !important;
}

/* Open card: soft right-edge fade into card background without abrupt mask flicker */
.about-tc-photo-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 72px;
  background: linear-gradient(to right, transparent 0%, var(--card-fill) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 2;
}

.about-tc-card.is-open .about-tc-photo-wrap::after {
  opacity: 1;
}

/* Tabiiy fotosurat filtri (ortiqcha effektlar olib tashlangan) */
.about-tc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: none !important;
  display: block;
  transition: none;
}

.about-tc-card:not(.is-open):hover .about-tc-img {
  transform: none;
}

/* Framing adjustment: crop background rollup signage text ('WEB-SAYT...', 'CRM TIZIM...') */
#tc-ali-komiljonov .about-tc-img,
.about-tc-img[src*="ali-komiljonov"] {
  object-position: 18% 16%;
  transform: scale(1.22);
  transform-origin: 20% 18%;
}

#tc-ali-komiljonov:not(.is-open):hover .about-tc-img,
.about-tc-card:not(.is-open):hover .about-tc-img[src*="ali-komiljonov"] {
  transform: scale(1.22);
}

/* Framing adjustment: center Avazbek and allow top gradient to soften whiteboard */
#tc-avazbek-qalandarov .about-tc-img,
.about-tc-img[src*="avazbek-qalandarov"] {
  object-position: center 32%;
}

#tc-avazbek-qalandarov:not(.is-open):hover .about-tc-img,
.about-tc-card:not(.is-open):hover .about-tc-img[src*="avazbek-qalandarov"] {
  transform: none;
}

/* Framing adjustment: crop 'HERMES' text off Xolrahmon's hoodie */
#tc-xolrahmon-turayev .about-tc-img,
.about-tc-img[src*="xolrahmon-turayev"] {
  object-position: center 6%;
  transform: scale(1.06);
  transform-origin: center top;
}

#tc-xolrahmon-turayev:not(.is-open):hover .about-tc-img,
.about-tc-card:not(.is-open):hover .about-tc-img[src*="xolrahmon-turayev"] {
  transform: scale(1.06);
}

/* Disabled in favor of single unified ::before color overlay to avoid double-tinting */
.about-tc-photo-tint {
  display: none;
}

/* Faqat yopiq holatda matn o'qilishi uchun eng pastki qismdagi yumshoq gradient */
.about-tc-photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.88) 0%, rgba(10, 10, 12, 0.4) 22%, transparent 38%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.35s ease;
}

.about-tc-card.is-open .about-tc-photo-shade {
  opacity: 0;
}

/* Closed state bottom bar overlay */
.about-tc-closed-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  z-index: 3;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.about-tc-closed-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.about-tc-closed-name {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.015em;
  color: #ffffff;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.about-tc-closed-role {
  font-size: 13px;
  font-weight: 600;
  color: #ffd23f;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.about-tc-plus {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.about-tc-card:not(.is-open):hover .about-tc-plus {
  background: var(--brand);
  border-color: var(--brand);
  color: #0b0b0e;
  transform: scale(1.1);
}

.about-tc-card.is-open .about-tc-closed-bar {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

/* Open state details panel (Right side) */
.about-tc-details {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
  scrollbar-width: thin;
  z-index: 2;
  transition: opacity 0.35s ease,
              padding 0.7s cubic-bezier(0.25, 1, 0.35, 1),
              visibility 0.35s ease;
}

.about-tc-card.is-open .about-tc-details {
  padding: clamp(24px, 2.5vw, 32px);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  transition: opacity 0.45s ease 0.18s,
              padding 0.7s cubic-bezier(0.25, 1, 0.35, 1),
              visibility 0.45s ease 0.18s;
}

.about-tc-details-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 0;
}

.about-tc-name {
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}

.about-tc-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-tc-name a:hover {
  color: var(--brand);
}

.about-tc-role {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffd23f;
  margin: 0;
  letter-spacing: 0.01em;
}

:root[data-theme="light"] .about-tc-role {
  color: var(--brand-ink);
}

.about-tc-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--label-2);
  margin: 0;
  display: block;
  overflow: visible;
}

:root[data-theme="dark"] .about-tc-desc {
  color: rgba(255, 255, 255, 0.82);
}

/* Skills chips */
.about-tc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.about-tc-chip {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill, 999px);
  background: var(--fill, rgba(255, 255, 255, 0.06));
  color: var(--label-2);
  border: 1px solid var(--sep, rgba(255, 255, 255, 0.08));
  white-space: nowrap;
}

:root[data-theme="dark"] .about-tc-chip {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Social icons (Frontenddan olib tashlandi) */
.about-tc-soc {
  display: none !important;
}

.about-tc-soc .tm-s {
  --c: 255, 140, 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fill, rgba(255, 255, 255, 0.06));
  color: var(--ink);
  border: 1px solid var(--sep, rgba(255, 255, 255, 0.08));
  transition: background var(--t-mid) ease, color var(--t-mid) ease, transform var(--t-fast) var(--spring), border-color var(--t-fast) ease;
}

.about-tc-soc .tm-s svg {
  width: 17px;
  height: 17px;
}

.about-tc-soc .tm-s:hover {
  color: #fff;
  background: rgb(var(--c));
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: 0 4px 12px -2px rgba(var(--c), 0.5);
}

.about-tc-soc .tm-s-tg { --c: 36, 161, 222; }
.about-tc-soc .tm-s-ig { --c: 225, 48, 108; }
.about-tc-soc .tm-s-in { --c: 10, 102, 194; }
.about-tc-soc .tm-s-gh { --c: 36, 41, 47; }
:root[data-theme="dark"] .about-tc-soc .tm-s-gh { --c: 46, 52, 60; }
.about-tc-soc .tm-s-wa { --c: 37, 211, 102; }
.about-tc-soc .tm-s-mail { --c: 234, 67, 53; }

/* Join Us Card (fills empty cell in incomplete row) */
.about-tc-card.about-tc-join {
  flex: 1 1 0%;
  min-width: 0;
  width: 0;
  border: 1px dashed rgba(255, 184, 0, 0.35);
  background: rgba(255, 184, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  cursor: default;
}

:root[data-theme="light"] .about-tc-card.about-tc-join {
  border-color: rgba(255, 140, 0, 0.4);
  background: rgba(255, 140, 0, 0.04);
}

.about-tc-join-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 24px 20px;
  max-width: 280px;
}

.about-tc-join-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 184, 0, 0.12);
  color: #ffd23f;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

:root[data-theme="light"] .about-tc-join-icon {
  color: var(--brand-ink);
  background: rgba(var(--brand-rgb), 0.12);
}

.about-tc-join-title {
  font-size: 17px;
  font-weight: 750;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.3;
}

.about-tc-join-text {
  font-size: 13px;
  line-height: 1.45;
  color: var(--label-2);
  margin: 0 0 16px;
}

:root[data-theme="dark"] .about-tc-join-text {
  color: rgba(255, 255, 255, 0.72);
}

/* Subtle outline/glass Join Us button */
.about-tc-join-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 184, 0, 0.45);
  color: var(--brand);
  font-weight: 650;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: var(--r-pill, 999px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all var(--t-fast) ease;
}

.about-tc-join-btn:hover {
  background: rgba(var(--brand-rgb), 0.15);
  border-color: var(--brand);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px -2px rgba(var(--brand-rgb), 0.35);
}

:root[data-theme="light"] .about-tc-join-btn {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(255, 140, 0, 0.5);
  color: var(--brand-ink);
}

:root[data-theme="light"] .about-tc-join-btn:hover {
  background: rgba(var(--brand-rgb), 0.12);
  border-color: var(--brand);
  color: var(--brand-ink);
}

:root[data-theme="dark"] .about-tc-join-text {
  color: rgba(255, 255, 255, 0.72);
}

/* Tablet & Mobile responsive behavior (< 768px): All cards fully expanded */
@media (max-width: 768px) {
  .about-tc-row {
    flex-direction: column;
    height: auto;
    gap: 16px;
  }

  .about-tc-card,
  .about-tc-card.is-open,
  .about-tc-card.about-tc-join {
    display: flex;
    flex-direction: column;
    flex: none;
    width: 100%;
    height: auto;
    min-height: auto;
    max-height: none;
    border-color: rgba(255, 184, 0, 0.45);
    box-shadow: 0 0 0 1px rgba(255, 184, 0, 0.25), 0 12px 32px rgba(0, 0, 0, 0.25);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  :root[data-theme="light"] .about-tc-card {
    border-color: rgba(255, 140, 0, 0.35);
    box-shadow: 0 0 0 1px rgba(255, 140, 0, 0.2), 0 10px 28px rgba(255, 140, 0, 0.08);
  }

  .about-tc-toggle {
    width: 100% !important;
    height: 240px;
    cursor: default;
    pointer-events: none;
  }

  .about-tc-photo-wrap {
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  }

  .about-tc-photo-wrap::after {
    display: none;
  }

  .about-tc-closed-bar {
    display: none !important;
  }

  .about-tc-details {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    min-width: 0;
    padding: 20px 18px 24px;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    height: auto;
    overflow: visible;
  }

  .about-tc-card.about-tc-join {
    height: auto;
    min-height: 190px;
    max-height: none;
    padding: 24px 16px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .about-tc-card,
  .about-tc-toggle,
  .about-tc-details,
  .about-tc-closed-bar,
  .about-tc-img,
  .about-tc-plus {
    transition: none !important;
    animation: none !important;
  }
}

/* =====================================================================
   Leader Quote Section (Rahbar iqtibosi — Limon Liquid Glass Card)
   ===================================================================== */
.about-quote-sec {
  position: relative;
  padding-block: clamp(48px, 6vw, 84px);
}

.about-quote-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 48px);
  border-radius: var(--r-xl, 28px);
  border: none;
  background-color: var(--card-fill);
  background-image: radial-gradient(110% 110% at 88% 12%, rgba(var(--brand-rgb, 255, 210, 63), 0.06), transparent 55%);
  -webkit-backdrop-filter: blur(var(--card-blur, 20px)) saturate(180%);
  backdrop-filter: blur(var(--card-blur, 20px)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  padding: clamp(32px, 4.5vw, 52px);
  margin: 0;
  box-sizing: border-box;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease;
}

:root[data-theme="dark"] .about-quote-card {
  border: none;
  background-color: var(--card-fill);
  box-shadow: var(--card-shadow), var(--card-rims);
}

:root[data-theme="light"] .about-quote-card {
  border: none;
  background-color: var(--card-fill);
  box-shadow: var(--card-shadow), var(--card-rims);
}

.about-quote-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-lift), var(--card-rims);
}

.about-quote-avatar-wrap {
  flex: none;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 2px solid var(--brand, #ffd23f);
  border-radius: 50%;
  background: rgba(var(--brand-rgb, 255, 210, 63), 0.08);
  box-shadow: 0 0 24px -4px rgba(var(--brand-rgb, 255, 210, 63), 0.25);
}

.about-quote-avatar {
  display: block;
  width: clamp(96px, 10vw, 128px);
  height: clamp(96px, 10vw, 128px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
}

.about-quote-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-right: clamp(48px, 6vw, 76px);
}

.about-quote-text {
  margin: 0;
  font-size: clamp(1.05rem, 1.28vw, 1.28rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--label, currentColor);
  letter-spacing: -0.01em;
}

.about-quote-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-quote-author {
  font-size: clamp(1.05rem, 1.15vw, 1.15rem);
  font-weight: 700;
  color: var(--label, currentColor);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.about-quote-role {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--label-2, rgba(255, 255, 255, 0.65));
  line-height: 1.35;
}

[data-theme="light"] .about-quote-role,
.theme-light .about-quote-role {
  color: var(--label-2, rgba(0, 0, 0, 0.65));
}

.about-quote-corner-mark {
  position: absolute;
  top: clamp(24px, 3.5vw, 40px);
  right: clamp(24px, 3.5vw, 40px);
  width: clamp(34px, 3.6vw, 44px);
  height: clamp(34px, 3.6vw, 44px);
  color: var(--brand, #ffd23f);
  opacity: 0.9;
  pointer-events: none;
  flex-shrink: 0;
}

/* Mobile (under 560px): single column, photo on top, text below, icon stays in the corner */
@media (max-width: 560px) {
  .about-quote-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 20px;
    border-radius: 24px;
  }

  .about-quote-avatar-wrap {
    align-self: flex-start;
    width: fit-content;
  }

  .about-quote-body {
    padding-right: 0;
  }

  .about-quote-corner-mark {
    top: 24px;
    right: 20px;
    width: 32px;
    height: 32px;
  }

  .about-quote-text {
    font-size: 1.02rem;
    line-height: 1.55;
  }
}


/* ==== 16-packages.css ==== */
/* =====================================================================
   Packages & Pricing Page Styles (Limon.uz Design System)
   ===================================================================== */

.pkg-plans-sec {
  position: relative;
  padding-top: clamp(56px, 6vw, 84px);
}

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.2vw, 28px);
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .pkg-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

.pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.4vw, 32px) clamp(22px, 2vw, 26px);
  border-radius: var(--r-xl, 24px);
  background: var(--card-bg, rgba(255, 255, 255, 0.75));
  border: 1px solid var(--sep, rgba(0, 0, 0, 0.08));
  box-shadow: var(--card-shadow, 0 10px 30px rgba(0, 0, 0, 0.04));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}

:root[data-theme="dark"] .pkg-card {
  background: rgba(18, 20, 26, 0.88);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pkg-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--brand-rgb), 0.3);
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.15);
}

:root[data-theme="dark"] .pkg-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.65);
}

/* Featured / Most popular card */
.pkg-card.is-featured {
  border-color: rgba(var(--brand-rgb), 0.5);
  background: radial-gradient(130% 90% at 50% 0%, rgba(var(--brand-rgb), 0.08), rgba(var(--brand-rgb), 0.01) 65%), var(--card-bg, rgba(255, 255, 255, 0.9));
  box-shadow: 0 16px 36px -10px rgba(var(--brand-rgb), 0.2);
}

:root[data-theme="dark"] .pkg-card.is-featured {
  background: radial-gradient(130% 90% at 50% 0%, rgba(255, 170, 0, 0.12), rgba(24, 26, 36, 0.95) 65%);
  border: 1.5px solid rgba(255, 170, 0, 0.45);
  box-shadow: 0 16px 40px -10px rgba(255, 159, 10, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

@media (min-width: 961px) {
  .pkg-card.is-featured {
    transform: scale(1.025);
    z-index: 2;
  }
  .pkg-card.is-featured:hover {
    transform: scale(1.025) translateY(-4px);
    border-color: rgba(255, 185, 30, 0.7);
    box-shadow: 0 22px 48px -10px rgba(255, 159, 10, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
}

.pkg-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--r-pill, 999px);
  background: linear-gradient(135deg, #ffaa00 0%, #ff7a00 100%);
  color: #0b0c10;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(255, 159, 10, 0.35);
  white-space: nowrap;
  z-index: 3;
}

.pkg-badge .dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0b0c10;
}

.pkg-head {
  margin-bottom: 16px;
}

.pkg-name {
  font-size: clamp(20px, 1.4vw, 23px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.25;
}

.pkg-desc {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--label-2);
  margin: 0;
  min-height: 40px;
}

:root[data-theme="dark"] .pkg-desc {
  color: #94a3b8;
}

.pkg-pricing {
  padding: 12px 0;
  border-top: 1px solid var(--sep, rgba(0, 0, 0, 0.08));
  border-bottom: 1px solid var(--sep, rgba(0, 0, 0, 0.08));
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

:root[data-theme="dark"] .pkg-pricing {
  border-color: rgba(255, 255, 255, 0.08);
}

.pkg-price-label {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

:root[data-theme="dark"] .pkg-price-label {
  color: #ffaa00;
}

.pkg-price {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

:root[data-theme="dark"] .pkg-price {
  color: #ffffff;
}

.pkg-price-note {
  font-size: 12px;
  line-height: 1.35;
  color: var(--label-3, #94a3b8);
}

:root[data-theme="dark"] .pkg-price-note {
  color: #94a3b8;
}

.pkg-features-wrap {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-bottom: 22px;
}

.pkg-features-title {
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--label-2);
  margin: 0 0 14px;
}

:root[data-theme="dark"] .pkg-features-title {
  color: #cbd5e1;
}

.pkg-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}

:root[data-theme="dark"] .pkg-features li {
  color: #e2e8f0;
}

.pkg-features li strong {
  font-weight: 700;
  color: var(--ink);
}

:root[data-theme="dark"] .pkg-features li strong {
  color: #ffffff;
}

.pkg-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(var(--brand-rgb), 0.14);
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 1px;
}

:root[data-theme="dark"] .pkg-check {
  background: rgba(255, 170, 0, 0.16);
  color: #ffd23f;
}

.pkg-check svg {
  width: 12px;
  height: 12px;
}

.pkg-action {
  margin-top: auto;
}

.pkg-action .btn {
  --h: 48px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--r-pill);
}

.pkg-action .btn .i {
  width: 16px;
  height: 16px;
  transition: transform var(--t-fast) var(--ease-out);
}

.pkg-action .btn:hover .i {
  transform: translateX(3px);
}

.pkg-notice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: clamp(28px, 3.5vw, 40px) auto 0;
  width: fit-content;
  max-width: min(920px, 94vw);
  padding: 10px 22px;
  border-radius: var(--r-pill, 999px);
  text-align: center;
  font-size: clamp(13px, 1.05vw, 14.5px);
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--ink);
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur, 20px)) saturate(180%);
  backdrop-filter: blur(var(--card-blur, 20px)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  border: none;
}

:root[data-theme="dark"] .pkg-notice {
  background-color: rgba(22, 24, 32, 0.72);
  background-image: radial-gradient(120% 120% at 50% -20%, rgba(255, 170, 0, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6),
              inset 0 1px 1px 0 rgba(255, 255, 255, 0.18),
              inset 0 0 0 1px rgba(255, 255, 255, 0.06),
              inset 0 -1px 1px 0 rgba(0, 0, 0, 0.45);
}

:root:not([data-theme="dark"]) .pkg-notice {
  background-color: rgba(255, 255, 255, 0.78);
  background-image: radial-gradient(120% 100% at 50% 0%, rgba(255, 190, 0, 0.1) 0%, rgba(255, 255, 255, 0) 65%);
  box-shadow: 0 10px 28px -8px rgba(45, 40, 31, 0.08),
              inset 0 1px 1.5px 0 #ffffff,
              inset 0 0 0 1px rgba(255, 255, 255, 0.8),
              inset 0 -1px 1px 0 rgba(45, 40, 31, 0.04);
}

.pkg-notice .i {
  width: 17px;
  height: 17px;
  color: #ffaa00;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

:root[data-theme="dark"] .pkg-notice .i {
  color: #ffd23f;
  filter: drop-shadow(0 1px 6px rgba(255, 210, 63, 0.45));
}

:root:not([data-theme="dark"]) .pkg-notice .i {
  color: #e67700;
  filter: drop-shadow(0 1px 3px rgba(230, 119, 0, 0.3));
}

@media (max-width: 640px) {
  .pkg-notice {
    padding: 10px 16px;
    border-radius: 18px;
    text-align: left;
    align-items: flex-start;
  }
  .pkg-notice .i {
    margin-top: 1px;
  }
}

/* =====================================================================
   Included in Every Site Section — Liquid Glass Bento (Limon Design System)
   ===================================================================== */
.pkg-included-sec {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0;
}

.pkg-included-sec .sec-head {
  margin-bottom: clamp(48px, 6vw, 76px);
}

.pkg-included-sec .sec-head .eyebrow {
  margin-bottom: 6px;
}

.pkg-included-sec .sec-head .h2 {
  margin: 0;
}

.pkg-included-sec .sec-head .lead {
  margin-top: clamp(14px, 1.8vw, 20px);
  max-width: 62ch;
  line-height: 1.55;
}

.pkg-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 2.8vw, 36px);
  max-width: 1140px;
  margin: 0 auto;
}

@media (max-width: 880px) {
  .pkg-bento-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.pkg-bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 38px);
  border-radius: var(--r-xl, 28px);
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  border: none;
  overflow: hidden;
}

/* Ambient liquid glow in the card corner */
.pkg-bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 100% 0%, rgba(var(--brand-rgb), 0.1), transparent 70%);
  pointer-events: none;
  border-radius: 0 var(--r-xl, 28px) 0 0;
  opacity: 0.8;
}

:root[data-theme="dark"] .pkg-bento-card::before {
  background: radial-gradient(circle at 100% 0%, rgba(255, 210, 63, 0.14), transparent 70%);
}

/* Bento Card Header */
.pkg-bento-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 8px;
  box-shadow: inset 0 -1px 0 var(--sep);
}

.pkg-bento-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

/* Category squircle icon matching Limon design language */
.pkg-bento-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 245, 230, 0.8) 100%);
  box-shadow: inset 0 1px 1.5px 0 #ffffff, inset 0 0 0 1px rgba(45, 40, 31, 0.08), 0 4px 14px -3px rgba(45, 40, 31, 0.1);
  color: var(--brand-ink);
  flex-shrink: 0;
}

:root[data-theme="dark"] .pkg-bento-cat-icon {
  background: linear-gradient(150deg, rgba(255, 215, 64, 0.22) 0%, rgba(255, 140, 0, 0.08) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4),
              inset 0 0 0 1px rgba(255, 255, 255, 0.15),
              inset 0 -1px 1px 0 rgba(0, 0, 0, 0.35),
              0 6px 16px -4px rgba(0, 0, 0, 0.5),
              0 2px 6px -1px rgba(255, 140, 0, 0.3);
  color: #ffd23f;
}

.pkg-bento-cat-icon svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

:root[data-theme="dark"] .pkg-bento-cat-icon svg {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 8px rgba(255, 210, 63, 0.3));
}

.pkg-bento-cat {
  font-size: clamp(18px, 1.4vw, 21px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}

.pkg-bento-idx {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand);
  opacity: 0.8;
  flex-shrink: 0;
}

/* Feature Rows inside Bento Card — Stable, clean informational rows */
.pkg-bento-rows {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pkg-bento-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  position: relative;
}

.pkg-bento-row:first-child {
  padding-top: 12px;
}

.pkg-bento-row:last-child {
  padding-bottom: 0;
}

.pkg-bento-row + .pkg-bento-row {
  box-shadow: inset 0 1px 0 var(--sep);
}

/* Squircle icon tile with specular rims for row items */
.pkg-bento-row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 245, 230, 0.8) 100%);
  box-shadow: inset 0 1px 1.5px 0 #ffffff, inset 0 0 0 1px rgba(45, 40, 31, 0.08), 0 4px 12px -3px rgba(45, 40, 31, 0.08);
  color: var(--brand-ink);
  flex-shrink: 0;
  margin-top: 1px;
}

:root[data-theme="dark"] .pkg-bento-row-icon {
  background: linear-gradient(150deg, rgba(255, 215, 64, 0.16) 0%, rgba(255, 140, 0, 0.05) 100%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  backdrop-filter: blur(10px) saturate(180%);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.35),
              inset 0 0 0 1px rgba(255, 255, 255, 0.12),
              inset 0 -1px 1px 0 rgba(0, 0, 0, 0.3),
              0 4px 12px -2px rgba(0, 0, 0, 0.45),
              0 2px 6px -1px rgba(255, 140, 0, 0.2);
  color: #ffd23f;
}

.pkg-bento-row-icon svg {
  width: 20px;
  height: 20px;
}

.pkg-bento-row-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
  min-width: 0;
}

.pkg-bento-row-title {
  font-size: 15.5px;
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}

.pkg-bento-row-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--label-2);
  margin: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

/* Trust Strip below Bento Grid */
.pkg-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  padding: clamp(20px, 2.4vw, 28px) clamp(24px, 3vw, 36px);
  max-width: 1140px;
  margin: clamp(28px, 3.5vw, 40px) auto 0;
  border-radius: var(--r-xl, 28px);
  background-color: var(--card-fill);
  -webkit-backdrop-filter: blur(var(--card-blur)) saturate(180%);
  backdrop-filter: blur(var(--card-blur)) saturate(180%);
  box-shadow: var(--card-shadow), var(--card-rims);
  border: none;
}

@media (max-width: 800px) {
  .pkg-trust-strip {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.pkg-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pkg-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 245, 230, 0.8) 100%);
  box-shadow: inset 0 1px 1.5px 0 #ffffff, inset 0 0 0 1px rgba(45, 40, 31, 0.08), 0 4px 14px -3px rgba(45, 40, 31, 0.1);
  color: var(--brand-ink);
  flex-shrink: 0;
}

:root[data-theme="dark"] .pkg-trust-icon {
  background: linear-gradient(150deg, rgba(255, 215, 64, 0.18) 0%, rgba(255, 140, 0, 0.06) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.35),
              inset 0 0 0 1px rgba(255, 255, 255, 0.12),
              inset 0 -1px 1px 0 rgba(0, 0, 0, 0.35),
              0 6px 16px -4px rgba(0, 0, 0, 0.5),
              0 2px 6px -1px rgba(255, 140, 0, 0.25);
  color: #ffd23f;
}

.pkg-trust-icon svg {
  width: 22px;
  height: 22px;
}

.pkg-trust-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pkg-trust-item strong {
  font-size: 14.5px;
  font-weight: 750;
  color: var(--ink);
  line-height: 1.3;
}

.pkg-trust-item span {
  font-size: 13px;
  color: var(--label-2);
  line-height: 1.35;
}

/* =====================================================================
   FAQ & Contract / Manager Section
   ===================================================================== */
.pkg-faq-sec {
  position: relative;
}

.pkg-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

@media (max-width: 960px) {
  .pkg-faq-layout {
    grid-template-columns: 1fr;
  }
}

/* Sticky Lead for clean balance after removing manager card */
.pkg-faq-lead {
  position: sticky;
  top: calc(var(--header-h, 72px) + 32px);
}

.pkg-faq-lead .eyebrow {
  margin-bottom: 12px;
}

.pkg-faq-lead .h2 {
  margin: 0;
  line-height: 1.15;
}

.pkg-faq-lead .lead {
  margin-top: 18px;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .pkg-faq-lead {
    position: static;
  }
}

.pkg-faq-list .faq {
  border-radius: var(--r-xl, 24px);
}

/* ==== 19-motion.css ==== */
/* =====================================================================
   Motion states, theme transition, page transitions, a11y fallbacks
   ===================================================================== */
@property --rim-a { syntax: "<angle>"; inherits: true; initial-value: 200deg; }
.hd-bar, .lg, .lg-rim { transition-property: --rim-a; transition-duration: 0.6s; }

/* elements wait for their intro only while JS animations are active */
.motion [data-reveal] { opacity: 0; transform: translateY(36px); }
.motion [data-split-words] .w { opacity: 0; transform: translateY(0.35em); filter: blur(10px); }
.motion .hero-page .crumbs, .motion .hero-page .lead, .motion .hero-page .hero-cta, .motion .hero-page .hero-page-aside, .motion .hero-page .hero-page-side { opacity: 0; transform: translateY(18px); }
.motion .hero-page .h1 { opacity: 0; }
.motion .hero-page .h1.is-split { opacity: 1; }
.w { display: inline-block; max-width: 100%; white-space: nowrap; }

/* theme switch: circular reveal from the toggle */
html.theme-vt:active-view-transition .hd { view-transition-name: none; }
::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }
html.theme-vt::view-transition-old(root) { animation: none; }
html.theme-vt::view-transition-new(root) { animation: theme-reveal 0.75s var(--ease-out) both; }
@keyframes theme-reveal { from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 0)); } to { clip-path: circle(160vmax at var(--vt-x, 50%) var(--vt-y, 0)); } }

/* cross-document page transitions (Chromium) */
@view-transition { navigation: auto; }
html:not(.theme-vt)::view-transition-old(root) { animation: 0.28s var(--ease-out) both vt-out; }
html:not(.theme-vt)::view-transition-new(root) { animation: 0.45s var(--ease-out) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: scale(0.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .dot-live { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .tile, .pcard, .figures > div, .flow > div, .two-lists > div, .panel, .person, .list, .index, .faq, .facts, .own, .industries, .doc-list, .ledger, .stack, .tbl-wrap, .contact-group, .tiles > div,
  .crumbs, .hero-page-aside, .modal, .toast, .ft-contact, .ft-soc, .ft-rec { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background-color: var(--bg-elev) !important; }
  .toast, .ft-rec { background-color: #1a1b20 !important; }
  .modal-bg::before { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(0, 0, 0, 0.55); }
}
