/* Cool Mode — AC cleaning, Bahrain
   Bones: Vercel/Geist (tight type, hairline cards, pill CTAs, restraint).
   Flourish: the logo's ice-blue, used only where the Geist mesh gradient would live.
   Primary CTA is WhatsApp-green on purpose — the whole site exists to earn that tap. */

:root {
  /* surface — a hair cooler than Geist's #fafafa so it reads "cold" */
  --canvas:        #f7fafc;
  --elevated:      #ffffff;
  --panel:         #f1f6fa;

  /* ink ladder — cooled toward the logo's navy instead of pure grey */
  --ink:           #12233b;
  --body:          #47586b;
  --mute:          #7c8da0;
  --faint:         #a3b0be;

  /* borders */
  --hairline:      #e3ebf1;
  --hairline-soft: #eef3f7;

  /* brand ice-blue (from the CM logo) — the one decorative color */
  --brand:         #0f74c7;
  --brand-deep:    #0a4f8f;
  --cyan:          #35c0ef;
  --ice:           #e6f4fd;

  /* WhatsApp */
  --wa:            #25d366;
  --wa-deep:       #1aa851;

  --amber:         #f5a623;

  /* type */
  --sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --arab: "Cairo", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  /* radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-pill: 100px;

  /* spacing */
  --s-xs: 8px;  --s-sm: 12px; --s-md: 16px; --s-lg: 24px;
  --s-xl: 32px; --s-2xl: 40px; --s-3xl: 64px; --s-4xl: 96px;

  --shadow-1: 0 1px 2px rgba(18,35,59,.05);
  --shadow-2: 0 2px 4px rgba(18,35,59,.05), 0 12px 28px -8px rgba(18,35,59,.14);
  --wa-glow:  0 8px 24px -6px rgba(37,211,102,.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Arabic runs the whole page on Cairo */
html[lang="ar"] body { font-family: var(--arab); }

h1, h2, h3 { color: var(--ink); font-weight: 600; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--s-lg); }

/* En display type wants Geist's tight negative tracking; Arabic must not be tracked. */
.display, .h2, .h3 { letter-spacing: -0.03em; }
html[lang="ar"] .display,
html[lang="ar"] .h2,
html[lang="ar"] .h3 { letter-spacing: 0; line-height: 1.4; }

.display {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.05;
  font-weight: 600;
}
.h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.1; }
.h3 { font-size: 20px; line-height: 1.3; }

.eyebrow {
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand);
}
html[lang="ar"] .eyebrow { font-family: var(--arab); letter-spacing: .04em; font-weight: 700; }

.lead { font-size: clamp(16px, 2vw, 19px); color: var(--body); }
.mute { color: var(--mute); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding-inline: 24px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font: 500 16px/1 var(--sans); cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
html[lang="ar"] .btn { font-family: var(--arab); font-weight: 600; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn-wa { background: var(--wa); color: #fff; box-shadow: var(--wa-glow); }
.btn-wa:hover { background: var(--wa-deep); transform: translateY(-2px); box-shadow: 0 12px 30px -6px rgba(37,211,102,.55); }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1c3350; transform: translateY(-2px); }

.btn-ghost { background: var(--elevated); color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-sm { height: 40px; padding-inline: 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.nav.scrolled { border-color: var(--hairline); box-shadow: var(--shadow-1); }
.nav-inner { display: flex; align-items: center; gap: var(--s-lg); height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 18px; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav-links a {
  padding: 8px 12px; border-radius: var(--r-pill); color: var(--body);
  font-size: 14px; transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--panel); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.nav-links + .nav-actions { margin-inline-start: 0; }

.lang-toggle {
  height: 40px; min-width: 46px; padding-inline: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--elevated); border: 1px solid var(--hairline); border-radius: var(--r-pill);
  color: var(--ink); font: 600 14px/1 var(--sans); cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.lang-toggle:hover { border-color: var(--brand); color: var(--brand); }

.nav-toggle { display: none; }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 84px); overflow: hidden; }
/* the one flourish — an ice-blue bloom where Geist would put its mesh gradient */
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 620px; z-index: 0;
  background:
    radial-gradient(46% 55% at 78% 8%, rgba(53,192,239,.42), transparent 60%),
    radial-gradient(50% 60% at 20% 0%, rgba(15,116,199,.30), transparent 62%),
    radial-gradient(40% 50% at 55% 30%, rgba(140,220,255,.35), transparent 60%);
  filter: blur(8px); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-top: 14px; }
.hero .lead { margin-top: 18px; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--elevated); border: 1px solid var(--hairline);
  border-radius: var(--r-pill); padding: 7px 14px; font-size: 13.5px; color: var(--ink); font-weight: 500;
  box-shadow: var(--shadow-1);
}
.chip svg { width: 15px; height: 15px; color: var(--brand); }

/* hero card — the "cold" glass tile with the logo */
.hero-card {
  position: relative; border-radius: var(--r-lg); padding: 28px;
  background: linear-gradient(160deg, #ffffff, var(--ice));
  border: 1px solid var(--hairline); box-shadow: var(--shadow-2);
}
.hero-card .logo-badge { width: 108px; height: 108px; margin: 4px auto 18px; border-radius: 26px; box-shadow: var(--shadow-1); }
.hero-card .price-row { display: flex; align-items: flex-end; justify-content: center; gap: 8px; }
.hero-card .price { font: 700 54px/1 var(--sans); color: var(--brand-deep); }
.hero-card .cur { font-weight: 600; color: var(--body); padding-bottom: 8px; }
.hero-card .price-cap { text-align: center; color: var(--body); margin-top: 6px; }
.hero-card .free-flag {
  margin-top: 18px; text-align: center; background: var(--ink); color: #fff;
  border-radius: var(--r-pill); padding: 10px 16px; font-weight: 600; font-size: 15px;
}
.hero-card .free-flag b { color: var(--cyan); }

/* ---------- section frame ---------- */
section { padding: clamp(56px, 8vw, 104px) 0; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .h2 { margin-top: 12px; }
.sec-head p { margin-top: 14px; }

/* ---------- offer / pricing ---------- */
.offer { background: var(--panel); border-block: 1px solid var(--hairline); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card {
  position: relative; background: var(--elevated); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 30px 26px; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.price-card .qty { font-size: 15px; font-weight: 600; color: var(--body); }
.price-card .big { font: 700 clamp(40px, 6vw, 56px)/1 var(--sans); color: var(--ink); margin: 12px 0 2px; }
.price-card .unit { color: var(--mute); font-size: 14px; }
.price-card.feature { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-2); }
.price-card.feature .big { color: var(--brand-deep); }
.badge {
  position: absolute; inset-block-start: -13px; inset-inline-start: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: var(--r-pill); white-space: nowrap; letter-spacing: .02em;
}
html:not([lang="ar"]) .badge { transform: translateX(-50%); }
.free-pill { display: inline-block; background: var(--cyan); color: #06344a; font-weight: 700; font-size: 13px; padding: 3px 12px; border-radius: var(--r-pill); margin-top: 6px; }
.offer-note {
  margin-top: 28px; text-align: center; display: flex; flex-wrap: wrap;
  gap: 10px 18px; align-items: center; justify-content: center; color: var(--body);
}
.offer-note .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.offer-cta { text-align: center; margin-top: 34px; }

/* ---------- features grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--elevated); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--brand) 35%, var(--hairline)); }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ice); color: var(--brand-deep); margin-bottom: 16px;
}
.card .ic svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14.5px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; background: var(--elevated); border: 1px solid var(--hairline); border-radius: var(--r-md); }
.step .n {
  counter-increment: step; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font: 700 17px/1 var(--sans);
  background: var(--ink); color: #fff; margin-bottom: 16px;
}
.step .n::before { content: counter(step); }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; }

/* ---------- services ---------- */
.services { background: var(--panel); border-block: 1px solid var(--hairline); }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.svc {
  display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px;
  background: var(--elevated); border: 1px solid var(--hairline); border-radius: var(--r-md);
}
.svc .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ice); color: var(--brand-deep); display: grid; place-items: center; margin-top: 2px; }
.svc .tick svg { width: 16px; height: 16px; }
.svc h3 { font-size: 16px; margin-bottom: 3px; }
.svc p { font-size: 14px; }
.editnote {
  margin-top: 20px; font-size: 13.5px; color: var(--brand-deep); background: var(--ice);
  border: 1px dashed var(--brand); border-radius: var(--r-sm); padding: 12px 16px;
}

/* ---------- proof ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.proof-item {
  position: relative; aspect-ratio: 16/10; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--hairline); background: linear-gradient(160deg, var(--ice), #fff);
  display: grid; place-items: center; text-align: center; padding: 16px;
}
.proof-item img { width: 100%; height: 100%; object-fit: cover; }
.proof-ph { color: var(--brand-deep); }
.proof-ph svg { width: 34px; height: 34px; opacity: .55; margin-bottom: 8px; }
.proof-ph small { display: block; font-size: 12px; color: var(--mute); }

/* ---------- coverage / cta band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; text-align: center; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(40% 70% at 82% 10%, rgba(53,192,239,.35), transparent 60%),
    radial-gradient(45% 80% at 12% 90%, rgba(15,116,199,.4), transparent 60%);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band .h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); margin: 14px auto 30px; max-width: 52ch; }
.cta-band .phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: rgba(255,255,255,.85); font-weight: 600; direction: ltr; }
.cta-band .phone svg { width: 18px; height: 18px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--hairline); padding: var(--s-3xl) 0 var(--s-lg); }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.footer .brand { margin-bottom: 12px; }
.footer .f-about { max-width: 34ch; font-size: 14px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); margin: 0 0 12px; font-weight: 600; }
html[lang="ar"] .footer-col h4 { letter-spacing: 0; }
.footer-col a, .footer-col span { display: flex; align-items: center; gap: 8px; color: var(--body); font-size: 14px; padding: 4px 0; }
.footer-col a:hover { color: var(--brand); }
.footer-col svg { width: 16px; height: 16px; color: var(--mute); }
.footer .ltr { direction: ltr; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13px; color: var(--mute); }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: var(--wa-glow);
  transition: transform .2s ease; animation: wa-pop .4s ease both;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: wa-ring 2.4s ease-out infinite;
}
@keyframes wa-ring { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 70%,100% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } }
@keyframes wa-pop { from { transform: scale(0); } to { transform: scale(1); } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 420px; margin-inline: auto; order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 42px; height: 42px;
    background: var(--elevated); border: 1px solid var(--hairline); border-radius: 10px; cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; color: var(--ink); }
  .nav-actions .btn { display: none; }
  .mobile-menu {
    display: none; flex-direction: column; gap: 4px; padding: 8px var(--s-lg) 16px;
    border-bottom: 1px solid var(--hairline); background: var(--canvas);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 12px; border-radius: var(--r-sm); color: var(--ink); font-weight: 500; }
  .mobile-menu a:hover { background: var(--panel); }
  .mobile-menu .btn { margin-top: 8px; }
  .price-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }
}
@media (max-width: 380px) {
  .steps { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
