.home-page {
  max-width: none;
  padding: 0;
  overflow: hidden;
}
.home-container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}
.home-hero {
  position: relative;
  min-height: clamp(560px, 43.75vw, 840px);
  overflow: hidden;
  color: #fff;
  background: #287cbd url("/public/images/home/hero-mountains.png") center 47% /
    cover no-repeat;
}
.home-hero::before,
.home-hero::after {
  position: absolute;
  right: 0;
  left: 0;
  content: "";
  pointer-events: none;
}
.home-hero::before {
  top: 0;
  height: 41.2%;
  background: linear-gradient(180deg, rgba(0, 112, 221, 0.35), rgba(0, 112, 221, 0));
}
.home-hero::after {
  bottom: 0;
  height: 24.72%;
  background: linear-gradient(0deg, rgba(0, 112, 221, 0.35), rgba(0, 112, 221, 0));
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 48px));
  margin: auto;
  padding-top:60px;
  font-family: Inter, Inter;
}
.hero-kicker {
  margin: 0 0 12px;
  color: rgba(255, 255, 255);
  font-size: 22px;
  font-weight: 500;
  font-family: Inter, Inter;  
}
.hero-kicker::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: #ff7849;
  vertical-align: 4px;
}
.hero-inner h1 {
  max-width: 810px;
  margin: 0;
  color: #fff;
  font-size: 60px;
  line-height: 1.13;
  letter-spacing: -1.8px;
  font-weight: 700;
}
.hero-subtitle {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  font-weight: 500;
  font-family: Inter, Inter;  
}
.hero-script {
  margin-top: 24px;
  color: #fff;
  font-size: clamp(52px, 7vw, 112px);
  line-height: 1.05;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -5px;
  text-shadow: 0 4px 14px rgba(13, 48, 85, 0.15);
  transform: rotate(-5deg);
  transform-origin: left center;
}
.hero-destination-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 1200px);
  height: 66px;
  margin-top: clamp(60px, 7vw, 130px);
  padding: 8px 9px 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 35px rgba(20, 58, 95, 0.16);
}
.hero-pin {
  color: #3296f2;
  font-size: 23px;
}
.hero-destination-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #263d55;
  font-size: 18px;
}
.hero-destination-search input::placeholder {
  color: #78889a;
}
.hero-destination-search button {
  display: grid;
  place-items: center;
  width: 70px;
  height: 48px;
  border: 0;
  border-radius: 9px;
  background: #268df2;
}
.hero-destination-search button img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.home-destinations-wrap {
  background: radial-gradient(ellipse at 95% 30%, #e8f4ff, transparent 60%),
    radial-gradient(ellipse at 5% 70%, #fff0eb, transparent 60%), #fbfcfe;
}
.home-destinations {
  padding: 76px 0 58px;
  background: transparent;
}
.home-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.home-section-heading h2 {
  margin: 0;
  color: #252a33;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.18;
  letter-spacing: -1.2px;
  font-weight: 700;
}
.home-section-heading h2 em {
  color: #268df2;
  font-style: normal;
}
.home-section-heading h2 b {
  color: #ff7548;
}
.home-section-heading > img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}
.destination-tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 30px;
  background: #edf0f5;
}
.destination-tabs button {
  min-width: 138px;
  height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: #5d6c7e;
  font-size: 15px;
}
.destination-tabs button.active {
  background: #268df2;
  color: #fff;
  box-shadow: 0 4px 10px rgba(38, 141, 242, 0.2);
}
.home-destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
  margin-top: 24px;
}
.home-destination-card {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 72px;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid #e7edf4;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.95);
  color: #25364b;
  box-shadow: 0 5px 16px rgba(32, 73, 111, 0.035);
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.home-destination-card:hover {
  transform: translateY(-2px);
  border-color: #8cc4ff;
  box-shadow: 0 10px 24px rgba(32, 111, 180, 0.11);
}
.home-destination-flag {
  display: grid;
  place-items: center;
  /* flex: 0 0 30px; */
  width: 60px;
  height: 60px;
  font-size: 22px;
}
.home-destination-flag img {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.home-destination-name {
  overflow: hidden;
  flex: 1;
  font-size: 20px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-destination-price {
  flex: 0 0 auto;
  color: #9aa5b3;
  font-size: 18px;
  white-space: nowrap;
}
.home-destination-price strong {
  color: #f08b69;
  font-weight: 600;
}
.destination-all {
  display: flex;
  width: fit-content;
  min-height:56px;
  gap: 12px;
  margin: 28px auto 0;
  padding: 0 21px;
  border-radius: 30px;
  font-size: 14px;
}
.destination-all span:last-child {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  color: #268df2;
  font-size: 19px;
}
.referral-wrap {
  padding: 20px 24px 70px;
  background: transparent;
}
.referral-banner {
  position: relative;
  display: flex;
  align-items: center;
  width: min(1200px, 100%);
  min-height: 220px;
  margin: auto;
  overflow: visible;
  border-radius: 24px;
  background: #ff7048;
  color: #fff;
}
.referral-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 34px 44px;
}
.referral-copy h2 {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 40px);
  line-height: 1.2;
}
.referral-copy p {
  margin: 15px 0 0;
  font-size: 16px;
}
.referral-art {
  position: absolute;
  right: 25px;
  bottom: -12px;
  width: min(38%, 450px);
  height: 110%;
  object-fit: contain;
  object-position: right bottom;
}
.home-esim {
  background-color: #f5f7fb;
}
.esim-content {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  min-height: 420px;
  background-color: #f8fafc;
  padding: 100px 0;
}
.esim-content-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  pointer-events: none;
}
.esim-copy {
  position: relative;
  z-index: 1;
  max-width: 530px;
}
.esim-copy h2 {
  margin: 0 0 32px;
  color: #252a33;
  font-size: clamp(34px, 3.4vw, 52px);
  letter-spacing: -1.3px;
}
.esim-copy h2 em {
  color: #268df2;
  font-style: normal;
}
.esim-copy h2 b {
  color: #ff7548;
}
.esim-copy p {
  max-width: 460px;
  margin: 0 0 14px;
  color: #5d6876;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 500;
}
.esim-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.esim-pills span {
  padding: 6px 12px;
  border: 1px solid #268DF2;
  border-radius: 10px;
  background: #f7fbff;
  color: #268df2;
  font-size: 16px;
  font-weight: 500;
}
.small-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 9px 15px;
  border: 1px solid #e7ecf2;
  border-radius: 30px;
  background: #fff;
  color: #25364b;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 3px 9px rgba(28, 53, 83, 0.04);
}
.small-link b {
  color: #ff7548;
  font-size: 18px;
}
.esim-photo {
  align-self: stretch;
  min-height: 390px;
  background: url("/public/images/home/esim-photo-background.png") center/cover
    no-repeat;
}
.home-benefits {
  padding: 82px 0 90px;
  background: #fafafc;
}
.home-benefits .home-section-heading {
  margin-bottom: 34px;
}
.home-heading-logo {
  display: inline-block;
  width: 2.3em;
  height: 1.55em;
  object-fit: contain;
  vertical-align: middle;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.benefit-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid #edf0f5;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(28, 53, 83, 0.035);
}
.benefit-grid article > img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.benefit-grid h3 {
  margin: 15px 0 7px;
  color: #273344;
  font-size: 18px;
}
.benefit-grid p {
  max-width: 330px;
  margin: 0;
  color: #748092;
  font-size: 14px;
  line-height: 1.55;
}
.home-how {
  position: relative;
  overflow: hidden;
  padding: 70px 0 180px;
  background: #268df2;
  color: #fff;
}
.home-how::after {
  position: absolute;
  right: -4%;
  bottom: -68px;
  left: -4%;
  height: 145px;
  content: "";
  border: 12px solid rgba(255, 255, 255, 0.96);
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(-3deg);
  pointer-events: none;
}
.home-how .home-section-heading {
  position: relative;
  z-index: 1;
}
.home-how .home-section-heading h2 {
  color: #fff;
}
.home-how .home-section-heading h2 b {
  color: #ff7548;
}
.home-how .home-section-heading > img {
  width: 66px;
  height: 66px;
}
.how-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1050px;
}
.how-grid article {
  position: relative;
  min-height: 300px;
  padding: 25px 27px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.2);
}
.how-number {
  display: block;
  color: rgba(255, 255, 255, 0.38);
  font-size: 42px;
  font-weight: 700;
}
.how-grid article > img {
  position: absolute;
  top: 25px;
  right: 23px;
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.how-grid h3 {
  margin: 9px 0 10px;
  font-size: 30px;
  font-family: Inter, Inter
}
.how-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  font-family: Inter, Inter;
}
.how-grid .small-link {
  margin-top: 22px;
}
.home-reviews {
  padding: 80px 0 86px;
  background:radial-gradient(ellipse at 95% 30%, #e8f4ff, transparent 60%),
    radial-gradient(ellipse at 5% 70%, #fff0eb, transparent 60%), #fbfcfe;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.review-grid article {
  display: flex;
  min-height: 205px;
  flex-direction: column;
  padding: 20px 22px;
  border: 1px solid #e9edf3;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(25, 50, 80, 0.035);
}
.review-grid article.review-featured {
  border-color: #268df2;
  background: #268df2;
  color: #fff;
}
.stars {
  display: flex;
  align-items: center;
  gap: 3px;
}
.stars img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.review-featured .stars {
  color: #fff;
}
.review-grid article > p {
  flex: 1;
  margin: 13px 0 18px;
  color: #344257;
  font-size: 16px;
  font-family: Inter, Inter;
  line-height: 1.55;
}
.review-featured > p {
  color: #fff !important;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #354256;
  font-size: 18px;
}
.review-featured .review-author {
  color: #fff;
}
.review-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.home-faq {
  padding: 78px 0 82px;
  background: #fff;
}
.faq-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  gap: 12px 20px;
}
.faq-grid details {
  align-self: start;
  overflow: hidden;
  border: 1px solid #e5eaf0;
  border-radius: 12px;
  background: #fff;
}
.faq-grid details[open] {
  border-color: #c9e2ff;
  background: #f4f9ff;
}
.faq-grid summary {
  position: relative;
  padding: 17px 46px 17px 20px;
  color: #38475a;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-grid summary::-webkit-details-marker {
  display: none;
}
.faq-grid summary::after {
  position: absolute;
  right: 19px;
  content: "⌄";
  color: #268df2;
  font-size: 20px;
}
.faq-grid details[open] summary::after {
  content: "⌃";
}
.faq-grid details p {
  margin: 0;
  padding: 0 20px 18px;
  color: #57677b;
  font-size: 16px;
  line-height: 1.6;
}
.faq-more {
  display: flex;
  width: fit-content;
  margin: 26px auto 0;
}
.app-promo {
  padding: 18px 24px 70px;
  background: #fff;
}
.app-promo-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: min(1200px, 100%);
  min-height: 320px;
  margin: auto;
  overflow: hidden;
  border-radius: 24px;
  background-image: url('/public/images/home/AD2@2x.png');
  background-size: 100% auto;
  background-repeat: no-repeat;
  color: #fff;
}
.app-promo-inner > div {
  position: relative;
  z-index: 1;
  padding: 90px 0 40px 40px;
}
.app-promo h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.18;
}
.app-promo p {
  margin: 14px 0 20px;
  font-size: 16px;
}
.app-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-badges img {
  display: block;
  width: auto;
  height: 44px;
}
.app-promo-art {
  position: absolute;
  top: -54%;
  right: 1%;
  width: 48%;
  height: 200%;
  object-fit: contain;
}
@media (max-width: 900px) {
  .home-hero {
    min-height: 630px;
    background-position: 58% center;
  }
  .hero-inner {
    padding-top: 82px;
  }
  .hero-destination-search {
    margin-top: 90px;
  }
  .home-destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .esim-content {
    grid-template-columns: 1fr 1fr;
  }
  .benefit-grid {
    gap: 14px;
  }
  .benefit-grid article {
    padding: 20px;
  }
  .review-grid {
    gap: 12px;
  }
  .review-grid article {
    padding: 17px;
  }
}
@media (max-width: 640px) {
  .home-container,
  .hero-inner {
    width: min(100% - 32px, 520px);
  }
  .home-hero {
    min-height: 580px;
    background-position: 58% center;
  }
  .hero-inner {
    padding-top: 74px;
  }
  .hero-inner h1 {
    font-size: 60px;
    letter-spacing: -1.2px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .hero-script {
    margin-top: 34px;
    font-size: 65px;
    letter-spacing: -3px;
  }
  .hero-destination-search {
    height: 58px;
    margin-top: 114px;
    padding-left: 12px;
  }
  .hero-destination-search button {
    width: 46px;
    height: 42px;
  }
  .home-destinations {
    padding: 54px 0 40px;
  }
  .home-section-heading {
    margin-bottom: 22px;
  }
  .home-section-heading h2 {
    font-size: 32px;
  }
  .home-section-heading > img {
    width: 48px;
    height: 48px;
  }
  .destination-tabs {
    width: 100%;
  }
  .destination-tabs button {
    flex: 1;
    min-width: 0;
  }
  .home-destination-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }
  .home-destination-card {
    min-height: 64px;
  }
  .referral-wrap {
    padding: 8px 16px 46px;
  }
  .referral-banner {
    min-height: 260px;
    align-items: flex-start;
    border-radius: 18px;
  }
  .referral-copy {
    padding: 25px 22px;
  }
  .referral-copy h2 {
    max-width: 330px;
    font-size: 27px;
  }
  .referral-copy p {
    max-width: 300px;
    font-size: 14px;
  }
  .referral-art {
    right: 0;
    bottom: -16px;
    width: 57%;
    height: 65%;
    opacity: 0.96;
  }
  .home-esim {
    padding: 52px 0 35px;
  }
  .esim-content {
    grid-template-columns: 1fr;
  }
  .esim-copy h2 {
    margin-bottom: 22px;
    font-size: 35px;
  }
  .esim-photo {
    min-height: 260px;
    margin: 12px -16px 0;
    background-position: center;
  }
  .home-benefits {
    padding: 56px 0;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .benefit-grid article {
    min-height: auto;
    padding: 18px;
  }
  .benefit-grid article > img {
    float: left;
    width: 48px;
    height: 48px;
    margin: 0 14px 10px 0;
  }
  .benefit-grid h3 {
    margin-top: 5px;
  }
  .home-how {
    padding: 55px 0 75px;
  }
  .how-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .how-grid article {
    min-height: 230px;
  }
  .home-how::after {
    bottom: -90px;
  }
  .home-reviews,
  .home-faq {
    padding: 55px 0;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .review-grid article {
    min-height: 170px;
  }
  .faq-grid {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .faq-grid summary {
    padding: 15px 42px 15px 15px;
  }
  .faq-grid details p {
    padding: 0 15px 15px;
  }
  .app-promo {
    padding: 0 16px 48px;
  }
  .app-promo-inner {
    min-height: 410px;
    align-items: flex-start;
    border-radius: 18px;
  }
  .app-promo-inner > div {
    padding: 27px 22px;
  }
  .app-promo h2 {
    font-size: 31px;
  }
  .app-promo p {
    max-width: 290px;
    font-size: 14px;
  }
  .app-promo-art {
    top: 35%;
    right: -5%;
    width: 75%;
    height: 85%;
  }
  .app-badges {
    gap: 5px;
  }
  .app-badges img {
    height: 34px;
  }
}

/* Homepage artwork and interaction refinements from the Lanhu export. */
.hero-route-art {
  position: absolute;
  z-index: 1;
  top: 36%;
  left: 0;
  display: block;
  width: 100%;
  height: clamp(150px, 15vw, 280px);
  object-fit: fill;
  pointer-events: none;
}
.hero-pin {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 26px;
}
.hero-pin img {
  display: block;
  width: 20px;
  height: 24px;
  object-fit: contain;
}
.destinations-heading > img {
  width: 80px;
  height: 80px;
}
.destination-all {
  min-height: 56px;
  padding-right: 20px;
  padding-left: 22px;
  background: #268df2;
  box-shadow: 0 7px 18px rgba(38, 141, 242, 0.18);
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.destination-all:hover {
  transform: translateY(-2px);
  background: #147de5;
  box-shadow: 0 10px 22px rgba(38, 141, 242, 0.28);
}
.destination-all span:last-child {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 0;
}
.destination-all span:last-child img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.referral-banner {
  overflow: hidden;
}
.referral-art {
  right: 0;
  bottom: 0;
  width: min(43%, 560px);
  height: 130%;
  object-fit: contain;
  object-position: right center;
}
.esim-photo {
  min-height: 420px;
  border-radius: 4px;
}
.benefit-grid article {
  cursor: pointer;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}
.benefit-grid article:hover,
.benefit-grid article:focus-within {
  transform: translateY(-5px);
  border-color: #71b8ff;
  background: #fff;
  box-shadow: 0 14px 30px rgba(38, 141, 242, 0.14);
}
.benefit-grid article > img {
  transition: transform 0.22s ease;
}
.benefit-grid article:hover > img,
.benefit-grid article:focus-within > img {
  transform: scale(1.08);
}
.home-how {
  background: #268df2 url("/public/images/home/how-background.png") center
    95%/100% auto no-repeat;
}
.home-how::after {
  display: none;
}
.review-grid article {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}
.review-grid article:hover,
.review-grid article:focus-within {
  transform: translateY(-4px);
  border-color: #268df2;
  background-color: #268df2;
  box-shadow: 0 12px 26px rgba(38, 141, 242, 0.2);
}
.review-grid article:hover > p,
.review-grid article:hover .review-author,
.review-grid article:focus-within > p,
.review-grid article:focus-within .review-author {
  color: #fff;
}
.review-grid article:hover .stars,
.review-grid article:focus-within .stars {
  color: #fff;
}
.faq-grid details {
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background-color 0.2s;
}
.faq-grid details:hover {
  border-color: #b8d9fb;
  box-shadow: 0 5px 16px rgba(40, 126, 201, 0.08);
}
.faq-grid details[open] {
  border-color: #c8e0ff;
  background: linear-gradient(135deg, #eef6ff, #e6f1ff);
  box-shadow: 0 5px 16px rgba(40, 126, 201, 0.08);
}
.faq-grid summary {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 14px 48px 14px 20px;
}
.faq-grid summary::after {
  content: "";
  top: 50%;
  right: 19px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #248cf0;
  border-bottom: 2px solid #248cf0;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.18s;
}
.faq-grid details[open] summary {
  color: #2587e9;
}
.faq-grid details[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}
.faq-grid details p {
  margin: 0 10px 10px;
  padding: 13px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #4c5969;
}
@media (max-width: 900px) {
  .hero-route-art {
    top: 34%;
    height: clamp(140px, 24vw, 230px);
  }
  .referral-art {
    width: 45%;
    height: 118%;
  }
  .home-how::after {
    height: 150px;
  }
}
@media (max-width: 640px) {
  .hero-route-art {
    top: 34%;
    left: -18%;
    width: 136%;
    height: 150px;
  }
  .destinations-heading > img {
    width: 52px;
    height: 52px;
  }
  .referral-art {
    right: -8%;
    bottom: 0;
    width: 65%;
    height: 67%;
    object-position: right bottom;
  }
  .esim-photo {
    min-height: 260px;
    background-position: 58% center;
  }
  .home-how::after {
    height: 120px;
  }
  .faq-grid summary {
    min-height: 48px;
    padding: 13px 42px 13px 15px;
  }
}

.destinations-heading > img {
  width: 92px;
  height: 92px;
}
.home-section-heading h2 {
  font-size: clamp(36px, 3.2vw, 52px);
}
.destination-all {
  font-size: 16px;
}
.faq-grid summary::after {
  font-size: 0;
}

/* Final homepage refinements from the latest desktop design review. */
.hero-route-art {
  left: 50%;
  width: 100vw;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  object-fit: contain;
}
.hero-pin {
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  height: 40px;
}
.hero-pin img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.referral-banner {
  min-height: 0;
  overflow: visible;
  isolation: isolate;
  aspect-ratio: 2400 / 680;
  border-radius: 0;
  background: transparent;
}
.referral-copy {
  position: absolute;
  top: 66%;
  left: 0;
  box-sizing: border-box;
  width: 76%;
  max-width: 68%;
  padding: 0 0 0 clamp(36px, 6.5vw, 78px);
  transform: translateY(-50%);
}
.referral-copy h2 {
  font-size: clamp(28px, 3.25vw, 40px);
}
.referral-copy h2 span {
  display: block;
}
.referral-art {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  z-index: -1;
  width: 92%;
  height: auto;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -50%);
}
.review-grid article {
  isolation: isolate;
}
.review-grid article::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: -20px;
  width: 42%;
  height: 55%;
  content: "";
  opacity: 0;
  background: url("/public/images/home/hover@2x.png") right bottom / contain
    no-repeat;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.review-grid article > * {
  position: relative;
  z-index: 1;
}
.review-grid article:hover::after,
.review-grid article:focus-within::after {
  opacity: 1;
}
.app-promo-inner {
  min-height: 0;
  aspect-ratio: 15 / 4;
  isolation: isolate;
}
.app-promo-inner > div {
  box-sizing: border-box;
  width: 50%;
  transform: translateY(-6px);
}
.app-promo h2 {
  max-width: 830px;
  font-size: clamp(32px, 3.25vw, 42px);
  line-height: 1.16;
}
.app-promo-art {
  top: 0;
  right: 0;
  z-index: 0;
  width: 60%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}
@media (max-width: 900px) {
  .app-promo-inner > div {
    width: 82%;
    padding: 34px;
    transform: none;
  }
}
@media (max-width: 640px) {
  .hero-route-art {
    top: 34%;
    left: 50%;
    width: 100vw;
    height: auto;
  }
  .hero-pin,
  .hero-pin img {
    width: 36px;
    height: 36px;
  }
  .hero-pin {
    flex-basis: 36px;
  }
  .referral-banner {
    min-height: 260px;
    aspect-ratio: auto;
    align-items: flex-start;
    overflow: hidden;
    border-radius: 18px;
    background: #ff7048;
  }
  .referral-copy {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    padding: 25px 22px;
    transform: none;
  }
  .referral-copy h2 {
    max-width: 80%;
    font-size: 28px;
  }
  .referral-copy p {
    max-width: 78%;
  }
  .referral-art {
    inset: auto auto 0 -45%;
    width: 190%;
    height: auto;
    transform: none;
  }
  .app-promo-inner {
    min-height: 410px;
    aspect-ratio: auto;
  }
  .app-promo-inner > div {
    align-self: flex-start;
    width: 100%;
    padding: 27px 22px;
    transform: none;
  }
  .app-promo h2 {
    max-width: 100%;
    font-size: 31px;
  }
  .app-promo-art {
    inset: auto -12% -10%;
    width: 124%;
    height: auto;
    max-height: 58%;
    object-fit: contain;
    object-position: right bottom;
  }
}

/* Equal outer rows keep the route centered as translated copy wraps. */
.hero-route-art {
  position: relative;
  top: auto;
  left: auto;
  display: block;
  width: 100vw;
  max-width: none;
  height: auto;
  margin: 0 0 0 calc(50% - 50vw);
  transform: translateY(-55px);
  object-fit: contain;
}
.hero-inner {
  display: grid;
  min-height: inherit;
  /* grid-template-rows: 1fr auto 1fr; */
  /* gap: 24px; */
  padding-top: 60px;
  padding-bottom: 120px;
}
.hero-copy {
  align-self: start;
}
.hero-destination-search {
  align-self: end;
  margin-top: 0;
}
@media (max-width: 640px) {
  .hero-route-art {
    margin-top: 0;
  }
  .hero-inner {
    gap: 20px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .hero-inner h1 {
    font-size: clamp(32px, 8vw, 44px);
  }
}

/* Match both promo banners to the main content column. */
.referral-wrap {
  padding-right: 0;
  padding-left: 0;
}
.referral-banner {
  width: min(1200px, calc(100% - 48px));
  aspect-ratio: 2400 / 680;
}
.referral-art {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* The traveler artwork is the full eSIM section background. */
.esim-photo {
  background: none;
  border-radius: 0;
}

/* Scale the app artwork to the proportions shown in the latest design. */
.app-promo-art {
  width: 80%;
}
@media (max-width: 640px) {
  .referral-wrap {
    padding-right: 16px;
    padding-left: 16px;
  }
  .referral-banner {
    width: 100%;
  }
  .referral-copy {
    z-index: 1;
  }
  .referral-art {
    inset: auto 0 0 auto;
    z-index: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: right bottom;
  }
  .esim-photo {
    display: none;
  }
  .app-promo-art {
    width: 124%;
  }
}

/* Match the referral artwork and eSIM section proportions in the 1920px design. */
@media (min-width: 901px) {
  .referral-wrap {
    padding-bottom: 0;
  }
  .referral-copy {
    padding-left: clamp(24px, 2.1vw, 40px);
  }
  .home-esim {
    background-position: center 35%;
  }
  .esim-copy h2 {
    margin-bottom: 50px;
    font-size: clamp(42px, 3.5vw, 66px);
  }
  .esim-copy p {
    max-width: 420px;
    margin-bottom: 30px;
  }
}
