/* Final CG tuning layer. Keep this file last so visual experiments override legacy blocks. */
.cg-theme .hero {
  min-height: 760px;
}

.cg-theme .header-inner {
  width: min(100% - 56px, 1500px);
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(520px, 1fr) minmax(190px, 250px);
  gap: 24px;
}

.cg-theme .brand {
  justify-self: start;
}

.cg-theme .desktop-nav {
  justify-content: center;
  gap: clamp(20px, 2.2vw, 34px);
}

.cg-theme .header-actions {
  justify-self: end;
}

.cg-theme .language-button {
  min-width: 82px;
  text-align: center;
}

.cg-theme .hero-slide {
  filter: saturate(1.08) contrast(1.04);
}

.cg-theme .hero-overlay {
  background: none;
}

.cg-theme .hero-inner {
  width: min(1500px, calc(100% - 56px));
  min-height: 760px;
  padding-top: 82px;
  padding-bottom: 122px;
}

.cg-theme .hero-copy {
  max-width: 900px;
}

.cg-theme .hero-content-frame {
  width: min(900px, 100%);
  padding: 30px 42px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(242, 250, 255, 0.46));
  box-shadow: 0 24px 68px rgba(18, 70, 132, 0.13);
  backdrop-filter: blur(10px);
}

.cg-theme .hero h1 {
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.1;
}

.cg-theme .hero-lede {
  max-width: 820px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.72;
}

.cg-theme .hero-actions {
  margin-top: 26px;
}

.cg-theme .capability-row,
.cg-theme .carousel-controls {
  margin-top: 22px;
}

.cg-theme .operations-rail {
  margin-top: -58px;
}

.cg-theme #send .split-copy {
  position: static;
  align-self: start;
  transform: none !important;
}

.cg-theme #send .split-copy.reveal,
.cg-theme #send .split-copy.is-visible {
  opacity: 1;
  transform: none !important;
}

@media (max-width: 1024px) {
  .cg-theme .header-inner {
    display: flex;
    width: min(100% - 40px, 1180px);
  }

  .cg-theme .hero,
  .cg-theme .hero-inner {
    min-height: auto;
  }

  .cg-theme .hero-inner {
    padding-bottom: 96px;
  }
}

@media (max-width: 680px) {
  .cg-theme .header-inner {
    width: min(100% - 24px, 1180px);
  }

  .cg-theme .hero-overlay {
    background: none;
  }

  .cg-theme .hero-inner {
    width: min(100% - 24px, 1180px);
  }

  .cg-theme .hero-content-frame {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(244, 251, 255, 0.58));
  }

  .cg-theme .hero h1 {
    font-size: clamp(32px, 8.8vw, 40px);
  }

  .cg-theme .hero-lede {
    font-size: 16px;
  }

  .cg-theme .operations-rail {
    margin-top: -38px;
  }

  .cg-theme #send .split-copy {
    position: static;
  }
}
