/* ============================================================
   الرشوان للأدوات الصحية — ملف التصميم
   ============================================================ */

:root {
  --bg: #f4faf8;
  --bg-alt: #e9f5f1;
  --surface: #ffffff;
  --surface-2: #f7fcfa;
  --text: #12332f;
  --muted: #5c7a75;
  --line: rgba(14, 143, 126, 0.12);
  --primary: #0e8f7e;
  --primary-deep: #08685c;
  --primary-soft: #d9f2ed;
  --accent: #34c7a8;
  --accent-warm: #f2a65a;
  --shadow: 0 20px 60px rgba(8, 104, 92, 0.09);
  --shadow-sm: 0 10px 30px rgba(8, 104, 92, 0.07);
  --radius: 24px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100% - 2rem));
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }
h1, h2, h3, h4 { margin: 0 0 .75rem; line-height: 1.3; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1rem; }

::selection { background: var(--primary-soft); color: var(--primary-deep); }

.container { width: var(--container); margin-inline: auto; }
.section { padding: 5.5rem 0; }

.skip-link {
  position: fixed; top: -100px; right: 1rem; z-index: 999;
  background: var(--primary); color: #fff; padding: .7rem 1rem;
  border-radius: 10px; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 0 .8rem; font-size: .84rem; font-weight: 800;
  letter-spacing: .03em; color: var(--primary);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap;
}
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0; }
.section-desc { max-width: 520px; color: var(--muted); margin: 0; font-size: 1rem; }
.section-head.center .section-desc { margin-inline: auto; }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.6rem; border-radius: 12px; font-weight: 700; font-size: .98rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 26px rgba(14, 143, 126, .26); }
.btn-primary:hover { background: var(--primary-deep); box-shadow: 0 14px 32px rgba(14, 143, 126, .32); }
.btn-ghost { background: var(--surface); color: var(--primary-deep); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: .55rem 1rem; font-size: .88rem; }

/* ---------- الشريط العلوي والهيدر ---------- */
.topbar { background: var(--primary-deep); color: #eafaf5; font-size: .82rem; font-weight: 600; padding: .5rem 1rem; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 250, 248, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(244, 250, 248, .96); box-shadow: 0 6px 24px rgba(8, 104, 92, .05); }

.nav { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--accent), var(--primary-deep)); color: #fff;
  font-size: 1.5rem; font-weight: 900; line-height: 1;
  box-shadow: 0 8px 24px rgba(14, 143, 126, .28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.4rem; font-weight: 900; letter-spacing: -.03em; }
.brand-text small { font-size: .72rem; color: var(--muted); font-weight: 700; letter-spacing: .04em; }

.nav-links { display: flex; align-items: center; gap: .2rem; }
.nav-links a { padding: .65rem .95rem; border-radius: 10px; font-weight: 700; font-size: .92rem; color: #2b4b46; transition: .2s; }
.nav-links a:hover { background: var(--primary-soft); color: var(--primary-deep); }
.nav-links .nav-cta { background: var(--primary); color: #fff; margin-inline-start: .5rem; box-shadow: 0 8px 20px rgba(14,143,126,.22); }
.nav-links .nav-cta:hover { background: var(--primary-deep); color: #fff; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); padding: 11px 10px; }
.menu-toggle span { display: block; height: 3px; border-radius: 3px; background: var(--primary-deep); margin: 4px 0; transition: .25s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- الهيرو ---------- */
.hero { position: relative; overflow: hidden; padding: 5.5rem 0 5rem; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; }
.orb-a { width: 480px; height: 480px; background: radial-gradient(circle, #bfeadd 0%, transparent 68%); top: -180px; right: -120px; }
.orb-b { width: 520px; height: 520px; background: radial-gradient(circle, #d5f0ff 0%, transparent 68%); bottom: -240px; left: -140px; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 58px 58px; opacity: .45;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 72%);
}

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.hero-copy h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.22; margin-bottom: 1.25rem; }
.hero-copy h1 span { color: var(--primary); position: relative; white-space: nowrap; }
.hero-copy h1 span::after {
  content: ""; position: absolute; right: 0; bottom: -6px; width: 100%; height: 10px; border-radius: 10px;
  background: linear-gradient(90deg, transparent, rgba(52,199,168,.28), transparent);
}
.hero-lead { font-size: 1.1rem; color: var(--muted); max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero-actions .btn { padding: 1rem 1.8rem; }

.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.6rem; font-weight: 900; color: var(--primary-deep); line-height: 1.2; }
.stat span { font-size: .85rem; color: var(--muted); font-weight: 600; }

.hero-visual { position: relative; min-height: 460px; display: grid; place-items: center; }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.main-card {
  position: relative; width: min(100%, 400px); padding: 3.5rem 2rem 2rem;
  text-align: center; overflow: hidden;
  background: linear-gradient(160deg, #ffffff 0%, #eef9f5 100%);
}
.hero-plus { position: absolute; top: 1.4rem; right: 1.6rem; font-size: 2rem; color: var(--primary); opacity: .16; }
.hero-image-wrap { width: 100%; height: 240px; display: grid; place-items: center; animation: floaty 5s ease-in-out infinite; }
.hero-image-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 18px; filter: drop-shadow(0 18px 24px rgba(8,104,92,.16)); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-card-badge {
  position: absolute; top: 1.4rem; left: 1.4rem; background: var(--accent-warm); color: #4a2c0c;
  font-size: .76rem; font-weight: 800; padding: .35rem .8rem; border-radius: 999px;
}
.hero-card-info { border-top: 1px solid var(--line); padding-top: 1.1rem; margin-top: 1.4rem; }
.hero-card-info strong { display: block; font-size: 1.1rem; }
.hero-card-info span { font-size: .85rem; color: var(--muted); }

.float-card { position: absolute; display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-radius: 16px; box-shadow: var(--shadow-sm); }
.float-one { top: 12%; right: -2%; background: var(--surface); }
.float-one .float-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; font-size: 1.15rem; }
.float-one strong { font-size: .9rem; display: block; }
.float-one p { font-size: .76rem; color: var(--muted); margin: 0; }
.float-two { bottom: 12%; left: -2%; flex-direction: column; align-items: flex-start; gap: 0; background: var(--primary-deep); color: #fff; padding: 1rem 1.4rem; }
.float-two .price-label { font-size: .75rem; opacity: .8; }
.float-two strong { font-size: 1.25rem; }

/* ---------- شريط الثقة ---------- */
.trust-strip { background: var(--surface); border-block: 1px solid var(--line); padding: 1.4rem 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust-item { display: flex; align-items: center; gap: .85rem; padding-inline: 1rem; border-inline-end: 1px solid var(--line); }
.trust-item:last-child { border-inline-end: 0; }
.trust-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 13px; background: var(--primary-soft); display: grid; place-items: center; font-size: 1.25rem; }
.trust-item strong { font-size: .95rem; display: block; line-height: 1.4; }
.trust-item p { font-size: .8rem; color: var(--muted); margin: 0; }

/* ---------- التصنيفات ---------- */
.categories-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.category-card {
  position: relative; overflow: hidden; text-align: right; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.6rem;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(14,143,126,.3); }
.category-card::after { content: ""; position: absolute; width: 130px; height: 130px; border-radius: 50%; left: -60px; bottom: -70px; background: var(--primary-soft); opacity: .5; }
.category-card .cat-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.9rem; background: var(--primary-soft); margin-bottom: 1rem; position: relative; z-index: 1; }
.category-card h3 { font-size: 1.1rem; margin-bottom: .35rem; position: relative; z-index: 1; }
.category-card p { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; position: relative; z-index: 1; min-height: 3.2em; }
.category-card .cat-link { font-size: .85rem; font-weight: 800; color: var(--primary); position: relative; z-index: 1; }
.category-card[data-color="blue"] .cat-icon { background: #e2f0ff; }
.category-card[data-color="mint"] .cat-icon { background: #e0f7ee; }
.category-card[data-color="sand"] .cat-icon { background: #fff1de; }

/* ---------- المنتجات ---------- */
.products-section { background: var(--bg-alt); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.search-wrap { position: relative; flex: 1 1 280px; max-width: 380px; }
.search-wrap svg { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.search-wrap input { width: 100%; padding: .85rem 2.8rem .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; }
.search-wrap input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.search-wrap input::placeholder { color: #94aaa5; }

.filters { display: flex; gap: .45rem; flex-wrap: wrap; }
.filter-btn { padding: .6rem 1rem; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: .86rem; font-weight: 700; color: var(--muted); transition: .2s; }
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 6px 16px rgba(14,143,126,.2); }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.product-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; box-shadow: var(--shadow-sm); text-align: right; width: 100%;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
  animation: fadeUp .45s ease both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media { height: 160px; display: grid; place-items: center; position: relative; overflow: hidden; background: linear-gradient(150deg, #f0faf6, #dff2ec); }
.product-media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-fallback { position: relative; z-index: 1; font-size: 4.4rem; line-height: 1; }
.product-fallback[hidden] { display: none; }
.product-card:nth-child(3n+2) .product-media { background: linear-gradient(150deg, #f2f8ff, #e4f0fb); }
.product-card:nth-child(3n+3) .product-media { background: linear-gradient(150deg, #fff8ef, #fbecd8); }
.product-media::before { content: ""; position: absolute; width: 120px; height: 120px; border: 1px dashed rgba(14,143,126,.18); border-radius: 50%; }
.product-badge { position: absolute; top: .8rem; right: .8rem; background: var(--accent-warm); color: #4a2c0c; font-size: .7rem; font-weight: 800; padding: .25rem .65rem; border-radius: 999px; z-index: 1; }
.product-body { padding: 1.1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .74rem; font-weight: 800; color: var(--primary); margin-bottom: .3rem; }
.product-title { font-size: 1rem; margin-bottom: .5rem; min-height: 2.8em; }
.product-desc { font-size: .82rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.price-group { display: flex; flex-direction: column; line-height: 1.25; }
.product-price { font-size: 1.05rem; font-weight: 900; color: var(--primary-deep); }
.product-old-price { font-size: .78rem; font-weight: 600; color: #9aaba7; text-decoration: line-through; }
.product-price small { font-size: .72rem; font-weight: 700; color: var(--muted); }
.product-btn { width: 38px; height: 38px; border-radius: 11px; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; font-size: 1.1rem; transition: .2s; }
.product-btn:hover { background: var(--primary); color: #fff; transform: rotate(-6deg); }

.empty-state { text-align: center; padding: 4rem 1rem; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state span { font-size: 3rem; display: block; margin-bottom: .5rem; }
.empty-state p { color: var(--muted); margin-bottom: 1rem; }

/* ---------- المميزات ---------- */
.features-section { background: var(--surface); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature-card { padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); transition: transform .25s, box-shadow .25s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.feature-icon { width: 54px; height: 54px; border-radius: 15px; background: var(--primary-soft); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.1rem; }
.feature-card h3 { font-size: 1.08rem; }
.feature-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- عنّا ---------- */
.about-section { background: var(--bg-alt); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 4rem; align-items: center; }
.about-visual { position: relative; display: grid; place-items: center; min-height: 400px; }
.about-card {
  width: min(100%, 400px); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem 1.8rem 2rem;
  background: linear-gradient(165deg, #fff, #eaf7f2);
}
.about-card-top { display: flex; align-items: center; gap: .7rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.4rem; }
.about-card-top span { width: 42px; height: 42px; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1.3rem; }
.about-card-top strong { font-size: 1.2rem; font-weight: 900; }
.about-emoji-row { display: flex; align-items: center; justify-content: space-around; font-size: 3rem; margin-bottom: 1.4rem; }
.about-card > p { font-size: 1.05rem; font-weight: 700; color: var(--primary-deep); text-align: center; margin: 0; }
.about-badge { position: absolute; bottom: 8%; left: 2%; background: var(--primary-deep); color: #fff; border-radius: 16px; padding: 1rem 1.3rem; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.about-badge strong { font-size: 1.5rem; line-height: 1.2; }
.about-badge span { font-size: .78rem; opacity: .85; }

.about-copy h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.about-copy > p:not(.eyebrow) { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-inline-start: 1.9rem; font-weight: 600; font-size: .95rem; }
.check-list li::before { content: "✓"; position: absolute; right: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; font-size: .75rem; font-weight: 900; }

/* ---------- الآراء ---------- */
.testimonials-section { background: var(--surface); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.testimonial-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.7rem; transition: transform .25s, box-shadow .25s; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 1.05rem; margin-bottom: .9rem; }
.testimonial-card > p { font-size: .94rem; color: #3b5954; min-height: 5.5em; }
.reviewer { display: flex; align-items: center; gap: .7rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }
.reviewer .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; font-weight: 900; }
.reviewer strong { display: block; font-size: .92rem; }
.reviewer small { font-size: .78rem; color: var(--muted); }

/* ---------- الأسئلة الشائعة ---------- */
.faq-section { background: var(--bg-alt); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.faq-intro h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.faq-intro > p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.5rem; }
.faq-list { display: grid; gap: .8rem; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-list summary { padding: 1.1rem 1.2rem; font-weight: 700; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; font-size: 1.1rem; font-weight: 700; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details[open] summary { color: var(--primary-deep); }
.faq-list details p { padding: 0 1.2rem 1.2rem; margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- التواصل ---------- */
.contact-section { background: var(--bg-alt); padding-top: 0; }
.contact-panel {
  background: linear-gradient(135deg, var(--primary-deep), #0a7d6e);
  color: #fff; border-radius: var(--radius); padding: 3rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.contact-panel::before { content: "✚"; position: absolute; font-size: 22rem; color: rgba(255,255,255,.04); left: -3rem; top: -6rem; line-height: 1; }
.contact-copy, .contact-cards { position: relative; z-index: 1; }
.contact-copy .eyebrow { color: #bff0e4; }
.contact-copy h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.contact-copy > p:not(.eyebrow) { color: rgba(255,255,255,.82); }
.contact-copy .btn-primary { background: #fff; color: var(--primary-deep); box-shadow: 0 10px 26px rgba(0,0,0,.12); }
.contact-copy .btn-primary:hover { background: var(--primary-soft); }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.contact-card { display: flex; align-items: center; gap: .8rem; padding: 1rem; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); transition: .2s; }
a.contact-card:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }
.contact-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: rgba(255,255,255,.16); display: grid; place-items: center; font-size: 1.15rem; }
.contact-card strong { display: block; font-size: .92rem; }
.contact-card small { font-size: .76rem; color: rgba(255,255,255,.75); }

/* ---------- الفوتر ---------- */
.site-footer { background: #0a2a26; color: #c6dcd7; padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer .brand-mark { width: 42px; height: 42px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: #8fb4ad; }
.footer-brand > p { font-size: .9rem; margin-top: 1.2rem; max-width: 300px; color: #9abbb4; }
.footer-col { display: flex; flex-direction: column; gap: .6rem; }
.footer-col h3 { font-size: 1rem; color: #fff; margin-bottom: .5rem; }
.footer-col a { font-size: .88rem; color: #9abbb4; transition: color .2s, padding-inline-start .2s; }
.footer-col a:hover { color: var(--accent); padding-inline-start: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .82rem; color: #87aaa3; }

/* ---------- الأزرار العائمة ---------- */
.fab {
  position: fixed; z-index: 90; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.35rem; box-shadow: 0 12px 30px rgba(0,0,0,.18);
  transition: transform .2s, opacity .2s, bottom .3s;
}
.fab:hover { transform: translateY(-4px) scale(1.04); }
.fab-wa { left: 1.5rem; bottom: 1.5rem; background: #25d366; color: #fff; }
.fab-top { right: 1.5rem; bottom: 1.5rem; background: var(--surface); color: var(--primary-deep); border: 1px solid var(--line); opacity: 0; pointer-events: none; }
.fab-top.visible { opacity: 1; pointer-events: auto; }

/* ---------- النافذة المنبثقة ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 38, 34, .62); backdrop-filter: blur(4px); animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
  position: relative; z-index: 1; width: min(100%, 440px); background: var(--surface);
  border-radius: var(--radius); padding: 2.5rem 2rem 2rem; text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.25); animation: popIn .25s ease;
}
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 34px; height: 34px; border-radius: 10px; background: var(--bg-alt); color: var(--muted); font-size: 1.4rem; line-height: 1; }
.modal-close:hover { background: var(--primary-soft); color: var(--primary-deep); }
.modal-image-wrap { height: 200px; display: grid; place-items: center; margin-bottom: 1rem; }
.modal-image-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; }
.modal-image-wrap img[hidden] { display: none; }
.modal-old-price { color: #9aaba7 !important; font-weight: 700 !important; text-decoration: line-through; margin-top: -.8rem; }
.modal-old-price[hidden] { display: none; }
.modal-badge { display: inline-block; background: var(--primary-soft); color: var(--primary-deep); font-size: .75rem; font-weight: 800; padding: .3rem .8rem; border-radius: 999px; margin-bottom: .8rem; }
.modal-badge[hidden] { display: none; }
.modal-box h3 { font-size: 1.5rem; }
.modal-box > p:not(.modal-price) { color: var(--muted); font-size: .95rem; }
.modal-price { font-size: 1.5rem; font-weight: 900; color: var(--primary-deep); margin: 1.2rem 0; }
.modal-order { width: 100%; }

/* ---------- الاستجابة ---------- */
@media (max-width: 1100px) {
  .hero-grid, .about-grid, .faq-grid { gap: 2.5rem; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .float-one { right: 0; }
  .float-two { left: 0; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: calc(100% + 1px); right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 1rem; box-shadow: var(--shadow-sm);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { padding: .8rem 1rem; }
  .nav-links .nav-cta { margin: .4rem 0 0; text-align: center; }

  .hero { padding: 3.5rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-copy h1 { margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .eyebrow::before { display: none; }
  .hero-visual { min-height: 420px; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .trust-item:nth-child(2) { border-inline-end: 0; }

  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-panel { grid-template-columns: 1fr; padding: 2.5rem 2rem; gap: 2rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .topbar-inner { gap: .5rem 1.2rem; font-size: .75rem; }
  .topbar-inner span:nth-child(2) { display: none; }
  .brand-mark { width: 40px; height: 40px; font-size: 1.3rem; }
  .brand-text strong { font-size: 1.2rem; }

  .hero-copy h1 { font-size: 2.1rem; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 1.5rem; }
  .stat strong { font-size: 1.35rem; }
  .hero-visual { min-height: 380px; }
  .hero-image-wrap { height: 200px; }
  .float-one { top: 2%; right: 0; padding: .7rem .9rem; }
  .float-one p { display: none; }
  .float-two { bottom: 4%; left: 0; }

  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { padding-inline: .3rem; gap: .5rem; flex-direction: column; text-align: center; }
  .trust-icon { width: 38px; height: 38px; }
  .trust-item strong { font-size: .82rem; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .section-head.center { align-items: center; text-align: center; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .category-card { padding: 1.2rem; }
  .category-card .cat-icon { width: 48px; height: 48px; font-size: 1.5rem; }
  .category-card p { display: none; }
  .category-card h3 { font-size: .95rem; min-height: 2.6em; }

  .toolbar { flex-direction: column; align-items: stretch; }
  .search-wrap { max-width: none; }
  .filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .3rem; }
  .filter-btn { white-space: nowrap; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .product-media { height: 120px; }
  .product-fallback { font-size: 3.4rem; }
  .product-body { padding: .9rem; }
  .product-title { font-size: .9rem; }
  .product-desc { display: none; }
  .product-price { font-size: .92rem; }
  .product-btn { width: 34px; height: 34px; }

  .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { min-height: 340px; }
  .about-badge { bottom: 0; left: 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 2rem; }

  .contact-panel { padding: 2rem 1.3rem; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }

  .fab { width: 46px; height: 46px; font-size: 1.2rem; }
  .fab-wa { left: 1rem; bottom: 1rem; }
  .fab-top { right: 1rem; bottom: 1rem; }

  .modal-box { padding: 2rem 1.3rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
