/* ============================================================
   BKS48 — Landing Page فلتر ماء KONKA
   Mobile-First · RTL · ألوان المياه (أزرق مخضر) + الذهبي BKS48
   ============================================================ */

:root {
  --aqua: #0c7c6e;        /* أخضر مائي أساسي */
  --aqua-dark: #075e53;
  --aqua-deep: #04453d;
  --gold: #b98a2f;        /* ذهبي BKS48 */
  --ink: #17312e;         /* نص أساسي */
  --muted: #5f7772;       /* نص ثانوي */
  --line: #dce7e3;        /* حدود */
  --bg-soft: #eef7f4;     /* خلفيات ناعمة */
  --white: #ffffff;
  --font: 'Alexandria', 'Tahoma', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

.section { padding: 84px 0; }

/* ---------- عارض العنوان ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--aqua);
  margin-bottom: 10px;
}

.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-head h2 { font-size: 34px; line-height: 1.35; font-weight: 800; margin: 0; }
.section-head h2 em { color: var(--aqua); font-style: normal; }

/* ---------- شريط التوصيل ---------- */
.shipbar {
  background: var(--aqua-deep);
  color: #dff3ee;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 14px;
  letter-spacing: 0.3px;
}
.shipbar span { margin: 0 6px; opacity: 0.6; }

/* ---------- الرأس ---------- */
.hdr { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.hdr-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--aqua-deep);
  color: var(--white);
  padding: 7px 18px 7px 14px;
  border-radius: 999px;
  font-weight: 800;
}
.logo .badge {
  background: var(--gold);
  color: #1a1406;
  width: 24px; height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
}
.logo .word em { color: var(--gold); font-style: normal; }

.hdr-cta {
  background: var(--aqua);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  transition: background .2s;
}
.hdr-cta:hover { background: var(--aqua-dark); }

/* ---------- البطل Hero ---------- */
.hero { background: linear-gradient(180deg, #e9f6f2 0%, var(--white) 100%); padding: 54px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }

.main-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 22px 55px rgba(7, 94, 83, 0.16);
}
.main-photo img { width: 100%; height: auto; transition: opacity .25s; }
.photo-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gold);
  color: #231a08;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
}

.hero-copy h1 {
  font-size: 42px;
  line-height: 1.3;
  font-weight: 800;
  margin: 6px 0 16px;
}
.hero-desc { color: var(--muted); font-size: 15px; margin-bottom: 22px; }

.price-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.price-main span { font-size: 12px; color: var(--muted); font-weight: 600; }
.price-main strong {
  font-size: 40px;
  font-weight: 800;
  color: var(--aqua-deep);
  display: block;
  line-height: 1.1;
}
.price-main small { font-size: 18px; font-weight: 700; }
.price-tags { display: flex; flex-direction: column; gap: 6px; }
.tag {
  font-size: 11px;
  font-weight: 700;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}

/* ---------- الأزرار ---------- */
.btn-primary {
  display: inline-block;
  background: var(--aqua);
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  padding: 15px 32px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(7, 94, 83, 0.28);
  transition: transform .15s, background .2s;
}
.btn-primary:hover { background: var(--aqua-dark); transform: translateY(-2px); }

.cod-hint { margin-top: 12px; font-size: 12px; color: var(--muted); }

/* ---------- شريط الثقة ---------- */
.trust-bar { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 18px 0; }
.trust-grid div { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 600; }
.trust-grid b { color: var(--aqua); font-size: 16px; }
.trust-grid p { margin: 0; }

/* ---------- المشكلة / الحل ---------- */
.problem { background: var(--white); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.problem-copy h2 { font-size: 32px; font-weight: 800; line-height: 1.35; margin-bottom: 16px; }
.problem-copy h2 em { color: var(--aqua); font-style: normal; }
.problem-copy > p { color: var(--muted); font-size: 15px; }
.problem-list { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.problem-list li {
  background: var(--bg-soft);
  border-right: 4px solid var(--aqua);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
}
.problem-visual { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.problem-visual img { width: 100%; }
.overlay-label {
  position: absolute;
  bottom: 14px; right: 14px;
  background: var(--aqua-deep);
  color: #dff3ee;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
}

/* ---------- المميزات ---------- */
.benefits { background: var(--bg-soft); }
.benefits-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ben-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 18px;
  transition: transform .2s, box-shadow .2s;
}
.ben-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(7, 94, 83, 0.10); }
.ben-icon { font-size: 30px; margin-bottom: 12px; }
.ben-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.ben-card p { font-size: 12px; color: var(--muted); }

/* ---------- كيفاش ---------- */
.how { background: linear-gradient(180deg, var(--white), var(--bg-soft)); }
.steps-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: start; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--aqua);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}
.step-content h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.step-content p { font-size: 13px; color: var(--muted); }
.step-arrow { align-self: center; color: var(--aqua); font-size: 26px; font-weight: 700; padding-top: 14px; }

/* ---------- المعرض ---------- */
.gallery-section { background: var(--white); }
.gallery-hero { max-width: 820px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(7, 94, 83, 0.12); }
.gallery-hero img { width: 100%; }

/* ---------- صور مصغرة Hero ---------- */
.thumb-strip { display: flex; gap: 10px; margin-top: 12px; justify-content: center; }
.thumb {
  width: 64px; height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color .2s, transform .15s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { border-color: var(--aqua); transform: scale(1.08); }
.thumb.active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(185,138,47,0.25); }

/* ---------- معرض الصور (شبكة) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  transition: transform .2s, box-shadow .2s;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(7, 94, 83, 0.12); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(4,69,61,0.85));
  color: #dff3ee;
  font-size: 12px;
  font-weight: 700;
  padding: 28px 14px 10px;
  text-align: center;
}
.gallery-item--wide { grid-column: span 2; }
.gallery-item--wide img { height: 260px; }

/* ---------- مناسب لـ ---------- */
.who-section { background: var(--bg-soft); }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px; text-align: center; }
.who-icon { font-size: 32px; display: block; margin-bottom: 12px; }
.who-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.who-card p { font-size: 12px; color: var(--muted); }

/* ---------- سعر + CTA ---------- */
.price-cta { background: linear-gradient(135deg, var(--aqua-deep) 0%, var(--aqua-dark) 100%); }
.price-cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.price-cta-left .eyebrow { color: var(--gold); }
.price-cta-left h2 { color: var(--white); font-size: 34px; font-weight: 800; line-height: 1.35; margin-bottom: 20px; }
.big-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.big-price strong { color: var(--gold); font-size: 56px; font-weight: 800; line-height: 1; }
.big-price small { font-size: 24px; font-weight: 700; }
.big-price span { color: #bfeee4; font-size: 14px; font-weight: 600; }
.price-perks { display: grid; gap: 8px; }
.price-perks p { color: #e3f6f1; font-size: 14px; font-weight: 600; }

.order-card {
  background: var(--white);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
}
.order-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 4px; }
.order-sub { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.order-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 13px;
}
.order-summary b { font-weight: 700; }
.order-summary strong { color: var(--aqua-dark); font-size: 17px; }

.form-row, .form-row-half { margin-bottom: 14px; }
.form-row label, .form-row-half label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.form-row input, .form-row-half input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  background: var(--white);
  transition: border .2s, box-shadow .2s;
}
.form-row input:focus, .form-row-half input:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(12, 124, 110, 0.14);
}
.form-row-half { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row-half small { color: var(--muted); font-weight: 400; }

.btn-submit {
  width: 100%;
  background: var(--aqua);
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-submit:hover { background: var(--aqua-dark); }
.btn-submit:disabled { opacity: 0.65; cursor: wait; transform: none; }
.form-foot { margin-top: 12px; font-size: 11px; color: var(--muted); text-align: center; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 18px;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  padding-left: 40px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--aqua);
  font-size: 20px;
  font-weight: 800;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 18px 16px; font-size: 13px; color: var(--muted); }
.faq-item p strong { color: var(--aqua-dark); }

/* ---------- CTA السفلي ---------- */
.bottom-cta { background: linear-gradient(180deg, var(--white), var(--bg-soft)); }
.bottom-cta-inner { text-align: center; }
.bottom-cta h2 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.bottom-cta p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

/* ---------- الفوتر ---------- */
footer { background: var(--aqua-deep); color: #bfeee4; padding: 34px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-inner .logo { background: #14564d; }
.footer-inner p { font-size: 12px; margin-top: 8px; opacity: 0.8; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: 13px; font-weight: 600; color: #bfeee4; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }

/* ---------- زر الهاتف الثابت ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--aqua);
  color: var(--white);
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  padding: 15px;
  z-index: 60;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   RESPONSIVE — Mobile First adjustments
   ============================================================ */
@media (max-width: 980px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--wide { grid-column: span 2; }
}

@media (max-width: 820px) {
  .section { padding: 58px 0; }
  .hero-grid, .problem-grid, .price-cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 34px 0 44px; }
  .hero-copy h1 { font-size: 33px; }
  .section-head h2 { font-size: 27px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 16px 0; }
  .form-row-half { grid-template-columns: 1fr; }
  .big-price strong { font-size: 48px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; }
  .gallery-item img { height: 200px; }
  .gallery-item--wide img { height: 220px; }
  .thumb { width: 56px; height: 56px; }
}

/* زر الهاتف يظهر فقط على الشاشات الصغيرة */
@media (max-width: 559px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 58px; }
}
@media (min-width: 560px) {
  .mobile-cta { display: none; }
}