/* POLICIES (Privacy & Terms) — STYLES */

/* 1. Full‑width container with background image */
.policy-page {
  width: 100%;
  min-height: 100vh;
  padding: clamp(80px, 10vh, 120px) clamp(16px, 4vw, 24px) clamp(40px, 6vh, 80px);
  background-image: url('../assets/images/hero-main.jpg');
  background-image: image-set(
    url('../assets/images/hero-main-480.webp') type('image/webp') 480w,
    url('../assets/images/hero-main-768.webp') type('image/webp') 768w,
    url('../assets/images/hero-main-1280.webp') type('image/webp') 1280w,
    url('../assets/images/hero-main.jpg') type('image/jpeg')
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* 2. Dark overlay for readability */
.policy-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 35, 66, 0.75);
  z-index: 0;
}

/* 3. White content card – fluid width and padding */
.policy-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: clamp(300px, 80vw, 860px);
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 60px) clamp(20px, 4vw, 56px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 35, 66, 0.06);
  margin: 0 auto;
}

/* 4. Eyebrow (e.g. "Policy" or "Legal") */
.policy-content .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

/* 5. Headings – fluid sizes */
.policy-content h1 {
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 clamp(16px, 2vw, 24px) 0;
  line-height: 1.2;
}

.policy-content h2 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--navy);
  margin-top: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(247, 181, 0, 0.3);
}

/* 6. Paragraphs and list items – unified muted color, fluid font */
.policy-content p {
  font-size: clamp(0.98rem, 1.2vw, 1.05rem);
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.policy-content ul {
  padding-left: 24px;
  margin-bottom: 24px;
}

.policy-content ul li {
  font-size: clamp(0.95rem, 1.2vw, 1.02rem);
  color: var(--muted);
  margin-bottom: 8px;
}

/* 7. Contact block (address) – fluid padding */
.policy-content address {
  font-style: normal;
  background: var(--soft);
  padding: clamp(16px, 2vw, 20px) clamp(16px, 2.5vw, 24px);
  border-radius: var(--radius-lg);
  margin: 24px 0 32px;
  border-left: 4px solid var(--accent);
}

.policy-content address a {
  color: var(--blue);
  font-weight: 500;
  text-decoration: none;
}

.policy-content address a:hover {
  text-decoration: underline;
  color: var(--navy);
}

/* 8. "Back to Home" button – fluid sizing */
.button-link {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: clamp(12px, 1.5vw, 14px) clamp(24px, 3vw, 32px);
  border-radius: 999px;
  font-weight: 600;
  font-size: clamp(0.95rem, 1.2vw, 1rem);
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 8px 20px rgba(10, 35, 66, 0.2);
}

.button-link:hover {
  background: var(--blue);
  transform: translateY(-2px);
  color: var(--white);
}

/* 9. Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .button-link {
    transition: none;
  }
  .button-link:hover {
    transform: none;
  }
}

/* 10. Mobile: change background attachment for performance */
@media (max-width: 767.98px) {
  .policy-page {
    background-attachment: scroll;
  }
}