/* =========================================================
   وايت مياه جدة — التصميم الجديد (نوفمبر 2026)
   ملف واحد خفيف، بدون مكتبات خارجية
   ========================================================= */

:root {
  --navy: #0a4d7a;
  --navy-dark: #06324f;
  --navy-deep: #041f33;
  --ink: #12222e;
  --muted: #475569;
  --surface: #f1f6fa;
  --line: #dce5ec;
  --white: #ffffff;
  --cta: #c2410c;
  --cta-dark: #9a3412;
  --wa: #0e7c5a;
  --wa-dark: #0a5f45;
  --gold: #f59e0b;
  --aqua: #0369a1;
  --aqua-light: #38bdf8;
  --aqua-soft: #e0f2fe;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(6, 50, 79, 0.08);
  --shadow-lg: 0 20px 50px rgba(6, 50, 79, 0.16);
  --container: 1200px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
h1, h2, h3, h4 { line-height: 1.35; margin: 0; font-weight: 800; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: 14px;
  font-family: inherit; font-weight: 700; font-size: 18px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-call { background: var(--cta); color: #fff; box-shadow: 0 8px 22px rgba(194, 65, 12, .35); }
.btn-call:hover { background: var(--cta-dark); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: #fff; color: var(--navy-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 16px; border-radius: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-dark); }
.brand img { width: 56px; height: 56px; }
.brand-name { font-weight: 800; font-size: 20px; line-height: 1.2; }
.brand-name small { display: block; font-weight: 600; font-size: 13px; color: var(--muted); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: 16px;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--surface); color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--navy-dark); align-items: center; justify-content: center; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-deep); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(4,31,51,.94) 0%, rgba(4,31,51,.84) 42%, rgba(4,31,51,.38) 68%, rgba(4,31,51,.18) 100%);
}
.hero-inner { position: relative; padding-block: 88px 132px; max-width: 720px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-weight: 700; font-size: 15px;
}
.badge-dot { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.25); }
.hero h1 { font-size: clamp(32px, 5.2vw, 56px); margin-block: 18px 14px; }
.hero-sub { font-size: clamp(18px, 2.2vw, 21px); color: #e2edf6; font-weight: 600; }
.hero-tags { color: #c9dceb; margin-top: 6px; font-size: 17px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 15px; color: #dbe7f1; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .stars { color: var(--gold); display: inline-flex; gap: 2px; }

/* ---------- Stats (overlapping card) ---------- */
.stats { position: relative; z-index: 2; margin-top: -72px; }
.stats-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden;
}
.stat { padding: 26px 18px; text-align: center; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat-number { font-size: 40px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat-label { color: var(--muted); font-weight: 600; font-size: 15px; margin-top: 6px; }
.stats-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Sections ---------- */
.section { padding-block: 84px; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--navy-dark); color: #fff; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { color: var(--aqua); font-weight: 800; font-size: 15px; letter-spacing: .3px; margin-bottom: 8px; display: block; }
.section-dark .eyebrow { color: var(--aqua-light); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); color: var(--navy-dark); }
.section-dark .section-head h2 { color: #fff; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 10px; }
.section-dark .section-head p { color: #c9dceb; }

/* Services */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-body h3 { font-size: 23px; color: var(--ink); }
.service-body p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { background: var(--aqua-soft); color: var(--aqua); font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; padding-top: 6px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); position: relative; }
.step-num {
  width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 22px; margin-bottom: 16px;
}
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p { color: var(--muted); }

/* Why us */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); padding: 22px; }
.feature-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(56,189,248,.14); display: grid; place-items: center; margin-bottom: 14px; color: var(--aqua-light); }
.feature h3 { font-size: 19px; margin-bottom: 6px; color: #fff; }
.feature p { color: #c9dceb; font-size: 16px; }

.cta-band {
  margin-top: 40px; border-radius: var(--radius); padding: 30px 32px;
  background: linear-gradient(135deg, #c2410c, #9a3412); color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.cta-band h3 { font-size: 26px; }
.cta-band p { color: #ffedd5; margin-top: 4px; }
.cta-band .btn { background: #fff; color: var(--cta-dark); }
.cta-band .btn:hover { background: #fff7ed; color: var(--cta-dark); }

/* Areas */
.areas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.areas li {
  display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; font-weight: 700; color: var(--ink);
}
.areas .icon { color: var(--aqua); width: 18px; height: 18px; }
.areas-note { margin-top: 18px; color: var(--muted); }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; margin: 0; }
.card-top { display: flex; align-items: center; gap: 12px; }
.user-img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.user-info h3 { font-size: 18px; }
.stars { color: var(--gold); display: inline-flex; gap: 2px; }
.star-empty { opacity: .3; }
.card-text { color: var(--ink); font-size: 17px; margin: 0; }

.review-form-box { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.review-form-box summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 800; color: var(--navy); display: flex; justify-content: space-between; align-items: center; }
.review-form-box summary::-webkit-details-marker { display: none; }
.review-form-box form { padding: 0 22px 22px; display: grid; gap: 12px; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; color: var(--navy); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: start; }
.contact-info { background: var(--navy-dark); color: #fff; border-radius: var(--radius); padding: 30px; display: grid; gap: 20px; }
.contact-info h3 { font-size: 24px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; flex: none; color: #93c5fd; }
.info-item h4 { font-size: 17px; }
.info-item p, .info-item a { color: #dbe7f1; text-decoration: none; }
.info-item a:hover { color: #fff; text-decoration: underline; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 15px; }
.input {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid #c9d6df; border-radius: 12px; background: #fff; min-height: 48px;
}
.input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 4px rgba(10,77,122,.12); }
textarea.input { resize: vertical; min-height: 120px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c9dceb; padding-top: 64px; position: relative; margin-top: 70px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer-brand img { width: 64px; height: 64px; margin-bottom: 12px; }
.footer-brand p { max-width: 420px; }
.site-footer h4 { color: #fff; font-size: 18px; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #c9dceb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }

/* Mobile action bar */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .areas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .main-nav {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 20px 18px; gap: 2px; }
  .main-nav a { padding: 14px 12px; font-size: 18px; }
  .menu-toggle { display: inline-flex; }
  .header-call-text { display: none; }
  .cards-3, .steps, .reviews-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 17px; }
  .brand-name small { display: none; }
  .hero-inner { padding-block: 56px 112px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .stats-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat-number { font-size: 34px; }
  .section { padding-block: 60px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-band { padding: 24px; }
  .cta-band .btn { width: 100%; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(6,50,79,.12);
  }
  .mobile-bar .btn { min-height: 52px; font-size: 17px; }
}



/* =========================================================
   الحيوية: شريط التقدّم + ظهور العناصر مع السكرول
   ========================================================= */
.progress-bar {
  position: fixed; top: 0; inset-inline: 0; height: 4px; z-index: 70;
  background: linear-gradient(90deg, var(--aqua-light), var(--navy) 60%, var(--cta));
  transform-origin: right center; transform: scaleX(0); pointer-events: none;
}

@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

.hero-media img { animation: heroZoom 1.6s cubic-bezier(.2,.7,.2,1) both; }
.hero-inner > * { animation: heroUp .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-inner > *:nth-child(2) { animation-delay: .08s; }
.hero-inner > *:nth-child(3) { animation-delay: .16s; }
.hero-inner > *:nth-child(4) { animation-delay: .22s; }
.hero-inner > *:nth-child(5) { animation-delay: .3s; }
.hero-inner > *:nth-child(6) { animation-delay: .38s; }
.badge-dot { animation: pulseDot 2s ease-out infinite; }

.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0s);
}
.js .reveal.reveal-zoom { transform: scale(.92); }
.js .reveal.reveal-side { transform: translateY(28px); }
.js .reveal.from-top { transform: translateY(-28px); }
.js .reveal.reveal-zoom.from-top { transform: scale(.92); }
.hero-media { will-change: transform; }
main { overflow-x: clip; }
.js .reveal.in { opacity: 1; transform: none; }

.service-card img { transition: transform .6s ease; }
.service-card:hover img { transform: scale(1.05); }
.areas li { transition: transform .2s, border-color .2s, box-shadow .2s; }
.areas li:hover { transform: translateY(-3px); border-color: var(--aqua-light); box-shadow: var(--shadow); }

/* =========================================================
   نخدم مين
   ========================================================= */
.audience { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.audience li {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 12px;
  text-align: center; font-weight: 800; display: grid; gap: 10px; justify-items: center;
}
.audience .a-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--aqua-soft); color: var(--aqua); display: grid; place-items: center; }
.audience .a-icon .icon { width: 26px; height: 26px; }

/* =========================================================
   فورم طلب الوايت على واتساب
   ========================================================= */
.order-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.order-head {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff; padding: 24px 28px;
  display: flex; align-items: center; gap: 14px;
}
.order-head .wa-badge { width: 52px; height: 52px; border-radius: 16px; background: #25d366; color: #fff; display: grid; place-items: center; flex: none; }
.order-head h3 { font-size: 22px; }
.order-head p { color: #c9dceb; font-size: 15px; }
.order-form { padding: 26px 28px 28px; display: grid; gap: 18px; }
.order-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-label { font-weight: 800; font-size: 15px; display: block; margin-bottom: 8px; }
.field-label .opt { color: var(--muted); font-weight: 600; font-size: 13px; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; border: 0; margin: 0; padding: 0; }
.pills legend { padding: 0; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 16px; border-radius: 12px;
  border: 1.5px solid #c9d6df; font-weight: 700; color: var(--ink); background: #fff; transition: all .15s;
}
.pill input:checked + span { border-color: var(--navy); background: var(--aqua-soft); color: var(--navy-dark); box-shadow: inset 0 0 0 1px var(--navy); }
.pill input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid #c9d6df; border-radius: 12px; overflow: hidden; }
.stepper button { width: 48px; height: 48px; border: 0; background: var(--surface); font-size: 22px; font-weight: 800; color: var(--navy); cursor: pointer; font-family: inherit; }
.stepper button:hover { background: var(--aqua-soft); }
.stepper output { min-width: 56px; text-align: center; font-weight: 800; font-size: 20px; }

.loc-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 16px; border-radius: 12px;
  border: 1.5px dashed var(--aqua); background: var(--aqua-soft); color: var(--aqua); font-weight: 800; cursor: pointer; font-family: inherit; font-size: 15px;
}
.loc-btn[data-state="ok"] { border-style: solid; background: #dcfce7; border-color: #16a34a; color: #166534; }
.loc-status { font-size: 14px; color: var(--muted); margin-top: 6px; }

.order-submit { width: 100%; min-height: 58px; font-size: 19px; background: #25d366; color: #073b25; }
.order-submit:hover { background: #1ebe5a; color: #052e1c; }
.order-note { text-align: center; color: var(--muted); font-size: 14px; }
.order-error { color: #b91c1c; font-weight: 700; font-size: 14px; display: none; }
.order-error.show { display: block; }

@media (max-width: 1024px) { .audience { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-row { grid-template-columns: minmax(0, 1fr); }
  .order-form { padding: 20px; }
  .order-head { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .progress-bar { display: none; }
}

/* =========================================================
   الفوتر: موجة متحركة + ظهور الأعمدة
   ========================================================= */
.footer-wave { position: absolute; left: 0; right: 0; top: -69px; height: 70px; overflow: hidden; pointer-events: none; }
.wave-layer { position: absolute; left: -10%; right: -10%; bottom: 0; height: 100%; will-change: transform; }
.wave-layer-back { bottom: 6px; }
.footer-wave svg { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; animation: waveSlide 14s linear infinite; }
.footer-wave .wave-back { animation-duration: 22s; animation-direction: reverse; }
@keyframes waveSlide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.footer-brand img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.footer-brand img:hover { transform: rotate(-8deg) scale(1.08); }
.social a { transition: transform .2s, background .2s; }
.social a:hover { transform: translateY(-4px); background: var(--aqua); color: #fff; }
.site-footer ul a { display: inline-block; transition: transform .2s, color .2s; }
.site-footer ul a:hover { transform: translateX(-6px); }
@media (prefers-reduced-motion: reduce) { .footer-wave svg { animation: none !important; } }

/* حركة مربوطة بالسكرول */
.footer-inner { will-change: transform, opacity; }
.service-card .img-wrap { overflow: hidden; }
.service-card .img-wrap img { transform: scale(1.12); will-change: transform; }
.service-card:hover .img-wrap img { transform: scale(1.12); }
.section-head h2 { will-change: transform; }

/* =========================================================
   الصفحات الداخلية
   ========================================================= */
.page-hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-deep); }
.page-hero .hero-inner { padding-block: 64px 72px; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 48px); margin-block: 14px 10px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 15px; color: #c9dceb; }
.breadcrumb li + li::before { content: "‹"; margin-inline-end: 6px; color: #8fb3cc; }
.breadcrumb a { color: #fff; text-decoration: none; font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }

.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; align-items: center; }
.story-text p { font-size: 19px; color: var(--ink); line-height: 1.9; }
.story-card { background: var(--navy-dark); color: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; box-shadow: var(--shadow-lg); }
.story-card .row { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.story-card .row .info-icon { width: 42px; height: 42px; }

.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.features-light .feature { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.features-light .feature h3 { color: var(--ink); }
.features-light .feature p { color: var(--muted); }
.features-light .feature-icon { background: var(--aqua-soft); color: var(--aqua); }

.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.error-code { font-size: clamp(90px, 18vw, 160px); font-weight: 800; color: var(--navy); line-height: 1; }

@media (max-width: 900px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .cards-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 641px) and (max-width: 900px) { .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =========================================================
   أزرار الأحياء على واتساب
   ========================================================= */
.areas li { padding: 0; border: 0; background: none; }
.area-btn {
  display: flex; align-items: center; gap: 8px; width: 100%; min-height: 54px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px;
  font-weight: 700; color: var(--ink); text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
}
.area-btn .icon { color: var(--aqua); width: 18px; height: 18px; flex: none; }
.area-name { flex: 1; }
.area-cta {
  display: inline-flex; align-items: center; gap: 4px; flex: none;
  background: #25d366; color: #073b25; font-size: 13px; font-weight: 800;
  padding: 4px 9px; border-radius: 999px;
}
.wa-ico { width: 14px; height: 14px; }
.area-btn:hover, .area-btn:focus-visible {
  transform: translateY(-3px); border-color: #25d366; background: #f0fdf4; color: var(--ink);
  box-shadow: 0 10px 24px rgba(37, 211, 102, .18);
}
.area-btn:hover .area-cta { background: #1ebe5a; }
.areas li:hover { transform: none; box-shadow: none; }
.areas-note { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  background: #fff; border: 1px dashed var(--aqua); border-radius: 16px; padding: 16px 20px; color: var(--ink); font-weight: 700; }
.areas-note-btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) { .areas-note-btns, .areas-note-btns .btn { width: 100%; } }
@media (max-width: 640px) {
  .area-btn { padding: 10px; gap: 6px; font-size: 15px; }
  .area-cta { font-size: 0; width: 30px; height: 30px; padding: 0; justify-content: center; }
  .area-cta .wa-ico { width: 17px; height: 17px; }
}

/* جدول المقارنة + فورم السعر */
.compare { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 16px 18px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy-dark); color: #fff; font-size: 18px; }
.compare tbody th { color: var(--navy-dark); width: 26%; background: var(--surface); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.quote-card { align-self: start; }

/* كروت اختيار حجم الوايت */
.size-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.size-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 26px;
  background: #fff; border: 2px solid var(--line); border-radius: 22px; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.size-card:hover { transform: translateY(-6px); border-color: var(--navy); box-shadow: var(--shadow-lg); color: var(--ink); }
.size-badge {
  align-self: flex-start; background: var(--navy); color: #fff; font-weight: 800; font-size: 26px;
  padding: 6px 18px; border-radius: 14px; line-height: 1.3;
}
.size-badge.small { background: var(--aqua); }
.size-card h3 { font-size: 26px; color: var(--navy-dark); }
.size-card p { color: var(--muted); font-size: 18px; }
.size-link { margin-top: auto; font-weight: 800; color: var(--cta); padding-top: 6px; }
.size-card:hover .size-link { text-decoration: underline; }
.size-img { display: block; width: calc(100% + 56px); max-width: none; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin: -30px -28px 6px; border-radius: 20px 20px 0 0; }
@media (max-width: 640px) {
  .size-cards { grid-template-columns: minmax(0, 1fr); }
  .hero-media::after { background: linear-gradient(180deg, rgba(4,31,51,.9) 0%, rgba(4,31,51,.82) 60%, rgba(4,31,51,.7) 100%); }
}
.nav-mobile-only { display: none; }
@media (max-width: 900px) { .nav-mobile-only { display: block; } }
