.desktop-nav a.is-active,
.mobile-nav a.is-active {
  color: var(--green-dark);
}

.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.page-main {
  overflow: hidden;
}

.page-hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  padding: 90px 0;
  background: var(--cream);
}

.page-hero--dark {
  color: var(--white);
  background: var(--green-deep);
}

.page-hero--green {
  background: #dff8e4;
}

.page-hero--image {
  min-height: 690px;
  color: var(--white);
  background: var(--green-deep);
}

.page-hero__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 25, 10, 0.94), rgba(4, 25, 10, 0.66) 45%, rgba(4, 25, 10, 0.1));
}

.page-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 70px;
  align-items: center;
}

.page-hero--image .page-hero__grid {
  grid-template-columns: minmax(0, 650px) 1fr;
}

.page-hero__copy {
  max-width: 650px;
}

.page-hero__copy h1 {
  margin: 17px 0 24px;
  font-size: clamp(55px, 6.4vw, 88px);
}

.page-hero__copy h1 span {
  color: var(--green);
}

.page-hero--dark .page-hero__copy h1 span,
.page-hero--image .page-hero__copy h1 span {
  color: var(--green-bright);
}

.page-hero__copy > p {
  max-width: 590px;
  margin: 0 0 31px;
  color: var(--muted);
  font-size: 19px;
}

.page-hero--dark .page-hero__copy > p,
.page-hero--image .page-hero__copy > p {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero__visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 32px;
  background: #cfeeda;
  box-shadow: var(--shadow);
}

.page-hero__visual > img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.page-hero__visual--driver > img {
  object-position: 72% center;
}

.page-hero__visual--city > img {
  object-position: 60% center;
}

.page-hero__visual--airport {
  background:
    radial-gradient(circle at 70% 22%, #ddff72 0 6%, transparent 6.5%),
    linear-gradient(150deg, #c2edd1 0 43%, #9dd4ae 44% 56%, #52705a 57%);
}

.page-hero__visual--airport::before {
  position: absolute;
  top: 24%;
  right: 10%;
  width: 72%;
  height: 38%;
  border: 8px solid var(--green-deep);
  border-top: 0;
  border-right: 0;
  content: "";
  transform: skewX(-25deg);
}

.page-hero__visual--airport::after {
  position: absolute;
  right: 8%;
  bottom: 12%;
  width: 72%;
  height: 30%;
  border-radius: 80px 110px 25px 25px;
  background: var(--white);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.24);
  content: "";
}

.page-hero__visual--calendar {
  display: grid;
  place-items: center;
  background: #dff8e4;
}

.calendar-card {
  width: 72%;
  overflow: hidden;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
}

.calendar-card__top {
  padding: 24px;
  color: var(--white);
  background: var(--green-dark);
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.calendar-card__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  padding: 25px;
}

.calendar-card__grid span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  font-size: 12px;
}

.calendar-card__grid span.is-selected {
  color: var(--green-deep);
  background: var(--green-bright);
  font-weight: 800;
}

.page-hero__visual--business {
  display: grid;
  place-items: center;
  background: #163e1e;
}

.business-dashboard {
  width: 82%;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  transform: rotate(3deg);
}

.business-dashboard__head {
  height: 38px;
  margin-bottom: 22px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
}

.business-dashboard__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.business-dashboard__stats span {
  height: 85px;
  border-radius: 14px;
  background: #e8ffec;
}

.business-dashboard__chart {
  height: 160px;
  margin-top: 14px;
  border-radius: 16px;
  background:
    linear-gradient(150deg, transparent 30%, var(--green) 31% 33%, transparent 34% 45%, var(--green-bright) 46% 49%, transparent 50%),
    rgba(255, 255, 255, 0.08);
}

.page-subnav {
  position: sticky;
  z-index: 15;
  top: 76px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.page-subnav__inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 27px;
  overflow-x: auto;
}

.page-subnav a {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.page-subnav a:hover {
  color: var(--green-dark);
}

.content-section {
  padding: 105px 0;
}

.content-section--soft {
  background: var(--cream);
}

.content-section--green {
  background: #e7f9ea;
}

.content-section--dark {
  color: var(--white);
  background: var(--green-deep);
}

.content-heading {
  max-width: 720px;
  margin-bottom: 52px;
}

.content-heading--center {
  margin-inline: auto;
  text-align: center;
}

.content-heading--center .eyebrow {
  justify-content: center;
}

.content-heading h2,
.split-content h2,
.cta-panel h2,
.legal-hero h1 {
  margin: 15px 0 19px;
  font-size: clamp(39px, 4.8vw, 64px);
}

.content-heading p,
.split-content > p {
  color: var(--muted);
  font-size: 17px;
}

.content-section--dark .content-heading p,
.content-section--dark .split-content > p {
  color: rgba(255, 255, 255, 0.68);
}

.cards-3,
.cards-4,
.steps-grid,
.city-page-grid,
.contact-cards {
  display: grid;
  gap: 18px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.info-card,
.service-link-card,
.city-page-card,
.contact-card,
.blog-card {
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.info-card:hover,
.service-link-card:hover,
.city-page-card:hover,
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.content-section--dark .info-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 36px;
  border-radius: 16px;
  color: var(--green-deep);
  background: #e6ffe9;
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 800;
}

.info-card h3,
.service-link-card h3,
.city-page-card h3,
.contact-card h3,
.blog-card h3 {
  margin: 0 0 11px;
  font-size: 23px;
}

.info-card p,
.service-link-card p,
.city-page-card p,
.contact-card p,
.blog-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.content-section--dark .info-card p {
  color: rgba(255, 255, 255, 0.65);
}

.blog-card__tag {
  align-self: flex-start;
  margin-bottom: 38px;
  padding: 6px 10px;
  color: var(--green-dark);
  border-radius: 999px;
  background: #e6ffe9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-business__actions {
  margin-top: 28px;
}

.card-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}

.card-link::after {
  color: var(--green);
  content: "->";
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-layout--reverse .split-visual {
  order: 2;
}

.split-visual {
  min-height: 480px;
  overflow: hidden;
  border-radius: 30px;
  background: #dff4e4;
}

.split-visual img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.split-visual--art {
  position: relative;
  display: grid;
  place-items: center;
  padding: 45px;
  background: #dff8e4;
}

.split-visual--art img {
  min-height: 0;
  object-fit: contain;
}

.feature-points {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 28px 0 34px;
  list-style: none;
}

.feature-points li {
  position: relative;
  padding-left: 34px;
  font-weight: 600;
}

.feature-points li::before {
  position: absolute;
  top: 1px;
  left: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-deep);
  background: var(--green-bright);
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}

.steps-grid {
  grid-template-columns: repeat(3, 1fr);
  counter-reset: steps;
}

.step-card {
  min-height: 285px;
  padding: 32px;
  border-top: 1px solid var(--line);
  counter-increment: steps;
}

.step-card::before {
  display: block;
  margin-bottom: 55px;
  color: var(--green);
  content: "0" counter(steps);
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.step-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.step-card p {
  color: var(--muted);
}

.stat-band {
  padding: 60px 0;
  color: var(--white);
  background: var(--green-dark);
}

.stat-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item strong,
.stat-item span {
  display: block;
}

.stat-item strong {
  color: var(--green-bright);
  font-family: "Manrope", sans-serif;
  font-size: 37px;
}

.stat-item span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.route-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
}

.route-list a,
.route-list div {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: var(--white);
}

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

.route-list span {
  color: var(--muted);
  font-size: 12px;
}

.route-list i {
  color: var(--green);
  font-style: normal;
}

.city-page-grid {
  grid-template-columns: repeat(3, 1fr);
}

.city-page-card {
  min-height: 390px;
}

.city-page-card__image {
  width: calc(100% + 60px);
  max-width: none;
  height: 170px;
  display: block;
  margin: -30px -30px 28px;
  object-fit: cover;
  object-position: center;
}

/* Supports older cached city-card markup while serving the real photos. */
.city-page-card__skyline {
  height: 170px;
  flex: 0 0 170px;
  margin: -30px -30px 28px;
  background-color: #dcecdf;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.city-page-card:nth-child(1) .city-page-card__skyline {
  background-image: url("./assets/images/city-kigali.jpg?v=20260612-6");
}

.city-page-card:nth-child(2) .city-page-card__skyline {
  background-image: url("./assets/images/city-musanze.jpg?v=20260612-6");
}

.city-page-card:nth-child(3) .city-page-card__skyline {
  background-image: url("./assets/images/city-rubavu.jpg?v=20260612-6");
}

.city-page-card__skyline::after {
  display: none;
  content: none;
}

.city-page-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 4px 0 22px;
}

.city-page-card__meta span {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--green-dark);
  background: #ebf9ed;
  font-size: 10px;
  font-weight: 700;
}

.cta-section {
  padding: 70px 0;
  background: var(--cream);
}

.cta-panel {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 65px;
  overflow: hidden;
  color: var(--white);
  border-radius: 32px;
  background: var(--green-deep);
}

.cta-panel::after {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 360px;
  height: 360px;
  border: 85px solid rgba(0, 229, 61, 0.11);
  border-radius: 50%;
  content: "";
}

.cta-panel__copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.cta-panel__copy p {
  color: rgba(255, 255, 255, 0.68);
}

.cta-panel__actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 11px;
}

.faq-page-layout {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 90px;
}

.faq-categories {
  position: sticky;
  top: 165px;
  align-self: start;
  display: grid;
  gap: 8px;
}

.faq-categories a {
  padding: 12px 15px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 700;
}

.faq-categories a:hover {
  color: var(--green-dark);
  background: #ebf9ed;
}

.faq-group {
  margin-bottom: 55px;
}

.faq-group h2 {
  margin-bottom: 20px;
  font-size: 32px;
}

.contact-cards {
  grid-template-columns: repeat(3, 1fr);
}

.contact-card {
  min-height: 240px;
}

.contact-card strong {
  margin-top: auto;
  color: var(--green-dark);
  font-size: 18px;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-socials a {
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
}

.contact-socials a:hover {
  border-color: var(--green);
  background: #f0fff3;
}

.legal-hero {
  padding: 100px 0 70px;
  background: var(--cream);
}

.legal-hero p {
  max-width: 700px;
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  gap: 85px;
  align-items: start;
  padding: 80px 0 120px;
}

.legal-nav {
  position: sticky;
  top: 125px;
  display: grid;
  gap: 7px;
}

.legal-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.legal-content h2 {
  margin: 45px 0 15px;
  font-size: 28px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin: 28px 0 10px;
  font-size: 19px;
}

.legal-content p,
.legal-content li {
  color: #4f5951;
}

.legal-content li {
  margin: 8px 0;
}

.app-showcase {
  min-height: 650px;
}

@media (max-width: 980px) {
  .page-hero__grid,
  .split-layout {
    gap: 45px;
  }

  .cards-4 {
    grid-template-columns: 1fr 1fr;
  }

  .cards-3,
  .city-page-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 820px) {
  .page-hero {
    min-height: auto;
    padding: 75px 0;
  }

  .page-hero__grid,
  .page-hero--image .page-hero__grid,
  .split-layout,
  .faq-page-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .page-hero__visual {
    min-height: 400px;
  }

  .page-hero__visual > img {
    min-height: 400px;
  }

  .page-hero--image {
    min-height: 700px;
    align-items: end;
  }

  .page-hero--image .page-hero__grid {
    padding-top: 240px;
  }

  .page-hero__overlay {
    background: linear-gradient(0deg, rgba(4, 25, 10, 0.98), rgba(4, 25, 10, 0.64) 60%, rgba(4, 25, 10, 0.12));
  }

  .page-subnav {
    top: 68px;
  }

  .split-layout--reverse .split-visual {
    order: 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 220px;
  }

  .step-card::before {
    margin-bottom: 30px;
  }

  .stat-band__grid {
    grid-template-columns: 1fr 1fr;
  }

  .faq-page-layout,
  .legal-layout {
    gap: 45px;
  }

  .faq-categories,
  .legal-nav {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .faq-categories a,
  .legal-nav a {
    flex: 0 0 auto;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-panel__actions {
    flex-direction: row;
  }
}

@media (max-width: 580px) {
  .page-hero__copy h1 {
    font-size: 48px;
  }

  .page-hero__visual,
  .page-hero__visual > img,
  .split-visual,
  .split-visual img {
    min-height: 340px;
  }

  .cards-3,
  .cards-4,
  .city-page-grid,
  .route-list {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 78px 0;
  }

  .content-heading h2,
  .split-content h2,
  .cta-panel h2,
  .legal-hero h1 {
    font-size: 39px;
  }

  .stat-band__grid {
    gap: 22px;
  }

  .stat-item strong {
    font-size: 29px;
  }

  .cta-panel {
    padding: 38px 25px;
  }

  .cta-panel__actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-panel__actions .button {
    width: 100%;
  }

  .calendar-card {
    width: 90%;
  }
}
