:root {
  --navy-950: #04101a;
  --navy-900: #071827;
  --navy-850: #091e30;
  --navy-800: #0c253a;
  --navy-750: #12324b;
  --gold: #f2b94b;
  --gold-light: #ffd77e;
  --accent-text: #f2b94b;
  --focus-ring: #ffd77e;
  --text: #f8fbff;
  --text-soft: #d5e0ea;
  --muted: #9fb0bf;
  --line: rgba(170, 203, 226, .18);
  --panel: rgba(9, 29, 45, .88);
  --panel-solid: #0a2032;
  --shadow: 0 24px 70px rgba(0, 0, 0, .42);
  --shell: 1440px;
  --header-height: 76px;
  color-scheme: dark;
}

html[data-theme="light"] {
  --navy-950: #edf3f6;
  --navy-900: #f8fbfc;
  --navy-850: #e5eef2;
  --navy-800: #dce9ee;
  --navy-750: #c5d9e2;
  --text: #102836;
  --text-soft: #294653;
  --muted: #5d7480;
  --line: rgba(34, 81, 104, .18);
  --panel: rgba(248, 252, 253, .9);
  --panel-solid: #f7fbfc;
  --shadow: 0 24px 70px rgba(27, 71, 91, .16);
  --accent-text: #7a5200;
  --focus-ring: #7a5200;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--navy-950);
  color: var(--text);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  transition: background-color .2s ease, color .2s ease;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.shell {
  width: min(var(--shell), calc(100% - 56px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  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;
  z-index: 200;
  top: -70px;
  inset-inline-start: 18px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold);
  color: #142131;
  font-weight: 800;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--navy-900) 90%, transparent);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .14);
  backdrop-filter: blur(18px);
}

.header-inner {
  direction: ltr;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
}

.monogram {
  display: inline-flex;
  direction: ltr;
  align-items: baseline;
  color: var(--text);
  font: 52px/.78 Georgia, "Times New Roman", serif;
  letter-spacing: -8px;
}

.monogram em {
  color: var(--accent-text);
  font-style: normal;
}

.brand-copy {
  display: grid;
  line-height: 1.18;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: .01em;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-copy > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  direction: rtl;
  display: flex;
  justify-content: center;
  align-items: stretch;
  align-self: stretch;
  gap: clamp(15px, 2vw, 34px);
}

[dir="ltr"] .desktop-nav,
[dir="ltr"] .mobile-nav,
[dir="ltr"] .stats-panel,
[dir="ltr"] .tools-toolbar,
[dir="ltr"] .tool-grid,
[dir="ltr"] .contact-grid {
  direction: ltr;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--accent-text);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.round-button,
.language-toggle,
.menu-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(12, 37, 58, .56);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

html[data-theme="light"] .round-button,
html[data-theme="light"] .language-toggle,
html[data-theme="light"] .menu-toggle {
  background: rgba(255, 255, 255, .75);
}

.round-button:hover,
.language-toggle:hover,
.menu-toggle:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
}

.round-button svg {
  width: 21px;
  height: 21px;
}

.sun-icon {
  display: none;
}

html[data-theme="light"] .moon-icon {
  display: none;
}

html[data-theme="light"] .sun-icon {
  display: block;
}

.language-toggle {
  border-radius: 12px;
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 900;
}

.contact-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid var(--accent-text);
  border-radius: 999px;
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}

.contact-button:hover {
  background: var(--gold);
  color: #122033;
}

.contact-button svg {
  width: 18px;
  height: 18px;
}

/* Floating WhatsApp contact and back-to-top controls */
.floating-contact {
  position: fixed;
  z-index: 1200;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  display: flex;
  direction: ltr;
  align-items: center;
  gap: 10px;
  filter: drop-shadow(0 12px 24px rgba(1, 18, 38, .22));
}

.floating-contact__top,
.floating-contact__whatsapp {
  border: 0;
  min-height: 52px;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease, visibility .2s ease;
}

.floating-contact__top {
  width: 52px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #062744;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.9);
  box-shadow: 0 8px 22px rgba(1, 27, 51, .24);
}

.floating-contact__top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.floating-contact__whatsapp {
  display: inline-flex;
  direction: rtl;
  align-items: center;
  gap: 9px;
  min-width: 142px;
  padding: 0 20px;
  border-radius: 999px;
  background: #20cf63;
  box-shadow: 0 9px 24px rgba(32, 207, 99, .28);
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

[dir="ltr"] .floating-contact__whatsapp { direction: ltr; }
.floating-contact svg { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.floating-contact__whatsapp svg { width: 22px; height: 22px; }
.floating-contact__whatsapp svg path:first-child { fill: none; }
.floating-contact__whatsapp svg path:last-child { fill: currentColor; stroke: none; }
.floating-contact__top:hover,
.floating-contact__top:focus-visible,
.floating-contact__whatsapp:hover,
.floating-contact__whatsapp:focus-visible { transform: translateY(-2px); }
.floating-contact__top:focus-visible,
.floating-contact__whatsapp:focus-visible { outline: 3px solid rgba(255, 255, 255, .95); outline-offset: 3px; }

@media (max-width: 640px) {
  .floating-contact {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    gap: 8px;
  }
  .floating-contact__top { width: 46px; min-height: 46px; }
  .floating-contact__whatsapp { min-width: 0; min-height: 46px; padding: 0 16px; font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .floating-contact__top,
  .floating-contact__whatsapp { transition: none; }
}

.menu-toggle {
  display: none;
  align-content: center;
  gap: 4px;
  border-radius: 12px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 3px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  direction: rtl;
  position: absolute;
  z-index: 99;
  top: 100%;
  right: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  align-content: start;
  gap: 5px;
  padding: 24px 24px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--line);
  background: var(--navy-950);
  box-shadow: 0 28px 60px rgba(0, 0, 0, .32);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  display: block;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-weight: 800;
}

.mobile-nav-utilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.mobile-theme-button,
.mobile-nav .mobile-whatsapp-button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 37, 58, .56);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
}

html[data-theme="light"] .mobile-theme-button,
html[data-theme="light"] .mobile-nav .mobile-whatsapp-button {
  background: rgba(255, 255, 255, .78);
}

.mobile-theme-button:hover,
.mobile-theme-button:focus-visible {
  border-color: var(--accent-text);
  color: var(--accent-text);
}

.mobile-nav .mobile-whatsapp-button {
  border-color: #35d07f;
  color: #78e7aa;
}

html[data-theme="light"] .mobile-nav .mobile-whatsapp-button {
  border-color: #0b7040;
  color: #0b7040;
}

.mobile-theme-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 35%, rgba(28, 92, 132, .24), transparent 35%),
    linear-gradient(100deg, var(--navy-900) 0%, var(--navy-900) 48%, #0a1721 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 auto 0 0;
  width: 48%;
  background: url("assets/office-bg.jpg?v=13") center/cover no-repeat;
  opacity: .7;
  filter: saturate(.82) contrast(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(270deg, var(--navy-900) 0%, rgba(7, 24, 39, .97) 39%, rgba(7, 24, 39, .44) 70%, rgba(4, 13, 21, .38) 100%);
  pointer-events: none;
}

html[data-theme="light"] .hero::after {
  background: linear-gradient(270deg, var(--navy-900) 0%, rgba(248, 251, 252, .94) 42%, rgba(237, 243, 246, .45) 76%, rgba(232, 241, 245, .58) 100%);
}

[dir="ltr"] .hero::before {
  inset: 0 0 0 auto;
}

[dir="ltr"] .hero::after {
  background: linear-gradient(90deg, var(--navy-900) 0%, rgba(7, 24, 39, .97) 39%, rgba(7, 24, 39, .44) 70%, rgba(4, 13, 21, .38) 100%);
}

html[data-theme="light"][dir="ltr"] .hero::after {
  background: linear-gradient(90deg, var(--navy-900) 0%, rgba(248, 251, 252, .94) 42%, rgba(237, 243, 246, .45) 76%, rgba(232, 241, 245, .58) 100%);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: 10%;
  left: 36%;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(242, 185, 75, .08);
  filter: blur(90px);
}

.hero-grid {
  direction: ltr;
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(400px, 1.08fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "visual intro"
    "visual details";
  align-items: center;
  column-gap: 20px;
  padding-top: 38px;
}

.hero-intro {
  grid-area: intro;
  align-self: end;
  direction: rtl;
}

.hero-intro .eyebrow {
  text-align: right;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .05em;
}

.hero h1 {
  direction: ltr;
  margin: 0;
  color: #fff;
  font-size: clamp(54px, 6vw, 88px);
  line-height: .98;
  letter-spacing: -.055em;
  text-align: right;
  text-shadow: 0 12px 35px rgba(0, 0, 0, .38);
}

html[data-theme="light"] .hero h1 {
  color: #102836;
  text-shadow: none;
}

.role {
  direction: rtl;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 9px;
  margin: 9px 0 0;
  color: var(--text-soft);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.35;
}

.role i {
  color: var(--accent-text);
  font-style: normal;
}

.gold-line,
.heading-line {
  display: block;
  width: 78px;
  height: 4px;
  margin: 20px 0 0 auto;
  border-radius: 999px;
  background: var(--gold);
}

.hero-details {
  grid-area: details;
  align-self: start;
  direction: rtl;
  padding: 18px 0 100px;
}

[dir="ltr"] .hero-grid {
  grid-template-areas:
    "intro visual"
    "details visual";
}

[dir="ltr"] .hero-intro,
[dir="ltr"] .hero-details {
  direction: ltr;
}

[dir="ltr"] .role {
  direction: ltr;
}

[dir="ltr"] .hero-intro .eyebrow,
[dir="ltr"] .hero h1,
[dir="ltr"] .role {
  text-align: left;
}

[dir="ltr"] .gold-line {
  margin: 20px auto 0 0;
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 2;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 640px;
  margin: 21px 0;
}

.pillar {
  position: relative;
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 96px;
  padding: 4px 10px;
  text-align: center;
}

.pillar:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 1px;
  background: var(--line);
}

[dir="ltr"] .pillar:not(:last-child)::after {
  right: 0;
  left: auto;
}

.pillar svg {
  width: 32px;
  height: 32px;
  color: var(--accent-text);
  stroke-width: 1.7;
}

.pillar strong {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 23px;
  border: 1px solid var(--accent-text);
  border-radius: 13px;
  font-size: 14px;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.primary-cta {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #142131;
  box-shadow: 0 12px 28px rgba(242, 185, 75, .18);
}

.secondary-cta {
  color: var(--accent-text);
  background: rgba(7, 24, 39, .45);
}

html[data-theme="light"] .secondary-cta {
  background: rgba(255, 255, 255, .56);
  color: #79520e;
}

.primary-cta:hover,
.secondary-cta:hover {
  transform: translateY(-2px);
}

.secondary-cta:hover {
  background: var(--gold);
  color: #142131;
}

.primary-cta svg,
.secondary-cta svg,
.text-link svg {
  width: 19px;
  height: 19px;
}

[dir="rtl"] .primary-cta svg,
[dir="rtl"] .secondary-cta svg,
[dir="rtl"] .text-link svg {
  transform: scaleX(-1);
}

blockquote {
  width: max-content;
  max-width: 100%;
  margin: 20px 0 0 auto;
  color: var(--text-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.45;
  text-align: center;
  transform: rotate(-2deg);
}

[dir="ltr"] blockquote {
  margin: 20px auto 0 0;
}

blockquote span,
blockquote cite {
  display: block;
}

blockquote cite {
  margin-top: 5px;
  color: var(--accent-text);
  font-size: 16px;
}

.hero-visual {
  grid-area: visual;
  position: relative;
  align-self: stretch;
  min-height: 660px;
}

.portrait-halo {
  position: absolute;
  z-index: 0;
  right: 12%;
  bottom: 3%;
  width: 62%;
  height: 74%;
  border-radius: 50% 50% 22% 22%;
  background: radial-gradient(circle at 50% 42%, rgba(191, 212, 225, .18), rgba(5, 17, 27, .08) 63%, transparent 72%);
  filter: blur(10px);
}

.portrait {
  position: absolute;
  z-index: 2;
  right: 0;
  left: auto;
  bottom: 0;
  display: block;
  width: 78%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: drop-shadow(0 26px 28px rgba(0, 0, 0, .38));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 84%, transparent 100%);
}

[dir="ltr"] .portrait {
  right: auto;
  left: 0;
}

.hero-visual.image-missing .portrait {
  display: none;
}

.portrait-hashtag {
  position: absolute;
  z-index: 4;
  right: auto;
  left: 6%;
  bottom: 18px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
}

[dir="ltr"] .portrait-hashtag {
  right: 6%;
  left: auto;
}

.stats-wrap {
  position: relative;
  z-index: 10;
  margin-top: -45px;
}

.stats-panel {
  direction: rtl;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(116, 166, 202, .28);
  border-radius: 18px;
  background: color-mix(in srgb, var(--panel-solid) 92%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.stat {
  display: flex;
  min-width: 0;
  min-height: 94px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 14px 16px;
  border-inline-end: 1px solid var(--line);
}

.stat:last-child {
  border-inline-end: 0;
}

.stat-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #153f65, #102a45);
  color: #58a0ff;
  box-shadow: inset 0 0 0 1px rgba(113, 180, 255, .13);
}

.stat-icon svg {
  width: 26px;
  height: 26px;
}

.stat > span:last-child {
  display: grid;
  min-width: 0;
}

.stat strong {
  color: var(--text);
  font-size: 17px;
  line-height: 1.35;
}

.stat small {
  color: var(--muted);
  font-size: 12px;
  white-space: normal;
}

.section {
  padding: 88px 0;
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .heading-line {
  margin: 14px auto 0;
}

.section-heading h2,
.spotlight-copy h2,
.about-grid h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
}

.section-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.tools-section {
  padding-top: 78px;
  background:
    radial-gradient(circle at 50% 0, rgba(31, 87, 124, .18), transparent 38%),
    var(--navy-950);
}

.tools-toolbar {
  direction: rtl;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.all-tools-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(8, 28, 44, .62);
  cursor: pointer;
}

html[data-theme="light"] .all-tools-button {
  background: rgba(255, 255, 255, .64);
}

.all-tools-button svg {
  width: 19px;
  height: 19px;
}

.tool-search {
  position: relative;
  display: block;
  width: min(320px, 100%);
}

.tool-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 45px 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: 0;
  background: rgba(8, 28, 44, .62);
  color: var(--text);
  font-size: 14px;
}

html[data-theme="light"] .tool-search input {
  background: rgba(255, 255, 255, .72);
}

.tool-search input::placeholder {
  color: var(--muted);
}

.tool-search input:focus {
  border-color: var(--accent-text);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-text) 18%, transparent);
}

.tool-search > svg {
  position: absolute;
  top: 13px;
  right: 16px;
  width: 20px;
  height: 20px;
  color: var(--text-soft);
  pointer-events: none;
}

.tool-grid {
  direction: rtl;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tool-card {
  --tool-color: #f2b94b;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid rgba(116, 166, 202, .23);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(16, 47, 72, .88), rgba(7, 25, 40, .92));
  box-shadow: 0 14px 38px rgba(0, 0, 0, .12);
  transition: transform .2s ease, border-color .2s ease;
}

html[data-theme="light"] .tool-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(230, 241, 245, .96));
}

html[data-theme="light"] .green-card { --tool-color: #0b7040; }
html[data-theme="light"] .blue-card { --tool-color: #1c5f9f; }
html[data-theme="light"] .purple-card { --tool-color: #6e3fa0; }
html[data-theme="light"] .gold-card { --tool-color: #7a5200; }

.tool-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--tool-color) 58%, transparent);
}

.green-card { --tool-color: #41d083; }
.blue-card { --tool-color: #5c9fff; }
.purple-card { --tool-color: #a960ff; }
.gold-card { --tool-color: #f2b94b; }

.tool-icon {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--tool-color) 75%, #10243a);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}

.tool-icon svg {
  width: 32px;
  height: 32px;
}

.tool-card h3 {
  margin: 17px 0 7px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.4;
}

.tool-status {
  margin-top: 15px;
  padding: 3px 9px;
  border: 1px solid color-mix(in srgb, var(--tool-color) 55%, transparent);
  border-radius: 999px;
  color: var(--tool-color);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.5;
}

.tool-status + h3 {
  margin-top: 8px;
}

.tool-card p {
  flex: 1;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.tool-card > a {
  width: 100%;
  padding: 9px 14px;
  border: 1px solid var(--tool-color);
  border-radius: 999px;
  color: var(--tool-color);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  transition: background .2s ease, color .2s ease;
}

.tool-card > a:hover {
  background: var(--tool-color);
  color: #091726;
}

.no-tools {
  margin: 20px 0 0;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
}

.featured-tools-grid {
  direction: rtl;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

[dir="ltr"] .featured-tools-grid {
  direction: ltr;
}

.featured-tool {
  --tool-color: #f2b94b;
  overflow: hidden;
  border: 1px solid rgba(116, 166, 202, .23);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(16, 47, 72, .92), rgba(7, 25, 40, .96));
  box-shadow: 0 14px 38px rgba(0, 0, 0, .15);
  transition: transform .2s ease, border-color .2s ease;
}

html[data-theme="light"] .featured-tool {
  background: rgba(255, 255, 255, .9);
}

.featured-tool:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--tool-color) 58%, transparent);
}

.featured-tool img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.featured-tool > div {
  padding: 17px;
}

.featured-tool h3 {
  min-height: 54px;
  margin: 9px 0 14px;
  font-size: 18px;
  line-height: 1.5;
}

.featured-tool a {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--tool-color);
  border-radius: 999px;
  color: var(--tool-color);
  font-size: 13px;
  font-weight: 900;
}

.featured-tool a:hover {
  background: var(--tool-color);
  color: #091726;
}

.featured-tool a svg {
  width: 17px;
  height: 17px;
}

[dir="rtl"] .featured-tool a svg,
[dir="rtl"] .section-center-action svg {
  transform: scaleX(-1);
}

.section-center-action {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.spotlight-section {
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
}

.spotlight-card {
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(30px, 5vw, 78px);
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(242, 185, 75, .3);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(242, 185, 75, .04), transparent 36%),
    var(--panel);
  box-shadow: var(--shadow);
}

[dir="ltr"] .spotlight-card {
  direction: rtl;
}

.spotlight-image {
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--navy-850);
}

.spotlight-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.spotlight-copy {
  direction: rtl;
}

[dir="ltr"] .spotlight-copy {
  direction: ltr;
}

.spotlight-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 15px 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-text);
  font-weight: 900;
}

.expertise-section {
  background: var(--navy-900);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.expertise-grid article {
  min-height: 226px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(15, 44, 67, .82), rgba(7, 25, 40, .9));
}

html[data-theme="light"] .expertise-grid article {
  background: rgba(255, 255, 255, .75);
}

.expertise-grid article > span {
  color: rgba(242, 185, 75, .38);
  font: 46px/1 Georgia, serif;
}

html[data-theme="light"] .expertise-grid article > span {
  color: rgba(122, 82, 0, .82);
}

.expertise-grid h3 {
  margin: 28px 0 8px;
  font-size: 19px;
}

.expertise-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.training-program {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(24px, 4vw, 52px);
  margin-top: 28px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid color-mix(in srgb, var(--accent-text) 44%, transparent);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 10%, rgba(242, 185, 75, .12), transparent 38%),
    linear-gradient(145deg, rgba(14, 43, 66, .96), rgba(6, 23, 37, .98));
  box-shadow: 0 20px 55px rgba(0, 0, 0, .2);
  scroll-margin-top: calc(var(--header-height) + 18px);
}

html[data-theme="light"] .training-program {
  background:
    radial-gradient(circle at 10% 10%, rgba(242, 185, 75, .16), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(229, 240, 245, .96));
  box-shadow: 0 20px 55px rgba(27, 71, 91, .12);
}

.program-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.3;
}

.program-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.9;
}

.program-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 22px;
}

.program-facts div {
  display: grid;
  align-content: center;
  min-height: 84px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .035);
  text-align: center;
}

html[data-theme="light"] .program-facts div {
  background: rgba(255, 255, 255, .62);
}

.program-facts strong {
  color: var(--accent-text);
  font-size: 15px;
  line-height: 1.35;
}

.program-facts span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.program-cta {
  margin-top: 22px;
}

.program-topics {
  align-self: stretch;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(4, 16, 26, .46);
}

html[data-theme="light"] .program-topics {
  background: rgba(255, 255, 255, .7);
}

.program-topics h4 {
  margin: 0 0 15px;
  color: var(--text);
  font-size: 18px;
}

.program-topics ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-topics li {
  position: relative;
  padding-inline-start: 29px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.program-topics li::before {
  content: "✓";
  position: absolute;
  top: 1px;
  inset-inline-start: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-text) 18%, transparent);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 900;
}

.about-section {
  background:
    radial-gradient(circle at 80% 0, rgba(37, 102, 143, .2), transparent 36%),
    var(--navy-950);
}

.about-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}

.about-copy > p {
  margin: 0 0 24px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 2;
}

.about-copy .secondary-cta {
  min-width: 190px;
}

.contact-section {
  background:
    radial-gradient(circle at 50% 0, rgba(242, 185, 75, .1), transparent 35%),
    var(--navy-900);
}

.contact-heading {
  max-width: 820px;
}

.contact-heading > p:not(.eyebrow) {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.contact-grid {
  direction: rtl;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.contact-card {
  --contact-color: var(--accent-text);
  display: grid;
  min-height: 150px;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(15, 44, 67, .86), rgba(7, 25, 40, .92));
  box-shadow: 0 14px 38px rgba(0, 0, 0, .12);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

html[data-theme="light"] .contact-card {
  background: rgba(255, 255, 255, .78);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--contact-color) 62%, transparent);
}

.phone-card { --contact-color: var(--accent-text); }
.whatsapp-card { --contact-color: #35d07f; }
.linkedin-card { --contact-color: #63a7ff; }
.facebook-card { --contact-color: #4f9cff; }

html[data-theme="light"] .whatsapp-card { --contact-color: #0b7040; }
html[data-theme="light"] .linkedin-card { --contact-color: #1c5f9f; }
html[data-theme="light"] .facebook-card { --contact-color: #185fba; }

.contact-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 16px;
  background: color-mix(in srgb, var(--contact-color) 18%, var(--navy-750));
  color: var(--contact-color);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--contact-color) 30%, transparent);
}

.contact-icon svg {
  width: 28px;
  height: 28px;
}

.linkedin-mark {
  font: 900 24px/1 Arial, sans-serif;
}

.facebook-mark {
  font: 900 32px/1 Arial, sans-serif;
  text-transform: lowercase;
}

.contact-card-copy {
  display: grid;
  min-width: 0;
  text-align: start;
}

.contact-card-copy strong {
  color: var(--text);
  font-size: 18px;
}

.contact-card-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.contact-number {
  direction: ltr;
  unicode-bidi: isolate;
}

.contact-card-copy > span {
  margin-top: 13px;
  color: var(--contact-color);
  font-size: 14px;
  font-weight: 900;
}

footer {
  border-top: 1px solid var(--line);
  background: #030c14;
}

html[data-theme="light"] footer {
  background: #dce8ed;
}

.footer-inner {
  direction: ltr;
  min-height: 108px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: grid;
  line-height: 1.4;
}

.footer-brand span,
.footer-inner p {
  color: var(--muted);
  font-size: 12px;
}

.footer-inner p {
  margin: 0;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}

.social-links a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 900;
}

@media (max-width: 1220px) {
  .desktop-nav {
    gap: 14px;
  }

  .desktop-nav a {
    font-size: 12px;
  }

  .brand-copy > span {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .88fr);
  }

  .hero h1 {
    font-size: clamp(54px, 6.2vw, 74px);
  }

  .pillar {
    padding-inline: 5px;
  }

  .stat {
    padding-inline: 10px;
  }
}

@media (max-width: 1020px) {
  :root {
    --header-height: 68px;
  }

  .desktop-nav,
  .contact-button {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .header-actions {
    justify-self: end;
  }

  .hero-grid {
    min-height: 630px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
  }

  .hero-visual {
    min-height: 630px;
  }

  .hero-details {
    padding-bottom: 82px;
  }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillar:nth-child(2)::after {
    display: none;
  }

  .stats-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat {
    border-bottom: 1px solid var(--line);
  }

  .stat:nth-child(2),
  .stat:nth-child(4) {
    border-inline-end: 0;
  }

  .stat:nth-child(5) {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .tool-grid,
  .featured-tools-grid,
  .expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 22px, 560px);
  }

  .header-inner {
    gap: 10px;
  }

  .monogram {
    font-size: 39px;
    letter-spacing: -6px;
  }

  .brand {
    gap: 9px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 10px;
  }

  .round-button.search-jump,
  .round-button.theme-toggle {
    display: none;
  }

  .language-toggle,
  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  [dir] .hero::before {
    inset: auto 0 0;
    width: 100%;
    height: 44%;
    opacity: .48;
  }

  [dir] .hero::after {
    background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-900) 39%, rgba(7, 24, 39, .72) 62%, rgba(4, 14, 23, .64) 100%);
  }

  html[data-theme="light"][dir] .hero::after {
    background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-900) 40%, rgba(237, 243, 246, .78) 67%, rgba(225, 236, 241, .72) 100%);
  }

  [dir] .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "intro"
      "visual"
      "details";
    row-gap: 0;
    padding-top: 31px;
  }

  .hero-intro {
    align-self: auto;
    text-align: center;
  }

  [dir] .hero-intro .eyebrow,
  [dir] .hero h1,
  [dir] .role {
    text-align: center;
  }

  .role {
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(42px, 12.5vw, 58px);
  }

  .role {
    font-size: 15px;
  }

  [dir] .gold-line {
    width: 56px;
    height: 3px;
    margin: 14px auto 0;
  }

  .hero-visual {
    min-height: 390px;
    margin-top: 6px;
    border-radius: 22px 22px 0 0;
  }

  .portrait {
    right: auto;
    left: 0;
    width: 100%;
    height: 390px;
    transform: none;
    object-position: center top;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
  }

  .portrait-halo {
    right: 20%;
    width: 60%;
  }

  .portrait-hashtag {
    bottom: 8px;
    font-size: 11px;
  }

  [dir="rtl"] .portrait-hashtag {
    right: auto;
    left: 12px;
  }

  [dir="ltr"] .portrait-hashtag {
    right: 12px;
    left: auto;
  }

  .hero-details {
    padding: 22px 0 74px;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.9;
  }

  .pillars {
    gap: 2px;
    margin: 18px 0;
  }

  .pillar {
    min-height: 105px;
  }

  .pillar:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .pillar strong {
    font-size: 13px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  [dir] blockquote {
    margin: 20px auto 0;
    font-size: 16px;
  }

  .stats-wrap {
    margin-top: -25px;
  }

  .stats-panel {
    border-radius: 16px;
  }

  .stat {
    min-height: 88px;
    justify-content: flex-start;
    padding: 12px;
  }

  .stat-icon {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }

  .stat-icon svg {
    width: 22px;
    height: 22px;
  }

  .stat strong {
    font-size: 14px;
  }

  .stat small {
    font-size: 12px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading h2,
  .spotlight-copy h2,
  .about-grid h2 {
    font-size: 30px;
  }

  .tools-toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tool-search {
    grid-row: 1;
    width: 100%;
  }

  .all-tools-button {
    width: 100%;
    justify-content: center;
  }

  .tool-grid,
  .featured-tools-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .training-program {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .program-cta {
    width: 100%;
  }

  .program-topics {
    padding: 20px;
  }

  .tool-card {
    min-height: 0;
  }

  .featured-tool h3 {
    min-height: 0;
  }

  .spotlight-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 14px;
  }

  .spotlight-image {
    width: min(100%, 360px);
    margin-inline: auto;
  }

  .spotlight-copy {
    padding: 5px 6px 14px;
    text-align: center;
  }

  .spotlight-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: 132px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 25px 0;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .brand-copy span {
    display: none;
  }

  .hero-visual {
    min-height: 340px;
  }

  .portrait {
    height: 340px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
