/* Star Pack — one-page site. Logical properties throughout so one stylesheet serves RTL and LTR. */
:root {
  --ink: #0b2e4f;
  --ink-2: #3d566e;
  --blue: #1273c4;
  --blue-d: #0d5a9c;
  --tint: #eef6fc;
  --line: #d9e6f1;
  --bg: #ffffff;
  --accent: #ffb020;
  --accent-d: #f09a00;
  --radius: 14px;
  --wrap: 1140px;
  --shadow: 0 10px 30px rgba(11, 46, 79, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
h1 { font-size: clamp(1.75rem, 4.200vw, 2.900rem); line-height: 1.300; font-weight: 700; }
h2 { font-size: clamp(1.450rem, 3vw, 2.050rem); line-height: 1.350; font-weight: 700; }
h3 { font-size: 1.120rem; line-height: 1.500; font-weight: 600; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 8px 20px;
  border: 2px solid transparent; border-radius: 10px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn--lg { min-height: 52px; padding: 10px 28px; font-size: 1.050rem; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-d); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-d); }
.btn--accent { background: var(--accent); color: #23180a; }
.btn--accent:hover { background: var(--accent-d); }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { color: var(--blue); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.200; }
.brand__text strong { font-size: 1.250rem; font-weight: 700; }
.brand__text small { font-size: .760rem; color: var(--ink-2); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: .970rem; color: var(--ink-2); }
.nav a:not(.btn):hover { color: var(--blue-d); background: var(--tint); }
.nav .nav__lang { border: 1px solid var(--line); color: var(--ink); margin-inline: 6px; }
.menu-btn { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.menu-btn span { display: block; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); padding-block: 56px 0; }
.hero__in { display: grid; grid-template-columns: 1.150fr .850fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 14px; padding: 4px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--blue-d); font-weight: 600; font-size: .900rem; }
.lead { margin-top: 18px; font-size: 1.120rem; color: var(--ink-2); max-width: 58ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__art { display: block; width: 100%; height: auto; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.fact { padding: 20px 24px; border-inline-start: 1px solid var(--line); }
.fact:first-child { border-inline-start: 0; }
.fact dt { font-size: 1.900rem; font-weight: 700; color: var(--blue); line-height: 1.200; }
.fact dd { color: var(--ink-2); font-size: .950rem; }

/* Sections */
.section { padding-block: 76px; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { max-width: 720px; margin-bottom: 36px; }
.section__head p { margin-top: 10px; color: var(--ink-2); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.card__icon { display: block; margin-bottom: 14px; padding: 8px; color: var(--blue); background: var(--tint); border-radius: 12px; }
.card p { margin-top: 6px; color: var(--ink-2); font-size: .970rem; }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding: 20px 24px; border: 1px dashed #a9cbe6; border-radius: var(--radius); background: #f8fbfe; }
.callout p { color: var(--ink); font-weight: 500; }
.callout .btn { flex: none; }

.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.benefits li { display: flex; gap: 14px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.benefits__ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; }
.benefits p { margin-top: 4px; color: var(--ink-2); font-size: .970rem; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about__copy p { margin-top: 14px; color: var(--ink-2); }
.about blockquote { margin-top: 24px; padding: 16px 20px; border-inline-start: 4px solid var(--accent); background: var(--tint); border-radius: 8px; font-weight: 500; }
.timeline { position: relative; padding-inline-start: 28px; border-inline-start: 2px solid var(--line); }
.timeline li { position: relative; padding-bottom: 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -37px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); }
.timeline__y { display: block; font-size: 1.500rem; font-weight: 700; color: var(--blue); line-height: 1.300; }
.timeline p { color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps__n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; }
.steps p { margin-top: 6px; color: var(--ink-2); font-size: .970rem; }

/* Quote form */
.quote { display: grid; grid-template-columns: .800fr 1.200fr; gap: 48px; align-items: start; }
.quote__intro p { margin-top: 12px; color: #c9d9e8; }
.direct { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); }
.direct h3 { font-size: 1rem; color: #c9d9e8; font-weight: 500; }
.direct ul { margin-top: 12px; display: grid; gap: 10px; }
.direct li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.direct li > span:first-child { min-width: 96px; color: #9fb7cd; font-size: .900rem; }
.direct a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.direct a:hover { text-decoration-color: var(--accent); }

.form { display: grid; gap: 16px; padding: 28px; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row--3 { grid-template-columns: repeat(3, 1fr); }
.form label { display: block; font-weight: 600; font-size: .930rem; }
.form label small { font-weight: 400; color: var(--ink-2); }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px; min-height: 46px;
  border: 1px solid #b9cbdb; border-radius: 10px; background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink);
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18, 115, 196, .18); }
.form [aria-invalid="true"] { border-color: #c62828; }
.form ::placeholder { color: #8fa3b5; }
.form .btn { width: 100%; }
.form__msg { min-height: 1.500em; font-weight: 600; }
.form__msg.is-ok { color: #0b7a43; }
.form__msg.is-err { color: #c62828; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { background: #071f36; color: #a9bdd0; font-size: .900rem; }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; }
.footer a { color: #fff; }

.sticky-cta { display: none; }

/* Tablet */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about, .quote { grid-template-columns: 1fr; gap: 36px; }
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px; font-size: 1.050rem; }
  .nav .nav__lang { margin: 8px 0; text-align: center; }
}

/* Mobile */
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .hero { padding-top: 36px; }
  .hero__in { grid-template-columns: 1fr; gap: 20px; }
  .hero__visual { order: -1; max-width: 300px; margin-inline: auto; }
  .hero__cta .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr; margin-top: 32px; }
  .fact { display: flex; align-items: baseline; gap: 14px; padding: 14px 18px; border-inline-start: 0; border-top: 1px solid var(--line); }
  .fact:first-child { border-top: 0; }
  .fact dt { font-size: 1.500rem; min-width: 64px; }
  .section { padding-block: 52px; }
  .cards, .benefits, .steps { grid-template-columns: 1fr; }
  .callout { flex-direction: column; align-items: stretch; text-align: center; }
  .form { padding: 20px; }
  .form__row, .form__row--3 { grid-template-columns: 1fr; }
  .sticky-cta {
    display: flex; position: fixed; inset-inline: 12px; bottom: 12px; z-index: 60;
    min-height: 52px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  }
  .sticky-cta.is-hidden { transform: translateY(140%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
