/* legal.css — shared page styles for legal pages (privacy.html, terms.html): hero, TOC, legal content, legal CTA */
h1,
h2,
h3,
h4 {
  color: var(--navy-950);
  font-weight: 700;
  line-height: 1.4;
}
header.site {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: all .4s ease;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
header.site.scrolled {
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
}
.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.logo-text .name {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-950);
}
.logo-text .sub {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-600);
  margin-top: 2px;
}
.burger {
  display: none;
  width: 26px;
  height: 20px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}
.legal-hero {
  position: relative;
  padding: 160px 0 70px;
  background: radial-gradient(1000px 460px at 85% -10%, rgba(211,174,114,0.16), transparent 60%), linear-gradient(160deg,var(--navy-950),var(--navy-800));
  color: var(--white);
  overflow: hidden;
}
.legal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5;
  pointer-events: none;
}
.legal-hero .container {
  position: relative;
  z-index: 2;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.62);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.breadcrumb a:hover {
  color: var(--gold-400);
}
.breadcrumb svg {
  width: 15px;
  height: 15px;
  stroke: rgba(255,255,255,0.4);
}
.breadcrumb .current {
  color: var(--gold-400);
}
.legal-hero h1 {
  color: var(--white);
  font-size: clamp(30px,4.4vw,48px);
  margin-bottom: 14px;
}
.legal-hero p {
  font-size: 15.5px;
  color: rgba(255,255,255,0.72);
}
.legal-body {
  padding: 80px 0 100px;
}
.legal-wrap {
  display: flex;
  gap: 56px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 100px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
}
.legal-toc h4 {
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--gold-600);
}
.legal-toc a {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  transition: color .25s ease;
}
.legal-toc a:last-child {
  border-bottom: none;
}
.legal-toc a:hover {
  color: var(--gold-600);
}
.legal-content .updated {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-600);
  background: var(--gold-100);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
}
.legal-content > p.intro {
  font-size: 16.5px;
  color: var(--ink-soft);
  line-height: 1.95;
  margin-bottom: 40px;
}
.legal-section {
  margin-bottom: 38px;
  scroll-margin-top: 100px;
}
.legal-section h2 {
  font-size: 21px;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.legal-section h2 .idx {
  color: var(--gold-500);
  font-size: 16px;
}
.legal-section p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.95;
  margin-bottom: 12px;
}
.legal-section ul {
  margin: 12px 0 4px;
  display: grid;
  gap: 10px;
}
.legal-section ul li {
  position: relative;
  padding-inline-start: 22px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.85;
}
.legal-section ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
}
.legal-cta {
  margin-top: 48px;
  background: linear-gradient(160deg,var(--navy-950),var(--navy-800));
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  color: var(--white);
}
.legal-cta h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 8px;
}
.legal-cta p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.72);
  line-height: 1.85;
  margin-bottom: 22px;
}
.footer-brand .logo-text .name {
  color: var(--white);
}
.footer-profile svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}
.footer-bottom-links a {
  transition: color .25s ease;
}
.footer-bottom-links a:hover {
  color: var(--gold-400);
}
.wa-float {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  z-index: 1200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(37,211,102,0.45);
  transition: transform .3s ease, box-shadow .3s ease;
  animation: wa-pulse 2.4s infinite;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 38px rgba(37,211,102,0.55);
}
.wa-float svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}
.contact-info {
  background: var(--navy-950);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(189, 147, 80, 0.25), transparent 70%);
  top: -120px;
  inset-inline-end: -120px;
}
.contact-info h3 {
  color: var(--white);
  font-size: 23px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.contact-info>p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
  line-height: 1.85;
  margin-bottom: 34px;
  position: relative;
  z-index: 1;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
  transition: transform .25s ease;
}
a.contact-item:hover {
  transform: translateX(-4px);
}
a.contact-item:hover .val {
  color: var(--gold-400);
}
.contact-item .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(211, 174, 114, 0.14);
  border: 1px solid rgba(211, 174, 114, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item .ic svg {
  width: 19px;
  height: 19px;
  stroke: var(--gold-400);
}
.contact-item .lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
}
.contact-item .val {
  font-size: 15px;
  font-weight: 700;
  margin-top: 4px;
  transition: color .25s ease;
}
.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  position: relative;
  z-index: 1;
}
.contact-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}
.contact-social svg {
  width: 15px;
  height: 15px;
  stroke: var(--white);
}
/* ============ RESPONSIVE ============ */
@media (prefers-reduced-motion: reduce) {
  .wa-float {
    animation: none;
  }
}
@media (max-width:1080px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .legal-wrap {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }
}
@media (max-width:860px) {
  .nav-links,
  .nav-cta .btn-outline {
    display: none;
  }

  .burger {
    display: flex;
  }
}
@media (max-width:620px) {
  .legal-hero {
    padding: 130px 0 56px;
  }

  .legal-body {
    padding: 56px 0 70px;
  }

  .wa-float {
    bottom: 18px;
    inset-inline-end: 18px;
    width: 54px;
    height: 54px;
  }

  .wa-float svg {
    width: 28px;
    height: 28px;
  }
}
