.footer-tg {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}

.footer-tg:hover { color: var(--ink); }

.footer-tg .ico { width: 16px; height: 16px; color: var(--gold, #d9b77a); }

.footer-legal {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin: 0;
  color: var(--faint);
  font-size: 12.5px;
}

.footer-legal a { color: var(--muted); font-weight: 600; }
.footer-legal a:hover { color: var(--ink); }

.tg-band {
  padding-top: 8px;
}

.tg-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  background: #10080c;
}

.tg-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  opacity: 0.55;
  pointer-events: none;
}

.tg-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 5, 7, 0.2) 0%, rgba(8, 5, 7, 0.72) 42%, rgba(8, 5, 7, 0.92) 100%);
  pointer-events: none;
}

.tg-card > :not(.tg-banner) {
  position: relative;
  z-index: 1;
}

.tg-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex: none;
  color: var(--gold, #d9b77a);
  background: rgba(8, 5, 7, 0.55);
  box-shadow: 0 0 0 1px var(--line, rgba(243, 184, 87, 0.35));
}

.tg-mark .ico { width: 32px; height: 32px; }

.tg-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.tg-copy b {
  font-family: var(--display, "Cormorant Garamond", serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
}

.tg-copy span:last-child {
  color: var(--muted, #9a9186);
}

.tg-card .btn {
  flex: none;
}

@media (max-width: 640px) {
  .tg-card {
    flex-wrap: wrap;
  }

  .tg-card .btn {
    width: 100%;
  }
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.legal-nav a {
  padding: 8px 14px;
  border: 1px solid var(--line, rgba(243, 184, 87, 0.28));
  border-radius: 999px;
  color: var(--ink, #f3ece0);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.legal-nav a[aria-current="page"] {
  color: #1a1208;
  background: var(--gold, #d9b77a);
  border-color: transparent;
}

.page-legal .legal-req {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.page-legal .legal-req > div {
  padding: 16px 18px;
  border: 1px solid var(--line, rgba(243, 184, 87, 0.2));
  border-radius: var(--r-md, 16px);
  background: var(--surface, rgba(255, 255, 255, 0.03));
}

.page-legal .legal-req span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted, #9a9186);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-legal .legal-req b {
  display: block;
  font-family: var(--display, "Cormorant Garamond", serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.page-legal .legal-doc {
  display: grid;
  gap: 22px;
  padding: 22px 24px 8px;
}

.page-legal .legal-doc h2 {
  margin: 0 0 8px;
  font-family: var(--display, "Cormorant Garamond", serif);
  font-size: 28px;
  font-weight: 600;
}

.page-legal .legal-doc p {
  margin: 0 0 12px;
}

.legal-prices {
  width: 100%;
  margin: 4px 0 12px;
  border-collapse: collapse;
}

.legal-prices th,
.legal-prices td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line, rgba(243, 184, 87, 0.16));
  text-align: left;
}

.legal-prices th {
  color: var(--muted, #9a9186);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-prices td:last-child,
.legal-prices th:last-child,
.legal-prices td:nth-child(2),
.legal-prices th:nth-child(2) {
  text-align: right;
}

@media (max-width: 800px) {
  .page-legal .legal-req {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .page-legal .legal-req {
    grid-template-columns: 1fr;
  }

  .footer-tg { margin-left: 0; }

  .page-legal .legal-doc {
    padding: 16px 14px 4px;
  }
}
