.homepage {
  color: var(--color-neutral-content);
}
.homepage-top {
  background: linear-gradient(
    180deg,
    var(--brand-deep) 18%,
    var(--brand-mid) 51%,
    var(--brand-sky) 100%
  );
}
.home-hero {
  position: relative;
  display: grid;
  min-height: 570px;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.home-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #0d1a3e91 0%,
    #142360a6 68%,
    var(--brand-deep) 100%
  );
}
.home-hero-content {
  position: relative;
  display: block;
  max-width: 1480px;
  width: calc(100% - 48px);
  text-align: center;
  padding: 135px 0 60px;
  z-index: 1;
}
.home-hero h1 {
  font-size: clamp(32px, 3vw, 52px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.025em;
}
.home-hero-content > p {
  font-size: clamp(21px, 1.7vw, 30px);
  line-height: 1.4;
  margin-top: 8px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 32px;
}
.hero-cta {
  min-height: 58px;
  min-width: 275px;
  border: 1px solid white;
}
.hero-question {
  color: inherit;
  min-height: 58px;
}
.hero-question:hover {
  background: #ffffff15;
}
.services-section {
  padding-top: 12px;
}
.services-intro {
  font-family: var(--font-body);
  text-align: center;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 82px;
}
.service-grid {
  gap: 32px;
}
.service-card {
  border: 1px solid #ffffffcc;
  background: linear-gradient(135deg, #3189af40, #17336c38);
  border-radius: 17px;
}
.service-card .card-body {
  padding: 28px;
  display: flex;
  gap: 8px;
}
.service-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  object-position: left bottom;
}
.service-card .card-title {
  font-size: clamp(21px, 1.55vw, 27px);
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.service-card p {
  font-size: 21px;
  line-height: 1.6;
  margin: 0;
}
.service-link {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-top: auto;
  padding-top: 6px;
}
.service-link:hover {
  text-decoration: underline;
}
.partners-section {
  padding: 112px 0 115px;
  text-align: center;
}
.partners-section h2 {
  margin-bottom: 18px;
}
.partner-logos {
  display: grid;
  grid-template-columns: 1fr 1.45fr 1.8fr 0.8fr 1.1fr 1fr;
  gap: 38px;
  align-items: center;
}
.partner-logos img {
  width: 100%;
  height: 120px;
  object-fit: contain;
}
.story-section {
  padding-bottom: 140px;
}
.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.story-row + .story-row {
  margin-top: 72px;
}
.story-copy p {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 1.7;
  margin-top: 30px;
}
.story-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
}
.benefits-section {
  background: var(--color-base-100);
  color: var(--brand-ink);
  padding: 155px 0 96px;
}
.technology-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.technology-copy p {
  font-size: 21px;
  line-height: 1.65;
}
.technology-copy p + p {
  margin-top: 28px;
}
.mission-heading {
  margin-top: 66px;
  margin-bottom: 20px;
}
.mission-heading > p {
  margin-top: 10px;
  color: #45454f;
}
.benefit-grid {
  gap: 32px;
}
.benefit-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.9;
  object-fit: cover;
  border-radius: 12px;
}
.benefit-grid h3 {
  margin-top: 16px;
  font-size: 20px;
}
.benefit-grid p {
  margin-top: 8px;
  font-size: 21px;
  line-height: 1.6;
  color: #45454f;
}
.homepage-bottom {
  background: linear-gradient(var(--brand-sky), #235e99 55%, #193d79);
}
.partnership-section {
  text-align: center;
  padding: 76px 0 70px;
}
.partnership-section > p {
  max-width: 900px;
  margin: 35px auto 32px;
  font-size: 21px;
  line-height: 1.6;
}
.partnership-button {
  border: 1px solid white;
  min-height: 58px;
  padding-inline: 25px;
}
.map-preview {
  aspect-ratio: 1200 / 449;
}
.embed-trigger {
  display: block;
  position: relative;
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: var(--brand-deep);
}
.embed-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-load-label {
  position: absolute;
  left: 16px;
  bottom: 20px;
  background: var(--brand-deep);
  color: white;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 16px;
  box-shadow: 0 2px 10px #0003;
}
.showcase-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin: 26px 0 62px;
}
.gallery-item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.film-preview {
  aspect-ratio: 16 / 9;
}
.faq-section {
  padding: 64px 0 0;
}
.faq-section h2 {
  margin-bottom: 28px;
}
.faq-list {
  display: grid;
  gap: 15px;
}
.faq-item {
  background: #f7f7f7;
  color: #171717;
  border-radius: 8px;
}
.faq-item .collapse-title {
  min-height: 53px;
  padding: 13px 48px 13px 17px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
}
.faq-item .collapse-content {
  font-size: 18px;
  line-height: 1.4;
  padding-inline: 17px;
}
.faq-item .collapse-content a {
  display: inline-block;
  margin-top: 14px;
  color: var(--brand-deep);
  text-decoration: underline;
}
@media (max-width: 1100px) {
  .home-hero-content {
    padding-top: 90px;
  }
  .home-hero {
    min-height: 520px;
  }
  .service-grid,
  .benefit-grid {
    gap: 20px;
  }
  .service-card .card-body {
    padding: 22px;
  }
  .service-card p {
    font-size: 19px;
  }
  .story-row,
  .technology-grid {
    gap: 32px;
  }
  .story-copy p {
    font-size: 17px;
    margin-top: 22px;
  }
  .partner-logos {
    gap: 24px;
  }
  .benefits-section {
    padding-top: 100px;
  }
}
@media (max-width: 767px) {
  .home-hero {
    min-height: 570px;
  }
  .home-hero-content {
    width: calc(100% - 40px);
    padding: 68px 0 64px;
  }
  .home-hero h1 {
    font-size: clamp(27px, 7vw, 42px);
    line-height: 1.25;
  }
  .home-hero-content > p {
    font-size: 21px;
    line-height: 1.5;
    margin-top: 22px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 8px;
    margin-top: 28px;
  }
  .hero-cta {
    width: min(100%, 300px);
    min-width: 0;
  }
  .hero-question {
    min-height: 44px;
  }
  .services-section {
    padding-top: 24px;
  }
  .services-intro {
    margin-bottom: 34px;
    font-size: 25px;
  }
  .service-card .card-body {
    padding: 24px;
  }
  .service-card .card-title {
    font-size: 25px;
  }
  .service-card p {
    font-size: 20px;
  }
  .partners-section {
    padding: 66px 0;
  }
  .partners-section h2 {
    font-size: 29px;
    margin-bottom: 26px;
  }
  .partner-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
  .partner-logos img {
    height: 75px;
  }
  .story-row,
  .technology-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .story-row + .story-row {
    margin-top: 60px;
  }
  .story-row-reverse .story-copy {
    grid-row: 1;
  }
  .story-copy p {
    font-size: 17px;
    line-height: 1.8;
  }
  .story-section {
    padding-bottom: 66px;
  }
  .benefits-section {
    padding: 66px 0;
  }
  .technology-copy p,
  .benefit-grid p {
    font-size: 20px;
  }
  .mission-heading {
    margin-top: 50px;
  }
  .benefit-grid {
    gap: 34px;
  }
  .partnership-section {
    padding: 60px 0 42px;
  }
  .partnership-section > p {
    font-size: 20px;
    margin-top: 24px;
  }
  .map-preview {
    aspect-ratio: 1.2;
  }
  .map-preview img {
    object-fit: cover;
  }
  .map-load-label {
    left: 10px;
    bottom: 12px;
    font-size: 14px;
  }
  .gallery-grid {
    grid-template-columns: repeat(5, 42%);
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 5px 3px 12px;
    margin: 16px -3px 34px;
  }
  .gallery-grid li {
    scroll-snap-align: start;
  }
  .faq-section {
    padding-top: 45px;
  }
  .faq-section h2 {
    font-size: 29px;
  }
  .faq-item .collapse-title {
    font-size: 17px;
    padding-block: 16px;
  }
  .faq-item .collapse-content {
    font-size: 18px;
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-card:last-child {
    grid-column: 1 / -1;
  }
  .service-card:last-child .card-body {
    display: grid;
    grid-template-columns: 80px 1fr;
    column-gap: 24px;
  }
  .service-card:last-child .service-icon {
    grid-row: 1 / 4;
  }
  .service-card:last-child p,
  .service-card:last-child .service-link {
    grid-column: 2;
  }
}
