:root {
  --page-bg: #f5efff;
  --ink: #11131a;
  --muted: #657083;
  --violet: #7230c4;
  --violet-dark: #2a075f;
  --violet-mid: #4b148c;
  --cyan: #18b8ca;
  --green: #6ebc83;
  --panel: rgba(255, 255, 255, 0.88);
  --line: rgba(84, 45, 138, 0.16);
  --shadow: 0 24px 70px rgba(31, 20, 65, 0.18);
  --max: 1180px;
  --header-height: 84px;
  --scene-image: url("assets/radiopharma-suite-v2.png");
  --zoom-scale: 1.02;
  --zoom-origin-x: 50%;
  --zoom-origin-y: 50%;
  --scene-model-x: 72%;
  --scene-model-y: 53%;
  --scene-model-top: 420px;
  --scene-model-scale: 1;
  --scene-model-opacity: 0.94;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.04)),
    var(--page-bg);
  transition: background-color 260ms ease;
}

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

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: var(--header-height);
  padding: 12px clamp(18px, 3vw, 46px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(114, 48, 196, 0.13);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(31, 20, 65, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 188px;
  height: 62px;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand:focus {
  outline: none;
}

.brand:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(24, 184, 202, 0.72);
  outline-offset: 4px;
}

.top-nav {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  isolation: isolate;
}

.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: var(--nav-indicator-width, 0px);
  height: var(--nav-indicator-height, 42px);
  background:
    radial-gradient(circle at 22% 12%, rgba(255, 255, 255, 0.42), transparent 34%),
    linear-gradient(145deg, rgba(154, 84, 231, 0.98), rgba(97, 24, 184, 0.98));
  border: 0;
  border-radius: 8px;
  box-shadow:
    0 16px 32px rgba(93, 22, 174, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -12px 22px rgba(47, 5, 118, 0.2);
  transform: translate3d(var(--nav-indicator-x, 0px), var(--nav-indicator-y, 0px), 0);
  transition:
    width 520ms cubic-bezier(0.16, 1, 0.3, 1),
    height 520ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 520ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(1.35);
}

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

.nav-indicator::before {
  inset: 1px 14px auto 14px;
  height: 42%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), transparent);
  border-radius: 999px;
  opacity: 0.72;
}

.nav-indicator::after {
  inset: auto 10px 6px 28%;
  height: 7px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  filter: blur(5px);
}

.nav-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  color: #2f3440;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--violet-dark);
  background: rgba(114, 48, 196, 0.08);
}

.nav-link.is-active {
  color: #fff;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
  color: #343947;
  font-size: 13px;
  font-weight: 800;
}

.language-caption {
  color: rgba(47, 52, 64, 0.68);
  text-transform: uppercase;
}

.language-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  min-width: 208px;
  padding: 0 34px 0 13px;
  overflow: hidden;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(114, 48, 196, 0.52), rgba(24, 184, 202, 0.42)) border-box;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(42, 7, 95, 0.12);
  cursor: pointer;
}

.language-shell::after {
  position: absolute;
  right: 13px;
  top: 50%;
  width: 8px;
  height: 8px;
  content: "";
  border-right: 2px solid rgba(42, 7, 95, 0.72);
  border-bottom: 2px solid rgba(42, 7, 95, 0.72);
  transform: translateY(-68%) rotate(45deg);
  pointer-events: none;
}

.selected-language {
  position: relative;
  z-index: 1;
  color: #11131a;
  white-space: nowrap;
  pointer-events: none;
}

.language-picker select {
  position: absolute;
  inset: -1px;
  z-index: 2;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  padding: 0;
  color: #11131a;
  appearance: none;
  background: transparent;
  border: 0;
  outline: none;
  font-weight: 800;
  opacity: 0;
  cursor: pointer;
}

.language-shell:focus-within,
.phone-input-group:focus-within .selected-phone-code {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(114, 48, 196, 0.12);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: #fff;
  border: 1px solid rgba(114, 48, 196, 0.18);
  border-radius: 8px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--violet-dark);
  border-radius: 99px;
}

.page {
  min-height: 76vh;
}

.page[hidden] {
  display: none;
}

#home {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  background: transparent;
}

#home::before,
#home::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

#home::before {
  z-index: -2;
  background: url("assets/radiopharma-suite-v2.png") center / cover no-repeat;
}

#home::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(249, 242, 255, 0.68), rgba(111, 46, 186, 0.36) 48%, rgba(25, 5, 55, 0.82) 100%);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  z-index: 1;
  min-height: calc(92svh - var(--header-height));
  overflow: hidden;
}

.corporate-hero {
  width: 100%;
  min-height: calc(88svh - var(--header-height));
  margin: 0;
  place-items: center;
  grid-template-columns: 1fr;
  text-align: center;
  background: linear-gradient(180deg, rgba(252, 247, 255, 0.46) 0%, rgba(245, 236, 255, 0.18) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(940px, calc(100% - 36px));
  padding: clamp(76px, 11vw, 150px) 0;
}

.hero h1 {
  margin: 0;
  color: var(--violet);
  font-size: clamp(58px, 8vw, 118px);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 18px 46px rgba(255, 255, 255, 0.82);
}

.hero-vs {
  font-weight: 950;
}

.hero-healthcare {
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  color: var(--violet-dark);
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--violet);
  box-shadow: 0 16px 34px rgba(114, 48, 196, 0.28);
}

.button.primary:hover {
  background: var(--violet-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(114, 48, 196, 0.24);
}

.button.secondary:hover {
  background: #fff;
}

.home-stats,
.home-section {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 36px));
  margin-right: auto;
  margin-left: auto;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 0 120px;
}

.stat-card {
  min-height: 150px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(30, 8, 68, 0.2);
  backdrop-filter: blur(22px);
}

.stat-card strong {
  display: block;
  color: var(--violet-dark);
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 12px;
  color: #454d5d;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.home-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(28px, 6vw, 82px);
  padding: 112px 0;
}

.section-copy {
  max-width: 620px;
}

.home-section .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.intro-section .eyebrow {
  color: #e8dcff;
}

.section-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro-section .section-copy h2 {
  color: #fff;
}

.section-copy p:not(.eyebrow) {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.intro-section .section-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.feature-grid {
  display: grid;
  gap: 14px;
}

.feature-card,
.process-item {
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(19, 5, 45, 0.24);
  backdrop-filter: blur(22px);
}

.feature-card span,
.process-item span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--violet-dark);
  border-radius: 8px;
  font-weight: 900;
}

.feature-card h3,
.process-item h3 {
  margin: 0;
  color: #11131a;
  font-size: 25px;
  line-height: 1.1;
}

.feature-card p,
.process-item p {
  margin: 14px 0 0;
  color: #4e586a;
  font-size: 16px;
  line-height: 1.65;
}

.global-section {
  align-items: center;
}

.global-map {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(114, 48, 196, 0.18), transparent 48%),
    linear-gradient(145deg, rgba(30, 5, 66, 0.82), rgba(75, 20, 140, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  box-shadow: 0 32px 80px rgba(17, 3, 46, 0.28);
  backdrop-filter: blur(20px);
}

.world-map-img {
  width: min(94%, 860px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(12, 2, 34, 0.34));
}

.process-section {
  display: block;
}

.process-section .section-copy {
  max-width: 850px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #e8dcff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.inner-page {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 74px 0 96px;
}

.inner-hero {
  max-width: 850px;
  margin-bottom: 34px;
}

.inner-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 16px 42px rgba(22, 10, 50, 0.22);
}

.inner-hero p:not(.eyebrow) {
  margin: 18px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.65;
}

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

.representation-card,
.about-card,
.contact-form,
.map-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(114, 48, 196, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(31, 20, 65, 0.1);
  backdrop-filter: blur(18px);
}

.partner-card {
  display: grid;
  min-height: 360px;
  align-content: space-between;
  padding: clamp(22px, 3vw, 34px);
}

.partner-card-dark {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 184, 202, 0.16), transparent 42%),
    linear-gradient(135deg, #31105f, #6b2bb9);
}

.partner-card-blue {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(248, 179, 52, 0.22), transparent 45%),
    linear-gradient(135deg, #00284a, #28577a);
}

.partner-logo {
  display: grid;
  place-items: center;
  min-height: 124px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
}

.partner-logo img {
  max-height: 76px;
  object-fit: contain;
}

.logo-acsi img {
  width: min(100%, 280px);
  max-height: 86px;
}

.logo-ge {
  background: rgba(255, 255, 255, 0.94);
}

.logo-ge img {
  width: min(100%, 300px);
  max-height: 72px;
}

.logo-trasis img {
  width: 82px;
  max-height: 82px;
}

.partner-card h2,
.about-card h2,
.contact-form h2,
.map-panel h2 {
  margin: 24px 0 0;
  color: inherit;
  font-size: 25px;
  line-height: 1.16;
}

.partner-card p,
.about-card p,
.map-panel p {
  margin: 14px 0 0;
  color: currentColor;
  line-height: 1.62;
  opacity: 0.76;
}

.about-card {
  min-height: 220px;
  padding: clamp(22px, 3vw, 34px);
}

.contact-hero {
  margin-bottom: 26px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  gap: 18px;
  align-items: stretch;
}

.contact-form,
.map-panel {
  padding: clamp(22px, 3vw, 34px);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form h2,
.map-panel h2 {
  margin-top: 0;
  color: #151923;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #2f3746;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: #11131a;
  background: #f9f9fc;
  border: 1px solid rgba(114, 48, 196, 0.2);
  border-radius: 8px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.language-picker select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(114, 48, 196, 0.12);
}

.phone-input-group {
  position: relative;
  display: grid;
  grid-template-columns: minmax(118px, 0.32fr) minmax(0, 1fr);
  gap: 10px;
}

.selected-phone-code {
  position: relative;
  display: flex;
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  min-height: 48px;
  padding: 13px 34px 13px 14px;
  color: #11131a;
  background: #f9f9fc;
  border: 1px solid rgba(114, 48, 196, 0.2);
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
  pointer-events: none;
}

.selected-phone-code::after {
  position: absolute;
  right: 13px;
  top: 50%;
  width: 8px;
  height: 8px;
  content: "";
  border-right: 2px solid rgba(42, 7, 95, 0.72);
  border-bottom: 2px solid rgba(42, 7, 95, 0.72);
  transform: translateY(-68%) rotate(45deg);
}

.phone-input-group select {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  height: 100%;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0;
  cursor: pointer;
}

.phone-input-group input {
  grid-column: 2;
  grid-row: 1;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  margin: 0;
  color: #687082;
  font-size: 14px;
  line-height: 1.5;
}

.form-status.is-success {
  color: #207044;
}

.form-status.is-error {
  color: #9a2e46;
}

.map-panel {
  display: grid;
  grid-template-rows: auto auto minmax(360px, 1fr);
  gap: 14px;
}

.map-panel iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 8px;
}

.site-footer {
  display: grid;
  place-items: center;
  padding: 28px clamp(18px, 3vw, 46px);
  color: #f4efff;
  background: #130521;
}

.site-footer small {
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}

.feature-grid .reveal:nth-child(2),
.process-list .reveal:nth-child(2),
.home-stats .reveal:nth-child(2) {
  --reveal-delay: 90ms;
}

.feature-grid .reveal:nth-child(3),
.process-list .reveal:nth-child(3),
.home-stats .reveal:nth-child(3) {
  --reveal-delay: 180ms;
}

.home-stats .reveal:nth-child(4) {
  --reveal-delay: 270ms;
}

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

[dir="rtl"] .hero-content {
  margin-right: clamp(20px, 8vw, 112px);
  margin-left: 0;
}

[dir="rtl"] .site-footer small {
  text-align: center;
}

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

@media (min-width: 761px) {
  .hero h1 {
    white-space: nowrap;
  }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .top-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 18px;
    right: 18px;
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.96);
    border: 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .top-nav.is-open {
    display: grid;
  }

  .top-nav .nav-link {
    justify-content: center;
  }

  .language-picker {
    justify-self: end;
  }

  .partner-grid,
  .about-grid,
  .contact-layout,
  .home-section,
  .process-list {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 76px;
  }

  .site-header {
    grid-template-columns: auto auto;
    gap: 10px;
  }

  .brand {
    width: 148px;
    height: 50px;
  }

  .menu-toggle {
    justify-self: end;
  }

  .language-picker {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: space-between;
  }

  .language-picker select {
    width: calc(100% + 2px);
    height: calc(100% + 2px);
  }

  .language-shell {
    flex: 1;
    min-width: 0;
  }

  .selected-language {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-nav {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 76px 0 84px;
  }

  .hero h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

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

  .home-stats {
    width: min(100% - 28px, var(--max));
    gap: 10px;
    padding-bottom: 62px;
  }

  .stat-card {
    min-height: 132px;
    padding: 20px;
  }

  .home-section {
    width: min(100% - 28px, var(--max));
    padding: 58px 0;
  }

  .section-copy h2 {
    font-size: clamp(34px, 10.5vw, 52px);
  }

  .global-map {
    min-height: 300px;
  }

  .inner-page {
    width: min(100% - 28px, var(--max));
    padding-top: 48px;
  }

  .inner-hero h1 {
    font-size: clamp(34px, 11vw, 50px);
  }

  .map-panel {
    grid-template-rows: auto auto 340px;
  }

  .map-panel iframe {
    min-height: 340px;
  }

  .phone-input-group {
    grid-template-columns: 1fr;
  }

  .selected-phone-code,
  .phone-input-group select,
  .phone-input-group input {
    grid-column: 1;
  }

  .phone-input-group input {
    grid-row: 2;
  }
}

@media (max-width: 460px) {
  .brand {
    width: 116px;
  }

  .nav-link {
    padding: 0 9px;
    font-size: 14px;
  }

  .partner-card {
    min-height: 320px;
  }
}
