/* ============================================================
   RHMI Pharmaceuticals — Design System
   ============================================================ */


/* --- Variables --- */
:root {
  --teal:        #00C7B1;
  --teal-dark:   #00AFA1;
  --teal-light:  #EBF9F7;
  --teal-mid:    #B8EDE8;
  --dark:        #0F1923;
  --dark2:       #1A2535;
  --body:        #374151;
  --muted:       #6B7280;
  --border:      #E5E7EB;
  --bg-alt:      #F8FAFB;
  --white:       #FFFFFF;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container:   1200px;
  --px:          24px;

  --r:           8px;
  --r-md:        12px;
  --r-lg:        20px;

  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow:      0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.12);
  --shadow-teal: 0 8px 28px rgba(0,199,177,0.30);

  --ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --section-py: 96px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); }

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* --- Section base --- */
.section      { padding: var(--section-py) 0; }
.section--alt { background: var(--bg-alt); }
.section--teal { background: var(--teal-light); }
.section--dark {
  background: var(--dark);
  color: var(--white);
}

/* --- Section header --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,199,177,0.1);
  border: 1px solid rgba(0,199,177,0.28);
  padding: 7px 15px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: var(--teal);
  border-radius: 50%;
}
.section-label--white {
  background: var(--white);
}
.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.section--dark .section-title { color: var(--white); }
.section-subtitle {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 600px;
}
.section-header        { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin: 0 auto; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.nav.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav__logo img { height: 42px; width: auto; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 10px 14px;
  border-radius: var(--r);
  transition: color var(--ease), background var(--ease);
}
.nav__link:hover   { color: var(--teal); }
.nav__link.active  { color: var(--teal); }
.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.nav__link--cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 22px;
  margin-left: 8px;
  font-weight: 600;
}
.nav__link--cta:hover { background: var(--teal-dark); }
.nav__link--cta.active::after { display: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r);
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--ease);
}
.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}
.btn--outline {
  background: transparent;
  color: var(--dark);
  border-color: rgba(15,25,35,0.2);
}
.btn--outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn svg { flex-shrink: 0; transition: transform var(--ease); }
.btn svg.arrow {
  width: 20px;
  height: 20px;
  overflow: visible;
}
.btn:hover svg.arrow { transform: translateX(4px); }

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 570px;
  display: flex;
  align-items: stretch;
  padding-top: 72px;
  padding-bottom: 106px;
  overflow: hidden;
  background: var(--white);
  border-bottom: 0;
}
.hero__map {
  position: absolute;
  inset: 118px auto auto 25%;
  width: min(56vw, 820px);
  height: 380px;
  background: url('../images/world-map-dots-gray.jpg') center / contain no-repeat;
  opacity: 0.11;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: 46px;
  align-items: center;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 54px 0 68px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,199,177,0.1);
  border: 1px solid rgba(0,199,177,0.28);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.hero__title {
  font-size: clamp(36px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.16;
  color: var(--dark);
  margin-bottom: 22px;
  letter-spacing: -0.025em;
}
.hero__title-line {
  display: block;
  white-space: nowrap;
}
.hero__title em {
  font-style: normal;
  color: var(--teal);
}
.hero__desc {
  font-size: 17px;
  color: var(--body);
  line-height: 1.72;
  margin-bottom: 16px;
  max-width: 570px;
}
.hero__desc--second {
  margin-bottom: 30px;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__mobile-photo {
  display: none;
}
.hero__media {
  position: relative;
  z-index: 1;
  min-height: 498px;
  align-self: stretch;
}
.hero__media-panel {
  position: absolute;
  inset: 0px -100px -156px -140px;
  overflow: hidden;
  filter: drop-shadow(-20px 18px 44px rgba(15,25,35,0.1));
  transform: translateX(-10px);
}
.hero__media-panel::before {
  content: none;
}
.hero__media-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: none;
}
.hero__teal-plane {
  display: none;
}
.hero__signal {
  display: none;
}
.hero__signal::before {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(0,199,177,0), rgba(0,199,177,0.75));
}
.hero__signal span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(0,199,177,0.12);
}
.hero-proof-strip {
  position: relative;
  z-index: 5;
  margin-top: -112px;
  padding-bottom: 64px;
  background: transparent;
  border-bottom: 0;
}
.hero-proof-strip__inner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background: #e8faf7;
  border: 0;
  border-radius: var(--r-md);
  box-shadow: none;
  overflow: hidden;
}
.hero-proof {
  position: relative;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 14px;
  text-align: center;
  background: #e8faf7;
  border-right: 0;
}
.hero-proof::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 56%;
  background: rgba(0,199,177,0.26);
  transform: translateY(-50%);
}
.hero-proof:last-child::after { display: none; }
.hero-proof__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--teal);
}
.hero-proof__icon img {
  width: 50px;
  height: 50px;
  display: block;
  object-fit: contain;
}
.hero-proof__icon svg {
  width: 50px;
  height: 50px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-proof strong {
  max-width: 170px;
  color: var(--dark);
  font-size: 17px;
  line-height: 1.25;
}

/* ============================================================
   HERO — INNER PAGES
   ============================================================ */
.hero-inner {
  background: var(--bg-alt);
  padding: 148px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero-inner__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-inner__deco::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg-alt) 0%, rgba(246,248,250,0.92) 29%, rgba(246,248,250,0.22) 52%, rgba(246,248,250,0) 72%),
    radial-gradient(circle at 84% 42%, rgba(0,199,177,0.14) 0%, transparent 48%);
  z-index: 1;
}
.hero-inner__deco::after {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  width: min(62vw, 980px);
  background: url('../images/molecules-hero.webp') center right / cover no-repeat;
  opacity: 0.92;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.04) 0%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.04) 10%, #000 30%);
  z-index: 0;
}
.hero-inner--services .hero-inner__deco::after {
  background-image: url('../images/services-hero.webp');
}
.hero-inner--our-role .hero-inner__deco::after {
  background-image: url('../images/our-role-hero.webp');
}
.hero-inner--contact .hero-inner__deco::after {
  background-image: url('../images/contacts-01.webp');
}

/* Lightweight animated DNA scene */
.dna-scene {
  display: none;
  --dna-angle: 24deg;
  position: absolute;
  top: 51%;
  right: clamp(-32px, 6vw, 116px);
  z-index: 0;
  width: min(42vw, 500px);
  min-width: 360px;
  aspect-ratio: 0.62;
  transform:
    translate3d(var(--dna-x, 0px), calc(-50% + var(--dna-y, 0px)), 0)
    rotateZ(var(--dna-angle))
    rotateX(var(--dna-rx, 0deg))
    rotateY(var(--dna-ry, 0deg));
  transform-style: preserve-3d;
  filter: drop-shadow(0 24px 52px rgba(0,199,177,0.18));
  opacity: 0.94;
  pointer-events: none;
}
.dna-scene::before {
  content: '';
  position: absolute;
  inset: 9% -16%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0,199,177,0.18) 0%, transparent 64%);
  filter: blur(24px);
}
.dna-scene__svg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.dna-scene__strand,
.dna-scene__rung,
.dna-scene__node {
  transform-box: fill-box;
  transform-origin: center;
}
.dna-scene__strand {
  fill: none;
  stroke-linecap: round;
  stroke-width: 5.5;
  animation: dna-strand-breathe 5.8s ease-in-out infinite;
}
.dna-scene__strand--back {
  opacity: 0.56;
  animation-delay: -2.9s;
}
.dna-scene__strand--ghost {
  opacity: 0.16;
  filter: blur(0.2px);
}
.dna-scene__rung {
  stroke: rgba(0,175,161,0.34);
  stroke-width: 3.1;
  stroke-linecap: round;
  animation: dna-rung-depth 8s ease-in-out infinite;
}
.dna-scene__node {
  fill: url(#dna-node-fill);
  stroke: rgba(255,255,255,0.84);
  stroke-width: 2;
  animation: dna-node-pulse 4.2s ease-in-out infinite;
}
@keyframes dna-strand-breathe {
  0%, 100% { stroke-width: 4.4; opacity: 0.72; }
  50%      { stroke-width: 7.1; opacity: 1; }
}
@keyframes dna-rung-depth {
  0%, 100% { opacity: 0.24; transform: scaleX(0.72); }
  50%      { opacity: 0.72; transform: scaleX(1.08); }
}
@keyframes dna-node-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.8); }
  50%      { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 1024px) {
  .dna-scene {
    right: -82px;
    width: 390px;
    min-width: 0;
    opacity: 0.58;
  }
}
@media (max-width: 768px) {
  .dna-scene {
    top: auto;
    right: -150px;
    bottom: -96px;
    width: 340px;
    transform: rotateZ(var(--dna-angle));
    opacity: 0.38;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dna-scene {
    transform: translateY(-50%) rotateZ(var(--dna-angle));
  }
  .dna-scene__strand,
  .dna-scene__rung,
  .dna-scene__node {
    animation: none;
  }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .dna-scene {
    transform: rotateZ(var(--dna-angle));
  }
}
.hero-inner__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,199,177,0.1);
  border: 1px solid rgba(0,199,177,0.28);
  padding: 7px 15px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-inner__label::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: var(--teal);
  border-radius: 50%;
}
.hero-inner__title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.hero-inner__title span {
  color: var(--teal);
}
.hero-inner__sub {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 620px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 32px;
  border: 1px solid var(--border);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-mid);
}
.card__icon {
  width: 48px; height: 48px;
  background: var(--teal-light);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal);
  flex-shrink: 0;
}
.card__icon svg {
  width: 22px; height: 22px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.card__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   GRIDS
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: center;
}
.grid-2-text { display: flex; flex-direction: column; gap: 20px; }

/* ============================================================
   POSITIONING BLOCK (2-col text + image)
   ============================================================ */
.positioning__inner {
  display: grid;
  grid-template-columns: 430px minmax(0, 560px);
  gap: 150px;
  align-items: start;
  justify-content: center;
}
.positioning__inner--stretch {
  align-items: stretch;
}
.positioning__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 560px;
}
.positioning__image {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: auto;
  width: 430px;
  height: 575px;
  position: relative;
  justify-self: end;
}
.positioning__inner--role {
  grid-template-columns: 430px minmax(0, 560px);
  align-items: stretch;
}
.positioning__inner--role > :first-child {
  order: 2;
}
.positioning__inner--role > :last-child {
  order: 1;
  height: 100%;
}
.positioning__inner--about {
  align-items: start;
  grid-template-columns: 430px minmax(0, 560px);
  gap: 150px;
}
.positioning__image--about {
  width: 430px;
  height: 575px;
}
.positioning__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.positioning__image:hover img { transform: scale(1.03); }
.positioning__image--work {
  width: 430px;
  height: 100%;
  min-height: 500px;
}
.positioning__image::after {
  content: none;
}

/* ============================================================
   FEATURE LIST (check items)
   ============================================================ */
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-item { display: flex; align-items: flex-start; gap: 12px; }
.feature-check {
  width: 22px; height: 22px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-check svg {
  width: 11px; height: 11px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-item__text {
  font-size: 16px;
  color: var(--body);
  line-height: 1.6;
}

/* ============================================================
   WHAT WE DO
   ============================================================ */
.what-we-do { background: var(--teal-light); padding: 80px 0; }
.what-we-do__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.what-we-do__list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  gap: 0;
  margin-left: 50px;
}
.what-we-do__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--body);
  font-size: 19px;
  font-weight: 700;
  padding: 12px 0;
}
.what-we-do__item svg {
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
  background: var(--teal);
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* ============================================================
   WHY RHMI — value props
   ============================================================ */
.why-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-mid);
}
.why-card__icon {
  width: 44px; height: 44px;
  background: var(--teal-light);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-card__icon svg {
  width: 20px; height: 20px;
  stroke: var(--teal); fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.why-card__title {
  font-size: 16px; font-weight: 700;
  color: var(--dark); margin-bottom: 6px;
}
.why-card__text { font-size: 14px; color: var(--muted); line-height: 1.65; }
.why-grid { gap: 20px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--teal-light);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,199,177,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner__content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-banner__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.cta-banner__text {
  font-size: 18px;
  color: var(--body);
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-banner__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-banner--white { background: var(--white); }
.cta-banner--white.cta-banner--glass-bg { background: #f0faf9; }
.section-label--glass {
  background: var(--teal-light);
  border: none;
  box-shadow:
    5px 5px 12px rgba(0, 150, 135, 0.35),
    -4px -4px 10px rgba(255, 255, 255, 0.95);
}

/* ============================================================
   ROLE CARDS — Our Role page
   ============================================================ */
.role-cards { display: flex; flex-direction: column; gap: 24px; }
.role-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 48px;
  align-items: start;
  transition: box-shadow var(--ease);
}
.role-card:hover {
  box-shadow: var(--shadow-teal);
}
.role-card__num {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: var(--teal-mid);
  letter-spacing: -0.04em;
  user-select: none;
}
.role-card__badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.role-card__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.2;
}
.role-card__text {
  font-size: 16px;
  color: var(--body);
  line-height: 1.78;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 48px;
  align-items: start;
  transition: box-shadow var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-teal);
}
.service-card__num {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.service-card__icon {
  width: 70px; height: 70px;
  background: var(--teal-light);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-card__icon img {
  width: 50px; height: 50px;
  display: block;
  object-fit: contain;
}
.service-card__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.2;
}
.service-card__sub {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 16px;
}
.service-card__text {
  font-size: 15px;
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 24px;
}
.service-card__list { display: flex; flex-direction: column; gap: 8px; }
.service-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--body);
}
.service-card__list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 56px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 48px;
  transition: box-shadow var(--ease);
}
.contact-form-wrap:hover {
  box-shadow: var(--shadow-teal);
}
.contact-form-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.contact-form-sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--dark); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,199,177,0.12);
}
.form-control::placeholder { color: #9CA3AF; }
textarea.form-control { resize: vertical; min-height: 140px; line-height: 1.6; }
select.form-control { cursor: pointer; }
.form-submit { margin-top: 8px; width: 100%; justify-content: center; }

.form-success {
  display: none;
  text-align: center;
  padding: 48px 20px;
}
.form-success.show { display: block; }
.form-success__icon {
  width: 68px; height: 68px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.form-success__icon svg {
  width: 28px; height: 28px;
  stroke: var(--teal); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.form-success__title { font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.form-success__text  { font-size: 16px; color: var(--muted); }

.contact-sidebar { display: flex; flex-direction: column; gap: 32px; }
.contact-info-block {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 28px;
  transition: box-shadow var(--ease);
}
.contact-info-block:hover {
  box-shadow: var(--shadow-teal);
}
.contact-info-block__title {
  font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px;
}
.contact-info-block__text {
  font-size: 13px; color: var(--muted); margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item__icon {
  width: 38px; height: 38px;
  background: var(--teal-light);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item__icon svg {
  width: 17px; height: 17px;
  stroke: var(--teal); fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.contact-item__label { font-size: 11px; color: var(--muted); margin-bottom: 2px; font-weight: 500; }
.contact-item__value { font-size: 14px; color: var(--dark); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer__logo { margin-bottom: 18px; }
.footer__logo img { height: 38px; }
.footer__desc {
  font-size: 14px;
  line-height: 1.75;
  max-width: 300px;
  margin-bottom: 0;
}
.footer__heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: 14px;
  color: rgba(255,255,255,0.58);
  transition: color var(--ease);
}
.footer__link:hover { color: var(--teal); }
.footer__contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.58);
  margin-bottom: 12px;
}
.footer__contact-row svg {
  stroke: var(--teal); fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.footer__contact-row:last-child { margin-bottom: 0; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 13px;
}
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a {
  color: rgba(255,255,255,0.4);
  transition: color var(--ease);
}
.footer__bottom-links a:hover { color: var(--teal); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }

/* ============================================================
   ABOUT PAGE — mission/vision/experience cards
   ============================================================ */
.mvv-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 48px;
  transition: transform var(--ease), box-shadow var(--ease);
}
.mvv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-teal); }
.mvv-card__icon {
  width: 70px; height: 70px;
  background: var(--teal-light);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.mvv-card__icon img {
  width: 50px; height: 50px;
  display: block;
  object-fit: contain;
}
.mvv-card__label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.mvv-card__title {
  font-size: 19px; font-weight: 700; color: var(--dark); margin-bottom: 14px;
}
.mvv-card__text { font-size: 15px; color: var(--body); line-height: 1.75; }

/* ============================================================
   UTILITY
   ============================================================ */
.teal { color: var(--teal); }
.tag {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 12px; font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}
.divider { height: 1px; background: var(--border); margin: 0; }
.mt-48 { margin-top: 48px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero__content {
    max-width: 760px;
    padding-bottom: 20px;
  }
  .hero__media {
    min-height: 360px;
    margin-right: calc(var(--px) * -1);
  }
  .hero__media-panel {
    inset: 0 0 0 18%;
  }
  .hero__teal-plane {
    right: 0;
    width: 210px;
  }
  .hero-proof-strip {
    margin-top: 0;
    padding: 34px 0 56px;
  }
  .hero-proof-strip__inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-proof:nth-child(3) { border-right: 0; }
  .hero-proof:nth-child(3)::after { display: none; }
  .hero-proof:nth-child(-n+3) { border-bottom: 1px solid rgba(15,25,35,0.08); }
  .positioning__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 48px;
  }
  .positioning__image {
    width: 100%;
    height: 560px;
  }
  .what-we-do__inner { gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-py: 48px; }

  /* Nav */
  .nav__inner { height: 90px; }
  .nav__toggle { display: flex; }
  .nav__menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 90px; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 36px 24px 52px;
    gap: 18px;
    border-radius: 0 0 24px 24px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  }
  .nav__menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }
  .nav__menu li {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .nav__menu.open li {
    opacity: 1;
    transform: translateY(0);
  }
  .nav__menu.open li:nth-child(1) { transition-delay: 0.06s; }
  .nav__menu.open li:nth-child(2) { transition-delay: 0.10s; }
  .nav__menu.open li:nth-child(3) { transition-delay: 0.14s; }
  .nav__menu.open li:nth-child(4) { transition-delay: 0.18s; }
  .nav__menu.open li:nth-child(5) { transition-delay: 0.22s; }
  .nav__link {
    width: 100%;
    text-align: center;
    padding: 2px 16px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.35;
  }
  .nav__link.active::after { display: none; }
  .nav__menu li:last-child {
    margin-top: 18px;
  }
  .nav__link--cta {
    width: auto;
    align-self: center;
    margin: 0;
    padding: 18px 34px;
    border-radius: 12px;
    font-size: 18px;
    min-width: 188px;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 48px;
  }
  .hero__map {
    inset: 188px -120px auto auto;
    width: 520px;
    opacity: 0.1;
  }
  .hero__content { padding: 24px 0 34px; }
  .hero__badge {
    position: relative;
    z-index: 2;
    width: 100%;
    justify-content: center;
    gap: 7px;
    padding: 9px 12px;
    font-size: clamp(9px, 2.55vw, 11px);
    letter-spacing: 0.1em;
    white-space: nowrap;
    margin-bottom: 22px;
  }
  .hero__badge-dot {
    flex: 0 0 6px;
  }
  .hero__mobile-photo {
    display: block;
    position: relative;
    z-index: 2;
    margin: 0 0 30px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15,25,35,0.14);
  }
  .hero__mobile-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center center;
  }
  .hero__title {
    font-size: clamp(25.5px, 7vw, 34px);
    line-height: 1.18;
    letter-spacing: -0.045em;
  }
  .hero__title-line { white-space: nowrap; }
  .hero__desc { font-size: 17px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { justify-content: center; }
  .hero__media {
    display: none;
  }
  .hero__teal-plane {
    width: 150px;
    opacity: 0.72;
  }
  .hero__signal { display: none; }
  .hero-proof-strip__inner {
    display: flex;
    flex-direction: column;
    padding: 10px 18px;
    border-radius: 18px;
  }
  .hero-proof {
    min-height: auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    padding: 16px 0;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid rgba(15,25,35,0.08);
  }
  .hero-proof:last-child {
    border-bottom: 0;
  }
  .hero-proof::after {
    display: none;
  }
  .hero-proof__icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 10px;
    background: var(--teal-light);
  }
  .hero-proof__icon img {
    width: 38px;
    height: 38px;
  }
  .hero-proof__icon svg {
    width: 38px;
    height: 38px;
  }
  .hero-proof strong {
    max-width: none;
    font-size: 17px;
    line-height: 1.32;
    overflow-wrap: anywhere;
  }
  .hero-inner {
    padding: 0;
    display: flex;
    flex-direction: column;
    background: var(--bg-alt);
  }
  .hero-inner__deco {
    position: relative;
    height: 350px;
    flex-shrink: 0;
  }
  .hero-inner__deco::before {
    background:
      linear-gradient(to bottom, transparent 40%, var(--bg-alt) 100%);
  }
  .hero-inner__deco::after {
    position: absolute;
    inset: 0;
    width: 100%;
    background: url('../images/mob-about.webp') center center / cover no-repeat;
    opacity: 1;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-inner--contact .hero-inner__deco::after {
    background-image: url('../images/contacts-01.webp');
  }
  .hero-inner .container {
    position: relative;
    z-index: 2;
    padding-top: 28px;
    padding-bottom: 48px;
  }
  .dna-scene { display: none; }

  /* Grids */
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .positioning__inner { grid-template-columns: 1fr; gap: 40px; }
  .positioning__image {
    width: 100%;
    height: 430px;
    justify-self: stretch;
  }
  .positioning__inner--role > :last-child {
    height: 430px;
  }
  .positioning__image--about img {
    object-position: center top;
  }
  .what-we-do { padding: 48px 0; }
  .what-we-do__inner { grid-template-columns: 1fr; }
  .what-we-do__list { margin-left: 0; }
  .card,
  .why-card,
  .mvv-card,
  .service-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px;
  }
  .why-card {
    gap: 16px;
  }
  .card__title,
  .why-card__title,
  .mvv-card__title,
  .service-card__title,
  .role-card__title {
    overflow-wrap: anywhere;
  }
  .service-card__title { font-size: 19px; }
  .service-card__list li {
    align-items: flex-start;
    line-height: 1.55;
  }

  /* Role cards */
  .role-card { grid-template-columns: 1fr; gap: 20px; padding: 32px; }
  .role-card__num { font-size: 48px; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }
  .form-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* CTA */
  .cta-banner__btns { flex-direction: column; align-items: center; }
  .cta-banner__btns .btn { width: 100%; max-width: 320px; justify-content: center; }
}

@media (max-width: 480px) {
  .hero__badge {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .hero-inner { padding: 0; }
  .contact-form-wrap { padding: 24px; }
  .card,
  .why-card,
  .mvv-card,
  .service-card {
    padding: 22px;
  }
  .why-card {
    display: block;
  }
  .why-card__icon {
    margin-bottom: 16px;
  }
  .role-card { padding: 24px; }
  .service-card { padding: 24px; gap: 16px; }
}
