/* ============================================================
   NTLF MEDICAL – Privacy Policy & Terms of Service Styles
   style-privacy.css  |  Sora + DM Sans  |  Same as all pages
   ============================================================ */

/* ── Variables (exact match to site palette) ────────────── */
:root {
  --navy: #0a2540;
  --blue: #1a56db;
  --blue-dark: #1341b4;
  --blue-light: #e8f0fe;
  --green: #0d9e6e;
  --green-light: #e6f9f2;
  --amber: #f59e0b;
  --red: #e53e3e;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #1e293b;
  --text-muted: #475569;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.14);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-full: 9999px;
  --font-display: "Sora", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --header-h: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-theme="dark"] {
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: #334155;
  --blue-light: #1e3a5f;
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* ── Reset ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  transition:
    background var(--transition),
    color var(--transition);
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #1e40af);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.4);
}
.btn-nav {
  background: var(--blue);
  color: #fff;
  padding: 10px 20px;
  font-size: 0.85rem;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(26, 86, 219, 0.25);
}
.btn-nav:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

/* ── Loader ─────────────────────────────────────────────── */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition:
    opacity 0.5s,
    visibility 0.5s;
}
.loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-content {
  text-align: center;
}
.loader-logo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 24px;
}
.loader-logo .logo-ntlf {
  color: #fff;
}
.loader-logo .logo-medical {
  color: var(--green);
  margin-left: 5px;
}
.loader-bar {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--r-full);
  overflow: hidden;
  margin: 0 auto 14px;
}
.loader-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--blue));
  border-radius: var(--r-full);
  animation: loadFill 1.4s ease forwards;
}
@keyframes loadFill {
  to {
    width: 100%;
  }
}
.loader-text {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

/* ── Toast ──────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9900;
  background: var(--gray-800);
  color: #fff;
  padding: 13px 22px;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ── Scroll top ─────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: var(--blue);
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(26, 86, 219, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}
.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover {
  transform: translateY(-3px);
  background: var(--blue-dark);
}

/* ── Dark toggle ────────────────────────────────────────── */
.dark-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--bg);
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.dark-toggle:hover {
  color: var(--blue);
  border-color: var(--blue);
}
[data-theme="dark"] .sun-icon {
  display: none;
}
[data-theme="light"] .moon-icon {
  display: none;
}
body:not([data-theme]) .moon-icon {
  display: none;
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION  (identical to index / about / contact)
════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--bg);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  transition: all var(--transition);
}
[data-theme="dark"] .site-header {
  background: #0f172a;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.logo-circle {
  width: 42px;
  height: 42px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--blue), var(--navy));
}
.logo-lines {
  position: absolute;
  inset: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}
.logo-lines span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: var(--r-full);
}
.logo-lines span:nth-child(1) {
  width: 100%;
}
.logo-lines span:nth-child(2) {
  width: 70%;
}
.logo-lines span:nth-child(3) {
  width: 45%;
}
.logo-mark.small {
  width: 34px;
  height: 34px;
}
.logo-mark.small .logo-circle {
  width: 34px;
  height: 34px;
}
.logo-mark.small .logo-lines {
  inset: 8px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-ntlf {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
}
.logo-medical {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.6rem;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
[data-theme="dark"] .logo-ntlf {
  color: #fff;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--gray-600);
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  background: var(--blue-light);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--gray-100);
  font-size: 0.95rem;
  color: var(--text);
  transition: all var(--transition);
}
.nav-cart:hover {
  background: var(--blue-light);
  color: var(--blue);
}
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--blue);
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: var(--r-full);
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: var(--r-full);
  transition: all var(--transition);
}

/* ═══════════════════════════════════════════════════════════
   PAGE HERO  (dark navy — same as about / contact)
════════════════════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--header-h) + 64px) 0 72px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #080e20 0%, #0a2540 40%, #0d3561 80%);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.phb-blob {
  position: absolute;
  border-radius: var(--r-full);
  filter: blur(80px);
  opacity: 0.2;
}
.phb-1 {
  width: 500px;
  height: 500px;
  background: var(--blue);
  top: -200px;
  right: -100px;
  animation: blobF 9s ease-in-out infinite;
}
.phb-2 {
  width: 350px;
  height: 350px;
  background: var(--green);
  bottom: -100px;
  left: -80px;
  animation: blobF 11s ease-in-out infinite reverse;
}
.phb-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
@keyframes blobF {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(15px, -20px);
  }
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.breadcrumb {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb span {
  color: rgba(255, 255, 255, 0.9);
}
.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.88);
  border-radius: var(--r-full);
  font-size: 0.77rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}
.page-hero-content .hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-family: var(--font-display);
}
.page-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 20px;
}
.page-icon.icon-blue {
  background: linear-gradient(135deg, var(--blue), #1e40af);
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.4);
}
.page-icon.icon-green {
  background: linear-gradient(135deg, var(--green), #0a7a52);
  box-shadow: 0 8px 24px rgba(13, 158, 110, 0.4);
}

/* ═══════════════════════════════════════════════════════════
   LEGAL LAYOUT (two-column: TOC sidebar + content)
════════════════════════════════════════════════════════════ */
.legal-layout {
  padding: 60px 0 80px;
  background: var(--bg);
}
.legal-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

/* ── Table of Contents sidebar ─────────────────────────── */
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.legal-toc h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
[data-theme="dark"] .legal-toc h3 {
  color: #f1f5f9;
}
.legal-toc ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.toc-link {
  display: block;
  padding: 7px 12px;
  border-radius: var(--r-sm);
  font-size: 0.83rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: all var(--transition);
  border-left: 2px solid transparent;
}
.toc-link:hover {
  color: var(--blue);
  background: var(--blue-light);
  border-left-color: var(--blue);
}
.toc-link.active {
  color: var(--blue);
  background: var(--blue-light);
  border-left-color: var(--blue);
  font-weight: 600;
}

/* ── Main content ───────────────────────────────────────── */
.legal-content {
  min-width: 0;
}

.legal-intro-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--blue-light);
  border: 1px solid rgba(26, 86, 219, 0.2);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  margin-bottom: 36px;
}
.legal-intro-box i {
  font-size: 1.2rem;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.legal-intro-box p {
  color: var(--blue);
  font-size: 0.92rem;
  line-height: 1.7;
}

.legal-section {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-child {
  border: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
[data-theme="dark"] .legal-section h2 {
  color: #f1f5f9;
}
.section-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), #1e40af);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}
.legal-section h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin: 20px 0 10px;
}
[data-theme="dark"] .legal-section h3 {
  color: #f1f5f9;
}
.legal-section p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-section p:last-child {
  margin-bottom: 0;
}
.legal-section ul {
  margin: 12px 0 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 4px;
}
.legal-section ul li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: var(--r-full);
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 9px;
}
.legal-section a {
  color: var(--blue);
  font-weight: 600;
}
.legal-section a:hover {
  text-decoration: underline;
}

.info-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--green-light);
  border: 1px solid rgba(13, 158, 110, 0.2);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin: 18px 0;
}
.info-box i {
  color: var(--green);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.info-box p {
  color: #065f46;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}
[data-theme="dark"] .info-box p {
  color: var(--green);
}

.warning-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fef3c7;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin: 18px 0;
}
.warning-box i {
  color: var(--amber);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.warning-box p {
  color: #92400e;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

/* Contact block inside legal content */
.contact-block {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--blue), #1e40af);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.contact-item-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.contact-item-body strong {
  color: var(--text);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}
.contact-item-body a {
  color: var(--blue);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER  (exact match to site)
════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding: 64px 0 52px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo .logo-ntlf {
  color: #fff;
}
.footer-logo .logo-medical {
  color: var(--green);
}
.footer-logo .logo-circle {
  background: linear-gradient(135deg, var(--blue), var(--green));
}
.footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.86rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}
.social-link.wa:hover {
  background: #25d366;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover {
  color: #fff;
}
.footer-contact li {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
  line-height: 1.55;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact li a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}
.footer-contact li a:hover {
  color: var(--green);
}
.fc-icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  text-align: center;
  color: var(--green);
  font-size: 0.88rem;
}
.footer-notice {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: rgba(229, 62, 62, 0.12);
  border: 1px solid rgba(229, 62, 62, 0.25);
  color: #fca5a5;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.83rem;
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.83rem;
  transition: color var(--transition);
}
.footer-legal a:hover {
  color: #fff;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 900px) {
  .legal-inner {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .legal-toc h3 {
    grid-column: 1/-1;
  }
  .legal-toc ul {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 12px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--green);
    gap: 2px;
    z-index: 400;
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .btn-nav {
    display: none;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .legal-toc ul {
    grid-template-columns: 1fr;
  }
  .legal-section h2 {
    font-size: 1.15rem;
  }
}

/* UPDATED HERO SECTION — privacy/terms pages */
.page-hero {
  background-image: url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=1920&q=80&auto=format&fit=crop") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
/* NEW STYLES ADDED */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(8, 14, 32, 0.9) 0%,
    rgba(10, 37, 64, 0.87) 40%,
    rgba(13, 53, 97, 0.85) 80%
  );
  z-index: 1;
}
.page-hero-bg,
.page-hero-content {
  position: relative;
  z-index: 2;
}
