/* DAO DANANG v2.0.11 — STEP 1 / GLOBAL MOBILE SHELL
   Scope: global rhythm, sticky header, navigation, controls and footer only.
   Page-specific hero/cards are intentionally untouched in this step. */

@media (max-width: 760px) {
  :root {
    --dao-mobile-gutter: 18px;
    --dao-mobile-section: 56px;
    --dao-mobile-control: 44px;
  }

  body.dao-site {
    font-size: 15px;
    line-height: 1.68;
    text-rendering: optimizeLegibility;
  }

  .dao-container {
    width: calc(100% - (var(--dao-mobile-gutter) * 2));
  }

  .dao-section {
    padding-block: var(--dao-mobile-section);
  }

  .dao-kicker {
    margin-bottom: 10px;
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: .15em;
  }

  .dao-btn {
    min-height: 50px;
    padding-inline: 20px;
    font-size: 12px;
    letter-spacing: .045em;
  }

  /* Header: compact but visually stronger, with predictable touch targets. */
  .dao-header,
  .dao-header.is-scrolled {
    height: 66px;
    background: rgba(5,5,6,.975);
    border-bottom-color: rgba(255,255,255,.085);
    backdrop-filter: blur(18px);
  }

  .dao-header__inner {
    gap: 9px;
  }

  .dao-brand img,
  .dao-header.is-scrolled .dao-brand img {
    width: 142px;
    max-height: 44px;
  }

  .dao-header__actions {
    gap: 8px;
  }

  .dao-language__button,
  .dao-menu-toggle {
    height: var(--dao-mobile-control);
    border-color: rgba(255,255,255,.18);
    background: rgba(14,14,15,.82);
  }

  .dao-language__button {
    min-width: 58px;
    padding-inline: 10px;
    font-size: 12px;
    gap: 7px;
  }

  .dao-menu-toggle {
    width: var(--dao-mobile-control);
    font-size: 21px;
    line-height: 1;
  }

  .dao-nav {
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    padding: 8px var(--dao-mobile-gutter) 18px;
    max-height: calc(100dvh - 66px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(7,7,8,.992);
    border-bottom: 1px solid rgba(189,146,91,.18);
    box-shadow: 0 24px 50px rgba(0,0,0,.48);
  }

  .dao-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 4px;
    font-size: 12px;
    letter-spacing: .055em;
  }

  .dao-language__menu {
    top: 50px;
    width: min(224px, calc(100vw - (var(--dao-mobile-gutter) * 2)));
    max-height: min(66dvh, 520px);
    overflow-y: auto;
    padding: 7px;
    border-color: rgba(189,146,91,.22);
    background: #0a0a0b;
    box-shadow: 0 24px 60px rgba(0,0,0,.58);
  }

  .dao-language__menu a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 12px;
  }

  .dao-breadcrumbs__inner {
    min-height: 36px;
    gap: 8px;
    font-size: 10px;
  }

  /* Footer: convert the former long single column into a compact information grid. */
  .dao-footer {
    padding: 36px 0 16px;
  }

  .dao-footer__grid {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 26px 28px;
  }

  .dao-footer__grid > div:first-child {
    grid-column: 1 / -1;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.065);
  }

  .dao-footer__grid > div:nth-child(4) {
    grid-column: 1 / -1;
    padding-top: 2px;
  }

  .dao-footer img {
    width: 148px;
  }

  .dao-footer__brand p {
    max-width: 330px;
    margin-top: 10px;
  }

  .dao-footer h2 {
    margin-bottom: 12px;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: .14em;
  }

  .dao-footer a,
  .dao-footer p {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.6;
  }

  .dao-footer__grid > div:nth-child(4) p {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
  }

  .dao-footer__grid > div:nth-child(4) p br {
    display: none;
  }

  .dao-footer__bottom {
    margin-top: 26px;
    padding-top: 14px;
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  :root {
    --dao-mobile-gutter: 14px;
  }

  .dao-brand img,
  .dao-header.is-scrolled .dao-brand img {
    width: 130px;
  }

  .dao-language__button {
    min-width: 54px;
  }

  .dao-footer__grid {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 24px 20px;
  }
}
