/* Page shell + B2B components (:root, gradient backdrop, chrome header/nav/footer) */
    :root {
      --blue: #2E7DD2;
      --green: #4CAF50;
      --grad: linear-gradient(135deg, #2E7DD2, #4CAF50);
      --shadow: 0 10px 30px -5px rgba(46, 125, 210, 0.4);
      --surface: #0e1525;
      --page-base: #0a0a0a;
      --text: #ffffff;
      --text-muted: rgba(255, 255, 255, 0.65);
      --text-tertiary: rgba(255, 255, 255, 0.45);
    }

    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
      z-index: -2;
    }

    body::after {
      content: '';
      position: fixed;
      inset: 0;
      background: radial-gradient(circle, rgba(46, 125, 210, 0.15) 1px, transparent 1px);
      background-size: 50px 50px;
      animation: moveGrid 20s linear infinite;
      z-index: -1;
    }

    @keyframes moveGrid {
      0% { transform: translate(0, 0); }
      100% { transform: translate(50px, 50px); }
    }

    /* ── HEADER ── */
    header {
      position: sticky;
      top: 0;
      z-index: 200;
      background: rgba(10, 10, 10, 0.95);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      padding: 0.625rem 1rem;
    }
    @media (min-width: 768px) {
      header { padding: 0.75rem 1.5rem; }
    }
    .hdr {
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-left: max(0, env(safe-area-inset-left));
      padding-right: max(0, env(safe-area-inset-right));
    }
    .brand-text {
      font-size: 1.125rem;
      font-weight: 700;
      white-space: nowrap;
      text-decoration: none;
    }
    .brand-blue { color: #2E7DD2 !important; }
    .brand-green { color: #4CAF50 !important; }
    .brand-suffix {
      color: rgba(255, 255, 255, 0.92);
      font-weight: 600;
    }
    .menu-btn {
      background: none;
      border: none;
      padding: 0.375rem;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 36px;
      height: 36px;
      border-radius: 0.375rem;
      transition: background 0.2s;
      flex-shrink: 0;
      -webkit-tap-highlight-color: transparent;
    }
    .menu-btn:hover { background: rgba(255, 255, 255, 0.08); }
    .menu-btn span {
      display: block;
      width: 22px;
      height: 2px;
      background: rgba(255, 255, 255, 0.85);
      border-radius: 2px;
      transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    }
    .menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-btn.open span:nth-child(2) { opacity: 0; }
    .menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ── NAV (backdrop + drawer + desktop dropdown) ── */
    .backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.4s ease, background 0.4s ease;
      z-index: 500;
      pointer-events: none;
    }
    .backdrop.open {
      opacity: 1;
      visibility: visible;
      pointer-events: all;
      background: rgba(0, 0, 0, 0.55);
    }
    .menu {
      position: fixed;
      top: 0;
      right: 0;
      width: 75%;
      max-width: 300px;
      height: 100%;
      background: #0e1525;
      border-left: 1px solid rgba(255, 255, 255, 0.07);
      transform: translateX(110%);
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
      z-index: 501;
      display: flex;
      flex-direction: column;
      overflow-y: auto;
      box-shadow: none;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
      padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0));
    }
    .menu.open {
      transform: translateX(0);
      box-shadow: -32px 0 80px rgba(0, 0, 0, 0.8);
    }
    .menu-head {
      padding: 1.125rem 1.25rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }
    .menu-close {
      background: transparent;
      border: none;
      color: rgba(255, 255, 255, 0.4);
      font-size: 1.25rem;
      cursor: pointer;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 0.375rem;
      transition: all 0.2s;
    }
    .menu-close:hover {
      background: rgba(255, 255, 255, 0.08);
      color: #fff;
    }
    .menu-links { flex: 1; padding: 0.5rem 1rem; }
    .menu-section-btn {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.875rem 0.75rem;
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.3);
      cursor: pointer;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      user-select: none;
      -webkit-tap-highlight-color: transparent;
    }
    .menu-section-btn:hover { color: rgba(255, 255, 255, 0.7); }
    .menu-section-btn.open { color: #fff; }
    .sec-arr {
      font-size: 0.625rem;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .menu-section-btn.open .sec-arr { transform: rotate(180deg); }
    .menu-section-body {
      display: none;
      padding: 0.125rem 0;
      animation: sectionFade 0.2s ease;
    }
    .menu-section-body.open { display: block; }
    .menu-link {
      display: block;
      padding: 0.7rem 0.875rem;
      color: rgba(255, 255, 255, 0.65) !important;
      text-decoration: none !important;
      font-size: 0.9rem;
      font-weight: 500;
      border-radius: 0.5rem;
      transition: color 0.15s, background 0.15s, transform 0.15s;
      width: 100%;
      text-align: left;
      background: none;
      border: none;
      cursor: pointer;
      font-family: Inter, sans-serif;
    }
    .menu-link:hover {
      color: #fff !important;
      background: rgba(255, 255, 255, 0.06);
      transform: translateX(3px);
    }
    .nav-links { display: none; }
    @media (min-width: 768px) {
      .nav-links {
        display: flex;
        align-items: center;
        gap: 2px;
      }
    }
    .nav-link {
      font-size: 0.8125rem;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.65) !important;
      text-decoration: none !important;
      padding: 0.4rem 0.75rem;
      border-radius: 0.375rem;
      transition: color 0.15s ease, background 0.15s ease;
      white-space: nowrap;
      background: none;
      border: none;
      cursor: pointer;
      font-family: Inter, sans-serif;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }
    .nav-link:hover {
      color: #fff !important;
      background: rgba(255, 255, 255, 0.07);
    }
    .nav-dropdown { position: relative; }
    .nav-dropdown-menu {
      position: absolute;
      top: calc(100% + 10px);
      left: 50%;
      transform: translateX(-50%) translateY(-6px);
      background: #0e1525;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 0.75rem;
      padding: 0.5rem;
      min-width: 190px;
      z-index: 300;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
    }
    .nav-dropdown-menu.open {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }
    .nav-dropdown-item {
      display: block;
      padding: 0.625rem 0.875rem;
      font-size: 0.8125rem;
      color: rgba(255, 255, 255, 0.7) !important;
      text-decoration: none !important;
      border-radius: 0.5rem;
      transition: all 0.15s;
      white-space: nowrap;
    }
    .nav-dropdown-item:hover {
      color: #fff !important;
      background: rgba(255, 255, 255, 0.07);
    }
    .nav-dropdown-label { display: inline-flex; align-items: center; gap: 4px; }
    .nav-dropdown-label svg {
      width: 10px;
      height: 10px;
      opacity: 0.5;
      transition: transform 0.2s;
    }
    .nav-dropdown-label.open svg { transform: rotate(180deg); }
    @keyframes sectionFade {
      from { opacity: 0; transform: translateY(-4px); }
      to { opacity: 1; transform: translateY(0); }
    }

/* ── FOOTER (B2C chrome) ── */
    footer {
      margin-top: auto;
      background: #0a0a0a;
      border-top: 1px solid rgba(255, 255, 255, 0.07);
      padding: 2rem 1.5rem;
      padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }
    .foot-inner {
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }
    @media (min-width: 768px) {
      .foot-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
      }
    }
    .foot-brand {
      font-size: 1rem;
      font-weight: 700;
      text-decoration: none;
      flex-shrink: 0;
    }
    .foot-nav {
      display: flex;
      align-items: center;
      gap: 4px;
      flex-wrap: wrap;
    }
    .foot-link {
      font-size: 0.8125rem;
      color: rgba(255, 255, 255, 0.75) !important;
      text-decoration: none !important;
      transition: color 0.2s;
      padding: 0.25rem 0.5rem;
      border-radius: 0.375rem;
      white-space: nowrap;
    }
    .foot-link:hover { color: #fff !important; }
    .foot-sep {
      color: rgba(255, 255, 255, 0.3);
      font-size: 0.75rem;
      padding: 0 2px;
    }
    .foot-legal-wrap { position: relative; display: inline-block; }
    .foot-legal-btn {
      font-size: 0.8125rem;
      color: rgba(255, 255, 255, 0.75) !important;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0.25rem 0.5rem;
      border-radius: 0.375rem;
      transition: color 0.2s;
      font-family: inherit;
      display: flex;
      align-items: center;
      gap: 3px;
    }
    .foot-legal-btn:hover { color: rgba(255, 255, 255, 0.7); }
    .foot-legal-btn svg {
      width: 9px;
      height: 9px;
      opacity: 0.5;
      transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .foot-legal-btn.open svg { transform: rotate(180deg); }
    .foot-legal-menu {
      position: absolute;
      bottom: calc(100% + 8px);
      left: 50%;
      transform: translateX(-50%) translateY(4px);
      background: #0e1525;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 0.625rem;
      padding: 0.375rem;
      min-width: 180px;
      z-index: 300;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.5);
    }
    .foot-legal-menu.open {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }
    .foot-legal-item {
      display: block;
      padding: 0.5rem 0.75rem;
      font-size: 0.8rem;
      color: rgba(255, 255, 255, 0.75) !important;
      text-decoration: none !important;
      border-radius: 0.375rem;
      transition: all 0.15s;
      white-space: nowrap;
    }
    .foot-legal-item:hover {
      color: #fff !important;
      background: rgba(255, 255, 255, 0.06);
    }
    .foot-meta {
      font-size: 0.75rem;
      color: rgba(255, 255, 255, 0.6) !important;
      line-height: 1.6;
      flex-shrink: 0;
    }
    @media (max-width: 767px) {
      .foot-meta { text-align: left; }
    }
    @media (min-width: 768px) {
      .foot-meta { text-align: right; max-width: 28rem; }
    }
    .foot-ombudsman-ext { margin-top: 0.75rem; }
    .foot-ombudsman-member {
      font-weight: 600;
      color: rgba(255, 255, 255, 0.55);
      margin-bottom: 0.35rem;
    }
    .foot-ombudsman-logo-link img { max-height: 40px; width: auto; display: block; }
    .foot-ombudsman-copy { margin: 0.5rem 0 0; }

    .floating-whatsapp {
      position: fixed;
      bottom: max(1.25rem, env(safe-area-inset-bottom));
      right: max(1.25rem, env(safe-area-inset-right));
      z-index: 400;
      width: 3.25rem;
      height: 3.25rem;
      border-radius: 50%;
      background: #25d366;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
      transition: transform 0.15s;
    }
    .floating-whatsapp:hover { transform: scale(1.06); }
    .floating-whatsapp svg {
      width: 1.65rem;
      height: 1.65rem;
      fill: #fff;
    }

/* Inner pages */
.content-page { flex: 1; width: 100%; min-height: 0; }

/* smb-b2c-shell.css sets display:none on .nav-dropdown-menu; keep hub dropdown behaviour */
body.sm-chrome .nav-dropdown-menu {
  display: block;
}
