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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
:target { scroll-margin-top: 100px; }
section[id], div[id] { scroll-margin-top: 100px; }

@media (max-width: 900px) {
  html { scroll-padding-top: 80px; }
  section[id], div[id] { scroll-margin-top: 80px; }
}

:root {
  --gold: #c9a96e;
  --gold-dark: #a8884f;
  --dark: #1a1a1a;
  --cream: #f8f3ec;
  --bg: #fdfbf7;
}

body {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== Top bar ===== */
.topbar {
  background: var(--dark);
  color: var(--cream);
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.topbar span { color: var(--gold); font-weight: 700; }

/* ===== Nav ===== */
nav {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 18px 50px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(201,169,110,0.25);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}
.nav-side { display: flex; align-items: center; gap: 22px; }
.nav-side.right { justify-content: flex-start; }
.nav-side.left { justify-content: flex-end; }
.logo {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 3px;
  text-align: center;
  padding: 0 30px;
  position: relative;
}
.logo::before, .logo::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 22px;
  height: 1px;
  background: var(--gold);
}
.logo::before { right: 0; }
.logo::after { left: 0; }
.logo span { color: var(--gold); }
.logo small {
  display: block;
  font-size: 9px;
  letter-spacing: 6px;
  color: var(--gold);
  margin-top: -4px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 500;
}
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.35s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--dark);
  color: var(--cream);
  padding: 11px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 6px;
}
.nav-cta:hover { background: var(--gold); transform: translateY(-2px); }

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 60px;
  background: linear-gradient(135deg, #fdfbf7 0%, #f3ead8 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,169,110,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,169,110,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-text { position: relative; z-index: 2; }
.badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.hero h1 {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 64px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark);
}
.hero h1 .gold { color: var(--gold); }
.hero p {
  font-size: 19px;
  color: #555;
  margin-bottom: 35px;
  max-width: 500px;
}
.price-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.price-new { font-size: 42px; font-weight: 900; color: var(--dark); }
.price-new small { font-size: 22px; color: var(--gold); }
.price-old { font-size: 24px; color: #999; text-decoration: line-through; }
.discount {
  background: #c0392b;
  color: #fff;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}
.cta-group { display: flex; gap: 15px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}
.btn-primary {
  background: var(--dark);
  color: var(--cream);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(201,169,110,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}
.btn-outline:hover { background: var(--dark); color: var(--cream); }
.hero-img { position: relative; z-index: 2; text-align: center; }
.hero-img img {
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.25);
  transform: rotate(-3deg);
  transition: transform 0.5s;
}
.hero-img img:hover { transform: rotate(0deg) scale(1.02); }

/* ===== Trust strip ===== */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 50px 60px;
  background: #fff;
  border-bottom: 1px solid #ece4d6;
}
.trust-item { text-align: center; }
.trust-icon {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--gold);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.stars i { margin-left: 2px; }
.feature-check { color: var(--gold); margin-left: 8px; }
.footer-grid li i { color: var(--gold); margin-left: 8px; width: 16px; }
.trust-item h4 { font-size: 16px; color: var(--dark); margin-bottom: 5px; }
.trust-item p { font-size: 13px; color: #777; }

/* ===== Section ===== */
section { padding: 90px 60px; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title small { color: var(--gold); font-weight: 700; letter-spacing: 3px; font-size: 14px; }
.section-title h2 { font-family: 'Reem Kufi', sans-serif; font-size: 46px; margin-top: 10px; color: var(--dark); }
.section-title .divider { width: 60px; height: 3px; background: var(--gold); margin: 20px auto; }

/* ===== Colors gallery ===== */
.colors { background: var(--cream); }
.color-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }
.color-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: transform 0.4s, box-shadow 0.4s;
}
.color-card:hover { transform: translateY(-10px); box-shadow: 0 25px 60px rgba(0,0,0,0.15); }
.color-card img { width: 100%; height: 380px; object-fit: cover; display: block; }
.color-card-body { padding: 25px; text-align: center; }
.color-card h3 { font-family: 'Reem Kufi', sans-serif; font-size: 26px; margin-bottom: 8px; }
.color-card p { color: #777; font-size: 14px; }
.color-dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #eee; }

/* ===== Features ===== */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.features-img img { width: 100%; border-radius: 20px; box-shadow: 0 25px 60px rgba(0,0,0,0.2); }
.features-list { list-style: none; }
.features-list li { display: flex; gap: 20px; margin-bottom: 35px; align-items: flex-start; }
.feature-num {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  font-family: 'Reem Kufi', sans-serif;
}
.feature-text h4 { font-size: 22px; margin-bottom: 8px; color: var(--dark); }
.feature-text p { color: #666; font-size: 16px; }

/* ===== Lifestyle ===== */
.lifestyle { background: linear-gradient(135deg, #1a1a1a 0%, #2c2418 100%); color: var(--cream); }
.lifestyle .section-title h2 { color: var(--cream); }
.lifestyle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.lifestyle-img img { width: 100%; border-radius: 20px; box-shadow: 0 30px 70px rgba(0,0,0,0.5); }
.lifestyle-text h3 { font-family: 'Reem Kufi', sans-serif; font-size: 40px; color: var(--gold); margin-bottom: 25px; line-height: 1.3; }
.lifestyle-text p { font-size: 18px; color: #d4ccbb; margin-bottom: 20px; }
.lifestyle-quote {
  border-right: 3px solid var(--gold);
  padding-right: 20px;
  margin-top: 30px;
  font-family: 'Reem Kufi', sans-serif;
  font-style: italic;
  font-size: 20px;
  color: var(--cream);
}

/* ===== Testimonials ===== */
.testimonials { background: var(--bg); }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }
.test-card { background: #fff; padding: 35px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); position: relative; }
.test-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 25px;
  font-family: 'Reem Kufi', sans-serif;
  font-size: 90px;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
}
.stars { color: var(--gold); margin-bottom: 15px; font-size: 18px; }
.test-card p { color: #555; margin-bottom: 20px; font-size: 15px; }
.test-author { display: flex; align-items: center; gap: 15px; }
.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  font-family: 'Reem Kufi', sans-serif;
}
.test-author strong { display: block; color: var(--dark); }
.test-author small { color: #999; }

/* ===== CTA Final ===== */
.final-cta {
  background:
    linear-gradient(135deg, rgba(26,26,26,0.85), rgba(201,169,110,0.7)),
    url('/images/hero-bg.png') center/cover;
  color: #fff;
  text-align: center;
  padding: 120px 40px;
}
.final-cta h2 { font-family: 'Reem Kufi', sans-serif; font-size: 56px; margin-bottom: 20px; }
.final-cta p { font-size: 20px; margin-bottom: 40px; max-width: 600px; margin-right: auto; margin-left: auto; }
.countdown { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; }
.count-box {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 20px 25px;
  border-radius: 15px;
  min-width: 90px;
  border: 1px solid rgba(255,255,255,0.2);
}
.count-box .num { font-size: 38px; font-weight: 900; display: block; color: var(--gold); font-family: 'Reem Kufi', sans-serif; }
.count-box .label { font-size: 13px; opacity: 0.9; }
.final-cta .btn-primary { background: var(--gold); color: #fff; font-size: 19px; padding: 22px 55px; }
.final-cta .btn-primary:hover { background: #fff; color: var(--dark); }

/* ===== Footer ===== */
footer { background: var(--dark); color: #aaa; padding: 50px 60px 25px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-grid h4 { color: var(--gold); margin-bottom: 18px; font-family: 'Reem Kufi', sans-serif; font-size: 20px; }
.footer-grid p, .footer-grid li { font-size: 14px; color: #999; margin-bottom: 10px; list-style: none; }
.footer-grid .logo { color: #fff; margin-bottom: 15px; display: inline-block; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; font-size: 13px; }

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.9) rotate(-3deg); }
  to   { opacity: 1; transform: scale(1) rotate(-3deg); }
}
@keyframes float {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-3deg) translateY(-14px); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201,169,110,0.5); }
  50%      { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(201,169,110,0); }
}
@keyframes marqueeRTL {
  from { transform: translateX(0); }
  to   { transform: translateX(100%); }
}
@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

/* Reveal-on-scroll: initial hidden state, animates when .in is added */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-right.in { opacity: 1; transform: translateX(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-left.in { opacity: 1; transform: translateX(0); }
.reveal-zoom { opacity: 0; transform: scale(0.94); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-zoom.in { opacity: 1; transform: scale(1); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Hero entrance — runs on load */
.hero-text > * { animation: fadeRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-text > *:nth-child(1) { animation-delay: 0.05s; }
.hero-text > *:nth-child(2) { animation-delay: 0.18s; }
.hero-text > *:nth-child(3) { animation-delay: 0.30s; }
.hero-text > *:nth-child(4) { animation-delay: 0.42s; }
.hero-text > *:nth-child(5) { animation-delay: 0.54s; }

/* Top bar gentle slide-down */
.topbar { animation: fadeUp 0.6s ease 0s both; }

/* Nav fade-in */
nav { animation: fadeUp 0.5s ease 0.05s both; }

/* Card hover micro-interaction */
.color-card, .test-card, .trust-item {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s ease;
}
.trust-item:hover { transform: translateY(-6px); }
.trust-item:hover .trust-icon { color: #fff; background: var(--gold); transform: scale(1.08); }
.trust-icon { transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); }

/* Feature number — soft pulse on view */
.features-list.in .feature-num { animation: pulse 2s ease-in-out infinite; }
.features-list .feature-num { transition: transform 0.4s; }
.features-list li:hover .feature-num { transform: scale(1.1) rotate(-6deg); }

/* Buttons: shimmer sweep on the primary CTA */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 3.5s linear infinite;
  pointer-events: none;
}

/* Countdown pulse on view */
.count-box .num { transition: transform 0.4s; }
.countdown:hover .count-box .num { transform: scale(1.06); }
.count-box {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s;
}
.count-box:hover { transform: translateY(-4px); background: rgba(255,255,255,0.22); }

/* Badge subtle glow */
.badge {
  position: relative;
  overflow: hidden;
}
.badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
}

/* Stars twinkle */
.stars i { display: inline-block; transition: transform 0.3s; }
.test-card:hover .stars i { animation: pulse 1.2s ease-in-out infinite; }
.test-card:hover .stars i:nth-child(2) { animation-delay: 0.1s; }
.test-card:hover .stars i:nth-child(3) { animation-delay: 0.2s; }
.test-card:hover .stars i:nth-child(4) { animation-delay: 0.3s; }
.test-card:hover .stars i:nth-child(5) { animation-delay: 0.4s; }

/* Lifestyle image subtle parallax-ish float */
.lifestyle-img img { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.lifestyle-img:hover img { transform: scale(1.025); }

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .reveal-right, .reveal-left, .reveal-zoom { opacity: 1 !important; transform: none !important; }
}

/* ===== Lead form ===== */
.order-section {
  position: relative;
  background:
    linear-gradient(115deg, rgba(26,26,26,0.86) 0%, rgba(26,26,26,0.55) 45%, rgba(201,169,110,0.35) 100%),
    url('/images/order-bg.png') center right/cover no-repeat;
  background-attachment: scroll;
  color: #fff;
  padding: 90px 30px 110px;
}
@media (min-width: 901px) {
  .order-section { background-attachment: fixed; }
}
.order-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.order-pitch h2 {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 48px;
  margin-bottom: 18px;
  line-height: 1.2;
}
.order-pitch h2 span { color: var(--gold); }
.order-pitch p { font-size: 18px; opacity: 0.92; margin-bottom: 28px; max-width: 460px; }
.order-perks { list-style: none; padding: 0; margin-bottom: 28px; }
.order-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 16px;
}
.order-perks li i {
  color: var(--gold);
  font-size: 18px;
  background: rgba(255,255,255,0.1);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.order-price-strip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(0,0,0,0.35);
  padding: 14px 22px;
  border-radius: 50px;
  border: 1px solid rgba(201,169,110,0.4);
}
.order-price-strip .new { font-size: 28px; font-weight: 900; color: var(--gold); }
.order-price-strip .old { font-size: 16px; text-decoration: line-through; opacity: 0.6; }

.lead-form {
  background: #fff;
  color: var(--dark);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}
.lead-form h3 {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 26px;
  margin-bottom: 6px;
  color: var(--dark);
}
.lead-form .sub {
  color: #777;
  font-size: 14px;
  margin-bottom: 26px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}
.field label .req { color: #c0392b; font-weight: 700; }
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 16px;
  border: 1.5px solid #e6dec9;
  border-radius: 10px;
  background: #fafaf6;
  color: var(--dark);
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 70px; }
.field .err {
  display: none;
  color: #c0392b;
  font-size: 13px;
  margin-top: 6px;
}
.field.invalid input,
.field.invalid textarea { border-color: #c0392b; background: #fef5f4; }
.field.invalid .err { display: block; }

.lead-submit {
  width: 100%;
  padding: 18px;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.lead-submit:hover:not(:disabled) {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(201,169,110,0.5);
}
.lead-submit:disabled { opacity: 0.65; cursor: wait; }
.lead-submit .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.lead-submit.loading .spinner { display: inline-block; }
.lead-submit.loading .label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-foot {
  margin-top: 18px;
  font-size: 13px;
  color: #888;
  text-align: center;
  line-height: 1.7;
}
.form-foot a { color: var(--gold-dark); text-decoration: underline; }

.form-error {
  display: none;
  background: #fef5f4;
  border-right: 4px solid #c0392b;
  padding: 12px 16px;
  border-radius: 8px;
  color: #8a2620;
  font-size: 14px;
  margin-bottom: 18px;
}
.form-error.show { display: block; }

/* ===== Thank-you page ===== */
.thanks-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 30px;
  background: linear-gradient(135deg, #fdfbf7 0%, #f3ead8 100%);
}
.thanks-card {
  background: #fff;
  border-radius: 24px;
  padding: 60px 50px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.08);
  max-width: 560px;
  width: 100%;
  border: 1px solid #ece4d6;
}
.thanks-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin-bottom: 22px;
  border: 2px solid rgba(201,169,110,0.4);
}
.thanks-card h1 {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 36px;
  color: var(--dark);
  margin-bottom: 12px;
}
.thanks-card p { color: #555; font-size: 17px; margin-bottom: 10px; line-height: 1.8; }
.thanks-card .order-id {
  display: inline-block;
  margin: 18px 0 26px;
  padding: 10px 22px;
  background: var(--cream);
  border-radius: 50px;
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 14px;
  border: 1px dashed rgba(201,169,110,0.5);
}
.thanks-card .btn { margin-top: 10px; }

/* ===== Legal pages ===== */
.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 30px 100px;
}
.legal-header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid #ece4d6;
}
.legal-header .crest {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 1px solid rgba(201,169,110,0.4);
}
.legal-header h1 {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 44px;
  color: var(--dark);
  margin-bottom: 10px;
}
.legal-header .meta { color: #888; font-size: 14px; }
.legal-content h2 {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 24px;
  color: var(--dark);
  margin-top: 40px;
  margin-bottom: 14px;
  padding-right: 14px;
  border-right: 3px solid var(--gold);
}
.legal-content h3 {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 18px;
  color: var(--gold-dark);
  margin-top: 24px;
  margin-bottom: 10px;
}
.legal-content p { color: #444; font-size: 16px; margin-bottom: 14px; line-height: 1.95; }
.legal-content ul, .legal-content ol { padding-right: 22px; margin-bottom: 18px; color: #444; }
.legal-content li { margin-bottom: 8px; line-height: 1.85; }
.legal-content a { color: var(--gold-dark); text-decoration: underline; }
.legal-content strong { color: var(--dark); }
.legal-callout {
  background: var(--cream);
  border-right: 4px solid var(--gold);
  padding: 18px 22px;
  border-radius: 8px;
  margin: 22px 0;
  color: #4a3f28;
  font-size: 15px;
}
.legal-toc {
  background: #fff;
  border: 1px solid #eee2cc;
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 40px;
}
.legal-toc h4 {
  font-family: 'Reem Kufi', sans-serif;
  color: var(--gold-dark);
  margin-bottom: 10px;
  font-size: 16px;
}
.legal-toc ol { padding-right: 20px; margin: 0; }
.legal-toc li { margin-bottom: 6px; font-size: 14.5px; }
.legal-toc a { color: var(--dark); text-decoration: none; }
.legal-toc a:hover { color: var(--gold); }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
}
.legal-back:hover { color: var(--dark); }

@media (max-width: 900px) {
  .hero, .features, .lifestyle-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
  .trust, .color-grid, .test-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  section, nav, .hero, footer { padding-left: 25px; padding-right: 25px; }
  nav { grid-template-columns: 1fr auto; padding: 14px 20px; }
  .nav-side.right { display: none; }
  .logo { font-size: 24px; padding: 0 20px; }
  .logo small { font-size: 8px; }
  .final-cta h2 { font-size: 36px; }
}
@media (max-width: 500px) {
  .trust, .color-grid, .test-grid, .footer-grid { grid-template-columns: 1fr; }
  .countdown { flex-wrap: wrap; }
}
