:root {
  --navy: #172b43;
  --navy-deep: #0d1e33;
  --terracotta: #b84d3a;
  --terracotta-dark: #963d2f;
  --muted: #526174;
  --line: #dfe6ed;
  --paper: #f7f9fb;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(23, 43, 67, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.topbar { background: var(--navy-deep); color: #d9e2ec; font-size: 0.72rem; }
.topbar-inner { display: flex; align-items: center; gap: 10px; min-height: 34px; }
.topbar-inner a { color: #fff; font-weight: 800; text-decoration: none; }
.topbar-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta); }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(14px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 76px; }
.brand-logo { display: inline-flex; align-items: center; min-width: 0; text-decoration: none; }
.brand-logo-image { display: block; width: auto; height: 42px; max-width: min(260px, 48vw); object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 0.82rem; font-weight: 800; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--terracotta); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border: 1px solid transparent; border-radius: 999px; font-size: 0.8rem; font-weight: 900; text-decoration: none; }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 10px 22px rgba(184, 77, 58, 0.2); }
.btn-primary:hover { background: var(--terracotta-dark); }
.legal-shell { padding: 58px 0 100px; }
.back-link { display: inline-flex; margin-bottom: 22px; color: var(--muted); font-size: 0.84rem; font-weight: 800; text-decoration: none; }
.back-link:hover { color: var(--terracotta); }
.legal-card { max-width: 900px; margin: 0 auto; padding: clamp(28px, 5vw, 66px); border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.legal-card h1 { margin: 0 0 12px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 500; letter-spacing: -0.055em; line-height: 1.05; }
.legal-card h2 { margin: 38px 0 12px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.5vw, 1.85rem); font-weight: 500; line-height: 1.15; }
.legal-card p { margin: 0 0 16px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.legal-card .updated { margin-bottom: 30px; color: #718096; font-size: 0.86rem; font-weight: 800; }
.legal-card ul { margin: 0 0 18px; padding-left: 22px; color: var(--muted); }
.legal-card li { margin: 0 0 12px; padding-left: 5px; line-height: 1.75; }
.legal-card a { color: var(--terracotta-dark); font-weight: 800; }
.site-footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-main { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr; gap: 34px; padding: 54px 0 42px; }
.footer-brand p, .footer-contact p { max-width: 310px; margin: 14px 0 18px; color: var(--muted); font-size: 0.84rem; line-height: 1.6; }
.footer-heading { margin: 3px 0 15px; color: var(--navy); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; color: var(--muted); font-size: 0.82rem; font-weight: 750; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--terracotta); }
.footer-topic-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.82rem; font-weight: 750; }
.footer-contact { padding-left: 26px; border-left: 1px solid var(--line); }
.footer-contact-link { color: #176b39; font-size: 0.82rem; font-weight: 900; text-decoration: none; }
.footer-note { display: block; margin-top: 12px; color: #718096; font-size: 0.72rem; line-height: 1.5; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0 28px; border-top: 1px solid var(--line); color: #718096; font-size: 0.7rem; }
.legal-note { max-width: 560px; }
.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: #25d366; box-shadow: 0 14px 26px rgba(18, 105, 53, 0.24), inset 0 2px 2px rgba(255, 255, 255, 0.32); }
.floating-whatsapp svg { width: 31px; height: 31px; }
.floating-whatsapp .wa-bubble { fill: #fff; }
.floating-whatsapp .wa-phone { fill: #25d366; }
@media (max-width: 820px) {
  .nav { gap: 16px; }
  .nav-links { gap: 14px; }
  .nav > .btn { display: none; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 24px, 500px); }
  .topbar-inner { min-height: 38px; font-size: 0.64rem; }
  .nav { min-height: 66px; }
  .brand-logo-image { height: 34px; max-width: 48vw; }
  .nav-links { gap: 10px; font-size: 0.68rem; }
  .nav-links a:nth-child(2), .nav-links a:nth-child(3) { display: none; }
  .legal-shell { padding: 34px 0 70px; }
  .legal-card { padding: 26px 20px 32px; border-radius: 18px; }
  .legal-card h2 { margin-top: 30px; }
  .footer-main { grid-template-columns: 1fr; padding: 38px 0 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .floating-whatsapp { right: 16px; bottom: 16px; }
}
