/* «الصفحة الرئيسية» s1.hudoor.xyz — ONE stylesheet for the editor preview AND the public page (scoped .hm, container
   queries: the preview column is narrower than the screen). Made once from the approved site design (2026-10-26); edit HERE. */
.hm {
  --paper: #f5f3ee; --surface: #ffffff; --surface-2: #faf8f4; --ink: #15201b; --ink-2: #4c5852; --ink-3: #8a938e;
  --line: #e4dfd4; --brand: #1d6a4c; --brand-2: #155238; --brand-soft: #e3efe8; --brand-ink: #0f3d2a;
  --gold: #b7791f; --gold-2: #e8c77a; --gold-soft: #fbf0db; --ok: #1f8a55; --bad: #b8433a;
  --hero-1: #1d6a4c; --hero-2: #0c2f22; --r: 18px; --r-lg: 26px; --shadow: 0 18px 40px -20px rgba(15, 61, 42, .35);
  
 container: hm / inline-size; background: var(--paper); color: var(--ink); font: 400 15px/1.8 "Plex Arabic", system-ui, sans-serif; border-radius: 22px; overflow: hidden; position: relative; }
.hm[data-mode="dark"] { --paper: #0f1512; --surface: #161d19; --surface-2: #1a221d; --ink: #eef1ec; --ink-2: #b4bdb7; --ink-3: #7d877f; --line: #29312c;
    --brand: #4fb488; --brand-2: #6cc89f; --brand-soft: #1b3127; --brand-ink: #bfe7d3; --gold: #e0a54a; --gold-soft: #3a2d15;
    --shadow: 0 18px 40px -20px rgba(0, 0, 0, .6); color-scheme: dark; }
:root[data-theme="dark"] .hm:not([data-mode="light"]) { --paper: #0f1512; --surface: #161d19; --surface-2: #1a221d; --ink: #eef1ec; --ink-2: #b4bdb7; --ink-3: #7d877f; --line: #29312c;
    --brand: #4fb488; --brand-2: #6cc89f; --brand-soft: #1b3127; --brand-ink: #bfe7d3; --gold: #e0a54a; --gold-soft: #3a2d15;
    --shadow: 0 18px 40px -20px rgba(0, 0, 0, .6); color-scheme: dark; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hm:not([data-mode="light"]) { --paper: #0f1512; --surface: #161d19; --surface-2: #1a221d; --ink: #eef1ec; --ink-2: #b4bdb7; --ink-3: #7d877f; --line: #29312c;
    --brand: #4fb488; --brand-2: #6cc89f; --brand-soft: #1b3127; --brand-ink: #bfe7d3; --gold: #e0a54a; --gold-soft: #3a2d15;
    --shadow: 0 18px 40px -20px rgba(0, 0, 0, .6); color-scheme: dark; } }
.hm img { max-width: 100%; display: block; }
.hm a { color: inherit; text-decoration: none; }
.hm h1, .hm h2, .hm h3, .hm h4 { font-family: var(--disp); font-weight: 600; margin: 0; line-height: 1.3; }
.hm p { margin: 0; }
.hm .wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.hm .mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(150deg, var(--hero-1), var(--hero-2));
  color: #fff; font: 600 22px/1 var(--disp); flex: none; }
.hm .mark.sm { width: 34px; height: 34px; font-size: 18px; border-radius: 10px; }
.hm .mark.xs { width: 22px; height: 22px; font-size: 12px; border-radius: 7px; vertical-align: -5px; }
.hm .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 99px; border: 0;
  background: var(--brand); color: #fff; font: 600 15.5px/1 "Plex Arabic", sans-serif; cursor: pointer; transition: transform .15s, background .15s; white-space: nowrap; }
.hm .btn:hover { background: var(--brand-2); transform: translateY(-1px); }
.hm .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hm .btn.ghost { background: transparent; color: var(--brand-ink); border: 1.5px solid var(--line); }
.hm .btn.ghost:hover { border-color: var(--brand); background: var(--brand-soft); }
.hm .btn.sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.hm .btn.lg { min-height: 54px; padding: 0 28px; font-size: 16.5px; }
.hm .btn.block { width: 100%; }
.hm :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.hm .top { position: relative; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hm .top.scrolled { border-bottom-color: var(--line); }
.hm .top-in { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.hm .brand { display: flex; align-items: center; gap: 10px; flex: none; }
.hm .bn { display: flex; flex-direction: column; line-height: 1.2; }
.hm .bn b { font: 600 19px/1.2 var(--disp); }
.hm .bn small { font-size: 12px; color: var(--ink-3); }
.hm .love { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 12px; border-radius: 99px; flex: none;
  background: linear-gradient(90deg, var(--gold-soft), color-mix(in srgb, var(--gold-soft) 40%, var(--surface)));
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); color: color-mix(in srgb, var(--gold) 80%, var(--ink)); font-size: 13px; font-weight: 600; }
.hm .love svg { width: 15px; height: 15px; fill: #d0453a; animation: hm-beat 1.8s ease-in-out infinite; }
@keyframes hm-beat { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.22); } 40% { transform: scale(.95); } }
.hm .nav { display: flex; gap: 2px; margin-inline-start: auto; }
.hm .nav a { padding: 8px 12px; border-radius: 99px; color: var(--ink-2); font-size: 15px; font-weight: 500; white-space: nowrap; }   /* one line always (owner 09/11) */
.hm .acts .btn { white-space: nowrap; }
.hm .nav a:hover, .hm .nav a.on { color: var(--brand-ink); background: var(--brand-soft); }
.hm .acts { display: flex; align-items: center; gap: 8px; }
.hm .acts .btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm .nav .nav-mail { display: none; }   /* the e-mail link: a button on wide screens, an item of the phone menu */
.hm .menu { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.hm .menu i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
.hm .hero { position: relative; overflow: hidden; padding: 64px 0 80px;
  background: radial-gradient(60% 60% at 12% 20%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%),
              radial-gradient(50% 50% at 90% 90%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 70%); }
.hm .hero-in { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hm .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.hm .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); animation: hm-pulse 2s infinite; }
@keyframes hm-pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--ok) 0%, transparent); } }
.hm .hero h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.18; margin: 18px 0 18px; letter-spacing: -.5px; }
.hm .hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 55%, var(--gold)));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm .lead { font-size: 18.5px; color: var(--ink-2); max-width: 580px; }
.hm .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }
.hm .trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hm .trust li { display: flex; flex-direction: column; line-height: 1.4; padding-inline-start: 14px; border-inline-start: 3px solid var(--brand); }
.hm .trust b { font: 600 18px/1.4 var(--disp); }
.hm .trust span { font-size: 13.5px; color: var(--ink-3); }
.hm .hero-art { position: relative; min-height: 470px; }
.hm .browser { position: absolute; inset: 20px 0 auto 60px; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.hm .browser .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); direction: ltr; }
.hm .browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.hm .browser .bar span { margin-inline-start: 10px; font-size: 12px; color: var(--ink-3); background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 1px 12px; }
.hm .device { position: absolute; left: 0; bottom: 0; width: 190px; padding: 7px; border-radius: 32px; background: #141816; box-shadow: var(--shadow); transform: rotate(3deg); }
.hm .device img { border-radius: 26px; aspect-ratio: 9 / 19; object-fit: cover; }
.hm .float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); font-size: 13px; line-height: 1.45; animation: hm-bob 5s ease-in-out infinite; }
.hm .float b { display: block; font-size: 14px; }
.hm .float small { color: var(--ink-3); }
.hm .float .ok { width: 30px; height: 30px; border-radius: 50%; background: var(--ok) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 12.5l4 4 8-9" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/18px no-repeat; }
.hm .float .pct { font: 600 18px/1 var(--disp); color: var(--brand); }
.hm .f1 { right: -8px; bottom: 70px; }
.hm .f2 { right: 40%; top: -4px; animation-delay: -2.5s; }
@keyframes hm-bob { 50% { transform: translateY(-8px); } }
.hm .sec { padding: 96px 0; }
.hm .sec-hd { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.hm .kicker { display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 4px 14px; border-radius: 99px; margin-bottom: 14px; }
.hm .kicker.light { background: rgba(255, 255, 255, .14); color: #d8efe3; }
.hm .sec-hd h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }
.hm .sec-hd p { color: var(--ink-2); font-size: 18px; }
.hm .story { background: var(--surface); }
.hm .story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.hm .quote { position: static; top: 100px; margin: 0; padding: 34px 32px; border-radius: var(--r-lg); color: #fff;
  background: radial-gradient(90% 70% at 100% 0%, rgba(255,255,255,.12), transparent 60%), linear-gradient(155deg, var(--hero-1), var(--hero-2)); }
.hm .quote > svg { width: 42px; height: 42px; fill: none; stroke: var(--gold-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: scaleX(-1); }
.hm .quote blockquote { margin: 14px 0 24px; font-size: 20px; line-height: 1.9; font-weight: 500; }
.hm .quote figcaption { display: flex; gap: 12px; align-items: center; padding-top: 18px; border-top: 1px solid rgba(232, 199, 122, .35); }
.hm .quote figcaption .mark { background: rgba(255, 255, 255, .14); }
.hm .quote figcaption b { display: block; font-size: 16px; }
.hm .quote figcaption small { color: #cfe9dc; font-size: 13px; }
.hm .timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.hm .timeline::before { content: ""; position: absolute; top: 10px; bottom: 10px; right: 19px; width: 2px; background: linear-gradient(var(--brand), var(--gold)); opacity: .35; }
.hm .timeline li { position: relative; display: flex; gap: 20px; padding-bottom: 28px; }
.hm .tl-dot { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface);
  border: 2px solid var(--brand); color: var(--brand); font: 600 16px/1 var(--disp); }
.hm .timeline li:last-child .tl-dot { background: var(--brand); color: #fff; }
.hm .timeline h3 { font-size: 21px; margin: 4px 0 6px; }
.hm .timeline p { color: var(--ink-2); }
.hm .numbers { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.hm .numbers div { background: var(--surface-2); padding: 26px 16px; text-align: center; }
.hm .numbers b { display: block; font: 600 34px/1.2 var(--disp); color: var(--brand); direction: ltr; }
.hm .numbers span { color: var(--ink-2); font-size: 15px; }
.hm .fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hm .fc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.hm .fc:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: var(--shadow); }
.hm .fc .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); margin-bottom: 16px; }
.hm .fc .ic svg { width: 25px; height: 25px; fill: none; stroke: var(--brand); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hm .fc h3 { font-size: 19px; margin-bottom: 8px; }
.hm .fc p { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
.hm .fc.big { grid-row: span 2; display: flex; flex-direction: column;
  background: linear-gradient(170deg, color-mix(in srgb, var(--brand-soft) 60%, var(--surface)), var(--surface)); }
.hm .fimgs { margin-top: auto; padding-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hm .fimgs img { border-radius: 18px; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 28%; }
.hm .compare { background: var(--surface); }
.hm .cmp { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.hm .cmp-row { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; }
.hm .cmp-row > span { padding: 17px 22px; border-top: 1px solid var(--line); font-size: 16px; }
.hm .cmp-row > span:first-child { font-weight: 700; }
.hm .cmp-row .man { color: var(--ink-2); padding-inline-start: 50px; position: relative; }
.hm .cmp-row .hd { background: color-mix(in srgb, var(--brand-soft) 55%, var(--surface)); color: var(--brand-ink); font-weight: 600; padding-inline-start: 50px; position: relative; }
.hm .cmp-row:not(.head) .man::before, .hm .cmp-row:not(.head) .hd::before { content: ""; position: absolute; right: 18px; top: 19px; width: 22px; height: 22px; border-radius: 50%;
  background: center/14px no-repeat; }
.hm .cmp-row:not(.head) .man::before { background-color: color-mix(in srgb, var(--bad) 14%, transparent);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 7l10 10M17 7L7 17" fill="none" stroke="%23b8433a" stroke-width="3" stroke-linecap="round"/></svg>'); }
.hm .cmp-row:not(.head) .hd::before { background-color: var(--ok);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 12.5l4 4 8-9" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>'); }
.hm .cmp-row.head > span { border-top: 0; font-family: var(--disp); font-weight: 600; font-size: 17px; padding-block: 20px; }
.hm .cmp-row.head .man { color: var(--ink-2); }
.hm .cmp-row.head .hd { background: var(--brand); color: #fff; }
.hm .cmp-row.head .hd .mark { background: rgba(255, 255, 255, .18); }
.hm .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hm .step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 26px; overflow: hidden; }
.hm .step .n { position: absolute; top: 18px; right: 18px; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: #fff; font: 600 17px/1 var(--disp); }
.hm .step img { width: 100%; height: 230px; object-fit: cover; object-position: center 22%; border-radius: 16px; margin-bottom: 18px; background: var(--surface-2); }
.hm .step img.wide { object-position: right top; }
.hm .step h3 { font-size: 20px; margin-bottom: 6px; }
.hm .step p { color: var(--ink-2); font-size: 15.5px; }
.hm .thanks { background: linear-gradient(180deg, var(--surface), var(--paper)); }
.hm .thx-list { display: flex; flex-direction: column; gap: 34px; }
.hm .thx-group h3 { font-size: 18px; color: var(--ink-2); text-align: center; margin-bottom: 18px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.hm .thx-group h3::before, .hm .thx-group h3::after { content: ""; height: 1px; width: 60px; background: var(--line); }
.hm .thx-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hm .thx-card { width: 250px; display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.hm .thx-card.lead { width: 330px; padding: 18px; border-color: color-mix(in srgb, var(--gold) 50%, var(--line));
  background: linear-gradient(160deg, var(--gold-soft), var(--surface)); }
.hm .thx-av { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--brand-soft); color: var(--brand);
  font: 600 20px/1 var(--disp); }
.hm .thx-card.lead .thx-av { width: 60px; height: 60px; font-size: 24px; background: var(--brand); color: #fff; }
.hm .thx-av img { width: 100%; height: 100%; object-fit: cover; }
.hm .thx-card b { display: block; font-size: 15.5px; line-height: 1.45; }
.hm .thx-card small { color: var(--ink-3); font-size: 13px; line-height: 1.45; display: block; }
.hm .thx-card p { font-size: 13px; color: var(--ink-2); line-height: 1.55; margin-top: 3px; }
.hm .thx-more { text-align: center; margin-top: 30px; }
.hm .thx-more a { color: var(--brand); font-weight: 600; }
.hm .wait { text-align: center; color: var(--ink-3); }
.hm .contact { padding: 0 0 96px; }
.hm .contact-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.hm .c-txt { padding: 48px 44px; color: #fff; background: radial-gradient(80% 60% at 0% 100%, rgba(232, 199, 122, .16), transparent 60%), linear-gradient(155deg, var(--hero-1), var(--hero-2)); }
.hm .c-txt h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
.hm .c-txt > p { color: #d8efe3; font-size: 17px; }
.hm .c-ways { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 16px; }
.hm .c-ways li { display: flex; gap: 14px; align-items: center; }
.hm .c-ways .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); flex: none; }
.hm .c-ways .ic svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-2); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hm .c-ways b { display: block; font-size: 13px; color: #cfe9dc; font-weight: 500; }
.hm .c-ways a, .hm .c-ways li > span { font-weight: 600; }
.hm .c-card { background: var(--surface); padding: 44px 40px 36px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.hm .c-card h3 { font-size: 24px; }
.hm .c-sub { color: var(--ink-2); margin-bottom: 8px; }
.hm .c-btn { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface-2);
  transition: border-color .15s, transform .15s, background .15s; }
.hm .c-btn:hover { transform: translateY(-2px); border-color: var(--brand); }
.hm .c-btn .ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex: none; }
.hm .c-btn .ic svg { width: 27px; height: 27px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hm .c-btn.wa .ic { background: #1f9d55; }
.hm .c-btn.em .ic { background: var(--brand); }
.hm .c-btn .tx { flex: 1; min-width: 0; }
.hm .c-btn b { display: block; font-size: 17px; }
.hm .c-btn small { display: block; color: var(--ink-3); font-size: 14.5px; direction: ltr; text-align: right; overflow-wrap: anywhere; }
.hm .c-btn .go { width: 22px; height: 22px; fill: none; stroke: var(--ink-3); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hm .c-btn.off { opacity: .6; pointer-events: none; }
.hm .c-btn.off small { direction: rtl; }
.hm .c-note { font-size: 13.5px; color: var(--ink-3); text-align: center; margin-top: 4px; }
.hm .foot { background: #0c1f17; color: #cfe0d6; padding: 56px 0 26px; }
.hm .made { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 46px; }
.hm .made .orn { display: flex; align-items: center; gap: 12px; }
.hm .made .orn i { display: block; width: 90px; border-top: 1.5px solid var(--gold-2); opacity: .8; }
.hm .made .orn svg { width: 26px; height: 26px; fill: #e06a5c; animation: hm-beat 1.8s ease-in-out infinite; }
.hm .made .m1 { margin-top: 10px; color: var(--gold-2); font-size: 16px; }
.hm .made .m2 { font: 600 clamp(28px, 4vw, 40px)/1.3 var(--disp); color: #fff; }
.hm .foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; padding: 34px 0; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hm .foot .brand .bn small { color: #8fb3a1; }
.hm .foot .mark { background: rgba(255, 255, 255, .1); }
.hm .f-brand p { margin-top: 14px; font-size: 15px; max-width: 420px; color: #a9c4b6; }
.hm .foot h4 { font-size: 15px; color: #fff; margin-bottom: 12px; }
.hm .foot-grid a:not(.brand) { display: block; padding: 4px 0; color: #a9c4b6; font-size: 15px; }
.hm .foot-grid a:not(.brand):hover { color: #fff; }
.hm .rights { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: 13.5px; color: #8fb3a1; }
.hm .ver { direction: ltr; }
/* the menu button from 1130 px down (measured 09/11: with «البريد» the bar's links no longer fit below that) */
@container hm (max-width: 1130px) {
.hm .nav { display: none; }
.hm .menu { display: flex; }
.hm .acts { margin-inline-start: auto; }
.hm .nav.open { display: flex; position: absolute; top: calc(100% + 6px); left: 16px; right: 16px; flex-direction: column; padding: 10px; border-radius: 18px;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hm .nav.open a { padding: 12px 14px; }
.hm .nav.open .nav-mail { display: block; border-top: 1px solid var(--line); margin-top: 4px; }
}
@container hm (max-width: 1080px) {
.hm .hero-in { grid-template-columns: 1fr; gap: 30px; }
.hm .hero-art { min-height: 430px; max-width: 640px; }
.hm .story-grid { grid-template-columns: 1fr; }
.hm .quote { position: static; }
.hm .fgrid { grid-template-columns: 1fr 1fr; }
.hm .fc.big { grid-column: span 2; grid-row: auto; }
.hm .fimgs { grid-template-columns: repeat(2, minmax(0, 220px)); justify-content: start; }
.hm .numbers { grid-template-columns: repeat(2, 1fr); }
.hm .contact-in { grid-template-columns: 1fr; }
}
@container hm (max-width: 720px) {
.hm body { font-size: 16px; }
.hm .top-in { flex-wrap: wrap; row-gap: 0; padding-bottom: 10px; }
.hm .love { order: 10; flex: 1 0 100%; justify-content: center; padding: 6px 12px; font-size: 13.5px; }   /* phone held upright: the badge
   gets its own centred line under the bar (owner 2026-10-26: only the heart showed) */
.hm .hide-s { display: none; }
.hm .bn small { display: none; }
.hm .hero { padding: 36px 0 56px; }
.hm .lead { font-size: 17px; }
.hm .hero-art { min-height: 330px; }
.hm .browser { inset: 10px 0 auto 40px; }
.hm .device { width: 130px; border-radius: 24px; padding: 5px; }
.hm .device img { border-radius: 20px; }
.hm .f2 { display: none; }
.hm .f1 { right: 0; bottom: 20px; }
.hm .sec { padding: 64px 0; }
.hm .sec-hd { margin-bottom: 34px; }
.hm .sec-hd p { font-size: 16.5px; }
.hm .fgrid { grid-template-columns: 1fr; }
.hm .fc.big { grid-column: auto; }
.hm .numbers { grid-template-columns: 1fr 1fr; }
.hm .numbers b { font-size: 28px; }
.hm .cmp-row { grid-template-columns: 1fr 1fr; }
.hm .cmp-row > span:first-child { grid-column: span 2; background: var(--surface-2); padding-block: 12px; }
.hm .cmp-row.head > span:first-child { display: none; }
.hm .cmp-row > span { padding: 13px 14px; font-size: 15px; }
.hm .cmp-row .man, .hm .cmp-row .hd { padding-inline-start: 42px; }
.hm .cmp-row:not(.head) .man::before, .hm .cmp-row:not(.head) .hd::before { right: 12px; top: 15px; }
.hm .steps { grid-template-columns: 1fr; }
.hm .thx-card, .hm .thx-card.lead { width: 100%; }
.hm .c-txt, .hm .c-card { padding: 30px 20px; }
.hm .foot-grid { grid-template-columns: 1fr 1fr; }
.hm .f-brand { grid-column: span 2; }
}
.hm a { cursor: default; }
.hm .nav.open { position: absolute; }
/* news («المستجدات») — added with the editor preview */
.hm .news { background: var(--surface); }
.hm .nw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hm .nw-i { background: var(--surface-2); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--r); padding: 20px 22px; }
.hm .nw-i time { display: inline-block; direction: rtl; unicode-bidi: isolate; font-size: 13px; font-weight: 600; color: var(--brand); background: var(--brand-soft); border-radius: 99px; padding: 1px 10px; }
.hm .nw-i h3 { font-size: 18px; margin: 10px 0 6px; } .hm .nw-i p { color: var(--ink-2); font-size: 15px; }
.hm .numbers.n1 { grid-template-columns: 1fr; } .hm .numbers.n2 { grid-template-columns: repeat(2, 1fr); } .hm .numbers.n3 { grid-template-columns: repeat(3, 1fr); }
.hm .numbers.n5 { grid-template-columns: repeat(5, 1fr); } .hm .numbers.n6 { grid-template-columns: repeat(6, 1fr); }
@container hm (max-width: 1080px) { .hm .nw { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hm .numbers.n5, .hm .numbers.n6 { grid-template-columns: repeat(3, 1fr); } }
@container hm (max-width: 720px) { .hm .nw { grid-template-columns: 1fr; } .hm .numbers.n3, .hm .numbers.n5, .hm .numbers.n6 { grid-template-columns: 1fr 1fr; } }
/* very small phones (≤ 360 px wide): the bar stays one line above the badge */
@container hm (max-width: 360px) { .hm .top-in { gap: 8px; } .hm .acts { gap: 6px; } .hm .acts .btn.sm { padding: 0 12px; font-size: 13px; min-height: 38px; }
  .hm .menu { width: 40px; height: 40px; } .hm .bn b { font-size: 17px; } .hm .brand .mark { width: 36px; height: 36px; font-size: 20px; } }
