:root {
  --purple: #af62e7;
  --purple-deep: #7412f4;
  --line: #ead9f5;
  --ink: #080808;
  --muted: #37323e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Mulish", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header {
  position: fixed;
  top: clamp(16px, 4vw, 54px);
  left: 50%;
  z-index: 20;
  width: min(78vw, 1120px);
  min-height: 72px;
  display: grid;
  grid-template-columns: 180px 1fr 56px 210px;
  align-items: center;
  padding: 8px clamp(20px, 3.5vw, 50px);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 60px rgba(87, 26, 146, 0.06);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  width: 64px;
}

.brand-logo {
  width: 100%;
  height: auto;
  display: block;
}

.brand-logo-dark {
  display: none;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  font-size: clamp(0.9rem, 1.05vw, 1.18rem);
  font-weight: 500;
}

.nav-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 30;
  display: grid;
  gap: 6px;
  min-width: 230px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 50px rgba(87, 26, 146, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown a {
  padding: 11px 14px;
  border-radius: 12px;
  color: #17131c;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  color: var(--purple-deep);
  background: #f8efff;
}

.nav-menu:hover .nav-dropdown,
.nav-menu:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.contact-button,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--purple-deep), var(--purple));
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(125, 29, 242, 0.15);
}

.contact-button {
  justify-self: end;
  width: 150px;
  min-height: 46px;
  font-size: clamp(0.9rem, 1.05vw, 1.1rem);
  transform: translateX(-24px);
}

main {
  overflow: hidden;
}

.impact-hero {
  width: min(1280px, calc(100% - 86px));
  display: grid;
  grid-template-columns: minmax(500px, 0.88fr) minmax(540px, 1.12fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  margin: clamp(165px, 12vw, 205px) auto 72px;
}

.impact-copy h1 {
  margin: 0;
  font-size: clamp(3.1rem, 5.3vw, 5.1rem);
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0;
}

.impact-copy h1 span {
  color: var(--purple);
}

.impact-copy p {
  max-width: 580px;
  margin: 48px 0 44px;
  color: #1b1720;
  font-size: clamp(1.28rem, 2vw, 1.8rem);
  line-height: 1.45;
  font-weight: 500;
}

.impact-copy .primary-action {
  width: 315px;
  min-height: 58px;
  font-size: 1.23rem;
}

.impact-visual {
  align-self: end;
  justify-self: end;
  width: min(100%, 690px);
  overflow: visible;
}

.impact-visual img {
  display: block;
  width: 118%;
  max-width: none;
  margin-left: -5%;
}

.testimonies {
  width: min(1280px, calc(100% - 86px));
  margin: 0 auto 112px;
  padding-top: 58px;
}

.testimonies h2 {
  margin: 0 0 92px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  font-weight: 950;
}

.testimony-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 0 116px;
}

.testimony-track {
  display: flex;
  gap: clamp(68px, 8vw, 104px);
  align-items: flex-start;
  transform: translateX(var(--testimony-x, 0px));
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.testimony-card {
  flex: 0 0 clamp(410px, 36vw, 510px);
}

.testimony-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
}

.testimony-card h3 {
  margin: 54px 0 26px;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.15;
  font-weight: 800;
}

.testimony-card p {
  max-width: 470px;
  margin: 0;
  color: #2c2831;
  font-size: clamp(1.18rem, 2vw, 1.7rem);
  line-height: 1.16;
  font-weight: 500;
}

.testimony-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimony-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.testimony-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #dedede;
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.testimony-dots button.is-active {
  width: 72px;
  background: var(--purple);
}

.testimony-arrows {
  display: flex;
  gap: 34px;
}

.testimony-arrow {
  width: 58px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--purple);
  border-radius: 50%;
  color: #080808;
  background: #fff;
  font: inherit;
  font-size: 2rem;
  cursor: pointer;
}

.testimony-next {
  color: #fff;
  background: var(--purple);
}

.network-band {
  position: relative;
  width: min(1180px, calc(100% - 86px));
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(330px, 0.92fr) minmax(440px, 1.08fr);
  gap: 34px;
  align-items: center;
  margin: 0 auto 130px;
  padding: clamp(42px, 6vw, 62px);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(108deg, #fff 0 39%, #f3e8ff 57%, #7d1df2 100%);
}

.network-band h2 {
  margin: 0 0 30px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.08;
  font-weight: 900;
}

.network-band p {
  max-width: 470px;
  margin: 0;
  color: #433e49;
  font-size: clamp(1rem, 1.5vw, 1.36rem);
  line-height: 1.6;
  font-weight: 500;
}

.network-band .primary-action {
  width: 190px;
  min-height: 54px;
  margin-top: 34px;
  font-size: 1.15rem;
}

.network-phones {
  position: relative;
  align-self: stretch;
  min-height: 360px;
}

.network-phone {
  position: absolute;
  width: min(300px, 40vw);
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.24));
}

.network-phone-left {
  left: 10%;
  z-index: 1;
  bottom: -75px;
  transform: rotate(-14deg);
}

.network-phone-right {
  right: 5%;
  z-index: 4;
  bottom: -75px;
  transform: rotate(9deg);
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(34px, 6vw, 92px);
  padding: clamp(64px, 7vw, 86px) max(58px, calc((100vw - 1280px) / 2));
  color: #fff;
  background: #000;
}

.site-footer h2 {
  margin: 0 0 34px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.1;
  font-weight: 800;
}

.site-footer p {
  margin: 0 0 22px;
  color: #d0d0d0;
  font-size: 1.05rem;
  line-height: 1.55;
}

.footer-column {
  min-width: 0;
}

.social-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.social-links a {
  width: 58px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #d7a4ff;
  border-radius: 50%;
  color: #f4dcff;
}

.social-links svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.7;
}

.footer-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 26px;
  color: #fff;
}

.footer-row a,
.footer-links a {
  color: #fff;
}

.footer-icon {
  display: block;
  width: 28px;
  height: 28px;
  color: #d8d8d8;
}

.footer-links {
  display: grid;
  gap: 22px;
  font-size: 1.08rem;
}

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

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
    width: calc(100% - 28px);
    min-height: 58px;
    padding: 7px 14px;
  }

  .brand {
    width: 46px;
  }

  .nav-links {
    display: none;
  }

  .contact-button {
    width: auto;
    min-height: 40px;
    padding: 0 22px;
  }

  .impact-hero,
  .network-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .impact-hero {
    width: min(100% - 32px, 720px);
    margin-top: 90px;
  }

  .impact-visual {
    justify-self: center;
  }

  .impact-visual img {
    width: 100%;
    margin-left: 0;
  }

  .testimonies {
    width: calc(100% - 32px);
  }

  .testimony-card {
    flex-basis: min(430px, 80vw);
  }

  .network-band {
    width: calc(100% - 32px);
    min-height: 720px;
  }

  .network-phones {
    min-height: 350px;
  }

  .network-phone {
    width: min(240px, 58vw);
  }

  .network-phone-left {
    left: 16%;
    bottom: 8px;
  }

  .network-phone-right {
    right: 10%;
    bottom: 12px;
  }

  .site-footer {
    padding-inline: 32px;
  }
}

@media (max-width: 560px) {
  .impact-copy h1 {
    font-size: 2.45rem;
  }

  .impact-copy p,
  .testimony-card p {
    font-size: 1.08rem;
  }

  .impact-copy .primary-action {
    width: 100%;
  }

  .testimony-track {
    gap: 30px;
  }

  .testimonies h2 {
    margin-bottom: 42px;
  }
}
