/* GrowAx migration layer. Keep the template motion, replace brand/content safely. */

:root {
  --growax-green: #9cff57;
  --growax-ink: #161613;
  --growax-paper: #f4efe6;
}

.growax-logo-img {
  display: block;
  width: clamp(2.35rem, 3.2vw, 3.25rem);
  height: clamp(2.35rem, 3.2vw, 3.25rem);
  object-fit: contain;
}

.nav-logo__wordmark-svg,
.nav-logo__icon-svg {
  display: none !important;
}

.growax-globe-card {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(0.65rem, 1.7vw, 1.25rem);
  background:
    radial-gradient(circle at 20% 10%, rgba(156, 255, 87, 0.22), transparent 32%),
    linear-gradient(135deg, #f5efe4 0%, #dfe8df 100%);
  border: 1px solid rgba(22, 22, 19, 0.08);
}

.growax-globe-card__logo {
  width: min(88%, 20rem);
  max-height: 78%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0.8rem 1.4rem rgba(0, 0, 0, 0.18));
}

.growax-globe-card__logo--rooh {
  width: min(56%, 12rem);
  max-height: 56%;
}

.growax-globe-card__label {
  display: none !important;
}

.growax-pill {
  color: var(--growax-green) !important;
}

.growax-tech-stack__item {
  width: clamp(3.7rem, 5vw, 4.7rem) !important;
  min-width: clamp(3.7rem, 5vw, 4.7rem);
  height: clamp(3.1rem, 4.5vw, 3.8rem);
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--growax-ink);
  box-shadow: none !important;
  backdrop-filter: none;
}

.growax-tech-stack__logo {
  width: clamp(1.55rem, 2.4vw, 2.25rem);
  height: clamp(1.55rem, 2.4vw, 2.25rem);
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0.2rem 0.4rem rgba(22, 22, 19, 0.08));
}

.growax-tech-stack__name {
  display: block;
  max-width: 100%;
  color: rgba(22, 22, 19, 0.58);
  font-size: clamp(0.46rem, 0.65vw, 0.58rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.growax-note {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 999;
  max-width: min(28rem, calc(100vw - 2rem));
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(244, 238, 230, 0.16);
  border-radius: 0.5rem;
  background: rgba(22, 22, 19, 0.78);
  color: rgba(244, 238, 230, 0.82);
  font-size: 0.78rem;
  line-height: 1.4;
  backdrop-filter: blur(18px);
}

.growax-proof-section .section__intro h2 {
  max-width: 62rem;
  margin-inline: auto;
  text-wrap: balance;
}

.growax-proof-section .button-demo__marquee-li .p-s {
  white-space: nowrap;
}

.growax-proof-section .button-demo__scribble .scribble {
  color: #ff5c4d;
}

.growax-proof-section .button-demo__nav .button-label[aria-hidden="true"] {
  display: none !important;
}

.growax-proof-section .button-demo__nav .button-label__wrap,
.growax-proof-section .button-demo__nav .button-label,
.growax-proof-section .button-demo__nav .button-label span {
  transform: none !important;
}

.growax-proof-section .button-005__text {
  white-space: nowrap;
}

.growax-portfolio-card .radial-marquee__card-visual {
  background: #141210;
}

.growax-portfolio-card .resource-visual__before {
  opacity: 0;
}

.growax-portfolio-card .resource-card__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.growax-portfolio-card .resource-card__video {
  display: none !important;
}

/* Cards sit in a radial marquee, so their aspect ratio ranges from ~0.64 to
   ~1.41 depending on rotation. The animated visuals are letterboxed rather than
   cropped, and their transparent background lets the card colour show through,
   so the fit stays invisible at every angle. */
.growax-portfolio-card .resource-card__img.growax-anim-visual {
  object-fit: contain;
  background: #ffffff;
}

/* Long full-page screenshots: pan the crop window from the top of the page to
   the bottom and back. Animating object-position works whatever the image's
   real dimensions are, so no per-image measuring is needed. */
.growax-portfolio-card .resource-card__img.growax-scroll-shot {
  object-fit: cover;
  object-position: 50% 0%;
  animation: growax-shot-scroll 14s ease-in-out infinite alternate;
}

@keyframes growax-shot-scroll {
  from {
    object-position: 50% 0%;
  }
  to {
    object-position: 50% 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .growax-portfolio-card .resource-card__img.growax-scroll-shot {
    animation: none;
    object-position: 50% 0%;
  }
}

.growax-portfolio-card .radial-marquee__card-info {
  background: #1d1919;
  color: #f7f2ed;
}

.growax-portfolio-card .radial-marquee__card-p {
  display: grid;
  gap: 0.18rem;
  margin: 0;
  line-height: 1.1;
}

.growax-portfolio-card__type {
  color: rgba(247, 242, 237, 0.62);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0;
}

.growax-portfolio-card__title {
  color: #f7f2ed;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
}

.growax-case-study-section .testimonial-item__info-img {
  overflow: hidden;
  background: #171514;
}

.growax-case-study-section .testimonial-item__info-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
}

.growax-case-study-section .testimonial-item__info-details .scribble {
  color: #f7f2ed;
}

.growax-case-study-section .tag .eyebrow {
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.growax-case-study-section .h-m.is--testimonial {
  text-wrap: balance;
}

.growax-case-study-section .testimonial-item__lower > .p-m {
  max-width: 32rem;
  text-wrap: pretty;
}

.growax-faq-section .faq__title h2,
.growax-faq-section .faq__title .h-ml {
  text-wrap: balance;
}

.growax-faq-section .rich-text p {
  max-width: 58rem;
}

.growax-footer {
  position: relative;
  z-index: 2;
  background: #171514;
  color: #f7f2ed;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
}

.growax-footer__inner {
  width: min(96rem, 100%);
  margin: 0 auto;
}

.growax-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(247, 242, 237, 0.14);
}

.growax-footer__eyebrow {
  margin: 0 0 0.75rem;
  color: #9cff57;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.growax-footer__title {
  margin: 0;
  max-width: 13ch;
  color: #f7f2ed;
  font-size: clamp(3.8rem, 10vw, 11rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: 0;
}

.growax-footer__copy {
  max-width: 42rem;
  margin: clamp(1rem, 2vw, 1.6rem) 0 0;
  color: rgba(247, 242, 237, 0.72);
  font-size: clamp(1rem, 1.4vw, 1.28rem);
  line-height: 1.35;
}

.growax-footer__actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.growax-footer__button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  background: #9cff57;
  color: #171514;
  font-weight: 700;
  text-decoration: none;
}

.growax-footer__button.is-secondary {
  background: rgba(247, 242, 237, 0.1);
  color: #f7f2ed;
}

.growax-footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 4vw, 4rem);
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.growax-footer__links h3 {
  margin: 0 0 0.85rem;
  color: #9cff57;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.growax-footer__links a {
  display: block;
  width: fit-content;
  margin: 0.45rem 0;
  color: rgba(247, 242, 237, 0.72);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.2;
  text-decoration: none;
}

.growax-footer__links a:hover {
  color: #f7f2ed;
}

.growax-footer__brand-wrap {
  width: 100%;
  overflow: hidden;
  padding-top: clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(247, 242, 237, 0.14);
}

.growax-footer__brand {
  width: 100%;
  color: #f7f2ed;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(7rem, 25vw, 30rem);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: 0;
  white-space: nowrap;
  text-transform: none;
  transform: scaleX(1.08);
  transform-origin: left bottom;
}

.growax-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  color: rgba(247, 242, 237, 0.58);
  font-size: 0.82rem;
}

.footer.is-growax-localized .footer-bottom__logo {
  overflow: hidden;
  /* Osmo makes this wider than the viewport and slides it horizontally, which
     pushes "GrowAX" off both edges. Pin it to the viewport, fully visible. */
  width: 100% !important;
  max-width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: 0 !important;
  right: auto !important;
  transform: none !important;
}

.footer.is-growax-localized .growax-footer-wordmark {
  display: block;
  width: 100%;
  height: auto;
  color: currentColor;
  transform: translate3d(0, 22%, 0) scaleY(0.82);
  transform-origin: center bottom;
  will-change: transform, opacity;
  opacity: 0.18;
}

.footer.is-growax-localized .footer-link__col-li-tag,
.footer.is-growax-localized .footer-link__col-li.is--soon {
  display: none;
}

@media (max-width: 760px) {
  .growax-footer__top {
    grid-template-columns: 1fr;
  }

  .growax-footer__actions {
    justify-content: flex-start;
  }

  .growax-footer__links {
    grid-template-columns: 1fr;
  }

  .growax-footer__bottom {
    flex-direction: column;
  }
}

.growax-team-cta {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 2.4vw, 2rem);
  background: #f4f4f2;
  color: #1d1919;
}

.growax-team-cta__grid {
  width: min(95rem, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(22rem, 1fr);
  gap: clamp(0.9rem, 1.8vw, 1.35rem);
  align-items: stretch;
}

.growax-team-cta__visual,
.growax-team-cta__panel {
  min-height: clamp(25rem, 37vw, 36rem);
  overflow: hidden;
}

.growax-team-cta__visual {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 48% 48% 8px 8px;
  background: #1d1919;
  color: #f7f2ed;
  isolation: isolate;
}

.growax-team-cta__scribble {
  position: absolute;
  left: 50%;
  bottom: clamp(1.7rem, 4vw, 3.3rem);
  z-index: 5;
  transform: translateX(-50%) rotate(-4deg);
  color: #91ff54;
  font-family: cursive;
  font-size: clamp(1.4rem, 2.4vw, 2.3rem);
  line-height: 1;
  white-space: nowrap;
}

.growax-btf-wrap {
  position: relative;
  z-index: 2;
  width: min(70%, 28rem);
  aspect-ratio: 0.77;
  display: grid;
  place-items: center;
  animation: growax-btf-float 5.2s ease-in-out infinite;
}

.growax-btf-bg,
.growax-btf-layer,
.growax-btf-rotate {
  position: absolute;
  inset: 0;
}

.growax-btf-bg {
  z-index: 0;
}

.growax-btf-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1.8rem 2.4rem rgba(0, 0, 0, 0.34));
}

.growax-btf-layer {
  width: 100%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  transform: translate(-50%, -50%);
  background: #1d1919;
}

.growax-btf-layer--text {
  z-index: 1;
  color: #f7f2ed;
}

.growax-btf-layer h3 {
  margin: 0;
  color: #f7f2ed;
  font-size: clamp(3.7rem, 7.2vw, 8.4rem);
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: 0;
  text-align: center;
  transform: translateY(-0.03em);
}

.growax-btf-layer--image {
  z-index: 2;
  background: transparent;
  animation: growax-btf-orbit 6.5s ease-in-out infinite;
}

.growax-btf-layer--one {
  width: 100%;
}

.growax-btf-layer--two {
  width: 72%;
  z-index: 3;
  animation: growax-btf-pulse 4.8s ease-in-out infinite;
}

.growax-btf-layer--two h3 {
  font-size: clamp(2.8rem, 5.2vw, 5.8rem);
}

.growax-btf-layer--three {
  width: 48%;
  z-index: 4;
  animation-delay: -1.6s;
}

.growax-btf-layer--image .growax-btf-img {
  width: calc(100% / var(--layer-scale, 1));
  height: calc(130% / var(--layer-scale, 1));
  left: 50%;
  top: 50%;
  inset: auto;
  transform: translate(-50%, -50%);
  max-width: none;
  max-height: none;
}

.growax-btf-layer--one {
  --layer-scale: 1;
}

.growax-btf-layer--three {
  --layer-scale: 0.48;
}

.growax-btf-rotate {
  width: 48%;
  aspect-ratio: 1;
  inset: auto;
  left: 50%;
  top: 50%;
  z-index: 6;
  color: #f7f2ed;
  transform: translate(-50%, -50%);
  animation: growax-btf-spin 8s linear infinite;
}

.growax-btf-rotate svg {
  width: 100%;
  height: 100%;
  display: block;
}

.growax-community-cta {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 3vw, 2.5rem);
  background: #f4f4f2;
  color: #1d1919;
}

.growax-community-cta .container {
  width: min(96rem, 100%);
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.growax-community-cta .shapes-section__row {
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(22rem, 1fr);
  gap: clamp(0.9rem, 1.8vw, 1.4rem);
  align-items: stretch;
}

.growax-community-cta .shapes-section__col {
  min-width: 0;
  display: flex;
}

.growax-community-cta .shapes-visual-card,
.growax-community-cta .shapes-cta-card {
  width: 100%;
  min-height: clamp(28rem, 43vw, 43rem);
  overflow: hidden;
}

.growax-community-cta .shapes-visual-card {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 48% 48% 8px 8px;
  background: #1d1919;
  color: #f7f2ed;
}

.growax-community-cta .shapes-visual__note {
  position: absolute;
  left: 50%;
  bottom: clamp(1.6rem, 3.8vw, 3.1rem);
  z-index: 5;
  transform: translateX(-50%) rotate(-4deg);
}

.growax-community-cta .shapes-visual__note .scribble {
  color: #91ff54;
  font-family: cursive;
  font-size: clamp(1.35rem, 2.25vw, 2.25rem);
  line-height: 1;
  white-space: nowrap;
}

.growax-community-cta .btf-wrap {
  width: min(66%, 31rem);
  min-width: 15rem;
}

.growax-community-cta .shapes-cta-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 1.7rem);
  padding: clamp(1.7rem, 3.6vw, 3.6rem);
  border-radius: 8px;
  background: #6d3df4;
  color: #fff;
}

.growax-community-cta .join-faces__wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

.growax-community-cta .join-faces__image-row,
.growax-community-cta .join-faces__list {
  display: flex;
  align-items: center;
}

.growax-community-cta .join-faces__image-el {
  width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 auto;
  margin-right: -0.45rem;
  border-radius: 50%;
}

.growax-community-cta .join-faces__wrap .p-m {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.2;
}

.growax-community-cta .shapes-cta__title-row {
  display: grid;
  gap: clamp(1.1rem, 2vw, 1.8rem);
}

.growax-community-cta .shapes-cta__title-row .h-xl {
  margin: 0;
  color: #fff;
  font-size: clamp(5rem, 9vw, 10.5rem);
  font-weight: 460;
  line-height: 0.9;
  letter-spacing: 0;
}

.growax-community-cta .shapes-cta__title-p .p-m {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.65vw, 1.75rem);
  line-height: 1.32;
}

.growax-community-cta .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  align-items: center;
}

.growax-community-cta .button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.55rem;
  padding: 0.15rem 1.45rem;
  overflow: hidden;
  border-radius: 8px;
  color: inherit;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1;
  text-decoration: none;
  overflow: hidden;
}

.growax-community-cta .button[data-shape="round"] {
  border-radius: 999px;
}

.growax-community-cta .button-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
}

.growax-community-cta .button-row .button:first-child .button-bg {
  background: #1d1919;
}

.growax-community-cta .button-row .button:nth-child(2) .button-bg {
  background: #f7f2ed;
}

.growax-community-cta .button-row .button:nth-child(2) {
  color: #1d1919;
}

/* The form's submit sits on the dark card, so it takes the lime fill instead
   of the card-coloured default. */
.growax-community-cta .growax-form__foot .button.growax-form__submit .button-bg {
  background: #91ff54;
}

.growax-community-cta .growax-form__foot .button.growax-form__submit:hover .button-bg {
  background: #a6ff74;
}

.growax-community-cta .growax-form__foot .button.growax-form__submit .button-label span {
  color: #1d1919;
  font-weight: 600;
}

/* Rotate-hover, in CSS. The template drives this with GSAP on page load, which
   never runs for a section injected afterwards — that is why these buttons were
   previously pinned flat. The two stacked labels swap on hover instead. */
.growax-community-cta .button-label__wrap {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
}

.growax-community-cta .button-label {
  display: block;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.growax-community-cta .button-label[aria-hidden="true"] {
  position: absolute;
  inset: 0;
  transform: translateY(105%);
}

.growax-community-cta .button:hover .button-label:not([aria-hidden="true"]) {
  transform: translateY(-105%);
}

.growax-community-cta .button:hover .button-label[aria-hidden="true"] {
  transform: translateY(0);
}

.growax-community-cta .button-label span {
  display: block;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .growax-community-cta .button-label { transition: none; }
}

.growax-team-cta__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 1.7rem);
  padding: clamp(1.7rem, 3.4vw, 3.4rem);
  border-radius: 8px;
  background: #6d3df4;
  color: #fff;
  animation: growax-panel-in 0.9s cubic-bezier(.22, 1, .36, 1) both;
}

.growax-team-cta__kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 1.2vw, 1.25rem);
}

.growax-team-cta__mini-avatars {
  display: inline-flex;
  align-items: center;
}

.growax-team-cta__mini-avatars span,
.growax-team-cta__avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1d1919;
  color: #91ff54;
  font-weight: 700;
  letter-spacing: 0;
}

.growax-team-cta__mini-avatars span {
  width: 1.75rem;
  height: 1.75rem;
  margin-right: -0.42rem;
  border: 2px solid #6d3df4;
  font-size: 0.58rem;
}

.growax-team-cta__panel h2 {
  max-width: 10ch;
  margin: 0;
  color: #fff;
  font-size: clamp(3.7rem, 7.8vw, 7.8rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: 0;
}

.growax-team-cta__panel p {
  max-width: 45rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.35;
}

.growax-team-cta__people {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}

.growax-team-cta__person {
  display: inline-grid;
  gap: 0.12rem;
  min-width: 0;
  max-width: 13.5rem;
  padding: 0.52rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(29, 25, 25, 0.12);
}

.growax-team-cta__person strong,
.growax-team-cta__person span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.growax-team-cta__person strong {
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
}

.growax-team-cta__person span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
}

.growax-team-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  align-items: center;
}

.growax-team-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.1rem 1.35rem;
  border-radius: 8px;
  color: inherit;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1;
  text-decoration: none;
}

.growax-team-cta__button--dark {
  background: #1d1919;
  color: #fff;
}

.growax-team-cta__button--light {
  background: #f7f2ed;
  color: #1d1919;
}

@keyframes growax-btf-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }

  50% {
    transform: translate3d(0.35rem, -0.7rem, 0) rotate(2deg);
  }
}

@keyframes growax-btf-orbit {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(calc(-50% + 0.35rem), calc(-50% - 0.45rem)) scale(1.02);
  }
}

@keyframes growax-btf-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(0.94);
  }
}

@keyframes growax-btf-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes growax-panel-in {
  from {
    opacity: 0;
    transform: translateY(1.2rem) scale(0.985);
  }

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

@media (max-width: 767px) {
  .growax-note {
    display: none;
  }

  .growax-logo-img {
    width: 2.45rem;
    height: 2.45rem;
  }

  .growax-tech-stack__item {
    width: 3.3rem !important;
    min-width: 3.3rem;
    height: 3.15rem;
    gap: 0.22rem;
  }

  .growax-tech-stack__logo {
    width: 1.55rem;
    height: 1.55rem;
  }

  .growax-tech-stack__name {
    font-size: 0.48rem;
  }

  .growax-team-cta {
    padding: 2.75rem 1rem;
  }

  .growax-community-cta {
    padding: 2.75rem 1rem;
  }

  .growax-community-cta .shapes-section__row {
    grid-template-columns: 1fr;
  }

  .growax-community-cta .shapes-visual-card,
  .growax-community-cta .shapes-cta-card {
    min-height: 24rem;
  }

  .growax-community-cta .shapes-visual-card {
    border-radius: 44% 44% 8px 8px;
  }

  .growax-community-cta .btf-wrap {
    width: min(72%, 19rem);
  }

  .growax-community-cta .shapes-cta-card {
    padding: 1.65rem 1.15rem;
  }

  .growax-community-cta .shapes-cta__title-row .h-xl {
    font-size: clamp(3.25rem, 15vw, 5.2rem);
  }

  .growax-community-cta .button {
    min-height: 3.2rem;
    padding-inline: 1rem;
  }

  .growax-team-cta__grid {
    grid-template-columns: 1fr;
  }

  .growax-team-cta__visual,
  .growax-team-cta__panel {
    min-height: 24rem;
  }

  .growax-team-cta__visual {
    border-radius: 44% 44% 8px 8px;
  }

  .growax-btf-wrap {
    width: min(72%, 19rem);
  }

  .growax-btf-layer h3 {
    font-size: clamp(3rem, 14vw, 5.4rem);
  }

  .growax-btf-layer--two h3 {
    font-size: clamp(2.2rem, 10vw, 4rem);
  }

  .growax-team-cta__panel {
    padding: 1.65rem 1.15rem;
  }

  .growax-team-cta__panel h2 {
    font-size: clamp(3.25rem, 15vw, 5.2rem);
  }

}

/* ---------------------------------------------------------------- globe map --
   The template ships a zoom transform per highlighted country. Pakistan is ours,
   so it needs its own; values put the country in the middle of the circular
   window at the same zoom the template uses for a country of this size.
   Measured from the centroid of map-pak.svg over map-base.avif (0.665, 0.559):
   translate = -scale * (fraction - 0.5). */
.testimonial-globe__map-w:has([data-testimonial-map="PAK"].is--active) .testimonial-globe__img {
  transform: translate(-49%, -18%) scale(3);
}

/* A product photo composed at the card's own aspect ratio: fill the slot rather
   than letterboxing it the way the animated SVG visuals are. */
.growax-portfolio-card .resource-card__img.growax-photo-card {
  object-fit: cover;
  object-position: 50% 50%;
  background: #0b2a34;
}

/* ---------------------------------------------------------------- about page --
   The template's about-map showed a tight crop of two small countries. Ours is the
   full world map with Pakistan picked out, so the two layers are stacked at the same
   size: map-base.avif and map-pak.svg are the same equirectangular canvas (both
   1.5165), which makes them register exactly without any nudging.
   The wrap is also shortened -- at the template's 2.1 the map left ~880px of empty
   sky on a 1440 viewport. */
.about-map__wrap { aspect-ratio: 3.1; }

.about-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.about-map__inner.growax-about-map__base,
.growax-about-map__mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 46%;   /* keep South Asia in frame when the sides crop */
}

.about-map__inner.growax-about-map__base { opacity: .22; }

.growax-about-map__mark {
  /* the highlight is already the accent colour in the SVG; lift it off the base */
  filter: drop-shadow(0 0 26px rgba(157, 255, 87, .35));
}

/* The people row sits directly under the services grid; the template's about-hero
   padding assumes it opens a page, so it needs its own top spacing here. */
.about-hero { padding-top: var(--gap-xl); }

@media (max-width: 767px) {
  /* four people cards in a row become unreadable on a phone */
  .about-hero__row { flex-flow: column; }
  .about-map__wrap { aspect-ratio: 1.7; }
}

/* info-grid draws a 1px centre rule (.info-grid__intro-bg) that starts ~590px above
   its own section. On the template that lands on more dark section, so it is
   invisible; here it crosses the light stats block and reads as a stray hairline.
   Clip it to its section rather than deleting it, so the divider still does its job
   inside the grid. */
[data-barba-namespace="about"] .info-grid { overflow: hidden; }

/* ==========================================================================
   Closing section — contact form (left) beside the purple CTA card (right).
   The card keeps the template's own classes so it keeps the native button
   rotate-hover animation and type scale. Only the form is new.
   ========================================================================== */

.growax-community-cta .growax-form-card,
.growax-community-cta .growax-form-card * { box-sizing: border-box; }

/* Real team photos in the purple card's face row. */
.growax-community-cta .join-faces__image-el {
  overflow: hidden;
  border: 2px solid #6d3df4;
  background: #1d1919;
}

.growax-community-cta .join-faces__image-el .cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ---- form card ------------------------------------------------------------ */

.growax-community-cta .growax-form-card {
  display: flex;
  flex-direction: column;
  gap: clamp(1.1rem, 2.2vw, 1.8rem);
  width: 100%;
  min-height: clamp(28rem, 43vw, 43rem);
  padding: clamp(1.7rem, 3.6vw, 3.2rem);
  border-radius: 8px;
  background: #1d1919;
  color: #f7f2ed;
}

.growax-form__eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.32rem 0.8rem;
  border: 1px solid rgba(145, 255, 84, 0.4);
  border-radius: 999px;
  color: #91ff54;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.growax-form__title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #fff;
}

.growax-form__lead {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  line-height: 1.45;
  color: rgba(247, 242, 237, 0.66);
}

.growax-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
}

.growax-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.growax-field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }

.growax-field__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 242, 237, 0.5);
}

.growax-field__input {
  width: 100%;
  min-height: 3rem; /* >= 44px touch target */
  padding: 0.8rem 1rem;
  border: 1px solid rgba(247, 242, 237, 0.16);
  border-radius: 0.7rem;
  background: rgba(247, 242, 237, 0.04);
  color: #f7f2ed;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.3;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  appearance: none;
}

.growax-field__input::placeholder { color: rgba(247, 242, 237, 0.34); }

.growax-field__input:hover { border-color: rgba(247, 242, 237, 0.3); }

.growax-field__input:focus {
  outline: none;
  border-color: #91ff54;
  background: rgba(145, 255, 84, 0.07);
  box-shadow: 0 0 0 3px rgba(145, 255, 84, 0.16);
}

.growax-field__textarea { resize: vertical; min-height: 6.5rem; line-height: 1.45; }

/* Invalid styling only once the field has been touched, so the form does not
   greet the visitor in red. */
.growax-field__input:user-invalid {
  border-color: rgba(255, 122, 122, 0.75);
  background: rgba(255, 122, 122, 0.07);
}

.growax-form__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-top: 0.35rem;
}

.growax-form__note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: rgba(247, 242, 237, 0.55);
}

.growax-form__note a { color: #91ff54; text-decoration: none; }
.growax-form__note a:hover { text-decoration: underline; }

.growax-form__status {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #91ff54;
}

/* ---- stack on small screens ----------------------------------------------- */

@media (max-width: 62rem) {
  .growax-community-cta .growax-form-card { min-height: 0; }
}

@media (max-width: 40rem) {
  .growax-form__row { grid-template-columns: minmax(0, 1fr); }
  .growax-form__foot { flex-direction: column; align-items: stretch; }
  .growax-form__foot .button { width: 100%; }
  .growax-form__note { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .growax-field__input { transition: none; }
}

/* Slightly larger faces so the photos actually read at this size. */
.growax-community-cta .join-faces__image-el {
  width: 2.2rem;
  height: 2.2rem;
  margin-right: -0.5rem;
}

/* ---- custom select (black / white, no OS chrome) --------------------------- */

.growax-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.gxsel { position: relative; }

.gxsel__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(247, 242, 237, 0.16);
  border-radius: 0.7rem;
  background: rgba(247, 242, 237, 0.04);
  color: rgba(247, 242, 237, 0.42);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.gxsel__button:hover { border-color: rgba(247, 242, 237, 0.3); }

.gxsel__button:focus-visible,
.gxsel[data-open="true"] .gxsel__button {
  outline: none;
  border-color: #fff;
  background: rgba(247, 242, 237, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

/* Filled state reads white; the placeholder stays muted. */
.gxsel[data-filled="true"] .gxsel__button { color: #fff; }

.gxsel__value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.gxsel__chevron {
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.2rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  opacity: 0.7;
}

.gxsel[data-open="true"] .gxsel__chevron { transform: rotate(-135deg) translate(-0.15rem, -0.15rem); }

.gxsel__list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  max-height: 15rem;
  margin: 0;
  padding: 0.35rem;
  overflow-y: auto;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.7rem;
  background: #0d0c0c;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.gxsel__list[hidden] { display: none; }

.gxsel__list::-webkit-scrollbar { width: 8px; }
.gxsel__list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.22); border-radius: 999px; }

.gxsel__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.25;
  cursor: pointer;
}

.gxsel__option:hover,
.gxsel__option[data-active="true"] { background: #fff; color: #000; }

.gxsel__option[aria-selected="true"]::after {
  content: "";
  flex: 0 0 auto;
  width: 0.38rem;
  height: 0.7rem;
  margin-right: 0.15rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-15%);
}

@media (prefers-reduced-motion: reduce) {
  .gxsel__button, .gxsel__chevron { transition: none; }
}

/* The submit is a <button> now, so it needs the browser's native chrome
   cleared before the template's .button styles read correctly. */
.growax-community-cta button.button {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.growax-community-cta button.button[aria-busy="true"] { opacity: 0.7; cursor: progress; }

.growax-form__status {
  margin: 0.25rem 0 0;
  min-height: 1.35em;
  font-size: 0.92rem;
  line-height: 1.4;
}

.growax-form__status[data-tone="ok"]      { color: #91ff54; }
.growax-form__status[data-tone="error"]   { color: #ff9d9d; }
.growax-form__status[data-tone="pending"] { color: rgba(247, 242, 237, 0.6); }
