:root {
  --blue: #1479d4;
  --blue-deep: #4430a7;
  --blue-ink: #12234c;
  --cyan: #12aee8;
  --purple: #5630b8;
  --red: #ff3030;
  --red-deep: #d91520;
  --green: #28d766;
  --text: #242a31;
  --muted: #6e7780;
  --line: #dce8f7;
  --soft: #f2f8ff;
  --white: #ffffff;
  --glow: 0 18px 50px rgba(18, 174, 232, 0.22);
  --shadow: 0 18px 45px rgba(18, 35, 76, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 0 0, rgba(86, 48, 184, 0.09), transparent 34%),
    radial-gradient(circle at 100% 10%, rgba(18, 174, 232, 0.1), transparent 30%),
    var(--white);
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-width: 0;
}

.top-bar {
  display: none;
}

.top-bar__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-link {
  opacity: 0.92;
  overflow-wrap: anywhere;
}

.socials {
  margin-left: auto;
  display: flex;
  gap: 14px;
  font-size: 11px;
  text-transform: uppercase;
}

.nav {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  color: var(--white);
}

.nav__inner {
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
  font-size: 18px;
}

.brand__logo {
  width: 210px;
  height: 112px;
  object-fit: contain;
  object-position: center;
  border: 0;
  background: transparent;
}

.brand__text {
  display: none;
}

.nav-links {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 34px;
  margin-right: calc((100vw - min(1120px, calc(100vw - 40px))) / -2);
  padding: 0 max(38px, calc((100vw - 1120px) / 2 + 38px)) 0 78px;
  background: #2877c9;
  clip-path: polygon(42px 0, 100% 0, 100% 100%, 42px 100%, 0 50%);
  font-size: 14px;
  font-weight: 900;
}

.quote-link {
  padding: 15px 22px;
  background: var(--red);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 10px 26px rgba(255, 48, 48, 0.25);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 3px 0;
  background: var(--white);
}

.hero {
  min-height: 720px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero__media,
.cta__media,
.principles__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__media {
  background-image: url("assets/images/neema-family-hero.jpg");
  background-position: center 35%;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero__overlay,
.cta__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 36, 0.92), rgba(16, 45, 62, 0.74), rgba(27, 78, 111, 0.52)),
    radial-gradient(circle at 82% 18%, rgba(18, 174, 232, 0.24), transparent 32%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 72px;
  align-items: end;
  padding-top: 134px;
}

.hero__copy {
  max-width: 760px;
}

.hero-badge {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 9px 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-badge span {
  width: 8px;
  height: 8px;
  display: inline-block;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--cyan);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.pricing-title,
.section-heading h2,
.hero-stat strong,
.stats strong,
.price,
.rate-card strong {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(54px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -1px;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

h1 em {
  color: #82d8ff;
  font-style: normal;
}

.hero__copy h1::after {
  content: "";
  width: 112px;
  height: 5px;
  display: block;
  margin-top: 24px;
  background: var(--cyan);
  border-radius: 999px;
}

h2 {
  color: var(--text);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.16;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
}

.hero__lead {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.button--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 999px;
}

.button--primary:hover {
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.button--light {
  color: var(--blue-ink);
  border-color: transparent;
  background: var(--white);
  border-radius: 999px;
}

.hero-stat {
  margin-bottom: 12px;
  padding: 30px;
  color: var(--white);
  background: linear-gradient(145deg, rgba(14, 49, 69, 0.88), rgba(14, 32, 45, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.hero-stat__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  color: var(--white);
  background: var(--cyan);
  border-radius: 14px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-stat strong {
  display: block;
  margin-bottom: 0;
  font-size: 44px;
  line-height: 1;
}

.hero-stat p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 18px;
}

.hero-stat ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-stat li {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 800;
}

.hero-stat li::before {
  content: "";
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 10px;
  background: var(--cyan);
  border-radius: 50%;
}

.button--outline {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--white);
}

.section {
  padding: 105px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
  min-width: 0;
}

.split--reverse {
  grid-template-columns: 0.9fr 1fr;
}

.image-stack {
  min-height: 475px;
  position: relative;
}

.image-card {
  position: absolute;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.image-card--large {
  width: 68%;
  height: 360px;
  left: 0;
  top: 0;
  background-image: url("assets/images/neema-home-tablet.jpg");
}

.image-card--small {
  width: 48%;
  height: 275px;
  right: 0;
  bottom: 20px;
  border: 10px solid var(--white);
  background-image: url("assets/images/neema-youth-online.jpg");
}

.trust-badge {
  position: absolute;
  left: 18%;
  bottom: 58px;
  width: 190px;
  padding: 22px;
  color: var(--white);
  background: var(--blue);
  box-shadow: var(--shadow);
}

.trust-badge strong {
  display: block;
  font-size: 43px;
  line-height: 1;
}

.trust-badge span {
  font-size: 12px;
  font-weight: 800;
}

.section-copy p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

blockquote {
  margin: 24px 0;
  padding-left: 18px;
  color: #47525e;
  border-left: 4px solid var(--red);
  font-weight: 700;
}

.mini-feature {
  display: flex;
  gap: 16px;
  margin: 26px 0 30px;
}

.mini-feature__icon {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  font-size: 24px;
  font-weight: 800;
}

.mini-feature p {
  margin-bottom: 0;
}

.section--blue {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--blue);
}

.principles__media {
  left: 38%;
  background-image: linear-gradient(90deg, rgba(7, 82, 143, 0.92), rgba(7, 82, 143, 0.5)), url("assets/images/neema-community-mobile.jpg");
}

.principles__content {
  position: relative;
  z-index: 1;
}

.principles h2 {
  max-width: 790px;
  color: var(--white);
}

.principles__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 26px;
  align-items: end;
  margin-top: 36px;
}

.video-tile {
  min-height: 230px;
  display: grid;
  place-items: center;
  background-image: linear-gradient(rgba(5, 61, 109, 0.18), rgba(5, 61, 109, 0.18)), url("assets/images/neema-community-coverage.jpg");
  background-size: cover;
  background-position: center;
}

.principle-card {
  min-height: 210px;
  padding: 30px;
  color: var(--text);
  background: var(--white);
  border-bottom: 4px solid var(--green);
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: -52px;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.principle-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.stats {
  margin-top: -42px;
  position: relative;
  z-index: 2;
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--blue);
  box-shadow: var(--shadow);
}

.stats__inner div {
  min-height: 118px;
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.stats__inner div:last-child {
  border-right: 0;
}

.stats strong {
  font-size: 35px;
  line-height: 1;
}

.stats span {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.packages {
  background:
    radial-gradient(circle at 18% 10%, rgba(18, 174, 232, 0.12), transparent 28%),
    linear-gradient(180deg, #f7fbff, #ffffff);
}

.section-heading p {
  color: var(--muted);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.pricing-title {
  margin: 0 0 24px;
  color: var(--blue-ink);
  text-align: center;
}

.pricing-title--business {
  margin-top: 58px;
}

.package-card {
  position: relative;
  overflow: hidden;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  min-width: 0;
  border: 1px solid rgba(220, 232, 247, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(18, 35, 76, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.package-card::before {
  display: none;
}

.package-card > * {
  position: relative;
  z-index: 1;
}

.package-card:hover {
  transform: translateY(-8px);
  border-color: rgba(20, 121, 212, 0.34);
  box-shadow: var(--glow);
}

.package-card--featured {
  transform: translateY(-14px);
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(145deg, #2e86df, #1f69d0 58%, #22afe2);
  box-shadow: 0 22px 58px rgba(20, 121, 212, 0.28);
}

.package-card__label {
  margin: 18px 0 14px;
  padding-bottom: 16px;
  color: var(--blue);
  border-bottom: 1px solid #d7e0ec;
  font-size: 23px;
  font-weight: 800;
}

.package-card--featured .package-card__label,
.package-card--featured .price,
.package-card--featured .price span,
.package-card--featured li {
  color: var(--white);
}

.package-card--featured .package-card__label {
  border-color: rgba(255, 255, 255, 0.26);
}

.package-card--basic .package-card__label,
.package-card--basic .price,
.package-card--basic .button--outline {
  color: #16af63;
}

.package-card--family .package-card__label,
.package-card--family .price,
.package-card--family .button--outline {
  color: #654bdc;
}

.price {
  margin: 22px 0 0;
  color: var(--blue);
  font-size: 29px;
  font-weight: 800;
}

.price span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.package-card ul {
  min-height: 92px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.package-card li {
  margin-bottom: 12px;
  color: var(--muted);
}

.package-card li::before {
  content: "✓";
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  margin-right: 10px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.package-card--basic li::before {
  background: #16af63;
}

.package-card--family li::before {
  background: #654bdc;
}

.package-card--featured li::before {
  color: var(--blue);
  background: var(--white);
}

.package-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: linear-gradient(145deg, #eef4ff, #e5ecfb);
  border-radius: 18px;
  font-size: 20px;
  font-weight: 900;
}

.package-card--basic .package-icon {
  color: #16af63;
  background: linear-gradient(145deg, #e7f9ef, #dcf4e7);
}

.package-card--family .package-icon {
  color: #654bdc;
  background: linear-gradient(145deg, #f0ebff, #e9e3fb);
}

.package-card--featured .package-icon {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.popular-ribbon {
  position: absolute;
  top: -28px;
  right: -42px;
  width: 150px;
  height: 68px;
  display: grid;
  place-items: end center;
  padding-bottom: 9px;
  color: #3869df;
  background: var(--white);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(45deg);
}

.speed-bar {
  height: 10px;
  margin: 4px 0 12px;
  overflow: hidden;
  background: #e7edf5;
  border-radius: 999px;
}

.speed-bar span {
  width: var(--speed);
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #2d73ff, #54cfff);
  border-radius: inherit;
  animation: speedFill 1200ms ease both;
}

.package-card--basic .speed-bar span {
  background: #16c579;
}

.package-card--family .speed-bar span {
  background: #654bdc;
}

.package-card--featured .speed-bar {
  background: rgba(255, 255, 255, 0.16);
}

.package-card--featured .speed-bar span {
  background: linear-gradient(90deg, #28d766, #654bdc);
}

.package-card .button {
  margin-top: auto;
  min-height: 44px;
  border-radius: 8px;
}

.package-card .button--outline {
  background: transparent;
  border-color: currentColor;
}

.package-card--featured .button--primary {
  color: var(--blue);
  background: var(--white);
}

.community-plan {
  margin-top: 72px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 8%, rgba(18, 174, 232, 0.34), transparent 28%),
    linear-gradient(145deg, #112a48, #174b77 58%, #18677c);
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(18, 35, 76, 0.22);
}

.community-plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.community-plan__head h3 {
  margin-bottom: 0;
  color: var(--white);
  font-size: 32px;
}

.community-plan__price {
  flex: 0 0 auto;
  text-align: right;
}

.community-plan__price strong,
.community-plan__price span {
  display: block;
}

.community-plan__price strong {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 1;
}

.community-plan__price span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.community-slider__viewport {
  overflow: hidden;
}

.community-slider__track {
  display: flex;
  transition: transform 550ms cubic-bezier(0.22, 0.8, 0.24, 1);
}

.community-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: stretch;
}

.community-slide img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
}

.community-slide__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 44px;
}

.community-slide__tag {
  margin-bottom: 16px;
  padding: 7px 11px;
  color: var(--blue-ink);
  background: var(--green);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.community-slide h3 {
  max-width: 620px;
  color: var(--white);
  font-size: 35px;
}

.community-slide p {
  color: rgba(255, 255, 255, 0.78);
}

.community-slide ul {
  margin: 10px 0 28px;
  padding: 0;
  list-style: none;
}

.community-slide li {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.community-slide li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--green);
  font-weight: 900;
}

.community-slider__footer {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 34px;
  background: rgba(3, 21, 37, 0.24);
}

.community-slider__footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.community-slider__controls,
.community-slider__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.community-slider__controls button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.community-slider__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.community-slider__dots button.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--green);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.rate-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue-deep), var(--blue), var(--cyan));
  border-bottom: 4px solid var(--green);
  box-shadow: 0 14px 36px rgba(18, 35, 76, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.rate-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow);
}

.rate-card span,
.rate-card strong,
.rate-card p {
  display: block;
}

.rate-card span {
  min-height: 44px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.rate-card strong {
  margin: 14px 0 2px;
  font-size: 32px;
  line-height: 1;
}

.rate-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.coverage {
  background: var(--soft);
}

.office-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.office-list div {
  padding: 18px 20px;
  background: var(--white);
  border-left: 4px solid var(--red);
}

.office-list strong,
.office-list span {
  display: block;
}

.office-list span {
  color: var(--muted);
}

.coverage-panel {
  display: grid;
  gap: 18px;
}

.coverage-list {
  max-height: 270px;
  overflow: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(17, 50, 77, 0.08);
}

.coverage-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  color: var(--blue-ink);
  background: var(--soft);
  border-left: 3px solid var(--green);
  font-size: 12px;
  font-weight: 800;
}

.map-card {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-card label {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-ink);
  font-size: 13px;
  font-weight: 800;
}

.map-card select {
  margin-bottom: 14px;
}

.map-card iframe {
  width: 100%;
  height: 365px;
  display: block;
  border: 0;
  background: var(--soft);
}

.map-card__link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.coverage-panel__note {
  padding: 24px;
  background: var(--white);
  border-bottom: 4px solid var(--red);
  box-shadow: 0 12px 32px rgba(17, 50, 77, 0.08);
}

.coverage-panel__note p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta {
  min-height: 430px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.cta__media {
  background-image: url("assets/images/neema-connected-group.jpg");
  background-position: center 44%;
}

.cta__content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  max-width: 650px;
  color: var(--white);
}

.cta p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.88);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 62px;
  align-items: start;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 34px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-ink);
  font-size: 13px;
  font-weight: 800;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid #d9e1e8;
  padding: 14px 15px;
  color: var(--text);
  font: inherit;
  background: var(--white);
}

textarea {
  resize: vertical;
}

.contact-form button {
  width: max-content;
}

.footer {
  color: var(--white);
  background: var(--blue);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 50px;
  padding: 64px 0 46px;
}

.brand--footer {
  margin-bottom: 18px;
}

.brand--footer .brand__logo {
  width: 150px;
  height: 90px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.footer a {
  display: block;
  margin-bottom: 10px;
}

.footer h3 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 15px;
}

.footer__bottom {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease var(--reveal-delay, 0ms), transform 700ms ease var(--reveal-delay, 0ms);
}

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

@keyframes heroZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

@keyframes speedFill {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }

  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
  }

  .nav__inner {
    min-height: 108px;
  }

  .brand__logo {
    width: 150px;
    height: 86px;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 96px;
    display: none;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-right: 0;
    color: var(--text);
    background: var(--white);
    clip-path: none;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .quote-link {
    color: var(--white);
  }

  .hero {
    min-height: 780px;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 38px;
    align-items: start;
    padding-top: 130px;
  }

  .hero-stat {
    max-width: 360px;
    margin-bottom: 0;
  }

  .split,
  .split--reverse,
  .principles__grid,
  .business-grid,
  .contact__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 76px 0;
  }

  .principles__media {
    left: 0;
  }

  .stats {
    margin-top: 0;
  }

  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .package-card--featured {
    transform: none;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .community-slide {
    grid-template-columns: 1fr;
  }

  .community-slide img {
    min-height: 280px;
    max-height: 340px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .nav__inner {
    min-height: 88px;
  }

  .nav-links {
    left: 12px;
    right: 12px;
    top: 82px;
  }

  .brand {
    max-width: calc(100vw - 88px);
    gap: 8px;
  }

  .brand__logo {
    width: 118px;
    height: 70px;
  }

  .brand__text {
    font-size: 20px;
  }

  h1 {
    max-width: 100%;
    font-size: 42px;
    line-height: 0.98;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 28px;
  }

  .hero {
    min-height: 600px;
  }

  .hero__content {
    padding-top: 92px;
  }

  .hero-badge {
    width: 100%;
    font-size: 11px;
  }

  .hero__lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .hero-stat {
    display: none;
  }

  .section {
    padding: 48px 0;
  }

  .split,
  .contact__grid {
    gap: 38px;
  }

  .package-card,
  .rate-card,
  .contact-form,
  .map-card {
    padding: 22px;
  }

  .package-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(272px, 82vw);
    grid-template-columns: none;
    gap: 16px;
    margin-inline: -12px;
    padding: 4px 12px 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  .package-card {
    min-height: 382px;
    scroll-snap-align: start;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .pricing-title {
    margin-bottom: 16px;
  }

  .community-plan {
    margin-top: 42px;
    border-radius: 12px;
  }

  .community-plan__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
  }

  .community-plan__head h3 {
    font-size: 26px;
  }

  .community-plan__price {
    text-align: left;
  }

  .community-slide img {
    min-height: 210px;
    max-height: 230px;
  }

  .community-slide__content {
    padding: 24px 22px;
  }

  .community-slide h3 {
    font-size: 27px;
  }

  .community-slide p {
    font-size: 13px;
  }

  .community-slide ul {
    margin-bottom: 22px;
  }

  .community-slider__footer {
    align-items: flex-start;
    padding: 14px 22px;
    flex-direction: column;
  }

  .price {
    font-size: 29px;
  }

  .business-grid {
    gap: 14px;
  }

  .map-card iframe {
    height: 300px;
  }

  .coverage-list {
    max-height: 230px;
    padding: 14px;
  }

  .image-stack {
    min-height: 420px;
  }

  .image-card--large {
    width: 88%;
    height: 290px;
  }

  .image-card--small {
    width: 62%;
    height: 210px;
  }

  .trust-badge {
    left: 0;
    bottom: 48px;
  }

  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__inner div {
    min-height: 96px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .footer__bottom {
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
