/* TERS Business — corporate B2B identity
   Petrol Teal #064C50 · Warm White #F7F8F6 · Slate Gray #6B7280 · White */
:root {
  --primary: #064c50;
  --primary-700: #053d40;
  --primary-900: #032c2e;
  --primary-100: #d9e7e7;
  --primary-50: #eef4f4;
  --logo-grey: #6e6e6e;
  --bg: #f7f8f6;
  --surface: #ffffff;
  --text: #13201f;
  --muted: #6b7280;
  --line: #e4e7e5;
  --line-strong: #d3d8d6;
  --radius-sm: 8px;
  --radius: 12px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; letter-spacing: -.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.num, .en { font-family: "Alexandria", sans-serif; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { top: 12px; }
.i { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand svg { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: "Alexandria", sans-serif; font-weight: 800; font-size: 1.55rem; color: var(--primary); letter-spacing: -.02em; }
.brand-text small { font-family: "Alexandria", sans-serif; font-weight: 700; font-size: .72rem; color: var(--logo-grey); text-align: end; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 8px 12px; font-weight: 500; font-size: .95rem; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--primary); }
.nav a[aria-current="page"] { color: var(--primary); font-weight: 600; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 12px; bottom: -2px; height: 2px; background: var(--primary); border-radius: 2px; }
.nav .btn { margin-inline-start: 12px; color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); width: 42px; height: 42px; cursor: pointer; color: var(--primary); }
.menu-btn .i { margin: auto; }

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav { position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 14px 0 0; border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.4; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .i { transform: translateX(-3px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-700); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--primary-50); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); }
.link .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link:hover .i, a:hover > .link .i { transform: translateX(-3px); }

/* ---------- Gear watermark (used sparingly: hero + footer) ---------- */
.gear { position: absolute; pointer-events: none; color: #fff; opacity: .05; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--primary); color: #fff; }
.hero .gear { width: 720px; inset-inline-start: -260px; bottom: -380px; }
.hero .container { position: relative; padding-block: clamp(64px, 9vw, 112px); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-tag { display: inline-block; font-family: "Alexandria", sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .18em; color: #9cc3c4; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); margin-bottom: 20px; }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: #c9dcdc; max-width: 54ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.capabilities { background: #fff; color: var(--text); border-radius: var(--radius); padding: 8px 0; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .45); }
.capabilities header { padding: 16px 22px 12px; display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); }
.capabilities header b { font-size: .95rem; }
.capabilities header span { font-size: .8rem; color: var(--muted); }
.capabilities a { display: flex; align-items: center; gap: 14px; padding: 13px 22px; border-bottom: 1px solid var(--line); transition: background .2s; }
.capabilities a:last-child { border-bottom: 0; }
.capabilities a:hover { background: var(--primary-50); }
.capabilities .i { color: var(--primary); }
.capabilities a span { flex: 1; font-weight: 500; font-size: .95rem; }
.capabilities a small { color: var(--muted); font-size: .75rem; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } }

/* Facts bar */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts div { padding: 28px 24px; border-inline-start: 1px solid var(--line); }
.facts div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.facts b { display: block; font-size: 1.7rem; color: var(--primary); line-height: 1.2; }
.facts span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) {
  .facts .container { grid-template-columns: 1fr 1fr; }
  .facts div { padding: 20px 16px; }
  .facts div:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Inner page header — light, so teal stays an accent */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding-block: 48px 44px; }
.page-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: var(--primary); margin-bottom: 10px; }
.page-head p { color: var(--muted); font-size: 1.08rem; max-width: 64ch; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--primary); }

/* ---------- Sections ---------- */
section { padding-block: clamp(64px, 8vw, 96px); }
.bg-white { background: #fff; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head.row > div { max-width: 640px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 600; font-size: .88rem; margin-bottom: 12px; }
.kicker::before { content: ""; width: 20px; height: 2px; background: var(--primary); }
.section-head.center .kicker::before { display: none; }
.section-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .25s; }
a.card:hover, .card.hoverable:hover { border-color: var(--primary-100); }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }
.card-foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-foot small { color: var(--muted); font-size: .78rem; }
.card > p { margin-bottom: 4px; }
.icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--primary-50); color: var(--primary); margin-bottom: 18px; flex: none; }
.icon .i { width: 22px; height: 22px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .i { width: 20px; height: 20px; margin-top: 4px; color: var(--primary); }

/* Fact sheet (company data) */
.sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sheet-head { padding: 18px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet-head b { font-size: 1rem; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #e7f4ec; color: #1d6b3f; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sheet dl { margin: 0; }
.sheet dl div { display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 13px 24px; border-bottom: 1px solid var(--line); }
.sheet dl div:last-child { border-bottom: 0; }
.sheet dt { color: var(--muted); }
.sheet dd { margin: 0; font-weight: 500; }
.sheet .sheet-note { padding: 14px 24px; background: var(--bg); color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }

/* Numbered principles */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.principles > div { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 8px; }
.principles > div:nth-child(odd) { padding-inline-end: 40px; }
.principles > div:nth-child(even) { padding-inline-start: 40px; border-inline-start: 1px solid var(--line); }
.principles .n { font-family: "Alexandria", sans-serif; font-weight: 700; color: var(--primary); font-size: .95rem; padding-top: 3px; }
.principles h3 { font-size: 1.1rem; margin-bottom: 4px; }
.principles p { color: var(--muted); margin: 0; }
@media (max-width: 760px) {
  .principles { grid-template-columns: 1fr; }
  .principles > div:nth-child(n) { padding-inline: 0; border-inline-start: 0; }
}

/* Process timeline */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 20px; counter-reset: s; position: relative; }
.process::before { content: ""; position: absolute; top: 17px; inset-inline: 18px; height: 1px; background: var(--line-strong); }
.process li { counter-increment: s; position: relative; }
.process li::before { content: counter(s, decimal-leading-zero); position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--primary); color: var(--primary); font: 700 .8rem "Alexandria", sans-serif; margin-bottom: 16px; }
.process li:first-child::before { background: var(--primary); color: #fff; }
.process b { display: block; margin-bottom: 4px; }
.process span { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before { top: 18px; bottom: 18px; inset-inline: 17px auto; width: 1px; height: auto; }
  .process li { display: grid; grid-template-columns: 36px 1fr; column-gap: 16px; padding-bottom: 22px; }
  .process li::before { grid-row: span 2; margin: 0; }
}

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--primary); color: #fff; border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 6px; }
.cta p { color: #c9dcdc; margin: 0; max-width: 56ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Service detail */
.svc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.svc-toc { position: sticky; top: 96px; display: grid; gap: 2px; border-inline-start: 1px solid var(--line); }
.svc-toc a { padding: 8px 16px; color: var(--muted); font-size: .93rem; margin-inline-start: -1px; border-inline-start: 2px solid transparent; }
.svc-toc a:hover { color: var(--primary); border-color: var(--primary); }
.svc { padding: 36px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.svc:first-child { padding-top: 0; }
.svc:last-child { border-bottom: 0; }
.svc-title { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.svc-title .icon { margin: 0; }
.svc h2 { font-size: 1.4rem; margin: 0; }
.svc p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tags span { font-size: .85rem; padding: 5px 12px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); color: var(--text); }
.code { display: block; margin-top: 16px; font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) { .svc-layout { grid-template-columns: 1fr; gap: 24px; } .svc-toc { position: static; display: none; } }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--muted); transition: transform .25s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); color: var(--primary); }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* Forms */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-title { grid-column: 1 / -1; margin-bottom: 4px; }
.form-title h2 { font-size: 1.3rem; margin-bottom: 4px; }
.form-title p { color: var(--muted); margin: 0; font-size: .95rem; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: inherit; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #6b7280; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
.field textarea { min-height: 130px; resize: vertical; }
.field .err { display: none; color: #b42318; font-size: .84rem; margin-top: 4px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b42318; }
.field.invalid .err { display: block; }
.form-note { font-size: .86rem; color: var(--muted); margin: 0; }
.form-success { display: none; grid-column: 1 / -1; padding: 14px 18px; border-radius: var(--radius-sm); background: #e7f4ec; color: #1d6b3f; }
.form-success.show { display: block; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.contact-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
a.contact-item:hover b { color: var(--primary); }
.contact-item .icon { margin: 0; }
.contact-item small { display: block; color: var(--muted); font-size: .84rem; }
.contact-item b { font-weight: 600; transition: color .2s; }

/* Blog */
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s; }
.post:hover { border-color: var(--primary-100); }
.post-cover { aspect-ratio: 16 / 8; background: var(--primary-50); display: grid; place-items: center; color: var(--primary); border-bottom: 1px solid var(--line); }
.post-cover .i { width: 40px; height: 40px; stroke-width: 1.5; }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 10px; font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.post-meta .cat { color: var(--primary); font-weight: 600; }
.post-body h3 { font-size: 1.08rem; }
.post-body p { color: var(--muted); flex: 1; font-size: .95rem; }

.article { max-width: 740px; margin-inline: auto; font-size: 1.08rem; }
.article h2 { font-size: 1.45rem; margin-top: 1.8em; color: var(--primary); }
.article p, .article li { color: #2a3735; }
.article ul { padding-inline-start: 1.2em; }
.article li { margin-bottom: .5em; }
.callout { background: #fff; border: 1px solid var(--line); background: var(--primary-50); border-radius: var(--radius-sm); padding: 18px 22px; margin: 28px 0; }
.article-cta { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Empty state */
.empty { text-align: center; max-width: 600px; margin-inline: auto; padding: 56px 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: #fff; }
.empty .icon { margin-inline: auto; }
.empty p { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--primary-900); color: #bcd3d2; padding-block: 64px 0; font-size: .95rem; }
.footer .gear { width: 520px; inset-inline-start: -170px; bottom: -260px; opacity: .04; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer .brand-text b { color: #fff; }
.footer-about p { margin-top: 16px; max-width: 34ch; }
.footer li { display: flex; gap: 10px; align-items: center; }
.footer li .i { width: 16px; height: 16px; color: #7fa6a7; }
.footer-bottom { position: relative; margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; inset-inline-start: 20px; bottom: 20px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: transform .2s; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }

/* Reveal — subtle, JS-gated so content is visible without scripts */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ================= Display face + browser surfaces ================= */
h1, h2, .h2 { font-family: "Alexandria", "IBM Plex Sans Arabic", sans-serif; letter-spacing: -.01em; }
::selection { background: var(--primary); color: #fff; }
html { scrollbar-color: #9fb3b3 var(--bg); accent-color: var(--primary); caret-color: var(--primary); }
a { text-underline-offset: .25em; }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 36px; max-width: 22ch; }
.muted { color: var(--muted); }

/* ================= Home ================= */
.home section { padding-block: clamp(72px, 9vw, 120px); }

/* Hero: four parties lock into one */
.home .h-hero { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 7vw, 88px); background: #fff; border-bottom: 1px solid var(--line); }
.h-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.h-was { font-family: "Alexandria", sans-serif; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--muted); margin-bottom: 10px; }
.h-was s { text-decoration-thickness: 2px; text-decoration-color: rgba(107, 114, 128, .7); }
.h-copy h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.12; font-weight: 800; color: var(--primary); margin-bottom: 22px; max-width: 15ch; }
.h-lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #3d4b4a; max-width: 46ch; margin-bottom: 32px; }
.h-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.h-actions .btn-outline svg { width: 18px; height: 18px; color: #1fa855; }
.h-meta { margin: 28px 0 0; font-size: .85rem; color: var(--muted); }

.assembly { position: relative; aspect-ratio: 1 / .92; background: var(--primary); border-radius: 20px; overflow: hidden; isolation: isolate; }
.asm-ring { position: absolute; width: 74%; left: 13%; top: 9%; color: #fff; opacity: .07; animation: ring 1.6s cubic-bezier(.16, 1, .3, 1) .5s both; }
.asm-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.asm-lines line { stroke: rgba(255, 255, 255, .45); stroke-width: .35; stroke-dasharray: 1.2 1.2; vector-effect: non-scaling-stroke; }
.asm-lines line { stroke-width: 1.5px; stroke-dasharray: 5 6; animation: lineIn .9s cubic-bezier(.16, 1, .3, 1) .9s both; }
.asm-core { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #0b5b60; box-shadow: 0 0 0 10px rgba(255, 255, 255, .06), 0 18px 40px -12px rgba(0, 0, 0, .5); display: grid; place-items: center; align-content: center; gap: 4px; animation: coreIn 1s cubic-bezier(.16, 1, .3, 1) 1.1s both; }
.asm-core svg { width: 46%; }
.asm-core b { font: 800 clamp(.9rem, 1.6vw, 1.25rem) "Alexandria", sans-serif; color: #fff; letter-spacing: .02em; }
.slip { position: absolute; width: 36%; background: #fff; color: var(--text); border-radius: 10px; padding: 14px 16px; box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 16px 32px -14px rgba(0, 0, 0, .45); display: grid; gap: 2px; animation: dock 1.2s cubic-bezier(.16, 1, .3, 1) var(--d) both; }
.slip span { font-weight: 600; font-size: clamp(.82rem, 1.25vw, 1rem); }
.slip small { font-size: .74rem; color: var(--muted); text-align: start; }
.slip::before { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--primary); }
.slip-tl { left: 6%; top: 8%; --fx: -40px; --fy: -30px; --fr: -6deg; }
.slip-tr { right: 6%; top: 8%; --fx: 40px; --fy: -30px; --fr: 5deg; }
.slip-bl { left: 6%; bottom: 8%; --fx: -40px; --fy: 30px; --fr: 4deg; }
.slip-br { right: 6%; bottom: 8%; --fx: 40px; --fy: 30px; --fr: -5deg; }
.slip-tl::before { right: -6px; bottom: -6px; } .slip-tr::before { left: -6px; bottom: -6px; }
.slip-bl::before { right: -6px; top: -6px; } .slip-br::before { left: -6px; top: -6px; }
@keyframes dock { from { transform: translate(var(--fx), var(--fy)) rotate(var(--fr)); opacity: .0; filter: blur(4px); } 40% { opacity: 1; filter: blur(0); } to { transform: none; opacity: 1; } }
@keyframes lineIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes coreIn { from { transform: translate(-50%, -50%) scale(.6) rotate(-40deg); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
@keyframes ring { from { transform: rotate(-30deg) scale(.9); opacity: 0; } to { transform: none; opacity: .07; } }
@media (max-width: 900px) { .h-hero-grid { grid-template-columns: 1fr; } .h-copy h1 { max-width: none; } }
@media (max-width: 520px) { .slip { width: 42%; padding: 10px 12px; } .slip small { font-size: .66rem; } }

/* Ledger: the usual way vs one party */
.ledger { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lg-row { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; border-top: 1px solid var(--line); }
.lg-row:first-child { border-top: 0; }
.lg-row > span { padding: 18px 24px; }
.lg-row > span:first-child { font-weight: 600; }
.lg-head > span { padding-block: 14px; font-size: .85rem; color: var(--muted); font-weight: 600; background: var(--bg); }
.lg-head > span:last-child { color: #fff; background: var(--primary); }
.lg-old { color: var(--muted); }
.lg-new { background: var(--primary-50); color: var(--primary); font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.lg-new .i { width: 18px; height: 18px; margin-top: 5px; }
@media (max-width: 720px) {
  .lg-head { display: none; }
  .lg-row { grid-template-columns: 1fr 1fr; }
  .lg-row > span:first-child { grid-column: 1 / -1; padding-bottom: 4px; font-size: .9rem; color: var(--muted); }
  .lg-row > span { padding: 12px 16px; }
  .lg-old::before { content: "المعتاد: "; } 
}

/* Two lanes */
.lanes-sec { background: #fff; }
.lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lane { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 4vw, 44px); border-radius: 16px; background: var(--bg); border: 1px solid var(--line); transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s; }
.lane:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(6, 76, 80, .05), 0 24px 48px -24px rgba(6, 76, 80, .35); }
.lane-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--primary); border: 1px solid var(--line); margin-bottom: 28px; }
.lane-icon .i { width: 26px; height: 26px; }
.lane h3 { font-family: "Alexandria", sans-serif; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 10px; }
.lane p { color: var(--muted); max-width: 48ch; }
.lane ul { list-style: none; padding: 0; margin: 8px 0 32px; display: grid; gap: 8px; }
.lane li { display: flex; gap: 10px; align-items: center; }
.lane li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--primary); flex: none; }
.lane .link { margin-top: auto; }
.lane-dark { background: var(--primary); border-color: var(--primary); color: #fff; }
.lane-dark p { color: #bfd5d5; }
.lane-dark .lane-icon { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); color: #fff; }
.lane-dark li::before { background: #9cc3c4; }
.lane-dark .link { color: #fff; }
@media (max-width: 760px) { .lanes { grid-template-columns: 1fr; } }

/* Service index */
.index-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.index-intro { position: sticky; top: 104px; }
.index-intro p { color: var(--muted); max-width: 40ch; margin-bottom: 24px; }
.svc-index { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.svc-index li { border-bottom: 1px solid var(--line-strong); }
.svc-index a { display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: center; padding: 22px 4px; transition: background .3s, padding .3s cubic-bezier(.16, 1, .3, 1); }
.svc-index a:hover { background: #fff; padding-inline: 16px; }
.si-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: var(--primary); background: var(--primary-50); transition: background .3s, color .3s; }
.svc-index a:hover .si-icon { background: var(--primary); color: #fff; }
.si-text b { display: block; font-size: 1.08rem; }
.si-text small { color: var(--muted); font-size: .92rem; }
.si-code { font-size: .78rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 900px) { .index-grid { grid-template-columns: 1fr; } .index-intro { position: static; } }
@media (max-width: 520px) { .si-code { display: none; } .svc-index a { grid-template-columns: 44px 1fr; } }

.steps-sec { background: #fff; }

/* Reads */
.reads-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.reads { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.reads a { display: grid; grid-template-columns: 110px 1fr auto 20px; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-strong); transition: color .2s; }
.reads a:hover { color: var(--primary); }
.reads a .i { color: var(--muted); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.reads a:hover .i { transform: translateX(-4px); color: var(--primary); }
.rd-cat { font-size: .82rem; font-weight: 600; color: var(--primary); }
.reads b { font-size: 1.05rem; font-weight: 600; }
.reads time { font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) { .reads a { grid-template-columns: 1fr 20px; gap: 4px 12px; } .rd-cat, .reads time { grid-column: 1; } .reads a .i { grid-row: 1 / 4; grid-column: 2; } }

/* Close */
.close-sec { position: relative; overflow: hidden; background: var(--primary); color: #fff; }
.close-sec .gear { width: 640px; inset-inline-end: -200px; top: -260px; opacity: .06; }
.close-grid { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.close-grid h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.1; margin: 0; max-width: 12ch; }
.close-actions { display: grid; gap: 20px; justify-items: start; }
.close-phone { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 700; color: #fff; letter-spacing: -.01em; }
.close-phone:hover { color: #cfe3e3; }
@media (max-width: 820px) { .close-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .slip, .asm-core, .asm-ring, .asm-lines line { animation: none !important; }
}

.nav .btn:hover { color: #fff; }
.footer .brand-text small { color: #9fb4b3; }
.lane-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.lane-head h3 { margin: 0; }
.lane .lane-icon { margin: 0; width: 48px; height: 48px; flex: none; }

/* ================= Inner pages (homepage grammar) ================= */
.p-head { background: #fff; border-bottom: 1px solid var(--line); padding-block: clamp(40px, 6vw, 72px) clamp(36px, 5vw, 56px); }
.p-head-grid { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.p-head-grid > div { max-width: 760px; }
.p-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.12; font-weight: 800; color: var(--primary); margin-bottom: 14px; }
.p-head p { color: #3d4b4a; font-size: clamp(1.02rem, 1.4vw, 1.15rem); max-width: 56ch; margin: 0; }
.p-head .crumbs { margin-bottom: 20px; }
.p-head-phone { color: var(--primary); }
.p-head-phone:hover { color: var(--primary-700); }

.statement { margin: 0; border-top: 1px solid var(--line-strong); }
.statement > div { padding: 22px 0; border-bottom: 1px solid var(--line-strong); display: grid; grid-template-columns: 120px 1fr; gap: 20px; }
.statement dt { font-family: "Alexandria", sans-serif; font-weight: 700; color: var(--primary); }
.statement dd { margin: 0; font-size: 1.08rem; }
@media (max-width: 560px) { .statement > div { grid-template-columns: 1fr; gap: 4px; } }

.si-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: center; padding: 22px 4px; }
.act-row { grid-template-columns: 84px 1fr !important; }

.svc-title { flex-wrap: wrap; }
.svc-title .si-code { margin-inline-start: auto; }
.svc-title .si-icon { flex: none; }

.apply-sec { scroll-margin-top: 72px; }
.article.more { margin-top: 72px; }
.article.more .reads a { grid-template-columns: 90px 1fr 20px; }
.article.more .reads time { display: none; }
.faq summary { font-family: "Alexandria", sans-serif; font-weight: 600; }
.index-grid .faq { margin: 0; max-width: none; }

/* ================= Photography ================= */
img { height: auto; }
/* Photographic hero: real image, teal-tinted for legible text */
.ph-hero { position: relative; overflow: hidden; color: #fff; background: var(--primary-900); padding: 0 !important; }
.ph-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: heroZoom 18s cubic-bezier(.16, 1, .3, 1) both; }
.ph-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(270deg, rgba(3, 44, 46, .94) 0%, rgba(3, 44, 46, .78) 45%, rgba(3, 44, 46, .25) 100%), linear-gradient(0deg, rgba(3, 44, 46, .85) 0%, rgba(3, 44, 46, 0) 40%); }
.ph-hero-inner { position: relative; z-index: 2; min-height: min(86vh, 820px); display: flex; flex-direction: column; justify-content: center; padding-block: 96px 40px; }
.ph-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.12; font-weight: 800; max-width: 15ch; margin-bottom: 22px; }
.ph-hero .h-lede { color: #d5e6e6; max-width: 50ch; }
.ph-hero-strip { list-style: none; padding: 0; margin: auto 0 0; padding-top: 64px; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid rgba(255, 255, 255, .18); }
.ph-hero-strip a { display: flex; gap: 10px; align-items: center; padding: 18px 14px 4px 0; font-size: .9rem; font-weight: 500; color: #e4efef; transition: color .2s; }
.ph-hero-strip li + li a { padding-inline-start: 14px; border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.ph-hero-strip a:hover { color: #fff; }
.ph-hero-strip .i { color: #9cc3c4; width: 18px; height: 18px; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (max-width: 1000px) { .ph-hero-strip { grid-template-columns: repeat(3, 1fr); } .ph-hero-strip li:nth-child(4) a { border: 0; padding-inline-start: 0; } }
@media (max-width: 600px) { .ph-hero-strip { grid-template-columns: 1fr 1fr; } .ph-hero-strip li a { border: 0 !important; padding-inline-start: 0 !important; } .ph-hero::before { background: rgba(3, 44, 46, .82); } }

/* Activities photo index */
.acts-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.acts-head .h2 { margin: 0; }
.acts-head p { max-width: 44ch; margin: 0; }
.acts { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: 16px; }
.act { position: relative; overflow: hidden; border-radius: 14px; color: #fff; background: var(--primary-900); isolation: isolate; }
.act img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.16, 1, .3, 1); z-index: -2; }
.act::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 44, 46, .95) 0%, rgba(3, 44, 46, .55) 45%, rgba(3, 44, 46, .05) 75%); transition: background .4s; }
.act:hover img { transform: scale(1.05); }
.act-body { position: absolute; inset: auto 0 0 0; padding: 24px; }
.act-code { display: inline-block; font-size: .75rem; color: #b5d1d1; margin-bottom: 6px; }
.act h3 { font-family: "Alexandria", sans-serif; font-size: 1.3rem; margin-bottom: 6px; }
.act p { font-size: .93rem; color: #d3e3e3; margin-bottom: 10px; max-width: 42ch; }
.act .link { color: #fff; font-size: .9rem; }
.act-lead { grid-column: span 2; grid-row: span 2; }
.act-lead h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.act-lead p { font-size: 1.05rem; }
@media (max-width: 960px) { .acts { grid-template-columns: 1fr 1fr; grid-auto-rows: 280px; } .act-lead { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 600px) { .acts { grid-template-columns: 1fr; grid-auto-rows: 300px; } .act-lead { grid-column: auto; } }

/* Gallery band */
.gallery-sec { background: #fff; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; align-items: stretch; }
.gallery-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: 14px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.g-tall { grid-row: span 2; min-height: 520px; }
.gallery-copy { grid-column: span 2; align-self: center; padding: 16px clamp(0px, 3vw, 40px); }
.g-wide { grid-column: span 2; aspect-ratio: 16 / 7; }
.g-wide figcaption { position: absolute; inset-inline-start: 16px; bottom: 14px; background: rgba(3, 44, 46, .85); color: #fff; font-size: .85rem; padding: 6px 12px; border-radius: 8px; }
@media (max-width: 800px) { .gallery-grid { grid-template-columns: 1fr; } .g-tall { grid-row: auto; min-height: 340px; } .gallery-copy, .g-wide { grid-column: auto; } }

/* Activities index page: alternating photo rows */
.act-row-lg { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.act-row-lg:last-child { border-bottom: 0; }
.act-row-lg.flip .act-row-img { order: 2; }
.act-row-img { display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; }
.act-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
.act-row-img:hover img { transform: scale(1.04); }
.act-row-body .act-code { color: var(--primary); font-weight: 600; }
.act-row-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--primary); }
.act-row-body p { color: #3d4b4a; }
.act-row-body .check-list { margin: 16px 0 24px; }
@media (max-width: 860px) { .act-row-lg { grid-template-columns: 1fr; } .act-row-lg.flip .act-row-img { order: 0; } }

/* Activity detail hero */
.act-hero { position: relative; overflow: hidden; color: #fff; background: var(--primary-900); }
.act-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s cubic-bezier(.16, 1, .3, 1) both; }
.act-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(270deg, rgba(3, 44, 46, .95) 0%, rgba(3, 44, 46, .7) 55%, rgba(3, 44, 46, .3) 100%); }
.act-hero-inner { position: relative; z-index: 2; min-height: 520px; display: flex; flex-direction: column; justify-content: end; padding-block: 72px 64px; }
.act-hero .crumbs { color: #b5d1d1; margin-bottom: auto; padding-bottom: 48px; }
.act-hero .crumbs a:hover { color: #fff; }
.act-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); line-height: 1.12; font-weight: 800; max-width: 18ch; margin-bottom: 16px; }
.act-hero p { color: #d5e6e6; font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 58ch; margin-bottom: 28px; }
.act-hero .act-code { font-size: .85rem; }
.act-fig { margin: 28px 0 0; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; }
.act-fig img { width: 100%; height: 100%; object-fit: cover; }
.statement > div { grid-template-columns: 170px 1fr; }

@media (prefers-reduced-motion: reduce) { .ph-hero-img, .act-hero > img { animation: none !important; } }

/* ================= Mobile adaptation (≤ 760px) ================= */
@media (max-width: 760px) {
  body { font-size: 1rem; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .home section, section { padding-block: 56px; }
  .h2 { font-size: 1.6rem; margin-bottom: 24px; }
  .container { width: min(100% - 40px, var(--container)); }

  /* Header: tighter, bigger tap target for the menu */
  .header .container { min-height: 64px; }
  .brand svg { width: 34px; height: 34px; }
  .brand-text b { font-size: 1.35rem; }
  .menu-btn { width: 46px; height: 46px; }
  .nav { max-height: calc(100dvh - 64px); overflow-y: auto; box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .25); }
  .nav a { font-size: 1.05rem; padding: 14px 4px; }
  .nav .btn { padding: 14px; }

  /* Breadcrumbs: tappable */
  .crumbs { font-size: .85rem; gap: 4px; flex-wrap: wrap; }
  .crumbs a { padding: 10px 2px; }

  /* Buttons: full-width pairs, thumb-sized */
  .h-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .h-actions .btn { width: 100%; padding: 14px 12px; }
  .btn { min-height: 48px; }

  /* Photo hero */
  .ph-hero-inner { min-height: auto; padding-block: 56px 0; }
  .ph-hero h1 { font-size: 2.15rem; }
  .ph-hero .h-lede { font-size: 1rem; margin-bottom: 24px; }
  .ph-hero-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 32px 20px 24px; border-top: 0; scrollbar-width: none; }
  .ph-hero-strip::-webkit-scrollbar { display: none; }
  .ph-hero-strip li { flex: none; scroll-snap-align: start; }
  .ph-hero-strip li a, .ph-hero-strip li + li a { border: 1px solid rgba(255, 255, 255, .22) !important; border-radius: 999px; padding: 10px 14px !important; white-space: nowrap; background: rgba(3, 44, 46, .55); backdrop-filter: blur(6px); font-size: .88rem; }

  /* Activities: swipeable carousel instead of six stacked tiles */
  .acts-head { margin-bottom: 20px; }
  .acts { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 0 20px 8px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .acts::-webkit-scrollbar { display: none; }
  .act, .act-lead { flex: 0 0 82%; height: 400px; scroll-snap-align: start; grid-column: auto; grid-row: auto; }
  .act h3, .act-lead h3 { font-size: 1.35rem; }
  .act p, .act-lead p { font-size: .93rem; }
  .act-body { padding: 20px; }
  .acts-hint { display: flex; }

  /* Lanes */
  .lane { padding: 24px; border-radius: 14px; }
  .lane h3 { font-size: 1.35rem; }
  .lane ul { margin-bottom: 20px; }
  .lane:hover { transform: none; }

  /* Gallery: one image, then copy */
  .gallery-grid { gap: 20px; }
  .g-tall { min-height: 0; aspect-ratio: 4 / 3; }
  .g-wide { aspect-ratio: 16 / 10; }
  .gallery-copy { padding: 0; }

  /* Reads */
  .reads-head { flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: 8px; }
  .reads-head .link { padding: 8px 0 16px; }
  .reads a { padding: 18px 0; }
  .reads b { font-size: 1rem; line-height: 1.6; }

  /* Sheets / statements */
  .sheet dl div { grid-template-columns: 1fr; gap: 2px; padding: 12px 18px; }
  .sheet dt { font-size: .85rem; }
  .sheet-head, .sheet .sheet-note { padding-inline: 18px; }
  .act-row { grid-template-columns: 72px 1fr !important; }
  .statement > div { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }

  /* Index lists */
  .svc-index a, .si-row { grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; }
  .svc-index a:hover { padding-inline: 0; background: none; }
  .si-icon { width: 40px; height: 40px; }
  .si-code { display: none; }

  /* Activities page rows */
  .act-row-lg { padding-block: 32px; gap: 20px; }
  .act-row-img { aspect-ratio: 16 / 10; }
  .act-row-body h2 { font-size: 1.45rem; }
  .act-row-body .btn { width: 100%; }

  /* Activity detail */
  .act-hero-inner { min-height: 0; padding-block: 24px 40px; }
  .act-hero .crumbs { padding-bottom: 72px; }
  .act-hero h1 { font-size: 2rem; }
  .act-hero::before { background: linear-gradient(0deg, rgba(3, 44, 46, .96) 30%, rgba(3, 44, 46, .55) 100%); }

  /* Page heads */
  .p-head { padding-block: 28px 32px; }
  .p-head h1 { font-size: 2rem; }
  .p-head-grid { gap: 20px; }
  .p-head-cta { width: 100%; }
  .p-head-phone { font-size: 1.6rem; }

  /* Process: vertical rail with readable labels */
  .process li { padding-bottom: 18px; }

  /* Forms */
  .form { padding: 20px; gap: 14px; border-radius: 14px; }
  .field input, .field select, .field textarea { font-size: 16px; padding: 13px 14px; } /* 16px stops iOS zoom on focus */
  .form .btn { width: 100%; }
  .contact-item { padding: 16px; }

  /* FAQ */
  .faq summary { padding: 18px 0; font-size: 1rem; }

  /* Close band */
  .close-grid h2 { font-size: 2rem; }
  .close-phone { font-size: 1.9rem; }
  .close-actions { justify-items: stretch; width: 100%; }

  /* Footer: compact two columns */
  .footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-about, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer ul { gap: 4px; }
  .footer ul a { display: inline-block; padding: 6px 0; }
  .footer-bottom { flex-direction: column; gap: 6px; margin-top: 36px; }

  /* Thumb-zone action bar replaces the floating WhatsApp button */
  .wa-float { display: none; }
  .m-bar { display: grid; }
}

.m-bar { display: none; position: fixed; inset-inline: 0; bottom: 0; z-index: 60; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.m-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--radius-sm); font-weight: 600; }
.m-bar .mb-call { background: var(--primary); color: #fff; }
.m-bar .mb-wa { background: #128041; color: #fff; }
.m-bar svg { width: 20px; height: 20px; }

@media (hover: none) {
  .act:hover img, .act-row-img:hover img { transform: none; }
}

.acts-hint { display: none; align-items: center; gap: 6px; font-size: .85rem; color: var(--primary); font-weight: 600; margin: 4px 0 0; }
.acts-hint .i { width: 16px; height: 16px; }
@media (max-width: 760px) { .acts-hint { display: flex; } }


@media (max-width: 760px) { .m-bar { display: grid; } }


/* ================= App-style tab bar (phones) ================= */
.tabbar { display: none; position: fixed; z-index: 60; inset-inline: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); height: 64px; padding: 0 6px; grid-template-columns: repeat(5, 1fr); align-items: center; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border: 1px solid rgba(6, 76, 80, .08); border-radius: 22px; box-shadow: 0 1px 2px rgba(3, 44, 46, .06), 0 12px 32px -8px rgba(3, 44, 46, .28); transition: transform .35s cubic-bezier(.16, 1, .3, 1), opacity .25s; }
.tabbar.is-hidden { transform: translateY(calc(100% + 24px)); opacity: 0; }
.tabbar a { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #6b7280; font-size: .72rem; font-weight: 500; -webkit-tap-highlight-color: transparent; transition: color .2s; }
.tabbar a .i { width: 22px; height: 22px; stroke-width: 1.8; transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.tabbar a:active .i { transform: scale(.88); }
.tabbar a[aria-current="page"] { color: var(--primary); font-weight: 700; }
.tabbar a[aria-current="page"] .i { stroke-width: 2.2; }
.tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--primary); }
.tabbar .tab-main { color: var(--primary); font-weight: 700; }
.tabbar .tab-main b { display: grid; place-items: center; width: 52px; height: 52px; margin-top: -30px; border-radius: 18px; background: var(--primary); color: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .95), 0 10px 20px -6px rgba(6, 76, 80, .6); transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.tabbar .tab-main:active b { transform: scale(.92); }
.tabbar .tab-main .i { width: 24px; height: 24px; }
@media (max-width: 760px) {
  .tabbar { display: grid; }
  .m-bar { display: none !important; }
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .tabbar { transition: none; } }

/* Tab bar, simplified: four tabs, colour-only active state, quieter surface */
.tabbar { grid-template-columns: repeat(4, 1fr); inset-inline: 0; bottom: 0; height: calc(60px + env(safe-area-inset-bottom)); padding: 0 8px env(safe-area-inset-bottom); border-radius: 0; border: 0; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .94); box-shadow: none; }
.tabbar a { gap: 2px; font-size: .72rem; color: #6b7280; }
.tabbar a .i { width: 22px; height: 22px; stroke-width: 1.6; }
.tabbar a[aria-current="page"]::before { content: none; }
.tabbar a[aria-current="page"] { color: var(--primary); font-weight: 600; }
.tabbar a[aria-current="page"] .i { stroke-width: 2; }
@media (max-width: 760px) { body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); } }

/* Hero activities strip: duplicates exist only to make the phone marquee seamless */
.ph-hero-strip .dup { display: none; }
@media (max-width: 760px) {
  /* Smaller hero buttons that keep their label on one line */
  .h-actions .btn, .h-actions .btn-lg { min-height: 44px; padding: 10px 14px; font-size: .9rem; white-space: nowrap; }
  .h-actions .btn .i, .h-actions .btn svg { width: 16px; height: 16px; }

  /* Infinite marquee of activity chips */
  .ph-hero-strip { overflow: hidden; scroll-snap-type: none; width: max-content; margin-inline: -20px; padding: 28px 0 24px; gap: 8px;
    animation: marquee 32s linear infinite; mask-image: none; }
  .ph-hero-inner { overflow: hidden; }
  .ph-hero-strip .dup { display: block; }
  .ph-hero-strip:hover, .ph-hero-strip:active { animation-play-state: paused; }
}
/* RTL: content flows right-to-left, so the track moves toward the right by half its width (one full set) */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(50% + 4px)); } }
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .ph-hero-strip { animation: none; width: auto; overflow-x: auto; padding-inline: 20px; }
  .ph-hero-strip .dup { display: none; }
}

/* Hero background motion, same on desktop and phones: slow continuous Ken Burns drift */
.ph-hero-img, .act-hero > img { animation: kenBurns 26s ease-in-out infinite alternate both; will-change: transform, object-position; }
@keyframes kenBurns {
  from { transform: scale(1.12); object-position: 35% 55%; }
  to   { transform: scale(1); object-position: 65% 60%; }
}
@media (max-width: 760px) {
  /* Let the photo show through on phones instead of a flat tint */
  .ph-hero::before { background: linear-gradient(180deg, rgba(3, 44, 46, .55) 0%, rgba(3, 44, 46, .72) 45%, rgba(3, 44, 46, .94) 100%); }
  .ph-hero-img, .act-hero > img { animation-duration: 20s; }
  @keyframes kenBurns {
    from { transform: scale(1.15); object-position: 20% 50%; }
    to   { transform: scale(1.02); object-position: 80% 55%; }
  }
}
@media (prefers-reduced-motion: reduce) { .ph-hero-img, .act-hero > img { animation: none !important; } }

/* Closing band, refined: headline + reassurance on one side, actions and a compact call link on the other */
.close-sec { padding-block: clamp(56px, 7vw, 88px) !important; }
.close-card { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px 56px; align-items: center; }
.close-text h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.15; margin-bottom: 12px; max-width: 16ch; }
.close-text p { color: #c3d8d8; margin: 0; max-width: 44ch; }
.close-cta { display: grid; gap: 18px; }
.close-call { display: inline-flex; align-items: center; gap: 12px; color: #fff; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.close-call-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); flex: none; }
.close-call-icon .i { width: 18px; height: 18px; }
.close-call small { display: block; font-size: .8rem; color: #a9c6c6; }
.close-call b { font-size: 1.15rem; font-weight: 700; }
.close-call:hover b { color: #d6e9e9; }
@media (max-width: 820px) {
  .close-card { grid-template-columns: 1fr; gap: 24px; }
  .close-text h2 { font-size: 1.75rem; }
  .close-text p { font-size: .95rem; }
  .close-call b { font-size: 1.05rem; }
}

/* Desktop hero: centred, calmer headline, activities strip always inside the first viewport */
@media (min-width: 761px) {
  .ph-hero-inner { min-height: calc(100svh - 72px); max-height: 900px; padding-block: 48px 0; align-items: center; text-align: center; justify-content: space-between; }
  .ph-hero-inner > h1 { margin-top: auto; }
  .ph-hero h1 { font-size: clamp(2.2rem, 3.6vw, 3.3rem); max-width: 20ch; margin-inline: auto; margin-bottom: 18px; }
  .ph-hero .h-lede { margin-inline: auto; max-width: 56ch; margin-bottom: 28px; }
  .ph-hero .h-actions { justify-content: center; }
  .ph-hero-strip { width: 100%; margin-top: auto; padding-top: 0; text-align: start; }
  .ph-hero-strip a { justify-content: center; padding: 22px 12px 26px; }
  .ph-hero-strip li + li a { padding-inline-start: 12px; }
  .ph-hero::before { background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(3, 44, 46, .82) 0%, rgba(3, 44, 46, .6) 60%, rgba(3, 44, 46, .45) 100%), linear-gradient(0deg, rgba(3, 44, 46, .92) 0%, rgba(3, 44, 46, 0) 30%); }
}

/* Desktop homepage rhythm: calmer headings, centred section heads, each section readable within one screen */
@media (min-width: 761px) {
  .home section { padding-block: clamp(56px, 6vw, 88px); }
  .home .h2 { font-size: clamp(1.6rem, 2.4vw, 2.15rem); max-width: 28ch; }

  /* Centred section heads */
  .home .acts-head, .home .reads-head { flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: 32px; }
  .home .acts-head p { max-width: 60ch; }
  .home .lanes-sec .h2, .home .steps-sec .h2 { margin-inline: auto; text-align: center; margin-bottom: 32px; }

  /* Activities: six equal tiles in a 3 × 2 grid that fits one screen */
  .home .acts { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(220px, 28vh, 270px); gap: 14px; }
  .home .act-lead { grid-column: auto; grid-row: auto; }
  .home .act-lead h3, .home .act h3 { font-size: 1.2rem; }
  .home .act-lead p, .home .act p { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .home .act-body { padding: 20px 22px; }

  /* Lanes: lighter */
  .home .lane { padding: 32px; }
  .home .lane h3 { font-size: 1.45rem; }

  /* Gallery: shorter */
  .home .g-tall { min-height: 0; max-height: 440px; }
  .home .g-wide { aspect-ratio: 16 / 6; }
  .home .gallery-copy { text-align: start; }

  /* Process rail centred under its heading */
  .home .process { max-width: 1000px; margin-inline: auto; }

  /* Reads: compact list, centred head */
  .home .reads { max-width: 900px; margin-inline: auto; }
}

@media (min-width: 761px) { .home .acts { grid-auto-rows: clamp(200px, 26vh, 250px); } .close-text h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); } }


/* Activities: back to the featured layout (lead tile 2×2, five tiles around it) */
@media (min-width: 761px) {
  .home .acts { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(200px, 25vh, 260px); }
  .home .act-lead { grid-column: span 2; grid-row: span 2; }
  .home .act-lead h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
  .home .act-lead p { font-size: 1rem; -webkit-line-clamp: 3; }
}

/* ================= Inner pages, desktop: same thinking as the homepage ================= */
@media (min-width: 761px) {
  main:not(.home) section { padding-block: clamp(56px, 6vw, 88px); }
  main:not(.home) .h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }

  /* Page heads: centred, calmer title */
  .p-head { padding-block: 48px 44px; }
  .p-head-grid { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .p-head-grid > div { max-width: 820px; }
  .p-head .crumbs { justify-content: center; }
  .p-head h1 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
  .p-head p { margin-inline: auto; }
  .p-head-phone { font-size: 1.4rem; }

  /* Activity heroes: centred like the homepage hero, not full-screen */
  .act-hero-inner { min-height: clamp(420px, 62svh, 560px); align-items: center; text-align: center; justify-content: center; padding-block: 40px 56px; }
  .act-hero .crumbs { margin-bottom: 0; padding-bottom: 0; justify-content: center; position: absolute; top: 28px; inset-inline: 0; }
  .act-hero h1 { font-size: clamp(2rem, 3.4vw, 3rem); margin-inline: auto; max-width: 22ch; }
  .act-hero p { margin-inline: auto; }
  .act-hero .h-actions { justify-content: center; }
  .act-hero::before { background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(3, 44, 46, .85) 0%, rgba(3, 44, 46, .62) 65%, rgba(3, 44, 46, .45) 100%); }

  /* Centred standalone section heads (process, other activities, legal) */
  main:not(.home) section > .container > .h2 { text-align: center; margin-inline: auto; margin-bottom: 32px; }
  main:not(.home) .process { max-width: 1000px; margin-inline: auto; }

  /* Activities index rows fit one screen each */
  .act-row-lg { padding-block: 32px; gap: 48px; }
  .act-row-img { aspect-ratio: 16 / 10; }
  .act-row-body h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); }

  /* Blog article heading inside article stays left-aligned */
  .article .h2 { text-align: start !important; }
  .reads { max-width: 900px; margin-inline: auto; }
}
@media (min-width: 761px) {
  main:not(.home) .svc-index a, main:not(.home) .si-row { padding-block: 16px; }
  main:not(.home) .sheet dl div { padding-block: 10px; }
  main:not(.home) .form { gap: 14px; padding: 28px; }
  main:not(.home) .field textarea { min-height: 96px; }
  main:not(.home) .contact-item { padding: 14px 20px; }
}

/* Page heads with a real photo */
.p-head.has-photo { position: relative; overflow: hidden; background: var(--primary-900); border-bottom: 0; color: #fff; }
.p-head-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenBurns 26s ease-in-out infinite alternate both; }
.p-head.has-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 75% 80% at 50% 50%, rgba(3, 44, 46, .86) 0%, rgba(3, 44, 46, .66) 70%, rgba(3, 44, 46, .5) 100%); }
.p-head.has-photo .container { position: relative; z-index: 2; }
.p-head.has-photo h1 { color: #fff; }
.p-head.has-photo p { color: #d5e6e6; }
.p-head.has-photo .crumbs, .p-head.has-photo .crumbs a { color: #b5d1d1; }
.p-head.has-photo .crumbs a:hover { color: #fff; }
.p-head.has-photo .p-head-phone { color: #fff; }
.p-head.has-photo .p-head-cta { background: #fff; color: var(--primary); }
.p-head.has-photo .p-head-cta:hover { background: var(--primary-50); }
@media (min-width: 761px) { .p-head.has-photo { padding-block: 72px 68px; } }
@media (max-width: 760px) {
  .p-head.has-photo { padding-block: 40px 44px; }
  .p-head.has-photo::before { background: linear-gradient(180deg, rgba(3, 44, 46, .7) 0%, rgba(3, 44, 46, .9) 100%); }
}
@media (prefers-reduced-motion: reduce) { .p-head-img { animation: none !important; } }

@media (max-width: 760px) { .p-head.has-photo::before { background: linear-gradient(180deg, rgba(3, 44, 46, .45) 0%, rgba(3, 44, 46, .7) 45%, rgba(3, 44, 46, .9) 100%); } }


/* Breadcrumbs: one aligned line everywhere */
.crumbs { display: flex !important; flex-direction: row !important; flex-wrap: nowrap; align-items: center; gap: 8px; line-height: 1.4; font-size: .85rem; white-space: nowrap; overflow: hidden; }
.crumbs > * { display: inline-flex; align-items: center; padding: 0 !important; margin: 0; }
.crumbs a { min-height: 32px; }
.crumbs > span:not([aria-current]) { opacity: .55; }
.crumbs [aria-current] { overflow: hidden; text-overflow: ellipsis; display: inline-block; max-width: 60vw; }
