/* iSystems — public site design system.
   Direction: light "software product" look. White + cream surfaces, green as the
   single accent, navy type, pill buttons, large rounded panels, editorial lists.
   Fonts: Noto Kufi Arabic (headings), Tajawal (body), Jost (Latin accents). */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F5F8F6;
  --cream: #FBF9EE;
  --cream-deep: #F3EFD8;
  --ink: #161820;
  --navy: #171E30;
  --ink-soft: #5A6472;
  --muted: #94A3B8;
  --line: #E4E8EC;
  --line-strong: #CBD3DB;
  --green: #0D8359;
  --green-hover: #069966;
  --green-deep: #0A6647;
  --green-tint: #E3F3EC;
  --green-ink: #064B33;
  --yellow: #F2C94C;
  --red: #E0272B;      /* brand: the i in the logo, nothing else */
  --danger: #B91C1C;   /* validation and error states */
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px rgba(23, 30, 48, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: clip;
  background: var(--bg); color: var(--ink);
  font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  font-size: 17px; line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: var(--green-deep); text-decoration: none; }
a:hover { color: var(--green); }
h1, h2, h3 { font-family: "Baloo Bhaijaan 2", "Noto Kufi Arabic", "Tajawal", sans-serif; line-height: 1.3; margin: 0 0 14px; color: var(--navy); text-wrap: balance; }
p { margin: 0 0 12px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.skip { position: absolute; inset-inline-start: 8px; top: 8px; background: var(--bg); padding: 8px 14px; z-index: 100; clip-path: inset(50%); }
.skip:focus { clip-path: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.latin { font-family: Jost, "Tajawal", sans-serif; }
.mono { font-family: "IBM Plex Mono", Consolas, monospace; font-variant-numeric: tabular-nums; }

/* buttons — pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; cursor: pointer;
  border-radius: 999px; padding: 12px 26px;
  font: 700 15.5px "Tajawal", sans-serif; line-height: 1.3;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #222B44; color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1EBE5A; color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 14px; }

/* ============ top bar + header ============ */
.topbar { background: var(--navy); color: #C9D1DE; font-size: 13.5px; }
.topbar .row { display: flex; align-items: center; gap: 22px; min-height: 36px; }
.topbar a { color: #E4E9F1; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; }
.topbar .end { margin-inline-start: auto; display: flex; gap: 18px; }
.topbar .login { color: var(--yellow); font-weight: 700; }

.site-head { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.head-row { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; position: relative; }
.logo { display: flex; align-items: baseline; gap: 11px; color: var(--navy); white-space: nowrap; }
.logo:hover { color: var(--navy); }
.logo-mark { height: 38px; width: auto; display: block; }
.logo-ar { font: 800 22px "Noto Kufi Arabic", "Baloo Bhaijaan 2", sans-serif; line-height: 1.1; color: var(--navy); }
.main-nav { display: flex; gap: 4px; margin-inline: auto; }
.main-nav a {
  color: var(--ink); font-weight: 500; font-size: 16px;
  padding: 8px 14px; border-radius: 999px; position: relative;
}
.main-nav a.on { color: var(--green-deep); font-weight: 700; }
.main-nav a.on::after { content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px; background: var(--green); border-radius: 2px; }
.main-nav a:hover { color: var(--green-deep); }
.head-actions { display: flex; gap: 10px; align-items: center; }
.main-nav a.login-mobile { display: none; }
@media (max-width: 860px) { .main-nav a.login-mobile { display: block; color: var(--green-deep); font-weight: 700; } }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong); border-radius: 999px;
  width: 44px; height: 42px; cursor: pointer; color: var(--navy); place-items: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 3px 0; border-radius: 2px; }

/* ============ hero — the weigh ticket prints live ============ */
.hero { background: var(--bg); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 64px 24px 72px; min-height: 620px; }
.tagline { display: inline-flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 700; color: var(--green-deep); margin: 0 0 18px; }
.tagline .sep { width: 28px; height: 2px; background: var(--green); border-radius: 2px; }
.hero h1 { font-size: clamp(34px, 4.8vw, 56px); font-weight: 800; line-height: 1.25; margin: 0 0 18px; max-width: 18ch; }
.hero h1 mark { background: none; color: var(--green-deep); }
.hero .lead { font-size: 18.5px; color: var(--ink-soft); max-width: 50ch; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.facts { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--navy); background: var(--green-tint); border-radius: 999px; padding: 7px 13px; }
.facts svg { width: 18px; height: 18px; color: var(--green-deep); flex: none; }

/* visual column: a green platform, a printer slot, and the ticket sliding out of it */
.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.platform {
  position: absolute; inset: 40px -40px 0 -160px; background: var(--green-tint);
  border-radius: 0 40px 40px 0; z-index: 0;
}
.platform::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .55;
  background: radial-gradient(circle at 70% 20%, rgba(13,131,89,.18), transparent 55%);
}
.ticket-wrap { position: relative; z-index: 1; width: min(400px, 100%); padding-top: 12px; clip-path: inset(0 -120px -120px -120px); }
.printer { position: absolute; top: 0; inset-inline: -18px; height: 24px; z-index: 2; }
.printer::before { content: ""; position: absolute; inset: 0; background: var(--navy); border-radius: 8px; box-shadow: 0 10px 24px rgba(23,30,48,.25); }
.printer::after { content: ""; position: absolute; inset: 9px 22px; height: 6px; background: #0B0F1A; border-radius: 3px; }

.ticket {
  position: relative; z-index: 1; width: 100%;
  background: #fff; color: var(--navy);
  border-radius: 6px 6px 14px 14px;
  box-shadow: 0 30px 60px rgba(23,30,48,.18), 0 2px 0 rgba(23,30,48,.06);
  padding: 22px 24px 20px;
  font-family: "Tajawal", sans-serif;
  transform: translateY(-105%); animation: print 1.1s cubic-bezier(.2,.8,.2,1) .25s forwards;
}
.ticket::before {
  /* perforated tear line at the top, like thermal paper */
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px;
  background: repeating-linear-gradient(90deg, transparent 0 6px, var(--line-strong) 6px 10px);
}
@keyframes print { to { transform: translateY(0); } }
.t-brand { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--ink-soft); margin-bottom: 6px; }
.t-brand b { color: var(--navy); font-weight: 700; }
.t-title { font: 800 19px "Baloo Bhaijaan 2", sans-serif; margin: 0 0 12px; display: flex; justify-content: space-between; align-items: baseline; }
.t-title .mono { font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.t-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 13.5px; padding: 10px 0; border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); }
.t-meta span { color: var(--ink-soft); }
.t-meta b { font-weight: 500; color: var(--navy); }
.t-w { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; padding: 12px 0 6px; font-size: 14px; }
.t-w .lbl { color: var(--ink-soft); }
.t-w .val { font: 500 16px "IBM Plex Mono", monospace; font-variant-numeric: tabular-nums; direction: ltr; text-align: right; }
.t-w .net-l { font-weight: 700; color: var(--navy); font-size: 15px; padding-top: 8px; border-top: 1px solid var(--line-strong); }
.t-w .net { font: 700 30px "IBM Plex Mono", monospace; color: var(--green-deep); padding-top: 4px; border-top: 1px solid var(--line-strong); line-height: 1.1; direction: ltr; }
.t-w .net small { font: 500 12px "Tajawal", sans-serif; color: var(--ink-soft); margin-inline-start: 6px; }
.t-cams { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0 14px; }
.t-cams span { aspect-ratio: 4/3; border-radius: 4px; background: linear-gradient(160deg, #263041, #0F1523); display: grid; place-items: center; color: #8FA0B8; font-size: 10px; position: relative; }
.t-cams span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #F87171; position: absolute; top: 5px; inset-inline-start: 5px; }
.t-foot { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ink-soft); }
.t-qr {
  width: 46px; height: 46px; flex: none; border-radius: 4px;
  background:
    linear-gradient(var(--navy), var(--navy)) 0 0/14px 14px no-repeat,
    linear-gradient(var(--navy), var(--navy)) 100% 0/14px 14px no-repeat,
    linear-gradient(var(--navy), var(--navy)) 0 100%/14px 14px no-repeat,
    repeating-linear-gradient(90deg, var(--navy) 0 3px, transparent 3px 6px) 100% 100%/22px 8px no-repeat,
    repeating-linear-gradient(0deg, var(--navy) 0 3px, transparent 3px 6px) 100% 62%/8px 12px no-repeat,
    linear-gradient(var(--navy), var(--navy)) 62% 100%/6px 6px no-repeat;
}
.t-stamp {
  position: absolute; bottom: 62px; inset-inline-start: 22px; z-index: 3;
  border: 3px solid var(--green); color: var(--green-deep); border-radius: 8px;
  padding: 4px 14px; font: 800 17px "Baloo Bhaijaan 2", sans-serif;
  background: rgba(255,255,255,.85); transform: rotate(-8deg) scale(1.6); opacity: 0;
  animation: stamp .35s cubic-bezier(.2,1.4,.4,1) 2.3s forwards;
}
@keyframes stamp { to { transform: rotate(-8deg) scale(1); opacity: 1; } }
.ticket.settled .t-w .net { color: var(--green); }

/* app window frame (product pages) */
.window { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #FAFBFB; direction: ltr; }
.window-bar .dots { display: flex; gap: 6px; }
.window-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #E4E8EC; }
.window-bar .dots i:first-child { background: #F87171; }
.window-bar .dots i:nth-child(2) { background: #FBBF24; }
.window-bar .dots i:nth-child(3) { background: #34D399; }
.window-bar .title { margin: 0 auto; font: 500 12px "IBM Plex Mono", monospace; color: var(--muted); direction: rtl; }
.window img { width: 100%; height: auto; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 52px; gap: 44px; min-height: 0; }
  .hero-visual { min-height: 0; max-width: 560px; padding: 40px 0 30px; }
  .platform { inset: 0 -24px 0 -24px; border-radius: 32px; }
}
@media (max-width: 560px) {
  .hero-grid { padding: 32px 20px 40px; gap: 26px; }
  .tagline { font-size: 13.5px; margin-bottom: 14px; }
  .hero h1 { font-size: 27px; line-height: 1.35; max-width: none; margin-bottom: 14px; }
  .hero .lead { font-size: 16px; line-height: 1.75; margin-bottom: 22px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 26px; }
  .facts li { display: grid; grid-template-columns: auto 1fr; align-content: center; align-items: start;
    font-size: 12.5px; line-height: 1.5; gap: 7px; padding: 9px 11px; border-radius: 14px; }
  .facts svg { width: 16px; height: 16px; margin-top: 1px; }
  .hero-visual { padding: 24px 0 6px; }
  .ticket { padding: 18px 18px 16px; }
  .t-meta { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ticket { animation: none; transform: none; }
  .t-stamp { animation: none; transform: rotate(-8deg); opacity: 1; }
}

/* ============ sections ============ */
.section { padding: 76px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head.row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 8px 0 8px; }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 17px; max-width: 62ch; }
.section-head .more { font-weight: 700; white-space: nowrap; }
.eyebrow { font: 600 12.5px Jost, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--green); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--green); }

/* products — bento */
.bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.bento .p-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); display: flex; flex-direction: column; transition: border-color .18s, box-shadow .18s, transform .18s; }
.bento .p-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.bento .p-card.big { grid-row: span 2; }
.bento .p-card .txt { padding: 28px 28px 22px; display: flex; flex-direction: column; gap: 8px; }
.bento .p-card h3 { font-size: 21px; font-weight: 800; margin: 0; }
.bento .p-card p { color: var(--ink-soft); margin: 0; font-size: 15.5px; }
.bento .p-card .go { margin-top: 8px; font-weight: 700; color: var(--green-deep); }
.bento .p-card.big .pic { margin: 0 18px 18px; border-radius: 14px; overflow: hidden; flex: 1; min-height: 280px; }
.bento .p-card.big .pic img { width: 100%; height: 100%; object-fit: cover; }
.bento .p-card.small { flex-direction: row; align-items: stretch; }
.bento .p-card.small .pic { flex: 0 0 38%; }
.bento .p-card.small .pic img { width: 100%; height: 100%; object-fit: cover; }
.bento .p-card.small .txt { padding: 22px 24px; }
.bento .p-card.small h3 { font-size: 18px; }

/* services — editorial numbered list */
.svc-list { border-top: 1px solid var(--line-strong); }
.svc-row { display: grid; grid-template-columns: 1.2fr 1.6fr auto; gap: 26px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.svc-row:hover { color: var(--ink); }
.svc-row:hover h3 { color: var(--green-deep); }
.svc-row h3 { font-size: 20px; margin: 0; transition: color .15s; }
.svc-row p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.svc-row .ico { width: 52px; height: 52px; border-radius: 999px; background: var(--green-tint); color: var(--green-deep); display: grid; place-items: center; }
.svc-row .ico svg { width: 26px; height: 26px; }

/* feature ledger (product features, why-us) */
.ledger { border-top: 1px solid var(--line-strong); }
.ledger-row { display: grid; grid-template-columns: 70px 1fr 1.7fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.ledger-row .num { font: 300 26px Jost, sans-serif; color: var(--green); line-height: 1.3; }
.ledger-row h3, .ledger-row b { font-family: "Noto Kufi Arabic", sans-serif; font-size: 17.5px; font-weight: 700; margin: 0; color: var(--navy); }
.ledger-row p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* open numbered trio (about, why-us) */
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px 40px; }
.trio .item .num { font: 300 56px Jost, sans-serif; color: var(--green); line-height: 1; opacity: .9; }
.trio .item h3, .trio .item b { display: block; font-family: "Noto Kufi Arabic", sans-serif; font-size: 18px; font-weight: 700; margin: 12px 0 8px; color: var(--navy); }
.trio .item p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* check chips */
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.check-grid .c { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-soft); border-radius: 14px; padding: 14px 16px; font-size: 15.5px; }
.check-grid .c::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat;
}
.check-grid b { color: var(--navy); }
.check-grid span { color: var(--ink-soft); }

/* split rows (services page, about) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip > .frame { order: 2; }
.frame { position: relative; }
.frame::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; background: var(--green-tint); border-radius: var(--radius); z-index: 0; }
.frame img { position: relative; z-index: 1; width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius); }
.split h2 { font-size: 27px; }
.split .items { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.split .items li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.split .items li::before { content: ""; flex: none; width: 18px; height: 2px; background: var(--green); margin-top: 13px; }
.split .items b { color: var(--navy); }
.split .outro { color: var(--ink-soft); }
.split-list { display: grid; gap: 88px; }

/* inner page head (light) */
.page-head { background: var(--cream); border-bottom: 1px solid var(--cream-deep); padding: 46px 0 40px; }
.page-head h1 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; margin: 10px 0 10px; }
.page-head h1::after { content: ""; display: block; width: 48px; height: 4px; background: var(--green); border-radius: 4px; margin-top: 14px; }
.page-head p { color: var(--ink-soft); max-width: 64ch; margin: 0; font-size: 17px; }
.crumbs { font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.crumbs a { color: var(--ink-soft); }

/* product details */
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.product-top .intro p { font-size: 17px; max-width: 58ch; }
.product-top .intro p:first-child { font-family: "Noto Kufi Arabic", sans-serif; font-weight: 700; color: var(--navy); font-size: 18px; }
.product-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.panel { background: var(--cream); border: 1px solid var(--cream-deep); border-radius: var(--radius); padding: 28px; position: sticky; top: 96px; }
.panel h3 { font-size: 19px; margin-bottom: 4px; }
.panel p { color: var(--ink-soft); font-size: 15px; }

/* forms */
.form-grid { display: grid; gap: 14px; }
label { font-weight: 700; font-size: 14.5px; display: block; margin-bottom: 5px; color: var(--navy); }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  font: 400 16px "Tajawal", sans-serif; background: #fff; color: var(--ink);
}
input:focus, textarea:focus, select:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 4px rgba(13,131,89,.12); }
textarea { min-height: 130px; resize: vertical; }
.field-error { color: var(--danger); font-size: 13.5px; }
.alert-ok { background: var(--green-tint); color: var(--green-ink); border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 700; margin-bottom: 16px; }
.hp { position: absolute; clip-path: inset(50%); opacity: 0; height: 0; width: 0; overflow: hidden; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-info .row { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .row .ico { flex: none; width: 44px; height: 44px; border-radius: 999px; background: var(--green-tint); color: var(--green-deep); display: grid; place-items: center; }
.contact-info .row svg { width: 20px; height: 20px; }
.contact-info .row b { display: block; font-size: 13px; color: var(--ink-soft); font-weight: 700; }
.contact-info .row a, .contact-info .row span { font-size: 17px; color: var(--navy); font-weight: 500; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { width: 42px; height: 42px; border-radius: 999px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: var(--navy); }
.social a:hover { border-color: var(--green); color: var(--green); }
.social svg { width: 18px; height: 18px; }

/* projects */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.proj { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.proj .pic { height: 200px; background: var(--green-tint); }
.proj .pic img { width: 100%; height: 100%; object-fit: cover; }
.proj .txt { padding: 20px 22px 22px; display: grid; gap: 6px; }
.proj .meta { display: flex; gap: 8px 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-soft); align-items: center; }
.proj h3 { font-size: 18px; margin: 0; }
.proj p { font-size: 15px; color: var(--ink-soft); margin: 0; }
.tag { display: inline-block; background: var(--green-tint); color: var(--green-ink); border-radius: 999px; padding: 2px 12px; font-size: 13px; font-weight: 700; }

/* CTA — inset cream card */
.cta-wrap { padding: 0 0 80px; }
.cta-card {
  background: var(--cream); border: 1px solid var(--cream-deep); border-radius: 28px;
  padding: 54px 40px; text-align: center; position: relative; overflow: hidden;
  background-image: radial-gradient(rgba(23,30,48,.07) 1px, transparent 1px); background-size: 22px 22px;
}
.cta-card h2 { font-size: clamp(24px, 3.2vw, 32px); margin-bottom: 8px; }
.cta-card p { color: var(--ink-soft); max-width: 56ch; margin: 0 auto 20px; }
.cta-phone { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 20px; margin-bottom: 22px; font: 700 20px "IBM Plex Mono", monospace; color: var(--navy); direction: ltr; }
.cta-phone svg { width: 20px; height: 20px; color: var(--green); }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* footer — light */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-soft); color: var(--ink-soft); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 52px 24px 30px; }
.site-foot h3 { font-size: 14px; color: var(--navy); letter-spacing: .02em; margin-bottom: 14px; }
.site-foot p { font-size: 15px; max-width: 40ch; margin-top: 12px; }
.foot-list { list-style: none; margin: 0; padding: 0; font-size: 15px; display: grid; gap: 9px; }
.foot-list a { color: var(--ink-soft); }
.foot-list a:hover { color: var(--green-deep); }
.foot-bottom { border-top: 1px solid var(--line); padding: 16px 24px 24px; font-size: 13.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.foot-bottom a { color: var(--ink-soft); }

/* whatsapp floating button */
.wa-fab {
  position: fixed; bottom: 22px; left: 22px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}
.wa-fab:hover { background: #1EBE5A; color: #fff; }

.empty { background: var(--bg-soft); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 44px; text-align: center; color: var(--ink-soft); }
.error-page { text-align: center; padding: 80px 20px; }
.error-page .code { font: 300 84px Jost, sans-serif; color: var(--green); line-height: 1; margin-bottom: 8px; }

@media (max-width: 1000px) {
  .float.f1 { inset-inline-end: 8px; } .float.f2 { inset-inline-start: 8px; }
  .bento { grid-template-columns: 1fr; }
  .bento .p-card.big { grid-row: auto; }
  .product-top, .product-body, .contact-grid { grid-template-columns: 1fr; }
  .panel { position: static; }
  .split, .split.flip { grid-template-columns: 1fr; gap: 34px; }
  .split.flip > .frame { order: 0; }
  .frame img { height: 260px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 1fr auto; }
  .svc-row p { grid-column: 1; }
  .ledger-row { grid-template-columns: 50px 1fr; }
  .ledger-row p { grid-column: 2; }
}
@media (max-width: 860px) {
  .topbar .end { display: none; }
  .main-nav {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column;
    padding: 10px 16px 14px; gap: 2px; box-shadow: var(--shadow); margin: 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a.on::after { display: none; }
  .head-actions { margin-inline-start: auto; }
  .logo-mark { height: 32px; }
  .logo-ar { font-size: 18px; }
  .nav-toggle { display: grid; }
  .head-cta { display: none; }
  .bento .p-card.small { flex-direction: column; }
  .bento .p-card.small .pic { height: 180px; flex: none; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 8px; }
  .svc-row .ico { display: none; }
  .wa-fab { width: 46px; height: 46px; bottom: 14px; left: 14px; }
  .wa-fab svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .bento .p-card { transition: none; }
  .float .pulse { animation: none; }
}
