:root {
  --bg: #0C2144;
  --surface: rgba(18, 48, 102, 0.74);
  --line: rgba(191, 224, 255, 0.38);
  --text: #F7FBFF;
  --muted: #D5E6F6;
  --gold: #BFE0FF;
  --gold-2: #E8F4FF;
  --burgundy: #8EAEDE;
  --light: #F6E4B0;
  --ink: #0C2144;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  background-color: #0C2144;
  background-image:
    radial-gradient(520px 420px at 0% 88%, rgba(176, 150, 230, 0.32), transparent 70%),
    radial-gradient(560px 440px at 100% 82%, rgba(150, 180, 240, 0.28), transparent 70%),
    radial-gradient(720px 260px at 50% 108%, rgba(130, 110, 200, 0.2), transparent 72%),
    linear-gradient(180deg, #2A66B0 0%, #1E4E92 18%, #173E78 46%, #12325F 74%, #0C2144 100%);
  background-attachment: fixed;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: transparent;
  color: var(--text);
  font: 400 17px/1.7 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../images/starfield.svg") center / cover no-repeat;
  opacity: 0.55;
  animation: twinkle 8s ease-in-out infinite;
}

body > * {
  position: relative;
  z-index: 1;
}

@keyframes twinkle {
  50% { opacity: 0.85; }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--bg);
}

.skip-link:focus {
  left: 16px;
}

.wrap {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1140px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(28, 72, 140, 0.48);
  box-shadow: 0 8px 30px -18px rgba(8, 20, 50, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(16, 48, 102, 0.82);
  box-shadow: 0 10px 30px -12px #000;
}

.brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: Cinzel, serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.site-nav a:hover {
  background: #ffffff12;
  color: var(--text);
}

.header-phone {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff8e8, var(--light));
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s;
}

.header-phone:hover {
  transform: translateY(-1px);
}

main {
  flex: 1;
}

.privacy-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 8px;
}

.glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(closest-side at 50% 0%, rgba(255, 250, 235, 0.5), rgba(255, 226, 170, 0.14) 46%, transparent 74%),
    radial-gradient(420px 320px at 8% 90%, rgba(186, 160, 235, 0.38), transparent 70%),
    radial-gradient(440px 320px at 94% 86%, rgba(160, 190, 245, 0.32), transparent 70%);
  pointer-events: none;
}

.privacy-hero .wrap {
  position: relative;
  z-index: 1;
}

h1 {
  margin: 0;
  color: var(--text);
  font-family: Cinzel, serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
}

h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 22px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #bfe0ff, #f6e4b0);
}

.privacy-card {
  max-width: 760px;
  margin: 36px auto 72px;
  padding: 40px 44px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 40px -24px rgba(6, 16, 40, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow-wrap: break-word;
}

.privacy-card .page-intro {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.privacy-card h2 {
  margin: 32px 0 10px;
  color: var(--text);
  font-family: Cinzel, serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.25;
}

.privacy-card p {
  margin: 0;
  color: var(--text);
}

.privacy-card p + p {
  margin-top: 14px;
}

.privacy-card a {
  color: var(--gold);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.privacy-card a:hover {
  color: #e7f4ff;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  max-width: 100%;
  margin: 0;
}

.footer__icons a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s;
}

.footer__icons a:hover {
  background: #ffffff14;
}

.footer__icons img,
.footer__icons svg {
  width: 20px;
  height: 20px;
  display: block;
}

.footer__icons .footer__privacy {
  width: auto;
  padding: 0 12px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .site-header {
    gap: 10px;
  }

  .site-nav a {
    padding: 8px 8px;
    font-size: 14px;
  }

  .header-phone {
    padding: 9px 12px;
  }
}

@media (max-width: 800px) {
  .site-nav {
    display: none;
  }

  .header-phone {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(1180px, calc(100% - 40px));
  }

  .site-nav {
    display: none;
  }

  .header-phone {
    margin-left: auto;
  }

  .site-header .brand span {
    display: none;
  }

  .privacy-hero {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(32px, 11vw, 42px);
  }

  .privacy-card {
    margin-bottom: 48px;
    padding: 24px 20px 28px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .site-footer .brand {
    justify-content: center;
  }

  .footer__icons {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
