  :root {
    --bg: #080d1a;
    --bg2: #0d1426;
    --bg3: #111827;
    --card: #0f1831;
    --card2: #131e38;
    --blue: #2b6ef5;
    --blue-light: #4f8fff;
    --blue-glow: rgba(43,110,245,0.25);
    --text: #e8edf8;
    --muted: #7a8baa;
    --border: rgba(255,255,255,0.07);
    --gold: #f5a623;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; overflow-x: hidden; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    opacity: 0;
    animation: pageAppear 0.6s ease forwards;
    animation-delay: 0.3s;
  }
  @keyframes pageAppear { from{opacity:0} to{opacity:1} }

  /* ── NAVBAR ── */
  header nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 4%; height: 72px;
    background: #0b1221;
    border-bottom: 1px solid var(--border);
  }
  .logo { display: flex; align-items: center; }
  .logo svg { height: 24px; width: auto; }
  .nav-group-left { display: flex; align-items: center; gap: 2.5rem; }
  .nav-links { display: flex; align-items: center; gap: 2.4rem; list-style: none; }
  .nav-links a {
    color: #c8d3e8; font-size: .92rem; font-weight: 400;
    text-decoration: none; transition: color .2s;
    font-family: 'DM Sans', sans-serif;
  }
  .nav-links a:hover { color: #fff; }
  .nav-links a.active { color: #fff; }
  .nav-group-right { display: flex; align-items: center; gap: 1rem; }

  .btn-nav {
    display: flex; align-items: center; gap: .55rem;
    background: #2b6ef5; color: #fff; border: none;
    padding: .55rem .55rem .55rem 1.2rem;
    border-radius: 50px; font-family: 'DM Sans', sans-serif;
    font-size: .88rem; font-weight: 600; cursor: pointer;
    transition: background .2s, transform .15s;
    letter-spacing: .1px; text-decoration: none;
  }
  .btn-nav:hover { background: #4f8fff; transform: translateY(-1px); }
  .btn-nav .phone-circle {
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .btn-nav .phone-circle svg { width: 14px; height: 14px; fill: #fff; }

  /* ── HAMBURGER ── */
  .hamburger {
    display: none; flex-direction: column; justify-content: center; align-items: center;
    gap: 5px; width: 40px; height: 40px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px; cursor: pointer; padding: 0; flex-shrink: 0;
    transition: background .2s, border-color .2s; order: -1;
  }
  .hamburger:hover { background: rgba(255,255,255,0.11); border-color: rgba(255,255,255,0.2); }
  .hamburger span {
    display: block; width: 18px; height: 2px;
    background: #fff; border-radius: 2px;
    transition: transform .35s cubic-bezier(0.22,1,0.36,1), opacity .25s, width .3s;
    transform-origin: center;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── PAGE HEADER ── */
  .page-header {
    padding: 130px 5% 60px;
    border-bottom: 1px solid var(--border);
  }
  .page-tag {
    display: inline-flex; align-items: center;
    background: rgba(43,110,245,0.12); border: 1px solid rgba(43,110,245,0.25);
    color: var(--blue-light); font-size: .75rem; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase;
    padding: .3rem .8rem; border-radius: 20px; margin-bottom: 1.2rem;
  }
  .page-header h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800; color: #fff; line-height: 1.1;
    max-width: 620px; margin-bottom: 1rem;
  }
  .page-header p {
    color: var(--muted); font-size: 1rem; max-width: 500px; line-height: 1.7;
  }

  /* ── INSIGHTS LAYOUT ── */
  .insights-wrapper {
    display: flex; gap: 0; min-height: 60vh;
    max-width: 1200px; margin: 0 auto; padding: 0 5%;
  }



  /* Main content */
  .insights-main { flex: 1; padding: 2.5rem 0; }

  /* ── FEATURED ARTICLE ── */
  .featured-article {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
    padding-bottom: 2.5rem; margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
    align-items: center;
  }
  .featured-img {
    border-radius: 12px; overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #131e38 0%, #0f1831 50%, #1a2540 100%);
    position: relative;
  }
  .featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .featured-img .img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; opacity: .15;
  }
  .featured-content {}
  .article-tag {
    display: inline-block; font-size: .72rem; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--blue-light); margin-bottom: .8rem;
  }
  .featured-content h2 {
    font-family: 'Syne', sans-serif; font-size: 1.65rem;
    font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: .9rem;
  }
  .featured-content p {
    color: var(--muted); font-size: .92rem; line-height: 1.7; margin-bottom: 1.4rem;
  }
  .author-row {
    display: flex; align-items: center; gap: .7rem;
  }
  .author-avatar {
    width: 32px; height: 32px; border-radius: 50%; overflow: hidden;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    display: flex; align-items: center; justify-content: center;
    font-size: .72rem; font-weight: 700; color: #fff; flex-shrink: 0;
  }
  .author-info { display: flex; flex-direction: column; gap: .1rem; }
  .author-name { font-size: .82rem; font-weight: 600; color: var(--text); }
  .author-date { font-size: .95rem; color: var(--muted); }

  /* ── ARTICLE GRID ── */
  .articles-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem;
  }
  .article-card {
    display: flex; flex-direction: column; gap: 1rem;
    padding-bottom: 2rem; border-bottom: 1px solid var(--border);
    text-decoration: none; color: inherit;
    cursor: pointer; transition: opacity .2s;
  }
  .article-card:hover { opacity: .85; }
  .article-card:hover .card-title { color: var(--blue-light); }
  .card-img {
    border-radius: 10px; overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #131e38 0%, #1a2540 100%);
    position: relative;
  }
  .card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .card-img .img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; opacity: .15;
  }
  .card-content { flex: 1; display: flex; flex-direction: column; gap: .6rem; }
  .card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
  .card-title {
    font-family: 'Syne', sans-serif; font-size: 1.05rem;
    font-weight: 700; color: var(--text); line-height: 1.3;
    transition: color .2s;
  }
  .card-arrow {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    color: var(--muted); margin-top: 2px;
  }
  .card-arrow svg { width: 16px; height: 16px; }
  .card-excerpt { font-size: .83rem; color: var(--muted); line-height: 1.6; }

  /* ── PAGINATION ── */
  .pagination {
    display: flex; align-items: center; justify-content: space-between;
    padding: 2rem 0 0; border-top: 1px solid var(--border);
    margin-top: 1rem;
  }
  .pag-btn {
    display: flex; align-items: center; gap: .5rem;
    background: none; border: none; color: var(--muted);
    font-size: .85rem; font-weight: 500; cursor: pointer;
    transition: color .2s; font-family: 'DM Sans', sans-serif;
    text-decoration: none;
  }
  .pag-btn:hover { color: var(--text); }
  .pag-btn svg { width: 16px; height: 16px; }

  /* ── FILTER BAR ── */
  .filter-bar {
    display: flex; align-items: center; gap: 1.5rem;
    max-width: 1200px; margin: 0 auto;
    padding: 1.4rem 5%;
    border-bottom: 1px solid var(--border);
  }
  .filter-label {
    font-family: 'Inter', sans-serif; font-size: .68rem; font-weight: 700;
    color: var(--muted); letter-spacing: 1.8px; text-transform: uppercase;
    white-space: nowrap;
  }
  .filter-divider {
    width: 1px; height: 40px; background: var(--border); flex-shrink: 0;
  }
  .filter-dropdowns { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
  .filter-drop { position: relative; }
  .filter-btn {
    display: flex; align-items: center; gap: .75rem;
    background: none; border: none; cursor: pointer;
    color: var(--text); font-family: 'DM Sans', sans-serif;
    font-size: .92rem; font-weight: 400; padding: 0;
    transition: color .2s;
  }
  .filter-btn:hover { color: #fff; }
  .filter-circle {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: border-color .2s, background .2s;
  }
  .filter-circle svg { width: 14px; height: 14px; }
  .filter-btn:hover .filter-circle { border-color: var(--blue); background: rgba(43,110,245,0.1); }
  .filter-drop.active .filter-circle { border-color: var(--blue); background: rgba(43,110,245,0.15); }
  .filter-btn-text { font-size: .9rem; }
  .filter-panel {
    display: none; position: absolute; top: calc(100% + .6rem); left: 0;
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 10px; min-width: 160px; z-index: 50;
    overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.4);
  }
  .filter-drop.active .filter-panel { display: block; }
  .filter-panel button {
    display: block; width: 100%; text-align: left;
    background: none; border: none; cursor: pointer;
    padding: .65rem 1rem; color: var(--muted);
    font-family: 'DM Sans', sans-serif; font-size: .88rem;
    transition: background .15s, color .15s;
  }
  .filter-panel button:hover { background: rgba(255,255,255,0.05); color: var(--text); }
  .filter-panel button.selected { color: var(--blue-light); font-weight: 600; }

  @media(max-width:600px) {
    .filter-bar { gap: 1rem; flex-wrap: wrap; }
    .filter-divider { display: none; }
  }
  .modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 200;
    background: rgba(8,13,26,0.92); backdrop-filter: blur(4px);
    overflow-y: auto; padding: 2rem 1rem;
  }
  .modal-overlay.open { display: flex; justify-content: center; align-items: flex-start; }
  .modal-box {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 16px; max-width: 760px; width: 100%;
    margin: auto; padding: 3rem; position: relative;
    animation: modalIn .3s ease;
  }
  @keyframes modalIn { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
  .modal-close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    background: rgba(255,255,255,0.07); border: none; border-radius: 50%;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--muted); transition: background .2s, color .2s;
  }
  .modal-close:hover { background: rgba(255,255,255,0.12); color: var(--text); }
  .modal-tag { /* same as article-tag */ }
  .modal-box h2 {
    font-family: 'Syne', sans-serif; font-size: 1.9rem; font-weight: 800;
    color: #fff; line-height: 1.2; margin: .8rem 0 .6rem;
  }
  .modal-box .modal-author-row { margin-bottom: 2rem; }
  .modal-divider {
    height: 1px; background: var(--border); margin: 1.5rem 0;
  }
  .modal-body {
    font-size: .95rem; color: var(--muted); line-height: 1.85;
  }
  .modal-body p { margin-bottom: 1.2rem; }
  .modal-body h3 {
    font-family: 'Syne', sans-serif; font-size: 1.2rem;
    color: var(--text); font-weight: 700; margin: 1.8rem 0 .6rem;
  }
  .modal-body ul { padding-left: 1.4rem; margin-bottom: 1.2rem; }
  .modal-body ul li { margin-bottom: .4rem; }

  /* ── UPLOAD MODAL ── */
  .upload-modal {
    display: none; position: fixed; inset: 0; z-index: 300;
    background: rgba(8,13,26,0.94); backdrop-filter: blur(6px);
    justify-content: center; align-items: center; padding: 1rem;
  }
  .upload-modal.open { display: flex; }
  .upload-box {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 16px; max-width: 560px; width: 100%;
    padding: 2.5rem; position: relative; animation: modalIn .3s ease;
  }
  .upload-box h3 {
    font-family: 'Syne', sans-serif; font-size: 1.35rem;
    font-weight: 700; color: #fff; margin-bottom: .5rem;
  }
  .upload-box > p { font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem; }
  .form-group { margin-bottom: 1.1rem; }
  .form-label {
    display: block; font-size: .8rem; font-weight: 600;
    color: var(--muted); text-transform: uppercase;
    letter-spacing: .06em; margin-bottom: .4rem;
  }
  .form-input, .form-textarea, .form-select {
    width: 100%; background: rgba(255,255,255,0.04);
    border: 1px solid var(--border); border-radius: 8px;
    color: var(--text); font-family: 'DM Sans', sans-serif;
    font-size: .9rem; padding: .65rem .9rem;
    outline: none; transition: border-color .2s;
  }
  .form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: rgba(43,110,245,0.5);
  }
  .form-textarea { resize: vertical; min-height: 100px; }
  .form-select option { background: #0d1426; }
  .btn-submit {
    width: 100%; background: var(--blue); color: #fff;
    border: none; border-radius: 8px; padding: .8rem;
    font-family: 'DM Sans', sans-serif; font-size: .92rem;
    font-weight: 600; cursor: pointer; transition: background .2s;
    margin-top: .5rem;
  }
  .btn-submit:hover { background: var(--blue-light); }

  /* Upload btn in header */
  .btn-upload {
    display: flex; align-items: center; gap: .5rem;
    background: rgba(43,110,245,0.12); border: 1px solid rgba(43,110,245,0.3);
    color: var(--blue-light); border-radius: 8px;
    padding: .5rem 1rem; font-family: 'DM Sans', sans-serif;
    font-size: .85rem; font-weight: 600; cursor: pointer;
    transition: all .2s;
  }
  .btn-upload:hover { background: rgba(43,110,245,0.22); color: #fff; }
  .btn-upload svg { width: 14px; height: 14px; }

  /* ── FOOTER ── */
  footer {
    background: #05080f;
    border-top: 1px solid var(--border);
    padding: 0;
  }
  .footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 320px;
  }
  .footer-left {
    padding: 56px 6% 48px;
    border-right: 1px solid var(--border);
    display: flex; flex-direction: column;
    justify-content: space-between; gap: 2rem;
  }
  .footer-left-top { display: flex; flex-direction: column; gap: 3rem; }
  .footer-brand p {
    color: var(--muted); font-size: .82rem; line-height: 1.75; max-width: 280px; margin-top: 1.5rem;
  }
  .footer-phone {
    display: inline-flex; align-items: center; gap: .5rem;
    color: rgba(255,255,255,0.4); font-family: 'Inter', sans-serif;
    font-size: .84rem; text-decoration: none; transition: color .2s;
  }
  .footer-phone:hover { color: #fff; }
  .footer-right {
    display: grid; grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border); align-items: start;
  }
  .footer-col { padding: 56px 5% 48px; border-right: 1px solid var(--border); }
  .footer-col:last-child { border-right: none; }
  .footer-col-label {
    font-family: 'Inter', sans-serif; font-size: .68rem; font-weight: 700;
    color: var(--muted); letter-spacing: 1.8px; text-transform: uppercase;
    margin-bottom: 1.4rem;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .2rem; }
  .footer-col ul li a {
    color: #c8d3e8; font-family: 'Syne', sans-serif; font-size: 1.15rem;
    font-weight: 600; text-decoration: none; display: block;
    padding: .35rem 0; transition: color .2s;
  }
  .footer-col ul li a:hover { color: #fff; }
  .footer-contact-row {
    border-top: 1px solid var(--border); grid-column: 1 / -1;
    display: flex; align-items: stretch;
  }
  .footer-contact-label {
    padding: 1.4rem 5%;
    font-family: 'Inter', sans-serif; font-size: .68rem; font-weight: 700;
    color: var(--muted); letter-spacing: 1.8px; text-transform: uppercase;
    border-right: 1px solid var(--border);
    display: flex; align-items: center; min-width: 220px;
  }
  .footer-contact-btn {
    display: inline-flex; align-items: center; gap: 1rem;
    padding: 1.4rem 5%;
    color: #fff; font-family: 'Syne', sans-serif; font-size: 1.3rem;
    font-weight: 700; text-decoration: none; transition: gap .25s ease, color .2s;
  }
  .footer-contact-btn:hover { gap: 1.5rem; color: var(--blue-light); }
  .footer-contact-btn .arrow-circle {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.25);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: border-color .2s, background .2s;
  }
  .footer-contact-btn:hover .arrow-circle { border-color: var(--blue); background: rgba(43,110,245,0.15); }
  .footer-bottom {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
    gap: .75rem; padding: 1.2rem 5%;
    border-top: 1px solid var(--border);
    color: var(--muted); font-size: .76rem;
  }
  .footer-legal { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
  .footer-legal a {
    color: var(--muted); text-decoration: underline; text-underline-offset: 3px;
    font-size: .76rem; transition: color .2s;
  }
  .footer-legal a:hover { color: #fff; }
  .footer-legal-sep { color: rgba(255,255,255,0.15); }
  @media (max-width: 900px) {
    .footer-main { grid-template-columns: 1fr; }
    .footer-left { border-right: none; border-bottom: 1px solid var(--border); padding: 40px 5%; }
    .footer-right { grid-template-columns: 1fr 1fr; }
    .footer-col { padding: 36px 5%; }
  }
  @media (max-width: 600px) {
    .footer-left { flex-direction: column; align-items: flex-start; }
    .footer-contact-label { min-width: unset; font-size: .62rem; padding: 1rem 4%; }
    .footer-contact-btn { font-size: .95rem; padding: 1rem 4%; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
  }


  /* Responsive */
  @media(max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .featured-article { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .insights-main { padding-left: 0; }
    .insights-wrapper { padding: 0 4%; }
    .page-header { padding: 110px 4% 50px; }
  }
  @media(max-width: 600px) {
    .footer-main { flex-direction: column; }
    .footer-right { flex-wrap: wrap; gap: 2rem; }
    .modal-box { padding: 1.8rem; }
    .upload-box { padding: 1.8rem; }
  }

  /* No-border last cards */
  .articles-grid .article-card:nth-last-child(-n+2) {
    border-bottom: none; padding-bottom: 0;
  }

  /* ── DROPDOWN PANEL ── */
  .nav-links .dropdown { position: static; }
  .dropdown-panel {
    position: fixed; top: 62px; left: 0; right: 0;
    background: #080d1a;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 3rem 5%;
    display: flex; align-items: flex-start; gap: 0;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22,1,0.36,1), visibility 0.28s;
    z-index: 190;
  }
  .dropdown-panel.open { opacity: 1; visibility: visible; pointer-events: all; transform: translateY(0); }
  .nav-links .dropdown > a.active { color: #fff; }
  .dropdown-label {
    min-width: 160px; padding-right: 3rem;
    font-family: 'Inter', sans-serif; font-size: .72rem; font-weight: 600;
    color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; padding-top: .4rem;
  }
  .dropdown-divider { width: 1px; background: rgba(255,255,255,0.1); align-self: stretch; min-height: 100%; flex-shrink: 0; }
  .dropdown-links { display: flex; flex-direction: column; gap: 0; padding-left: 3.5rem; list-style: none; }
  .dropdown-links li a {
    display: block; font-family: 'Syne', sans-serif;
    font-size: 1.35rem; font-weight: 600; color: #c8d3e8;
    text-decoration: none; padding: .55rem 0;
    transition: color 0.18s ease, padding-left 0.2s ease; letter-spacing: -.01em;
  }
  .dropdown-links li a:hover { color: #fff; padding-left: .5rem; }

  /* ── LANGUAGE SWITCH ── */
  .lang-switch {
    display: flex; align-items: center; gap: .55rem;
    background: #0f1831; border: 1px solid rgba(255,255,255,0.13);
    padding: .5rem .85rem .5rem .65rem; border-radius: 50px;
    cursor: pointer; transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
    color: #c8d3e8; box-shadow: 0 2px 10px rgba(0,0,0,.25);
  }
  .lang-switch:hover {
    background: #162040; border-color: rgba(43,110,245,0.4);
    transform: translateY(-1px); box-shadow: 0 4px 16px rgba(43,110,245,.15);
  }
  .lang-switch-flag {
    border-radius: 4px; object-fit: cover;
    display: block; flex-shrink: 0;
    width: 24px !important; height: 17px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.3);
  }
  .lang-switch-sep { width: 1px; height: 16px; background: rgba(255,255,255,0.15); flex-shrink: 0; }
  .lang-switch-code { font-family: 'Inter', sans-serif; font-size: .85rem; font-weight: 700; color: #e8edf8; letter-spacing: .6px; }
  .lang-switch-chevron { width: 11px; height: 11px; color: rgba(255,255,255,0.45); flex-shrink: 0; transition: transform .25s ease; }
  .lang-switch.no .lang-switch-chevron { transform: rotate(180deg); }

  /* ── DRAWER EXTENDED STYLES ── */
  .drawer-arrow {
    width: 22px; height: 22px; flex-shrink: 0; opacity: .3;
    transition: transform .2s, opacity .2s;
  }
  .drawer-link:hover .drawer-arrow { transform: translate(4px,-4px); opacity: 1; }
  .drawer-sub {
    display: none; flex-direction: column;
    padding: .3rem 0 .6rem 0; border-bottom: 1px solid var(--border); gap: 0;
  }
  .drawer-sub.open { display: flex; }
  .drawer-sub a {
    color: rgba(200,211,232,0.5); font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem; font-weight: 500; text-decoration: none;
    padding: .6rem 0; display: flex; align-items: center; gap: .7rem; border: none;
  }
  .drawer-sub a::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); flex-shrink: 0; opacity: .7; }
  .drawer-sub a:hover { color: #fff; }
  .drawer-chevron { width: 20px; height: 20px; color: rgba(255,255,255,0.3); transition: transform .25s ease; flex-shrink: 0; }
  .drawer-link.sub-open .drawer-chevron { transform: rotate(180deg); }

  /* Drawer footer */
  .drawer-footer {
    padding: 1.5rem 5% 2rem;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .drawer-footer .lang-switch { padding: .65rem 1rem; border-radius: 12px; background: rgba(255,255,255,0.05); }
  .drawer-footer .lang-switch-code { font-size: .88rem; }
  .drawer-footer .btn-nav { border-radius: 50px; padding: .65rem .65rem .65rem 1.2rem; }
  .drawer-footer .btn-nav-text { display: block !important; }

  @media (max-width: 768px) {
    header .lang-switch-code { display: none; }
    header .lang-switch-sep { display: none; }
    header .lang-switch-chevron { display: none; }
    header .lang-switch { padding: .5rem .6rem; }
    .drawer-footer .lang-switch-code { display: inline !important; }
    .drawer-footer .lang-switch-sep { display: inline-block !important; }
    .drawer-footer .lang-switch-chevron { display: inline !important; }
    .drawer-footer .lang-switch { padding: .55rem .9rem .55rem .75rem !important; }
  }

  @keyframes mailBounce {
    0%   { transform: rotate(0deg) scale(1); }
    15%  { transform: rotate(-15deg) scale(1.1); }
    30%  { transform: rotate(15deg) scale(1.1); }
    45%  { transform: rotate(-10deg) scale(1.05); }
    60%  { transform: rotate(10deg) scale(1.05); }
    75%  { transform: rotate(-5deg); }
    90%  { transform: rotate(5deg); }
    100% { transform: rotate(0deg) scale(1); }
  }
  .btn-nav:hover .phone-circle svg { animation: mailBounce 0.7s ease-in-out; }

/* ══════════════════════════════════════════
   ARTICLE PAGE
   ══════════════════════════════════════════ */

/* Outer shell — clears fixed 72px navbar */
.article-page {
  padding-top: 72px;
  min-height: 80vh;
}
.article-page-loading,
.article-page-error {
  text-align: center;
  padding: 6rem 1rem;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
}
.article-page-error a { color: #7da1ff; }

/* Reading column */
.ap-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.8rem 2rem 6rem;
}

/* ── Back link ── */
.article-page-back {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  font-weight: 500;
  padding: .4rem .85rem .4rem .55rem;
  border-radius: 6px;
  border: 1px solid transparent;
  margin-bottom: 2.8rem;
  transition: color .18s, border-color .18s, background .18s;
}
.article-page-back:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255,255,255,.04);
}
.article-page-back svg { flex-shrink: 0; }

/* ── Article header ── */
.ap-header { margin-bottom: 2.2rem; }

.ap-header-top {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}

/* Tag badge — color injected inline via JS */
.article-page-tag {
  display: inline-flex;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .28rem .85rem;
  border-radius: 20px;
  flex-shrink: 0;
}

.ap-date {
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  color: var(--muted);
}

/* Title */
.ap-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 1.1rem;
}

/* Subtitle / excerpt */
.ap-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.72;
  margin: 0;
  max-width: 680px;
}

/* Divider below header */
.ap-header-divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0 2.2rem;
}

/* ── Hero image ── */
.ap-hero-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 3rem;
  border: 1px solid rgba(255,255,255,.06);
}
.ap-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.1s linear;
  will-change: transform;
}

/* ── Article body — full HTML support ── */
.article-page-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.88;
  color: rgba(232,237,248,.88);
  margin-bottom: 3.5rem;
}
.article-page-body > *:first-child { margin-top: 0; }
.article-page-body p  { margin-bottom: 1.45rem; }
.article-page-body h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.65rem, 3.8vw, 2.25rem);
  font-weight: 800; color: #fff;
  line-height: 1.18; letter-spacing: -.02em;
  margin: 2.6rem 0 1rem;
}
.article-page-body h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.3rem, 2.8vw, 1.72rem);
  font-weight: 700; color: #fff;
  line-height: 1.22; letter-spacing: -.01em;
  margin: 2.2rem 0 .9rem;
}
.article-page-body h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--text); margin: 2rem 0 .7rem;
}
.article-page-body h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1.08rem; font-weight: 600;
  color: var(--text); margin: 1.8rem 0 .6rem;
}
.article-page-body h5,
.article-page-body h6 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 600;
  color: var(--text); margin: 1.6rem 0 .5rem;
}
.article-page-body ul,
.article-page-body ol {
  padding-left: 1.65rem;
  margin-bottom: 1.45rem;
}
.article-page-body ul { list-style-type: disc; }
.article-page-body ol { list-style-type: decimal; }
.article-page-body li { margin-bottom: .5rem; padding-left: .2rem; }
.article-page-body a {
  color: #7da1ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .18s;
}
.article-page-body a:hover { color: #adc4ff; }
.article-page-body strong { color: var(--text); font-weight: 600; }
.article-page-body em { font-style: italic; opacity: .8; }
.article-page-body blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.6rem;
  border-left: 3px solid var(--blue);
  background: rgba(43,110,245,.07);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: rgba(232,237,248,.72);
}
.article-page-body blockquote p { margin-bottom: 0; }
.article-page-body code {
  font-size: .87em;
  background: rgba(255,255,255,.08);
  padding: .18em .45em;
  border-radius: 4px;
  color: #a5c4ff;
}
.article-page-body pre {
  background: rgba(8,13,26,.85);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  overflow-x: auto;
  margin: 1.8rem 0;
}
.article-page-body pre code {
  background: none; padding: 0;
  font-size: .9rem; color: #c8d3e8;
}
.article-page-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.6rem 0;
  display: block;
  border: 1px solid rgba(255,255,255,.06);
}
.article-page-body figure { margin: 2rem 0; }
.article-page-body figcaption {
  font-size: .82rem; color: var(--muted);
  text-align: center; margin-top: .6rem; font-style: italic;
}
.article-page-body table {
  width: 100%; border-collapse: collapse;
  margin: 2rem 0; font-size: .92rem;
  border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden;
}
.article-page-body th {
  background: rgba(43,110,245,.12); color: var(--text);
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  text-align: left; padding: .8rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.article-page-body td {
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--border);
  color: rgba(232,237,248,.8);
}
.article-page-body tr:last-child td { border-bottom: none; }
.article-page-body tr:nth-child(even) td { background: rgba(255,255,255,.02); }
.article-page-body hr {
  border: none; height: 1px;
  background: var(--border); margin: 2.5rem 0;
}

/* ── CTA block ── */
.ap-cta {
  margin: 0 0 4rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(43,110,245,.16) 0%, rgba(125,161,255,.08) 100%);
  border: 1px solid rgba(125,161,255,.22);
  padding: 3.2rem 2.8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ap-cta::before {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 180px; height: 180px;
  background: rgba(43,110,245,.09);
  border-radius: 50%; pointer-events: none;
}
.ap-cta::after {
  content: '';
  position: absolute; bottom: -40px; left: -40px;
  width: 140px; height: 140px;
  background: rgba(125,161,255,.06);
  border-radius: 50%; pointer-events: none;
}
.ap-cta-inner { position: relative; z-index: 1; }
.ap-cta-label {
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: #7da1ff; margin: 0 0 .7rem;
}
.ap-cta-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 700; color: #fff;
  margin: 0 0 .65rem; line-height: 1.2;
}
.ap-cta-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem; color: var(--muted);
  margin: 0 auto 1.9rem; max-width: 420px; line-height: 1.6;
}
.ap-cta-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--blue); color: #fff;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: .92rem; font-weight: 600;
  padding: .8rem 2rem; border-radius: 50px;
  box-shadow: 0 4px 20px rgba(43,110,245,.38);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.ap-cta-btn:hover {
  background: #4f8fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(43,110,245,.48);
}
.ap-cta-btn svg { flex-shrink: 0; }

/* ── Suggested articles ── */
.ap-suggested { }
.ap-suggested-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
}
.ap-suggested-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--text); margin: 0;
}
.ap-suggested-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .83rem; color: var(--muted);
  text-decoration: none; transition: color .18s;
}
.ap-suggested-link:hover { color: var(--text); }
.ap-suggested-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.ap-sugg-card {
  display: flex; flex-direction: column;
  border-radius: 14px; overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
.ap-sugg-card:hover {
  border-color: rgba(125,161,255,.32);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}
.ap-sugg-img {
  width: 100%; height: 140px;
  object-fit: cover; display: block;
  flex-shrink: 0;
}
.ap-sugg-placeholder {
  width: 100%; height: 140px;
  display: block; flex-shrink: 0;
}
.ap-sugg-content {
  padding: 1rem 1rem .9rem;
  flex: 1; display: flex; flex-direction: column; gap: .38rem;
}
.ap-sugg-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: .67rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  display: block;
}
.ap-sugg-name {
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem; font-weight: 600;
  color: var(--text); line-height: 1.4;
  flex: 1; margin: 0;
}
.ap-sugg-date {
  font-family: 'DM Sans', sans-serif;
  font-size: .73rem; color: var(--muted);
  margin-top: .3rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .ap-wrap { padding: 2rem 1.5rem 4rem; }
}
@media (max-width: 720px) {
  .ap-suggested-grid { grid-template-columns: repeat(2, 1fr); }
  .ap-cta { padding: 2.4rem 1.6rem; }
  .ap-hero-wrap { border-radius: 12px; }
}
@media (max-width: 500px) {
  .ap-wrap { padding: 1.5rem 1rem 3.5rem; }
  .ap-suggested-grid { grid-template-columns: 1fr; }
  .ap-cta { padding: 2rem 1.3rem; }
  .ap-hero-wrap { border-radius: 10px; aspect-ratio: 4/3; }
  .article-page-back {
    font-size: 1rem;
    padding: .55rem 1.1rem .55rem .7rem;
    margin-bottom: 2rem;
  }
  .article-page-back svg { width: 18px; height: 18px; }
}
