/* دردشة عربية — موقع خارجي مصغّر (satellite) | theme: blue gradient + green + yellow */
:root {
  --blue-1: #1e58e8;
  --blue-2: #0e2a94;
  --green-1: #48d698;
  --green-2: #1aa674;
  --yellow: #ffca28;
  --ink: #0b1b3a;
  --muted: #5a6b8c;
  --line: #e3e9f7;
  --bg: #f5f8ff;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(14, 42, 148, 0.10);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef3ff;
    --muted: #a8b6d4;
    --line: #22305a;
    --bg: #080f24;
    --card: #101b3c;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Tahoma, "Noto Kufi Arabic", "Arial", sans-serif;
  line-height: 1.9;
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

a { color: var(--blue-1); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 9px; display: block; }
.brand span { font-size: 1.02rem; }
.site-head nav { margin-inline-start: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.site-head nav a { color: var(--muted); font-size: 0.95rem; font-weight: 600; }
.site-head nav a:hover { color: var(--blue-1); }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(140deg, var(--blue-1) 0%, var(--blue-2) 100%);
  color: #fff;
  padding: 56px 0 64px;
  text-align: center;
}
.hero h1 { font-size: clamp(1.55rem, 3.6vw, 2.35rem); margin: 0 0 14px; line-height: 1.5; }
.hero p { margin: 0 auto 26px; max-width: 720px; color: #dbe6ff; font-size: 1.06rem; }
.hero .badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.hero .badges span {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px; border-radius: 999px; font-size: 0.9rem;
}
.cta {
  display: inline-block; background: var(--green-1); color: #05261a;
  font-weight: 800; padding: 14px 30px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(26, 166, 116, 0.35);
}
.cta:hover { text-decoration: none; background: #5ce6a8; }
.cta.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.45); box-shadow: none; margin-inline-start: 10px; }
.cta.ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- sections ---------- */
main { padding: 52px 0 20px; }
section { margin-bottom: 52px; }
h2 { font-size: 1.45rem; margin: 0 0 8px; }
h3 { font-size: 1.12rem; margin: 0 0 6px; }
.lead { color: var(--muted); margin: 0 0 26px; max-width: 780px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 18px; box-shadow: var(--shadow);
}
.card .ico { font-size: 1.5rem; line-height: 1; display: block; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.card a.more { font-weight: 700; font-size: 0.95rem; }

.rooms .card { border-top: 4px solid var(--green-1); }
.rooms .card:nth-child(3n+2) { border-top-color: var(--blue-1); }
.rooms .card:nth-child(3n+3) { border-top-color: var(--yellow); }

ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 14px; }
ol.steps li {
  counter-increment: s; position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 64px 16px 20px; box-shadow: var(--shadow);
}
ol.steps li::before {
  content: counter(s);
  position: absolute; inset-inline-start: 18px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(140deg, var(--blue-1), var(--blue-2)); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}
ol.steps li { padding-inline-start: 66px; padding-inline-end: 20px; }

ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
ul.ticks li { position: relative; padding-inline-start: 28px; color: var(--muted); }
ul.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--green-2); font-weight: 800; }
ul.warns li::before { content: "!"; color: #e05b3c; }

/* ---------- faq ---------- */
details.qa {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px; margin-bottom: 10px;
}
details.qa summary { cursor: pointer; font-weight: 700; }
details.qa p { color: var(--muted); margin: 10px 0 0; font-size: 0.97rem; }

/* ---------- tables ---------- */
table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
th, td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
th { background: rgba(30, 88, 232, 0.07); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* ---------- banner ---------- */
.banner {
  background: linear-gradient(140deg, #10328f, #0b1f66);
  color: #fff; border-radius: var(--radius); padding: 30px 26px; text-align: center;
  box-shadow: var(--shadow);
}
.banner h2 { margin-bottom: 8px; }
.banner p { color: #cddcff; margin: 0 0 20px; }

/* ---------- footer ---------- */
footer.site-foot {
  border-top: 1px solid var(--line); background: var(--card);
  padding: 34px 0; margin-top: 30px; color: var(--muted); font-size: 0.93rem;
}
footer.site-foot .cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 22px; }
footer.site-foot h4 { color: var(--ink); font-size: 1rem; margin: 0 0 10px; }
footer.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
footer.site-foot .fine { border-top: 1px solid var(--line); padding-top: 16px; font-size: 0.86rem; }

.crumbs { font-size: 0.88rem; color: var(--muted); padding: 16px 0 0; }
.crumbs a { color: var(--muted); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-head nav { display: none; }
  .hero { padding: 40px 0 46px; }
  .cta.ghost { margin: 12px 0 0; }
}
