/* المصريين الفيومي للأثاث — التصميم الرئيسي */
:root {
  --bg: #f7f2ea;
  --surface: #fffdf9;
  --ink: #2a211b;
  --muted: #6f6259;
  --accent: #a67c2e;
  --accent-dark: #7d5c1e;
  --line: #e8ded2;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(42, 33, 27, 0.08);
  --font-body: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  --font-display: 'Amiri', 'Tajawal', serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }

/* الترويسة */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--ink); }
.brand span { font-size: 13px; color: var(--muted); letter-spacing: 0.5px; }
.main-nav ul { display: flex; gap: 4px; list-style: none; flex-wrap: wrap; }
.main-nav a {
  display: block; padding: 8px 12px; border-radius: 10px;
  color: var(--ink); font-weight: 500; font-size: 15px;
}
.main-nav a:hover, .main-nav a.active { background: var(--bg); color: var(--accent-dark); text-decoration: none; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 14px; font-family: inherit; font-size: 15px; cursor: pointer; color: var(--ink);
}
.header-cta {
  background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 12px;
  font-weight: 700; white-space: nowrap;
}
.header-cta:hover { background: var(--accent-dark); text-decoration: none; }

/* البطل */
.hero { padding-block: 48px 32px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { font-family: var(--font-display); font-size: 44px; line-height: 1.35; margin-bottom: 18px; }
.hero h1 .gold { color: var(--accent-dark); }
.hero p.lead { font-size: 19px; color: var(--muted); margin-bottom: 26px; }
.hero-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 16px; font-size: 14px; font-weight: 500; color: var(--ink);
}
.chip b { color: var(--accent-dark); }

/* الأزرار */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 12px; font-weight: 700;
  font-size: 16px; border: 1px solid transparent; cursor: pointer; text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--accent); color: #fff; }
.btn-gold:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--accent); color: var(--accent-dark); background: var(--surface); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* الأقسام */
.section { padding-block: 44px; }
.section-head { margin-bottom: 28px; }
.section-head .eyebrow { color: var(--accent-dark); font-weight: 700; font-size: 14px; letter-spacing: 1px; }
.section-head h2 { font-family: var(--font-display); font-size: 34px; line-height: 1.4; }
.section-head p { color: var(--muted); max-width: 640px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img.pending {
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px;
  background:
    radial-gradient(circle at 30% 20%, rgba(166, 124, 46, 0.10), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(166, 124, 46, 0.14), transparent 50%),
    linear-gradient(160deg, #f3ecdf, #ece2d1);
}
.card-img.pending .mark { font-family: var(--font-display); font-size: 30px; color: var(--accent-dark); }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 20px; font-weight: 800; }
.card-body p { color: var(--muted); font-size: 15px; flex: 1; }
.card-link { font-weight: 700; color: var(--accent-dark); font-size: 15px; }
.tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--accent-dark);
  background: rgba(166, 124, 46, 0.12); border-radius: 999px; padding: 2px 12px;
}

/* المميزات */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }
.feature .num { font-family: var(--font-display); font-size: 26px; color: var(--accent-dark); display: block; margin-bottom: 6px; }

/* التقييمات */
.rating-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
}
.rating-score { text-align: center; }
.rating-score .score { font-family: var(--font-display); font-size: 56px; color: var(--accent-dark); display: block; line-height: 1; }
.rating-score .stars { color: var(--accent); font-size: 22px; letter-spacing: 3px; }
.rating-score .count { color: var(--muted); font-size: 14px; }
.rating-topics { display: flex; flex-wrap: wrap; gap: 10px; }

/* الأسئلة */
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 22px; margin-bottom: 12px;
}
.faq summary { font-weight: 800; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::before { content: '＋'; color: var(--accent-dark); margin-inline-end: 10px; }
.faq details[open] summary::before { content: '－'; }
.faq details p { color: var(--muted); padding-top: 10px; }

/* صفحات الأقسام */
.crumb { font-size: 14px; color: var(--muted); padding-block: 18px 0; }
.crumb a { color: var(--accent-dark); }
.page-hero { padding-block: 12px 28px; }
.page-hero h1 { font-family: var(--font-display); font-size: 40px; margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 680px; font-size: 18px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery figcaption { padding: 10px 16px; font-size: 14px; color: var(--muted); }
.pending-banner {
  border: 1px dashed var(--accent); border-radius: var(--radius); padding: 36px 28px; text-align: center;
  background:
    radial-gradient(circle at 20% 15%, rgba(166, 124, 46, 0.08), transparent 55%),
    linear-gradient(160deg, #f5efe4, #efe6d6);
}
.pending-banner .mark { font-family: var(--font-display); font-size: 34px; color: var(--accent-dark); margin-bottom: 10px; }
.pending-banner p { color: var(--muted); max-width: 520px; margin-inline: auto; }
.other-sections { display: flex; flex-wrap: wrap; gap: 10px; }

/* الزيارة والتواصل */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list .ic { color: var(--accent-dark); font-size: 20px; line-height: 1.5; }
.info-list b { display: block; }
.info-list span { color: var(--muted); font-size: 15px; }
.visit-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* التذييل */
.site-footer { background: #241c16; color: #e9e0d5; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 44px; }
.site-footer h3 { font-family: var(--font-display); color: #fff; font-size: 22px; margin-bottom: 12px; }
.site-footer h4 { color: var(--accent); font-size: 16px; margin-bottom: 12px; }
.site-footer p, .site-footer li { color: #c9beb2; font-size: 15px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #e9e0d5; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #3a2f26; padding-block: 16px; text-align: center; font-size: 13px; color: #9c9186; }

/* زر واتساب العائم */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 60;
  background: #25d366; color: #fff; font-weight: 800; border-radius: 999px;
  padding: 13px 22px; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); font-size: 15px;
}
.wa-float:hover { text-decoration: none; background: #1da851; }

@media (max-width: 860px) {
  .hero-grid, .visit-grid, .rating-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .page-hero h1 { font-size: 30px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; inset-inline: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 20px 16px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .header-cta { display: none; }
}

.slogan {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold, #b8860b);
  margin: 6px 0 10px;
}
.footer-slogan {
  font-weight: 700;
  color: var(--gold, #b8860b);
  margin-bottom: 8px;
}
