/* ==========================================================================
   LANDMARK Projects — light, bilingual theme.
   Brand: navy #111633 (ink), orange #D8641C (accent), blue #00A8E8 (secondary).
   Light surfaces, hairline borders, one accent, restrained motion.
   Everything uses logical properties so AR (rtl) and EN (ltr) share one sheet.
   ========================================================================== */

:root {
  --ink: #111633;
  --ink-2: #1c2450;
  --text: #454c6b;
  --muted: #6b7391;

  --line: rgb(17 22 51 / 0.1);
  --line-2: rgb(17 22 51 / 0.16);
  --soft: #f6f8fc;
  --soft-2: #eef2f9;
  --bg: #fff;
  --surface: #fff;
  --header-bg: rgb(255 255 255 / 0.92);

  /* Always-dark sections (hero, CTA, footer) keep the brand navy in both themes. */
  --navy: #111633;
  --navy-2: #1c2450;

  --orange: #d8641c;
  --orange-deep: #bc5415;
  --orange-soft: rgb(216 100 28 / 0.1);
  /* Brand orange is 3.65:1 on white — fine for large type and fills, not for small text. */
  --orange-text: #b04f13;
  --blue: #00a8e8;
  /* Brand blue is 2.7:1 on white — the readable variant is used for text. */
  --blue-text: #0a6fc4;
  --blue-soft: rgb(0 168 232 / 0.1);

  --shadow: 0 1px 2px rgb(17 22 51 / 0.04);
  --shadow-lift: 0 10px 30px -12px rgb(17 22 51 / 0.18);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-btn: 8px;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(40px, 4.4vw, 60px);
  --header: 78px;

  --font: "Almarai", "Segoe UI", Tahoma, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Dark theme ----------
   Set on <html data-theme="dark"> by the head script (saved choice, else the OS setting).
   Only the tokens change; the navy sections stay as they are. */
:root[data-theme="dark"] {
  color-scheme: dark;

  --ink: #eef1fb;
  --ink-2: #dde2f3;
  --text: #b8bfd6;
  --muted: #8d95b2;

  --line: rgb(255 255 255 / 0.09);
  --line-2: rgb(255 255 255 / 0.16);
  --soft: #0f1531;
  --soft-2: #161d3f;
  --bg: #0a0e23;
  --surface: #121937;
  --header-bg: rgb(10 14 35 / 0.88);

  --orange-text: #f08b4c;
  --orange-soft: rgb(216 100 28 / 0.16);
  --blue-text: #4fc4f2;
  --blue-soft: rgb(0 168 232 / 0.14);

  --shadow: 0 1px 2px rgb(0 0 0 / 0.3);
  --shadow-lift: 0 12px 32px -12px rgb(0 0 0 / 0.6);
}

/* Navy sections sit a shade above the dark page, so give them an edge. */
[data-theme="dark"] .cta,
[data-theme="dark"] .site-footer,
[data-theme="dark"] .process {
  border-top: 1px solid var(--line);
}

/* The profile's service icons are navy line art; draw them light on dark. */
[data-theme="dark"] .card__icon img,
[data-theme="dark"] .service__icon img {
  filter: brightness(0) invert(0.92);
}

/* Header logo: navy wordmark on light, white wordmark on dark. */
.brand__logo--on-dark,
[data-theme="dark"] .brand__logo--on-light {
  display: none;
}

[data-theme="dark"] .brand__logo--on-dark {
  display: block;
}

/* Theme switch */
.theme-toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}

.theme-toggle:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.theme-toggle__moon,
.theme-toggle__sun {
  display: grid;
  place-items: center;
  line-height: 0;
}

.theme-toggle .icon {
  display: block;
  width: 19px;
  height: 19px;
}

.no-js .theme-toggle,
.theme-toggle__sun,
[data-theme="dark"] .theme-toggle__moon {
  display: none;
}

[data-theme="dark"] .theme-toggle__sun {
  display: grid;
}

@media (max-width: 991px) {
  .theme-toggle {
    width: 44px;
    height: 44px;
    margin-inline-start: auto;
  }

  .theme-toggle + .nav-toggle {
    margin-inline-start: 0;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.lang-en {
  line-height: 1.75;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

bdi {
  unicode-bidi: isolate;
}

::selection {
  background: var(--orange);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

#main:focus {
  outline: none;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  background: var(--navy);
  color: #fff;
  transform: translateY(-180%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* ---------- Type ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--orange-text);
}

.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.h2 {
  font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
  text-wrap: balance;
}

.h3 {
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  font-weight: 800;
  line-height: 1.5;
  color: var(--ink);
}

.h2--light {
  color: #fff;
}

.lead {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--text);
}

.section {
  padding-block: var(--section);
}

.page-hero + .section {
  padding-top: clamp(36px, 4vw, 56px);
}

/* Anchor jumps land with the section content right under the header (no empty band). */
.section[id] {
  scroll-margin-top: calc(var(--section) * -1 + 8px);
}

.section--soft {
  background: var(--soft);
  text-align: center;
}

.sec-head {
  max-width: 760px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.sec-head--center {
  margin-inline: auto;
  text-align: center;
}

.sec-head--center .kicker {
  justify-content: center;
}

.sec-cta {
  margin-top: clamp(28px, 3vw, 40px);
  text-align: center;
}

.prose p {
  margin-bottom: 1em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.975rem;
  line-height: 1.2;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.btn .icon {
  width: 1.05em;
  height: 1.05em;
  transition: transform 0.25s var(--ease);
}

.btn--sm {
  min-height: 42px;
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.btn--primary:hover {
  background: var(--orange-deep);
  border-color: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -10px rgb(216 100 28 / 0.8);
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--line-2);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn--light {
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.35);
  color: #fff;
}

.btn--light:hover {
  background: rgb(255 255 255 / 0.16);
  border-color: rgb(255 255 255 / 0.6);
  transform: translateY(-2px);
}

.btn:hover .icon {
  transform: translateX(-3px);
}

.lang-en .btn:hover .icon,
[dir="ltr"] .btn:hover .icon {
  transform: translateX(3px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}

.admin-bar .site-header {
  top: var(--wp-admin--admin-bar--height, 32px);
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header);
}

.brand {
  flex: none;
  min-width: 180px;
  display: flex;
  align-items: center;
}

.brand img {
  height: 56px;
  width: auto;
  transition: opacity 0.25s;
}

.brand:hover img {
  opacity: 0.82;
}

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 36px);
  margin-inline: auto;
}

.nav__link {
  position: relative;
  display: block;
  padding-block: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s;
}

.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--ink);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Dropdown navigation */
.nav__item {
  position: relative;
}

.nav__item--has-sub .nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav__subtoggle {
  display: none;
}

.nav__arrow {
  transition: transform 0.25s var(--ease);
  color: var(--text-muted);
}

.nav__item--has-sub:hover .nav__arrow,
.nav__item--has-sub:focus-within .nav__arrow {
  transform: rotate(180deg);
  color: var(--orange);
}

.nav__sub {
  position: absolute;
  top: calc(100% + 4px);
  inset-inline-start: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 175px;
  padding: 8px 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px -10px rgb(0 0 0 / 0.18);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 60;
}

[dir="rtl"] .nav__sub {
  transform: translateX(50%) translateY(8px);
}

/* Invisible bridge over the gap between the link and the panel, so :hover is not lost on the way down. */
.nav__sub::before {
  content: "";
  position: absolute;
  inset-inline: -12px;
  top: -18px;
  height: 18px;
}

.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

[dir="rtl"] .nav__item--has-sub:hover .nav__sub,
[dir="rtl"] .nav__item--has-sub:focus-within .nav__sub {
  transform: translateX(50%) translateY(0);
}

.nav__sub li {
  list-style: none;
}

.nav__sub a {
  display: block;
  padding: 9px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav__sub {
  width: max-content;
  max-width: 300px;
}

.nav__sub a:hover,
.nav__sub a:focus {
  background: var(--surface-2);
  color: var(--orange);
}

.nav__side {
  flex: none;
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-btn);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}

.lang-switch .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: color 0.25s;
}

.lang-switch:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.lang-switch:hover .icon {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.25s;
}

.nav-toggle:hover {
  border-color: var(--ink);
}

.nav-toggle__open,
.nav-toggle__close {
  display: grid;
  place-items: center;
  line-height: 0;
}

.nav-toggle__open svg,
.nav-toggle__close svg {
  display: block;
}

.nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: grid;
}

@media (max-width: 991px) {
  .nav-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
  }

  .nav.is-open,
  .no-js .nav {
    display: flex;
  }

  .no-js .nav-toggle {
    display: none;
  }

  .no-js .nav {
    position: static;
    flex-basis: 100%;
  }

  .no-js .site-header__bar {
    height: auto;
    justify-content: center;
    flex-wrap: wrap;
    padding-block: 10px;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
  }

  .nav__link {
    padding-block: 13px;
    border-bottom: 1px solid var(--line);
    font-size: 1.02rem;
  }

  .nav__link::after {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .nav__side {
    min-width: 0;
    justify-content: center;
    margin-top: 16px;
  }

  .brand img {
    height: 48px;
  }

  .nav__item--has-sub .nav__sub {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-inline-start: 2px solid var(--line-2);
    margin: 4px 14px 10px;
    padding: 2px 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  [dir="rtl"] .nav__item--has-sub .nav__sub {
    transform: none;
  }

  .nav__item--has-sub .nav__sub a {
    padding: 7px 10px;
    font-size: 0.9rem;
    color: var(--text);
  }

  /* Accordion: every item with a sub-menu has its own toggle; sub-menus start collapsed. */
  .nav__item--has-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .nav__item--has-sub .nav__link {
    flex: 1;
  }

  .nav__item--has-sub .nav__arrow {
    display: none;
  }

  .nav__subtoggle {
    display: grid;
    place-items: center;
    width: 48px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
  }

  .nav__subtoggle svg {
    transition: transform 0.25s var(--ease);
  }

  .nav__item--has-sub.is-open > .nav__subtoggle {
    color: var(--orange);
  }

  .nav__item--has-sub.is-open > .nav__subtoggle svg {
    transform: rotate(180deg);
  }

  .nav__item--has-sub .nav__sub {
    flex-basis: 100%;
    width: auto;
    max-width: none;
    min-width: 0;
    display: none;
  }

  /* The desktop hover/focus transforms must not move the stacked list. */
  .nav__item--has-sub .nav__sub,
  .nav__item--has-sub:hover .nav__sub,
  .nav__item--has-sub:focus-within .nav__sub,
  [dir="rtl"] .nav__item--has-sub:hover .nav__sub,
  [dir="rtl"] .nav__item--has-sub:focus-within .nav__sub {
    transform: none !important;
    inset-inline-start: auto;
  }

  .nav__item--has-sub.is-open > .nav__sub,
  .no-js .nav__item--has-sub .nav__sub {
    display: flex;
  }

  .no-js .nav__subtoggle {
    display: none;
  }
}

/* ---------- Home hero — full-bleed image band ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(620px, 88vh, 840px);
  padding-block: clamp(80px, 9vw, 120px) clamp(110px, 11vw, 170px);
  /* Bottom edge cut in the chevron of the LANDMARK mark */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 52px), 50% 100%, 0 calc(100% - 52px));
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgb(17 22 51 / 0.93) 0%, rgb(17 22 51 / 0.76) 46%, rgb(17 22 51 / 0.42) 100%),
    linear-gradient(to top, rgb(17 22 51 / 0.55), transparent 42%);
}

[dir="ltr"] .hero__bg::after {
  background:
    linear-gradient(to right, rgb(17 22 51 / 0.96) 0%, rgb(17 22 51 / 0.88) 52%, rgb(17 22 51 / 0.45) 85%, transparent 100%),
    linear-gradient(to top, rgb(17 22 51 / 0.65), transparent 45%);
}

.hero__inner {
  position: relative;
}

.hero__content {
  max-width: 700px;
}

[dir="ltr"] .hero__content {
  max-width: 940px;
}

.kicker--light {
  color: #f3a26b;
}

.hero__title {
  display: grid;
  gap: 6px;
  font-size: clamp(1.95rem, 1.2rem + 2.7vw, 3.4rem);
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  text-wrap: balance;
}

[dir="ltr"] .hero__title {
  line-height: 1.22;
  gap: 8px;
  text-wrap: unset;
}

.hero__title .accent {
  color: #f3a26b;
}

.hero__lead {
  max-width: 56ch;
  margin-top: 18px;
  font-size: 1.075rem;
  color: rgb(255 255 255 / 0.85);
}

[dir="ltr"] .hero__lead {
  max-width: 72ch;
  font-size: 1.12rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.hero__badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgb(74 222 128 / 0.22);
}

/* ---------- Stats ---------- */
.stats {
  padding-block: clamp(26px, 4vw, 44px) clamp(12px, 2vw, 24px);
}

.stats__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  overflow: hidden;
}

.stat {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 30px 18px;
  text-align: center;
  transition: background-color 0.3s;
}

.stat + .stat {
  border-inline-start: 1px solid var(--line);
}

.stat:hover {
  background: var(--surface);
}

.stat__value {
  font-size: clamp(2.5rem, 1.7rem + 2.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--orange);
  font-variant-numeric: lining-nums tabular-nums;
}

.stat__label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.about__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.about__text .btn {
  margin-top: 26px;
}

.leader {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.leader__label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.leader__name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
}

.leader__badges {
  display: flex;
  gap: 8px;
}

.leader__badges li {
  padding: 6px 14px;
  border-radius: var(--radius-btn);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--orange);
}

/* ---------- Card grids ---------- */
.cards {
  display: grid;
  gap: 18px;
}

.cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.card:hover {
  border-color: rgb(216 100 28 / 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  transition: background-color 0.3s;
}

.card:hover .card__icon {
  background: var(--orange-soft);
}

.card__icon img {
  width: 36px;
  height: 36px;
}

.card__title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
  color: var(--ink);
}

.card__term {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-text);
}

.card__text {
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- Values ---------- */
.values__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.value:hover {
  border-color: rgb(216 100 28 / 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.value__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
}

.value__name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.value__text {
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- Projects — showcase tiles ---------- */
.showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.showcase__link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.showcase__link:hover,
.showcase__link:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.showcase__media {
  position: absolute;
  inset: 0;
  display: block;
}

.showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.showcase__link:hover .showcase__media img {
  transform: scale(1.06);
}

.showcase__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(17 22 51 / 0.92) 4%, rgb(17 22 51 / 0.62) 38%, rgb(17 22 51 / 0.1) 72%);
}

.showcase__count {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgb(17 22 51 / 0.66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgb(255 255 255 / 0.2);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.showcase__count .icon {
  width: 15px;
  height: 15px;
}

.showcase__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: grid;
  gap: 5px;
  padding: clamp(18px, 2.4vw, 28px);
  color: #fff;
}

.showcase__dev {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f3a26b;
}

.showcase__name {
  font-size: clamp(1.12rem, 0.98rem + 0.55vw, 1.5rem);
  font-weight: 800;
  line-height: 1.45;
  color: #fff;
}

.showcase__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 0.86rem;
  color: rgb(255 255 255 / 0.8);
}

.showcase__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.showcase__cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  transition: gap 0.25s var(--ease);
}

.showcase__cue .icon {
  width: 17px;
  height: 17px;
  color: #f3a26b;
}

.showcase__link:hover .showcase__cue {
  gap: 13px;
}

.projects__more {
  margin-top: clamp(28px, 3vw, 40px);
  text-align: center;
}

/* ---------- Page hero (inner pages) — image band ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(150px, 16vh, 190px);
  padding-block: clamp(84px, 7.5vw, 98px) clamp(18px, 2.2vw, 26px);
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgb(17 22 51 / 0.94) 2%, rgb(17 22 51 / 0.72) 42%, rgb(17 22 51 / 0.34) 100%),
    linear-gradient(to left, rgb(17 22 51 / 0.5), transparent 62%);
}

[dir="ltr"] .page-hero__bg::after {
  background:
    linear-gradient(to top, rgb(17 22 51 / 0.94) 2%, rgb(17 22 51 / 0.72) 42%, rgb(17 22 51 / 0.34) 100%),
    linear-gradient(to right, rgb(17 22 51 / 0.5), transparent 62%);
}

.page-hero__inner {
  position: relative;
  width: 100%;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.86rem;
  color: rgb(255 255 255 / 0.72);
}

.crumbs a {
  transition: color 0.2s;
}

.crumbs a:hover {
  color: #f3a26b;
}

.page-hero__title {
  font-size: clamp(2rem, 1.35rem + 2.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.32;
  color: #fff;
  text-wrap: balance;
}

.page-hero__lead {
  /* Wide enough to keep the About sub-headline on a single desktop line. */
  max-width: min(100%, 74ch);
  margin-top: 14px;
  font-size: 1.07rem;
  color: rgb(255 255 255 / 0.86);
}

/* ---------- Vision ---------- */
.vision__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.vision__points {
  display: grid;
  gap: 12px;
}

.point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.point:hover {
  border-color: rgb(216 100 28 / 0.4);
  transform: translateY(-3px);
}

.point__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
}

.point p {
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Objectives ---------- */
.objectives__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.objective {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.objective:hover {
  border-color: rgb(216 100 28 / 0.4);
  transform: translateY(-3px);
}

.objective__check {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
}

.objective__check .icon {
  width: 16px;
  height: 16px;
}

.objective p {
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Services page ---------- */
.services-full__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.service:hover {
  border-color: rgb(216 100 28 / 0.4);
  box-shadow: var(--shadow-lift);
}

.service__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.service__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  transition: background-color 0.3s;
}

.service:hover .service__icon {
  background: var(--orange-soft);
}

.service__icon img {
  width: 38px;
  height: 38px;
}

.service__num {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--orange-text);
}

.service__title {
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  font-weight: 800;
  line-height: 1.5;
  color: var(--ink);
}

.service__term {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-text);
}

.service__list {
  display: grid;
  gap: 10px;
}

.service__list li {
  position: relative;
  padding-inline-start: 24px;
  font-size: 0.99rem;
  line-height: 1.85;
}

.service__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--orange);
  transform: rotate(45deg);
}

/* ---------- Contact page ---------- */
.contact-quick {
  background: var(--soft);
  padding-bottom: 0;
}

.contact-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tile {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.tile:hover {
  border-color: rgb(216 100 28 / 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.tile__link {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 30px 22px;
  text-align: center;
}

.tile__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  transition: transform 0.3s var(--ease);
}

.tile:hover .tile__icon {
  transform: scale(1.07);
}

.tile--wa .tile__icon {
  background: rgb(30 169 82 / 0.12);
  color: #1ea952;
}

.tile--mail .tile__icon {
  background: var(--blue-soft);
  color: #0a6fa8;
}

.tile__label {
  font-size: 0.85rem;
  color: var(--muted);
}

.tile__value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  transition: color 0.2s;
}

.tile:hover .tile__value {
  color: var(--orange);
}

.tile__value--sm {
  font-size: 1rem;
  word-break: break-word;
}

.contact-main {
  padding-top: clamp(32px, 4vw, 48px);
}

.contact-main__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  align-items: stretch;
}

.form-card {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}

.form-card .h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem);
}

.form-card__note {
  margin-top: 10px;
  margin-bottom: 28px;
  color: var(--muted);
}

.office-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--navy);
  color: rgb(255 255 255 / 0.78);
}

.office-card .h3 {
  color: #fff;
}

.office-list {
  display: grid;
  gap: 20px;
  margin-top: 22px;
  margin-bottom: 24px;
}

.office-list li {
  display: grid;
  gap: 3px;
}

.office-list__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  border-radius: 50%;
  border: 1px solid rgb(243 162 107 / 0.4);
  color: #f3a26b;
}

.office-list__label {
  font-size: 0.85rem;
  color: rgb(255 255 255 / 0.6);
}

.office-list__value {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
  color: #fff;
}

.office-card__map {
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(255 255 255 / 0.12);
  margin-top: auto;
  margin-bottom: 20px;
  height: 220px;
  min-height: 180px;
  background: var(--navy-2);
}

.office-card__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

.office-card__btn {
  width: 100%;
}

/* ---------- Form (Contact Form 7) ---------- */
/* CF7 puts its own dir on the .wpcf7 wrapper, from the form's locale.
   The page language is what should win, so restate it here. */
.lmp-form-wrap[dir="rtl"],
.lmp-form-wrap[dir="rtl"] .wpcf7,
.lmp-form-wrap[dir="rtl"] form {
  direction: rtl;
  text-align: right;
}

.lmp-form-wrap[dir="ltr"],
.lmp-form-wrap[dir="ltr"] .wpcf7,
.lmp-form-wrap[dir="ltr"] form {
  direction: ltr;
  text-align: left;
}

.lmp-form .lmp-field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.lmp-form .lmp-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lmp-form label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.lmp-form .req {
  color: var(--orange);
}

.lmp-form input[type="text"],
.lmp-form input[type="email"],
.lmp-form input[type="tel"],
.lmp-form textarea {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-btn);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.lmp-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Emails and phone numbers always read left-to-right, even inside the RTL form. */
.lmp-form input[type="email"],
.lmp-form input[type="tel"] {
  direction: ltr;
  text-align: start;
}

.lmp-form input::placeholder,
.lmp-form textarea::placeholder {
  color: #9aa1b8;
}

.lmp-form input:focus,
.lmp-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}

.lmp-form .lmp-submit {
  margin-top: 22px;
}

.lmp-form input[type="submit"] {
  min-width: 200px;
  cursor: pointer;
}

.lmp-form .wpcf7-not-valid-tip {
  font-size: 0.85rem;
  font-weight: 700;
  color: #c62828;
}

.lmp-form input.wpcf7-not-valid,
.lmp-form textarea.wpcf7-not-valid {
  border-color: #c62828;
}

.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-width: 1px;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-weight: 700;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #1ea952;
  background: rgb(30 169 82 / 0.08);
  color: #14713a;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: #c62828;
  background: rgb(198 40 40 / 0.07);
  color: #a11d1d;
}

.wpcf7-spinner {
  margin-inline-start: 10px;
}

.notice-box {
  padding: 18px 20px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--muted);
}

/* ---------- Closing CTA ---------- */
.cta {
  padding-block: clamp(56px, 6vw, 84px);
  background: var(--navy);
  color: rgb(255 255 255 / 0.82);
}

.cta__inner {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.cta__lead {
  max-width: 56ch;
  font-size: 1.05rem;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding-top: clamp(50px, 6vw, 74px);
  background: var(--navy);
  color: rgb(255 255 255 / 0.72);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding-bottom: 40px;
}

.site-footer__brand img {
  height: 76px;
  width: auto;
}

.site-footer__tagline {
  margin-top: 14px;
  max-width: 28ch;
  font-size: 0.95rem;
  line-height: 1.85;
}

.site-footer__title {
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.site-footer__col ul {
  display: grid;
  gap: 10px;
  font-size: 0.93rem;
}

.site-footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.site-footer__col a .icon {
  width: 16px;
  height: 16px;
  color: var(--orange);
}

.site-footer__col a:hover {
  color: #fff;
}

.site-footer__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.87rem;
}

.to-top {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.22);
  color: #fff;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}

.to-top:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-3px);
}

/* ---------- Floating Contact Action Button (FAB) ---------- */
.fab-contact {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.fab-contact__toggle {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: var(--orange, #f2722b) !important;
  color: #fff !important;
  cursor: pointer;
  box-shadow: 0 8px 24px -4px rgb(242 114 43 / 0.65) !important;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
  outline: none;
  line-height: 0 !important;
  -webkit-appearance: none;
  box-sizing: border-box !important;
}

.fab-contact__toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px -4px rgb(242 114 43 / 0.8) !important;
}

.fab-contact__icon-open,
.fab-contact__icon-close {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  pointer-events: none;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.fab-contact__icon-open svg,
.fab-contact__icon-close svg {
  display: block !important;
  margin: 0 auto !important;
  flex: none;
}

/* The chat-bubble glyph spans x 2-24 of its 24 box, so it sits ~1.2px right of centre. */
.fab-contact__icon-open svg {
  transform: translateX(-1.2px);
}

.fab-contact__icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}

.fab-contact.is-open .fab-contact__icon-open {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}

.fab-contact.is-open .fab-contact__icon-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.fab-contact__menu {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}

.fab-contact.is-open .fab-contact__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.fab-contact__item {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 6px 18px -3px rgb(0 0 0 / 0.28) !important;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  outline: none;
  line-height: 0 !important;
  box-sizing: border-box !important;
}

.fab-contact__item svg {
  display: block !important;
  margin: 0 auto !important;
  flex: none;
}

.fab-contact__item:hover {
  transform: scale(1.12);
}

.fab-contact__item--whatsapp {
  background: #25d366 !important;
  box-shadow: 0 6px 18px -3px rgb(37 211 102 / 0.6) !important;
}

.fab-contact__item--whatsapp:hover {
  background: #20ba5a !important;
  box-shadow: 0 8px 22px -3px rgb(37 211 102 / 0.8) !important;
}

.fab-contact__item--email {
  background: #ea4335 !important;
  box-shadow: 0 6px 18px -3px rgb(234 67 53 / 0.6) !important;
}

.fab-contact__item--email:hover {
  background: #d93025 !important;
  box-shadow: 0 8px 22px -3px rgb(234 67 53 / 0.8) !important;
}

.fab-contact__tooltip {
  position: absolute;
  inset-inline-start: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy, #111633);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.2);
  line-height: 1.4 !important;
}

.fab-contact__item:hover .fab-contact__tooltip {
  opacity: 1;
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: min(960px, 94vw);
  max-width: none;
  max-height: 94vh;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.lightbox[open] {
  display: grid;
  gap: 12px;
}

.lightbox::backdrop {
  background: rgb(17 22 51 / 0.7);
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lightbox__title {
  font-weight: 800;
}

.lightbox__close,
.lightbox__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.25s, color 0.25s;
}

.lightbox__close:hover,
.lightbox__btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.lightbox__img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--soft);
}

.lightbox__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.lightbox__btn .icon {
  transform: scaleX(-1);
}

.lightbox__btn--next .icon {
  transform: none;
}

.lightbox__count {
  min-width: 4ch;
  text-align: center;
  font-weight: 700;
  color: var(--muted);
}

/* ---------- Reveal (the only scroll motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

/* ---------- Section head on a dark band ---------- */
.sec-head--light .h2 {
  color: #fff;
}

.sec-head--light .kicker {
  color: #f3a26b;
}

.sec-head--light .lead {
  color: rgb(255 255 255 / 0.82);
}

/* ---------- Process — "how we work" image band ---------- */
.process {
  position: relative;
  padding-block: var(--section);
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.process__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.process__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.process__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(17 22 51 / 0.93), rgb(17 22 51 / 0.97));
}

.process__inner {
  position: relative;
}

.process__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  counter-reset: none;
}

.step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(22px, 2.4vw, 30px) clamp(18px, 2vw, 24px);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.step:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(243 162 107 / 0.5);
  transform: translateY(-4px);
}

.step__num {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f3a26b;
}

.step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgb(243 162 107 / 0.16);
  color: #f3a26b;
}

.step__icon .icon {
  width: 23px;
  height: 23px;
}

.step__title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.5;
  color: #fff;
}

.step__text {
  font-size: 0.93rem;
  line-height: 1.85;
  color: rgb(255 255 255 / 0.76);
}

/* The handset leans right, so mirror it when the icon sits right of the number. */
[dir="rtl"] .icon--phone {
  transform: scaleX(-1);
}

/* ---------- Projects page ---------- */
.pgroup__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(30px, 3.5vw, 46px);
}

.pgroup__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--orange);
}

.pgroup__icon .icon {
  width: 27px;
  height: 27px;
}

.pshow {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
}

.pshow--without-gallery {
  grid-template-columns: minmax(0, 1fr);
}

.pshow--without-gallery .pshow__info {
  grid-column: 1 / -1;
  max-width: 760px;
}

.pshow + .pshow {
  margin-top: clamp(44px, 5vw, 76px);
  padding-top: clamp(44px, 5vw, 76px);
  border-top: 1px solid var(--line);
}

.pshow:nth-of-type(even) .pshow__gallery {
  order: 2;
}

.pshow__gallery {
  display: grid;
  gap: 12px;
}

.pshow__main {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft-2);
}

.pshow__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.pshow__main:hover img {
  transform: scale(1.05);
}

.pshow__count {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgb(17 22 51 / 0.72);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.pshow__count .icon {
  width: 15px;
  height: 15px;
}

.pshow__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 12px;
}

.pshow__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--soft-2);
  border: 1px solid transparent;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.pshow__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pshow__thumb:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
}

.pshow__info {
  display: grid;
  align-content: start;
  gap: 14px;
}

.pshow__index {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--orange-text);
}

.pshow__name {
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.9rem);
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
}

.pshow__summary {
  margin: -4px 0 0;
  max-width: 66ch;
  color: var(--text);
  line-height: 1.8;
}

.pshow__description {
  max-width: 68ch;
  color: var(--text);
}

.pshow__description > :first-child {
  margin-top: 0;
}

.pshow__description > :last-child {
  margin-bottom: 0;
}

.pshow__meta {
  display: grid;
  gap: 12px;
  margin: 4px 0 0;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  border: 1px solid var(--line);
}

.pshow__meta > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.pshow__meta dt {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.pshow__meta dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.pshow__scope-label {
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: start;
}

.pshow__scope {
  display: grid;
  gap: 9px;
  text-align: start;
}

.pshow__scope li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--text);
}

.pshow__scope .icon {
  flex: none;
  width: 17px;
  height: 17px;
  color: var(--orange);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-inline: auto;
}

.qa {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.qa[open] {
  border-color: var(--line-2);
  box-shadow: var(--shadow-lift);
}

.qa__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.6;
  color: var(--ink);
  transition: color 0.2s;
}

.qa__q::-webkit-details-marker {
  display: none;
}

.qa__q:hover {
  color: var(--orange-text);
}

.qa__mark {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange-soft);
}

.qa__mark::before,
.qa__mark::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

[dir="rtl"] .qa__mark::before,
[dir="rtl"] .qa__mark::after {
  transform: translate(50%, -50%);
}

.qa__mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

[dir="rtl"] .qa__mark::after {
  transform: translate(50%, -50%) rotate(90deg);
}

.qa[open] .qa__mark::after {
  opacity: 0;
}

.qa__a {
  padding: 0 22px 20px;
}

.qa__a p {
  max-width: 78ch;
  font-size: 0.97rem;
  line-height: 1.95;
  color: var(--text);
}

.faq-group + .faq-group {
  margin-top: clamp(38px, 4.5vw, 64px);
}

.faq-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 18px;
  font-size: clamp(1.15rem, 1.02rem + 0.5vw, 1.45rem);
  font-weight: 800;
  color: var(--ink);
}

.faq-group__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--orange-soft);
  font-size: 0.85rem;
  color: var(--orange-text);
}

.faq-ask {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  max-width: 900px;
  margin: clamp(44px, 5vw, 72px) auto 0;
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid var(--line);
}

.faq-ask__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
}

.faq-ask__lead {
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--muted);
}

.faq-ask__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-teaser__more {
  margin-top: clamp(26px, 3vw, 36px);
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
  .cards--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .about__grid,
  .vision__grid,
  .contact-main__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-block: clamp(48px, 8vw, 72px) clamp(76px, 12vw, 110px);
  }

  .about__media {
    order: 2;
  }

  .about__media img {
    aspect-ratio: 16 / 10;
  }

  .services-full__list {
    grid-template-columns: 1fr;
  }

  .stats__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat:nth-child(3) {
    border-inline-start: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .pshow {
    grid-template-columns: 1fr;
  }

  .pshow:nth-of-type(even) .pshow__gallery {
    order: 0;
  }

  .page-hero {
    min-height: clamp(140px, 16vh, 180px);
    padding-block: 74px 16px;
  }
}

@media (max-width: 639px) {
  :root {
    --header: 66px;
  }

  body {
    font-size: 1rem;
  }

  .hero__actions .btn {
    flex: 1;
  }

  .cards--4,
  .values__list,
  .objectives__list,
  .contact-tiles,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .lmp-form .lmp-row {
    grid-template-columns: 1fr;
  }

  .leader {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 50% 100%, 0 calc(100% - 26px));
  }

  .hero__badge {
    margin-top: 20px;
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .fab-contact {
    bottom: 16px;
    inset-inline-start: 16px;
  }

  .fab-contact__toggle {
    width: 48px;
    height: 48px;
  }

  .fab-contact__item {
    width: 42px;
    height: 42px;
  }

  .site-footer__base {
    flex-direction: column;
    gap: 14px;
    padding-bottom: 84px;
    text-align: center;
  }

  .showcase,
  .process__list {
    grid-template-columns: 1fr;
  }

  .showcase__link {
    aspect-ratio: 4 / 3;
  }

  .pshow__meta > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .faq-ask {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-ask__actions .btn {
    flex: 1;
  }

  .qa__q {
    padding: 16px 18px;
    font-size: 0.97rem;
  }

  .qa__a {
    padding: 0 18px 18px;
  }
}

/* ---------- Preloader (first visit per session; the head script adds .lmp-preload) ---------- */
.lmp-preloader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  align-items: center;
  justify-content: center;
  background: #111633;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

html.lmp-preload .lmp-preloader {
  display: flex;
}

html.lmp-preload .lmp-preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lmp-preloader__inner {
  display: grid;
  justify-items: center;
  gap: 28px;
}

.lmp-preloader__logo {
  width: clamp(150px, 26vw, 230px);
  height: auto;
  animation: lmp-pre-pulse 1.6s ease-in-out infinite;
}

.lmp-preloader__bar {
  position: relative;
  width: clamp(130px, 22vw, 200px);
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgb(255 255 255 / 0.14);
}

.lmp-preloader__bar span {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 40%;
  border-radius: 3px;
  background: #d8641c;
  animation: lmp-pre-bar 1.1s ease-in-out infinite;
}

@keyframes lmp-pre-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes lmp-pre-bar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

[dir="rtl"] .lmp-preloader__bar span {
  animation-name: lmp-pre-bar-rtl;
}

@keyframes lmp-pre-bar-rtl {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-250%); }
}

/* ==========================================================================
   Blog & Single Article Styles
   Clean, modern, responsive, bidirectional (RTL/LTR), and full dark theme.
   ========================================================================== */

/* ---------- Blog Archive / Listing ---------- */
.blog-section {
  padding-block: clamp(36px, 5vw, 64px);
}

.blog-filter {
  margin-bottom: clamp(28px, 4vw, 42px);
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.blog-filter__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-filter__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}

.blog-filter__pill:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-soft);
}

.blog-filter__pill.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 4px 14px rgb(216 100 28 / 0.3);
}

.blog-filter__count {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: var(--soft-2);
  color: var(--muted);
  line-height: 1.2;
}

.blog-filter__pill.is-active .blog-filter__count {
  background: rgb(255 255 255 / 0.25);
  color: #fff;
}

/* Category Pill */
.blog-pill-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-text);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgb(216 100 28 / 0.18);
  transition: all 0.2s;
}

.blog-pill-category:hover {
  background: var(--orange);
  color: #fff;
}

/* Badge Featured */
.blog-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.blog-badge--featured {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 16px;
  z-index: 2;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 16px rgb(216 100 28 / 0.45);
}

.blog-badge--featured svg {
  width: 15px;
  height: 15px;
}

/* Featured Hero Post */
.blog-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: clamp(36px, 5vw, 56px);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.blog-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgb(216 100 28 / 0.35);
}

.blog-featured__media {
  position: relative;
  display: block;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--soft-2);
}

.blog-featured__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.blog-featured:hover .blog-featured__img {
  transform: scale(1.04);
}

.blog-featured__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-featured__title {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.35;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.blog-featured__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-featured__title a:hover {
  color: var(--orange);
}

.blog-featured__excerpt {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

.blog-featured__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}

/* Author Mini Snippet */
.blog-author-mini {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-author-mini__avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange);
  flex-shrink: 0;
}

.blog-author-mini__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}

.blog-author-mini__title {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.blog-author-mini--card .blog-author-mini__name {
  font-size: 0.88rem;
  color: var(--text);
}

/* Meta Top Row */
.blog-meta-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-meta-item svg {
  width: 15px;
  height: 15px;
  opacity: 0.75;
}

/* Articles Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(24px, 3.5vw, 32px);
  margin-bottom: 48px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgb(216 100 28 / 0.35);
}

.blog-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft-2);
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.blog-card:hover .blog-card__img {
  transform: scale(1.05);
}

.blog-card__category {
  position: absolute;
  inset-block-end: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
  background: var(--surface);
}

.blog-card__body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.blog-card__title {
  font-size: 1.15rem;
  line-height: 1.45;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card__title a:hover {
  color: var(--orange);
}

.blog-card__excerpt {
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--text);
  margin: 0;
  flex-grow: 1;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  transition: gap 0.2s var(--ease);
}

.blog-card:hover .blog-card__link {
  gap: 10px;
}

.blog-card__link svg {
  width: 16px;
  height: 16px;
}

/* Pagination */
.blog-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.blog-pagination ul {
  display: flex;
  list-style: none;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.blog-pagination li a,
.blog-pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.blog-pagination li a:hover,
.blog-pagination li span.current {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 4px 12px rgb(216 100 28 / 0.3);
}

/* Empty State */
.blog-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* Blog Call To Action Banner */
.blog-cta {
  padding-block: clamp(48px, 6vw, 72px);
  background: var(--navy);
  color: #fff;
}

.blog-cta__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.blog-cta__content {
  max-width: 680px;
}

.blog-cta__title {
  color: #fff;
  margin-block: 8px 12px;
}

.blog-cta__lead {
  color: rgb(255 255 255 / 0.85);
  margin: 0;
  font-size: 1.15rem;
}

.blog-cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Single Article Template ---------- */
.page-hero--post {
  min-height: auto;
  padding-block: clamp(96px, 8.5vw, 120px) clamp(28px, 3.2vw, 42px);
  background: var(--navy);
  color: #fff;
}

.page-hero--post .page-hero__inner {
  max-width: 920px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-hero--post .crumbs {
  margin-bottom: 8px;
}

.post-hero__category {
  display: flex;
  margin-bottom: 4px;
}

.blog-pill-category--hero {
  background: var(--orange);
  color: #fff;
  border: none;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 6px 16px;
  box-shadow: 0 4px 14px rgb(216 100 28 / 0.35);
}

.blog-pill-category--hero:hover {
  background: #bc5415;
  color: #fff;
}

.post-hero__title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.34;
  font-weight: 800;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}

.post-hero__lead {
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  line-height: 1.75;
  color: rgb(255 255 255 / 0.88);
  margin: 0;
  max-width: 840px;
}

/* Post Meta Bar inside Hero */
.post-meta-bar--hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.16);
  margin: 12px auto 0;
}

.post-meta-bar__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-meta-bar__avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange);
  flex-shrink: 0;
}

.post-meta-bar__author-name {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
}

.post-meta-bar__author-role {
  display: block;
  font-size: 0.82rem;
  color: rgb(255 255 255 / 0.75);
}

.post-meta-bar__details {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  color: rgb(255 255 255 / 0.82);
}

.post-meta-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.post-meta-bar__item svg {
  width: 17px;
  height: 17px;
  color: #f3a26b;
}

/* Post Media Container (Framed below Hero) */
.post-media-wrap {
  margin-block: clamp(32px, 4vw, 52px);
}

.post-media-box {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  box-shadow: 0 16px 40px -12px rgb(17 22 51 / 0.16);
  border: 1px solid var(--line);
  background: var(--soft-2);
}

.post-media-box__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Post Layout (Grid with Article as Column 1 and Sidebar as Column 2) */
.post-section {
  padding-block: 0 clamp(48px, 6vw, 84px);
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(32px, 4.5vw, 60px);
  align-items: start;
}

.post-main {
  min-width: 0;
  max-width: 100%;
}

.post-sidebar {
  position: relative;
}

.post-sidebar__sticky {
  position: sticky;
  top: calc(var(--header) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-sidebar__widget {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Author Consultation Widget */
.author-widget__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.author-widget__avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange);
  flex-shrink: 0;
}

.author-widget__name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.author-widget__title {
  font-size: 0.8rem;
  color: var(--muted);
}

.author-widget__bio {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 18px;
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  border: 1px solid #1fa851;
  font-weight: 700;
}

.btn--whatsapp:hover {
  background: #1eb857;
  color: #fff;
  box-shadow: 0 4px 14px rgb(37 211 102 / 0.35);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* Sidebar Widgets Titles */
.share-widget__title,
.toc-widget__title,
.recent-widget__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.share-widget__title svg,
.toc-widget__title svg,
.recent-widget__title svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
}

/* Share Buttons */
.share-widget__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-btn);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.share-btn svg {
  width: 16px;
  height: 16px;
}

.share-btn--wa:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.share-btn--in:hover {
  background: #0077b5;
  border-color: #0077b5;
  color: #fff;
}

.share-btn--tw:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.share-btn--copy:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* Table of Contents Widget */
.toc-widget.is-hidden {
  display: none;
}

.toc-widget__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-widget__list li a {
  display: block;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s;
}

.toc-widget__list li a:hover {
  color: var(--orange);
  background: var(--orange-soft);
  border-inline-start-color: var(--orange);
}

/* Recent Articles Widget */
.recent-widget__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.recent-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.recent-item:hover {
  opacity: 0.85;
}

.recent-item__media {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--soft-2);
}

.recent-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recent-item__title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.recent-item:hover .recent-item__title {
  color: var(--orange);
}

.recent-item__date {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- Article Body Typography (.post-body.prose) ---------- */
.post-body {
  font-family: var(--font);
  font-size: clamp(1.08rem, 1.25vw, 1.18rem);
  line-height: 1.95;
  color: var(--ink-2);
}

.post-body p {
  margin-bottom: 1.6em;
}

.post-body p.lead {
  font-size: clamp(1.2rem, 1.5vw, 1.35rem);
  line-height: 1.8;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2em;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
}

.post-body h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--ink);
  margin-block: 2.2em 0.8em;
  line-height: 1.4;
  scroll-margin-top: calc(var(--header) + 24px);
}

.post-body h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  font-weight: 700;
  color: var(--ink);
  margin-block: 1.8em 0.6em;
  line-height: 1.45;
  scroll-margin-top: calc(var(--header) + 24px);
}

/* Unordered Lists */
.post-body ul {
  list-style: none;
  padding-inline-start: 0;
  margin-bottom: 1.8em;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-body ul li {
  position: relative;
  padding-inline-start: 24px;
  line-height: 1.8;
  color: var(--text);
}

.post-body ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.post-body ul li strong,
.post-body ol li strong {
  color: var(--ink);
  font-weight: 800;
}

/* Ordered Lists */
.post-body ol {
  list-style: none;
  counter-reset: post-counter;
  padding-inline-start: 0;
  margin-bottom: 1.8em;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.post-body ol li {
  counter-increment: post-counter;
  position: relative;
  padding-inline-start: 42px;
  line-height: 1.8;
  color: var(--text);
}

.post-body ol li::before {
  content: counter(post-counter);
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.15em;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--soft-2);
  border: 1px solid var(--line-2);
  color: var(--orange-text);
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Callout Box */
.post-callout {
  margin-block: 2.5em;
  padding: 24px 28px;
  border: 0;
  border-inline-start: 2px solid var(--orange);
  border-radius: 0;
  background: var(--soft);
  box-shadow: none;
  text-align: center;
}

.post-callout__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--orange-text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-callout p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
  font-weight: 500;
}

/* Blockquote */
.post-body blockquote {
  position: relative;
  margin-block: 2.6em;
  padding: 28px 32px;
  border-radius: 0;
  background: var(--soft);
  border: 0;
  border-inline-start: 2px solid var(--orange);
}

.post-body blockquote::before {
  content: "“";
  position: absolute;
  inset-inline-end: 24px;
  inset-block-start: 10px;
  font-size: 5rem;
  line-height: 1;
  color: var(--line-2);
  font-family: Georgia, serif;
  pointer-events: none;
}

.post-body blockquote p {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 12px;
}

.post-body blockquote cite {
  display: block;
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 700;
  color: var(--blue-text);
}

/* Key Takeaways Box */
.key-takeaways {
  margin-block: 2.6em;
  padding: 30px 32px;
  border-radius: var(--radius);
  background: var(--soft-2);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}

.key-takeaways__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.key-takeaways ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.key-takeaways li {
  position: relative;
  padding-inline-start: 34px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.7;
}

.key-takeaways li::before {
  content: "✔";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.1em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgb(37 211 102 / 0.15);
  color: #1eb857;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

/* Post Body Media & Tables */
.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  display: block;
  margin-block: 2em;
}

.post-body figure {
  margin-block: 2.2em;
  margin-inline: 0;
}

.post-body figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 2.2em;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.post-body th {
  background: var(--soft-2);
  color: var(--ink);
  padding: 14px 18px;
  text-align: start;
  font-weight: 800;
  border-bottom: 2px solid var(--line-2);
}

.post-body td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.post-body hr {
  border: none;
  border-top: 1px solid var(--line-2);
  margin-block: 2.5em;
}

/* ---------- Post Footer Elements ---------- */
.post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 22px;
  border-block: 1px solid var(--line);
  margin-top: 40px;
}

.post-tags__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--ink);
  font-size: 0.95rem;
}

.post-tags__label svg {
  width: 17px;
  height: 17px;
  color: var(--orange);
}

.post-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.2s;
}

.post-tag:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 4px 12px rgb(216 100 28 / 0.3);
}

/* Post Share Banner */
.post-share-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  margin-top: 28px;
  box-shadow: var(--shadow);
}

.post-share-banner__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.post-share-banner__text strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.post-share-banner__text span {
  font-size: 0.9rem;
  color: var(--muted);
}

.post-share-banner__buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Full Author Signature Box */
.post-author-box {
  margin-top: 40px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.post-author-box__inner {
  display: flex;
  gap: 26px;
  align-items: flex-start;
}

.post-author-box__avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--orange);
  flex-shrink: 0;
}

.post-author-box__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-author-box__badge {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--orange-text);
  letter-spacing: 0.5px;
}

.post-author-box__name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.post-author-box__badges {
  display: flex;
  gap: 6px;
  margin-block: 4px;
}

.post-author-box__badges span {
  padding: 3px 12px;
  border-radius: 6px;
  background: var(--soft-2);
  border: 1px solid var(--line-2);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ink);
}

.post-author-box__bio {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
  margin: 6px 0 18px 0;
}

.post-author-box__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Post Navigation Cards */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 40px;
}

.post-nav__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

.post-nav__card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: var(--shadow-lift);
}

.post-nav__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.post-nav__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.45;
}

/* Related Posts Section */
.related-posts__header {
  margin-bottom: 32px;
}

.related-posts__grid {
  margin-bottom: 0;
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 1024px) {
  .post-layout {
    grid-template-columns: 1fr;
  }
  .blog-featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .post-media-box {
    aspect-ratio: 16 / 10;
  }
  .post-nav {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .post-author-box__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .post-author-box__badges,
  .post-author-box__cta {
    justify-content: center;
  }
  .post-share-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Dark Theme Overrides for Blog ---------- */
[data-theme="dark"] .blog-filter__pill {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

[data-theme="dark"] .blog-filter__pill:hover {
  background: var(--orange-soft);
  border-color: var(--orange);
  color: var(--orange-text);
}

[data-theme="dark"] .blog-filter__pill.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

[data-theme="dark"] .blog-featured,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .post-sidebar__widget,
[data-theme="dark"] .post-share-banner,
[data-theme="dark"] .post-author-box,
[data-theme="dark"] .post-nav__card,
[data-theme="dark"] .blog-empty {
  background: var(--surface);
  border-color: var(--line);
}

[data-theme="dark"] .blog-card__category {
  background: var(--surface);
}

[data-theme="dark"] .share-btn {
  background: var(--soft-2);
  border-color: var(--line);
  color: var(--ink);
}

[data-theme="dark"] .post-callout {
  background: rgb(216 100 28 / 0.15);
}

[data-theme="dark"] .key-takeaways {
  background: var(--soft-2);
  border-color: var(--line);
}

[data-theme="dark"] .post-body blockquote {
  background: var(--soft);
}

[data-theme="dark"] .post-body h2 {
  color: var(--ink);
}

[data-theme="dark"] .post-tags {
  border-color: var(--line);
}

[data-theme="dark"] .post-tag {
  background: var(--soft-2);
  border-color: var(--line);
  color: var(--text);
}

[data-theme="dark"] .post-author-box__badges span {
  background: var(--soft);
  border-color: var(--line);
}

/* ---------- Single article: editorial layout ---------- */
body.single-post .article-hero {
  padding-block: clamp(28px, 4vw, 56px) clamp(40px, 5vw, 64px);
  background: var(--soft);
  color: var(--ink);
}

body.single-post .article-hero .crumbs {
  margin-bottom: clamp(24px, 2.5vw, 36px);
  color: var(--muted);
  font-size: 0.9rem;
}

body.single-post .article-hero .crumbs a:hover {
  color: var(--orange-text);
}

body.single-post .article-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 36px);
}

body.single-post .article-hero__copy {
  min-width: 0;
  text-align: center;
}

body.single-post .article-hero__category {
  display: inline-block;
  color: var(--orange-text);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

body.single-post .article-hero__title {
  max-width: none;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(2.25rem, 3.3vw, 3.5rem);
  font-weight: 800;
  line-height: 1.25;
  text-wrap: balance;
}

body.single-post .article-hero__lead {
  max-width: 60ch;
  margin: 16px auto 0;
  color: var(--text);
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  line-height: 1.85;
}

body.single-post .article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  margin-top: clamp(24px, 2.5vw, 32px);
}

body.single-post .article-hero__author,
body.single-post .article-hero__details {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.single-post .article-hero__author img {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}

body.single-post .article-hero__author strong,
body.single-post .article-hero__author span {
  display: block;
}

body.single-post .article-hero__author strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
}

body.single-post .article-hero__author span,
body.single-post .article-hero__details {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

body.single-post .article-hero__details {
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 16px;
}

body.single-post .article-hero__media {
  min-width: 0;
  margin: 0;
}

body.single-post .article-hero__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

body.single-post .article-hero__media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

body.single-post .post-section {
  padding-block: clamp(48px, 6vw, 84px);
}

body.single-post .post-layout {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 0;
}

body.single-post .post-main {
  max-width: 1000px;
  width: 100%;
  margin-inline: auto;
}

body.single-post .post-body {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.2vw, 1.18rem);
  line-height: 1.95;
  text-align: center;
}

body.single-post .post-body p {
  margin-block: 0 1.55em;
}

body.single-post .post-body p.lead {
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 1.5vw, 1.38rem);
  font-weight: 700;
  line-height: 1.85;
}

body.single-post .post-body h2 {
  position: relative;
  margin-block: 2.15em 0.8em;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 2.55vw, 2.25rem);
  font-weight: 800;
  line-height: 1.4;
  scroll-margin-top: calc(var(--header) + 28px);
  text-align: center;
}

body.single-post .post-body h2::after {
  display: block;
  width: 38px;
  height: 4px;
  margin-top: 12px;
  background: var(--orange);
  content: "";
}

body.single-post .post-body h3 {
  margin-block: 1.7em 0.6em;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.7vw, 1.48rem);
  line-height: 1.5;
  scroll-margin-top: calc(var(--header) + 28px);
  text-align: center;
}

body.single-post .post-body a {
  color: var(--orange-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.single-post .post-body blockquote {
  margin-block: 2.5em;
  padding: 28px 32px;
  border: 0;
  border-inline-start: 2px solid var(--orange);
  border-radius: 0;
  background: var(--soft);
}

body.single-post .post-body blockquote::before {
  color: var(--orange-soft);
}

body.single-post .post-body blockquote cite {
  color: var(--orange-text);
  text-align: center;
}

body.single-post .post-callout {
  padding: 24px 28px;
  border: 0;
  border-inline-start: 2px solid var(--orange);
  border-radius: 0;
  background: var(--soft);
  box-shadow: none;
}

body.single-post .post-callout__title {
  color: var(--orange-text);
  justify-content: center;
  text-align: center;
}

body.single-post .key-takeaways {
  padding: 26px 28px;
  border: 0;
  border-radius: 0;
  background: var(--soft);
  box-shadow: none;
}

body.single-post .post-body ul,
body.single-post .post-body ol {
  align-items: center;
}

body.single-post .post-body ul li,
body.single-post .post-body ol li {
  padding-inline-start: 0;
  text-align: center;
}

body.single-post .post-body ul li::before,
body.single-post .post-body ol li::before {
  position: static;
  margin-inline-end: 0.55em;
  vertical-align: middle;
}

body.single-post .post-body img {
  margin-inline: auto;
  border-radius: 0;
  box-shadow: none;
}

body.single-post .post-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

body.single-post .post-body pre {
  max-width: 100%;
  overflow-x: auto;
}

body.single-post .post-tags {
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
  padding-block: 20px;
  border: 0;
  text-align: center;
}

body.single-post .post-tags__label {
  font-size: 0.95rem;
}

body.single-post .post-tags__list {
  justify-content: center;
  gap: 7px 12px;
}

body.single-post .post-tag {
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

body.single-post .post-tag:hover {
  background: transparent;
  color: var(--orange-text);
  box-shadow: none;
}

body.single-post .post-share-banner {
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.single-post .post-share-banner__text strong {
  font-size: 1rem;
}

body.single-post .post-share-banner__buttons {
  justify-content: center;
  gap: 8px;
}

body.single-post .post-share-banner .share-btn {
  min-width: 42px;
  min-height: 42px;
  padding: 8px 10px;
  border: 0;
  border-radius: 2px;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.88rem;
}

body.single-post .post-share-banner .share-btn--wa:hover,
body.single-post .post-share-banner .share-btn--in:hover,
body.single-post .post-share-banner .share-btn--tw:hover,
body.single-post .post-share-banner .share-btn--copy:hover {
  background: var(--ink);
  color: var(--bg);
  box-shadow: none;
}

body.single-post .post-author-box {
  text-align: center;
  margin-top: 40px;
  padding: 28px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.single-post .post-author-box__inner {
  align-items: center;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}

body.single-post .post-author-box__avatar {
  width: 76px;
  height: 76px;
  border: 0;
}

body.single-post .post-author-box__content {
  align-items: center;
  gap: 6px;
}

body.single-post .post-author-box__name {
  font-size: 1.2rem;
}

body.single-post .post-author-box__badges {
  justify-content: center;
  gap: 5px;
  margin: 0;
}

body.single-post .post-author-box__badges span {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
}

body.single-post .post-author-box__bio {
  margin: 2px 0 8px;
  font-size: 1rem;
}

body.single-post .post-author-box .btn--whatsapp {
  border: 0;
  border-radius: 2px;
  background: #25d366;
  color: #073b1c;
  box-shadow: none;
}

body.single-post .blog-cta__actions .btn--whatsapp {
  color: #073b1c;
}

body.single-post .blog-cta__grid {
  align-items: center;
  width: 100%;
  max-width: 1000px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: #f6f8fc;
  color: #111633;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

body.single-post .blog-cta__content {
  max-width: 70ch;
  margin-inline: auto;
}

body.single-post .blog-cta__title {
  color: #111633;
}

body.single-post .blog-cta__lead {
  color: #454c6b;
}

body.single-post .blog-cta__actions {
  justify-content: center;
}

body.single-post .blog-cta__actions .btn--primary {
  border-color: var(--orange-deep);
  background: var(--orange-deep);
  color: #fff;
}

body.single-post .post-nav {
  justify-items: center;
  gap: 24px;
  text-align: center;
}

body.single-post .post-nav__card {
  align-items: center;
  text-align: center;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.single-post .post-nav__card:hover {
  transform: none;
  box-shadow: none;
}

body.single-post .related-posts {
  background: var(--bg);
}

body.single-post .related-posts__header {
  margin-bottom: clamp(26px, 4vw, 42px);
  text-align: center;
}

body.single-post .related-posts__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 42px);
}

body.single-post .related-card {
  min-width: 0;
}

body.single-post .related-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}

body.single-post .related-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

body.single-post .related-card__media:hover img {
  transform: scale(1.025);
}

body.single-post .related-card__body {
  padding-top: 16px;
}

body.single-post .related-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  justify-content: center;
  text-align: center;
}

body.single-post .related-card__meta span {
  color: var(--orange-text);
  font-weight: 700;
}

body.single-post .related-card__title {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.55;
}

body.single-post .related-card__title a {
  color: inherit;
  text-decoration: none;
}

body.single-post .related-card__title a:hover {
  color: var(--orange-text);
}

@media (max-width: 1024px) {
  body.single-post .post-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.single-post .related-posts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.single-post .blog-cta__grid {
    padding: 26px 20px;
  }

  body.single-post .blog-cta__actions {
    width: min(100%, 320px);
    flex-direction: column;
  }

  body.single-post .blog-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }

  body.single-post .article-hero {
    padding-block: 22px 40px;
  }

  body.single-post .article-hero .crumbs {
    gap: 7px;
    margin-bottom: 28px;
    font-size: 0.84rem;
  }

  body.single-post .article-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  body.single-post .article-hero__category {
    font-size: 0.95rem;
  }

  body.single-post .article-hero__title {
    max-width: none;
    font-size: clamp(1.85rem, 7.4vw, 2.25rem);
    line-height: 1.38;
  }

  body.single-post .article-hero__lead {
    margin-top: 16px;
    font-size: 1.05rem;
    line-height: 1.8;
  }

  body.single-post .article-hero__meta {
    align-items: center;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
  }

  body.single-post .article-hero__author img {
    width: 42px;
    height: 42px;
  }

  body.single-post .article-hero__media {
    margin-inline: calc(var(--gutter) * -1);
  }

  body.single-post .article-hero__image {
    aspect-ratio: 4 / 3;
  }

  body.single-post .article-hero__media figcaption {
    padding-inline: var(--gutter);
  }

  body.single-post .post-section {
    padding-block: 38px 54px;
  }

  body.single-post .post-body {
    font-size: 1.08rem;
    line-height: 1.9;
  }

  body.single-post .post-body h2 {
    margin-block: 1.9em 0.7em;
    font-size: 1.6rem;
  }

  body.single-post .post-body h3 {
    font-size: 1.25rem;
  }

  body.single-post .post-body blockquote {
    margin-inline: 0;
    padding: 22px 22px;
  }

  body.single-post .post-share-banner {
    align-items: center;
    flex-direction: column;
    gap: 12px;
  }

  body.single-post .post-share-banner__buttons {
    flex-wrap: wrap;
  }

  body.single-post .post-share-banner .share-btn {
    min-width: 42px;
    padding-inline: 9px;
  }

  body.single-post .post-author-box__inner {
    align-items: center;
    gap: 14px;
  }

  body.single-post .post-author-box__avatar {
    width: 56px;
    height: 56px;
  }

  body.single-post .post-author-box__badges {
    flex-wrap: wrap;
  }

  body.single-post .post-nav {
    gap: 12px;
  }

  body.single-post .related-posts__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-post .related-card__media img {
    transition: none;
  }
}
