/* ==========================================================================
   Kangnova Official Theme — English B2B
   Design tokens
   ========================================================================== */
:root {
  --navy:        #082f4f;
  --navy-deep:   #052038;
  --navy-soft:   #0d3f68;
  --blue:        #0b7ac2;
  --blue-light:  #e8f2fa;
  --orange:      #ef6c1e;
  --orange-dark: #d5560d;

  --ink:         #16232f;
  --body:        #43535f;
  --muted:       #74838f;
  --line:        #e2e8ee;
  --bg:          #ffffff;
  --bg-soft:     #f4f7fa;
  --bg-dark:     #082f4f;

  --radius:      6px;
  --radius-lg:   12px;
  --shadow-sm:   0 1px 3px rgba(8, 47, 79, .08);
  --shadow:      0 4px 16px rgba(8, 47, 79, .10);
  --shadow-lg:   0 12px 40px rgba(8, 47, 79, .16);

  --container:   1280px;
  --header-h:    76px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--orange); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  font-weight: 700;
  line-height: 1.22;
  color: var(--ink);
  letter-spacing: -.011em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.1em; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
table { width: 100%; border-collapse: collapse; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: rgba(255,255,255,.82); }
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }

.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 12px;
}
.section-head p { font-size: 1.06rem; color: var(--muted); margin: 0; }
.section--dark .section-head p { color: rgba(255,255,255,.7); }

.text-center { text-align: center; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  padding: 13px 28px;
  font-size: .95rem; font-weight: 600; line-height: 1;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }

.btn--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: #fff; }

.btn--ghost { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }

.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

.btn--sm { padding: 9px 18px; font-size: .86rem; }
.btn--lg { padding: 16px 34px; font-size: 1rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; font-size: .92rem;
}
.link-arrow::after {
  content: "→"; transition: transform .18s ease;
}
.link-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.site-header__bar {
  display: flex; align-items: center; gap: 32px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__logo { height: 42px; width: auto; }
.brand__name {
  font-size: 1.16rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--navy); line-height: 1.1;
}
.brand__name small {
  display: block; font-size: .62rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

.main-nav { margin-left: auto; }
.nav-menu {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav-item { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 14px;
  font-size: .93rem; font-weight: 600; color: var(--ink);
  border-radius: var(--radius);
}
.nav-item > a:hover,
.nav-item.is-open > a { color: var(--blue); background: var(--blue-light); }
.nav-item > a .caret {
  width: 8px; height: 8px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.nav-item.is-open > a .caret { transform: rotate(-135deg) translateY(-1px); }

.dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 268px; max-height: min(70vh, 560px); overflow-y: auto;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 8px; margin-top: 8px;
  list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  columns: 2; column-gap: 4px;
}
.nav-item.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { break-inside: avoid; }
.dropdown a {
  display: block; padding: 8px 12px;
  font-size: .87rem; color: var(--body); border-radius: var(--radius);
}
.dropdown a:hover { background: var(--blue-light); color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line);
  border-radius: var(--radius); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--navy);
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(460px, 62vh, 640px);
  display: flex; align-items: center;
  background: var(--navy-deep);
  color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(5,32,56,.93) 0%, rgba(5,32,56,.80) 42%, rgba(8,47,79,.42) 100%);
}
.hero__inner { position: relative; z-index: 1; padding: 76px 0; max-width: 780px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #7fd0ff; margin-bottom: 18px;
}
.hero__eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--orange); }
.hero__title {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  color: #fff; margin-bottom: 20px; letter-spacing: -.02em;
}
.hero__title em { font-style: normal; color: #7fd0ff; }
.hero__text {
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  color: rgba(255,255,255,.84); max-width: 640px; margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.14);
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero__stat {
  background: var(--navy-deep);
  padding: 26px 24px; text-align: center;
}
.hero__stat b {
  display: block; font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.1;
}
.hero__stat span { font-size: .82rem; color: rgba(255,255,255,.66); }

/* ==========================================================================
   Product grid / cards
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: #c9d8e5;
}
.card__media {
  position: relative; aspect-ratio: 4 / 3;
  background: var(--bg-soft); overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card__title { font-size: 1.1rem; margin-bottom: 8px; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--blue); }
.card__text {
  font-size: .92rem; color: var(--muted); margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__foot { margin-top: auto; }

.card__badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  padding: 5px 12px; border-radius: 100px;
  background: var(--orange); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

/* category tile */
.tile {
  position: relative; display: block;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy); min-height: 300px;
  color: #fff; box-shadow: var(--shadow);
  transition: box-shadow .22s ease, transform .22s ease;
}
.tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); color: #fff; }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .5s ease;
}
.tile:hover img { transform: scale(1.06); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,32,56,.94) 0%, rgba(5,32,56,.35) 55%, rgba(5,32,56,.08) 100%);
}
.tile__body { position: relative; z-index: 1; padding: 28px; margin-top: auto; }
.tile__body { display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; }
.tile__title { font-size: 1.4rem; color: #fff; margin-bottom: 8px; }
.tile__text {
  font-size: .9rem; color: rgba(255,255,255,.8); margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tile .link-arrow { color: #7fd0ff; }

/* ==========================================================================
   Split feature (image + copy)
   ========================================================================== */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__body h2 { margin-bottom: 18px; }
.split__body p { font-size: 1.02rem; }
.split__list { list-style: none; padding: 0; margin: 24px 0 30px; }
.split__list li {
  position: relative; padding-left: 34px; margin-bottom: 14px; font-size: .97rem;
}
.split__list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230b7ac2' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat { text-align: center; }
.stat b {
  display: block; font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800; color: var(--navy); line-height: 1.05;
}
.stat span { font-size: .9rem; color: var(--muted); }
.section--dark .stat b { color: #fff; }
.section--dark .stat span { color: rgba(255,255,255,.66); }

/* ==========================================================================
   Feature list (icons)
   ========================================================================== */
.feature {
  padding: 30px 28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: box-shadow .22s ease, transform .22s ease;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature__icon {
  width: 52px; height: 52px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: var(--blue-light); color: var(--blue);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.06rem; margin-bottom: 8px; }
.feature p { font-size: .92rem; color: var(--muted); margin: 0; }
.section--dark .feature { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section--dark .feature p { color: rgba(255,255,255,.72); }
.section--dark .feature__icon { background: rgba(127,208,255,.16); color: #7fd0ff; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 92px 0 76px;
  background: var(--navy); color: #fff; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -8%; top: -30%;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11,122,194,.34) 0%, transparent 68%);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero__title { color: #fff; margin-bottom: 14px; }
.page-hero__text { font-size: 1.08rem; color: rgba(255,255,255,.8); margin: 0; }
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .84rem; color: rgba(255,255,255,.62); margin-bottom: 20px;
  list-style: none; padding: 0;
}
.breadcrumb a { color: rgba(255,255,255,.82); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ==========================================================================
   Article / content
   ========================================================================== */
.content-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px; align-items: start;
}
.content-layout--full { grid-template-columns: minmax(0, 1fr); }

.article { min-width: 0; }
.article__head { margin-bottom: 34px; }
.article__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  font-size: .86rem; color: var(--muted); margin-bottom: 14px;
}
.article__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.article__cover {
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 34px;
  box-shadow: var(--shadow);
}
.article__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 12px; }

/* rich text rendered from Halo admin */
.rich { font-size: 1.02rem; line-height: 1.78; color: var(--body); }
.rich > *:first-child { margin-top: 0; }
.rich h2 { font-size: 1.6rem; margin: 2.2em 0 .7em; }
.rich h3 { font-size: 1.26rem; margin: 1.9em 0 .6em; }
.rich h4 { font-size: 1.06rem; margin: 1.7em 0 .5em; }
.rich p { margin: 0 0 1.25em; }
.rich img { border-radius: var(--radius-lg); margin: 1.6em 0; box-shadow: var(--shadow); }
.rich ul, .rich ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.rich li { margin-bottom: .5em; }
.rich blockquote {
  margin: 1.8em 0; padding: 20px 26px;
  background: var(--bg-soft); border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.02rem; color: var(--ink);
}
.rich blockquote p:last-child { margin-bottom: 0; }
.rich a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(11,122,194,.35); text-underline-offset: 3px; }
.rich table { margin: 1.8em 0; font-size: .95rem; }
.rich table th, .rich table td { padding: 12px 16px; border: 1px solid var(--line); text-align: left; }
.rich table th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.rich table tr:nth-child(even) td { background: #fbfdfe; }
.rich hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.rich iframe, .rich video { max-width: 100%; border-radius: var(--radius-lg); margin: 1.6em 0; }
.rich figure { margin: 1.8em 0; }
.rich figcaption { font-size: .86rem; color: var(--muted); text-align: center; margin-top: 10px; }
.rich code {
  padding: 2px 6px; background: var(--bg-soft); border-radius: 4px;
  font-size: .9em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.rich pre {
  padding: 20px; background: var(--navy-deep); color: #e6edf3;
  border-radius: var(--radius-lg); overflow-x: auto; font-size: .9rem;
}
.rich pre code { background: none; padding: 0; color: inherit; }

/* spec table */
.spec-table { font-size: .95rem; }
.spec-table th, .spec-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.spec-table th {
  width: 34%; background: var(--bg-soft); font-weight: 700;
  color: var(--ink); text-align: left; border-bottom: 1px solid var(--line);
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   Sidebar
   ========================================================================== */
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
.widget {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px;
}
.widget__title {
  font-size: .82rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li + li { margin-top: 2px; }
.widget li a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius);
  font-size: .93rem; color: var(--body); font-weight: 500;
}
.widget li a:hover, .widget li.is-active a { background: var(--blue-light); color: var(--navy); }
.widget__count {
  font-size: .78rem; color: var(--muted);
  background: var(--bg-soft); border-radius: 100px; padding: 2px 9px;
}

.cta-card {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff; border: 0; border-radius: var(--radius-lg); padding: 28px;
}
.cta-card h3 { color: #fff; font-size: 1.15rem; }
.cta-card p { font-size: .92rem; color: rgba(255,255,255,.78); }
.cta-card .btn { width: 100%; }

/* ==========================================================================
   FAQ / accordion
   ========================================================================== */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); margin-bottom: 14px; overflow: hidden;
}
.faq__item[open] { box-shadow: var(--shadow); border-color: #c9d8e5; }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-size: 1.02rem; font-weight: 700; color: var(--ink);
  cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); }
.faq__a { padding: 0 24px 22px; font-size: .97rem; color: var(--body); }
.faq__a p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 52px; list-style: none; padding: 0;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .92rem; font-weight: 600; color: var(--body); background: #fff;
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .is-current a, .pagination .is-current span {
  background: var(--navy); border-color: var(--navy); color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.68); }
.footer-main { padding: 68px 0 48px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 44px;
}
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__name small { color: rgba(255,255,255,.5); }
.footer-brand p { font-size: .92rem; margin: 18px 0 22px; max-width: 320px; }
.footer-logo { height: 52px; width: auto; }
.footer-col h4 {
  font-size: .8rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: #fff; margin-bottom: 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: .92rem; color: rgba(255,255,255,.68); }
.footer-col a:hover { color: #7fd0ff; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex; gap: 12px; margin-bottom: 14px; font-size: .92rem;
  align-items: flex-start;
}
.footer-contact svg { flex-shrink: 0; width: 17px; height: 17px; margin-top: 4px; color: #7fd0ff; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-contact a:hover { color: #7fd0ff; }

.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.22); border-radius: 50%;
  font-size: .74rem; font-weight: 700; color: rgba(255,255,255,.75);
  letter-spacing: .02em;
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0; font-size: .86rem;
}
.footer-bottom .container {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.8); }

/* ==========================================================================
   Misc
   ========================================================================== */
.empty {
  padding: 60px 24px; text-align: center;
  background: var(--bg-soft); border-radius: var(--radius-lg);
  color: var(--muted);
}
.back-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; border: 0; border-radius: 50%;
  box-shadow: var(--shadow-lg); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--orange); color: #fff; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.tag-list a {
  display: inline-block; padding: 7px 16px;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 100px; font-size: .87rem; color: var(--body); font-weight: 500;
}
.tag-list a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 52px; padding-top: 36px; border-top: 1px solid var(--line);
}
.post-nav a {
  padding: 20px 24px; background: var(--bg-soft);
  border-radius: var(--radius-lg); font-weight: 600; color: var(--ink);
}
.post-nav a:hover { background: var(--blue-light); color: var(--navy); }
.post-nav span {
  display: block; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.post-nav .prev { text-align: left; }
.post-nav .next { text-align: right; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .content-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    background: #fff; padding: 24px; overflow-y: auto;
    margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-item > a { justify-content: space-between; padding: 14px 12px; font-size: 1rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: 0 0 8px 12px; padding: 4px 0 4px 12px;
    max-height: none; columns: 1; min-width: 0;
    display: none;
  }
  .nav-item.is-open .dropdown { display: block; }
  .header-cta .btn { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 52px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 26px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
  .article__cover img { aspect-ratio: 16 / 10; }
  .hero__inner { padding: 52px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .site-footer, .sidebar, .back-top, .hero__stats { display: none; }
}
