/* ==========================================================================
   Rotana Property Hub — Privacy Policy
   Palette extracted from logo:
     - Deep Navy:   #14274E
     - Royal Navy:  #1E3A6B
     - Soft Navy:   #2C4A7A
     - Gold:        #C9A24B
     - Light Gold:  #E6C475
     - Ivory:       #FAF7F0
     - Soft White:  #FFFFFF
     - Slate Text:  #3A4658
   ========================================================================== */

:root {
  --color-navy-deep: #14274E;
  --color-navy: #1E3A6B;
  --color-navy-soft: #2C4A7A;
  --color-gold: #C9A24B;
  --color-gold-light: #E6C475;
  --color-ivory: #FAF7F0;
  --color-bg: #F6F8FC;
  --color-card: #FFFFFF;
  --color-text: #2A3344;
  --color-text-soft: #55617A;
  --color-border: #E5E9F2;
  --shadow-sm: 0 2px 8px rgba(20, 39, 78, 0.06);
  --shadow-md: 0 8px 30px rgba(20, 39, 78, 0.08);
  --shadow-lg: 0 20px 60px rgba(20, 39, 78, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* ===== Header ===== */
.site-header {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF7F0 100%);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy-deep);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--color-navy-deep) 0%, var(--color-gold) 50%, var(--color-navy-deep) 100%);
  opacity: 0.85;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-navy) 60%, var(--color-navy-soft) 100%);
  color: #fff;
  padding: 70px 28px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(230, 196, 117, 0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  padding: 7px 18px;
  border: 1px solid rgba(230, 196, 117, 0.4);
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.15;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
}

.hero-dev {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}

.hero-date {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 162, 75, 0.35);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: #fff;
  backdrop-filter: blur(8px);
}

.hero-date strong {
  color: var(--color-gold-light);
  font-weight: 600;
  margin-right: 4px;
}

/* ===== Content ===== */
.content {
  padding: 60px 28px 80px;
}

.content-inner {
  max-width: 880px;
  margin: -50px auto 0;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 60px 56px;
  position: relative;
  z-index: 2;
}

.intro-text {
  font-size: 1.05rem;
  color: var(--color-text-soft);
  margin-bottom: 16px;
  line-height: 1.8;
}

.intro-text:last-of-type {
  margin-bottom: 0;
}

.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-border) 20%, var(--color-border) 80%, transparent 100%);
  margin: 38px 0;
}

.policy-block {
  scroll-margin-top: 100px;
}

.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy-deep);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 18px;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  border-radius: 4px;
}

.policy-block p {
  color: var(--color-text-soft);
  margin-bottom: 14px;
  line-height: 1.8;
  font-size: 1rem;
}

.policy-block p:last-child {
  margin-bottom: 0;
}

.policy-list {
  list-style: none;
  margin: 8px 0 18px;
  padding-left: 6px;
}

.policy-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--color-text-soft);
  line-height: 1.6;
  font-size: 0.98rem;
}

.policy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.18);
}

.contact-line {
  background: linear-gradient(135deg, var(--color-ivory) 0%, #fff 100%);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-gold);
  margin-top: 8px !important;
  font-weight: 500;
}

.contact-line a {
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.contact-line a:hover {
  color: var(--color-gold);
}

.closing-text {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-navy-deep);
  font-style: italic;
  padding: 20px 0;
}

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-navy) 100%);
  color: #fff;
  padding: 50px 28px 30px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  border-radius: 12px;
}

.footer-company {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer-sub {
  font-size: 0.82rem;
  color: var(--color-gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-meta {
  text-align: right;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.9;
}

.footer-meta a {
  color: var(--color-gold-light);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-meta a:hover {
  color: #fff;
}

.footer-copy {
  margin-top: 18px !important;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  width: 100%;
  text-align: center;
  border-top: none;
  padding-top: 0;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-navy) 100%);
  color: var(--color-gold-light);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  color: var(--color-navy-deep);
  transform: translateY(-3px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header-inner {
    padding: 14px 18px;
  }
  .brand-logo {
    width: 48px;
    height: 48px;
  }
  .brand-name {
    font-size: 1rem;
  }
  .brand-tag {
    font-size: 0.7rem;
  }
  .hero {
    padding: 50px 20px 70px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-sub {
    font-size: 1rem;
  }
  .content {
    padding: 40px 18px 60px;
  }
  .content-inner {
    padding: 36px 24px;
    border-radius: var(--radius-md);
  }
  .section-heading {
    font-size: 1.25rem;
    padding-left: 14px;
  }
  .section-divider {
    margin: 28px 0;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-meta {
    text-align: center;
  }
  .back-to-top {
    bottom: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  .brand-text {
    max-width: 180px;
  }
  .hero-eyebrow {
    font-size: 0.7rem;
    padding: 6px 14px;
  }
  .hero-date {
    font-size: 0.82rem;
    padding: 8px 16px;
  }
  .content-inner {
    padding: 28px 18px;
  }
}
