/* عمر عبدالله — personal site · Blueprint brand */
@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo-Variable.ttf") format("truetype-variations"), url("../fonts/Cairo-Variable.ttf") format("truetype");
  font-weight: 200 1000; font-display: swap;
}
:root {
  --bg: #F6F6F6;          /* Clarity Grey */
  --card: #FFFFFF;
  --tint: #EEF0F6;
  --line: #E4E7EF;
  --ink: #212229;         /* Precision Black */
  --muted: #5F6375;
  --navy: #101D57;        /* Deep Blueprint */
  --navy-2: #182867;
  --blue: #063DA1;        /* Philippine Blue */
  --sky: #16ACF2;         /* Velocity Blue */
  --orange: #F25C22;      /* Halloween Orange */

  --font: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --m: clamp(20px, 4vw, 40px);
  --max: 1240px;
  --sec: clamp(88px, 10vw, 144px);
  --r-xl: 32px;
  --r-l: 24px;
  --r-m: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --sh-1: 0 1px 2px rgba(16, 29, 87, .04), 0 2px 8px rgba(16, 29, 87, .04);
  --sh-2: 0 2px 4px rgba(16, 29, 87, .04), 0 18px 40px -12px rgba(16, 29, 87, .16);
  --bar: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 16px); background: var(--bg); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--blue); color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 999px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--m) * 2); margin-inline: auto; padding-inline: var(--m); }
.center { display: flex; justify-content: center; margin-top: 48px; }
.ic { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
html[dir="rtl"] .ic { transform: scaleX(-1); }

/* type */
.h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.15; font-weight: 800; color: var(--navy); }
.h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; font-weight: 800; color: var(--navy); }
html[lang="en"] .h2, html[lang="en"] .h3 { letter-spacing: -0.025em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .3s var(--ease), background-color .25s, box-shadow .3s, color .25s; }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(6, 61, 161, .55); }
.btn--blue:hover { background: #0849BF; transform: translateY(-2px); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--blue); }
.btn--ghost { background: var(--card); color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px #C9CEDD; transform: translateY(-2px); }
.btn--ghost:hover .ic { transform: translate(2px, -2px); }
html[dir="rtl"] .btn--ghost:hover .ic { transform: scaleX(-1) translate(2px, -2px); }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.bar.is-scrolled, .bar.is-open { background: rgba(246, 246, 246, .82); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--line); }
.bar__in { max-width: calc(var(--max) + var(--m) * 2); margin-inline: auto; padding-inline: var(--m); height: var(--bar); display: flex; align-items: center; gap: 32px; }
.bar__mark { width: 78px; color: var(--navy); flex: none; }
.bar__mark svg { fill: currentColor; }
.bar__nav { display: flex; gap: 4px; margin-inline: auto; padding: 5px; border-radius: 999px; background: var(--card); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }
.bar__nav a { padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s, background-color .2s; }
.bar__nav a:hover { color: var(--navy); background: var(--tint); }
.bar__end { display: flex; align-items: center; gap: 10px; }
.lang { min-width: 42px; height: 42px; border-radius: 999px; border: 0; cursor: pointer; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 800; font-size: 14px; color: var(--navy); transition: box-shadow .2s, transform .2s var(--ease); }
.lang:hover { box-shadow: inset 0 0 0 1px #C9CEDD; }
.lang:active { transform: scale(.94); }
.burger { display: none; width: 42px; height: 42px; border-radius: 999px; border: 0; cursor: pointer; background: var(--navy); place-content: center; gap: 5px; }
.burger span { display: block; width: 16px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.sheet { display: grid; gap: 4px; padding: 8px var(--m) 24px; }
.sheet a:not(.btn) { padding: 12px 4px; font-size: 20px; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line); }
.sheet .btn { margin-top: 16px; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 14px; border-radius: 999px; background: var(--card); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; color: var(--navy); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: #22B573; box-shadow: 0 0 0 4px rgba(34, 181, 115, .16); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(34, 181, 115, .06); } }
.hero__name { margin-top: 28px; font-size: clamp(56px, 9vw, 128px); line-height: 1; font-weight: 900; color: var(--navy); }
html[lang="en"] .hero__name { letter-spacing: -0.045em; font-weight: 800; }
.hero__role { margin-top: 22px; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.4; font-weight: 700; color: var(--blue); }
.hero__lede { margin-top: 14px; max-width: 44ch; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.marquee { margin-top: clamp(56px, 7vw, 88px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
html[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; gap: 16px; padding-inline-end: 16px; }
.marquee img { width: clamp(180px, 17vw, 250px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; background: var(--tint); }
.marquee img:nth-child(even) { margin-top: 32px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- sections ---------- */
.section { padding-top: var(--sec); }
.section--tight { padding-top: clamp(72px, 7vw, 104px); }
.section--tint { margin-top: var(--sec); padding-block: var(--sec); background: var(--card); }
.head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px 48px; margin-bottom: clamp(36px, 4vw, 56px); }
.head__p { font-size: 18px; color: var(--muted); max-width: 42ch; line-height: 1.65; }
.head--row { align-items: center; }

/* ---------- selected work: bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile { grid-column: span 6; background: var(--card); border-radius: var(--r-xl); padding: 10px; box-shadow: var(--sh-1); display: flex; flex-direction: column; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.tile:hover { box-shadow: var(--sh-2); transform: translateY(-4px); }
.tile--big:first-child { grid-column: span 7; }
.tile--big:nth-child(2) { grid-column: span 5; }
.tile__media { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; aspect-ratio: 4 / 3; border-radius: calc(var(--r-xl) - 8px); overflow: hidden; background: var(--tint); position: relative; }
.tile--big .tile__media { aspect-ratio: 1616 / 1264; }
.tile--big.tile--phones .tile__media { aspect-ratio: auto; flex: 1; min-height: 320px; }
.tile--phones .tile__info { flex: none; }
.tile__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover .tile__media > img { transform: scale(1.035); }
.tile--phones .tile__media { background: #EAF9EF; }
.tile__phones { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4%; padding: 6% 4%; }
.ph { width: 26%; height: auto; aspect-ratio: 786 / 1704; border-radius: 10% / 4.6%; overflow: hidden; background: #000; box-shadow: 0 0 0 3px #1C1F22, 0 24px 40px -14px rgba(31, 92, 52, .45); flex: none; transition: transform .8s var(--ease); }
.ph:nth-child(2) { width: 29%; }
.tile--big .ph { width: 30%; }
.tile--big .ph:nth-child(2) { width: 34%; }
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tile:hover .ph { transform: translateY(-6px); }
.tile__info { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 14px 12px; flex: 1; }
.tile__name { font-size: 22px; line-height: 1.3; font-weight: 800; color: var(--navy); }
.tile--big .tile__name { font-size: clamp(24px, 2.2vw, 30px); }
.tile__kind { font-size: 15px; color: var(--muted); margin-top: 2px; }
.tile__desc { font-size: 15px; color: var(--muted); line-height: 1.75; margin-top: 10px; max-width: 52ch; }
.tile__go { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--navy); transition: background-color .25s, color .25s, transform .3s var(--ease); }
.tile__go:hover { background: var(--blue); color: #fff; transform: rotate(-8deg); }

.badge-mini { display: inline-flex; align-items: center; vertical-align: middle; margin-inline-start: 8px; padding: 3px 10px; border-radius: 999px; background: #EAF9EF; color: #1F7A43; font-size: 12px; font-weight: 700; letter-spacing: 0; line-height: 1.4; box-shadow: inset 0 0 0 1px #BCEACA; }

/* ---------- all work ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.filters button { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer; background: transparent; font-size: 14px; font-weight: 600; color: var(--muted); transition: background-color .2s, color .2s; }
.filters button:hover { color: var(--navy); }
.filters button[aria-selected="true"] { background: var(--navy); color: #fff; }
.grid { columns: 3; column-gap: 20px; }
.card { display: block; width: 100%; break-inside: avoid; margin-bottom: 20px; text-align: start; background: var(--card); border: 0; padding: 8px; border-radius: var(--r-l); cursor: pointer; box-shadow: var(--sh-1); transition: box-shadow .4s var(--ease), transform .4s var(--ease); animation: fade .5s var(--ease); }
.card:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.card__media { display: block; position: relative; border-radius: calc(var(--r-l) - 6px); overflow: hidden; background: var(--tint); }
.card__media > img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.card:hover .card__media > img { transform: scale(1.04); }
.card__media--phones { background: #EAF9EF; aspect-ratio: 4 / 3; }
.card__media--box { aspect-ratio: 4 / 3; }
.card__media--phones .tile__phones { padding: 8% 6%; }
.card__cap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 10px 8px; color: var(--muted); }
.card__name { display: block; font-size: 17px; font-weight: 800; color: var(--navy); line-height: 1.35; }
.card__kind { display: block; font-size: 14px; color: var(--muted); }
.card:hover .ic { color: var(--blue); }
.tile__riyal { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; background: var(--navy); color: #fff; padding: 24px; }
.tile__riyal b { font-size: 22px; font-weight: 800; }
.tile__riyal span { font-size: 14px; color: #BAC2E2; }

/* ---------- services ---------- */
.services { margin-top: var(--sec); padding-block: clamp(56px, 6vw, 96px); background: var(--card); color: var(--ink); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); border-radius: clamp(28px, 4vw, 48px); max-width: calc(var(--max) + 160px); margin-inline: auto; }
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc__group { background: var(--bg); border-radius: var(--r-l); padding: 22px 12px 12px; }
.svc__g { display: inline-flex; align-items: center; gap: 8px; margin: 0 12px 10px; font-size: 14px; font-weight: 700; color: #C9440F; }
.svc__g::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.svc__item { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 12px; border-radius: var(--r-m); transition: background-color .25s; }
.svc__item:hover { background: var(--card); box-shadow: var(--sh-1); }
.svc__item .ic { margin-top: 5px; color: #9AA1B8; }
.svc__item:hover .ic { color: var(--blue); transform: translate(2px, -2px); }
html[dir="rtl"] .svc__item:hover .ic { transform: scaleX(-1) translate(2px, -2px); }
.svc__n { display: block; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--navy); }
.svc__d { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.65; }

.svc-more { display: flex; align-items: center; gap: 18px; margin-top: 16px; padding: 18px 22px; border-radius: var(--r-l); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); border: 1.5px dashed #CBD1E0; }
.svc-more__ic { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--card); color: var(--orange); box-shadow: var(--sh-1); }
.svc-more__ic svg { width: 24px; height: 24px; }
.svc-more__txt { flex: 1; display: grid; gap: 2px; }
.svc-more__txt strong { font-size: 18px; color: var(--navy); }
.svc-more__txt span { font-size: 14px; color: var(--muted); }

/* ---------- reviews ---------- */
.reviews { columns: 3; column-gap: 20px; }
.review { break-inside: avoid; margin-bottom: 20px; background: var(--card); border-radius: var(--r-l); padding: 28px; box-shadow: var(--sh-1); display: grid; gap: 22px; }
.review blockquote { font-size: 17px; line-height: 1.8; color: var(--ink); }
.review blockquote::before { content: "”"; display: block; font-size: 48px; line-height: .5; height: 22px; color: var(--orange); font-weight: 900; }
html[dir="ltr"] .review blockquote::before { content: "“"; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review__av { width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--blue); display: grid; place-items: center; font-weight: 800; flex: none; }
.review strong { display: block; font-size: 15px; color: var(--navy); line-height: 1.4; }
.review small { display: block; font-size: 13px; color: var(--muted); }
.review { position: relative; }
.review__sample { position: absolute; top: 18px; inset-inline-end: 18px; padding: 2px 10px; border-radius: 999px; background: #FFF1EA; color: #B8410F; font-size: 12px; font-weight: 700; }
.review small.review__svc { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: var(--tint); color: var(--blue); font-size: 12px; font-weight: 600; }
.review--invite { background: var(--tint); box-shadow: none; justify-items: start; }
.review--invite p { font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1.45; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { background: var(--bg); border-radius: var(--r-l); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.step__top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.step__n { width: 38px; height: 38px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.step__name { font-size: 14px; font-weight: 700; color: var(--blue); }
.step__clause { font-size: 21px; line-height: 1.35; font-weight: 800; color: var(--navy); }
.step__detail { font-size: 15px; color: var(--muted); line-height: 1.7; }
.step__meter { margin-top: auto; padding-top: 16px; display: grid; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.step__meter i { display: flex; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.step__meter b { display: block; height: 100%; border-radius: inherit; background: var(--blue); transform-origin: right; }
html[dir="ltr"] .step__meter b { transform-origin: left; }
.step.in .step__meter b { animation: grow 1.2s .3s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.step:last-child { background: var(--navy); }
.step:last-child .step__n { background: var(--orange); }
.step:last-child .step__name { color: #7FD0F7; }
.step:last-child .step__clause { color: #fff; }
.step:last-child .step__detail, .step:last-child .step__meter { color: #BAC2E2; }
.step:last-child .step__meter i { background: rgba(255, 255, 255, .14); }
.step:last-child .step__meter b { background: #22B573; }

/* ---------- request builder ---------- */
.builder { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); background: var(--card); border-radius: var(--r-xl); padding: clamp(24px, 4.5vw, 64px); box-shadow: var(--sh-1); }
.builder__form .head__p { margin-top: 12px; }
.q { margin-top: 32px; }
.q__l { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 12px; padding: 0; }
.q__l b { width: 24px; height: 24px; border-radius: 50%; background: var(--tint); color: var(--blue); display: grid; place-items: center; font-size: 13px; }
.q__l--plain { min-height: 24px; }
.q--fields { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; color: var(--ink); transition: background-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease); }
.chip:hover span { box-shadow: inset 0 0 0 1px #C3C9DA; }
.chip input:checked + span { background: var(--navy); color: #fff; box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.chip:active span { transform: scale(.96); }
.field { width: 100%; min-height: 52px; padding: 13px 16px; border: 0; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; outline: none; resize: vertical; transition: box-shadow .2s, background-color .2s; }
.field:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.builder__out { display: flex; flex-direction: column; align-items: center; gap: 14px; position: sticky; top: calc(var(--bar) + 24px); align-self: start; }
.phone-ui { width: min(380px, 100%); border-radius: 36px; background: #0E1116; padding: 10px; box-shadow: var(--sh-2); }
.phone-ui__head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: #fff; border-radius: 27px 27px 0 0; }
.phone-ui__head strong { display: block; font-size: 15px; color: #111B21; line-height: 1.3; }
.phone-ui__head small { display: block; font-size: 12px; color: #667781; }
.phone-ui__av { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.phone-ui__av svg { width: 24px; fill: currentColor; }
.phone-ui__chat { background: #EFEAE2; padding: 20px 14px; min-height: 280px; display: flex; align-items: flex-end; justify-content: flex-end; }
.bubble { background: #D9FDD3; color: #111B21; padding: 10px 12px; border-radius: 12px; border-start-end-radius: 3px; font-size: 14px; line-height: 1.7; white-space: pre-line; max-width: 92%; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.btn--wa { width: 100%; border-radius: 0 0 27px 27px; min-height: 54px; background: #25D366; color: #08361C; }
.btn--wa:hover { background: #1FBE5B; }
.btn--wa:active { transform: none; }
.builder__note { font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- payment ---------- */
.pay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.terms { background: var(--card); border-radius: var(--r-xl); padding: 12px 32px; box-shadow: var(--sh-1); }
.terms__row { display: grid; grid-template-columns: 7.5em 1fr; gap: 20px; padding: 24px 0; }
.terms__row + .terms__row { border-top: 1px solid var(--line); }
.terms dt { font-size: 15px; font-weight: 600; color: var(--muted); padding-top: 4px; }
.terms dd strong { display: block; font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.terms dd span { display: block; font-size: 15px; color: var(--muted); margin-top: 4px; }
.bank { background: var(--card); border-radius: var(--r-xl); padding: 12px; box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.bank__card { position: relative; overflow: hidden; border-radius: calc(var(--r-xl) - 8px); padding: 28px; color: #fff; display: grid; gap: 16px; background: var(--navy); background-image: radial-gradient(120% 140% at 100% 0%, #1F3BA8 0%, transparent 55%), radial-gradient(90% 90% at 0% 100%, #0A1442 0%, transparent 60%); }
.bank__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 6px; }
.bank__name { font-size: 22px; font-weight: 800; }
.bank__mark { width: 64px; fill: rgba(255, 255, 255, .5); }
.bank__label { font-size: 13px; color: #BAC2E2; }
.bank__val { font-size: 18px; font-weight: 700; }
.bank__num { font-variant-numeric: tabular-nums; letter-spacing: .04em; text-align: start; }
html[dir="rtl"] .bank__num { text-align: end; }
.bank__foot { display: flex; align-items: center; gap: 20px; padding: 18px 14px 10px; flex: 1; }
.bank__qr { width: 112px; flex: none; text-align: center; }
.bank__qr img { width: 112px; height: 112px; border-radius: 14px; background: #fff; padding: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.bank__qr figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.bank__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bank__msg { flex-basis: 100%; font-size: 14px; color: #127A43; min-height: 1.4em; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--tint); box-shadow: var(--sh-1); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__text { display: grid; gap: 18px; }
.about__text > p { font-size: 17px; color: var(--muted); max-width: 56ch; }
.about__text > .about__big { font-size: clamp(21px, 2vw, 26px); line-height: 1.55; font-weight: 700; color: var(--navy); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-top: 10px; }
.facts div { background: var(--card); border-radius: var(--r-m); padding: 14px 16px; box-shadow: var(--sh-1); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.45; margin-top: 2px; }

/* ---------- contact ---------- */
#contact { padding-top: var(--sec); }
.cta { position: relative; overflow: hidden; background: var(--card); color: var(--navy); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); border-radius: clamp(28px, 4vw, 48px); padding: clamp(48px, 7vw, 104px) clamp(24px, 6vw, 96px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta__mark { position: absolute; width: 140%; max-width: none; inset-inline-start: -20%; bottom: -14%; fill: rgba(16, 29, 87, .035); pointer-events: none; }
.cta__h { position: relative; font-size: clamp(36px, 5.4vw, 72px); line-height: 1.1; font-weight: 900; }
html[lang="en"] .cta__h { letter-spacing: -0.035em; }
.cta__p { position: relative; margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 46ch; }
.ask { position: relative; width: min(600px, 100%); margin-top: 36px; }
.ask input { width: 100%; height: 64px; border: 0; border-radius: 999px; background: var(--bg); color: var(--ink); padding-inline: 26px 76px; font-size: 16px; outline: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s; }
.ask input::placeholder { color: #8A8FA3; }
.ask input:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 4px rgba(6, 61, 161, .12); }
.ask__go { position: absolute; inset-inline-end: 8px; top: 8px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .25s var(--ease), background-color .2s; }
.ask__go svg { width: 22px; transform: scaleX(-1); }
html[dir="ltr"] .ask__go svg { transform: none; }
.ask__go:hover { background: #0849BF; transform: scale(1.06); }
.reach { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.reach a { display: grid; padding: 10px 20px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, transform .3s var(--ease); text-align: center; }
.reach a:hover { background: var(--card); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); transform: translateY(-2px); }
.reach small { font-size: 12px; color: var(--muted); line-height: 1.5; }
.reach span { font-size: 15px; font-weight: 700; color: var(--navy); }

/* ---------- footer ---------- */
.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 40px 48px; font-size: 14px; color: var(--muted); }
.foot__mark { width: 72px; fill: var(--navy); }
.foot__top { font-weight: 700; color: var(--navy); }
.foot__top:hover { color: var(--blue); }

/* ---------- modal ---------- */
.modal { width: min(1120px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: var(--r-xl); background: var(--bg); color: var(--ink); overflow: hidden; box-shadow: 0 40px 80px -20px rgba(16, 29, 87, .45); }
.modal::backdrop { background: rgba(16, 29, 87, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .45s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.modal__in { max-height: calc(100svh - 32px); overflow: auto; padding: clamp(24px, 4vw, 52px); }
.modal__x { position: sticky; top: 0; float: inline-end; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; z-index: 2; box-shadow: var(--sh-1); transition: transform .3s var(--ease); }
.modal__x:hover { transform: rotate(90deg); }
.modal__x svg { width: 20px; }
.modal__head { display: grid; gap: 10px; justify-items: start; max-width: 62ch; margin-bottom: 32px; }
.modal__kind { font-size: 15px; font-weight: 700; color: var(--blue); }
.modal__desc { font-size: 17px; color: var(--muted); }
.modal__head .btn { margin-top: 8px; }
.modal__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.modal__btns .btn[hidden] { display: none; }
.modal__imgs { display: grid; gap: 14px; clear: both; }
.modal__imgs img { width: auto; max-width: 100%; max-height: 82svh; margin-inline: auto; border-radius: var(--r-l); background: #fff; }
.modal__imgs.is-phones { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.modal__imgs.is-phones img { border-radius: 28px; }

/* ---------- entrances ---------- */
html.js .rise { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
html.js .rise.in { opacity: 1; transform: none; }
html.js .hero .rise { animation: up 1s var(--ease) both; transition: none; opacity: 1; transform: none; }
html.js .hero .rise:nth-child(2) { animation-delay: .08s; }
html.js .hero .rise:nth-child(3) { animation-delay: .16s; }
html.js .hero .rise:nth-child(4) { animation-delay: .24s; }
html.js .hero .rise:nth-child(5) { animation-delay: .32s; }
html.js .marquee { animation: fadein 1.4s .3s var(--ease) both; }
@keyframes up { from { opacity: 0; transform: translateY(22px); } }
@keyframes fadein { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js .rise { opacity: 1; transform: none; }
  .marquee__track { animation: none !important; }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .bar__nav, .bar__cta { display: none; }
  .bar__end { margin-inline-start: auto; }
  .burger { display: grid; }
  .tile--big:first-child, .tile--big:nth-child(2) { grid-column: 1 / -1; }
  .grid { columns: 2; }
  .services { border-radius: 0; }
  .svc { grid-template-columns: 1fr 1fr; }
  .svc__group:first-child { grid-row: span 2; }
  .reviews { columns: 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .builder { grid-template-columns: 1fr; }
  .builder__out { position: static; }
  .pay { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__img { aspect-ratio: 16 / 10; }
}
@media (min-width: 1081px) { .sheet { display: none !important; } }

/* ---------- phone ---------- */
@media (max-width: 680px) {
  :root { --bar: 64px; --sec: 88px; }
  body { font-size: 16px; }
  .bar__mark { width: 66px; }
  .hero { padding-top: 36px; }
  .hero__name { font-size: 15vw; margin-top: 22px; }
  html[lang="en"] .hero__name { font-size: 13vw; }
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .marquee img { width: 150px; border-radius: 16px; }
  .marquee img:nth-child(even) { margin-top: 20px; }
  .marquee__set { gap: 10px; padding-inline-end: 10px; }
  .head { margin-bottom: 28px; }
  .head__p { font-size: 16px; }
  .tile, .tile--big:first-child, .tile--big:nth-child(2) { grid-column: 1 / -1; border-radius: var(--r-l); padding: 8px; }
  .tile__media { border-radius: calc(var(--r-l) - 6px); }
  .tile--big.tile--phones .tile__media { aspect-ratio: 4 / 3; min-height: 0; flex: none; }
  .tile__info { padding: 14px 8px 8px; }
  .tile__name, .tile--big .tile__name { font-size: 21px; }
  .bento { gap: 14px; }
  .filters { border-radius: var(--r-m); width: 100%; }
  .filters button { flex: 1 1 auto; }
  .grid { columns: 1; }
  .card { margin-bottom: 14px; }
  .services { padding-block: 72px; }
  .svc { grid-template-columns: 1fr; }
  .svc__group:first-child { grid-row: auto; }
  .reviews { columns: 1; }
  .review { padding: 22px; margin-bottom: 14px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { padding: 22px; }
  .builder { padding: 22px 18px; border-radius: var(--r-l); }
  .q--fields { grid-template-columns: 1fr; }
  .terms { padding: 4px 22px; border-radius: var(--r-l); }
  .terms__row { grid-template-columns: 1fr; gap: 2px; padding: 20px 0; }
  .terms dd strong { font-size: 21px; }
  .bank { border-radius: var(--r-l); }
  .bank__card { padding: 22px; }
  .bank__val { font-size: 16px; }
  .bank__foot { flex-direction: column; align-items: stretch; padding: 16px 8px 8px; }
  .bank__qr { display: flex; align-items: center; gap: 14px; width: auto; text-align: start; }
  .bank__actions .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: 1fr; }
  .svc-more { flex-wrap: wrap; }
  .svc-more .btn { width: 100%; }
  .hero__actions .js-cv { order: 3; }
  .cta { border-radius: var(--r-l); padding: 48px 20px; }
  .ask input { height: 58px; font-size: 15px; padding-inline: 20px 66px; }
  .ask__go { width: 44px; height: 44px; top: 7px; inset-inline-end: 7px; }
  .reach a { padding: 8px 14px; }
  .foot { flex-wrap: wrap; justify-content: center; text-align: center; }
  .modal { width: 100vw; max-height: 100svh; border-radius: 24px 24px 0 0; margin-bottom: 0; }
  .modal__imgs.is-phones { grid-template-columns: 1fr 1fr; }
}
