/* =========================================================
   BANIK Advisory — Main stylesheet
   Brand: Red #ED1C24 · Gray #777777
   ========================================================= */

:root {
  --brand: #ed1c24;
  --brand-600: #d4141c;
  --brand-700: #b30f16;
  --brand-soft: #fdecec;
  --brand-gray: #777777;

  --bg: #ffffff;
  --bg-alt: #f6f6f7;
  --surface: #ffffff;
  --surface-2: #f3f3f4;
  --border: #e6e6e8;
  --text: #1c1d21;
  --text-2: #4b4d55;
  --muted: #777777;
  --on-brand: #ffffff;

  --shadow-sm: 0 1px 2px rgba(16, 17, 20, .06);
  --shadow: 0 6px 24px rgba(16, 17, 20, .08);
  --shadow-lg: 0 18px 50px rgba(16, 17, 20, .12);

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --header-h: 72px;

  --font-en: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-bn: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
  --font-brand: "Lato", "Poppins", sans-serif;

  color-scheme: light;
}

:root[data-theme="dark"] {
  --brand: #ff3a41;
  --brand-600: #ff5a60;
  --brand-700: #ff7a7f;
  --brand-soft: rgba(255, 58, 65, .12);
  --brand-gray: #a3a3a8;

  --bg: #0e0f12;
  --bg-alt: #14161a;
  --surface: #191b20;
  --surface-2: #20232a;
  --border: #2a2d35;
  --text: #f2f2f4;
  --text-2: #c4c6cc;
  --muted: #9a9ca3;
  --on-brand: #ffffff;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 6px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, .5);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-bn);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  transition: background-color .25s ease, color .25s ease;
  overflow-x: hidden;
}
html[lang="en"] body { font-family: var(--font-en); font-size: 16px; line-height: 1.65; }

/* Language switching: show only the active language */
html[lang="bn"] body [lang="en"],
html[lang="en"] body [lang="bn"] { display: none !important; }

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--text); font-weight: 700; }
p { margin: 0 0 1em; color: var(--text-2); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { font-size: 1.05rem; }
.section-foot { margin-top: 40px; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: .96rem; line-height: 1.2;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 6px 18px rgba(237, 28, 36, .28); }
.btn-primary:hover { background: var(--brand-600); }
:root[data-theme="dark"] .btn-primary:hover { background: #e3252c; }
.btn-outline { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { color: var(--brand); padding-left: 0; padding-right: 0; }
.btn-ghost:hover { gap: 12px; }
.btn-white { background: #fff; color: #b30f16; }
.btn-white:hover { background: #fff5f5; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; font-family: var(--font-brand); color: var(--brand-gray); line-height: 1; }
.brand-text .b1 { font-size: 1.42rem; font-weight: 400; letter-spacing: .04em; }
.brand-text .b2 { font-size: .74rem; letter-spacing: .3em; margin-top: 4px; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-weight: 500; font-size: .95rem; color: var(--text-2);
  transition: color .2s, background-color .2s;
}
.main-nav a:hover { color: var(--brand); }
.main-nav a.active { color: var(--brand); background: var(--brand-soft); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border);
  transition: color .2s, border-color .2s;
}
.icon-btn:hover { color: var(--brand); border-color: var(--brand); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }

.lang-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.lang-toggle button {
  border: 0; background: transparent; padding: 5px 11px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; color: var(--muted); font-family: var(--font-en);
}
.lang-toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }

.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 420px at 88% -10%, var(--brand-soft), transparent 70%),
    radial-gradient(600px 300px at -10% 110%, var(--brand-soft), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -.01em; margin-bottom: 18px; }
.hero h1 .hl { color: var(--brand); }
.hero-lead { font-size: 1.12rem; max-width: 560px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: .85rem; font-weight: 500; color: var(--text-2);
  transition: border-color .2s, color .2s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.hero-media { position: relative; }
.hero-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 14px; box-shadow: var(--shadow-lg);
}
.hero-card .video-thumb { border-radius: 14px; }
.hero-card-meta { padding: 14px 6px 4px; }
.hero-card-meta h3 { font-size: 1.05rem; margin: 6px 0 0; }
.hero-badge {
  position: absolute; left: -22px; top: -20px;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 10px 14px; border-radius: 14px; box-shadow: var(--shadow);
  font-size: .86rem; font-weight: 600;
}
.hero-badge .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: #fff; }
.hero-badge .ico svg { width: 18px; height: 18px; }
.hero-mark {
  position: absolute; right: -40px; top: -40px; width: 160px; opacity: .08; z-index: -1; transform: rotate(-8deg);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 56px; background: var(--bg-alt); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 10px; }
.page-hero p { max-width: 640px; font-size: 1.06rem; margin: 0; }
.page-hero .bg-mark { position: absolute; right: 4%; top: 50%; width: 220px; transform: translateY(-50%) rotate(-8deg); opacity: .07; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--brand); }

/* ---------- Topic cards ---------- */
.topics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.topic {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.topic:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand); }
.topic h3 { font-size: 1.05rem; margin: 0; }
.topic p { font-size: .88rem; margin: 0; }
.ico-box {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.ico-box svg { width: 24px; height: 24px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 50%, var(--border)); }
.service-card .ico-box { margin-bottom: 18px; }
.service-card h3 { font-size: 1.18rem; }
.service-card ul { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; gap: 8px; }
.service-card li { display: flex; gap: 10px; font-size: .93rem; color: var(--text-2); }
.service-card li svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 4px; }
.service-card .card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--border); }
.tag {
  display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand);
}

/* ---------- Videos ---------- */
.video-toolbar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); font-size: .9rem; font-weight: 500; color: var(--text-2);
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.search-box { position: relative; min-width: 260px; flex: 0 1 320px; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search-box input {
  width: 100%; padding: 11px 16px 11px 42px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: .93rem;
}
.search-box input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card {
  display: flex; flex-direction: column; text-align: left;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; padding: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.video-thumb {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(135deg, #2a0d0f, #ed1c24);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video-card:hover .video-thumb img { transform: scale(1.04); }
.video-thumb .play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(237, 28, 36, .95); color: #fff;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .35); transition: transform .2s ease;
}
.video-thumb .play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-card:hover .play, .hero-card:hover .play { transform: scale(1.08); }
.video-thumb.placeholder { display: grid; place-items: center; }
.video-thumb.placeholder .ph {
  display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff;
  font-size: .85rem; font-weight: 600; letter-spacing: .04em;
}
.video-thumb.placeholder .ph img { width: 56px; height: 56px; filter: brightness(0) invert(1); opacity: .9; transition: none; }
.video-thumb.placeholder .play { display: none; }
.video-body { padding: 16px 18px 20px; }
.video-body h3 { font-size: 1rem; margin: 8px 0 6px; line-height: 1.45; }
.video-body .date { font-size: .82rem; color: var(--muted); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); grid-column: 1 / -1; }

/* Video modal */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(8, 8, 10, .82); backdrop-filter: blur(4px);
}
.modal.open { display: flex; }
.modal-inner { width: min(1000px, 100%); position: relative; }
.modal-frame { aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.modal-frame iframe { width: 100%; height: 100%; border: 0; }
.modal-close {
  position: absolute; top: -50px; right: 0;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center;
}
.modal-close:hover { background: var(--brand); }
.modal-close svg { width: 20px; height: 20px; }
.modal-title { color: #fff; margin-top: 14px; font-weight: 600; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.founder-photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2), var(--brand-soft));
  border: 1px solid var(--border); display: grid; place-items: center;
}
.founder-photo img.photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.founder-photo img.mark { width: 42%; opacity: .9; }
.founder-photo .name-plate {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow);
}
.name-plate strong { display: block; font-size: 1.05rem; color: var(--text); }
.name-plate span { font-size: .85rem; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checks li { display: flex; gap: 10px; font-size: .95rem; color: var(--text-2); }
.checks svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 3px; }

/* Profile page */
.profile-grid { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: start; }
.profile-side { position: sticky; top: calc(var(--header-h) + 24px); }
.profile-side .founder-photo { aspect-ratio: 4 / 5; margin-bottom: 18px; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--text-2); word-break: break-word; }
.info-list svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 4px; }
.info-list a:hover { color: var(--brand); }
.social-row { display: flex; gap: 8px; margin-top: 18px; }
.profile-block { margin-bottom: 44px; }
.profile-block h2 { font-size: 1.45rem; display: flex; align-items: center; gap: 10px; }
.profile-block h2::before { content: ""; width: 6px; height: 24px; border-radius: 4px; background: var(--brand); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-tags span { padding: 8px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-size: .9rem; font-weight: 500; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--border); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before {
  content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--brand);
}
.timeline .when { font-size: .82rem; font-weight: 600; color: var(--brand); }
.timeline h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.timeline p { margin: 0; font-size: .93rem; }
.note {
  font-size: .85rem; color: var(--muted); background: var(--surface-2);
  border: 1px dashed var(--border); padding: 10px 14px; border-radius: 10px;
}

/* Profile hero */
.profile-hero .role { font-size: 1.12rem; font-weight: 600; color: var(--text); margin: 0 0 4px; }
.profile-hero .subtitle { margin: 0 0 14px; }
.profile-hero .tagline {
  display: inline-block; margin: 0; padding: 8px 16px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: .95rem;
}

/* Highlights */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat {
  padding: 20px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
}
.stat strong { display: block; font-family: var(--font-en); font-size: 1.9rem; font-weight: 700; line-height: 1.1; color: var(--brand); margin-bottom: 6px; }
.stat strong.word { font-size: 1.15rem; line-height: 1.3; }
.stat span { font-size: .9rem; color: var(--text-2); line-height: 1.45; display: block; }
.stats-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }

.profile-block h3.sub { font-size: 1.02rem; margin: 26px 0 12px; color: var(--text-2); font-weight: 600; }
.profile-block h3.sub:first-of-type { margin-top: 6px; }

/* Credentials */
.cred-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cred-list li {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
}
.cred-list li > svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 3px; }
.cred-list strong { display: block; font-size: .95rem; line-height: 1.4; color: var(--text); }
.cred-list small { display: block; font-size: .84rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }

.timeline .org { font-weight: 500; color: var(--text-2); margin-bottom: 6px; }
.timeline .prev { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.timeline .prev .when { display: block; margin-bottom: 2px; }
.timeline .prev strong { font-size: .95rem; color: var(--text); }

/* Commitments */
.commit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.commit {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.commit .ico-box { width: 44px; height: 44px; flex: none; }
.commit .ico-box svg { width: 22px; height: 22px; }
.commit h3 { font-size: 1rem; margin: 0 0 4px; }
.commit p { font-size: .92rem; margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; padding: 30px 26px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-en); font-size: 2.6rem; font-weight: 700; line-height: 1;
  color: var(--brand); opacity: .18; position: absolute; right: 22px; top: 20px;
}
.step h3 { font-size: 1.12rem; margin-top: 16px; }
.step p { margin: 0; font-size: .95rem; }

/* ---------- Useful links ---------- */
.links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.link-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.link-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.link-card .ico-box { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.link-card .ico-box svg { width: 20px; height: 20px; }
.link-card strong { display: block; font-size: .95rem; line-height: 1.3; color: var(--text); }
.link-card small { font-size: .78rem; color: var(--muted); font-family: var(--font-en); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #c4121a 0%, #ed1c24 60%, #ff4a50 100%);
  border-radius: var(--radius-lg); padding: 48px 52px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 6px; }
.cta-band p { color: rgba(255, 255, 255, .88); margin: 0; max-width: 560px; }
.cta-band .bg-mark { position: absolute; right: -30px; bottom: -60px; width: 220px; opacity: .14; filter: brightness(0) invert(1); pointer-events: none; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.btn-outline-white { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card {
  padding: 26px 22px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); text-align: center;
  transition: border-color .2s, transform .2s;
}
a.contact-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.contact-card .ico-box { margin: 0 auto 14px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: .92rem; word-break: break-word; }

/* ---------- Order page ---------- */
.order-wrap { max-width: 780px; margin: 0 auto; text-align: center; }
.order-wrap .ico-box { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 22px; }
.order-wrap .ico-box svg { width: 34px; height: 34px; }
.selected-service {
  display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 26px;
  padding: 10px 18px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-weight: 600;
}
.order-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: #121317; color: #b9bbc2; padding: 72px 0 0; margin-top: 0; }
:root[data-theme="dark"] .site-footer { background: #08090b; border-top: 1px solid var(--border); }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer p { color: #9a9ca3; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.footer-grid a:hover { color: #fff; }
.site-footer .brand-text { color: #d0d0d4; }
.site-footer .brand { margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); color: #d0d0d4; transition: background-color .2s, color .2s;
}
.footer-social a:hover { background: var(--brand); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: #7d7f86;
}

/* Floating WhatsApp */
.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.fab-wa:hover { transform: scale(1.07); }
.fab-wa svg { width: 28px; height: 28px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .topics { grid-template-columns: repeat(3, 1fr); }
  .links-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .profile-grid { grid-template-columns: 300px 1fr; gap: 36px; }
}

@media (max-width: 960px) {
  .menu-toggle { display: inline-grid; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px; box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 14px; border-radius: 10px; }
  .header-actions { margin-left: auto; }
  .header-order { display: none; }

  .hero-grid, .founder { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 64px; }
  .hero-badge { left: 12px; top: -20px; }
  .services-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .founder-photo { max-width: 420px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-side { position: static; max-width: 420px; }
  .order-options { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .cred-list, .commit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .brand img { width: 36px; height: 36px; }
  .brand-text .b1 { font-size: 1.2rem; }
  .brand-text .b2 { font-size: .64rem; }
  .header-actions { gap: 6px; }
  .icon-btn { width: 36px; height: 36px; }
  .lang-toggle button { padding: 4px 8px; }
  .topics { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .video-grid, .links-grid, .contact-grid, .checks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 36px 24px; }
  .search-box { min-width: 0; flex: 1 1 100%; }
  .hero-cta .btn { flex: 1 1 auto; }
}

@media (max-width: 380px) {
  .brand-text { display: none; }
}

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.blog-cover { aspect-ratio: 1200 / 630; overflow: hidden; background: var(--surface-2); }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-cover img { transform: scale(1.04); }
.blog-cover.placeholder { display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-soft), var(--surface-2)); }
.blog-cover.placeholder img { width: 64px; height: 64px; object-fit: contain; opacity: .85; }
.blog-card:hover .blog-cover.placeholder img { transform: none; }
.blog-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.blog-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.blog-meta .date { font-size: .82rem; color: var(--muted); }
.blog-body h3 { font-size: 1.12rem; line-height: 1.45; margin-bottom: 8px; }
.blog-body p { font-size: .93rem; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--brand); }
.read-more svg { width: 16px; height: 16px; transition: transform .2s; }
.blog-card:hover .read-more svg { transform: translateX(3px); }

/* Single post */
.post-section { padding-top: 48px; }
.post { max-width: 820px; }
.post-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 6px 0 24px; }
.post-cover { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border); margin-bottom: 32px; }
.lang-note { font-size: .88rem; color: var(--muted); background: var(--surface-2); border-left: 3px solid var(--brand); padding: 10px 14px; border-radius: 8px; }
.prose { font-size: 1.06rem; line-height: 1.85; color: var(--text-2); overflow-wrap: break-word; }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: 1.5rem; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.2rem; margin: 1.4em 0 .5em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose li[data-list="bullet"] { list-style-type: disc; }
.prose li[data-list="ordered"] { list-style-type: decimal; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--brand); background: var(--surface-2); border-radius: 0 10px 10px 0; color: var(--text); }
.prose img { max-width: 100%; height: auto; border-radius: 12px; margin: 1em 0; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.prose .ql-ui { display: none; }
.post-foot { display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.flip { transform: rotate(180deg); }

@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } .post-foot .btn { flex: 1 1 auto; } }
