/* =========================================================
   PRODA — Premium Corporate Design System
   Light + Dark mode · Mobile-first responsive
   ========================================================= */

/* --------- Reset & base --------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  overflow-x: clip;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .25s ease, color .25s ease;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }

/* --------- Tokens (LIGHT — default) --------- */
:root {
  /* Brand (always) */
  --navy-light: #1F3A5F;
  --navy-dark:  #0B1F33;
  --brand:      #1F3A5F;
  --brand-strong: #0B1F33;

  /* Semantic — light */
  --bg:            #ffffff;
  --bg-soft:       #F5F7FA;
  --bg-elevated:   #ffffff;
  --bg-inverse:    #0B1F33;
  --surface:       #ffffff;
  --text-primary:  #0B1F33;
  --text-secondary:#2A3A52;
  --text-muted:    #5A6678;
  --text-inverse:  #ffffff;
  --line:          #E5E9F0;
  --line-strong:   #C5CDDB;
  --accent-grad:   linear-gradient(135deg, #1F3A5F 0%, #0B1F33 100%);
  --accent-soft:   linear-gradient(135deg, rgba(31,58,95,.06) 0%, rgba(11,31,51,.02) 100%);
  --header-bg:     rgba(255,255,255,.85);
  --logo-color:    #0B1F33;

  /* Type scale */
  --fs-xxs: 0.75rem; --fs-xs: 0.875rem; --fs-sm: 1rem;
  --fs-md: 1.125rem; --fs-lg: 1.375rem; --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem; --fs-3xl: 3rem; --fs-4xl: 4rem; --fs-5xl: 5rem;

  /* Spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Radius */
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px;

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(11,31,51,.04), 0 2px 4px rgba(11,31,51,.04);
  --shadow-2: 0 4px 8px rgba(11,31,51,.06), 0 8px 24px rgba(11,31,51,.06);
  --shadow-3: 0 12px 32px rgba(11,31,51,.08), 0 24px 60px rgba(11,31,51,.08);

  /* Layout */
  --container: 1280px;
  --header-h: 76px;

  /* SVG illustration tokens */
  --svg-c1:    #1F3A5F;
  --svg-c2:    #0B1F33;
  --svg-c3:    #8993A6;

  /* Legacy aliases (back-compat for inline styles) */
  --gray-50:    var(--bg-soft);
  --gray-100:   var(--bg-soft);
  --gray-500:   var(--text-muted);
  --gray-700:   var(--text-secondary);
  --ink:        var(--text-primary);
  --ink-soft:   var(--text-secondary);
}

/* --------- Tokens (DARK) --------- */
[data-theme="dark"] {
  --bg:            #07111F;
  --bg-soft:       #0E1B2E;
  --bg-elevated:   #0F1E33;
  --bg-inverse:    #F5F7FA;
  --surface:       #0F1E33;
  --text-primary:  #F5F7FA;
  --text-secondary:rgba(245,247,250,.78);
  --text-muted:    rgba(245,247,250,.55);
  --text-inverse:  #0B1F33;
  --line:          rgba(255,255,255,.10);
  --line-strong:   rgba(255,255,255,.18);
  --accent-grad:   linear-gradient(135deg, #2A5288 0%, #1F3A5F 100%);
  --accent-soft:   linear-gradient(135deg, rgba(106,160,219,.10) 0%, rgba(31,58,95,.04) 100%);
  --header-bg:     rgba(7,17,31,.80);
  --logo-color:    #F5F7FA;

  --shadow-1: 0 1px 2px rgba(0,0,0,.3), 0 2px 4px rgba(0,0,0,.2);
  --shadow-2: 0 4px 8px rgba(0,0,0,.35), 0 8px 24px rgba(0,0,0,.25);
  --shadow-3: 0 12px 32px rgba(0,0,0,.45), 0 24px 60px rgba(0,0,0,.35);

  --svg-c1:    #6BA8DB;
  --svg-c2:    #C8DEFF;
  --svg-c3:    #8A9EC0;
}

/* --------- Typography --------- */
h1, h2, h3, h4, h5 {
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.25rem, 5vw, var(--fs-5xl)); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, var(--fs-3xl)); }
h3 { font-size: clamp(1.25rem, 2vw, var(--fs-xl)); }
h4 { font-size: var(--fs-lg); }
p  { color: var(--text-secondary); }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--s-4);
}
[data-theme="dark"] .eyebrow { color: #6BA3D6; }
.lead { font-size: var(--fs-md); color: var(--text-secondary); max-width: 680px; }

/* --------- Layout --------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.section { padding: var(--s-9) 0; }
.section--tight { padding: var(--s-8) 0; }
.section--dark {
  background: var(--brand-strong);
  color: #fff;
}
[data-theme="dark"] .section--dark { background: #050C18; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.75); }
.section--gray { background: var(--bg-soft); }

.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.section-head { max-width: 720px; margin-bottom: var(--s-8); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* --------- Header --------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.header.is-scrolled {
  background: var(--header-bg);
  border-bottom-color: var(--line);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}
.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; }
.brand:hover { opacity: .85; }
.brand__logo {
  display: block;
  width: 140px;
  height: 44px;
  background-image: url('../assets/Proda-logo-Mavi.png');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  transition: opacity .25s ease;
}
[data-theme="dark"] .brand__logo {
  background-image: url('../assets/Proda-logo-Beyaz.png');
}
.brand__logo--mobile-only { display: none; }
.footer .brand__logo {
  background-image: url('../assets/Proda-logo-Beyaz.png');
  width: 140px;
  height: 44px;
}
.nav { display: flex; align-items: center; gap: var(--s-6); }
.nav__list { display: flex; align-items: center; gap: var(--s-6); }
.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: var(--s-2) 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
[data-theme="dark"] .nav__link::after { background: #6BA3D6; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--brand); }
[data-theme="dark"] .nav__link.is-active { color: #6BA3D6; }

.header-tools { display: flex; align-items: center; gap: var(--s-3); }

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.lang__btn {
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--text-muted);
  min-height: 28px;
}
.lang__btn.is-active { background: var(--brand-strong); color: #fff; }
[data-theme="dark"] .lang__btn.is-active { background: #F5F7FA; color: #0B1F33; }

/* --------- Language Dropdown --------- */
.lang-dd { position: relative; display: none; }
.lang-dd__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-primary);
  background: none;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  min-height: 34px;
  letter-spacing: .03em;
}
.lang-dd__toggle:hover { border-color: var(--line-strong); background: var(--bg-soft); }
.lang-dd__toggle svg { transition: transform .2s; opacity: .6; }
.lang-dd.is-open .lang-dd__toggle svg { transform: rotate(180deg); }
.lang-dd__panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: var(--s-2);
  z-index: 500;
  list-style: none;
}
.lang-dd.is-open .lang-dd__panel { display: block; }
.lang-dd__opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: var(--s-3) var(--s-4);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--r-md);
  transition: background .12s, color .12s;
  background: none;
  border: none;
  cursor: pointer;
}
.lang-dd__opt:hover { background: var(--bg-soft); color: var(--text-primary); }
.lang-dd__opt.is-active { color: var(--brand); font-weight: 600; }

.theme-toggle {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-primary);
  transition: all .2s ease;
}
.theme-toggle:hover { border-color: var(--line-strong); background: var(--bg-soft); }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--text-primary);
}
.menu-toggle:hover { border-color: var(--line-strong); }

/* --------- Buttons --------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 13px 22px;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: all .25s ease;
  border: 1px solid transparent;
  min-height: 44px;
  white-space: nowrap;
}
.btn--primary { background: var(--brand-strong); color: #fff; }
.btn--primary:hover { background: var(--brand); transform: translateY(-1px); box-shadow: var(--shadow-2); }
[data-theme="dark"] .btn--primary { background: #F5F7FA; color: #0B1F33; }
[data-theme="dark"] .btn--primary:hover { background: #fff; }
.btn--ghost { color: var(--text-primary); border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--line-strong); background: var(--bg-soft); }
.hero-slide .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.hero-slide .btn--ghost:hover { border-color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.1); }
.btn--inverse { background: #fff; color: var(--brand-strong); }
.btn--inverse:hover { background: var(--bg-soft); }
.btn--portal {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
  letter-spacing: .02em;
}
.btn--portal:hover {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,.50);
  border-color: transparent;
}
[data-theme="dark"] .btn--portal {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  box-shadow: 0 4px 16px rgba(59,130,246,.30);
}
[data-theme="dark"] .btn--portal:hover {
  background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
  box-shadow: 0 8px 28px rgba(59,130,246,.45);
}
.btn--link {
  padding: 0; min-height: 0;
  color: var(--brand);
  border-radius: 0;
}
[data-theme="dark"] .btn--link { color: #6BA3D6; }
.btn--link::after {
  content: '→';
  display: inline-block;
  transition: transform .2s ease;
}
.btn--link:hover::after { transform: translateX(4px); }

/* --------- Hero --------- */
.hero {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  height: calc(88svh - var(--header-h));
  max-height: 860px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0B1F33;
}
.hero__bg { display: none; }
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1100px;
  align-items: center;
  min-height: 0;
}
.hero__inner > * { min-width: 0; }
.hero__visual { display: none; }
.hero__title {
  font-size: clamp(2.2rem, 4.5vw, 4.6rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #fff;
}
.hero-slide .hero__sub { display: none; }
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, #93C5FD, #BFDBFE);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme="dark"] .hero__title em {
  background: linear-gradient(135deg, #93C5FD, #BFDBFE);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero__sub {
  margin-top: var(--s-4);
  font-size: var(--fs-md);
  max-width: 600px;
  color: rgba(255,255,255,0.82);
}
.hero .eyebrow { color: rgba(255,255,255,0.7); }
.hero__cta { margin-top: var(--s-5); display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero__visual {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--accent-grad);
  aspect-ratio: 4/5;
  max-height: min(72vh, 520px);
  width: 100%;
  display: grid;
  place-items: center;
  position: relative;
}
.hero__visual::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 70% 30%, rgba(255,255,255,.06), transparent 60%);
  pointer-events: none;
}

/* --------- Concept blocks --------- */
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--line); }
.concept {
  background: var(--bg);
  padding: var(--s-7) var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.concept__num { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.18em; color: var(--text-muted); }
.concept__title { font-size: var(--fs-lg); }
.concept__text { font-size: var(--fs-sm); color: var(--text-secondary); }

/* --------- Service cards --------- */
.service-card {
  padding: var(--s-7);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: var(--s-4);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--line-strong);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__tag {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.2em; color: var(--brand);
}
[data-theme="dark"] .service-card__tag { color: #6BA3D6; }
.service-card__title { font-size: var(--fs-xl); }
.service-card__text { color: var(--text-secondary); font-size: var(--fs-sm); flex-grow: 1; }
.service-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  display: grid; place-items: center;
  color: var(--brand);
  margin-bottom: var(--s-3);
}
[data-theme="dark"] .service-card__icon { color: #6BA3D6; background: rgba(107,163,214,.10); }

/* --------- Logo grid --------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.logo-cell {
  background: var(--surface);
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  padding: var(--s-4);
  transition: all .25s ease;
}
.logo-cell:hover { background: var(--bg-soft); }
.logo-cell span {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  text-align: center;
  letter-spacing: -0.01em;
}
.logo-img {
  width: 150px;
  height: 80px;
  object-fit: contain;
  filter: brightness(0) opacity(0.55);
  transition: filter .25s ease, opacity .25s ease;
}
.logo-cell:hover .logo-img { filter: brightness(0) opacity(0.85); }
[data-theme="dark"] .logo-img { filter: brightness(0) invert(1) opacity(0.55); }
[data-theme="dark"] .logo-cell:hover .logo-img { filter: brightness(0) invert(1) opacity(0.9); }

/* --------- Footer map --------- */
.footer__map {
  width: 100%; height: 200px;
  border: none;
  border-radius: var(--r-md);
  opacity: .75;
  margin-top: var(--s-5);
  display: block;
}
.footer__addr-link { color: inherit; transition: color .2s; }
.footer__addr-link:hover { color: rgba(255,255,255,.9); }

/* --------- Stats --------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
.stat { padding: var(--s-6) 0; border-top: 2px solid var(--text-primary); }
.stat__value {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat__label { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--text-secondary); }
.section--dark .stat { border-top-color: rgba(255,255,255,.5); }
.section--dark .stat__value { color: #fff; }
.section--dark .stat__label { color: rgba(255,255,255,.7); }

/* --------- Solution detail blocks --------- */
.solution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-9);
  align-items: center;
  padding: var(--s-9) 0;
  border-bottom: 1px solid var(--line);
}
.solution-block:last-child { border-bottom: 0; }
.solution-block--reverse > :first-child { order: 2; }
.solution-block__visual {
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .solution-block__visual { background: var(--surface); border: 1px solid var(--line); }
.solution-block__num { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.2em; color: var(--brand); margin-bottom: var(--s-3); }
[data-theme="dark"] .solution-block__num { color: #6BA3D6; }
.solution-block__title { font-size: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: var(--s-5); }
.solution-block__pis { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.pis-item { border-left: 2px solid var(--brand); padding-left: var(--s-5); }
[data-theme="dark"] .pis-item { border-left-color: #6BA3D6; }
.pis-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand);
  margin-bottom: var(--s-2);
  display: block;
}
[data-theme="dark"] .pis-label { color: #6BA3D6; }
.pis-text { color: var(--text-secondary); font-size: var(--fs-sm); }

/* --------- Editorial / Level-Up --------- */
.editorial { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-9); }
.editorial__article { font-size: var(--fs-md); line-height: 1.75; color: var(--text-secondary); }
.editorial__article p { margin-bottom: var(--s-5); }
.editorial__article p:first-of-type::first-letter {
  font-size: 4rem;
  float: left;
  line-height: 0.8;
  margin-right: var(--s-3);
  margin-top: 4px;
  color: var(--text-primary);
  font-weight: 600;
}
.editorial__sidebar { font-size: var(--fs-sm); }
.editorial__sidebar h4 {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--text-muted); margin-bottom: var(--s-4); font-weight: 600;
}
.kv {
  display: flex; justify-content: space-between;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
}
.kv span:first-child { color: var(--text-muted); }
.kv span:last-child { font-weight: 600; color: var(--text-primary); }

.article-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all .3s ease;
  background: var(--surface);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: var(--line-strong); }
.article-card__img { aspect-ratio: 16/9; background: var(--accent-grad); position: relative; }
.article-card__body { padding: var(--s-6); }
.article-card__cat {
  font-size: var(--fs-xxs); font-weight: 700; letter-spacing: 0.2em;
  color: var(--brand); text-transform: uppercase;
}
[data-theme="dark"] .article-card__cat { color: #6BA3D6; }
.article-card__title { font-size: var(--fs-lg); margin: var(--s-3) 0 var(--s-3); }
.article-card__meta { font-size: var(--fs-xs); color: var(--text-muted); }

/* --------- YouTube Grid --------- */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.yt-card {
  text-decoration: none;
  color: var(--text-primary);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.yt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.yt-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.yt-card__thumb-bg { position: absolute; inset: 0; }
.yt-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.3);
  transition: background .2s;
}
.yt-card:hover .yt-card__play { background: rgba(255,0,0,.7); }
.yt-card__play svg { filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
.yt-card__duration {
  position: absolute;
  bottom: var(--s-2);
  right: var(--s-2);
  background: rgba(0,0,0,.8);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: .02em;
}
.yt-card__body { padding: var(--s-4); flex: 1; }
.yt-card__title {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--s-2);
  color: var(--text-primary);
}
.yt-card__meta { font-size: var(--fs-xs); color: var(--text-muted); }

@media (max-width: 980px) { .yt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .yt-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); } }

/* --------- Timeline --------- */
.timeline { position: relative; padding-left: var(--s-7); }
.timeline::before {
  content: ''; position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px; background: var(--line);
}
.tl-item { position: relative; padding-bottom: var(--s-7); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute;
  left: calc(-1 * var(--s-7) + 1px); top: 8px;
  width: 12px; height: 12px;
  background: var(--text-primary);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--text-primary);
}
.tl-item__year { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.2em; color: var(--brand); }
[data-theme="dark"] .tl-item__year { color: #6BA3D6; }
.tl-item__title { font-size: var(--fs-lg); margin: var(--s-2) 0 var(--s-3); }
.tl-item__text { color: var(--text-secondary); font-size: var(--fs-sm); }

/* --------- Values --------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.value-item {
  background: var(--surface);
  padding: var(--s-7);
  display: flex; flex-direction: column;
  gap: var(--s-3);
  transition: all .3s ease;
}
.value-item:hover { background: var(--bg-soft); }
.value-item__num { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.2em; color: var(--brand); }
[data-theme="dark"] .value-item__num { color: #6BA3D6; }
.value-item__title { font-size: var(--fs-lg); }

/* --------- CTA section --------- */
.cta-section {
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-xl);
  padding: var(--s-9) var(--s-8);
  position: relative; overflow: hidden;
}
[data-theme="dark"] .cta-section { background: #050C18; border: 1px solid var(--line); }
.cta-section::before {
  content: ''; position: absolute;
  top: 0; right: 0; width: 60%; height: 100%;
  background: radial-gradient(ellipse at top right, rgba(31,58,95,.6), transparent 60%);
  pointer-events: none;
}
.cta-section__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
.cta-section h2 { color: #fff; max-width: 600px; }
.cta-section p { color: rgba(255,255,255,0.85); }

/* --------- Footer --------- */
.footer { background: var(--brand-strong); color: rgba(255,255,255,.7); padding: var(--s-9) 0 var(--s-6); }
[data-theme="dark"] .footer { background: #050C18; border-top: 1px solid var(--line); }
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer .brand__svg { color: #fff; }
.footer__brand p { color: rgba(255,255,255,.6); margin-top: var(--s-4); max-width: 360px; font-size: var(--fs-sm); }
.footer__col h5 {
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #fff; margin-bottom: var(--s-4);
}
.footer__col ul { display: grid; gap: var(--s-3); }
.footer__col a { font-size: var(--fs-sm); color: rgba(255,255,255,.6); }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between;
  padding-top: var(--s-5);
  font-size: var(--fs-xs); color: rgba(255,255,255,.4);
  flex-wrap: wrap; gap: var(--s-3);
}

/* --------- About page layouts --------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-9);
  align-items: start;
}
.about-stats {
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
.about-journey {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--s-9);
}
.about-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-9);
  align-items: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* --------- Page hero (subpages) --------- */
.page-hero {
  padding: calc(var(--s-9) + var(--header-h)) 0 var(--s-8);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + var(--s-8));
}
.page-hero__crumb { font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: var(--s-3); letter-spacing: 0.05em; }
.page-hero__crumb a:hover { color: var(--text-primary); }
.page-hero__title { max-width: 800px; }
.page-hero__sub { margin-top: var(--s-5); max-width: 680px; font-size: var(--fs-md); color: var(--text-secondary); }

.page-hero--photo {
  position: relative;
  background-size: cover;
  background-position: center;
  border-bottom: none !important;
  margin-top: 0;
  padding-top: var(--s-8);
}
.page-hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(5,15,35,0.75) 0%, rgba(5,15,35,0.48) 100%);
  z-index: 0;
}
.page-hero--photo > .container { position: relative; z-index: 1; }
.page-hero--photo .page-hero__crumb,
.page-hero--photo .page-hero__crumb a { color: rgba(255,255,255,0.6); }
.page-hero--photo .page-hero__crumb a:hover { color: rgba(255,255,255,0.9); }
.page-hero--photo .eyebrow { color: rgba(255,255,255,0.7); }
.page-hero--photo .page-hero__title { color: #fff; }
.page-hero--photo .page-hero__sub { color: rgba(255,255,255,0.82); }

/* --------- Forms --------- */
.field {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-family: inherit;
  background: var(--surface);
  color: var(--text-primary);
  transition: border-color .2s ease;
  min-height: 44px;
}
.field:focus { outline: 0; border-color: var(--brand); }
.field::placeholder { color: var(--text-muted); }
.section--dark .field { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.15); color: #fff; }
.section--dark .field::placeholder { color: rgba(255,255,255,.4); }

/* --------- Mobile menu drawer --------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  padding: var(--s-6) var(--s-5);
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-7); }
.mobile-menu__close {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r-md);
  color: var(--text-primary); cursor: pointer; flex-shrink: 0;
}
.mobile-menu__close:hover { background: var(--bg-soft); border-color: var(--line-strong); }
.mobile-menu__list { display: grid; gap: var(--s-3); margin-bottom: var(--s-7); }
.mobile-menu__list a {
  font-size: 1.5rem; font-weight: 600;
  color: var(--text-primary);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
  display: block;
}
.mobile-menu__tools {
  margin-top: auto;
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap;
}

/* --------- Utilities --------- */
.center-text { text-align: center; }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mb-6 { margin-bottom: var(--s-6); }

/* --------- Manifesto --------- */
.manifesto {
  padding: var(--s-10) 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-soft);
  pointer-events: none;
}
.manifesto__inner {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.manifesto__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--s-6);
}
[data-theme="dark"] .manifesto__eyebrow { color: #6BA3D6; }
.manifesto__motto {
  font-family: 'Source Serif Pro', 'Georgia', serif;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.1;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  margin-bottom: var(--s-8);
}
.manifesto__motto em {
  font-style: italic;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme="dark"] .manifesto__motto em {
  background: linear-gradient(135deg, #6BA3D6, #A6C9E6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.manifesto__body {
  font-size: var(--fs-md);
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto var(--s-7);
  text-align: center;
}
.manifesto__body p + p { margin-top: var(--s-4); }
.manifesto__signature {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.manifesto__signature::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--text-muted);
}

/* --------- Social links --------- */
.social-links {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.social-links__item {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.6);
  transition: border-color .2s, color .2s, background .2s;
}
.social-links__item:hover {
  border-color: rgba(255,255,255,.6);
  color: #fff;
  background: rgba(255,255,255,.08);
}

/* --------- Header social icons (mobile only) --------- */
.header-social {
  display: none;
  width: 36px; height: 36px;
  place-items: center;
  border-radius: var(--r-md);
  color: var(--text-secondary);
  transition: color .2s, background .2s;
}
.header-social:hover { color: var(--text-primary); background: var(--bg-soft); }
@media (max-width: 980px) {
  .header-social { display: grid; }
  .header-social[aria-label="YouTube"] svg { width: 26px; height: 26px; }
}

/* --------- Technohouse badge --------- */
.techno-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  transition: all .2s ease;
  background: rgba(255,255,255,.02);
}
.techno-badge:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.2); }
.techno-badge__label {
  font-size: var(--fs-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
  font-weight: 500;
}
.techno-badge img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity .2s ease;
}
.techno-badge:hover img { opacity: 1; }

/* Light-page Technohouse mention (e.g. About) */
.techno-card {
  display: flex; align-items: center; gap: var(--s-5);
  padding: var(--s-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-top: var(--s-7);
}
.techno-card img {
  height: 40px;
  width: auto;
}
[data-theme="dark"] .techno-card img { filter: brightness(0) invert(1); }
.techno-card__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.techno-card__name { font-size: var(--fs-md); font-weight: 600; color: var(--text-primary); }

/* --------- Animations --------- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn .8s ease both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --------- Language visibility --------- */
[data-lang]:not(.is-active) { display: none; }

/* =========================================================
   RESPONSIVE — Mobile-first refinements
   ========================================================= */
@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .nav__list { display: none; }
  .menu-toggle { display: grid; }
  .lang--desktop { display: none; }
  .lang-dd { display: none; }
  .mobile-menu .lang { display: flex; }
  .theme-toggle { display: grid; }
  .header__inner { gap: var(--s-3); }
  .brand__logo { width: 120px; height: 38px; }
  .hero { height: calc(82svh - 64px); max-height: 700px; }
  .hero__inner { grid-template-columns: 1fr; gap: var(--s-4); }
  .hero__title { font-size: clamp(2.8rem, 8vw, 5rem); word-break: break-word; }
  .hero__sub { max-width: 100%; font-size: var(--fs-sm); }
  .hero-slide { padding: var(--s-5) 0 var(--s-3); }
  .grid-3, .grid-4, .stats-grid { grid-template-columns: 1fr 1fr; }
  .concept-grid { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .solution-block { grid-template-columns: 1fr; gap: var(--s-6); padding: var(--s-7) 0; }
  .solution-block--reverse > :first-child { order: 0; }
  .editorial { grid-template-columns: 1fr; gap: var(--s-7); }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .cta-section { padding: var(--s-7) var(--s-5); }
  .cta-section__inner { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .section { padding: var(--s-8) 0; }
  .section--tight { padding: var(--s-7) 0; }
  .page-hero { padding-top: calc(var(--header-h) + var(--s-7)); padding-bottom: var(--s-7); }
}

@media (max-width: 640px) {
  .container { padding: 0 var(--s-4); }
  .grid-3, .grid-4, .stats-grid, .concept-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: var(--s-6); }
  .footer__bottom { flex-direction: column; gap: var(--s-3); align-items: flex-start; }

  .menu-toggle { display: none; }
  .lang-dd { display: flex; }
  .lang-dd__toggle { background: var(--header-bg); }
  .lang--desktop { display: none; }

  /* ---- Hero mobile: görsel yok, tam ekran metin ---- */
  .hero { height: auto; min-height: calc(80svh - 64px); justify-content: center; overflow: hidden; }
  .hero-slider { overflow: hidden; }
  .hero-slides { scrollbar-width: none; }
  .hero-slides::-webkit-scrollbar { display: none; }
  .hero-slides { width: 100%; }
  .hero-slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: var(--s-7) 0 var(--s-7);
    justify-content: center;
    background-position: top center;
  }
  .hero-slide::before {
    background: linear-gradient(
      180deg,
      rgba(5, 15, 35, 0.55) 0%,
      rgba(5, 15, 35, 0.78) 60%,
      rgba(5, 15, 35, 0.90) 100%
    );
  }
  .hero__inner {
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero__inner > * { min-width: 0; }
  .hero__visual { display: none; }
  .hero__title {
    font-size: clamp(2.8rem, 11vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .hero__sub {
    font-size: 1.5rem;
    line-height: 1.5;
    max-width: 100%;
    margin-top: var(--s-5);
    overflow-wrap: break-word;
  }
  .hero__cta { display: flex; flex-direction: column; align-items: stretch; gap: var(--s-3); margin-top: var(--s-5); }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__cta .btn--ghost { display: none; }
  .eyebrow { font-size: 0.85rem; letter-spacing: 0.12em; margin-bottom: var(--s-4); }

  /* ---- About page mobile ---- */
  .about-intro,
  .about-journey,
  .about-contact { grid-template-columns: 1fr; gap: var(--s-6); }
  .about-stats { padding: var(--s-5); gap: var(--s-4); }

  /* ---- Diğer mobile düzenlemeler ---- */
  .brand__logo { width: 110px; height: 36px; }
  .editorial__article p:first-of-type::first-letter { font-size: 3rem; }
  .timeline { padding-left: var(--s-6); }
  .tl-item::before { left: calc(-1 * var(--s-6) + 1px); }
  .section { padding: var(--s-7) 0; }
  .stat { padding: var(--s-5) 0; }
  .solution-block { padding: var(--s-6) 0; }
  .solution-block__pis { gap: var(--s-4); }
  .service-card { padding: var(--s-6); }
  .value-item { padding: var(--s-6); }
  .concept { padding: var(--s-6) var(--s-5); }
}

@media (max-width: 380px) {
  .hero__title { font-size: 2rem; }
  .hero__sub { font-size: 1.25rem; }
  .hero-slide { padding: var(--s-6) 0 var(--s-6); }
  .btn { padding: 12px 16px; font-size: var(--fs-xs); }
}

/* --------- Hero Slider --------- */
.hero-slider {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  isolation: isolate;
}
.hero-slides {
  flex: 1;
  min-height: 0;
  display: flex;
  width: 100%;
  transition: transform .65s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.hero-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--s-4) 0 var(--s-3);
  position: relative;
  background-color: #050F23;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5, 15, 35, 0.72) 0%,
    rgba(5, 15, 35, 0.48) 50%,
    rgba(5, 15, 35, 0.22) 100%
  );
  z-index: 0;
}
.hero-slide > * { position: relative; z-index: 1; }

/* Side arrows — absolutely positioned inside .hero-slider */
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  place-items: center;
  color: #fff;
  transition: background .2s ease, border-color .2s ease;
  cursor: pointer;
  z-index: 10;
}
.hero-slider__prev { left: 20px; }
.hero-slider__next { right: 20px; }
.hero-slider__arrow:hover { background: rgba(0,0,0,.5); border-color: rgba(255,255,255,.7); }
@media (min-width: 981px) {
  .hero-slider__arrow { display: grid; }
}
/* Dots: bottom-center of hero */
.hero-slider__dots {
  position: absolute;
  bottom: var(--s-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--s-2);
  align-items: center;
  z-index: 10;
}
.hero-slider__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: all .3s ease;
  border: 0;
}
.hero-slider__dot.is-active { background: #fff; width: 28px; border-radius: 4px; }
[data-theme="dark"] .hero-slider__dot.is-active { background: #fff; }

/* --------- Announcements --------- */
.announcements-track {
  display: flex;
  gap: var(--s-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--s-3);
  scrollbar-width: none;
}
.announcements-track::-webkit-scrollbar { display: none; }

.announcement-card {
  flex: 0 0 calc((100% - 2 * var(--s-5)) / 3);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 0;
  display: flex; flex-direction: column;
  transition: all .3s ease;
  overflow: hidden;
}
.announcement-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: var(--line-strong); }
.announcement-card__img {
  height: 160px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  color: rgba(255,255,255,.55);
}
.announcement-card__img--event       { background: linear-gradient(135deg,#1F3A5F 0%,#2A5F9E 100%); }
.announcement-card__img--product     { background: linear-gradient(135deg,#0B1F33 0%,#1F3A5F 100%); }
.announcement-card__img--partnership { background: linear-gradient(135deg,#14485F 0%,#1F3A5F 100%); }
.announcement-card__img--webinar     { background: linear-gradient(135deg,#2D1B69 0%,#1F3A5F 100%); }
.announcement-card__img--case        { background: linear-gradient(135deg,#0B2A1F 0%,#1F3A5F 100%); }
.announcement-card__img-grid {
  position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 32px 32px;
}
.announcement-card__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.announcement-card__meta { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.announcement-card__tag {
  font-size: var(--fs-xxs); font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--brand); background: var(--accent-soft);
  padding: 3px 10px; border-radius: 999px;
}
[data-theme="dark"] .announcement-card__tag { color: #6BA3D6; }
.announcement-card__date { font-size: var(--fs-xs); color: var(--text-muted); }
.announcement-card__title { font-size: var(--fs-lg); font-weight: 600; color: var(--text-primary); line-height: 1.3; }
.announcement-card__text { font-size: var(--fs-sm); color: var(--text-secondary); flex-grow: 1; }
@media (max-width: 980px) {
  .announcement-card { flex: 0 0 calc((100% - var(--s-5)) / 2); }
}
@media (max-width: 640px) {
  .announcement-card { flex: 0 0 85vw; }
}

/* --------- Nav Dropdown --------- */
.nav__item--dropdown { position: relative; }
.nav__dropdown-toggle {
  display: flex; align-items: center; gap: .3em;
  background: none; border: none;
  padding: var(--s-2) 0;
  cursor: pointer;
  transition: color .2s;
}
.nav__dropdown-toggle:hover,
.nav__item--dropdown.is-open .nav__dropdown-toggle { color: var(--text-primary); }
.dropdown-arrow { transition: transform .2s ease; flex-shrink: 0; }
.nav__item--dropdown.is-open .dropdown-arrow { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-2) 0;
  min-width: 210px;
  box-shadow: var(--shadow-3);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 300;
}
.nav__item--dropdown.is-open .nav__dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown li { list-style: none; }
.nav__dropdown-link {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-5);
  font-size: var(--fs-xs); font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav__dropdown-link:hover { background: var(--bg-soft); color: var(--text-primary); }
.nav__dropdown-link svg { flex-shrink: 0; opacity: .55; }
[data-theme="dark"] .nav__dropdown { background: #1a2a3f; border-color: rgba(255,255,255,.1); }
[data-theme="dark"] .nav__dropdown-link:hover { background: rgba(255,255,255,.07); color: #fff; }

/* Mobile dropdown sub-menu */
.mobile-menu__sub-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: none; border-bottom: 1px solid var(--line); text-align: left;
  font-size: 1.5rem; font-weight: 600; color: var(--text-primary);
  padding: var(--s-3) 0; cursor: pointer;
}
.mobile-menu__sub-toggle .dropdown-arrow { transition: transform .2s; }
.mobile-menu__sub-toggle.is-open .dropdown-arrow { transform: rotate(180deg); }
.mobile-menu__sub {
  display: none; padding-left: var(--s-5);
  border-left: 2px solid var(--line-strong);
  margin-bottom: var(--s-3);
}
.mobile-menu__sub.is-open { display: block; }
.mobile-menu__sub a { display: block; padding: var(--s-2) 0; font-size: var(--fs-sm); color: var(--text-secondary); border-bottom: none; }
.mobile-menu__sub a:hover { color: var(--text-primary); }

/* --------- Feature Grid (product pages) --------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  margin-top: var(--s-7);
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-7) var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-4);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.feature-card__icon {
  width: 52px; height: 52px;
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  display: grid; place-items: center;
  flex-shrink: 0;
}
[data-theme="dark"] .feature-card__icon { background: rgba(255,255,255,.06); }
.feature-card__title { font-size: var(--fs-md); font-weight: 600; color: var(--text-primary); line-height: 1.3; }
.feature-card__text { font-size: var(--fs-sm); color: var(--text-secondary); line-height: 1.7; }

/* --------- Tag Cloud --------- */
.tag-cloud {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  margin-top: var(--s-6);
}
.tag {
  display: inline-block;
  padding: var(--s-2) var(--s-5);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 500;
  color: var(--text-secondary);
  transition: background .2s, color .2s, border-color .2s;
}
.tag:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
[data-theme="dark"] .tag { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
[data-theme="dark"] .tag:hover { background: #6BA3D6; color: #0B1F33; border-color: #6BA3D6; }

/* --------- Check List --------- */
.check-list { display: flex; flex-direction: column; gap: var(--s-4); margin-top: var(--s-5); }
.check-list li {
  display: flex; align-items: flex-start; gap: var(--s-3);
  font-size: var(--fs-sm); color: var(--text-secondary); line-height: 1.6;
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px; margin-top: 2px;
  background-color: var(--brand);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
[data-theme="dark"] .check-list li::before { background-color: #6BA3D6; }
.check-list li strong { color: var(--text-primary); }

/* Feature grid responsive */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .feature-card { padding: var(--s-6) var(--s-5); }
}

/* --------- Product page stats strip --------- */
.product-stats { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s-7) 0; }
[data-theme="dark"] .product-stats { background: rgba(255,255,255,.03); }
.product-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.product-stat {
  padding: var(--s-5) var(--s-6);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: var(--s-2);
}
.product-stat:last-child { border-right: none; }
.product-stat__value {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 700; letter-spacing: -.03em;
  color: var(--text-primary); line-height: 1;
}
.product-stat__label { font-size: var(--fs-sm); color: var(--text-secondary); line-height: 1.4; }
.product-stat__source { font-size: var(--fs-xxs); color: var(--text-muted); margin-top: var(--s-1); }
/* Stat slider nav (visible only on mobile via JS) */
.pstat-wrap { position: relative; }
.pstat-nav {
  display: none;
  align-items: center; justify-content: center;
  gap: var(--s-4); padding-top: var(--s-4);
}
.pstat-prev, .pstat-next {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--text-secondary); cursor: pointer; font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s; flex-shrink: 0;
}
.pstat-prev:hover, .pstat-next:hover { border-color: var(--brand); color: var(--brand); }
.pstat-dots { display: flex; gap: 6px; align-items: center; }
.pstat-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; cursor: pointer; padding: 0;
  background: var(--line-strong); transition: background .2s, transform .2s;
}
.pstat-dot.is-active { background: var(--brand); transform: scale(1.3); }

/* --------- Process step cards --------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-7);
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-3);
  position: relative;
  transition: box-shadow .25s, border-color .25s;
}
.step-card:hover { box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.step-card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--brand); color: #fff;
  border-radius: 50%;
  font-size: var(--fs-sm); font-weight: 700; flex-shrink: 0;
}
[data-theme="dark"] .step-card__num { background: #6BA3D6; color: #0B1F33; }
.step-card__title { font-size: var(--fs-md); font-weight: 600; color: var(--text-primary); }
.step-card__text { font-size: var(--fs-sm); color: var(--text-secondary); line-height: 1.65; flex: 1; }
.step-card__duration { font-size: var(--fs-xxs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); padding-top: var(--s-3); border-top: 1px solid var(--line); }
[data-theme="dark"] .step-card__duration { color: #6BA3D6; }

/* --------- Module architecture diagram --------- */
.module-arch {
  margin-top: var(--s-7);
  display: flex;
  justify-content: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-6) var(--s-4);
}
.module-arch svg { max-width: 520px; width: 100%; height: auto; }

/* --------- Module cards (Trophy ERP) --------- */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-6);
}
.module-card--finance  { --mc: #2563EB; }
.module-card--mfg      { --mc: #D97706; }
.module-card--purchase { --mc: #7C3AED; }
.module-card--sales    { --mc: #059669; }
.module-card--quality  { --mc: #0284C7; }
.module-card--hr       { --mc: #DC2626; }
.module-card {
  --mc: var(--brand);
  --svg-c1: var(--mc);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--mc);
  border-radius: var(--r-xl);
  padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-4);
  transition: transform .25s, box-shadow .25s;
}
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.module-card__header { display: flex; align-items: center; gap: var(--s-3); }
.module-card__icon {
  width: 48px; height: 48px;
  background: color-mix(in srgb, var(--mc) 12%, transparent);
  border-radius: var(--r-md); display: grid; place-items: center; flex-shrink: 0;
}
[data-theme="dark"] .module-card__icon { background: color-mix(in srgb, var(--mc) 22%, transparent); }
.module-card__title { font-size: var(--fs-md); font-weight: 600; color: var(--text-primary); flex: 1; line-height: 1.3; }
.module-card__count {
  font-size: 11px; font-weight: 700;
  color: var(--mc);
  background: color-mix(in srgb, var(--mc) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--mc) 25%, transparent);
  padding: 2px 9px; border-radius: 20px; white-space: nowrap; flex-shrink: 0;
}
.module-card__items { display: flex; flex-direction: column; gap: 6px; }
.module-card__item {
  font-size: var(--fs-xs); color: var(--text-secondary); line-height: 1.45;
  padding: 5px 10px;
  border-left: 2px solid var(--mc);
  background: color-mix(in srgb, var(--mc) 5%, transparent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.module-card__item::before { display: none; }
[data-theme="dark"] .module-card__item { background: color-mix(in srgb, var(--mc) 9%, transparent); }

/* --------- Plan cards (Power BI) --------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-7);
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-7) var(--s-6);
  display: flex; flex-direction: column;
  transition: box-shadow .25s;
}
.plan-card:hover { box-shadow: var(--shadow-2); }
.plan-card--featured {
  background: var(--brand);
  border-color: transparent;
  box-shadow: var(--shadow-3);
}
.plan-card__badge { font-size: var(--fs-xxs); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--s-5); }
.plan-card--featured .plan-card__badge { color: rgba(255,255,255,.6); }
.plan-card__price { font-size: clamp(2rem, 2.5vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; color: var(--text-primary); line-height: 1; }
.plan-card--featured .plan-card__price { color: #fff; }
.plan-card__period { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--s-2); }
.plan-card--featured .plan-card__period { color: rgba(255,255,255,.6); }
.plan-card__divider { margin: var(--s-6) 0; height: 1px; background: var(--line); }
.plan-card--featured .plan-card__divider { background: rgba(255,255,255,.2); }
.plan-card__features { display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.plan-card__feat { font-size: var(--fs-sm); color: var(--text-secondary); display: flex; align-items: flex-start; gap: var(--s-3); line-height: 1.5; }
.plan-card--featured .plan-card__feat { color: rgba(255,255,255,.85); }
.plan-card__feat::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); flex-shrink: 0; margin-top: 2px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5L8 2' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.plan-card--featured .plan-card__feat::before { background-color: rgba(255,255,255,.25); }

/* New component responsive */
@media (max-width: 980px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .module-grid { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .product-stats__grid { grid-template-columns: 1fr 1fr; }
  .product-stat:nth-child(2) { border-right: none; }
  .product-stat:nth-child(1), .product-stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .module-arch { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid > * { grid-column: span 1 !important; }
  .module-grid { grid-template-columns: 1fr; }
  /* Product page hero */
  .page-hero { padding-top: calc(var(--header-h) + var(--s-5)); padding-bottom: var(--s-6); }
  .page-hero__title { font-size: clamp(1.75rem, 7vw, 2.5rem); line-height: 1.15; }
  .page-hero__sub { font-size: var(--fs-sm); margin-top: var(--s-4); }
  /* Product stats: slider on mobile */
  .product-stats__grid { grid-template-columns: 1fr; }
  .product-stat { display: none; border-right: none; border-bottom: none; }
  .product-stat.pstat--active { display: flex; }
  .product-stat__value { font-size: 2rem; }
  /* Solution block: hide visual SVG on mobile to save space */
  .solution-block__visual { display: none; }
  /* Module cards */
  .module-card { padding: var(--s-5); }
  /* Plan cards */
  .plan-grid { max-width: 100%; }
  .plan-card { padding: var(--s-6) var(--s-5); }
}

/* --------- Legal Modal --------- */
.legal-modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: var(--s-5);
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.legal-modal.is-open { pointer-events: auto; opacity: 1; }
.legal-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(11,31,51,.6);
  backdrop-filter: blur(4px);
}
[data-theme="dark"] .legal-modal__backdrop { background: rgba(0,0,0,.75); }
.legal-modal__dialog {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 680px;
  max-height: 80vh;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-3);
  transform: translateY(16px);
  transition: transform .3s ease;
}
.legal-modal.is-open .legal-modal__dialog { transform: translateY(0); }
.legal-modal__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-6) var(--s-7);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.legal-modal__title { font-size: var(--fs-xl); font-weight: 600; }
.legal-modal__close {
  width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 1.4rem; color: var(--text-secondary);
  cursor: pointer; transition: all .2s ease;
}
.legal-modal__close:hover { background: var(--bg-soft); }
.legal-modal__body {
  padding: var(--s-7);
  overflow-y: auto;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}
.legal-modal__body h4 { font-size: var(--fs-md); color: var(--text-primary); margin: var(--s-6) 0 var(--s-3); }
.legal-modal__body h4:first-child { margin-top: 0; }
.legal-modal__body p + p { margin-top: var(--s-3); }
.legal-modal__body a { color: var(--brand); text-decoration: underline; }
[data-theme="dark"] .legal-modal__body a { color: #6BA3D6; }

/* ========== CLICKABLE CARDS ========== */
.announcement-card[data-card-href] { cursor: pointer; position: relative; }
.announcement-card[data-card-href]:hover { box-shadow: var(--shadow-3); transform: translateY(-2px); }
.announcement-card[data-card-href]:hover .announcement-card__title { color: var(--brand); }
.announcement-card { transition: box-shadow .2s ease, transform .2s ease; }

/* ========== BLOG LISTING PAGE ========== */
.blog-search-wrap {
  position: relative; max-width: 520px; margin-bottom: var(--s-5);
}
.blog-search-wrap svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none;
}
.blog-search-input { padding-left: 42px !important; }

.blog-filters {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  margin-bottom: var(--s-4); align-items: center;
}
.blog-filters__divider {
  width: 1px; height: 20px; background: var(--line-strong);
  margin: 0 var(--s-1); flex-shrink: 0;
}
.blog-filter {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: var(--fs-xs); font-weight: 500; color: var(--text-secondary);
  cursor: pointer; transition: all .15s ease; white-space: nowrap;
}
.blog-filter:hover { border-color: var(--brand); color: var(--brand); }
.blog-filter.is-active {
  background: var(--brand); border-color: var(--brand);
  color: #fff;
}
.blog-filter__count {
  background: rgba(255,255,255,.25); border-radius: 100px;
  padding: 1px 7px; font-size: var(--fs-xxs); font-weight: 600;
}
.blog-filter.is-active .blog-filter__count { background: rgba(255,255,255,.3); }
.blog-filter:not(.is-active) .blog-filter__count {
  background: var(--bg-soft); color: var(--text-muted);
}
.blog-filter--tag { font-size: var(--fs-xxs); padding: 5px 11px; }

.blog-result-count {
  font-size: var(--fs-xs); color: var(--text-muted);
  margin-bottom: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.blog-grid__card { display: flex; flex-direction: column; }

.blog-card__tags {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  margin-top: var(--s-2);
}
.blog-tag {
  display: inline-block;
  padding: 3px 10px; border-radius: 100px;
  background: var(--bg-soft); border: 1px solid var(--line);
  font-size: var(--fs-xxs); color: var(--text-muted);
  cursor: pointer; transition: all .15s;
}
.blog-tag:hover, .blog-tag.is-active {
  background: var(--brand); border-color: var(--brand);
  color: #fff;
}

.blog-empty {
  text-align: center; padding: var(--s-10) 0;
  color: var(--text-muted); display: flex;
  flex-direction: column; align-items: center; gap: var(--s-4);
}
.blog-empty svg { opacity: .35; }
.blog-empty p { font-size: var(--fs-sm); }

@media (max-width: 980px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-filters { display: none; }
  .blog-result-count { display: none; }
}

/* ========== NEWS DETAIL PAGE ========== */
.news-hero {
  position: relative; overflow: hidden;
  min-height: 340px; display: flex; align-items: flex-end;
  color: #fff;
}
.news-hero.announcement-card__img--event      { background: linear-gradient(135deg,#1F3A5F 0%,#2A5F9E 100%); }
.news-hero.announcement-card__img--product    { background: linear-gradient(135deg,#0B3D2E 0%,#1A6B4A 100%); }
.news-hero.announcement-card__img--partnership{ background: linear-gradient(135deg,#2E1A47 0%,#6B3FA0 100%); }
.news-hero.announcement-card__img--webinar    { background: linear-gradient(135deg,#3D1A0B 0%,#A04A1A 100%); }
.news-hero.announcement-card__img--case       { background: linear-gradient(135deg,#1A2E3D 0%,#2A5F7A 100%); }
.news-hero .announcement-card__img-grid {
  position: absolute; inset: 0; opacity: .1;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 32px 32px;
}
.news-hero__inner {
  position: relative; z-index: 1;
  padding-top: var(--s-8); padding-bottom: var(--s-8);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.news-hero__back {
  display: inline-flex; align-items: center; gap: var(--s-2);
  color: rgba(255,255,255,.7); font-size: var(--fs-xs);
  transition: color .2s;
}
.news-hero__back:hover { color: #fff; }
.news-hero__tag {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.2); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 100px; padding: 4px 12px;
  font-size: var(--fs-xxs); font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: #fff;
  align-self: flex-start;
}
.news-hero__title {
  font-size: clamp(var(--fs-xl), 4vw, var(--fs-3xl));
  font-weight: 700; line-height: 1.2; color: #fff;
  max-width: 800px;
}
.news-hero__meta {
  display: flex; gap: var(--s-4);
  font-size: var(--fs-xs); color: rgba(255,255,255,.7);
}

.news-article {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: var(--s-8);
}
.news-article__body {
  display: flex; flex-direction: column; gap: var(--s-5);
  font-size: var(--fs-sm); color: var(--text-secondary); line-height: 1.8;
}
.news-article__lead {
  font-size: var(--fs-md); color: var(--text-primary);
  font-weight: 400; line-height: 1.7;
  border-left: 3px solid var(--brand); padding-left: var(--s-5);
}
.news-article__body h2 {
  font-size: var(--fs-lg); color: var(--text-primary); font-weight: 600;
  padding-bottom: var(--s-3); border-bottom: 1px solid var(--line);
  margin-top: var(--s-3);
}
.news-article__body ul {
  list-style: none; display: flex; flex-direction: column; gap: var(--s-3);
  padding-left: var(--s-5);
}
.news-article__body ul li {
  position: relative; color: var(--text-secondary);
}
.news-article__body ul li::before {
  content: ''; position: absolute;
  left: calc(-1 * var(--s-5)); top: .65em;
  width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand);
}
.news-article__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4); background: var(--bg-soft);
  border-radius: var(--r-lg); padding: var(--s-6);
}
.news-article__stat { text-align: center; }
.news-article__stat-num {
  display: block; font-size: var(--fs-2xl);
  font-weight: 700; color: var(--brand);
}
.news-article__stat-label {
  display: block; font-size: var(--fs-xs);
  color: var(--text-muted); margin-top: var(--s-1);
}
.news-article__quote {
  background: var(--bg-soft); border-radius: var(--r-lg);
  padding: var(--s-6); border-left: 4px solid var(--brand);
}
.news-article__quote p {
  font-size: var(--fs-md); font-style: italic;
  color: var(--text-primary); line-height: 1.7;
}
.news-article__quote cite {
  display: block; margin-top: var(--s-3);
  font-size: var(--fs-xs); font-style: normal;
  color: var(--text-muted); font-weight: 600;
}
.news-article__cta {
  display: flex; gap: var(--s-4); flex-wrap: wrap;
  padding-top: var(--s-6); border-top: 1px solid var(--line);
}
@media (max-width: 640px) {
  .news-hero { min-height: 260px; }
  .news-article__stats { grid-template-columns: 1fr; }
  .news-article__cta { flex-direction: column; }
  .news-article__cta .btn { width: 100%; justify-content: center; }
}

/* ========== Bottom Nav (mobile) ========== */
.bottom-nav { display: none; }
.bn-sheet { display: none; }

@media (max-width: 640px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }

  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 300;
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -4px 24px rgba(0,0,0,.08);
  }

  .bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 4px 10px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    transition: color .15s;
    min-width: 0;
  }

  .bottom-nav__item.is-active { color: var(--brand); }
  .bottom-nav__item:active { opacity: .65; }

  /* Products sheet */
  .bn-sheet { display: block; pointer-events: none; }
  .bn-sheet[aria-hidden="false"] { pointer-events: auto; }

  .bn-sheet__backdrop {
    position: fixed; inset: 0;
    z-index: 290;
    background: rgba(0,0,0,.45);
    opacity: 0;
    transition: opacity .2s;
  }
  .bn-sheet[aria-hidden="false"] .bn-sheet__backdrop { opacity: 1; }

  .bn-sheet__panel {
    position: fixed;
    bottom: calc(62px + env(safe-area-inset-bottom, 0px));
    left: 0; right: 0;
    z-index: 295;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-radius: 16px 16px 0 0;
    padding: var(--s-5) var(--s-4) var(--s-4);
    transform: translateY(100%);
    transition: transform .25s cubic-bezier(.32,.72,0,1);
  }
  .bn-sheet[aria-hidden="false"] .bn-sheet__panel { transform: translateY(0); }

  .bn-sheet__title {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--s-3);
    padding: 0 var(--s-2);
  }

  .bn-sheet__link {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-4) var(--s-3);
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 10px;
    transition: background .15s;
  }
  .bn-sheet__link:active { background: var(--bg-soft); }
}
