/* =============================================
   Pet Hotel Management — policy.css
   Terms / Privacy Policy standalone page
   Shared for: terms.php, privacy-policy.php
   ============================================= */

@import url("https://fonts.googleapis.com/css2?family=Prompt:wght@400;600;700&family=Sarabun:wght@300;400;500;600&display=swap");

:root {
  --navy:       #0D1B2A;
  --blue:       #2D4A7A;
  --teal:       #4ECDC4;
  --teal-dark:  #3ABDB4;
  --teal-light: #E0F7F6;
  --surface:    #F5F7FA;
  --border:     #E2E8F0;
  --text-body:  #334155;
  --text-muted: #64748B;
  --white:      #FFFFFF;
}

/* ── Base ── */
body {
  font-family: "Sarabun", sans-serif !important;
  background-color: var(--surface) !important;
  color: var(--text-body) !important;
  -webkit-font-smoothing: antialiased;
}

/* ── Hero ── */
.policy-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 80%, #2D6A6A 100%) !important;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Grid texture */
.policy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Teal orb */
.policy-hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(78,205,196,.14) 0%, transparent 65%);
  top: -160px;
  right: -80px;
  pointer-events: none;
}

.policy-hero .container { position: relative; z-index: 1; }

.policy-hero h1 {
  font-family: "Prompt", sans-serif !important;
  font-size: clamp(1.8rem, 4vw, 2.6rem) !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}

.policy-hero p {
  font-size: .9rem !important;
  color: rgba(255,255,255,.6) !important;
  font-weight: 300 !important;
  margin: 0;
}

/* ── Policy Card ── */
.policy-card {
  background: var(--white) !important;
  border-radius: 18px !important;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(13,27,42,.09) !important;
}

/* ── Content Typography ── */
.policy-card h5 {
  font-family: "Prompt", sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--teal-light);
  margin-top: 28px;
  margin-bottom: 12px;
}

.policy-card h5:first-child { margin-top: 0; }

/* Teal left accent on headings */
.policy-card h5::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1em;
  background: var(--teal);
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
}

.policy-card p {
  font-size: .93rem !important;
  color: var(--text-body) !important;
  line-height: 1.75 !important;
  margin-bottom: 0;
}

.policy-card ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
}

.policy-card ul li {
  font-size: .93rem;
  color: var(--text-body);
  line-height: 1.75;
  padding: 4px 0 4px 20px;
  position: relative;
}

/* Custom teal bullet */
.policy-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .policy-hero { padding: 56px 0 80px !important; }
  .policy-card { border-radius: 12px !important; }
}

/* ── Accessibility ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}