/* 249apps — professional with character. Arabic first (RTL); English mirrors through logical properties.
   Light page, navy from the logo for actions and feature blocks, amber as the highlight,
   and each app shown in its own colour. */

:root {
  --bg: #ffffff;
  --soft: #f4f6fb;
  --ink: #0b1533;
  --ink-2: #4a546c;
  --ink-3: #737d94;
  --line: #e2e7f0;
  --navy: #053a94;
  --navy-d: #042c72;
  --amber: #ffad00;
  --green: #15934a;
  --violet: #6a4df4;

  --pad: clamp(1rem, .5rem + 2.4vw, 2.5rem);
  --max: 74rem;
  --sec: clamp(3.5rem, 2.4rem + 5vw, 6.5rem);
  --r: 18px;
  --r-lg: clamp(20px, 2.4vw, 30px);
  --shadow: 0 1.25rem 2.5rem -1.5rem rgba(11, 21, 51, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --fd: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --fb: "IBM Plex Sans Arabic", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; font: 400 1.0625rem/1.8 var(--fb); color: var(--ink); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; }
[dir="ltr"] body { line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0; font-family: var(--fd); font-weight: 700; line-height: 1.35; text-wrap: balance; }
[dir="ltr"] :is(h1, h2, h3, h4) { line-height: 1.2; letter-spacing: -.015em; }
h2 { font-size: clamp(1.875rem, 1.3rem + 2.3vw, 3rem); }
h3 { font-size: 1.1875rem; font-weight: 600; }
h4 { font-size: 1.0625rem; font-weight: 600; }
.num { font-family: var(--fd); font-weight: 700; unicode-bidi: isolate; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--navy); color: #fff; }

.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.wrap--narrow { --max: 50rem; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: .5rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
.section { padding-block: var(--sec); }
.section--soft { background: var(--soft); }
.shead { max-width: 44rem; margin-bottom: clamp(1.75rem, 1.3rem + 1.8vw, 3rem); }
.shead h2::before { content: ""; display: block; width: 3rem; height: .3rem; margin-bottom: 1rem; border-radius: 99px; background: var(--amber); }
.shead p { margin: .75rem 0 0; color: var(--ink-2); font-size: 1.125rem; }
.shead--center { margin-inline: auto; text-align: center; }
.shead--center h2::before { margin-inline: auto; }
.subhead { font-size: 1.5rem; font-weight: 700; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); margin-bottom: 1.25rem; }
.subhead--first { margin-top: 0; }
.subhead__lead { color: var(--ink-2); margin: -.75rem 0 1.25rem; }
.lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--ink-2); }

/* Grids */
.grid { display: grid; gap: 1.25rem; }
.grid--gap { margin-top: 1.25rem; }
@media (min-width: 40rem) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .6rem 1.4rem; border-radius: 12px; border: 1.5px solid transparent; font-family: var(--fd); font-weight: 600; font-size: 1rem; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--sm { min-height: 2.5rem; padding: .4rem 1rem; font-size: .9375rem; }
.btn--lg { min-height: 3.4rem; padding-inline: 1.75rem; font-size: 1.0625rem; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 .75rem 1.5rem -.75rem rgba(5, 58, 148, .7); }
.btn--primary:hover { background: var(--navy-d); }
.btn--amber { background: var(--amber); color: #1a1000; }
.btn--amber:hover { background: #ffc233; }
.btn--ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--block { width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.5rem); min-height: 4.25rem; }
.brand { flex: none; direction: ltr; }
.brand img { height: 2.125rem; width: auto; }
.nav__links { display: none; gap: 1.75rem; margin-inline-start: 1rem; }
.nav__links a { position: relative; padding-block: .3rem; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 1rem; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--amber); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.lang { margin-inline-start: auto; min-height: 2.5rem; padding: .3rem .7rem; border: 0; border-radius: 8px; background: none; color: var(--ink-2); font-weight: 500; font-size: .9375rem; cursor: pointer; }
.lang:hover { background: var(--soft); color: var(--ink); }
.nav .btn { box-shadow: none; }
@media (min-width: 56rem) { .nav__links { display: flex; } }

/* Hero */
.hero { position: relative; isolation: isolate; padding-block: clamp(2.5rem, 1.5rem + 4.5vw, 5.5rem) clamp(2.5rem, 2rem + 2vw, 4rem);
  background:
    radial-gradient(50rem 28rem at 88% -8%, #dbe7ff 0, transparent 70%),
    radial-gradient(34rem 22rem at 4% 12%, #fff1cc 0, transparent 70%),
    var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(5, 58, 148, .16) 1px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(#000, transparent 75%); mask-image: linear-gradient(#000, transparent 75%); }
.hero__grid { display: grid; gap: clamp(3rem, 5vw, 4rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.1rem; padding: .25rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: .9375rem; box-shadow: 0 .4rem 1rem -.6rem rgba(11, 21, 51, .3); }
.eyebrow i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(21, 147, 74, .18); }
.hero h1 { font-size: clamp(2.125rem, 1.3rem + 3.4vw, 3.5rem); line-height: 1.35; margin-bottom: 1.25rem; text-wrap: wrap; }
[dir="ltr"] .hero h1 { line-height: 1.12; letter-spacing: -.03em; }
.hero h1 em { display: inline-block; font-style: normal; background: linear-gradient(var(--amber), var(--amber)) 0 86% / 100% .3em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
[dir="ltr"] .hero h1 em { display: inline; }
.hero .lead { max-width: 34rem; margin-bottom: 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.1rem; }
.hero__note { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.hero__note b { font-family: var(--fd); color: var(--ink); unicode-bidi: isolate; }
.hero__art { position: relative; padding-bottom: 7%; padding-right: 7%; }
.frame { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 2.5rem 4rem -2rem rgba(11, 21, 51, .4); }
.frame__bar { display: flex; align-items: center; gap: 6px; padding: .55rem .8rem; background: #eef1f7; direction: ltr; }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; flex: none; }
.frame__bar i:nth-child(2) { background: #febc2e; } .frame__bar i:nth-child(3) { background: #28c840; }
.frame__bar em { font-style: normal; font-size: .75rem; line-height: 1.6; color: var(--ink-3); background: #fff; border-radius: 6px; padding: 0 .75rem; margin-left: .5rem; }
.frame img { width: 100%; }
.hero__phone { position: absolute; right: 0; bottom: 0; width: 25%; border-radius: 9% / 4.2%; border: 4px solid var(--ink); background: #000; box-shadow: 0 1.25rem 2.5rem -.75rem rgba(11, 21, 51, .5); }
.float { position: absolute; display: flex; align-items: center; gap: .5rem; margin: 0; padding: .5rem .85rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .8125rem; font-weight: 500; line-height: 1.4; color: var(--ink-2); }
.float svg { width: 1.4rem; height: 1.4rem; padding: .2rem; border-radius: 50%; background: var(--green); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.float b { font-family: var(--fd); color: var(--navy); }
.float--a { left: -3%; bottom: 14%; }
.float--b { left: -4%; top: 20%; flex-direction: column; align-items: flex-start; gap: 0; }
@media (max-width: 30rem) { .float--b { display: none; } .float--a { left: 0; bottom: 0; } }
@media (min-width: 60rem) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.hero__copy > * { animation: rise .7s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .06s; } .hero__copy > :nth-child(3) { animation-delay: .12s; }
.hero__copy > :nth-child(4) { animation-delay: .18s; } .hero__copy > :nth-child(5) { animation-delay: .24s; }
.hero__art { animation: rise .9s .15s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.strip { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.strip p { margin: 0; color: var(--ink-3); font-size: .9375rem; font-weight: 500; }
.strip__icons { display: flex; flex-wrap: wrap; gap: .6rem; }
.strip__icons img { width: 2.75rem; height: 2.75rem; border-radius: 24%; box-shadow: 0 0 0 1px rgba(11, 21, 51, .08), 0 .4rem .8rem -.4rem rgba(11, 21, 51, .35); transition: transform .25s var(--ease); }
.strip__icons a:hover img { transform: translateY(-4px) scale(1.06); }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.25rem; margin: 1.75rem 0 0; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-radius: var(--r-lg); background: var(--navy); color: #fff; box-shadow: 0 2rem 3rem -2rem rgba(5, 58, 148, .7); }
.stats dt { font-family: var(--fd); font-weight: 700; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); line-height: 1.1; color: var(--amber); }
.stats dd { margin: .35rem 0 0; color: rgba(255, 255, 255, .86); font-size: .9375rem; line-height: 1.6; }
@media (min-width: 52rem) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stats div + div { border-inline-start: 1px solid rgba(255, 255, 255, .18); padding-inline-start: 1.25rem; } }

/* Cards */
.card { padding: 1.6rem; border-radius: var(--r); border: 1px solid var(--line); background: #fff; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.card h3, .card h4 { margin-bottom: .5rem; }
.card p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.ico { width: 3rem; height: 3rem; padding: .7rem; margin-bottom: 1.1rem; border-radius: 12px; background: color-mix(in oklab, var(--k, var(--navy)) 12%, #fff); fill: none; stroke: var(--k, var(--navy)); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card--svc { position: relative; overflow: hidden; }
.card--svc::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--k); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .3s var(--ease); }
[dir="ltr"] .card--svc::before { transform-origin: 0 50%; }
.card--svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card--svc:hover::before { transform: scaleX(1); }
.card--navy { --k: var(--navy); } .card--green { --k: var(--green); } .card--violet { --k: var(--violet); } .card--amber { --k: #c77700; }

/* Packages */
.switch { display: flex; width: fit-content; max-width: 100%; margin: 0 auto clamp(2rem, 1.5rem + 1.5vw, 2.75rem); padding: .3rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 .5rem 1.25rem -.75rem rgba(11, 21, 51, .3); }
.switch button { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.9rem; padding: .4rem 1.3rem; border: 0; border-radius: 10px; background: none; color: var(--ink-2); font-family: var(--fd); font-weight: 600; font-size: 1rem; cursor: pointer; transition: background-color .2s, color .2s; }
.switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.switch svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.plans { display: grid; gap: 1.5rem 1.25rem; align-items: stretch; }
.plan { --tick: var(--navy); position: relative; display: flex; flex-direction: column; padding: 1.9rem 1.6rem 1.6rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; transition: transform .25s var(--ease), box-shadow .25s; animation: rise .45s var(--ease) both; }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.plan--featured { --tick: var(--amber); border-color: var(--navy); background: var(--navy); color: #fff; box-shadow: 0 2rem 3rem -1.75rem rgba(5, 58, 148, .8); }
.plan__flag { position: absolute; top: 0; inset-inline-start: 1.6rem; transform: translateY(-50%); padding: .1rem .8rem; border-radius: 999px; background: var(--amber); color: #1a1000; font-size: .8125rem; font-weight: 600; }
.plan__tier { margin: 0 0 .3rem; font-size: .875rem; font-weight: 600; color: var(--navy); }
.plan--featured .plan__tier { color: var(--amber); }
.plan h3 { font-size: 1.375rem; font-weight: 700; }
.plan__blurb { margin: .35rem 0 1.25rem; color: var(--ink-2); font-size: .9375rem; min-height: 3.4em; }
.plan__price { display: flex; align-items: baseline; gap: .5rem; margin: 0 0 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.plan__price small { color: var(--ink-3); font-size: .9375rem; }
.plan__price .num { font-size: 2.75rem; line-height: 1; }
.plan__quote { font-family: var(--fd); font-weight: 700; font-size: 1.75rem; line-height: 2.75rem; color: var(--navy); }
.plan--featured :is(.plan__blurb, .plan__price small, .plan__time) { color: rgba(255, 255, 255, .78); }
.plan--featured .plan__price { border-color: rgba(255, 255, 255, .2); }
.ticks { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .6rem; font-size: .9375rem; line-height: 1.6; flex: 1; align-content: start; }
.ticks li { position: relative; padding-inline-start: 1.7rem; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: .2rem; top: .45em; width: .8rem; height: .45rem; border: solid var(--tick, var(--navy)); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.plan__time { margin: 0 0 1rem; color: var(--ink-3); font-size: .875rem; }
@media (min-width: 62rem) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.includes { display: grid; gap: .75rem 2rem; align-items: center; margin-top: 1.5rem; padding: 1.25rem 1.6rem; border-radius: var(--r); background: #fff; border: 1px dashed #c3cde0; }
.includes h3 { font-size: 1.0625rem; white-space: nowrap; }
.ticks--row { --tick: var(--green); margin: 0; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .5rem 1.5rem; }
@media (min-width: 62rem) { .includes { grid-template-columns: auto minmax(0, 1fr); } }

/* Work — shared pieces */
.idh { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.idh > div { min-width: 0; }
.idh p { margin: 0; color: var(--ink-3); font-size: .875rem; line-height: 1.5; }
.appicon { width: 3rem; height: 3rem; border-radius: 22%; flex: none; box-shadow: 0 0 0 1px rgba(11, 21, 51, .08), 0 .4rem .8rem -.4rem rgba(0, 0, 0, .4); }
.soon { margin-inline-start: auto; flex: none; padding: .1rem .65rem; border-radius: 999px; background: #fff4d6; color: #7a4a00; font-size: .8125rem; font-weight: 600; }
.app__desc { color: var(--ink-2); font-size: .9375rem; flex: 1; }
.facts { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin: .25rem 0 1.25rem; }
.facts dt { font-family: var(--fd); font-weight: 700; font-size: 1.625rem; line-height: 1.2; unicode-bidi: isolate; }
[dir="rtl"] .facts dt { text-align: right; }
.facts dd { margin: 0; color: var(--ink-3); font-size: .8125rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.4rem; padding: .2rem .85rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .875rem; font-weight: 500; text-decoration: none; transition: border-color .2s, color .2s, transform .2s var(--ease); }
.chip:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.chip svg { width: 1rem; height: 1rem; flex: none; }
.app__shots { container-type: inline-size; display: flex; justify-content: center; gap: 4cqi; padding: 7cqi 4cqi; background: color-mix(in oklab, var(--c) 16%, #fff); direction: ltr; }
.phone { flex: none; width: 24cqi; padding: 0; border: .6cqi solid #0a1022; border-radius: 3.6cqi; overflow: hidden; background: #000; cursor: zoom-in; box-shadow: 0 1.25rem 1.75rem -1rem rgba(0, 0, 0, .5); transition: transform .3s var(--ease); }
.phone:hover { transform: translateY(-3%); }
.phone img { width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; }

/* Work — cards (websites, smaller apps) */
.app { display: flex; flex-direction: column; border-radius: var(--r); border: 1px solid var(--line); background: #fff; overflow: hidden; scroll-margin-top: 5.5rem; transition: transform .25s var(--ease), box-shadow .25s; }
.app:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.app__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.app__tag { font-family: var(--fd); font-weight: 600; font-size: 1.125rem; line-height: 1.5; margin-bottom: .5rem; }
.shot { display: block; width: 100%; padding: 0; margin: 0; border: 0; border-bottom: 1px solid var(--line); background: var(--soft); cursor: zoom-in; overflow: hidden; }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.app:hover .shot img { transform: scale(1.04); }
.shot--term { cursor: default; aspect-ratio: 16 / 10; padding: 1.25rem; background: #0e1424; color: #c9d1d9; font: .8125rem/1.9 ui-monospace, Menlo, monospace; white-space: pre; text-align: left; }
.shot--term b { color: var(--amber); } .shot--term i { font-style: normal; color: #3fb950; }

/* Work — the four main apps, each in its own colour */
.showcases { display: grid; gap: 1.25rem; }
.showcase { position: relative; isolation: isolate; display: grid; gap: 1.5rem 3rem; align-items: center; padding: clamp(1.5rem, .8rem + 3vw, 3.25rem); border-radius: var(--r-lg); background: var(--bg); color: #fff; overflow: hidden; scroll-margin-top: 5.5rem; }
.showcase::before { content: ""; position: absolute; z-index: -1; inset-inline-end: -10%; top: -35%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--c) 65%, #fff), transparent); opacity: .45; }
.showcase__copy { min-width: 0; }
.showcase .idh p, .showcase .facts dd { color: rgba(255, 255, 255, .78); }
.showcase__tag { font-family: var(--fd); font-weight: 700; font-size: clamp(1.625rem, 1.2rem + 1.7vw, 2.5rem); line-height: 1.35; margin-bottom: .75rem; text-wrap: balance; }
[dir="ltr"] .showcase__tag { line-height: 1.15; letter-spacing: -.02em; }
.showcase .app__desc { color: rgba(255, 255, 255, .9); font-size: 1rem; max-width: 34rem; }
.showcase .facts { margin-top: 1.25rem; }
.showcase .facts dt { color: var(--accent); font-size: 2rem; }
.showcase .chip { border-color: transparent; }
.showcase .chip:hover { color: var(--ink); }
.showcase .app__shots { background: none; padding: 2cqi 0; gap: 3.5cqi; align-items: center; width: 100%; max-width: 30rem; margin-inline: auto; }
.showcase .phone { width: 27cqi; border-radius: 4.2cqi; }
.showcase .phone:nth-child(2) { width: 32cqi; border-radius: 5cqi; }
@media (max-width: 59.99rem) { .showcase .app__shots { order: -1; max-width: 24rem; } }
@media (min-width: 60rem) {
  .showcase { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .showcase:nth-child(even) .showcase__copy { order: 2; }
  .showcase:nth-child(even)::before { inset-inline: -10% auto; }
}

/* Process */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 2rem 1.5rem; }
.steps li { counter-increment: step; position: relative; }
.steps li::before { content: counter(step); position: relative; z-index: 1; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: 1.1rem; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--fd); font-weight: 700; font-size: 1.25rem; box-shadow: 0 0 0 6px var(--soft), 0 0 0 7px #c9d4ea; }
.steps li:last-child::before { background: var(--amber); color: #1a1000; }
.steps h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: 1rem; max-width: 22rem; }
@media (min-width: 40rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.625rem; inset-inline: 3.25rem -1.5rem; border-top: 2px dashed #c3cde0; }
}

/* Why + sister company */
.point { padding: 1.6rem; border-radius: var(--r); background: var(--soft); transition: transform .25s var(--ease), background-color .25s, box-shadow .25s; }
.point:hover { transform: translateY(-5px); background: #fff; box-shadow: var(--shadow); }
.point .ico { background: #fff; }
.point:hover .ico { background: color-mix(in oklab, var(--navy) 12%, #fff); }
.point h3 { margin-bottom: .4rem; }
.point p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.family { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 2rem 3.5rem; align-items: center; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding: clamp(1.5rem, .8rem + 3vw, 3.25rem); border-radius: var(--r-lg); background: var(--navy); color: #fff; scroll-margin-top: 5.5rem; }
.family::before { content: ""; position: absolute; z-index: -1; inset-inline-end: -8%; bottom: -60%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, #2d6be0, transparent); opacity: .6; }
.family__logos { display: grid; gap: 1rem; direction: ltr; }
.family__logos span { display: grid; place-items: center; padding: 1.4rem 2rem; border-radius: var(--r); background: #fff; box-shadow: 0 1.5rem 2.5rem -1.5rem rgba(0, 0, 0, .55); }
.family__logos img { height: 3rem; width: auto; }
.family h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); font-weight: 700; margin-bottom: .75rem; }
.family p { color: rgba(255, 255, 255, .86); font-size: 1.0625rem; margin-bottom: 1.25rem; max-width: 42rem; }
.family a { display: inline-block; padding: .45rem 1.1rem; border-radius: 10px; background: var(--amber); color: #1a1000; font-family: var(--fd); font-weight: 600; text-decoration: none; }
@media (min-width: 60rem) { .family { grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); } }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { border-radius: var(--r); border: 1px solid var(--line); background: #fff; padding-inline: 1.4rem; transition: box-shadow .25s, border-color .25s; }
.faq details[open] { border-color: #b9c8e6; box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.15rem; font-family: var(--fd); font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--soft); font-size: 1.35rem; font-weight: 400; line-height: 1; color: var(--navy); transition: background-color .2s, color .2s; }
.faq details[open] summary::after { content: "−"; background: var(--navy); color: #fff; }
.faq p { color: var(--ink-2); margin: 0; padding-bottom: 1.4rem; max-width: 40rem; }

/* Contact */
.contact { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 2.5rem; align-items: start; padding: clamp(1.5rem, .8rem + 3vw, 3.5rem); border-radius: var(--r-lg); background: var(--navy); color: #fff; }
.contact::before { content: ""; position: absolute; z-index: -1; inset-inline-start: -12%; top: -45%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, #2d6be0, transparent); opacity: .6; }
.contact h2 { margin-bottom: 1rem; }
.contact h2::after { content: ""; display: block; width: 3rem; height: .3rem; margin-top: 1rem; border-radius: 99px; background: var(--amber); }
.contact .lead { color: rgba(255, 255, 255, .86); }
.contact__list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .7rem; }
.contact__list span { display: inline-block; min-width: 4.5rem; color: rgba(255, 255, 255, .65); font-size: .9375rem; }
.contact__list a { color: #fff; font-weight: 600; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 5px; overflow-wrap: anywhere; unicode-bidi: isolate; }
.form { display: grid; gap: 1rem; padding: clamp(1.25rem, .8rem + 2vw, 2rem); border-radius: var(--r); background: #fff; color: var(--ink); min-width: 0; box-shadow: 0 2rem 3rem -1.5rem rgba(0, 0, 0, .5); }
.form__row { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .9375rem; font-weight: 500; color: var(--ink-2); }
.form input:not([type="radio"]), .form textarea { width: 100%; min-width: 0; min-height: 3rem; font: inherit; font-size: 1rem; color: var(--ink); background: var(--soft); border: 1.5px solid transparent; border-radius: 10px; padding: .55rem .8rem; transition: border-color .2s, background-color .2s; }
[dir="rtl"] .form input[dir="ltr"] { text-align: right; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.form__types { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__types legend { font-size: .9375rem; font-weight: 500; color: var(--ink-2); margin-bottom: .5rem; padding: 0; }
.form__types > div { display: flex; flex-wrap: wrap; gap: .5rem; }
.form__types label { display: block; position: relative; }
.form__types input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form__types span { display: inline-block; padding: .3rem .85rem; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.form__types input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.form__types input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.form__note { font-size: .875rem; color: var(--ink-3); margin: -.25rem 0 0; }
@media (min-width: 36rem) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .contact { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; } }

/* Footer */
.footer { background: var(--soft); border-top: 1px solid var(--line); color: var(--ink-2); font-size: .9375rem; }
.footer__grid { display: grid; gap: 2rem; padding-block: 2.5rem 2rem; }
.footer img { height: 2.125rem; width: auto; margin-bottom: .75rem; }
.footer p { margin: 0; max-width: 22rem; }
.footer nav, .footer__contact { display: grid; gap: .5rem; align-content: start; justify-items: start; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--navy); }
.footer__contact a { font-weight: 600; color: var(--navy); unicode-bidi: isolate; }
.footer__base { padding-block: 1.1rem; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .875rem; }
.footer__base p { max-width: none; }
@media (min-width: 48rem) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 10, 26, .94); display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem) clamp(1rem, 6vw, 5rem); direction: ltr; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: .75rem; }
.lightbox img { max-height: calc(100dvh - 7rem); max-width: min(26rem, 100%); width: auto; border-radius: 22px; }
.lightbox.is-web img { max-width: min(72rem, 100%); border-radius: 8px; }
.lightbox figcaption { color: #b9c3da; font-size: .875rem; }
.lightbox.is-single .lightbox__nav { display: none; }
.lightbox__close { position: absolute; top: .5rem; right: .75rem; width: 3rem; height: 3rem; border: 0; background: none; color: #fff; font-size: 2.2rem; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox__nav:hover { background: var(--amber); color: #000; }
.lightbox__prev { left: clamp(.5rem, 2vw, 1.5rem); } .lightbox__next { right: clamp(.5rem, 2vw, 1.5rem); }
@media (max-width: 40rem) { .lightbox__nav { display: none; } }

/* Reveal on scroll (added by main.js; content stays visible without it) */
.rv { opacity: 0; translate: 0 22px; transition: opacity .6s var(--ease), translate .7s var(--ease), transform .25s var(--ease), box-shadow .25s, background-color .25s, border-color .25s; }
.rv.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
  .rv { opacity: 1; translate: 0 0; }
}
