/**
 * Complaints policy page — isolated (do not mix with home-standard.css).
 * Gold #c5a059 · Tajawal AR · Inter EN (local fonts; never Lato / Google Fonts).
 */
body[data-page="complaints-policy"] .site-main {
  font-family: "Tajawal", system-ui, sans-serif;
  background: #fff;
  color: #1a1a1a;
  max-width: 100%;
  overflow-x: hidden;
}
html[lang="en"] body[data-page="complaints-policy"] .site-main {
  font-family: "Inter", system-ui, sans-serif;
}

.cp-page {
  background: #fff;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.cp-wrap {
  width: min(100% - 48px, 920px);
  margin-inline: auto;
  padding: 24px 0;
  box-sizing: border-box;
}

.cp-hero {
  position: relative;
  isolation: isolate;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  overflow: hidden;
  border-bottom: 3px solid #c5a059;
}
.cp-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
.cp-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.58) 0%, rgba(10, 10, 10, 0.78) 100%),
    linear-gradient(90deg, rgba(197, 160, 89, 0.38) 0%, rgba(197, 160, 89, 0.12) 55%, rgba(10, 10, 10, 0.35) 100%);
}
.cp-hero__inner {
  position: relative;
  z-index: 2;
  padding: 48px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cp-crumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 0 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}
.cp-crumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.cp-crumb a:hover { color: #c5a059; }
.cp-hero h1 {
  margin: 0;
  color: #fff;
  font-family: "Tajawal", system-ui, sans-serif;
  font-size: clamp(1.4rem, 1.05rem + 1.2vw, 2rem);
  font-weight: 800;
  line-height: 1.45;
  max-width: 20em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
html[lang="en"] .cp-hero h1 {
  font-family: "Inter", system-ui, sans-serif;
}
.cp-hero__rule {
  display: block;
  width: 64px;
  height: 3px;
  margin: 14px auto 18px;
  background: #c5a059;
  border-radius: 2px;
}
.cp-hero__lede {
  margin: 0;
  max-width: 42em;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  line-height: 1.8;
}

.cp-body { background: #fff; }
.cp-block {
  background: #fff;
  border: 1px solid #efe6d6;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.cp-block + .cp-block { margin-top: 24px; }
.cp-block h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: #c5a059;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.4;
}
.cp-block p {
  margin: 0;
  color: #333;
  font-size: 1.02rem;
  line-height: 1.85;
}
.cp-block ul,
.cp-block ol {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cp-block ul { list-style: none; }
.cp-block ol {
  list-style: decimal;
  padding-inline-start: 1.35em;
}
.cp-block li {
  position: relative;
  color: #333;
  font-size: 1.02rem;
  line-height: 1.85;
}
.cp-block ul li { padding-inline-start: 1.15em; }
.cp-block ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c5a059;
}
.cp-block a {
  color: #c5a059;
  font-weight: 700;
  text-decoration: none;
}
.cp-block a:hover { color: #a98b45; }

.cp-alert {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.6;
}
.cp-alert--ok {
  background: #f4faf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.cp-alert--err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.cp-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cp-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #1a1a1a;
  font-size: 0.92rem;
  font-weight: 700;
}
.cp-form__full { grid-column: 1 / -1; }
.cp-form input,
.cp-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid #e5d9c4;
  border-radius: 8px;
  background: #fbf8f2;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
}
.cp-form textarea { resize: vertical; min-height: 140px; }
.cp-form input:focus,
.cp-form textarea:focus {
  outline: 2px solid #c5a059;
  outline-offset: 1px;
  background: #fff;
}
.cp-hp {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.cp-btn {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 8px;
  background: #c5a059;
  color: #fff;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
  transition: box-shadow 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.cp-btn:hover {
  background: #d8b46a;
  box-shadow: 0 6px 14px rgba(197, 160, 89, 0.35);
}
.cp-btn:active { transform: translateY(1px); }

@media (min-width: 721px) {
  .cp-body .cp-wrap {
    padding-top: 74px;
    padding-bottom: 74px;
  }
}

@media (max-width: 720px) {
  .cp-wrap {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding: 16px;
    box-sizing: border-box;
  }
  .cp-body .cp-wrap {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding: 56px 16px;
  }
  .cp-hero { min-height: 260px; }
  .cp-hero .cp-wrap,
  .cp-hero__inner {
    width: 100%;
    max-width: 100%;
    padding: 28px 16px 24px;
    box-sizing: border-box;
  }
  .cp-hero h1,
  .cp-hero__lede { max-width: 100%; }
  .cp-hero h1 { font-size: 1.32rem; }
  .cp-block {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding: 16px;
    box-sizing: border-box;
  }
  .cp-block + .cp-block { margin-top: 16px; }
  .cp-block h2 { font-size: 1.12rem; }
  .cp-form { grid-template-columns: 1fr; }
  .cp-btn { width: 100%; }
}
