/* =====================================================================
   لمسة نظافة — Lamsat Nazafa
   Premium static landing page — Arabic RTL
   Palette: Red / Blue / Black
   ===================================================================== */

/* ----------------------------- Tokens ------------------------------ */
:root {
  /* Brand palette */
  --black:        #0A0A0F;
  --black-2:      #12121A;
  --black-3:      #1C1C28;
  --ink:          #0F172A;
  --red:          #E11D2A;
  --red-2:        #B91C1C;
  --red-3:        #F23A45;
  --blue:         #1E40AF;
  --blue-2:       #2563EB;
  --blue-3:       #3B82F6;
  --whats:        #25D366;
  --whats-2:      #128C7E;

  /* Neutrals */
  --white:        #FFFFFF;
  --paper:        #FAFAF7;
  --gray-50:      #F8FAFC;
  --gray-100:     #F1F5F9;
  --gray-200:     #E5E7EB;
  --gray-300:     #D1D5DB;
  --gray-400:     #94A3B8;
  --gray-500:     #64748B;
  --gray-600:     #475569;
  --gray-700:     #334155;
  --gray-800:     #1E293B;
  --gray-900:     #0F172A;

  --line:         rgba(15, 23, 42, 0.08);
  --line-2:       rgba(255, 255, 255, 0.10);

  /* Type */
  --font-ar: "Tajawal", "Segoe UI", Tahoma, sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(10,10,15,.06), 0 1px 3px rgba(10,10,15,.08);
  --sh-2: 0 10px 30px -12px rgba(10,10,15,.18), 0 4px 10px -6px rgba(10,10,15,.10);
  --sh-3: 0 30px 60px -20px rgba(10,10,15,.35), 0 12px 24px -16px rgba(10,10,15,.18);
  --sh-red: 0 14px 30px -10px rgba(225,29,42,.45);
  --sh-blue: 0 14px 30px -10px rgba(37,99,235,.45);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ----------------------------- Reset ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-ar);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--red); color: #fff; }

/* --------------------------- Typography ---------------------------- */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--black);
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

p { color: var(--gray-700); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--gray-600); line-height: 1.85; }

/* --------------------------- Layout -------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.section-dark { background: var(--black); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.72); }

.section-ink { background: linear-gradient(180deg, var(--black) 0%, var(--black-2) 100%); color: var(--white); }

.bg-paper { background: var(--paper); }
.bg-gray { background: var(--gray-50); }

/* Section header */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--red);
  display: inline-block;
}
.section-dark .eyebrow { color: var(--red-3); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow {
  padding: 6px 14px;
  background: rgba(225,29,42,.08);
  border-radius: var(--r-pill);
}
.section-dark .section-head.center .eyebrow { background: rgba(242,58,69,.12); }

.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.05rem; }

/* --------------------------- Buttons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-2) 100%);
  color: #fff;
  box-shadow: var(--sh-red);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(225,29,42,.6); }

.btn-blue {
  background: linear-gradient(135deg, var(--blue-2) 0%, var(--blue) 100%);
  color: #fff;
  box-shadow: var(--sh-blue);
}
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(37,99,235,.6); }

.btn-whats {
  background: linear-gradient(135deg, var(--whats) 0%, var(--whats-2) 100%);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.45);
}
.btn-whats:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(37,211,102,.6); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.28);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--gray-300);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

.btn-dark {
  background: var(--black);
  color: #fff;
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }

.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* --------------------------- Header -------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 18px;
  transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(10,10,15,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 12px;
  box-shadow: 0 10px 30px -16px rgba(0,0,0,.6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 46px; height: 46px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255,255,255,.06);
  padding: 4px;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name strong { color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-name span { color: rgba(255,255,255,.6); font-size: .72rem; font-weight: 500; letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: rgba(255,255,255,.78);
  font-weight: 600;
  font-size: .96rem;
  padding: 9px 14px;
  border-radius: 10px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav a.active { color: #fff; }
.nav a.active::after {
  content:""; display:block; height:2px; width: 22px; margin: 4px auto 0;
  background: linear-gradient(90deg, var(--red), var(--blue-3));
  border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: #fff;
  align-items: center; justify-content: center;
}
.menu-toggle span {
  position: relative; width: 20px; height: 2px; background: #fff; border-radius: 2px;
  transition: .3s var(--ease);
}
.menu-toggle span::before, .menu-toggle span::after {
  content:""; position:absolute; left:0; width:20px; height:2px; background:#fff; border-radius:2px;
  transition: .3s var(--ease);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 360px);
  background: var(--black);
  z-index: 200;
  transform: translateX(100%);
  transition: transform .4s var(--ease-out);
  padding: 90px 28px 40px;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: -30px 0 60px rgba(0,0,0,.4);
}
[dir="rtl"] .mobile-nav { inset: 0 auto 0 0; transform: translateX(-100%); }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  color: rgba(255,255,255,.85);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 14px 16px;
  border-radius: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav a:hover { background: rgba(255,255,255,.05); color: #fff; }
.mobile-nav .btn { margin-top: 18px; }

.scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0; visibility: hidden;
  transition: .3s var(--ease);
}
.scrim.open { opacity: 1; visibility: visible; }

/* --------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  color: #fff;
  padding-top: 90px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("images/background.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,15,.78) 0%, rgba(10,10,15,.55) 40%, rgba(10,10,15,.92) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(225,29,42,.18), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(37,99,235,.18), transparent 55%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 50px;
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-pill);
  font-size: .85rem; font-weight: 600;
  color: rgba(255,255,255,.9);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--whats); box-shadow: 0 0 0 4px rgba(37,211,102,.25); }

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 18px;
  font-weight: 900;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--red-3), var(--red));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 .accent-blue {
  background: linear-gradient(135deg, var(--blue-3), var(--blue-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead { color: rgba(255,255,255,.82); margin-bottom: 30px; max-width: 540px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat .num {
  font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1;
}
.hero-stat .num .plus { color: var(--red-3); }
.hero-stat .lbl { color: rgba(255,255,255,.62); font-size: .85rem; margin-top: 6px; }

/* Hero visual card */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-card {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--sh-3);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(circle at 80% 0%, rgba(225,29,42,.25), transparent 50%);
}
.hero-card-top { position: relative; z-index: 2; }
.hero-card-top .tag {
  display:inline-block; padding:5px 12px; background: rgba(225,29,42,.18);
  color: var(--red-3); border-radius: var(--r-pill); font-size:.78rem; font-weight:700; margin-bottom: 12px;
}
.hero-card-top h3 { color:#fff; font-size: 1.35rem; margin-bottom: 6px; }
.hero-card-top p { color: rgba(255,255,255,.7); font-size: .92rem; }
.hero-card-feature {
  position: relative; z-index: 2;
  display: grid; gap: 12px;
}
.hero-card-feature .row {
  display:flex; align-items:center; gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
}
.hero-card-feature .ic {
  width: 38px; height: 38px; border-radius: 10px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff; flex: 0 0 auto;
}
.hero-card-feature .ic.blue { background: linear-gradient(135deg, var(--blue-2), var(--blue)); }
.hero-card-feature .ic svg { width: 20px; height: 20px; }
.hero-card-feature .row strong { color:#fff; font-size:.95rem; display:block; }
.hero-card-feature .row span { color: rgba(255,255,255,.6); font-size:.82rem; }

/* --------------------------- About --------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
.about-media { position: relative; }
.about-media .frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 4/5;
  box-shadow: var(--sh-3);
  position: relative;
}
.about-media .frame img { width:100%; height:100%; object-fit: cover; }
.about-media .badge-float {
  position: absolute;
  bottom: -24px; inset-inline-start: -24px;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 18px 22px;
  box-shadow: var(--sh-2);
  display: flex; align-items: center; gap: 14px;
  z-index: 2;
}
.about-media .badge-float .ic {
  width: 50px; height: 50px; border-radius: 14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff;
}
.about-media .badge-float .ic svg { width:26px; height:26px; }
.about-media .badge-float strong { display:block; font-size: 1.5rem; color: var(--black); font-weight: 800; line-height: 1; }
.about-media .badge-float span { color: var(--gray-500); font-size: .85rem; }

.about-copy h2 { margin-bottom: 18px; }
.about-copy p { margin-bottom: 16px; }

.about-badges {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 26px;
}
.about-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-1);
  font-weight: 700; color: var(--ink);
  font-size: .92rem;
}
.about-badge .ic { width: 26px; height: 26px; border-radius: 8px; display:grid; place-items:center; color:#fff; }
.about-badge .ic.red { background: linear-gradient(135deg, var(--red), var(--red-2)); }
.about-badge .ic.blue { background: linear-gradient(135deg, var(--blue-2), var(--blue)); }
.about-badge .ic.black { background: var(--black); }
.about-badge .ic svg { width: 16px; height: 16px; }

/* --------------------------- Services ------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content:""; position:absolute; top:0; inset-inline-start:0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--red), var(--blue-2));
  transform: scaleX(0); transform-origin: inline-start;
  transition: transform .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--black), var(--black-3));
  position: relative;
}
.service-icon svg { width: 30px; height: 30px; position: relative; z-index: 2; }
.service-icon::after {
  content:""; position:absolute; inset:0; border-radius:16px;
  background: linear-gradient(135deg, var(--red), var(--blue-2));
  opacity: 0; transition: opacity .35s var(--ease);
}
.service-card:hover .service-icon::after { opacity: 1; }
.service-card:hover .service-icon { background: transparent; }

.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card p { color: var(--gray-600); font-size: .96rem; margin-bottom: 18px; }
.service-card .num {
  position: absolute; top: 24px; inset-inline-end: 26px;
  font-size: 3rem; font-weight: 900;
  color: var(--gray-100);
  line-height: 1; z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }

.service-card.featured {
  background: linear-gradient(160deg, var(--black) 0%, var(--black-3) 100%);
  color: #fff;
  border-color: transparent;
}
.service-card.featured h3 { color: #fff; }
.service-card.featured p { color: rgba(255,255,255,.7); }
.service-card.featured .num { color: rgba(255,255,255,.06); }
.service-card.featured .service-icon { background: linear-gradient(135deg, var(--red), var(--red-2)); }
.service-card.featured::before { background: linear-gradient(90deg, var(--red-3), var(--red)); }

/* --------------------------- How it works -------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 50px;
  inset-inline-start: 16%;
  inset-inline-end: 16%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gray-300) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step {
  position: relative;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 26px 32px;
  z-index: 1;
}
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 22px;
  font-size: 1.6rem; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  box-shadow: var(--sh-red);
  position: relative;
}
.step:nth-child(2) .step-num { background: linear-gradient(135deg, var(--blue-2), var(--blue)); box-shadow: var(--sh-blue); }
.step:nth-child(3) .step-num { background: linear-gradient(135deg, var(--black), var(--black-3)); box-shadow: var(--sh-2); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--gray-600); font-size: .96rem; }

/* --------------------------- Articles ------------------------------ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.article-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  overflow: hidden;
  position: relative;
}
.article-thumb img { width:100%; height:100%; object-fit:cover; transition: transform .5s var(--ease); }
.article-card:hover .article-thumb img { transform: scale(1.06); }
.article-cat {
  position: absolute; top: 14px; inset-inline-start: 14px;
  padding: 6px 12px;
  background: rgba(10,10,15,.85);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .04em;
}
.article-body { padding: 24px 24px 28px; display:flex; flex-direction:column; flex: 1; }
.article-meta { display: flex; align-items: center; gap: 10px; color: var(--gray-400); font-size: .82rem; margin-bottom: 12px; }
.article-meta .dot { width:3px; height:3px; border-radius:50%; background: var(--gray-300); }
.article-body h3 { font-size: 1.18rem; margin-bottom: 10px; line-height: 1.35; }
.article-body p { color: var(--gray-600); font-size: .94rem; flex: 1; }
.article-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--red); font-weight: 700; font-size: .92rem;
  margin-top: 16px;
  transition: gap .25s var(--ease);
}
.article-card:hover .article-link { gap: 12px; }
.article-link svg { width: 16px; height: 16px; }

/* --------------------------- Quote form ---------------------------- */
.quote-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-3);
  border: 1px solid var(--line);
}
.quote-side {
  background: linear-gradient(160deg, var(--black) 0%, var(--black-3) 100%);
  color: #fff;
  padding: clamp(36px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}
.quote-side::before {
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(circle at 90% 10%, rgba(225,29,42,.22), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(37,99,235,.22), transparent 45%);
}
.quote-side > * { position: relative; z-index: 1; }
.quote-side h2 { color:#fff; margin-bottom: 14px; }
.quote-side p { color: rgba(255,255,255,.72); margin-bottom: 30px; }
.quote-benefits { display: grid; gap: 14px; margin-top: 24px; }
.quote-benefit { display:flex; align-items:center; gap: 12px; color: rgba(255,255,255,.9); font-weight: 600; font-size: .96rem; }
.quote-benefit .ck { width: 26px; height: 26px; border-radius: 50%; background: rgba(37,211,102,.18); color: var(--whats); display:grid; place-items:center; flex:0 0 auto; }
.quote-benefit .ck svg { width: 14px; height: 14px; }

.quote-form { padding: clamp(36px, 5vw, 56px); }
.quote-form h3 { margin-bottom: 6px; }
.quote-form > p { color: var(--gray-500); margin-bottom: 26px; font-size: .94rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .88rem; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  background: var(--gray-50);
  font-size: .96rem;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  font-family: var(--font-ar);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(225,29,42,.1);
}
.field textarea { resize: vertical; min-height: 92px; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: left 16px center; padding-inline-start: 16px; padding-inline-end: 40px; }

.form-note { font-size: .82rem; color: var(--gray-400); margin-top: 14px; text-align: center; }

/* --------------------------- Contact / Footer ---------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: start;
}
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.contact-card:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); transform: translateY(-2px); }
.contact-card .ic {
  width: 52px; height: 52px; border-radius: 14px;
  display:grid; place-items:center; color:#fff; flex:0 0 auto;
}
.contact-card .ic.whats { background: linear-gradient(135deg, var(--whats), var(--whats-2)); }
.contact-card .ic.phone { background: linear-gradient(135deg, var(--red), var(--red-2)); }
.contact-card .ic.mail { background: linear-gradient(135deg, var(--blue-2), var(--blue)); }
.contact-card .ic.pin { background: linear-gradient(135deg, var(--black-3), var(--black)); }
.contact-card .ic svg { width: 24px; height: 24px; }
.contact-card .meta strong { display:block; color:#fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 3px; }
.contact-card .meta span { color: rgba(255,255,255,.6); font-size: .9rem; }
.contact-card .meta a { color: rgba(255,255,255,.92); }
.contact-card .meta a:hover { color: #fff; }

.map-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 100%;
  min-height: 320px;
  position: relative;
}
.map-card iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: grayscale(.3) invert(.92) contrast(.9); }

.footer {
  background: var(--black);
  color: rgba(255,255,255,.7);
  padding-top: clamp(56px, 7vw, 80px);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .92rem; margin-bottom: 20px; max-width: 320px; }
.footer-social { display:flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.06);
  display:grid; place-items:center; color: rgba(255,255,255,.8);
  transition: .25s var(--ease);
}
.footer-social a:hover { background: var(--red); color:#fff; transform: translateY(-2px); }
.footer-social a svg { width: 18px; height: 18px; }

.footer-col h4 { color:#fff; font-size: 1rem; margin-bottom: 18px; font-weight: 700; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.65); font-size: .92rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--red-3); }

.footer-contact li { display:flex; align-items:flex-start; gap: 10px; color: rgba(255,255,255,.65); font-size: .92rem; margin-bottom: 12px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--red-3); flex: 0 0 auto; margin-top: 3px; }

.footer-bottom {
  display:flex; align-items:center; justify-content:space-between; gap: 16px;
  padding-block: 24px;
  flex-wrap: wrap;
}
.footer-bottom p { color: rgba(255,255,255,.5); font-size: .86rem; }
.footer-bottom .links { display:flex; gap: 18px; }
.footer-bottom .links a { color: rgba(255,255,255,.5); font-size: .86rem; }
.footer-bottom .links a:hover { color: #fff; }

/* --------------------------- Sticky mobile bar --------------------- */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: rgba(10,10,15,.95);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 10px 14px;
  display: none;
  gap: 10px;
}
.sticky-bar .btn { flex: 1; padding-block: 13px; }

/* --------------------------- Article page -------------------------- */
.article-hero {
  background: var(--black);
  color: #fff;
  padding-top: 140px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.article-hero::after {
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(225,29,42,.18), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(37,99,235,.18), transparent 50%);
}
.article-hero .container { position: relative; z-index: 1; max-width: 820px; }
.article-hero .crumbs { display:flex; align-items:center; gap: 8px; color: rgba(255,255,255,.5); font-size: .85rem; margin-bottom: 18px; flex-wrap: wrap; }
.article-hero .crumbs a { color: rgba(255,255,255,.7); }
.article-hero .crumbs a:hover { color: #fff; }
.article-hero .crumbs .sep { opacity: .5; }
.article-hero .cat {
  display:inline-block; padding: 6px 14px; background: rgba(225,29,42,.18);
  color: var(--red-3); border-radius: var(--r-pill); font-size: .8rem; font-weight: 700; margin-bottom: 16px;
}
.article-hero h1 { color: #fff; margin-bottom: 18px; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.article-hero .meta { display:flex; align-items:center; gap: 12px; color: rgba(255,255,255,.6); font-size: .9rem; }

.article-body-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 50px;
  align-items: start;
  padding-block: clamp(50px, 6vw, 80px);
}
.article-content { max-width: 720px; }
.article-content .lead-para {
  font-size: 1.18rem; line-height: 1.85; color: var(--ink);
  font-weight: 500; margin-bottom: 28px; padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.article-content h2 { margin: 36px 0 14px; font-size: 1.5rem; }
.article-content h3 { margin: 28px 0 12px; font-size: 1.2rem; }
.article-content p { margin-bottom: 18px; color: var(--gray-700); line-height: 1.9; }
.article-content ul { margin: 0 0 22px; padding-inline-start: 0; display: grid; gap: 10px; }
.article-content ul li { position: relative; padding-inline-start: 30px; color: var(--gray-700); line-height: 1.8; }
.article-content ul li::before {
  content:""; position:absolute; inset-inline-start: 6px; top: 10px;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--blue-2));
}
.article-content blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  background: var(--gray-50);
  border-inline-start: 4px solid var(--red);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 600;
}
.article-content .figure {
  margin: 30px 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--gray-100);
}
.article-content .figure img { width: 100%; }
.article-content .figure figcaption { padding: 12px 16px; font-size: .85rem; color: var(--gray-500); text-align: center; }

.article-cta-box {
  margin: 36px 0;
  background: linear-gradient(160deg, var(--black) 0%, var(--black-3) 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.article-cta-box::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(circle at 90% 0%, rgba(225,29,42,.25), transparent 50%);
}
.article-cta-box > * { position: relative; z-index: 1; }
.article-cta-box h3 { color:#fff; margin-bottom: 6px; }
.article-cta-box p { color: rgba(255,255,255,.7); font-size: .92rem; }

.article-sidebar {
  position: sticky; top: 100px;
  display: grid; gap: 22px;
}
.sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.sidebar-card h4 { font-size: 1.05rem; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sidebar-mini { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sidebar-mini:last-child { border-bottom: 0; padding-bottom: 0; }
.sidebar-mini .thumb { width: 70px; height: 56px; border-radius: 10px; overflow:hidden; flex: 0 0 auto; background: var(--gray-100); }
.sidebar-mini .thumb img { width:100%; height:100%; object-fit: cover; }
.sidebar-mini .info h5 { font-size: .9rem; line-height: 1.4; margin-bottom: 4px; font-weight: 700; }
.sidebar-mini .info span { font-size: .78rem; color: var(--gray-400); }

.sidebar-cta {
  background: linear-gradient(160deg, var(--red) 0%, var(--red-2) 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 26px;
  text-align: center;
}
.sidebar-cta h4 { color:#fff; margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,.85); font-size: .88rem; margin-bottom: 18px; }
.sidebar-cta .btn { background: #fff; color: var(--red); width: 100%; }
.sidebar-cta .btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }

.article-nav {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 50px; padding-top: 36px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.article-nav a {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 20px;
  background: var(--gray-50);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  max-width: 48%;
  transition: .25s var(--ease);
}
.article-nav a:hover { border-color: var(--red); background: #fff; }
.article-nav a .lbl { font-size: .78rem; color: var(--gray-400); font-weight: 600; }
.article-nav a .ttl { font-weight: 700; color: var(--ink); font-size: .96rem; }
.article-nav a.next { text-align: end; margin-inline-start: auto; }

/* --------------------------- Page hero (sub pages) ----------------- */
.page-hero {
  background: linear-gradient(180deg, var(--black) 0%, var(--black-2) 100%);
  color: #fff;
  padding-top: 150px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(225,29,42,.2), transparent 50%),
    radial-gradient(ellipse at 15% 85%, rgba(37,99,235,.2), transparent 50%);
}
.page-hero .container { position: relative; z-index: 1; max-width: 760px; }
.page-hero .eyebrow { color: var(--red-3); }
.page-hero .eyebrow::before { background: var(--red-3); }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 620px; }

/* --------------------------- Animations ---------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.in {
  animation: fadeUp .7s var(--ease-out) forwards;
}
.reveal[data-delay="1"].in { animation-delay: .08s; }
.reveal[data-delay="2"].in { animation-delay: .16s; }
.reveal[data-delay="3"].in { animation-delay: .24s; }
.reveal[data-delay="4"].in { animation-delay: .32s; }
.reveal[data-delay="5"].in { animation-delay: .4s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.floaty { animation: floaty 6s ease-in-out infinite; }

/* --------------------------- Utilities ----------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
.flex { display: flex; }
.wrap { flex-wrap: wrap; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.center-row { align-items: center; justify-content: center; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.divider-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .4; }

/* --------------------------- Responsive ---------------------------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .header-cta .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 440px; margin-inline: auto; }
  .hero-card { aspect-ratio: 5/4; }

  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-media { max-width: 460px; }
  .about-media .badge-float { inset-inline-start: 0; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }

  .quote-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }

  .article-body-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .steps::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 22px; }
  .hero-card-feature .row { padding: 10px 12px; }
  .sticky-bar { display: flex; }
  body { padding-bottom: 70px; }
  .article-nav a { max-width: 100%; }
  .article-nav a.next { margin-inline-start: 0; }
  .about-media .badge-float { position: static; margin-top: 18px; display: inline-flex; }
}

/* --------------------------- Reduced motion ------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; }
}
