/* quality.css — the home in the quality of the documents the owner praised (msg 1977, DGO-2630): the Kol Barama and
   Urbana quotes and the business plan. A cover in a frame, a heading over a hairline that fades, numbered cards, figures
   over ruled columns — in this site's own navy and sky. Every word, the logo and every picture are the page's own: this
   sheet only sets how they stand, after the site's main stylesheet. Remove its one <link> and the page is as it was. */
:root{--q-ink:#0b2445;--q-sky:#00bfff;--q-sky-ink:#0a7fb8;--q-muted:#4c5a6a;--q-card:#f5f7fa;--q-card-line:#e1e7ef}

/* ── the cover, as the demo he chose (msgs 2132/2133 → 2204): the brand row inside its frame, the words from the
   right, the site's name as the eyebrow, the heading's second line in the site's sky, the faint mark on the left ── */
.site-header:not(.site-header--scrolled){background:transparent;border-color:transparent;box-shadow:none;
  -webkit-backdrop-filter:none;backdrop-filter:none}
.hero{place-items:start center;padding-top:14px;text-align:start;overflow-x:clip}   /* the faint mark never widens the page */
.hero::before{content:"";position:absolute;inset:0;opacity:.07;pointer-events:none;z-index:0;
  background:repeating-linear-gradient(135deg,#fff 0 1px,transparent 1px 14px)}
.hero__content{position:relative;z-index:1;width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.16);
  border-radius:22px;padding:clamp(92px,10vw,110px) clamp(20px,4vw,44px) clamp(22px,4vw,44px)}
.hero__content::before{content:"BINA SOLUTIONS";display:block;margin-top:clamp(52px,8vw,96px);color:var(--q-sky);
  font-size:.8rem;font-weight:700;letter-spacing:.04em}
.hero__content::after{content:"";position:absolute;left:-46px;top:104px;width:170px;height:170px;border-radius:34px;
  background:rgba(255,255,255,.045);pointer-events:none}
.hero__content h1{font-weight:800;letter-spacing:-.5px;line-height:1.12;margin-inline:0;margin-top:12px;color:var(--q-sky)}
.hero__content h1::first-line{color:#fff}
.hero__content>p{font-weight:300;margin-inline:0}
.hero__content>p::after{content:"";display:block;width:64px;height:6px;border-radius:6px;background:var(--q-sky);
  margin:22px 0 0;margin-inline-end:auto}
.hero__actions{display:flex}

/* ── a section's head: the heading over a hairline that fades out from its middle ── */
.section__header h2{font-weight:800;line-height:1.2}
.section__header h2::after{content:"";display:block;width:min(260px,70%);height:2px;margin:14px auto 0;
  background:linear-gradient(to left,transparent 0%,currentColor 30%,var(--q-sky) 70%,transparent 100%)}

/* ── the services: numbered cards, as the plan's chapters ── */
.section--services .cards{counter-reset:q}
.section--services .card{counter-increment:q;background:var(--q-card);border:1px solid var(--q-card-line);
  border-radius:16px;box-shadow:none}
.section--services .card h3::before{content:counter(q,decimal-leading-zero);display:block;font-size:1.9rem;font-weight:300;
  line-height:1;color:var(--q-sky-ink);margin-bottom:8px}
.section--services .card h3{color:var(--q-ink);font-weight:800}
.section--services .card p{color:var(--q-muted)}

/* ── the figures: over ruled columns, as the quote's terms ────── */
.section--metrics .metric{background:none;border:0;border-top:1px solid rgba(255,255,255,.24);border-radius:0;box-shadow:none}
.section--metrics .metric__value{font-weight:800;letter-spacing:-.5px}
.section--metrics .metric__label{opacity:.8}

/* ── the frame never touches the header (msg 2246, «המסגרת למעלה נוגעת») ─────────────────────────────────────────
   Measured on the live page with the sheet above: on a phone the frame's top line ran through the logo, the menu and
   the globe, and its side lines through both round buttons (the header's row and the cover both stand at 1.5rem);
   on a computer the 720px frame's side lines cut two of the menu's links. So on a phone the header's row sits INSIDE
   the frame while the cover shows, clear of its lines as in the demo he chose (and back to its own size once scrolled
   or with the menu open); on a computer the frame starts under the header. */
@media (max-width:960px){
  .site-header__inner{transition:padding .25s ease}
  .site-header:not(.site-header--scrolled):not(:has(.site-header__toggle[aria-expanded=true])) .site-header__inner{
    padding-top:32px;padding-inline:calc(1.5rem + 14px)}
}
@media (min-width:961px){
  .hero{padding-top:calc(var(--header-height) + 20px)}
  .hero__content{padding-top:clamp(36px,4vw,52px)}
  .hero__content::before{margin-top:0}
}
