:root {
  --accent: #719848;
  --accent-rgb: 113, 152, 72;
  --ink: #080808;
  --charcoal: #151515;
  --muted: #6b6b6b;
  --paper: #f6f6f2;
  --paper-2: #eeeeea;
  --paper-3: #e3e3df;
  --white: #fff;
  --dark: #050505;
  --dark-2: #0c0c0c;
  --max: 1180px;
  --radius: 8px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", "Tajawal", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.is-ar {
  font-family: "Tajawal", "DM Sans", system-ui, sans-serif;
}
body.theme-dark {
  color: var(--white);
  background: var(--dark);
  color-scheme: dark;
}
html.theme-dark body {
  color: var(--white);
  background: var(--dark);
  color-scheme: dark;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), .7);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  z-index: 120;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--white);
  font-weight: 900;
  transform: translateY(-140%);
  transition: transform .22s var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 99;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--accent);
}
body.is-ar .progress { transform-origin: right; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(246,246,242,.86);
  border-bottom: 1px solid rgba(8,8,8,.08);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand img { width: 148px; height: auto; aspect-ratio: 1876 / 565; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: rgba(8,8,8,.66);
  font-size: 13px;
  font-weight: 800;
}
.nav-links a {
  padding: 10px 0;
  line-height: 1;
}
body.is-ar .nav-links { text-align: right; }
.nav-links a[aria-current="page"],
.nav-links a:hover { color: var(--ink); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
body.theme-dark .site-header {
  background: rgba(5,5,5,.84);
  border-bottom-color: rgba(255,255,255,.1);
}
html.theme-dark .site-header {
  background: rgba(5,5,5,.84);
  border-bottom-color: rgba(255,255,255,.1);
}
body.theme-dark .nav-links,
html.theme-dark .nav-links { color: rgba(255,255,255,.68); }
body.theme-dark .nav-links a[aria-current="page"],
body.theme-dark .nav-links a:hover,
html.theme-dark .nav-links a[aria-current="page"],
html.theme-dark .nav-links a:hover { color: var(--white); }
.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(8,8,8,.12);
  border-radius: 999px;
  padding: 2px;
  background: var(--white);
}
.lang-switch button {
  border: 0;
  min-width: 30px;
  padding: 6px 7px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
  font-size: 11px;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}
body.theme-dark .lang-switch {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
body.theme-dark .lang-switch button { color: rgba(255,255,255,.62); }
body.theme-dark .lang-switch button[aria-pressed="true"] {
  background: var(--white);
  color: var(--dark);
}
.theme-toggle {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(8,8,8,.12);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 0;
  transition: transform .24s var(--ease), background .24s var(--ease);
}
.theme-toggle:hover { transform: translateY(-2px); }
.theme-toggle::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -5px -3px 0 0 var(--white);
}
body.theme-dark .theme-toggle {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--white);
}
body.theme-dark .theme-toggle::before {
  background: transparent;
  border: 2px solid currentColor;
  box-shadow: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition: transform .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--accent); color: var(--white); }
.btn.ghost { border-color: rgba(8,8,8,.16); color: var(--ink); background: rgba(255,255,255,.68); }
.btn.dark { background: var(--ink); color: var(--white); }
.btn.small { min-height: 42px; padding: 0 14px; }
.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(8,8,8,.12);
  border-radius: 50%;
  background: var(--white);
  place-items: center;
  gap: 0;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform .24s var(--ease), opacity .24s var(--ease);
}
.menu-toggle span:nth-child(1) { transform: translateY(-5px); }
.menu-toggle span:nth-child(3) { transform: translateY(5px); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }
body.theme-dark .menu-toggle {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
body.theme-dark .menu-toggle span { background: var(--white); }

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding: clamp(58px, 8vw, 116px) 0 72px;
  background:
    linear-gradient(110deg, rgba(5,5,5,.92), rgba(5,5,5,.78) 48%, rgba(5,5,5,.2)),
    var(--hero-image, url("images/generated/system-texture-small.jpg")),
    var(--dark);
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .62fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
}
h1, h2, h3, p { margin: 0; }
h1 {
  max-width: 920px;
  font-size: clamp(56px, 8vw, 116px);
  line-height: .92;
  letter-spacing: 0;
}
h2 {
  font-size: clamp(38px, 5.8vw, 82px);
  line-height: .96;
  letter-spacing: 0;
}
h3 {
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.05;
}
.lead {
  max-width: 720px;
  color: rgba(255,255,255,.76);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  margin-top: 22px;
}
.hero .cta-row { margin-top: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-panel {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255,255,255,.075);
  box-shadow: 0 28px 90px rgba(0,0,0,.28);
}
.hero-panel img {
  width: 100%;
  aspect-ratio: 1 / .74;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.hero-panel strong {
  display: block;
  color: var(--white);
  font-size: 25px;
  line-height: 1.08;
}
.hero-panel p { color: rgba(255,255,255,.68); margin-top: 10px; line-height: 1.6; }

@media (min-width: 961px) {
  .hero h1 {
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1.02;
  }
  body.is-ar .hero h1 {
    line-height: 1.08;
  }
  .hero .lead {
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.5;
  }
  .hero .cta-row {
    margin-top: 26px;
  }
}

.section { padding: clamp(76px, 10vw, 140px) 0; }
.section.dark { background: var(--dark); color: var(--white); }
.section.soft { background: var(--paper-2); }
.section-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .52fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 42px;
}
.section-intro p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.dark .section-intro p,
.dark .card p,
.dark .split-panel p { color: rgba(255,255,255,.7); }
.kicker {
  display: block;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 14px;
}
body.is-ar .kicker { letter-spacing: 0; }
.grid {
  display: grid;
  gap: 14px;
}
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  min-height: 100%;
  border: 1px solid rgba(8,8,8,.11);
  border-radius: var(--radius);
  background: rgba(255,255,255,.66);
  padding: 24px;
  display: grid;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform .24s var(--ease), border-color .24s var(--ease);
}
.dark .card {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.055);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--accent-rgb), .48);
}
.card p {
  color: var(--muted);
  line-height: 1.65;
}
.card .meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(8,8,8,.1);
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}
.dark .card .meta { border-top-color: rgba(255,255,255,.12); color: rgba(255,255,255,.64); }
.split {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(320px, .58fr);
  gap: 14px;
  align-items: stretch;
}
.split-panel {
  border: 1px solid rgba(8,8,8,.11);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 46px);
  background: rgba(255,255,255,.68);
  display: grid;
  gap: 24px;
}
.dark .split-panel {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.055);
}
.media-panel {
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(8,8,8,.11);
  background: var(--dark);
}
.media-panel img { width: 100%; height: 100%; object-fit: cover; }
.dark .media-panel { border-color: rgba(255,255,255,.13); }
.timeline {
  display: grid;
  gap: 10px;
}
.timeline article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(8,8,8,.11);
  border-radius: var(--radius);
  background: rgba(255,255,255,.58);
}
.dark .timeline article {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.055);
}
.timeline span { color: var(--accent); font-weight: 900; }
.timeline p { color: var(--muted); line-height: 1.6; }
.dark .timeline p { color: rgba(255,255,255,.68); }

.feature-callout {
  padding: clamp(44px, 6vw, 72px);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(5,5,5,.94), rgba(5,5,5,.78)),
    url("images/generated/growth-diagnosis-workspace-small.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.feature-callout .lead { max-width: 760px; }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.faq-item {
  border: 1px solid rgba(8,8,8,.11);
  border-radius: var(--radius);
  background: rgba(255,255,255,.68);
  padding: 20px 22px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.12;
  font-weight: 900;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 900;
  margin-inline-start: 14px;
}
.faq-item[open] summary::after { content: "-"; }
.faq-item p {
  color: var(--muted);
  line-height: 1.65;
  margin-top: 14px;
}
body.theme-dark .faq-item,
.dark .faq-item {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.055);
}
body.theme-dark .faq-item p,
.dark .faq-item p { color: rgba(255,255,255,.68); }

.i18n-ar { display: none; }
body.is-ar .i18n-en { display: none; }
body.is-ar .i18n-ar { display: inline; }

.pathway-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(320px, .5fr);
  gap: 14px;
  align-items: stretch;
}
.pathway-panel,
.pathway-link {
  border: 1px solid rgba(8,8,8,.11);
  border-radius: var(--radius);
  background: rgba(255,255,255,.7);
}
.pathway-panel {
  min-height: 100%;
  padding: clamp(26px, 4vw, 46px);
}
.pathway-panel h2 {
  margin: 12px 0 14px;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: .96;
  max-width: 840px;
}
.pathway-panel p {
  max-width: 690px;
  color: rgba(8,8,8,.66);
  margin: 0;
}
.pathway-links {
  display: grid;
  gap: 10px;
}
.pathway-link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  min-height: 118px;
  padding: 18px;
  transition: transform .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
}
.pathway-link:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), .42);
  background: rgba(255,255,255,.9);
}
.pathway-link > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), .14);
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}
.pathway-link strong {
  align-self: center;
  font-size: 17px;
}
.pathway-link p {
  grid-column: 2;
  margin: -2px 0 0;
  color: rgba(8,8,8,.62);
  line-height: 1.65;
}
body.theme-dark .pathway-panel,
body.theme-dark .pathway-link,
.dark .pathway-panel,
.dark .pathway-link {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.055);
}
body.theme-dark .pathway-panel p,
body.theme-dark .pathway-link p,
.dark .pathway-panel p,
.dark .pathway-link p { color: rgba(255,255,255,.68); }
body.theme-dark .pathway-link:hover,
.dark .pathway-link:hover {
  border-color: rgba(var(--accent-rgb), .5);
  background: rgba(255,255,255,.08);
}

.industry-hero {
  min-height: 72vh;
  background:
    linear-gradient(90deg, rgba(5,5,5,.98), rgba(5,5,5,.76) 46%, rgba(5,5,5,.16)),
    url("images/generated/conversion-path-map-small.jpg"),
    #050505;
  background-size: cover;
  background-position: center right;
}
body.is-ar .industry-hero {
  background:
    linear-gradient(270deg, rgba(5,5,5,.98), rgba(5,5,5,.76) 46%, rgba(5,5,5,.16)),
    url("images/generated/martgain-premium-growth-engine-small-rtl.jpg"),
    #050505;
  background-size: cover;
  background-position: center left;
}
.industry-map {
  background: #050505;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.industry-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: .46;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  pointer-events: none;
}
.industry-map .container {
  position: relative;
  z-index: 1;
}
.industry-board {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(300px, .48fr);
  gap: 14px;
  align-items: stretch;
}
.industry-panel,
.industry-artifact {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  padding: clamp(26px, 4vw, 48px);
}
.industry-panel h2 {
  font-size: clamp(38px, 5.5vw, 74px);
  line-height: 1;
}
.industry-panel p,
.industry-artifact p {
  color: rgba(255,255,255,.72);
  line-height: 1.72;
}
.industry-steps {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.industry-steps div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  padding: 16px;
}
.industry-steps span {
  color: var(--accent);
  font-weight: 900;
}
.industry-sample {
  min-height: 340px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.13);
  background:
    linear-gradient(180deg, rgba(5,5,5,.02), rgba(5,5,5,.66)),
    url("images/generated/growth-diagnosis-workspace-small.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}
.industry-sample::after {
  content: "";
  position: absolute;
  inset-inline: 12%;
  top: 48%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 30px rgba(var(--accent-rgb), .72);
  animation: industrySignal 4.8s linear infinite;
}
body.is-ar .industry-sample::after {
  animation-direction: reverse;
}
.sample-label {
  display: inline-flex;
  max-width: 100%;
  border: 1px solid rgba(var(--accent-rgb), .45);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--accent);
  background: rgba(var(--accent-rgb), .1);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}
.industry-service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.industry-service-list a {
  border: 1px solid rgba(8,8,8,.11);
  border-radius: var(--radius);
  background: rgba(255,255,255,.7);
  padding: 18px;
  display: grid;
  gap: 8px;
  font-weight: 900;
  transition: transform .24s var(--ease), border-color .24s var(--ease);
}
.industry-service-list a:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), .5);
}
.industry-service-list span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}
body.theme-dark .industry-service-list a,
.dark .industry-service-list a {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.055);
}
@keyframes industrySignal {
  from { transform: translateX(-16%); }
  to { transform: translateX(16%); }
}

footer {
  background: var(--dark);
  color: var(--white);
  padding: 38px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 28px;
  align-items: center;
}
footer img { width: 142px; height: auto; aspect-ratio: 1876 / 565; margin-bottom: 12px; }
footer p { color: rgba(255,255,255,.68); }
.footer-trust-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 8px 18px;
}
.footer-trust-links a {
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 800;
  transition: color .22s var(--ease), transform .22s var(--ease);
}
.footer-trust-links a:hover,
.footer-trust-links a:focus-visible {
  color: var(--accent);
  transform: translateX(3px);
}
body.is-ar .footer-trust-links a:hover,
body.is-ar .footer-trust-links a:focus-visible {
  transform: translateX(-3px);
}
.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: end;
}
.social-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.045);
}
.social-icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}
.floating-whatsapp {
  position: fixed;
  z-index: 90;
  inset-inline-end: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(var(--accent-rgb), .32);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}
.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(var(--accent-rgb), .42);
}
.floating-whatsapp svg { width: 27px; height: 27px; fill: currentColor; }
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .nav-links {
    position: absolute;
    inset-inline: 20px;
    inset-block-start: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(246,246,242,.995);
    border: 1px solid rgba(8,8,8,.1);
    border-radius: var(--radius);
    box-shadow: 0 28px 90px rgba(0,0,0,.24);
    max-height: calc(100svh - 96px);
    overflow: auto;
    backdrop-filter: blur(20px);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    padding: 15px 14px;
    border-radius: var(--radius);
    border-bottom: 1px solid rgba(8,8,8,.07);
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a[aria-current="page"],
  .nav-links a:hover { background: rgba(var(--accent-rgb), .1); }
  body.theme-dark .nav-links {
    background: rgba(5,5,5,.985);
    border-color: rgba(255,255,255,.14);
    box-shadow: 0 28px 90px rgba(0,0,0,.64);
  }
  body.theme-dark .nav-links a { border-bottom-color: rgba(255,255,255,.08); }
  .nav-actions .btn { display: none; }
  .hero-grid, .section-intro, .split, .footer-grid, .pathway-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .cols-4, .cols-3, .cols-2 { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .container { width: min(var(--max), calc(100% - 28px)); }
  .brand img { width: 126px; }
  .nav { min-height: 70px; gap: 10px; }
  .nav-actions { gap: 7px; }
  .nav-links { inset-block-start: 70px; inset-inline: 14px; }
  .theme-toggle,
  .menu-toggle { width: 36px; height: 36px; }
  .lang-switch button { min-width: 30px; padding: 7px; font-size: 11px; }
  .footer-trust-links { grid-template-columns: 1fr; }
  .socials { justify-content: start; }
  h1 { font-size: clamp(40px, 12vw, 54px); line-height: 1; overflow-wrap: anywhere; }
  h2 { font-size: clamp(33px, 10vw, 44px); }
  .hero { padding-top: 54px; }
  .hero-panel { display: none; }
  .cols-4, .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .pathway-link {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .pathway-link p { grid-column: auto; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; white-space: normal; text-align: center; }
  .media-panel { min-height: 280px; }
  .industry-board,
  .industry-service-list { grid-template-columns: 1fr; }
  .industry-steps div { grid-template-columns: 1fr; }
  .industry-sample { min-height: 260px; }
  .timeline article { grid-template-columns: 52px 1fr; }
  .socials { justify-content: start; }
  .floating-whatsapp { width: 52px; height: 52px; bottom: calc(14px + env(safe-area-inset-bottom)); inset-inline-end: 14px; }
}
