:root {
  --navy: #0f1f3d;
  --navy-deep: #0a1730;
  --navy-mid: #16294d;
  --yellow: #f5c518;
  --yellow-deep: #e0af0a;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --gray-text: #5a6478;
  --border-soft: #e4e7ee;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  background: var(--off-white);
  color: var(--navy);
}
a { text-decoration: none; color: inherit; }
.wrap { max-width: 900px; margin: 0 auto; padding: 0 48px; }

/* HEADER */
header {
  background: var(--navy-deep);
  padding: 26px 0;
}
header .wrap { max-width: 1200px; display: flex; align-items: center; justify-content: space-between; }
.header-right { display: flex; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 56px; height: 56px; }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: 0.2px; }
.logo-text span { color: var(--yellow); }
.header-phone { color: var(--yellow); font-weight: 700; font-size: 16px; margin-right: 40px; display: inline-block; }
nav { display: inline-block; }
nav ul { list-style: none; }
nav ul li { display: inline-block; margin-left: 40px; }
nav a { color: var(--white); font-weight: 500; font-size: 15px; }
nav a:hover { color: var(--yellow); }

/* LEGAL CONTENT */
.legal-hero {
  background: var(--navy-deep);
  padding: 60px 0;
}
.legal-hero h1 { color: var(--yellow); font-size: 38px; font-weight: 800; }
.legal-hero p { color: #b9c2d6; margin-top: 12px; font-size: 15px; }
.legal-content { padding: 60px 0 90px; }
.legal-content h2 { font-size: 22px; font-weight: 700; margin: 36px 0 14px; color: var(--navy); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 15.5px; line-height: 1.7; color: var(--gray-text); margin-bottom: 14px; }
.legal-content ul { margin: 0 0 14px 22px; }
.legal-content li { font-size: 15.5px; line-height: 1.7; color: var(--gray-text); margin-bottom: 8px; }
.legal-content a.inline-link { color: var(--yellow-deep); font-weight: 600; }
.legal-content a.inline-link:hover { text-decoration: underline; }
.back-link { display: inline-block; margin-bottom: 30px; font-size: 14px; font-weight: 600; color: var(--yellow-deep); }
.back-link:hover { text-decoration: underline; }

/* FOOTER */
footer { background: var(--navy-deep); color: #b9c2d6; padding: 50px 0 30px; }
footer .wrap { max-width: 1200px; }
.footer-bottom { padding-top: 0; overflow: hidden; font-size: 13px; color: #7c86a0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { color: #9aa4ba; margin-right: 20px; }
.footer-legal-links a:last-child { margin-right: 0; }
.footer-legal-links a:hover { color: var(--yellow); }

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  header { padding: 18px 0; }
  header .wrap { flex-wrap: wrap; gap: 12px; }
  .header-right { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; }
  .header-phone { margin-right: 0; font-size: 15px; }
  nav ul { display: flex; flex-wrap: wrap; margin: 0 -10px; }
  nav ul li { margin-left: 0; padding: 0 10px; }
  .logo-mark { width: 44px; height: 44px; }
  .logo-text { font-size: 19px; }
  .legal-hero { padding: 40px 0; }
  .legal-hero h1 { font-size: 28px; }
  .legal-content { padding: 40px 0 60px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

