:root {
  --navy: #0e3b5c;
  --navy-deep: #08283f;
  --navy-soft: #174f74;
  --red: #d02a2c;
  --gold: #f7b930;
  --gold-pale: #fff4d6;
  --ink: #102532;
  --muted: #5a6871;
  --paper: #f7f5f0;
  --white: #ffffff;
  --line: rgba(14, 59, 92, 0.14);
  --shadow: 0 24px 60px rgba(8, 40, 63, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Tahoma", "Segoe UI", sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

html[dir="ltr"] body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--navy-deep);
  background: var(--white);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  border-block-end: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-link img {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 14px;
  background: var(--white);
}

.brand-name {
  display: grid;
  line-height: 1.25;
}

.brand-name strong {
  font-size: 0.94rem;
}

.brand-name span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.header-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.header-nav {
  gap: 22px;
  margin-inline: auto;
}

.header-nav a,
.header-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.78);
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--white);
}

.header-actions {
  gap: 10px;
}

.language-link,
.holding-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.language-link {
  width: 44px;
}

.holding-link {
  padding-inline: 16px;
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold);
}

.hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(8, 40, 63, 0.98), rgba(14, 59, 92, 0.94) 58%, rgba(14, 59, 92, 0.84)),
    var(--navy-deep);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 80%, transparent);
}

.hero::after {
  width: 460px;
  height: 460px;
  inset-block-end: -220px;
  inset-inline-end: -80px;
  border: 80px solid rgba(247, 185, 48, 0.12);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  padding-block: 170px 92px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.65rem, 6.2vw, 5.8rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

html[dir="ltr"] .hero h1 {
  font-size: clamp(2.55rem, 5.7vw, 5.4rem);
}

.hero-lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 34px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-inline: 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--navy-deep);
  background: var(--gold);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.button-dark {
  color: var(--white);
  background: var(--navy);
}

.brand-stage {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
}

.brand-stage::before {
  content: "";
  position: absolute;
  inset: -1px auto auto 34px;
  width: 92px;
  height: 4px;
  background: var(--red);
  transform-origin: left center;
  animation: identity-accent-draw 480ms 100ms var(--motion-ease) both;
}

html[dir="rtl"] .brand-stage::before {
  transform-origin: right center;
}

.brand-stage img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 18px;
  background: var(--white);
}

.brand-stage p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  text-align: center;
}

@keyframes hero-copy-enter {
  from {
    transform: translateY(18px);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes identity-accent-draw {
  from {
    opacity: 0.4;
    transform: scaleX(0.15);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes blueprint-settle {
  from {
    transform: translateY(14px);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes geometry-settle {
  from {
    transform: scale(0.84) rotate(-8deg);
  }

  to {
    transform: scale(1) rotate(0);
  }
}

.hero-inner > div {
  animation: hero-copy-enter 560ms var(--motion-ease) both;
}

.hero::before {
  animation: blueprint-settle 620ms var(--motion-ease) both;
}

.hero::after {
  animation: geometry-settle 620ms 120ms var(--motion-ease) both;
}

html[dir="rtl"] .eyebrow {
  letter-spacing: 0;
}

html[dir="rtl"] .eyebrow [dir="ltr"] {
  letter-spacing: 0.12em;
}

.motion-enabled .motion-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 520ms var(--motion-ease),
    transform 560ms var(--motion-ease);
  transition-delay: calc(var(--motion-order, 0) * 70ms);
}

.motion-enabled .motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-inner a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

@media (hover: hover) and (pointer: fine) {
  .product-card,
  .service-card,
  .workflow-step,
  .market {
    transition:
      border-color 220ms ease,
      box-shadow 220ms ease,
      background-color 220ms ease;
  }

  .contact-link {
    transition:
      transform 220ms var(--motion-ease),
      border-color 220ms ease,
      box-shadow 220ms ease,
      background-color 220ms ease;
  }

  .contact-link:hover {
    transform: translateY(-4px);
  }

  .product-card:hover,
  .market:hover {
    border-color: rgba(14, 59, 92, 0.28);
    box-shadow: 0 18px 42px rgba(8, 40, 63, 0.1);
  }

  .service-card:hover,
  .contact-link:hover {
    border-color: rgba(247, 185, 48, 0.42);
    background: rgba(255, 255, 255, 0.08);
  }
}

.proof-strip {
  position: relative;
  z-index: 3;
  margin-block-start: -42px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.proof-item {
  min-height: 118px;
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 20px;
  border-inline-end: 1px solid var(--line);
  text-align: center;
}

.proof-item:last-child {
  border-inline-end: 0;
}

.proof-item strong {
  color: var(--navy);
  font-size: 0.98rem;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.76rem;
}

.section {
  padding-block: 112px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: end;
  margin-block-end: 54px;
}

.section-heading h2 {
  max-width: 700px;
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

#markets-title {
  scroll-margin-block-start: 32px;
}

.section-heading p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.products {
  background: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.product-card {
  grid-column: span 4;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.product-card:nth-child(1),
.product-card:nth-child(2) {
  grid-column: span 6;
}

.card-index {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

.product-card h3,
.service-card h3 {
  margin: 32px 0 12px;
  color: var(--navy-deep);
  font-size: 1.35rem;
  line-height: 1.35;
}

.product-card p,
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.product-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 28px 0 0;
  list-style: none;
}

.product-card li {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(14, 59, 92, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
}

.services {
  color: var(--white);
  background: var(--navy-deep);
}

.services .section-heading h2,
.services .service-card h3 {
  color: var(--white);
}

.services .section-heading p:not(.section-kicker),
.services .service-card p {
  color: rgba(255, 255, 255, 0.68);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
}

.service-card .card-index {
  color: var(--navy-deep);
  background: var(--gold);
}

.service-card h3 {
  margin-block-start: 26px;
}

.service-card:last-child {
  grid-column: 2;
}

.workflow {
  background: var(--gold-pale);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
  background: rgba(14, 59, 92, 0.16);
  border: 1px solid rgba(14, 59, 92, 0.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.workflow-step {
  min-height: 210px;
  padding: 30px;
  background: var(--gold-pale);
}

.workflow-step span {
  color: var(--red);
  font-weight: 900;
}

.workflow-step h3 {
  margin: 44px 0 8px;
  color: var(--navy-deep);
  font-size: 1.18rem;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.markets-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.market {
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact {
  padding-block: 50px 92px;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  padding: clamp(34px, 6vw, 76px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.contact-panel::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  inset-block-start: -150px;
  inset-inline-end: -100px;
  border: 60px solid rgba(247, 185, 48, 0.14);
  border-radius: 50%;
}

.contact-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.15;
}

.contact-panel p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.contact-links {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.contact-link {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.contact-link span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
}

.contact-link strong {
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.site-footer {
  padding-block: 32px;
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy-deep);
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner a {
  color: var(--white);
}

@media (max-width: 1060px) {
  .header-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 42px;
  }

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

  .service-card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 800px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .header-inner {
    min-height: 82px;
  }

  .brand-link img {
    width: 58px;
    height: 58px;
  }

  .brand-name {
    display: none;
  }

  .header-inner {
    gap: 10px;
  }

  .header-actions {
    gap: 7px;
  }

  .holding-link {
    padding-inline: 11px;
    font-size: 0.7rem !important;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: 142px 96px;
  }

  .brand-stage {
    width: min(100%, 420px);
  }

  .proof-strip {
    margin-block-start: -28px;
  }

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

  .proof-item {
    min-height: 100px;
    border-block-end: 1px solid var(--line);
  }

  .proof-item:last-child {
    grid-column: 1 / -1;
    border-block-end: 0;
  }

  .section {
    padding-block: 84px;
  }

  .section-heading,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .product-card,
  .product-card:nth-child(1),
  .product-card:nth-child(2) {
    grid-column: auto;
  }

  .workflow-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .hero h1,
  html[dir="ltr"] .hero h1 {
    font-size: clamp(2.3rem, 11.5vw, 3.35rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .proof-grid,
  .service-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:last-child {
    grid-column: auto;
    border-inline-end: 0;
  }

  .product-card,
  .service-card,
  .workflow-step {
    min-height: auto;
  }

  .workflow-step h3 {
    margin-block-start: 24px;
  }

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .motion-reveal,
  .motion-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .proof-strip,
  .site-footer {
    display: none;
  }

  .hero,
  .services,
  .contact-panel {
    color: var(--ink);
    background: var(--white);
  }

  .section {
    padding-block: 36px;
  }
}
