/* =========================================================
   Homa Media website · built from the brand guidelines
   Layout: full-width colour bands (Midnight / white / Cloud / Homa Blue)
   with the Homa's shadow cast across them; content in a 1200px column.
   ========================================================= */

/* Brand typeface: Graphik + Graphik Arabic (Commercial Type).
   Web use needs a Graphik WEB licence. Once you have the .woff2 files,
   put them in /fonts and un-comment these rules; the site will switch
   automatically. Until then it uses the free fallbacks listed in --f-latin / --f-arabic.

@font-face { font-family: "Graphik Web"; src: url("../fonts/Graphik-Regular-Web.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Graphik Web"; src: url("../fonts/Graphik-Semibold-Web.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Graphik Web"; src: url("../fonts/Graphik-Black-Web.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Graphik Arabic Web"; src: url("../fonts/GraphikArabic-Regular-Web.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Graphik Arabic Web"; src: url("../fonts/GraphikArabic-Bold-Web.woff2") format("woff2"); font-weight: 700; font-display: swap; }
*/

:root {
  --midnight: #01052C;
  --homa-blue: #0566EE;
  --lagoon: #3FDBE1;
  --cloud: #F4F6FB;
  --mist: #DCE2EE;
  --slate: #596381;
  --night-muted: #9AA5C6;
  --night-line: #1B2357;
  --white: #FFFFFF;
  --g-wing: linear-gradient(135deg, #0A4FE0 0%, #1F8FE8 50%, #3FDBE1 100%);
  --g-crest: linear-gradient(120deg, #42B27B 0%, #CDEC5B 100%);
  --g-beak: linear-gradient(200deg, #FE2565 0%, #FEA963 100%);
  --g-plume: linear-gradient(160deg, #2E3BD6 0%, #6557DD 45%, #C27FF7 100%);
  --rainbow: linear-gradient(90deg, #0A4FE0, #1F8FE8 30%, #3FDBE1 52%, #4ED4AE 64%, #CDEC5B 76%, #FEA963 88%, #FE2565);
  --f-latin: "Graphik Web", "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-arabic: "Graphik Arabic Web", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --radius: 16px;
  --header-h: 76px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--midnight); font-family: var(--f-latin); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-family: var(--f-arabic); font-size: 17.5px; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.35; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--white); color: var(--midnight); padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }
html[lang="en"] .ar-only, html[lang="ar"] .en-only { display: none !important; }

.shade { position: absolute; pointer-events: none; max-width: none; user-select: none; }
.spectrum { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--rainbow); }

.eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--homa-blue); }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 15px; }
.eyebrow-light { color: #CFE0FF; }
.eyebrow-lagoon { color: var(--lagoon); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--homa-blue); color: var(--white); }
.btn-primary:hover { background: #0457CC; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-dark { background: var(--midnight); color: var(--white); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-wa { background: var(--homa-blue); color: var(--white); }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background-color .25s ease, box-shadow .25s ease; }
.header-row { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; }
.brand .logo { height: 54px; width: auto; }
.logo-colour { display: none; }
.site-header.is-solid { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--mist); }
.site-header.is-solid .logo-white { display: none; }
.site-header.is-solid .logo-colour { display: block; }
html[lang="en"] .site-header.is-solid .logo-colour.ar-only, html[lang="ar"] .site-header.is-solid .logo-colour.en-only { display: none; }
.nav { display: flex; gap: 28px; margin-inline-start: auto; }
.nav a { text-decoration: none; color: var(--white); font-weight: 500; font-size: 15px; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.site-header.is-solid .nav a { color: var(--midnight); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { font-family: var(--f-arabic); background: transparent; border: 1.5px solid rgba(255,255,255,.4); color: var(--white); border-radius: 999px; min-height: 40px; padding: 0 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.lang:lang(en) { font-family: var(--f-latin); }
.site-header.is-solid .lang { border-color: var(--mist); color: var(--midnight); }
.menu { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.4); background: transparent; cursor: pointer; position: relative; }
.menu span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); transition: transform .2s ease; }
.menu span:nth-child(1) { top: 17px; } .menu span:nth-child(2) { top: 25px; }
.site-header.is-solid .menu { border-color: var(--mist); }
.site-header.is-solid .menu span:not(.sr) { background: var(--midnight); }
.menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 980px) {
  .menu { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; background: var(--white); padding: 8px max(20px, env(safe-area-inset-right, 0px)) 16px max(20px, env(safe-area-inset-left, 0px)); box-shadow: 0 16px 30px -18px rgba(1,5,44,.35); display: none; }
  .nav.open { display: flex; }
  .nav a { color: var(--midnight); padding: 14px 0; border-bottom: 1px solid var(--mist); font-size: 17px; }
  .header-actions { margin-inline-start: auto; }
}
@media (max-width: 560px) {
  .btn-wa.btn-small { display: none; }
  .brand .logo { height: 38px; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--midnight); color: var(--white); overflow: hidden; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
.hero-shade { height: 150%; inset-inline-start: -18%; top: -10%; opacity: .06; }
html[dir="rtl"] .hero-shade { transform: scaleX(-1); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; padding-block: 72px 96px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); font-weight: 800; letter-spacing: -.02em; margin-top: 18px; }
html[lang="ar"] .hero h1 { letter-spacing: 0; font-weight: 700; }
.hero-lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: #C9D2EE; max-width: 34em; font-weight: 300; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stat { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; padding-top: 22px; border-top: 1px solid var(--night-line); }
.hs-nums { display: flex; gap: 22px; font-size: 16px; color: #C9D2EE; }
.hs-nums b { color: var(--white); font-size: 26px; font-weight: 800; margin-inline-end: 4px; }
.hs-price { color: var(--night-muted); font-size: 15px; }
.hs-price b { color: var(--lagoon); font-weight: 700; }
.hero-art { position: relative; align-self: end; margin-bottom: -96px; }
.hero-art img { width: 100%; max-width: 470px; margin-inline-start: auto; filter: drop-shadow(0 40px 60px rgba(5,102,238,.35)); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 48px 0; }
  .hero-art { margin: 0 auto -40px; width: 70%; max-width: 340px; }
}

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(72px, 9vw, 120px); overflow: hidden; }
.section-cloud { background: var(--cloud); }
.section-blue { background: var(--homa-blue); color: var(--white); }
.section-night { background: var(--midnight); color: var(--white); }
.sec-head { display: grid; gap: 12px; margin-bottom: 48px; max-width: 760px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.015em; }
html[lang="ar"] .sec-head h2 { letter-spacing: 0; }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.about-copy { display: grid; gap: 20px; }
.big { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.55; font-weight: 300; max-width: 36em; }
html[lang="ar"] .big { line-height: 1.9; }
.muted { color: var(--slate); }
.vm { display: grid; gap: 16px; }
.vm-card { position: relative; overflow: hidden; background: var(--cloud); border-radius: var(--radius); padding: 28px; display: grid; gap: 8px; }
.vm-card h3 { font-size: 20px; font-weight: 700; position: relative; }
.vm-card p { position: relative; color: var(--slate); }
.vm-card .shade { height: 280%; inset-inline-end: -30%; top: -60%; opacity: .06; }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }

/* services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.svc { background: var(--white); border-radius: var(--radius); padding: 32px; display: grid; gap: 12px; align-content: start; box-shadow: 0 1px 0 var(--mist); }
.svc .dot { width: 48px; height: 48px; border-radius: 50%; display: block; margin-bottom: 8px; }
.svc h3 { font-size: 22px; font-weight: 700; }
.svc p { color: var(--slate); }
.chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13.5px; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--cloud); }
@media (max-width: 760px) { .services { grid-template-columns: minmax(0, 1fr); } .svc { padding: 24px; } }

/* monthly counts */
.counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.count { position: relative; overflow: hidden; border-radius: var(--radius); padding: 32px; min-height: 380px; display: flex; flex-direction: column; }
.count > * { position: relative; }
.count .shade { position: absolute; height: 170%; top: -30%; inset-inline-end: -55%; }
.count .per { position: absolute; top: 32px; inset-inline-end: 32px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
html[lang="ar"] .count .per { letter-spacing: 0; font-size: 14px; }
.count .num { font-size: clamp(88px, 10vw, 128px); font-weight: 800; line-height: .85; letter-spacing: -.04em; }
.count h3 { font-size: 24px; font-weight: 700; margin-top: 16px; }
.count p { margin-top: auto; padding-top: 32px; font-size: 15.5px; }
.c-blue { background: var(--homa-blue); color: var(--white); }
.c-blue .shade { opacity: .28; }
.c-blue .per { color: #CFE0FF; }
.c-night { background: var(--midnight); color: var(--white); }
.c-night .shade { opacity: .07; inset-inline-end: auto; inset-inline-start: -55%; }
.c-night .per, .c-night p { color: #C9D2EE; }
.c-cloud { background: var(--cloud); }
.c-cloud .shade { opacity: .08; }
.c-cloud .num { color: var(--homa-blue); }
.c-cloud .per, .c-cloud p { color: var(--slate); }
@media (max-width: 860px) { .counts { grid-template-columns: minmax(0, 1fr); } .count { min-height: 300px; } }

/* packages */
.pk-shade { height: 160%; top: -25%; inset-inline-end: -12%; opacity: .25; }
.packages { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.pk { position: relative; overflow: hidden; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.pk > * { position: relative; }
.pk-light { background: var(--white); color: var(--midnight); }
.pk-dark { background: var(--midnight); color: var(--white); }
.pk-dark .shade { position: absolute; height: 180%; top: -45%; inset-inline-end: -45%; opacity: .07; }
.tag { align-self: flex-start; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
html[lang="ar"] .tag { letter-spacing: 0; font-size: 13px; }
.tag-soft { background: var(--cloud); color: var(--homa-blue); }
.tag-grad { background: var(--g-wing); color: var(--white); }
.pk h3 { font-size: 24px; font-weight: 700; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.amt { font-size: clamp(56px, 6vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.cur { font-weight: 600; font-size: 16px; }
.pk-light .cur { color: var(--slate); }
.pk-dark .cur, .calc { color: var(--night-muted); }
.calc { font-size: 14px; margin-top: -8px; }
.ticks { list-style: none; margin: 4px 0 8px; padding: 18px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--mist); flex: 1; align-content: start; }
.pk-dark .ticks { border-color: var(--night-line); }
.ticks li { position: relative; padding-inline-start: 32px; }
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: .25em; width: 20px; height: 20px; border-radius: 50%; background: var(--g-wing); color: var(--white); font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.ticks li.plus::before { content: "+"; background: var(--g-beak); font-size: 14px; }
.pk .btn { align-self: flex-start; }
.terms { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.terms div { border-top: 2px solid rgba(255,255,255,.5); padding-top: 14px; }
.terms h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.terms p { font-size: 15px; color: #DCE8FF; }
@media (max-width: 860px) { .packages, .terms { grid-template-columns: minmax(0, 1fr); } .pk { padding: 28px 24px; } }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.steps li { background: var(--cloud); border-radius: var(--radius); padding: 26px 22px; display: grid; gap: 10px; align-content: start; }
.steps .n { font-size: 44px; font-weight: 800; line-height: 1; color: var(--homa-blue); }
.steps h3 { font-size: 19px; font-weight: 700; }
.steps p { color: var(--slate); font-size: 15px; }
.cycle { margin-top: 20px; background: var(--midnight); color: var(--white); border-radius: var(--radius); padding: 18px 24px; font-size: 16px; }
.cycle b { font-weight: 700; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* why */
.why-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: stretch; }
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.reasons div { border-top: 1px solid var(--mist); padding-block: 22px; display: grid; gap: 6px; }
.reasons h3 { font-size: 19px; font-weight: 700; }
.reasons p { color: var(--slate); font-size: 15.5px; }
.promise { margin: 0; position: relative; overflow: hidden; background: var(--midnight); color: var(--white); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: 360px; }
.promise > * { position: relative; }
.promise > .spectrum { position: absolute; }
.promise .shade { position: absolute; height: 190%; top: -50%; inset-inline-end: -60%; opacity: .08; }
.promise blockquote { margin: 0; font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; line-height: 1.15; }
html[lang="ar"] .promise blockquote { line-height: 1.5; }
@media (max-width: 860px) { .why-grid, .reasons { grid-template-columns: minmax(0, 1fr); } .promise { min-height: 280px; padding: 28px; } }

/* contact */
.contact-shade { height: 170%; top: -20%; inset-inline-start: -25%; opacity: .06; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.contact-grid h2 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.02em; margin-top: 12px; }
html[lang="ar"] .contact-grid h2 { letter-spacing: 0; font-weight: 700; }
.contact-lead { margin-top: 20px; color: #C9D2EE; font-size: 18px; max-width: 30em; font-weight: 300; }
.ccards { display: grid; gap: 14px; }
.cc { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 18px; align-items: center; padding: 20px 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid var(--night-line); text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
.cc:hover { background: rgba(255,255,255,.09); border-color: #2B3672; }
.cc i { grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 50%; display: block; }
.cc .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--night-muted); font-weight: 600; }
html[lang="ar"] .cc .k { letter-spacing: 0; font-size: 14px; text-transform: none; }
.cc .v { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; overflow-wrap: anywhere; }
html[dir="rtl"] .cc .v { text-align: right; }
.cc .v-email { font-size: clamp(16px, 1.7vw, 20px); font-weight: 600; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* footer */
.site-footer { position: relative; background: #000318; color: var(--night-muted); padding-block: 36px 44px; font-size: 14px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-logo { height: 52px; width: auto; }

/* floating WhatsApp */
.wa-float { position: fixed; z-index: 40; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); inset-inline-end: calc(20px + env(safe-area-inset-right, 0px)); width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(1,5,44,.5); transition: transform .15s ease; }
.wa-float:hover { transform: scale(1.06); }
