/* ==========================================================================
   NABA CLEAN — Landing Page CSS (v2 — polished)
   ألوان الهوية مستخرجة من اللوجو
   ========================================================================== */

:root {
  --blue:       #49A3D7;
  --blue-dark:  #1F6F9C;
  --blue-mid:   #2E7FAE;
  --blue-light: #EAF6FD;
  --green:      #5AA93E;
  --green-dark: #3F8C2C;
  --yellow:     #FBCD08;
  --yellow-dark:#D4A800;
  --black:      #0F172A;
  --gray:       #475569;
  --gray-light: #F1F5F9;
  --white:      #FFFFFF;
  --radius:     14px;
  --shadow:     0 4px 24px rgba(15, 23, 42, .08);
  --shadow-lg:  0 12px 40px rgba(31, 111, 156, .14);
  --transition: .22s ease;
  --container:  1140px;
  --font:       "Cairo", Tahoma, "Segoe UI", Arial, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  direction: rtl;
  text-align: right;
  color: var(--black);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ── Sections ── */
.section { padding-block: 4.5rem; }
.section--gray { background: var(--gray-light); }
.section--soft {
  background: linear-gradient(180deg, var(--blue-light) 0%, #f8fbfe 100%);
}

.section-label {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: .82rem;
  font-weight: 700;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 800;
  margin-bottom: .5rem;
  line-height: 1.3;
  color: var(--black);
}
.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: linear-gradient(90deg, #163a52 0%, var(--blue-dark) 100%);
  box-shadow: 0 2px 16px rgba(0,0,0,.22);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .55rem;
}
.header-logo img {
  height: 88px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}
.header-phone {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.phone-num {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}
.phone-num span {
  opacity: .7;
  font-size: .8rem;
  display: block;
  font-weight: 500;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .65rem 1.35rem;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  min-height: 48px;
}
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn i { font-size: 1.05em; }

.btn-wa {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-wa:hover { background: var(--green-dark); border-color: var(--green-dark); }

.btn-call {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-call:hover { background: rgba(255,255,255,.12); }

.btn-yellow {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  font-size: 1.05rem;
  padding: .8rem 1.85rem;
}
.btn-yellow:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(251,205,8,.4);
}

.btn-lg {
  font-size: 1.1rem;
  padding: .95rem 2.2rem;
  min-height: 56px;
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--blue-dark); }

.btn-outline-blue {
  background: transparent;
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}
.btn-outline-blue:hover { background: var(--blue-dark); color: var(--white); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background: linear-gradient(145deg, #163a52 0%, var(--blue-dark) 45%, #1a5a80 100%);
  color: var(--white);
  padding-block: 4.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(73,163,215,.25) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(90,169,62,.12) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(6px);
}
.hero-badge i { color: var(--yellow); }
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.28;
  margin-bottom: 1.1rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}
.hero-services {
  font-size: 1rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 1rem;
  line-height: 2;
  font-weight: 500;
}
.hero-tagline {
  font-size: 1.08rem;
  color: rgba(255,255,255,.92);
  margin-bottom: 2rem;
  font-weight: 500;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-img img {
  max-height: 360px;
  filter: drop-shadow(0 10px 36px rgba(0,0,0,.4));
}

/* ── Trust bar ── */
.trust-bar {
  background: var(--yellow);
  padding-block: 1rem;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem 2.2rem;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .93rem;
  color: var(--black);
}
.trust-item i {
  font-size: 1.05rem;
  color: var(--blue-dark);
}

/* ==========================================================================
   WHY US
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid #e2eef8;
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--blue-light), #d6edf9);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.why-text strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: .25rem;
  font-weight: 800;
}
.why-text span { font-size: .9rem; color: var(--gray); font-weight: 500; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #e2eef8;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--blue-light), #d0eaf8);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: .65rem;
  color: var(--blue-dark);
}
.service-card p {
  font-size: .92rem;
  color: var(--gray);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.35rem;
  font-weight: 500;
}
.service-card ul {
  font-size: .88rem;
  color: var(--gray);
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .85rem;
  font-weight: 500;
}
.service-card ul li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-left: .4rem;
  vertical-align: middle;
}
.service-card .btn { width: 100%; justify-content: center; }

/* ==========================================================================
   HOW WE WORK — refined light design
   ========================================================================== */
#how-it-works {
  background: linear-gradient(180deg, #f0f8fc 0%, #e4f2fa 50%, #f7fbfd 100%);
  color: var(--black);
}
#how-it-works .section-label {
  background: rgba(31, 111, 156, .12);
  color: var(--blue-dark);
}
#how-it-works .section-sub { color: var(--gray); }

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 170px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1rem 1.35rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(73, 163, 215, .18);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step:not(:last-child)::after {
  content: '\f060';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: -1.05rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--blue);
  z-index: 2;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-mid), var(--blue-dark));
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  box-shadow: 0 6px 18px rgba(31, 111, 156, .35);
  border: 3px solid var(--yellow);
}
.step p {
  font-size: .92rem;
  color: var(--black);
  line-height: 1.5;
  font-weight: 700;
}
.how-cta {
  margin-top: 2.75rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   TRUST POINTS
   ========================================================================== */
.trust-points {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.trust-point {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: 1.02rem;
  font-weight: 700;
  background: var(--white);
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #e2eef8;
}
.trust-point .check {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue), var(--blue-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
  transition: transform var(--transition);
}
.review-card:hover { transform: translateY(-3px); }
.stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: .85rem;
  letter-spacing: .08em;
}
.stars i { margin-left: 2px; }
.review-card blockquote {
  font-size: .95rem;
  color: var(--gray);
  line-height: 1.7;
  font-weight: 500;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.faq-list details {
  background: var(--white);
  border: 1px solid #ddeaf5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.faq-list details[open] { border-color: var(--blue); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.35rem;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  gap: .5rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '\f067';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: .9rem;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-list details[open] summary::after {
  content: '\f068';
}
.faq-list .faq-body {
  padding: 0 1.35rem 1.15rem;
  color: var(--gray);
  font-size: .95rem;
  line-height: 1.75;
  font-weight: 500;
}

/* ==========================================================================
   CONVERSION CHIPS
   ========================================================================== */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.75rem;
  justify-content: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--blue-light);
  color: var(--blue-dark);
  border: 1px solid #bde0f5;
  border-radius: 50px;
  padding: .45rem 1.1rem;
  font-size: .9rem;
  font-weight: 700;
}
.chip i { font-size: .85rem; }

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, #0f2a3c 0%, var(--blue-dark) 100%);
  color: var(--white);
  text-align: center;
  padding-block: 4.75rem;
}
.cta-section h2 {
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 900;
  margin-bottom: .85rem;
}
.cta-section p {
  color: rgba(255,255,255,.85);
  font-size: 1.08rem;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-inline: auto;
  font-weight: 500;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #071a28;
  color: rgba(255,255,255,.75);
  padding-block: 2.75rem 0;
  font-size: .92rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.footer-logo img { height: 80px; }
.footer-info h3 {
  color: var(--white);
  font-size: 1.12rem;
  margin-bottom: .5rem;
  font-weight: 800;
}
.footer-info p { margin-bottom: .3rem; font-weight: 500; }
.footer-info a { color: var(--blue); font-weight: 600; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.1rem 0 1.25rem;
}

/* ── M2 Signature ── */
.m2-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 0.2px;
  text-align: center;
}
.m2-signature__mark {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: #55c8e8;
  filter: drop-shadow(0 0 6px rgba(85, 200, 232, 0.55));
  animation: m2-sig-pulse 3.4s ease-in-out infinite;
}
.m2-signature__mark svg {
  width: 100%;
  height: 100%;
  display: block;
}
@keyframes m2-sig-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.9; }
  50% { transform: scale(1.12) rotate(45deg); opacity: 1; }
}
.m2-signature__logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.m2-signature__logo:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.m2-signature__logo img {
  height: 18px !important;
  width: auto !important;
  max-width: 52px !important;
  display: block;
  border-radius: 4px;
  object-fit: contain;
}
.m2-signature__tag {
  color: #fff;
  font-size: 13px;
}
.m2-signature__tag strong {
  color: #fff;
  font-weight: 700;
}
.m2-signature__year {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

/* ==========================================================================
   MOBILE STICKY CTA
   ========================================================================== */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  height: 60px;
  box-shadow: 0 -3px 16px rgba(0,0,0,.22);
}
.mobile-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  height: 100%;
  font-family: var(--font);
}
.mobile-cta .mcta-wa  { background: var(--green); }
.mobile-cta .mcta-tel { background: var(--blue-dark); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .step:not(:last-child)::after { display: none; }
  .steps { gap: 1rem; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .hero { padding-block: 3.25rem 2.75rem; }
  .hero h1 { font-size: clamp(1.55rem, 7vw, 2.05rem); }
  .header-logo img { height: 72px; }
  .header-phone .phone-num { display: none; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 60px; }
  .section { padding-block: 3rem; }
  .step { width: calc(50% - .5rem); min-width: 140px; }
}

@media (max-width: 575px) {
  .m2-signature { gap: 8px 10px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; }
  .how-cta { flex-direction: column; align-items: center; }
  .how-cta .btn { width: 100%; max-width: 320px; }
  .trust-bar-inner { flex-direction: column; gap: .55rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-info { text-align: center; }
  .header-logo img { height: 64px; }
}
