:root {
  --english-font: "Manrope", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --arabic-font: "IBM Plex Sans Arabic", "Noto Kufi Arabic", "Tahoma", Arial, sans-serif;
}

:root {
  --bg: #050505;
  --surface: #0d0d0d;
  --surface-2: #151515;
  --ink: #ffffff;
  --muted: #b8b8b8;
  --soft: #737373;
  --line: rgba(255, 255, 255, 0.14);
  --gold: #ffd000;
  --gold-2: #f2a900;
  --shadow: rgba(0, 0, 0, 0.58);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--english-font);
  font-size: 15px;
  overflow-x: clip;
}

body[dir="rtl"] {
  font-family: var(--arabic-font);
}

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

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 208, 0, 0.14), transparent 26rem),
    linear-gradient(180deg, #050505 0%, #0a0a0a 46%, #050505 100%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: 82px;
  padding: 20px clamp(20px, 5vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.08));
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 208, 0, 0.36));
}

.brand span {
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 220ms ease;
}

.nav-links a:hover::after {
  width: 100%;
}

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

.lang-toggle,
.header-cta,
.btn {
  min-height: 44px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 800;
}

.lang-toggle {
  width: 48px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.header-cta {
  padding: 0 18px;
  background: var(--ink);
  color: #050505;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: #020307;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 208, 0, 0.08), transparent 24rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.14) 56%, rgba(0, 0, 0, 0.48)),
    #020307;
  opacity: 0;
  transition: opacity 260ms ease;
}

.hero.video-failed::before {
  opacity: 1;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #020307;
  filter: saturate(1.12) contrast(1.04) brightness(1.08);
}

.hero.video-failed .hero-video {
  opacity: 0;
}

.astronaut {
  position: absolute;
  z-index: 3;
  left: clamp(330px, 40vw, 720px);
  right: auto;
  bottom: clamp(26px, 4vh, 56px);
  width: clamp(92px, 8vw, 132px);
  aspect-ratio: 1 / 1;
  height: clamp(92px, 8vw, 132px);
  object-fit: contain;
  pointer-events: none;
  animation: astronautFloat 6.5s ease-in-out infinite;
  filter: brightness(1.24) contrast(1.2) drop-shadow(0 24px 34px rgba(0, 0, 0, 0.72));
  mix-blend-mode: screen;
  transform: scaleX(-1);
}

body[dir="rtl"] .astronaut {
  left: clamp(330px, 40vw, 720px);
  right: auto;
  transform: scaleX(-1);
}

.hero-overlay {
  background:
    linear-gradient(0deg, rgba(5, 5, 5, 0.3) 0%, rgba(5, 5, 5, 0.08) 15%, rgba(5, 5, 5, 0) 38%);
}

body[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(0deg, rgba(5, 5, 5, 0.3) 0%, rgba(5, 5, 5, 0.08) 15%, rgba(5, 5, 5, 0) 38%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 150px clamp(20px, 5vw, 70px) 58px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 0;
}

.hero-copy {
  position: absolute;
  left: clamp(42px, 6vw, 120px);
  right: auto;
  bottom: clamp(18px, 3vh, 38px);
  width: min(100% - 40px, 620px);
  max-width: none;
  translate: none;
}

body[dir="rtl"] .hero-copy {
  left: clamp(42px, 6vw, 120px);
  right: auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 10vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  max-width: 860px;
}

.hero-title {
  margin-bottom: 14px;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: 0.88;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.72);
}

h1 span {
  display: block;
}

.space-title {
  max-width: 1050px;
}

.title-row {
  display: flex;
  align-items: center;
  column-gap: clamp(110px, 14vw, 230px);
  width: fit-content;
  white-space: nowrap;
}

.space-title > span:last-child {
  white-space: nowrap;
}

body[dir="rtl"] h1 {
  text-transform: none;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 1.08;
  max-width: 760px;
}

.hero-text {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.72;
  margin-bottom: 22px;
  text-shadow: 0 14px 32px rgba(0, 0, 0, 0.76);
}

.hero-buttons {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 0.9fr;
  gap: 10px;
  margin-top: 0;
}

.btn {
  min-width: 0;
  padding: 0 22px;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.hero-buttons .btn,
.hero-buttons .sound-toggle {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.88rem;
}

.btn:hover,
.contact-link:hover,
.service-item:hover,
.orbit-card:hover,
.step:hover {
  transform: translateY(-4px);
}

.btn.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #080808;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
}

.hero-panel {
  display: none;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px var(--shadow);
}

.hero-side-copy {
  position: absolute;
  right: 40px;
  bottom: 106px;
  align-self: auto;
  justify-self: auto;
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

body[dir="rtl"] .hero-side-copy {
  right: auto;
  left: 40px;
}

.sound-toggle {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  color: #080808;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
}

body[dir="rtl"] .sound-toggle {
  right: auto;
  left: auto;
}

.sound-toggle.is-playing {
  background: var(--gold);
}

.hero-panel > div {
  padding: 24px;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(16px);
}

.metric {
  display: block;
  color: var(--gold);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 0.9;
}

.hero-panel p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.band,
.services,
.process {
  position: relative;
  padding: clamp(86px, 9vw, 122px) clamp(20px, 5vw, 70px);
}

.services,
.process {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  display: grid;
  align-content: center;
  margin: 0;
}

.package-builder,
.work,
.services,
.process,
.contact {
  scroll-margin-top: 108px;
}

.package-builder,
.work,
.contact {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.section-number {
  color: rgba(255, 255, 255, 0.13);
  font-size: clamp(4rem, 11vw, 9rem);
  font-weight: 900;
  line-height: 0.8;
}

.package-head h2,
.section-head h2,
.contact h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1.85rem, 4.2vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[dir="rtl"] .package-head h2,
body[dir="rtl"] .section-head h2,
body[dir="rtl"] .contact h2 {
  text-transform: none;
  line-height: 1.15;
}

.contact-copy p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
  min-height: 3.6em;
  display: grid;
  align-items: center;
}

.contact-copy h2 {
  min-height: 2.2em;
  display: grid;
  align-items: center;
}

.package-builder {
  color: var(--ink);
}

.package-head {
  width: min(100%, var(--max));
  margin: 0 auto clamp(34px, 6vw, 70px);
  text-align: center;
  position: relative;
}

.package-head .section-number {
  position: absolute;
  top: -24px;
  right: 0;
  z-index: 0;
}

.package-head h2 {
  position: relative;
  z-index: 1;
  margin-inline: auto;
  max-width: 980px;
}

.package-form {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-row {
  min-height: 128px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  display: grid;
  align-content: start;
  gap: 12px;
  background:
    linear-gradient(135deg, rgba(255, 208, 0, 0.045), transparent 44%),
    rgba(255, 255, 255, 0.026);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.16);
}

.form-row.wide:first-child {
  background:
    radial-gradient(circle at 78% 0%, rgba(255, 208, 0, 0.13), transparent 24rem),
    rgba(255, 255, 255, 0.026);
}

.form-row.wide,
.summary-row,
.submit-package {
  grid-column: 1 / -1;
}

.form-row label,
.summary-row h3 {
  margin: 0;
  color: var(--gold);
  font-size: 0.98rem;
  font-weight: 900;
}

.required-tag,
.optional-tag {
  display: inline-flex;
  margin-inline-start: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  vertical-align: middle;
}

.required-tag {
  background: rgba(255, 82, 82, 0.16);
  color: #ff8d8d;
}

.optional-tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.choice-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
}

.ad-choice-box {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.platform-group {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.platform-only {
  --platform-accent: var(--gold);
  --platform-accent-soft: rgba(255, 208, 0, 0.12);
  min-height: 176px;
  padding: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 16px;
  color: var(--ink) !important;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.55;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 0%, var(--platform-accent-soft), transparent 11rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.platform-only::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0.72;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.platform-only::after {
  content: "";
  position: absolute;
  inset-inline: 18px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--platform-accent);
  box-shadow: 0 0 26px var(--platform-accent);
}

.accent-social,
.accent-facebook {
  --platform-accent: #1877f2;
  --platform-accent-soft: rgba(24, 119, 242, 0.18);
}

.accent-instagram {
  --platform-accent: #e4405f;
  --platform-accent-soft: rgba(228, 64, 95, 0.18);
}

.accent-messenger {
  --platform-accent: #00b2ff;
  --platform-accent-soft: rgba(0, 178, 255, 0.18);
}

.accent-whatsapp {
  --platform-accent: #25d366;
  --platform-accent-soft: rgba(37, 211, 102, 0.18);
}

.accent-google {
  --platform-accent: #34a853;
  --platform-accent-soft: rgba(66, 133, 244, 0.18);
}

.accent-tiktok {
  --platform-accent: #ff0050;
  --platform-accent-soft: rgba(0, 242, 234, 0.16);
}

.accent-snapchat {
  --platform-accent: #fffc00;
  --platform-accent-soft: rgba(255, 252, 0, 0.16);
}

.accent-linkedin {
  --platform-accent: #0a66c2;
  --platform-accent-soft: rgba(10, 102, 194, 0.18);
}

.platform-logo-stack {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
  min-height: 48px;
}

.platform-logo-stack img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  padding: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.34),
    0 0 28px var(--platform-accent-soft);
}

.accent-snapchat .platform-logo-stack img,
.accent-tiktok .platform-logo-stack img,
.accent-instagram .platform-logo-stack img {
  background: rgba(16, 16, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.platform-text {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
}

.platform-text strong {
  color: var(--platform-accent);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.25;
  font-weight: 950;
  text-shadow: 0 0 22px var(--platform-accent-soft);
}

.platform-text small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  line-height: 1.65;
}

.platform-only:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--platform-accent) 54%, transparent);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.platform-only input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  accent-color: var(--platform-accent);
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
}

.platform-only:has(input:checked) {
  border-color: color-mix(in srgb, var(--platform-accent) 74%, white 8%);
  background:
    radial-gradient(circle at 80% 0%, var(--platform-accent-soft), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.04);
  color: var(--ink) !important;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--platform-accent-soft);
}

.platform-group.is-open {
  grid-column: span 5;
}

.platform-head {
  width: 100%;
  min-height: 62px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: start;
  cursor: pointer;
  font: inherit;
}

.platform-head strong {
  color: var(--gold);
  font-size: 1rem;
}

.platform-head span {
  color: var(--muted);
  font-size: 0.82rem;
}

.platform-group.is-open .platform-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.platform-options {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
}

.platform-group.is-open .platform-options {
  display: grid;
}

.form-row .check-card,
.inline-check {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  padding: 10px 12px;
  color: var(--muted);
  cursor: pointer;
}

.form-row .check-card:has(input:checked),
.inline-check:has(input:checked) {
  color: var(--ink);
  border-color: rgba(255, 208, 0, 0.58);
  background: rgba(255, 208, 0, 0.08);
}

.form-row .check-card input[type="checkbox"],
.inline-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--gold);
}

.package-form input,
.package-form select,
.package-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.42);
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
  outline: none;
}

.package-form textarea {
  min-height: 142px;
  padding-block: 14px;
  resize: vertical;
}

.package-form input:focus,
.package-form select:focus,
.package-form textarea:focus {
  border-color: rgba(255, 208, 0, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 208, 0, 0.12);
}

.package-form option {
  background: #0b0b0b;
  color: var(--ink);
}

.field-note,
.field-error {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.field-error {
  color: #ff6b6b;
  font-weight: 800;
}

.summary-row {
  min-height: auto;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 208, 0, 0.16), transparent 26rem),
    rgba(255, 208, 0, 0.045);
  border-color: rgba(255, 208, 0, 0.22);
}

.cost-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.cost-line strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.cost-line.total {
  border-bottom: 0;
  color: var(--ink);
  font-weight: 900;
}

.cost-line.total strong {
  color: var(--gold);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.page-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.36fr);
  gap: 12px;
}

.page-preview {
  padding: 16px;
  border: 1px solid rgba(255, 208, 0, 0.34);
  border-radius: 6px;
  background: rgba(255, 208, 0, 0.06);
}

.page-preview span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-weight: 900;
}

.page-preview strong,
.page-preview a {
  display: block;
  overflow-wrap: anywhere;
}

.page-preview a {
  margin-top: 4px;
  color: var(--muted);
}

.brief-wrap {
  position: relative;
}

.brief-wrap textarea {
  padding-inline-end: 72px;
}

.mic-button {
  position: absolute;
  top: 14px;
  right: 14px;
  left: auto;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

body[dir="rtl"] .mic-button {
  right: auto;
  left: 14px;
}

.mic-button span {
  position: relative;
  width: 14px;
  height: 22px;
  border-radius: 10px;
  background: #080808;
}

.mic-button span::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 24px;
  height: 16px;
  border: 3px solid #080808;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  transform: translateX(-50%);
}

.mic-button span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 3px;
  height: 10px;
  background: #080808;
  transform: translateX(-50%);
}

.mic-button.is-recording {
  background: #ff5252;
  animation: micPulse 1s ease-in-out infinite;
}

.voice-preview {
  width: 100%;
}

.voice-upload {
  min-height: 48px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px dashed rgba(255, 208, 0, 0.55);
  border-radius: 6px;
  color: var(--ink) !important;
  cursor: pointer;
}

.voice-upload input {
  min-height: auto;
  max-width: 260px;
  padding: 0;
  border: 0;
  background: transparent;
}

@keyframes micPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.4);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(255, 82, 82, 0);
  }
}

.submit-package {
  min-height: 58px;
  border: 0;
  border-radius: 6px;
  background: var(--gold);
  color: #080808;
  font-weight: 900;
  font-size: 1.05rem;
  cursor: pointer;
}

.otp-panel,
.success-panel {
  width: min(100%, 760px);
  margin: 30px auto 0;
  padding: clamp(24px, 4vw, 38px);
  text-align: center;
  border: 1px solid rgba(255, 208, 0, 0.44);
  background: rgba(255, 208, 0, 0.08);
}

.otp-panel h3,
.success-panel h3 {
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}

.otp-panel p,
.success-panel p {
  color: var(--muted);
}

.otp-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin: 20px 0 12px;
}

.otp-row input {
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.42);
  color: var(--ink);
  padding: 0 16px;
  font: inherit;
}

.otp-row button {
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  background: var(--gold);
  color: #080808;
  font-weight: 900;
  cursor: pointer;
}

.success-check {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
  box-shadow: 0 0 0 12px rgba(34, 197, 94, 0.12);
}

.success-check::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 18px;
  width: 18px;
  height: 32px;
  border: solid #fff;
  border-width: 0 6px 6px 0;
  transform: rotate(45deg);
}

.success-panel strong {
  display: block;
  color: var(--gold);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
}

.consultation {
  overflow: hidden;
  isolation: isolate;
}

.consultation::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 22%, rgba(75, 151, 255, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 14%, rgba(255, 208, 0, 0.2) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 62%, rgba(117, 244, 255, 0.16) 0 1px, transparent 2px),
    radial-gradient(circle at 28% 78%, rgba(255, 255, 255, 0.16) 0 1px, transparent 2px),
    linear-gradient(145deg, rgba(21, 31, 56, 0.38), rgba(5, 5, 5, 0) 42%);
  background-size: 180px 180px, 240px 240px, 210px 210px, 150px 150px, auto;
  opacity: 0.9;
}

.consultation::before,
.company-services::before {
  left: 50%;
  right: auto;
  width: 100vw;
  transform: translateX(-50%);
}

.consultation::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: clamp(48px, 7vw, 96px);
  left: clamp(20px, 6vw, 84px);
  width: clamp(120px, 18vw, 240px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 208, 0, 0.28);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 208, 0, 0.18), rgba(75, 151, 255, 0.12) 46%, rgba(0, 0, 0, 0.02));
  box-shadow:
    inset -26px -24px 48px rgba(0, 0, 0, 0.42),
    0 0 68px rgba(75, 151, 255, 0.12);
}

.consultation-head::after {
  content: "";
  position: absolute;
  left: clamp(12px, 8vw, 120px);
  top: 32%;
  width: clamp(150px, 22vw, 300px);
  height: clamp(38px, 5vw, 58px);
  border-top: 1px solid rgba(255, 208, 0, 0.32);
  border-bottom: 1px solid rgba(117, 244, 255, 0.18);
  border-radius: 50%;
  rotate: -14deg;
  pointer-events: none;
}

.consultation-head {
  width: min(100%, 900px);
  max-width: 900px;
  margin: 0 auto clamp(28px, 4.8vw, 52px);
  text-align: center;
  position: relative;
}

.consultation-head .section-number {
  position: absolute;
  top: -26px;
  inset-inline-start: 0;
  z-index: 0;
}

.consultation-head h2 {
  position: relative;
  z-index: 1;
  margin: 0 auto 18px;
  color: var(--ink);
  font-size: clamp(1.9rem, 4.2vw, 4.15rem);
  line-height: 1.14;
  font-weight: 900;
  text-shadow:
    0 18px 46px rgba(0, 0, 0, 0.72),
    0 0 28px rgba(255, 208, 0, 0.16);
  min-height: 2.3em;
  display: grid;
  place-items: center;
}

.consultation-head p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  line-height: 1.75;
  min-height: 3.5em;
  display: grid;
  place-items: center;
}

.consultation-form {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}

.consultation-block {
  min-height: 126px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 208, 0, 0.07), rgba(75, 151, 255, 0.045) 46%, transparent 76%),
    rgba(7, 11, 18, 0.78);
  display: grid;
  align-content: start;
  gap: 12px;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.consultation-block.wide,
.consultation-submit {
  grid-column: 1 / -1;
}

.consultation-block h3,
.consultation-block label {
  margin: 0;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
  min-height: 2.6em;
  display: grid;
  align-items: center;
}

.consultation-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  counter-reset: consultation;
}

.consultation-choice,
.method-choice {
  --card-accent: #ffd000;
  --planet-a: #ffd000;
  --planet-b: #7a4b08;
  --planet-c: #fff3a6;
  min-height: 152px;
  padding: 76px 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background:
    radial-gradient(circle at 14% 18%, color-mix(in srgb, var(--card-accent) 18%, transparent), transparent 7.5rem),
    linear-gradient(160deg, color-mix(in srgb, var(--card-accent) 14%, transparent), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    rgba(2, 7, 14, 0.7);
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  line-height: 1.45;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.consultation-choice {
  counter-increment: consultation;
}

.consultation-choice:nth-child(5n + 1),
.method-choice:nth-child(4n + 1) {
  --card-accent: #ffd000;
  --planet-a: #ffd56a;
  --planet-b: #9a6218;
  --planet-c: #fff4b5;
}

.consultation-choice:nth-child(5n + 2),
.method-choice:nth-child(4n + 2) {
  --card-accent: #4b97ff;
  --planet-a: #2c74ff;
  --planet-b: #0d2f6d;
  --planet-c: #83d5ff;
}

.consultation-choice:nth-child(5n + 3),
.method-choice:nth-child(4n + 3) {
  --card-accent: #75f4ff;
  --planet-a: #c2f7ff;
  --planet-b: #247c92;
  --planet-c: #ffffff;
}

.consultation-choice:nth-child(5n + 4),
.method-choice:nth-child(4n + 4) {
  --card-accent: #ff5cb8;
  --planet-a: #ff8d62;
  --planet-b: #722112;
  --planet-c: #ffd0a8;
}

.consultation-choice:nth-child(5n + 5) {
  --card-accent: #8bff9a;
  --planet-a: #86d77f;
  --planet-b: #123d2e;
  --planet-c: #d8ffc8;
}

.consultation-choice.planet-mercury {
  --card-accent: #b8b0a3;
  --planet-a: #d4c7b4;
  --planet-b: #5d574f;
  --planet-c: #f2eadf;
}

.consultation-choice.planet-venus {
  --card-accent: #f0b35b;
  --planet-a: #f7d07c;
  --planet-b: #a85c1d;
  --planet-c: #fff0b9;
}

.consultation-choice.planet-earth {
  --card-accent: #4b97ff;
  --planet-a: #2f89ff;
  --planet-b: #0c315f;
  --planet-c: #59d77d;
}

.consultation-choice.planet-mars {
  --card-accent: #ff7048;
  --planet-a: #df6a3e;
  --planet-b: #672110;
  --planet-c: #ffc19d;
}

.consultation-choice.planet-jupiter {
  --card-accent: #d8a66a;
  --planet-a: #e4bd7d;
  --planet-b: #7e4c24;
  --planet-c: #fff0c7;
}

.consultation-choice.planet-saturn {
  --card-accent: #ecd58a;
  --planet-a: #f1d88c;
  --planet-b: #755929;
  --planet-c: #fff3bc;
}

.consultation-choice.planet-uranus {
  --card-accent: #89f6ff;
  --planet-a: #9cf6ff;
  --planet-b: #236d78;
  --planet-c: #e8ffff;
}

.consultation-choice.planet-neptune {
  --card-accent: #476dff;
  --planet-a: #315bff;
  --planet-b: #081e73;
  --planet-c: #9ab5ff;
}

.consultation-choice.planet-pluto {
  --card-accent: #c89c7d;
  --planet-a: #d7b18e;
  --planet-b: #5c4033;
  --planet-c: #fff0df;
}

.consultation-choice.planet-moon {
  --card-accent: #d6d9de;
  --planet-a: #e5e7eb;
  --planet-b: #62666f;
  --planet-c: #ffffff;
}

.consultation-choice::before,
.method-choice::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 48%, white 10%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.95) 0 3px, transparent 5px),
    radial-gradient(circle at 64% 70%, rgba(0, 0, 0, 0.34), transparent 18px),
    linear-gradient(115deg, transparent 0 21%, color-mix(in srgb, var(--planet-c) 60%, transparent) 22% 28%, transparent 29% 48%, color-mix(in srgb, var(--planet-b) 70%, transparent) 49% 56%, transparent 57%),
    radial-gradient(circle at 44% 44%, var(--planet-a), var(--planet-b) 72%);
  transform: translateX(50%);
  box-shadow:
    inset -8px -8px 16px rgba(0, 0, 0, 0.32),
    0 0 26px color-mix(in srgb, var(--card-accent) 38%, transparent);
}

.consultation-choice.planet-jupiter::before {
  width: 48px;
  height: 48px;
  background:
    radial-gradient(circle at 68% 58%, rgba(122, 42, 22, 0.9) 0 4px, transparent 5px),
    linear-gradient(180deg, var(--planet-c) 0 18%, var(--planet-a) 19% 32%, var(--planet-b) 33% 42%, var(--planet-c) 43% 55%, var(--planet-a) 56% 70%, var(--planet-b) 71% 100%);
}

.consultation-choice.planet-earth::before {
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.95) 0 3px, transparent 5px),
    radial-gradient(circle at 38% 60%, var(--planet-c) 0 7px, transparent 8px),
    radial-gradient(circle at 70% 34%, var(--planet-c) 0 5px, transparent 6px),
    radial-gradient(circle at 64% 70%, rgba(0, 0, 0, 0.34), transparent 18px),
    radial-gradient(circle at 44% 44%, var(--planet-a), var(--planet-b) 72%);
}

.consultation-choice.planet-moon::before,
.consultation-choice.planet-mercury::before {
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.85) 0 3px, transparent 4px),
    radial-gradient(circle at 64% 34%, rgba(0, 0, 0, 0.28) 0 4px, transparent 5px),
    radial-gradient(circle at 42% 68%, rgba(0, 0, 0, 0.22) 0 5px, transparent 6px),
    radial-gradient(circle at 44% 44%, var(--planet-a), var(--planet-b) 72%);
}

.consultation-choice::after,
.method-choice::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 50%;
  width: 58px;
  height: 14px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--card-accent) 42%, transparent);
  border-left: 0;
  border-right: 0;
  border-radius: 50%;
  background: transparent;
  transform: translateX(-50%) rotate(-15deg);
  box-shadow: 0 0 20px color-mix(in srgb, var(--card-accent) 12%, transparent);
}

.method-choice::after {
  content: "";
  top: 23px;
  right: 10px;
  left: auto;
  width: 52px;
  height: 18px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border-top: 1px solid color-mix(in srgb, var(--card-accent) 54%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--card-accent) 22%, transparent);
  border-radius: 50%;
  background: transparent;
  rotate: -16deg;
  opacity: 0.72;
}

.consultation-choice:hover,
.method-choice:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--card-accent) 56%, white 8%);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    0 0 0 1px color-mix(in srgb, var(--card-accent) 18%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.consultation-choice:has(input:checked),
.method-choice:has(input:checked) {
  border-color: color-mix(in srgb, var(--card-accent) 78%, white 12%);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.86) 0 1px, transparent 2px),
    radial-gradient(circle at 36% 68%, rgba(255, 255, 255, 0.74) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 28%, color-mix(in srgb, var(--card-accent) 86%, white 10%) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 78%, rgba(117, 244, 255, 0.78) 0 1px, transparent 2px),
    linear-gradient(160deg, color-mix(in srgb, var(--card-accent) 22%, transparent), transparent 58%),
    rgba(255, 255, 255, 0.055);
  background-size: 72px 72px, 96px 96px, 82px 82px, 114px 114px, auto, auto;
  color: var(--ink);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.32),
    0 0 0 1px color-mix(in srgb, var(--card-accent) 28%, transparent),
    0 0 34px color-mix(in srgb, var(--card-accent) 16%, transparent);
  animation: selectedStars 3.8s linear infinite;
}

.consultation-choice:has(input:checked)::before,
.method-choice:has(input:checked)::before {
  animation: selectedPlanet 3.6s ease-in-out infinite;
}

.consultation-choice span::before {
  content: "";
  position: absolute;
  display: none;
  top: -36px;
  left: 0;
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-accent) 48%, transparent);
}

.consultation-choice input,
.method-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consultation-choice span,
.method-choice span {
  overflow-wrap: anywhere;
  font-weight: 700;
  position: relative;
  z-index: 1;
  text-align: center;
}

.consultation-choice span {
  font-size: clamp(0.86rem, 0.92vw, 0.98rem);
  line-height: 1.45;
  min-height: 4.35em;
  display: grid;
  place-items: center;
}

.consultation-form input:not([type="radio"]),
.consultation-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.42);
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
  outline: none;
}

.consultation-form textarea {
  min-height: 142px;
  padding-block: 14px;
  resize: vertical;
}

.consultation-form input:not([type="radio"]):focus,
.consultation-form textarea:focus {
  border-color: rgba(255, 208, 0, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 208, 0, 0.12);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.method-choice {
  min-height: 108px;
  align-items: center;
  padding: 72px 16px 18px;
}

.method-choice::before {
  top: 18px;
  right: 50%;
  width: 40px;
  height: 40px;
  transform: translateX(50%);
}

.method-choice::after {
  top: 31px;
  right: auto;
  left: 50%;
  transform: translateX(-50%) rotate(-16deg);
}

.method-choice span {
  font-size: clamp(0.98rem, 1.12vw, 1.12rem);
  line-height: 1.35;
  font-weight: 800;
  min-height: 2.7em;
  display: grid;
  place-items: center;
}

.consultation-success {
  width: min(100%, 880px);
  margin: 30px auto 0;
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
  border: 1px solid rgba(255, 208, 0, 0.44);
  border-radius: 6px;
  background: rgba(255, 208, 0, 0.08);
}

.consultation-success h3 {
  max-width: 760px;
  margin: 0 auto 14px;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 1.45;
}

.consultation-success p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.section-head {
  margin-bottom: clamp(36px, 6vw, 70px);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service-item {
  min-height: 236px;
  padding: clamp(24px, 4vw, 38px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  transition: transform 200ms ease, background 200ms ease;
}

body[dir="rtl"] .service-item {
  border-right: 0;
  border-left: 1px solid var(--line);
}

.service-item:hover {
  background: rgba(255, 208, 0, 0.07);
}

.service-item span,
.step strong {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--gold);
  font-weight: 900;
}

.service-item h3,
.orbit-card h3,
.step h3 {
  margin-bottom: 14px;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
}

.service-item p,
.orbit-card p,
.step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.68;
}

.work {
  display: block;
  overflow: hidden;
  isolation: isolate;
}

.work .section-head {
  max-width: 940px;
  margin: 0 auto clamp(34px, 6vw, 64px);
  text-align: center;
  position: relative;
}

.work > .section-number {
  position: absolute;
  top: clamp(72px, 9vw, 116px);
  right: clamp(20px, 7vw, 100px);
  z-index: 0;
  pointer-events: none;
}

.work .section-head > * {
  position: relative;
  z-index: 1;
}

.work::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 24%, rgba(255, 208, 0, 0.12), transparent 18rem),
    radial-gradient(circle at 86% 68%, rgba(75, 151, 255, 0.14), transparent 22rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 44%);
}

.portfolio-head {
  max-width: 900px;
}

.portfolio-intro {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
  min-height: 3.8em;
  display: grid;
  place-items: center;
}

.portfolio-tabs,
.client-orbit,
.portfolio-grid {
  grid-column: 2;
}

.portfolio-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.portfolio-tab {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-weight: 900;
}

.portfolio-tab.is-active {
  border-color: rgba(255, 208, 0, 0.68);
  background: rgba(255, 208, 0, 0.12);
  color: var(--ink);
  box-shadow: 0 0 28px rgba(255, 208, 0, 0.1);
}

.client-orbit {
  min-height: 112px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(255, 208, 0, 0.08), transparent 42%),
    rgba(0, 0, 0, 0.2);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.client-logo {
  min-height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  display: grid;
  place-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.035);
  position: relative;
  overflow: hidden;
}

.client-logo::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 208, 0, 0.2);
  border-radius: 50%;
  rotate: -18deg;
}

.client-logo span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #080808;
  font-weight: 950;
}

.client-logo strong {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

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

.portfolio-card,
.step,
.contact-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.portfolio-card:hover,
.step:hover,
.contact-link:hover {
  border-color: rgba(255, 208, 0, 0.46);
}

.portfolio-card {
  min-height: 430px;
  border-radius: 6px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.22);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  background:
    linear-gradient(145deg, rgba(255, 208, 0, 0.09), rgba(75, 151, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
}

.portfolio-visual {
  min-height: 210px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 7rem),
    #090909;
}

.portfolio-visual::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 78px;
  left: -44px;
  top: 58px;
  border-top: 1px solid rgba(255, 208, 0, 0.26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  rotate: -18deg;
}

.portfolio-logo-mark {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #070707;
  font-weight: 950;
  font-size: 1.35rem;
  box-shadow: 0 0 28px rgba(255, 208, 0, 0.22);
}

.portfolio-shot {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: min(70%, 250px);
  aspect-ratio: 1.35;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.menu-shot {
  background:
    radial-gradient(circle at 28% 36%, #ffcf66 0 18px, transparent 19px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 2px, transparent 2px 18px),
    linear-gradient(145deg, #31150b, #110806);
}

.clinic-shot {
  background:
    linear-gradient(90deg, rgba(117, 244, 255, 0.28) 0 28%, transparent 28%),
    linear-gradient(145deg, #072433, #061015);
}

.estate-shot {
  background:
    linear-gradient(135deg, transparent 0 38%, rgba(255, 208, 0, 0.36) 39% 42%, transparent 43%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 24px),
    #10131a;
}

.academy-shot {
  background:
    radial-gradient(circle at 70% 30%, rgba(75, 151, 255, 0.46), transparent 4rem),
    linear-gradient(145deg, #12172a, #090b12);
}

.store-shot {
  background:
    linear-gradient(90deg, rgba(255, 208, 0, 0.34) 0 18%, transparent 18% 26%, rgba(255, 255, 255, 0.2) 26% 44%, transparent 44%),
    linear-gradient(145deg, #17110a, #070707);
}

.beauty-shot {
  background:
    radial-gradient(circle at 70% 35%, rgba(255, 92, 184, 0.42), transparent 5rem),
    linear-gradient(145deg, #24101d, #080507);
}

.portfolio-card-copy {
  padding: 22px;
}

.portfolio-type {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 950;
}

.portfolio-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.portfolio-card p {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.portfolio-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-metrics span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 208, 0, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
}

.portfolio-galaxy,
.portfolio-pages {
  width: min(100%, var(--max));
  margin-left: auto;
  margin-right: auto;
}

.portfolio-galaxy {
  min-height: 500px;
  margin-bottom: 28px;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 28%, rgba(75, 151, 255, 0.16), transparent 14rem),
    radial-gradient(circle at 78% 62%, rgba(255, 208, 0, 0.14), transparent 16rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.018));
  display: grid;
  grid-template-columns: repeat(3, minmax(230px, 300px));
  gap: 18px;
  justify-content: center;
  align-content: center;
  position: relative;
  overflow: hidden;
}

.portfolio-galaxy::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transform: rotate(-10deg);
  pointer-events: none;
}

.field-planet {
  --planet-1: #ffd000;
  --planet-2: #704200;
  --planet-glow: rgba(255, 208, 0, 0.2);
  min-height: 252px;
  padding: 22px 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 18%, var(--planet-glow), transparent 7rem),
    rgba(0, 0, 0, 0.24);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  align-content: end;
  justify-items: center;
  text-align: center;
  gap: 9px;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.field-planet:hover,
.field-planet.is-active {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--planet-1) 64%, white 10%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34), 0 0 38px var(--planet-glow);
}

.planet-core {
  position: absolute;
  top: 22px;
  right: 50%;
  width: 82px;
  height: 82px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.3), transparent 1.6rem),
    linear-gradient(145deg, color-mix(in srgb, var(--planet-1) 24%, transparent), color-mix(in srgb, var(--planet-2) 42%, transparent)),
    rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 42px var(--planet-glow);
  transform: translateX(50%);
}

.planet-core::before,
.planet-core::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border-color: color-mix(in srgb, var(--planet-1) 82%, white 8%);
}

.field-planet strong {
  position: relative;
  z-index: 1;
  font-size: clamp(1.02rem, 1.45vw, 1.28rem);
  line-height: 1.25;
  font-weight: 800;
  min-height: 2.5em;
  display: grid;
  place-items: center;
}

.field-planet small {
  position: relative;
  z-index: 1;
  max-width: 240px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  line-height: 1.5;
  min-height: 3em;
  display: grid;
  place-items: center;
}

.planet-food {
  --planet-1: #ffcb5f;
  --planet-2: #64260e;
  --planet-glow: rgba(255, 163, 53, 0.24);
}

.planet-food .planet-core::before {
  width: 52px;
  height: 52px;
  border: 4px solid;
  border-radius: 50%;
}

.planet-food .planet-core::after {
  width: 56px;
  height: 28px;
  border-top: 4px solid;
  border-right: 4px solid;
  transform: translateY(20px) rotate(-8deg);
}

.planet-medical {
  --planet-1: #82f6ff;
  --planet-2: #074a67;
  --planet-glow: rgba(117, 244, 255, 0.2);
}

.planet-medical .planet-core::before {
  width: 58px;
  height: 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--planet-1) 82%, white 8%);
}

.planet-medical .planet-core::after {
  width: 18px;
  height: 58px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--planet-1) 82%, white 8%);
}

.planet-realestate {
  --planet-1: #d8b27b;
  --planet-2: #312412;
  --planet-glow: rgba(216, 178, 123, 0.22);
}

.planet-realestate .planet-core::before {
  width: 58px;
  height: 54px;
  border: 4px solid;
  border-top: 0;
}

.planet-realestate .planet-core::after {
  width: 44px;
  height: 44px;
  border-top: 4px solid;
  border-right: 4px solid;
  transform: translateY(-24px) rotate(-45deg);
}

.planet-education {
  --planet-1: #6fa2ff;
  --planet-2: #172862;
  --planet-glow: rgba(75, 151, 255, 0.22);
}

.planet-education .planet-core::before {
  width: 62px;
  height: 48px;
  border: 4px solid;
  border-radius: 4px 14px 14px 4px;
  transform: translateX(-8px) skewY(-6deg);
}

.planet-education .planet-core::after {
  width: 62px;
  height: 48px;
  border: 4px solid;
  border-radius: 14px 4px 4px 14px;
  transform: translateX(8px) skewY(6deg);
}

.planet-commerce {
  --planet-1: #8bff9a;
  --planet-2: #123d2e;
  --planet-glow: rgba(139, 255, 154, 0.2);
}

.planet-commerce .planet-core::before {
  width: 58px;
  height: 46px;
  border: 4px solid;
  border-radius: 8px;
  transform: translateY(8px);
}

.planet-commerce .planet-core::after {
  width: 30px;
  height: 18px;
  border: 4px solid;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform: translateY(-22px);
}

.planet-beauty {
  --planet-1: #ff75c8;
  --planet-2: #4b102f;
  --planet-glow: rgba(255, 92, 184, 0.22);
}

.planet-beauty .planet-core::before {
  width: 64px;
  height: 64px;
  background:
    linear-gradient(45deg, transparent 42%, color-mix(in srgb, var(--planet-1) 82%, white 10%) 43% 57%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, color-mix(in srgb, var(--planet-1) 82%, white 10%) 43% 57%, transparent 58%);
}

.planet-beauty .planet-core::after {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--planet-1) 82%, white 12%);
  transform: translate(30px, -24px);
}

.portfolio-pages {
  position: relative;
}

.portfolio-page {
  display: none;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.25);
}

.portfolio-page.is-active {
  display: block;
  animation: portfolioPageIn 360ms ease both;
}

.portfolio-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.36fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.portfolio-kicker {
  color: var(--gold);
  font-weight: 950;
}

.portfolio-page h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  line-height: 1.12;
}

.portfolio-page p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.portfolio-client-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.portfolio-client-strip span {
  min-height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #080808;
  background: var(--gold);
  font-weight: 950;
  box-shadow: 0 0 24px rgba(255, 208, 0, 0.12);
}

.portfolio-work-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.work-sample {
  min-height: 220px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  display: grid;
  align-content: end;
  gap: 8px;
  overflow: hidden;
  position: relative;
}

.work-sample::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 52%);
}

.work-sample strong,
.work-sample span {
  position: relative;
  z-index: 1;
}

.work-sample strong {
  font-size: 1.18rem;
}

.work-sample span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.portfolio-detail-shell {
  background:
    radial-gradient(circle at 18% 16%, rgba(75, 151, 255, 0.18), transparent 22rem),
    radial-gradient(circle at 82% 34%, rgba(255, 208, 0, 0.14), transparent 20rem),
    #050505;
}

.portfolio-detail-hero {
  min-height: 86svh;
  padding: 150px clamp(20px, 5vw, 70px) 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  align-items: end;
  gap: clamp(32px, 6vw, 90px);
  position: relative;
  overflow: hidden;
}

.portfolio-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.2) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 28%, rgba(255, 208, 0, 0.22) 0 1px, transparent 2px),
    radial-gradient(circle at 44% 76%, rgba(117, 244, 255, 0.16) 0 1px, transparent 2px);
  background-size: 180px 180px, 240px 240px, 210px 210px;
  opacity: 0.72;
}

.back-link {
  position: absolute;
  top: 116px;
  right: clamp(20px, 5vw, 70px);
  z-index: 2;
  color: var(--gold);
  font-weight: 900;
}

.detail-planet {
  --planet-1: #ffd000;
  --planet-2: #704200;
  --planet-glow: rgba(255, 208, 0, 0.22);
  position: absolute;
  left: clamp(16px, 8vw, 120px);
  top: 22%;
  width: clamp(210px, 28vw, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.9) 0 14px, transparent 18px),
    linear-gradient(130deg, transparent 0 24%, color-mix(in srgb, var(--planet-1) 48%, transparent) 25% 32%, transparent 33% 48%, color-mix(in srgb, var(--planet-2) 72%, transparent) 49% 58%, transparent 59%),
    radial-gradient(circle at 44% 44%, var(--planet-1), var(--planet-2) 76%);
  box-shadow:
    inset -42px -48px 80px rgba(0, 0, 0, 0.42),
    0 0 90px var(--planet-glow);
}

.detail-planet::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  top: 43%;
  height: 22%;
  border-top: 3px solid color-mix(in srgb, var(--planet-1) 45%, transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  rotate: -14deg;
}

.portfolio-detail-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.portfolio-detail-copy h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 1;
  text-transform: none;
}

.portfolio-detail-copy p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.9;
}

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

.detail-stat {
  min-height: 98px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.detail-stat strong {
  display: block;
  color: var(--gold);
  font-size: 1.8rem;
}

.detail-stat span {
  color: var(--muted);
  font-weight: 800;
}

.detail-section {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 70px);
  border-top: 1px solid var(--line);
}

.detail-section-head {
  width: min(100%, var(--max));
  margin: 0 auto 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.detail-section-head span {
  color: rgba(255, 255, 255, 0.13);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 950;
  line-height: 0.8;
}

.detail-section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 4rem);
  line-height: 1.1;
}

.detail-client-grid,
.detail-work-grid,
.detail-service-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

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

.detail-client-card,
.detail-service-card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.2);
}

.detail-client-card span {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #080808;
  font-weight: 950;
}

.detail-client-card strong,
.detail-service-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.detail-client-card p,
.detail-service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.detail-work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.service-detail-shell {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 208, 0, 0.16), transparent 22rem),
    radial-gradient(circle at 82% 42%, rgba(75, 151, 255, 0.14), transparent 22rem),
    #050505;
}

.service-detail-hero {
  min-height: 84svh;
  padding: 150px clamp(20px, 5vw, 70px) 72px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.service-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 38%, rgba(255, 208, 0, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 46% 76%, rgba(117, 244, 255, 0.14) 0 1px, transparent 2px);
  background-size: 180px 180px, 240px 240px, 210px 210px;
  opacity: 0.74;
}

.service-detail-copy {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  order: 2;
}

.service-detail-copy h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
  text-transform: none;
}

.service-detail-copy p:last-child {
  max-width: 720px;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.9;
}

.service-detail-icon {
  --service-accent: var(--gold);
  --service-glow: rgba(255, 208, 0, 0.22);
  position: relative;
  z-index: 1;
  width: clamp(132px, 18vw, 210px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.22), transparent 5rem),
    color-mix(in srgb, var(--service-accent) 14%, rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 0 72px var(--service-glow);
  order: 1;
}

.service-detail-icon::before,
.service-detail-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border-color: color-mix(in srgb, var(--service-accent) 86%, white 8%);
}

.service-detail-icon.icon-social::before {
  width: 58%;
  height: 42%;
  border: 5px solid;
  border-radius: 18px;
}

.service-detail-icon.icon-social::after {
  width: 20%;
  height: 20%;
  border-left: 5px solid;
  border-bottom: 5px solid;
  transform: translate(46px, 44px) rotate(-22deg);
}

.service-detail-icon.icon-photo::before {
  width: 58%;
  height: 40%;
  border: 5px solid;
  border-radius: 12px;
}

.service-detail-icon.icon-photo::after {
  width: 24%;
  height: 24%;
  border: 5px solid;
  border-radius: 50%;
}

.service-detail-icon.icon-video::before {
  width: 46%;
  height: 58%;
  border: 5px solid;
  border-radius: 18px;
}

.service-detail-icon.icon-video::after {
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-right: 28px solid color-mix(in srgb, var(--service-accent) 86%, white 8%);
}

.service-detail-icon.icon-ads::before {
  width: 56%;
  height: 36%;
  border: 5px solid;
  border-radius: 14px;
  transform: rotate(-10deg);
}

.service-detail-icon.icon-ads::after {
  width: 30%;
  height: 5px;
  background: color-mix(in srgb, var(--service-accent) 86%, white 8%);
  transform: translate(-42px, 52px) rotate(70deg);
}

.service-detail-icon.icon-brand::before {
  width: 60%;
  height: 60%;
  border: 5px solid;
  border-radius: 50%;
}

.service-detail-icon.icon-brand::after {
  width: 24%;
  height: 24%;
  border: 5px solid;
  transform: rotate(45deg);
}

.service-detail-icon.icon-copy::before {
  width: 54%;
  height: 66%;
  border: 5px solid;
  border-radius: 12px;
}

.service-detail-icon.icon-copy::after {
  width: 36%;
  height: 22%;
  border-top: 5px solid;
  border-bottom: 5px solid;
}

.service-detail-icon.icon-motion::before {
  width: 60%;
  height: 42%;
  border: 5px solid;
  border-radius: 14px;
}

.service-detail-icon.icon-motion::after {
  width: 58%;
  height: 58%;
  border: 4px dashed;
  border-radius: 50%;
}

.service-detail-icon.icon-web::before {
  width: 62%;
  height: 46%;
  border: 5px solid;
  border-radius: 12px;
}

.service-detail-icon.icon-web::after {
  width: 44%;
  height: 5px;
  background: color-mix(in srgb, var(--service-accent) 86%, white 8%);
  box-shadow: 0 20px 0 color-mix(in srgb, var(--service-accent) 60%, transparent);
}

.card-visual {
  min-height: 210px;
  margin-bottom: 24px;
  border-radius: 4px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 208, 0, 0.22), transparent 38%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 22px),
    #111;
  position: relative;
}

.card-visual::before,
.card-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 208, 0, 0.55);
}

.card-visual::before {
  inset: 38px 26px;
}

.card-visual::after {
  width: 84px;
  height: 84px;
  right: 32px;
  bottom: 28px;
  background: rgba(255, 208, 0, 0.12);
}

body[dir="rtl"] .card-visual::after {
  right: auto;
  left: 32px;
}

.card-visual.content {
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 208, 0, 0.36), transparent 7rem),
    linear-gradient(140deg, #171717, #070707);
}

.card-visual.brand {
  background:
    conic-gradient(from 180deg at 50% 50%, rgba(255, 208, 0, 0.42), transparent, rgba(255, 255, 255, 0.18), transparent),
    #101010;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.step {
  min-height: 260px;
  padding: 30px;
  border: 0;
  background: #090909;
}

.company-services {
  overflow: hidden;
  isolation: isolate;
  justify-items: center;
}

.company-services::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  right: auto;
  width: 100vw;
  z-index: -1;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 208, 0, 0.12), transparent 18rem),
    radial-gradient(circle at 82% 58%, rgba(75, 151, 255, 0.14), transparent 22rem),
    radial-gradient(circle at 50% 88%, rgba(255, 92, 184, 0.08), transparent 18rem);
}

.services-head {
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}

.services-head h2 {
  max-width: 940px;
  margin-inline: auto;
  font-size: clamp(2rem, 5.2vw, 4.7rem);
  line-height: 1.08;
  font-weight: 900;
  min-height: 2.16em;
  display: grid;
  place-items: center;
}

.services-intro {
  max-width: 760px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
  min-height: 3.44em;
  display: grid;
  place-items: center;
}

.service-universe {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  --service-accent: var(--gold);
  --service-glow: rgba(255, 208, 0, 0.18);
  min-height: 310px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 18%, var(--service-glow), transparent 7rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.24);
  display: grid;
  align-content: start;
  gap: 12px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transform-style: preserve-3d;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 38%, rgba(255, 255, 255, 0.22) 48%, transparent 58%);
  opacity: 0;
  transform: translateX(38%) rotate(12deg);
  transition: opacity 220ms ease, transform 520ms ease;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.025);
  border-color: color-mix(in srgb, var(--service-accent) 66%, white 10%);
  background:
    radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--service-accent) 22%, transparent), transparent 8rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.022)),
    rgba(0, 0, 0, 0.24);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42), 0 0 54px var(--service-glow);
}

.service-card:hover::after {
  opacity: 1;
  transform: translateX(-38%) rotate(12deg);
}

.service-card strong {
  position: absolute;
  top: 16px;
  left: 16px;
  color: color-mix(in srgb, var(--service-accent) 72%, white 8%);
  font-size: 0.72rem;
}

.service-card h3 {
  margin: 112px 0 0;
  font-size: clamp(1.02rem, 1.45vw, 1.24rem);
  line-height: 1.28;
  font-weight: 800;
  min-height: 2.6em;
  display: grid;
  align-items: end;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.58;
  min-height: 5em;
}

.service-icon {
  position: absolute;
  top: 28px;
  right: 50%;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  transform: translateX(50%);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.24), transparent 1.6rem),
    color-mix(in srgb, var(--service-accent) 16%, rgba(255, 255, 255, 0.045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 0 30px var(--service-glow);
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border-color: color-mix(in srgb, var(--service-accent) 86%, white 8%);
}

.service-social {
  --service-accent: #4b97ff;
  --service-glow: rgba(75, 151, 255, 0.22);
}

.service-social .service-icon::before {
  width: 52px;
  height: 38px;
  border: 4px solid;
  border-radius: 14px;
}

.service-social .service-icon::after {
  width: 18px;
  height: 18px;
  border-left: 4px solid;
  border-bottom: 4px solid;
  transform: translate(18px, 18px) rotate(-22deg);
}

.service-photo {
  --service-accent: #ffd000;
  --service-glow: rgba(255, 208, 0, 0.22);
}

.service-photo .service-icon::before {
  width: 56px;
  height: 38px;
  border: 4px solid;
  border-radius: 8px;
}

.service-photo .service-icon::after {
  width: 22px;
  height: 22px;
  border: 4px solid;
  border-radius: 50%;
}

.service-photo:hover .service-icon {
  animation: cameraFlash 900ms ease;
}

.service-video {
  --service-accent: #ff5cb8;
  --service-glow: rgba(255, 92, 184, 0.22);
}

.service-video .service-icon::before {
  width: 46px;
  height: 56px;
  border: 4px solid;
  border-radius: 12px;
}

.service-video .service-icon::after {
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-right: 20px solid color-mix(in srgb, var(--service-accent) 86%, white 8%);
}

.service-video:hover .service-icon::after {
  animation: playPulse 900ms ease infinite;
}

.service-ads {
  --service-accent: #8bff9a;
  --service-glow: rgba(139, 255, 154, 0.2);
}

.service-ads .service-icon::before {
  width: 52px;
  height: 34px;
  border: 4px solid;
  border-radius: 10px;
  transform: rotate(-10deg);
}

.service-ads .service-icon::after {
  width: 26px;
  height: 4px;
  background: color-mix(in srgb, var(--service-accent) 86%, white 8%);
  transform: translate(-22px, 26px) rotate(70deg);
}

.service-ads:hover .service-icon {
  animation: adWave 1.1s ease infinite;
}

.service-brand {
  --service-accent: #f0b35b;
  --service-glow: rgba(240, 179, 91, 0.22);
}

.service-brand .service-icon::before {
  width: 58px;
  height: 58px;
  border: 4px solid;
  border-radius: 50%;
}

.service-brand .service-icon::after {
  width: 22px;
  height: 22px;
  border: 4px solid;
  transform: rotate(45deg);
}

.service-copy {
  --service-accent: #d6d9de;
  --service-glow: rgba(214, 217, 222, 0.16);
}

.service-copy .service-icon::before {
  width: 54px;
  height: 62px;
  border: 4px solid;
  border-radius: 8px;
}

.service-copy .service-icon::after {
  width: 34px;
  height: 20px;
  border-top: 4px solid;
  border-bottom: 4px solid;
}

.service-motion {
  --service-accent: #75f4ff;
  --service-glow: rgba(117, 244, 255, 0.2);
}

.service-motion .service-icon::before {
  width: 60px;
  height: 42px;
  border: 4px solid;
  border-radius: 10px;
}

.service-motion .service-icon::after {
  width: 52px;
  height: 52px;
  border: 3px dashed;
  border-radius: 50%;
}

.service-motion:hover .service-icon::after {
  animation: motionSpin 1.3s linear infinite;
}

.service-web {
  --service-accent: #9f7cff;
  --service-glow: rgba(159, 124, 255, 0.2);
}

.service-web .service-icon::before {
  width: 60px;
  height: 44px;
  border: 4px solid;
  border-radius: 8px;
}

.service-web .service-icon::after {
  width: 42px;
  height: 4px;
  background: color-mix(in srgb, var(--service-accent) 86%, white 8%);
  box-shadow: 0 14px 0 color-mix(in srgb, var(--service-accent) 60%, transparent);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: clamp(34px, 6vw, 80px);
  min-height: 100svh;
}

.contact-actions {
  display: grid;
  gap: 14px;
}

.contact-link {
  min-height: 108px;
  padding: 20px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 208, 0, 0.09), transparent 7rem),
    rgba(255, 255, 255, 0.028);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.contact-link span {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.82rem;
  min-height: 1.3em;
}

.contact-link strong {
  font-size: clamp(1rem, 1.7vw, 1.34rem);
  overflow-wrap: anywhere;
  min-height: 1.45em;
}

.contact-map {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.contact-map iframe {
  display: block;
  width: 100%;
  min-height: clamp(280px, 34vw, 430px);
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

.contact-map a {
  min-height: 54px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080808;
  background: var(--gold);
  font-weight: 900;
  text-align: center;
}

.site-footer {
  min-height: 96px;
  padding: 28px clamp(20px, 5vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.site-footer a {
  color: var(--gold);
  font-weight: 800;
}

.request-success-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 80px);
}

.request-success-card {
  width: min(100%, 840px);
  min-height: min(620px, calc(100svh - 56px));
  padding: clamp(30px, 6vw, 70px);
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 208, 0, 0.16), transparent 15rem),
    radial-gradient(circle at 82% 70%, rgba(75, 151, 255, 0.14), transparent 18rem),
    rgba(5, 8, 14, 0.82);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.request-success-card h1 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(2.2rem, 7vw, 5.8rem);
  line-height: 1.08;
}

.request-success-card p {
  max-width: 620px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.8;
}

.request-success-card a {
  min-height: 52px;
  margin-top: 28px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--gold);
  color: #080808;
  font-weight: 900;
}

.courses-shell {
  min-height: 100svh;
}

.courses-hero {
  min-height: 100svh;
  padding: clamp(140px, 14vw, 190px) clamp(20px, 6vw, 80px) clamp(70px, 8vw, 120px);
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.courses-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 208, 0, 0.14), transparent 18rem),
    radial-gradient(circle at 76% 64%, rgba(75, 151, 255, 0.15), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0));
}

.courses-orbit {
  position: absolute;
  width: clamp(260px, 42vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 208, 0, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(255, 208, 0, 0.08);
  transform: rotate(-18deg);
  z-index: -1;
}

.courses-orbit::before {
  content: "";
  position: absolute;
  top: 18%;
  right: 9%;
  width: clamp(54px, 8vw, 112px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.88), transparent 14px),
    radial-gradient(circle at 50% 50%, var(--gold), #6f4300 72%);
  box-shadow: 0 0 42px rgba(255, 208, 0, 0.28);
}

.courses-hero > *:not(.courses-orbit) {
  width: min(100%, 920px);
}

.courses-hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.8rem);
  line-height: 1.02;
}

.coming-soon {
  margin-top: clamp(24px, 4vw, 42px);
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 208, 0, 0.12), transparent 10rem),
    rgba(5, 8, 14, 0.74);
  backdrop-filter: blur(12px);
  min-height: 260px;
  display: grid;
  align-content: center;
}

.coming-soon strong {
  display: block;
  color: var(--gold);
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
}

.coming-soon p {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  line-height: 1.8;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes astronautFloat {
  0%,
  100% {
    translate: 0 0;
    rotate: -5deg;
  }

  50% {
    translate: 18px -22px;
    rotate: 7deg;
  }
}

@keyframes selectedStars {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  }

  100% {
    background-position: 72px 38px, -96px 58px, 82px -44px, -114px -62px, 0 0, 0 0;
  }
}

@keyframes selectedPlanet {
  0%,
  100% {
    scale: 1;
    rotate: 0deg;
  }

  50% {
    scale: 1.08;
    rotate: 8deg;
  }
}

@keyframes portfolioPageIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cameraFlash {
  0%,
  100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 0 30px var(--service-glow);
  }

  36% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.13),
      0 0 0 999px rgba(255, 255, 255, 0.08),
      0 0 70px rgba(255, 255, 255, 0.42);
  }
}

@keyframes playPulse {
  50% {
    scale: 1.16;
    filter: drop-shadow(0 0 16px var(--service-accent));
  }
}

@keyframes adWave {
  50% {
    rotate: -6deg;
    scale: 1.06;
  }
}

@keyframes motionSpin {
  to {
    rotate: 360deg;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: auto;
    flex-wrap: wrap;
    padding: 16px 20px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  body[dir="rtl"] .nav-links {
    justify-content: flex-end;
  }

  .hero-grid,
  .work,
  .contact {
    grid-template-columns: 1fr;
  }

  .package-form,
  .choice-grid,
  .platform-options,
  .page-link-row,
  .otp-row,
  .consultation-form,
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .ad-choice-box {
    grid-template-columns: 1fr;
  }

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

  .platform-group.is-open {
    grid-column: auto;
  }

  .hero-grid {
    padding: 165px 22px 42px;
  }

  .hero-copy {
    left: 18px;
    right: 18px;
    bottom: 24px;
    width: min(100% - 36px, 520px);
  }

  body[dir="rtl"] .hero-copy {
    left: 18px;
    right: 18px;
  }

  .hero-panel {
    max-width: 520px;
  }

  .hero-side-copy {
    display: none;
  }

  .astronaut {
    left: min(74vw, 420px);
    right: auto;
    bottom: 56px;
    width: 92px;
    height: 92px;
    mix-blend-mode: screen;
  }

  body[dir="rtl"] .astronaut {
    left: min(74vw, 420px);
    right: auto;
  }

  .section-number,
  .work .section-head,
  .portfolio-tabs,
  .client-orbit,
  .portfolio-grid {
    grid-column: auto;
  }

  .service-list,
  .portfolio-grid,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .portfolio-galaxy {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
  }

  .portfolio-page-head,
  .portfolio-work-list,
  .portfolio-detail-hero,
  .service-detail-hero,
  .detail-client-grid,
  .detail-work-grid,
  .detail-service-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-detail-hero {
    min-height: auto;
    padding-top: 170px;
  }

  .service-detail-hero {
    min-height: auto;
    padding-top: 170px;
  }

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

  .detail-planet {
    opacity: 0.36;
    left: 20px;
    top: 150px;
  }

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

  .service-item {
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .brand span {
    display: none;
  }

  .header-cta {
    display: none;
  }

  h1 {
    font-size: clamp(3.05rem, 17vw, 4.8rem);
  }

  .hero-title {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .hero-copy {
    width: min(100% - 36px, 280px);
  }

  .astronaut {
    display: block;
    left: 256px;
    bottom: 108px;
    width: 74px;
    height: 74px;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .portfolio-tabs,
  .client-orbit,
  .portfolio-galaxy {
    grid-template-columns: 1fr;
  }

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

  .portfolio-card {
    min-height: auto;
  }

  .portfolio-detail-copy h1 {
    font-size: clamp(2.3rem, 13vw, 4.4rem);
  }

  .detail-section-head {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .band,
  .services,
  .process {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 126px;
  }

  body {
    font-size: 14px;
  }

  .site-header {
    min-height: 0;
    padding: 10px 14px 12px;
    gap: 10px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.76));
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand span {
    display: inline;
    max-width: 138px;
    font-size: 0.96rem;
    line-height: 1.05;
  }

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

  .lang-toggle {
    width: 44px;
    min-height: 40px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .nav-links {
    order: 3;
    width: 100%;
    max-width: 100%;
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 2px 1px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  body[dir="rtl"] .nav-links {
    justify-content: flex-start;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.84rem;
    line-height: 1;
    white-space: nowrap;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-video {
    object-fit: contain;
    object-position: center;
    background: #020307;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(5, 5, 5, 0.48) 0%, rgba(5, 5, 5, 0.16) 34%, rgba(5, 5, 5, 0.04) 72%);
  }

  .hero-grid {
    min-height: 100svh;
    padding: 128px 16px 28px;
    align-items: end;
  }

  .hero-copy,
  body[dir="rtl"] .hero-copy {
    left: 16px;
    right: 16px;
    bottom: max(18px, env(safe-area-inset-bottom));
    width: auto;
  }

  .hero-buttons {
    width: min(100%, 420px);
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-buttons .btn,
  .hero-buttons .sound-toggle {
    width: 100%;
    min-height: 42px;
    font-size: 0.92rem;
  }

  .astronaut,
  body[dir="rtl"] .astronaut {
    left: auto;
    right: 18px;
    bottom: 166px;
    width: 74px;
    height: 74px;
  }

  .band,
  .services,
  .process {
    min-height: auto;
    padding: 76px 16px;
  }

  .package-builder,
  .work,
  .services,
  .process,
  .contact {
    scroll-margin-top: 126px;
  }

  .section-number {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  .package-head,
  .consultation-head,
  .work .section-head,
  .services-head {
    margin-bottom: 28px;
  }

  .package-head .section-number,
  .consultation-head .section-number,
  .work > .section-number {
    position: static;
    display: block;
    margin: 0 auto 12px;
    text-align: center;
  }

  .package-head h2,
  .section-head h2,
  .contact h2,
  .consultation-head h2,
  .services-head h2 {
    max-width: 100%;
    min-height: 0;
    font-size: clamp(1.55rem, 8vw, 2.45rem);
    line-height: 1.15;
    text-align: center;
  }

  .consultation-head p,
  .portfolio-intro,
  .services-intro,
  .contact-copy p:last-child {
    min-height: 0;
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .package-form,
  .consultation-form {
    gap: 14px;
  }

  .form-row,
  .consultation-block {
    min-height: 0;
    padding: 18px;
  }

  .form-row label,
  .summary-row h3,
  .consultation-block h3,
  .consultation-block label {
    min-height: 0;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .ad-choice-box {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .platform-only {
    min-height: 142px;
    padding: 18px;
  }

  .platform-logo-stack img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .cost-line {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }

  .cost-line strong {
    text-align: start;
  }

  .brief-wrap textarea,
  .voice-wrap textarea {
    padding-inline-end: 66px;
  }

  body[dir="rtl"] .brief-wrap textarea,
  body[dir="rtl"] .voice-wrap textarea {
    padding-inline-end: 14px;
    padding-inline-start: 66px;
  }

  .mic-button {
    width: 44px;
    height: 44px;
  }

  .consultation-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .consultation-choice {
    min-height: 128px;
    padding: 68px 12px 14px;
  }

  .consultation-choice span {
    min-height: 0;
    font-size: 0.98rem;
  }

  .contact-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .method-choice {
    min-height: 112px;
    padding: 68px 10px 14px;
  }

  .method-choice span {
    min-height: 0;
    font-size: 0.98rem;
  }

  .portfolio-galaxy {
    min-height: 0;
    padding: 14px;
    grid-template-columns: 1fr;
    gap: 12px;
    border-radius: 8px;
  }

  .portfolio-galaxy::before {
    inset: 12px;
    opacity: 0.55;
  }

  .field-planet {
    min-height: 190px;
    padding: 118px 16px 18px;
  }

  .planet-core {
    top: 24px;
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  .field-planet strong,
  .field-planet small {
    min-height: 0;
  }

  .service-universe {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card {
    min-height: 248px;
    padding: 18px;
  }

  .service-card h3 {
    min-height: 0;
    margin-top: 102px;
    font-size: 1.12rem;
  }

  .service-card p {
    min-height: 0;
    font-size: 0.92rem;
  }

  .service-icon {
    top: 24px;
    width: 66px;
    height: 66px;
    border-radius: 18px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
  }

  .contact-copy h2 {
    min-height: 0;
  }

  .contact-actions {
    gap: 10px;
  }

  .contact-link {
    min-height: 88px;
    padding: 16px;
  }

  .contact-map {
    margin-top: 20px;
  }

  .contact-map iframe {
    min-height: 320px;
  }

  .portfolio-detail-hero,
  .service-detail-hero,
  .courses-hero {
    min-height: 100svh;
    padding: 136px 16px 56px;
  }

  .portfolio-detail-copy h1,
  .service-detail-copy h1,
  .courses-hero h1 {
    font-size: clamp(2.05rem, 12vw, 3.35rem);
    line-height: 1.08;
  }

  .service-detail-icon {
    width: 132px;
    border-radius: 28px;
  }

  .detail-section {
    padding: 64px 16px;
  }

  .detail-section-head {
    display: grid;
    align-items: start;
  }

  .detail-client-grid,
  .detail-work-grid,
  .detail-service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand span {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero-grid {
    padding-inline: 14px;
  }

  .hero-copy,
  body[dir="rtl"] .hero-copy {
    left: 14px;
    right: 14px;
  }

  .astronaut,
  body[dir="rtl"] .astronaut {
    right: 14px;
    bottom: 164px;
    width: 68px;
    height: 68px;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .field-planet {
    min-height: 184px;
  }
}
