@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #071b29;
  --ink-2: #102f43;
  --ink-3: #173d58;
  --paper: #f4f6f9;
  --white: #fff;
  --text: #102536;
  --muted: #667386;
  --line: #dfe4ea;
  --violet: #6e61ed;
  --violet-soft: #ece9ff;
  --mint: #19b8a7;
  --mint-soft: #e5f8f5;
  --peach: #f2b899;
  --peach-soft: #fff0e8;
  --pink: #ea1764;
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 15px;
  --shadow: 0 24px 70px rgba(7, 27, 41, 0.12);
  --shadow-sm: 0 12px 32px rgba(7, 27, 41, 0.1);
  --container: 1296px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  line-height: 1.8;
  direction: rtl;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

html[dir="ltr"] body,
html[dir="ltr"] .site-header__inner,
html[dir="ltr"] .site-nav,
html[dir="ltr"] .service-dialog {
  direction: ltr;
}

html[dir="ltr"] .service-dialog__brand {
  text-align: left;
}

html[dir="ltr"] .service-card,
html[dir="ltr"] .subsidiary-card,
html[dir="ltr"] .service-dialog__panel,
html[dir="ltr"] .service-dialog__group {
  direction: ltr;
  text-align: left;
}

html[dir="ltr"] .service-dialog__close {
  right: 22px;
  left: auto;
}

html[dir="ltr"] .service-card li,
html[dir="ltr"] .bullet-list li,
html[dir="ltr"] .service-dialog__group li {
  padding-right: 0;
  padding-left: 18px;
}

html[dir="ltr"] .service-card li::before,
html[dir="ltr"] .bullet-list li::before,
html[dir="ltr"] .service-dialog__group li::before {
  right: auto;
  left: 0;
}

html[dir="ltr"] .service-card[data-service-key]::after {
  right: auto;
  left: 30px;
  content: "View details →";
}

html[dir="ltr"] .button__arrow {
  transform: rotate(180deg);
}

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

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

.number {
  direction: ltr;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.section {
  position: relative;
  padding: 112px 0;
  overflow: clip;
}

.section--white {
  background: #fff;
}

.section--soft {
  background:
    radial-gradient(circle at 92% 6%, rgba(110, 97, 237, 0.09), transparent 25%),
    radial-gradient(circle at 3% 96%, rgba(25, 184, 167, 0.08), transparent 22%),
    #f4f6f9;
}

.section--dark {
  background:
    radial-gradient(circle at 95% 10%, rgba(242, 184, 153, 0.07), transparent 25%),
    radial-gradient(circle at 5% 90%, rgba(110, 97, 237, 0.11), transparent 27%),
    var(--ink);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  margin-bottom: 20px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 12px;
  font-weight: 850;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.eyebrow--dark {
  background: rgba(110, 97, 237, 0.18);
  color: #c5c0ff;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 54px;
}

.section-heading__copy {
  max-width: 840px;
}

.section-heading h2,
.display-title,
.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.section-heading p,
.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section--dark .section-heading p,
.page-hero .lead {
  color: #b7c4cf;
}

.kicker {
  color: #7c8794;
  direction: ltr;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 17px;
  background: var(--violet);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(110, 97, 237, 0.24);
}

.button--light {
  background: var(--peach);
  color: var(--ink-2);
}

.button--outline {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.button--ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--text);
}

.button__arrow {
  direction: ltr;
  font-size: 18px;
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 20px;
  right: 0;
  left: 0;
}

.site-header__inner {
  display: flex;
  direction: rtl;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 184px;
  color: #fff;
}

.brand__mark,
.brand__logo {
  width: 46px;
  height: 46px;
}

.brand__mark {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink-2);
  color: var(--peach);
  font-size: 22px;
  font-weight: 900;
}

.brand__logo {
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.25;
}

.brand small {
  margin-top: 3px;
  color: #aab8c7;
  direction: ltr;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  direction: rtl;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: #d8e0e7;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}

.language-switch {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #e9eef3;
  font-size: 11px;
  font-weight: 850;
}

.header-cta {
  min-height: 46px;
  align-content: center;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--peach);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.home-hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 42%, rgba(110, 97, 237, 0.25), transparent 31%),
    linear-gradient(135deg, #071b29, #0d2a3e 58%, #182a50);
  color: #fff;
}

.home-hero {
  min-height: 940px;
  padding: 164px 0 80px;
}

.home-hero::after,
.page-hero::after {
  position: absolute;
  right: -12%;
  bottom: -240px;
  width: 720px;
  height: 520px;
  border-radius: 50%;
  background: rgba(25, 184, 167, 0.06);
  content: "";
}

.home-hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 68px;
}

.home-hero__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(46px, 5vw, 70px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.23;
}

.home-hero h1 span {
  color: var(--peach);
}

.home-hero__summary {
  max-width: 630px;
  margin: 28px 0 0;
  color: #becad4;
  font-size: 18px;
}

.orbit {
  position: relative;
  width: min(100%, 640px);
  max-width: 100%;
  aspect-ratio: 1;
  margin-inline: auto;
  scroll-margin-top: 24px;
}

.orbit::before,
.orbit::after {
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
  transform-origin: center;
  will-change: transform;
}

.orbit::before {
  animation: home-orbit-spin 30s linear infinite;
}

.orbit::after {
  inset: 25%;
  border-style: solid;
  border-color: rgba(110, 97, 237, 0.2);
  animation: home-orbit-pulse 5.5s ease-in-out infinite alternate;
}

.orbit__center,
.orbit__item {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.orbit__center {
  top: 50%;
  left: 50%;
  width: 112px;
  height: 112px;
  transform: translate(-50%, -50%);
}

.orbit__center:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.orbit__center .brand__mark,
.orbit__logo {
  width: 104px;
  height: 104px;
}

.orbit__center .brand__mark {
  font-size: 30px;
}

.orbit__logo {
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.28));
  animation: home-orbit-center 5.8s ease-in-out infinite alternate;
  will-change: transform, filter;
}

.orbit__brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.orbit__item .orbit__consulting-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.orbit__center strong {
  margin-top: 8px;
  direction: ltr;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.orbit__item {
  --orbit-float-distance: -7px;
  width: 116px;
  height: 116px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0b2638;
  border-radius: 50%;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.2);
  animation: home-orbit-float 6.4s ease-in-out infinite alternate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: translate;
}

.orbit__item--racna { animation-delay: -0.4s; }
.orbit__item--petrona { animation-delay: -1.45s; }
.orbit__item--avena { animation-delay: -2.5s; }
.orbit__item--luma { animation-delay: -3.55s; }
.orbit__item--digital { animation-delay: -4.6s; }
.orbit__item--consulting { animation-delay: -5.65s; }

.orbit__item:hover {
  z-index: 4;
  transform: scale(1.08);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.3);
}

.orbit__item img {
  width: 72px;
  height: 62px;
  object-fit: contain;
}

.orbit__item span {
  margin-top: 4px;
  color: #e6edf2;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.orbit__item--racna { top: 2%; left: 24%; border-color: rgba(255, 116, 40, 0.4); background: #181d24; }
.orbit__item--petrona { top: 36%; left: 0; border-color: rgba(25, 201, 223, 0.36); background: #04243a; }
.orbit__item--avena { bottom: 2%; left: 24%; border-color: rgba(79, 229, 255, 0.36); background: #041d3e; }
.orbit__item--luma { right: 8%; bottom: 0; border-color: rgba(230, 220, 203, 0.32); background: #223139; }
.orbit__item--digital { right: 0; top: 44%; border: 3px solid #ea1764; background: #171735; }
.orbit__item--consulting { right: 8%; top: 4%; border: 3px solid #8d82ff; background: #f0eeff; }
.orbit__item--consulting span { color: #5549c9; }

@keyframes home-orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes home-orbit-pulse {
  from { transform: scale(0.98); opacity: 0.55; }
  to { transform: scale(1.04); opacity: 1; }
}

@keyframes home-orbit-float {
  from { translate: 0 2px; }
  to { translate: 0 var(--orbit-float-distance); }
}

@keyframes home-orbit-center {
  from {
    transform: scale(0.98);
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.24));
  }
  to {
    transform: scale(1.035);
    filter: drop-shadow(0 20px 38px rgba(110, 97, 237, 0.3));
  }
}

.orbit__tag {
  position: absolute;
  top: -9px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff !important;
  direction: ltr;
  font-size: 7px !important;
}

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

.subsidiary-card {
  position: relative;
  min-height: 270px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: var(--card-bg, var(--ink-2));
  box-shadow: var(--shadow-sm);
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.subsidiary-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.subsidiary-card--light {
  border-color: var(--line);
  background: #fff;
  color: var(--text);
}

.subsidiary-card--ottana {
  border-color: rgba(110, 97, 237, 0.32);
}

.subsidiary-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.subsidiary-card__logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.subsidiary-card img {
  width: 118px;
  height: 86px;
  object-fit: contain;
}

.subsidiary-card__badge {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent, #cdd8e1);
  font-size: 9px;
  font-weight: 850;
}

.subsidiary-card--light .subsidiary-card__badge {
  background: var(--violet-soft);
  color: var(--violet);
}

.subsidiary-card h3 {
  margin: 18px 0 6px;
  font-size: 22px;
  line-height: 1.4;
}

.subsidiary-card p {
  margin: 0;
  color: #aebbc6;
  font-size: 13px;
}

.subsidiary-card--light p {
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--accent, var(--peach));
  font-size: 12px;
  font-weight: 850;
}

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

.stat-card {
  min-height: 176px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--violet);
  font-size: 46px;
  font-weight: 900;
  line-height: 1.2;
}

.stat-card span {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.stat-card small {
  display: block;
  margin-top: 5px;
  color: #8995a3;
  font-size: 10px;
}

.data-note {
  margin-top: 24px;
  color: #7b8795;
  font-size: 11px;
  text-align: center;
}

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

.project-card {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}

.project-card:hover {
  transform: translateY(-7px);
}

.project-card__media {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #e8edf1;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card__tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font-size: 10px;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.project-card__body {
  padding: 24px;
}

.project-card h3 {
  margin: 0;
  font-size: 19px;
}

.project-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.project-card dl {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 6px 12px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.project-card dt {
  color: #8a96a3;
}

.project-card dd {
  margin: 0;
  color: var(--text);
  font-weight: 750;
}

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

.team-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.team-card img {
  width: 100%;
  aspect-ratio: 0.88;
  object-fit: cover;
  filter: saturate(0.85);
}

.team-card__body {
  padding: 20px;
}

.team-card h3 {
  margin: 0;
  font-size: 15px;
}

.team-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.home-about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
}

.home-about__feature,
.home-about__copy {
  padding: 38px;
  border-radius: var(--radius-lg);
}

.home-about__feature {
  background: var(--ink-2);
  color: #fff;
}

.home-about__feature h3,
.home-about__copy h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.4;
}

.home-about__feature p {
  color: #b7c4cf;
}

.home-about__copy {
  border: 1px solid var(--line);
  background: #fff;
}

.home-about__copy p {
  color: var(--muted);
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 52px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--ink-2), #20224c);
  box-shadow: var(--shadow);
  color: #fff;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.35;
}

.cta-band p {
  margin: 12px 0 0;
  color: #b7c4cf;
}

.page-hero {
  min-height: 660px;
  padding: 180px 0 96px;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 70px;
}

.page-hero__logo-card {
  display: grid;
  min-height: 340px;
  padding: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.page-hero__logo-card img {
  width: min(260px, 80%);
  max-height: 210px;
  object-fit: contain;
}

.page-hero__logo-card .page-hero__brand-logo {
  width: 120px;
  height: 120px;
}

.identity-stage {
  position: relative;
  display: grid;
  min-height: 390px;
  padding: 36px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px;
  isolation: isolate;
}

.identity-stage > img {
  position: relative;
  z-index: 5;
  width: min(250px, 72%);
  max-height: 205px;
  object-fit: contain;
}

.identity-stage > p {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 24px;
  left: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  direction: ltr;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-align: center;
}

.identity-stage--racna {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.theme-racna .page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.theme-racna .page-hero__grid {
  position: relative;
  z-index: 3;
}

.theme-racna .page-hero::before {
  position: absolute;
  z-index: 0;
  right: -15%;
  bottom: -34%;
  left: -15%;
  height: 86%;
  background-image:
    linear-gradient(rgba(36, 207, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 207, 255, 0.22) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  opacity: 0.48;
  pointer-events: none;
  transform: perspective(520px) rotateX(62deg);
  transform-origin: center top;
  animation: racna-grid-drift 8s linear infinite;
}

.theme-racna .page-hero::after {
  position: absolute;
  z-index: 2;
  top: -25%;
  bottom: -25%;
  width: 2px;
  background: linear-gradient(transparent, #ff781e, transparent);
  box-shadow: 0 0 18px #ff781e;
  content: "";
  opacity: 0.72;
  pointer-events: none;
  transform: rotate(24deg);
  animation: racna-scan 5.5s linear infinite;
}

.identity-stage--racna > img {
  filter: drop-shadow(0 0 12px rgba(255, 102, 16, 0.72)) drop-shadow(0 0 28px rgba(255, 102, 16, 0.34));
}

.racna-skyline {
  position: absolute;
  z-index: 1;
  right: 4%;
  bottom: 0;
  left: 4%;
  display: flex;
  align-items: end;
  justify-content: space-between;
  height: 48%;
  opacity: 0.24;
  pointer-events: none;
}

.racna-skyline span {
  width: 10%;
  height: 42%;
  border: 1px solid #25d7ff;
  border-bottom: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 12px, rgba(37, 215, 255, 0.22) 13px 14px);
  box-shadow: 0 0 14px rgba(37, 215, 255, 0.24);
}

.racna-skyline span:nth-child(2) { height: 68%; }
.racna-skyline span:nth-child(3) { height: 34%; }
.racna-skyline span:nth-child(4) { height: 78%; }
.racna-skyline span:nth-child(5) { height: 51%; }
.racna-skyline span:nth-child(6) { height: 61%; }

.identity-line {
  position: absolute;
  z-index: 2;
  width: 72%;
  height: 1px;
  pointer-events: none;
  transform-origin: center;
  animation: racna-line-glow 4.6s linear infinite alternate;
}

.identity-line--orange {
  top: 38%;
  right: -14%;
  left: -14%;
  width: auto;
  background: linear-gradient(90deg, transparent, #ff741b 12%, #ff741b 88%, transparent);
  box-shadow: 0 0 12px #ff741b;
  transform: rotate(-17deg);
}

.identity-line--cyan {
  bottom: 24%;
  left: -8%;
  background: #26d9ff;
  box-shadow: 0 0 12px #26d9ff;
  transform: rotate(18deg);
  animation-delay: -2.3s;
}

.identity-stage--petrona {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.theme-petrona .page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.theme-petrona .page-hero__grid {
  position: relative;
  z-index: 3;
}

.theme-petrona .page-hero::before {
  position: absolute;
  z-index: 0;
  inset: -55%;
  background: conic-gradient(from 0deg, transparent 0 18%, rgba(28, 213, 207, 0.11) 27%, transparent 38% 60%, rgba(255, 119, 50, 0.09) 70%, transparent 82%);
  content: "";
  pointer-events: none;
  animation: petrona-energy-orbit 18s linear infinite;
}

.identity-stage--petrona > img {
  filter: drop-shadow(0 0 18px rgba(30, 207, 219, 0.24));
}

.energy-wave {
  position: absolute;
  z-index: 1;
  left: -15%;
  width: 130%;
  height: clamp(180px, 22vw, 320px);
  border-top: 3px solid var(--wave-color);
  border-radius: 50%;
  filter: drop-shadow(0 0 10px var(--wave-color));
  opacity: 0.62;
  pointer-events: none;
  transform: rotate(var(--wave-rotate));
  animation: energy-wave-flow 7s linear infinite alternate;
}

.energy-wave--one { --wave-color: #28d5df; --wave-rotate: -5deg; bottom: -15%; }
.energy-wave--two { --wave-color: #ff7a29; --wave-rotate: 5deg; bottom: 4%; animation-delay: -2.35s; }
.energy-wave--three { --wave-color: #0d829a; --wave-rotate: -1deg; bottom: 23%; animation-delay: -4.7s; }

.identity-stage--avena {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.theme-avena .page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.theme-avena .page-hero__grid {
  position: relative;
  z-index: 3;
}

.theme-avena .page-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: radial-gradient(circle, rgba(49, 219, 255, 0.48) 1px, transparent 1.5px);
  background-size: 28px 28px;
  content: "";
  opacity: 0.16;
  pointer-events: none;
  animation: avena-stars 10s linear infinite;
}

.theme-avena .page-hero::after {
  position: absolute;
  z-index: 2;
  top: -20%;
  bottom: -20%;
  left: -42%;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(66, 222, 255, 0.13), transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: skewX(-14deg);
  animation: avena-route-sweep 8s linear infinite;
}

.identity-stage--avena > img {
  width: min(220px, 62%);
  filter: drop-shadow(0 0 20px rgba(0, 208, 255, 0.5));
}

.route-globe {
  --globe-size: min(48vw, 620px);
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 2%;
  width: var(--globe-size);
  height: var(--globe-size);
  border: 1px solid rgba(54, 220, 255, 0.48);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(54, 220, 255, 0.22) 50%, transparent 50.5%),
    linear-gradient(transparent 49.5%, rgba(54, 220, 255, 0.22) 50%, transparent 50.5%);
  box-shadow: inset 0 0 60px rgba(18, 205, 255, 0.11), 0 0 40px rgba(18, 205, 255, 0.13);
  opacity: 0.72;
  pointer-events: none;
  translate: 0 -45%;
  animation: avena-globe-turn 12s linear infinite;
}

.route-globe::before,
.route-globe::after {
  position: absolute;
  border: 1px solid rgba(54, 220, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.route-globe::before { inset: 8% 31%; }
.route-globe::after { inset: 31% 8%; }

.route-orbit {
  position: absolute;
  inset: 18%;
  border: 1px dashed rgba(62, 225, 255, 0.72);
  border-radius: 50%;
}

.route-orbit--one { transform: rotate(28deg) scaleY(0.48); }
.route-orbit--two { transform: rotate(-34deg) scaleY(0.6); }

.route-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6cecff;
  box-shadow: 0 0 12px #25dfff;
}

.route-node--one { top: 15%; right: 28%; }
.route-node--two { right: 12%; bottom: 32%; }
.route-node--three { bottom: 16%; left: 25%; }

.transport-modes {
  position: absolute;
  z-index: 5;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  justify-content: center;
  gap: 8px;
  direction: ltr;
}

.transport-modes span {
  padding: 5px 8px;
  border: 1px solid rgba(65, 221, 255, 0.32);
  border-radius: 999px;
  background: rgba(0, 20, 52, 0.62);
  color: #72e9ff;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.theme-luma .page-hero {
  position: relative;
  overflow: hidden;
  color: #3d352c;
  isolation: isolate;
}

.theme-luma .site-header__inner {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(55, 48, 41, 0.92);
  box-shadow: 0 18px 48px rgba(72, 60, 46, 0.16);
}

.theme-luma .page-hero__grid {
  position: relative;
  z-index: 3;
}

.theme-luma .page-hero::before {
  position: absolute;
  z-index: 0;
  inset: -12%;
  background-image:
    linear-gradient(90deg, rgba(91, 78, 62, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(91, 78, 62, 0.12) 1px, transparent 1px),
    linear-gradient(32deg, transparent 49.7%, rgba(91, 78, 62, 0.11) 50%, transparent 50.3%),
    linear-gradient(148deg, transparent 49.7%, rgba(91, 78, 62, 0.08) 50%, transparent 50.3%);
  background-size: 96px 96px, 96px 96px, 210px 210px, 260px 260px;
  content: "";
  opacity: 0.55;
  pointer-events: none;
  transform: rotate(-3deg) scale(1.08);
  animation: luma-blueprint-drift 12s linear infinite;
}

.theme-luma .page-hero::after {
  position: absolute;
  z-index: 2;
  top: -20%;
  bottom: -20%;
  left: -38%;
  width: 30%;
  height: auto;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 252, 243, 0.58), transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: skewX(-12deg);
  animation: luma-plan-sweep 9s linear infinite;
}

.theme-luma .page-hero .lead {
  color: #685e52;
}

.theme-luma .page-hero .kicker {
  color: #7c6e5c;
}

.theme-luma .page-hero .eyebrow--dark {
  background: rgba(174, 151, 107, 0.22);
  color: #66563f;
}

.theme-luma .page-hero__meta span {
  border-color: rgba(91, 77, 59, 0.18);
  background: rgba(255, 253, 247, 0.52);
  color: #554a3e;
}

.theme-luma .page-hero .button {
  background: #8d7a5d;
  color: #fff;
}

.theme-luma .page-hero .button--outline {
  border-color: rgba(77, 65, 51, 0.3);
  background: rgba(255, 253, 247, 0.46);
  color: #493e32;
}

.page-hero__logo-card--luma {
  position: relative;
  z-index: 3;
  border-color: transparent;
  background: transparent;
  backdrop-filter: none;
}

.page-hero__logo-card--luma img {
  width: min(290px, 78%);
  max-height: 270px;
  filter: brightness(0.58) sepia(0.2) drop-shadow(0 12px 26px rgba(72, 58, 41, 0.16));
}

.luma-arch {
  position: absolute;
  z-index: 1;
  bottom: -52px;
  left: 7%;
  width: min(36vw, 470px);
  height: 500px;
  border: 54px solid rgba(182, 159, 113, 0.45);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 42% 42% 0 0;
  box-shadow: 0 0 0 1px rgba(117, 97, 65, 0.11), 0 20px 80px rgba(111, 91, 58, 0.13);
  pointer-events: none;
  animation: luma-arch-glow 6s linear infinite alternate;
}

.luma-elevation {
  position: absolute;
  z-index: 1;
  right: 3%;
  bottom: 0;
  left: 3%;
  display: flex;
  align-items: end;
  justify-content: space-around;
  height: 43%;
  opacity: 0.16;
  pointer-events: none;
  animation: luma-elevation-drift 7s linear infinite alternate;
}

.luma-elevation span {
  width: 14%;
  height: 48%;
  border: 1px solid #6c5d4d;
  border-bottom: 0;
  background:
    repeating-linear-gradient(to bottom, transparent 0 22px, rgba(108, 93, 77, 0.48) 23px 24px),
    repeating-linear-gradient(to left, transparent 0 30px, rgba(108, 93, 77, 0.25) 31px 32px);
}

.luma-elevation span:nth-child(2) { height: 72%; }
.luma-elevation span:nth-child(3) { height: 38%; }
.luma-elevation span:nth-child(4) { height: 84%; }
.luma-elevation span:nth-child(5) { height: 60%; }

.luma-materials {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 13px;
  opacity: 0.8;
  pointer-events: none;
}

.luma-materials span:nth-child(1) {
  background: #c9c5bc;
}

.luma-materials span:nth-child(2) {
  background: repeating-linear-gradient(110deg, #d8d4ca 0 8px, #bdb7aa 9px 10px, #e4e0d7 11px 18px);
}

.luma-materials span:nth-child(3) {
  background: repeating-linear-gradient(90deg, #cdb78e 0 22px, #b99d70 23px 24px, #dbc7a2 25px 46px);
}

@keyframes racna-grid-drift {
  to { background-position: 0 48px, 48px 0; }
}

@keyframes racna-scan {
  0% { left: -12%; opacity: 0; }
  10%, 90% { opacity: 0.82; }
  100% { left: 112%; opacity: 0; }
}

@keyframes racna-line-glow {
  from { opacity: 0.28; filter: brightness(0.82); }
  to { opacity: 0.9; filter: brightness(1.35); }
}

@keyframes petrona-energy-orbit {
  to { transform: rotate(360deg); }
}

@keyframes energy-wave-flow {
  from { translate: -2.5% 0; scale: 0.99 0.94; }
  to { translate: 2.5% -12px; scale: 1.01 1.06; }
}

@keyframes avena-stars {
  to { background-position: 56px 28px; }
}

@keyframes avena-globe-turn {
  to { transform: rotate(360deg); }
}

@keyframes avena-route-sweep {
  0% { left: -42%; opacity: 0; }
  10%, 90% { opacity: 1; }
  100% { left: 106%; opacity: 0; }
}

@keyframes luma-blueprint-drift {
  to { background-position: 96px 0, 0 96px, 210px 210px, -260px 260px; }
}

@keyframes luma-plan-sweep {
  0% { left: -38%; opacity: 0; }
  10%, 90% { opacity: 0.72; }
  100% { left: 108%; opacity: 0; }
}

@keyframes luma-arch-glow {
  from { border-color: rgba(182, 159, 113, 0.34); }
  to { border-color: rgba(198, 174, 125, 0.58); }
}

@keyframes luma-elevation-drift {
  from { translate: 0 8px; }
  to { translate: 0 0; }
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.page-hero__meta span {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d7e0e7;
  font-size: 10px;
  font-weight: 750;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.content-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
}

.content-card--dark {
  border-color: transparent;
  background: var(--ink-2);
  color: #fff;
}

.content-card h2,
.content-card h3 {
  margin: 0;
  line-height: 1.45;
}

.content-card h2 {
  font-size: 30px;
}

.content-card h3 {
  font-size: 20px;
}

.content-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.content-card--dark p {
  color: #b8c5cf;
}

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

.service-card {
  position: relative;
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--theme, var(--violet));
}

.service-card[data-service-key] {
  cursor: pointer;
  padding-bottom: 64px;
}

.service-card[data-service-key]::after {
  position: absolute;
  right: 30px;
  bottom: 28px;
  color: var(--theme, var(--violet));
  content: "مشاهده جزئیات ←";
  font-size: 11px;
  font-weight: 900;
}

.service-card[data-service-key]:focus-visible {
  border-color: var(--theme, var(--violet));
  outline: 3px solid color-mix(in srgb, var(--theme, var(--violet)) 28%, transparent);
  outline-offset: 4px;
}

.service-card__number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--theme, var(--violet)) 11%, white);
  color: var(--theme, var(--violet));
  direction: ltr;
  font-size: 12px;
  font-weight: 900;
}

.service-card h3 {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.5;
}

.service-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.service-card ul,
.bullet-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.bullet-list li {
  position: relative;
  margin-top: 8px;
  padding-right: 16px;
  color: var(--muted);
  font-size: 11px;
}

.service-card li::before,
.bullet-list li::before {
  position: absolute;
  top: 0.8em;
  right: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--theme, var(--mint));
  content: "";
}

.service-card:last-child:nth-child(3n + 1) {
  grid-column: 1 / -1;
  min-height: 180px;
}

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

.service-grid--luma .service-card:last-child:nth-child(3n + 1) {
  grid-column: auto;
  min-height: 230px;
}

.service-dialog {
  width: min(780px, calc(100% - 40px));
  max-height: min(820px, calc(100vh - 40px));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 30px;
  background: transparent;
  color: #fff;
  direction: rtl;
}

.service-dialog::backdrop {
  background: rgba(1, 9, 17, 0.78);
  backdrop-filter: blur(9px);
}

.service-dialog[data-service-theme="racna"] {
  --dialog-accent: #ff7425;
  --dialog-soft: #29d8ff;
  --dialog-bg: #06131e;
}

.service-dialog[data-service-theme="petrona"] {
  --dialog-accent: #28d4cf;
  --dialog-soft: #ff7937;
  --dialog-bg: #03182a;
}

.service-dialog[data-service-theme="avena"] {
  --dialog-accent: #20d8ff;
  --dialog-soft: #74a8ff;
  --dialog-bg: #03142e;
}

.service-dialog__panel {
  position: relative;
  max-height: min(820px, calc(100vh - 40px));
  padding: 44px;
  overflow-y: auto;
  border: 1px solid color-mix(in srgb, var(--dialog-accent) 35%, transparent);
  border-radius: inherit;
  background:
    radial-gradient(circle at 8% 5%, color-mix(in srgb, var(--dialog-soft) 17%, transparent), transparent 30%),
    radial-gradient(circle at 95% 95%, color-mix(in srgb, var(--dialog-accent) 14%, transparent), transparent 34%),
    var(--dialog-bg);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.service-dialog__close {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 25px;
  line-height: 1;
}

.service-dialog__close:hover,
.service-dialog__close:focus-visible {
  border-color: var(--dialog-accent);
  outline: 0;
}

.service-dialog__brand {
  margin: 0 0 10px;
  color: var(--dialog-accent);
  direction: ltr;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-align: right;
}

.service-dialog h2 {
  max-width: calc(100% - 60px);
  margin: 0;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.45;
}

.service-dialog__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.service-dialog__group {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.service-dialog__group:only-child {
  grid-column: 1 / -1;
}

.service-dialog__group h3 {
  margin: 0 0 14px;
  color: var(--dialog-soft);
  font-size: 15px;
}

.service-dialog__group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-dialog__group li {
  position: relative;
  margin-top: 10px;
  padding-right: 18px;
  color: #c7d4de;
  font-size: 12px;
  line-height: 1.85;
}

.service-dialog__group li:first-child {
  margin-top: 0;
}

.service-dialog__group li::before {
  position: absolute;
  top: 0.85em;
  right: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dialog-accent);
  content: "";
}

.service-dialog__cta {
  margin-top: 28px;
  background: var(--dialog-accent);
  color: #04131d;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-box {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.feature-box strong {
  display: block;
  color: var(--peach);
  font-size: 15px;
}

.feature-box p {
  margin: 8px 0 0;
  color: #b7c4cf;
  font-size: 12px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.timeline::before {
  position: absolute;
  top: 34px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: var(--line);
  content: "";
}

.timeline__item {
  position: relative;
  z-index: 1;
  text-align: center;
}

.timeline__number {
  display: inline-grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 8px solid var(--paper);
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  font-weight: 900;
}

.timeline__item h3 {
  margin: 18px 0 0;
}

.timeline__item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  padding: 76px 0 28px;
  background: #061923;
  color: #fff;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 54px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0;
}

.site-footer h2 {
  font-size: 26px;
}

.site-footer h3 {
  font-size: 15px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.footer-brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand strong {
  font-size: 25px;
}

.footer-brand small {
  margin-top: 3px;
  color: #91a1af;
  direction: ltr;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.site-footer p,
.site-footer address {
  color: #91a1af;
  font-size: 12px;
  font-style: normal;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  margin-top: 22px;
}

.footer-links a {
  color: #d4dde5;
  font-size: 12px;
}

.footer-contact {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.footer-contact a,
.footer-contact address {
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.social-links a {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
  color: #dce5ec;
  font-size: 11px;
}

.meeting-request {
  scroll-margin-top: 24px;
}

.meeting-request__layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 30px;
  align-items: start;
}

.meeting-request__intro {
  position: sticky;
  top: 32px;
  padding: 38px;
  border-radius: 30px;
  background: linear-gradient(145deg, var(--ink-2), #252755);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.meeting-request__intro h2 {
  margin: 18px 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.45;
}

.meeting-request__intro p {
  margin: 0 0 26px;
  color: #b8c5cf;
  font-size: 14px;
}

.meeting-request__intro a {
  color: var(--peach);
  direction: ltr;
  font-size: 13px;
  font-weight: 800;
}

.meeting-request__card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.meeting-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 0;
}

.meeting-form__field {
  display: grid;
  gap: 8px;
}

.meeting-form__field > span {
  font-size: 12px;
  font-weight: 800;
}

.meeting-form__field input,
.meeting-form__field select,
.meeting-form__field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #d8e0e7;
  border-radius: 14px;
  outline: 0;
  background: #fff;
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.meeting-form__field textarea {
  min-height: 118px;
  resize: vertical;
}

.meeting-form__field input:focus,
.meeting-form__field select:focus,
.meeting-form__field textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(110, 97, 237, 0.12);
}

.meeting-form__field--wide {
  grid-column: 1 / -1;
}

.meeting-form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.meeting-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 4px;
}

.meeting-form__footer p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.meeting-form__footer .button {
  flex: 0 0 auto;
  border: 0;
}

.meeting-form__footer .button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.meeting-form__status {
  min-height: 22px;
  margin: 0;
  color: #a33232;
  font-size: 12px;
  font-weight: 750;
}

.meeting-form__status.is-success {
  color: #087b6d;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #718492;
  font-size: 10px;
}

.notice {
  position: fixed;
  z-index: 100;
  bottom: 22px;
  left: 22px;
  max-width: 340px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--ink-2);
  box-shadow: var(--shadow);
  color: #fff;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: transform 0.35s ease;
}

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

.theme-racna { --theme: #f07832; }
.theme-petrona { --theme: #16b8c3; }
.theme-avena { --theme: #20c8f1; }
.theme-luma { --theme: #8a7c69; }
.theme-digital { --theme: #ea1764; }
.theme-consulting { --theme: #6e61ed; }

.theme-racna .page-hero { background: radial-gradient(circle at 12% 28%, rgba(255,112,35,.25), transparent 27%), radial-gradient(circle at 80% 72%, rgba(28,198,238,.12), transparent 34%), linear-gradient(135deg,#020a12,#0a2130); }
.theme-petrona .page-hero { background: radial-gradient(circle at 12% 25%, rgba(255,117,54,.16), transparent 26%), radial-gradient(circle at 80% 72%, rgba(28,207,202,.18), transparent 36%), linear-gradient(135deg,#021226,#042b3c); }
.theme-avena .page-hero { background: radial-gradient(circle at 12% 28%, rgba(30,213,255,.2), transparent 30%), radial-gradient(circle at 82% 76%, rgba(65,110,255,.16), transparent 34%), linear-gradient(135deg,#020b21,#052b58); }
.theme-luma .page-hero { background: radial-gradient(circle at 18% 34%, rgba(190,163,111,.28), transparent 29%), radial-gradient(circle at 83% 72%, rgba(255,255,255,.72), transparent 38%), linear-gradient(135deg,#e5e1d8,#f7f4ec 56%,#ded8ca); }
.theme-digital .page-hero { background: radial-gradient(circle at 15% 30%, rgba(234,23,100,.22), transparent 28%), linear-gradient(135deg,#10172b,#2a1538); }
.theme-consulting .page-hero { background: radial-gradient(circle at 15% 30%, rgba(110,97,237,.28), transparent 28%), linear-gradient(135deg,#071b29,#22234d); }

@media (max-width: 1120px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 11px;
  }

  .header-cta {
    display: none;
  }

  .home-hero__grid,
  .page-hero__grid {
    gap: 36px;
  }

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

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

  .service-card:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .section {
    padding: 80px 0;
  }

  .identity-stage {
    min-height: 330px;
  }

  .service-dialog__content {
    grid-template-columns: 1fr;
  }

  .service-dialog__group:only-child {
    grid-column: auto;
  }

  .theme-avena .page-hero > .route-globe {
    --globe-size: min(72vw, 420px);
    top: auto;
    right: 50%;
    bottom: 34px;
    left: auto;
    translate: 50% 0;
  }

  .theme-petrona .page-hero > .energy-wave {
    left: -25%;
    width: 150%;
  }

  .luma-arch {
    right: 50%;
    bottom: -40px;
    left: auto;
    width: min(68vw, 340px);
    height: 390px;
    border-width: 44px;
    border-bottom-width: 0;
    translate: 50% 0;
  }

  .luma-elevation {
    height: 34%;
    opacity: 0.12;
  }

  .site-header {
    top: 12px;
  }

  .site-header__inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    z-index: 35;
    top: 92px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: rgba(7, 27, 41, 0.98);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
    border-radius: 12px;
    font-size: 13px;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .home-hero {
    padding-top: 132px;
  }

  .home-hero__grid,
  .page-hero__grid,
  .home-about,
  .content-grid,
  .meeting-request__layout,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .meeting-request__intro {
    position: static;
  }

  .home-hero__copy {
    text-align: center;
  }

  .home-hero__summary {
    margin-inline: auto;
  }

  .home-hero .button-row {
    justify-content: center;
  }

  .orbit {
    max-width: 580px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 38px;
  }

  .stats-grid,
  .feature-row,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before {
    display: none;
  }

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

  .cta-band {
    grid-template-columns: 1fr;
    padding: 38px;
  }
}

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

  .section {
    padding: 66px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .brand strong {
    display: none;
  }

  .site-header__inner {
    gap: 10px;
    min-height: 64px;
    padding: 0 10px;
    border-radius: 20px;
  }

  .site-nav {
    top: 84px;
    right: 14px;
    left: 14px;
    max-height: calc(100dvh - 100px);
    padding: 14px;
    border-radius: 18px;
  }

  .site-nav a {
    min-height: 44px;
    align-content: center;
  }

  .brand__logo {
    width: 42px;
    height: 42px;
  }

  .header-actions {
    margin-inline-start: auto;
  }

  .language-switch {
    padding: 0 10px;
  }

  .home-hero {
    min-height: 0;
  }

  .home-hero h1 {
    font-size: clamp(34px, 10.5vw, 40px);
  }

  .home-hero__summary {
    font-size: 15px;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .button-row .button {
    width: 100%;
    justify-content: center;
  }

  .button {
    min-height: 52px;
    padding-inline: 18px;
    justify-content: center;
    text-align: center;
  }

  .eyebrow {
    min-height: 31px;
    margin-bottom: 16px;
    padding: 5px 12px;
    font-size: 10px;
  }

  .kicker {
    font-size: 9px;
    overflow-wrap: anywhere;
  }

  .page-hero__grid {
    gap: 30px;
  }

  .page-hero__grid > *,
  .home-hero__grid > * {
    min-width: 0;
  }

  .page-hero .lead,
  .section-heading p,
  .lead {
    margin-top: 14px;
    font-size: 14px;
  }

  .page-hero__meta {
    gap: 6px;
    margin-top: 20px;
  }

  .page-hero__meta span {
    padding: 6px 10px;
    font-size: 9px;
  }


  .meeting-request__layout {
    grid-template-columns: 1fr;
  }

  .meeting-request__intro {
    position: static;
    padding: 28px 22px;
  }

  .meeting-request__card {
    padding: 26px 20px;
  }

  .meeting-form {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .meeting-form__field input,
  .meeting-form__field select,
  .meeting-form__field textarea {
    font-size: 16px;
  }

  .meeting-form__field--wide {
    grid-column: auto;
  }

  .meeting-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .meeting-form__footer .button {
    width: 100%;
  }

  .orbit {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    aspect-ratio: auto;
    margin-top: 24px;
  }

  .orbit::before,
  .orbit::after {
    display: none;
  }

  .orbit__center,
  .orbit__item {
    position: static;
    width: 100%;
    height: 126px;
    transform: none;
  }

  .orbit__center {
    grid-column: 1 / -1;
    height: 104px;
  }

  .orbit__item {
    --orbit-float-distance: -3px;
    border-radius: 24px;
  }

  .orbit__center:hover {
    transform: translateY(-3px);
  }

  .orbit__item:hover {
    transform: translateY(-3px);
  }

  .subsidiary-grid,
  .service-grid,
  .project-grid,
  .stats-grid,
  .team-grid,
  .feature-row,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-grid--luma {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .display-title,
  .page-hero h1 {
    font-size: clamp(30px, 9vw, 35px);
  }

  .section-heading {
    gap: 16px;
    margin-bottom: 30px;
  }

  .page-hero {
    min-height: 0;
    padding: 140px 0 70px;
  }

  .page-hero__logo-card {
    min-height: 260px;
  }

  .identity-stage {
    min-height: 280px;
    padding: 24px;
    border-radius: 26px;
  }

  .identity-stage > img {
    width: min(210px, 68%);
  }

  .route-globe {
    width: 220px;
    height: 220px;
  }

  .transport-modes {
    right: 12px;
    bottom: 14px;
    left: 12px;
    gap: 5px;
  }

  .service-dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 24px;
  }

  .service-dialog__panel {
    max-height: calc(100dvh - 24px);
    padding: 32px 20px 26px;
  }

  .service-dialog__close {
    top: 16px;
    left: 16px;
    width: 38px;
    height: 38px;
  }

  html[dir="ltr"] .service-dialog__close {
    right: 16px;
    left: auto;
  }

  .service-dialog h2 {
    font-size: 24px;
  }

  .service-dialog__group {
    padding: 18px;
  }

  .service-dialog__content {
    gap: 12px;
    margin-top: 24px;
  }

  .service-dialog__cta {
    width: 100%;
  }

  .service-card {
    min-height: 0;
    padding: 24px;
    border-radius: 22px;
  }

  .service-card[data-service-key] {
    padding-bottom: 58px;
  }

  .service-card[data-service-key]::after {
    right: 24px;
    bottom: 21px;
  }

  .service-card:last-child:nth-child(3n + 1),
  .service-grid--luma .service-card:last-child:nth-child(3n + 1) {
    min-height: 0;
  }

  .subsidiary-card {
    min-height: 0;
    padding: 24px;
    border-radius: 24px;
  }

  .project-card__media {
    height: 210px;
  }

  .stat-card {
    min-height: 150px;
    padding: 24px;
  }

  .home-about__feature,
  .home-about__copy,
  .content-card {
    padding: 26px;
  }

  .content-card h2 {
    font-size: 26px;
  }

  .cta-band {
    padding: 28px;
    gap: 22px;
    border-radius: 26px;
  }

  .cta-band h2 {
    font-size: 30px;
  }

  .site-footer {
    padding-top: 60px;
  }

  .site-footer__grid {
    gap: 36px;
  }

  .footer-contact a,
  .footer-contact address,
  .social-links a {
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    align-items: start;
    flex-direction: column;
    margin-top: 38px;
  }

  .notice {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 14px;
    max-width: none;
  }
}

@media (hover: none) {
  .button:hover,
  .subsidiary-card:hover,
  .project-card:hover,
  .service-card:hover,
  .orbit__item:hover,
  .orbit__center:hover {
    transform: none;
  }

  .project-card:hover img {
    transform: none;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .theme-racna .page-hero::before,
  .theme-racna .page-hero::after,
  .theme-racna .page-hero > .identity-line,
  .theme-petrona .page-hero::before,
  .energy-wave,
  .theme-avena .page-hero::before,
  .theme-avena .page-hero::after,
  .route-globe,
  .theme-luma .page-hero::before,
  .theme-luma .page-hero::after,
  .luma-arch,
  .luma-elevation,
  .orbit::before,
  .orbit::after,
  .orbit__item,
  .orbit__logo {
    animation: none !important;
  }
}
