/* HAIDER CONSTRUCTION COMPANY — Privacy Policy
   Ultra-premium, Apple-inspired editorial styling */

:root {
  --navy-900: #0c1420;
  --navy-800: #131e2e;
  --navy-700: #1b2a3d;
  --gold-500: #f2a83d;
  --gold-400: #f7c05f;
  --gold-300: #ffd98a;
  --ink: #101418;
  --ink-soft: #4a5461;
  --paper: #fbfaf8;
  --paper-soft: #f3f1ec;
  --line: rgba(16, 20, 24, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.6);
  --shadow-soft: 0 30px 80px -30px rgba(12, 20, 32, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* ---------- Ambient background ---------- */

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--paper);
}

.bg-glow::before,
.bg-glow::after {
  content: "";
  position: absolute;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.bg-glow::before {
  top: -20vw;
  left: -15vw;
  background: radial-gradient(circle, var(--gold-300), transparent 70%);
}

.bg-glow::after {
  bottom: -25vw;
  right: -20vw;
  background: radial-gradient(circle, var(--navy-700), transparent 70%);
  opacity: 0.14;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 9rem 1.5rem 6rem;
  text-align: center;
  overflow: hidden;
}

.hero-logo {
  width: 84px;
  height: 84px;
  margin: 0 auto 2.5rem;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.4rem;
  font-weight: 600;
  color: var(--navy-900);
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
}

.hero p.lede {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.15rem;
  line-height: 1.6;
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.26s forwards;
}

.hero-dates {
  margin-top: 2.2rem;
  display: inline-flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.34s forwards;
}

.pill {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink-soft);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Content shell ---------- */

.content-wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.5rem 8rem;
}

.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  padding: clamp(2rem, 5vw, 4rem);
}

section.policy-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--line);
}

section.policy-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

section.policy-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

section.policy-section h2 {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  margin: 0 0 1.1rem;
  font-weight: 600;
}

section.policy-section .index-no {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--gold-500);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

section.policy-section p {
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 1.02rem;
  margin: 0 0 1rem;
}

section.policy-section ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

section.policy-section li {
  margin-bottom: 0.35rem;
}

section.policy-section strong {
  color: var(--navy-900);
}

.intro-block p {
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */

footer.site-footer {
  text-align: center;
  padding: 4rem 1.5rem 6rem;
  color: var(--ink-soft);
}

footer.site-footer .footer-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin: 0 auto 1.2rem;
}

footer.site-footer .company {
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: 0.01em;
  margin-bottom: 0.35rem;
}

footer.site-footer a.mail {
  color: var(--gold-500);
  text-decoration: none;
  font-weight: 500;
}

footer.site-footer a.mail:hover {
  text-decoration: underline;
}

footer.site-footer .updated {
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ---------- Back to top ---------- */

.back-to-top {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(12, 20, 32, 0.85);
  color: var(--gold-300);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 18px 40px -14px rgba(12, 20, 32, 0.55);
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease;
  z-index: 40;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  background: rgba(12, 20, 32, 1);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 640px) {
  .hero {
    padding: 6.5rem 1.25rem 4rem;
  }
  .glass-panel {
    border-radius: 20px;
  }
}
