/* =============================================
   LEGAL PAGES
============================================= */
.legal-page {
  padding-top: 140px;
  padding-bottom: var(--section-pad);
  min-height: 100vh;
}

.legal-back {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 32px;
  transition: opacity 0.3s;
}
.legal-back:hover { opacity: 0.7; }

.legal-title {
  font-size: clamp(32px, 4.5vw, 56px);
  margin-top: 12px;
  margin-bottom: 8px;
}

.legal-date {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--warm-gray);
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 500;
  color: var(--deep);
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--deep);
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-content p {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--warm-gray);
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.legal-content ul li {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--warm-gray);
  padding-left: 20px;
  position: relative;
}

.legal-content ul li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--gold);
  font-weight: 700;
}

.legal-content a {
  color: var(--gold);
  border-bottom: 1px solid rgba(212,175,55,0.3);
  transition: border-color 0.3s;
}
.legal-content a:hover {
  border-color: var(--gold);
}

.legal-info-box {
  margin-top: 56px;
  padding: 32px;
  background: var(--deep);
  border-radius: 12px;
  border: 1px solid rgba(212,175,55,0.15);
}

.legal-info-box h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 20px;
}

.legal-info-box p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(248,245,239,0.6);
  margin-bottom: 6px;
}

.legal-info-box strong {
  color: var(--ivory);
  font-weight: 500;
}

.legal-info-box a {
  color: var(--gold);
}

/* =============================================
   COOKIE CONSENT BANNER
============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--deep);
  border-top: 1px solid rgba(212,175,55,0.2);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 280px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(248,245,239,0.7);
}

.cookie-banner-text a {
  color: var(--gold);
  border-bottom: 1px solid rgba(212,175,55,0.3);
  transition: border-color 0.3s;
}
.cookie-banner-text a:hover {
  border-color: var(--gold);
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn-accept {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  background: var(--gold);
  color: var(--deep);
  transition: background 0.3s, transform 0.2s;
}
.cookie-btn-accept:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.cookie-btn-reject {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid rgba(248,245,239,0.2);
  cursor: pointer;
  background: transparent;
  color: rgba(248,245,239,0.6);
  transition: border-color 0.3s, color 0.3s;
}
.cookie-btn-reject:hover {
  border-color: rgba(248,245,239,0.5);
  color: rgba(248,245,239,0.9);
}

/* =============================================
   LEGAL CONSENT CHECKBOX (for forms)
============================================= */
.legal-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
}

.legal-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid rgba(212,175,55,0.4);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  margin-top: 2px;
  transition: background 0.2s, border-color 0.2s;
}

.legal-consent input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7l3 3 5-6' stroke='%230F172A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.legal-consent label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(248,245,239,0.6);
  cursor: pointer;
}

.legal-consent label a {
  color: var(--gold);
  border-bottom: 1px solid rgba(212,175,55,0.3);
}

.legal-consent.error input[type="checkbox"] {
  border-color: #e74c3c;
}

.legal-consent .consent-error {
  display: none;
  font-size: 12px;
  color: #e74c3c;
  margin-top: 4px;
}

.legal-consent.error .consent-error {
  display: block;
}

@media (max-width: 600px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .cookie-banner-actions {
    justify-content: stretch;
  }
  .cookie-btn-accept,
  .cookie-btn-reject {
    flex: 1;
    text-align: center;
  }
}
