/* =========================================================
   FLY WORLD — WHAT OUR TRAVELLERS SAY  (fly-world-google-reviews)
   Deep navy editorial review carousel. Scoped to .fwgr.
========================================================= */

.fwgr,
.fwgr * {
  box-sizing: border-box;
}

.fwgr {
  --fwgr-deep: #04162f;
  --fwgr-mid: #061d42;
  --fwgr-navy: #092858;
  --fwgr-gold: #C59335;
  --fwgr-gold-soft: #D8AD59;
  --fwgr-ivory: #F8F6F1;
  --fwgr-gap: 20px;

  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 104px 0 108px;
  background-color: var(--fwgr-mid);
  background:
    radial-gradient(circle at 8% 12%, rgba(197,147,53,.13), transparent 30%),
    radial-gradient(circle at 92% 88%, rgba(197,147,53,.07), transparent 34%),
    linear-gradient(160deg, var(--fwgr-deep) 0%, var(--fwgr-mid) 52%, var(--fwgr-navy) 100%);
  color: var(--fwgr-ivory);
  font-family: "Manrope", sans-serif;
}

.fwgr::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -300px;
  left: -180px;
  border: 1px solid rgba(197,147,53,.12);
  border-radius: 50%;
  pointer-events: none;
}

.fwgr h2,
.fwgr p,
.fwgr ul,
.fwgr li,
.fwgr blockquote,
.fwgr figure {
  margin: 0;
  padding: 0;
}

.fwgr ul {
  list-style: none;
}

.fwgr a {
  text-decoration: none;
}

.fwgr__sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.fwgr__inner {
  position: relative;
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 34fr) minmax(0, 66fr);
  gap: 56px;
  align-items: center;
}


/* =========================================================
   SUMMARY PANEL
========================================================= */

.fwgr__summary {
  min-width: 0;
}

.fwgr__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--fwgr-gold-soft);
}

.fwgr__eyebrow-line {
  width: 30px;
  height: 1px;
  background: var(--fwgr-gold);
}

.fwgr__title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(44px, 4.3vw, 62px);
  line-height: .9;
  font-weight: 600;
  letter-spacing: -.04em;
  color: #fff;
}

.fwgr__title span,
.fwgr__title em {
  display: block;
}

.fwgr__title em {
  margin-top: 6px;
  font-style: normal;
  font-weight: 500;
  color: var(--fwgr-gold);
}

.fwgr__score {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(248,246,241,.12);
}

.fwgr__score-value {
  font-family: "Cormorant Garamond", serif;
  font-size: 82px;
  line-height: .8;
  font-weight: 600;
  letter-spacing: -.035em;
  color: #fff;
  text-shadow: 0 6px 26px rgba(197,147,53,.16);
}

.fwgr__score-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fwgr__based {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(248,246,241,.72);
}

.fwgr .fwgr__based a {
  color: inherit;
  border-bottom: 1px solid rgba(197,147,53,.45);
  transition: color .25s ease, border-color .25s ease;
}

.fwgr .fwgr__based a:hover,
.fwgr .fwgr__based a:focus-visible {
  color: #fff;
  border-color: var(--fwgr-gold);
}


/* Stars: gold fill over a muted track, width driven by --fwgr-fill (rating / 5). */

.fwgr__stars {
  --fwgr-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.94 5.96 6.58.96-4.76 4.64 1.12 6.55L12 17.52l-5.88 3.09 1.12-6.55L2.48 9.42l6.58-.96z'/%3E%3C/svg%3E");
  position: relative;
  display: inline-block;
  width: 125px;
  height: 23px;
  background: rgba(248,246,241,.20);
  -webkit-mask: var(--fwgr-star) left center / 25px 23px repeat-x;
          mask: var(--fwgr-star) left center / 25px 23px repeat-x;
}

.fwgr__stars::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fwgr-fill, 0%);
  background: var(--fwgr-gold);
}


/* Actions */

.fwgr__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.fwgr .fwgr__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

/* Visual hierarchy (markup classes unchanged): "Write a review" (.fwgr__action--ghost) is the
   gold primary; "View all reviews" (.fwgr__action--primary) is the restrained secondary. */

.fwgr .fwgr__action--ghost {
  background: linear-gradient(180deg, #CF9E43 0%, var(--fwgr-gold) 100%);
  color: var(--fwgr-deep);
  border: 1px solid rgba(216,173,89,.9);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 24px rgba(197,147,53,.22);
}

.fwgr .fwgr__action--primary {
  background: rgba(248,246,241,.04);
  color: rgba(248,246,241,.92);
  border: 1px solid rgba(248,246,241,.24);
}

.fwgr .fwgr__action--primary::after {
  content: "\2192" / "";
  font-size: 14px;
  line-height: 1;
  color: var(--fwgr-gold-soft);
  transition: transform .25s ease;
}

.fwgr .fwgr__action:focus-visible,
.fwgr .fwgr__btn:focus-visible,
.fwgr .fwgr__name:focus-visible,
.fwgr .fwgr__based a:focus-visible,
.fwgr .fwgr__track:focus-visible {
  outline: 2px solid var(--fwgr-gold);
  outline-offset: 3px;
}

@media (hover: hover) {
  .fwgr .fwgr__action--ghost:hover {
    background: linear-gradient(180deg, #DDB15E 0%, var(--fwgr-gold-soft) 100%);
    border-color: var(--fwgr-gold-soft);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 14px 30px rgba(197,147,53,.30);
    transform: translateY(-2px);
  }
  .fwgr .fwgr__action--primary:hover {
    border-color: rgba(197,147,53,.7);
    color: #fff;
    transform: translateY(-2px);
  }
  .fwgr .fwgr__action--primary:hover::after {
    transform: translateX(3px);
  }
}

.fwgr__note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  max-width: 330px;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(248,246,241,.55);
}

.fwgr__note .fwgr__gmark {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
}


/* =========================================================
   CAROUSEL
========================================================= */

.fwgr__carousel {
  position: relative;
  min-width: 0;
}

.fwgr__track {
  display: flex;
  gap: var(--fwgr-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 6px 2px 10px;
  margin: -6px -2px -10px;
  -webkit-overflow-scrolling: touch;
}

.fwgr__track::-webkit-scrollbar {
  display: none;
}

.fwgr__slide {
  flex: 0 0 calc((100% - var(--fwgr-gap) * 2) / 2.3);
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
}

.fwgr__card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 318px;
  padding: 30px 30px 26px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.55);
  background:
    radial-gradient(circle at 100% 0%, rgba(197,147,53,.10), transparent 38%),
    linear-gradient(180deg, #FBFAF6 0%, var(--fwgr-ivory) 46%, #F4F1E9 100%);
  color: var(--fwgr-navy);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 2px 6px rgba(1,8,20,.10),
    0 26px 52px -12px rgba(1,8,20,.42);
}

/* Hairline warm highlight along the top edge. */
.fwgr__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197,147,53,.55), transparent);
  pointer-events: none;
}

.fwgr__card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.fwgr__card .fwgr__stars {
  width: 85px;
  height: 15px;
  background: rgba(9,40,88,.14);
  -webkit-mask-size: 17px 15px;
          mask-size: 17px 15px;
}

.fwgr__mark {
  margin-top: -14px;
  font-family: "Cormorant Garamond", serif;
  font-size: 76px;
  line-height: 1;
  color: rgba(197,147,53,.42);
}

.fwgr .fwgr__text {
  border: 0;
  margin: 0;
  background: none;
  quotes: none;
  font-style: normal;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 18px 0 22px;
}

.fwgr__text p {
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--fwgr-deep);
}

.fwgr__text--sm p {
  font-size: 30px;
  line-height: 1.12;
}

.fwgr__text--xs p {
  font-size: 42px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.025em;
}

.fwgr__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(9,40,88,.10);
}

.fwgr .fwgr__avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  max-width: none;
  border: 0;
  box-shadow: none;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(9,40,88,.08);
}

.fwgr__avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fwgr-navy);
  color: var(--fwgr-gold-soft);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}

.fwgr__who {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fwgr .fwgr__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  color: var(--fwgr-navy);
}

.fwgr a.fwgr__name {
  transition: color .25s ease;
}

@media (hover: hover) {
  .fwgr a.fwgr__name:hover {
    color: var(--fwgr-gold);
  }
}

.fwgr__date {
  font-size: 12px;
  color: rgba(9,40,88,.58);
}

.fwgr__source {
  flex: 0 0 auto;
  display: inline-flex;
}

.fwgr__source .fwgr__gmark {
  width: 18px;
  height: 18px;
}


/* Controls */

.fwgr__controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 26px;
}

.fwgr .fwgr__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(248,246,241,.28);
  border-radius: 50%;
  background: transparent;
  color: var(--fwgr-ivory);
  font: inherit;
  line-height: 1;
  box-shadow: none;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, opacity .25s ease;
}

.fwgr .fwgr__btn svg {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fwgr .fwgr__btn[aria-disabled="true"] {
  opacity: .35;
  cursor: default;
}

@media (hover: hover) {
  .fwgr .fwgr__btn:not([aria-disabled="true"]):hover {
    background: var(--fwgr-gold);
    border-color: var(--fwgr-gold);
    color: var(--fwgr-deep);
  }
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1280px) {

  .fwgr__inner {
    width: min(1180px, calc(100% - 48px));
    gap: 44px;
  }

  .fwgr__slide {
    flex-basis: calc((100% - var(--fwgr-gap) * 2) / 2.15);
  }

  .fwgr__card {
    padding: 26px 26px 22px;
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

  .fwgr {
    padding: 84px 0 88px;
  }

  .fwgr__inner {
    width: min(920px, calc(100% - 44px));
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .fwgr__summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 40px;
    align-items: end;
  }

  .fwgr__eyebrow,
  .fwgr__title {
    grid-column: 1;
  }

  .fwgr__score {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: end;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .fwgr__actions,
  .fwgr__note {
    grid-column: 1 / -1;
  }

  .fwgr__note {
    max-width: none;
  }

  .fwgr__slide {
    flex-basis: calc((100% - var(--fwgr-gap) * 2) / 2.2);
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .fwgr {
    --fwgr-gap: 14px;
    padding: 70px 0 74px;
  }

  .fwgr__inner {
    width: calc(100% - 30px);
    gap: 34px;
  }

  .fwgr__summary {
    display: block;
  }

  .fwgr__title {
    font-size: clamp(42px, 12.5vw, 54px);
  }

  .fwgr__score {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(248,246,241,.12);
  }

  .fwgr__score-value {
    font-size: 70px;
  }

  .fwgr__score {
    gap: 18px;
  }

  .fwgr__actions {
    margin-top: 26px;
  }

  .fwgr .fwgr__action {
    flex: 1 1 auto;
    padding: 0 16px;
    white-space: nowrap;
  }

  .fwgr__slide {
    flex-basis: 100%;
  }

  .fwgr__card {
    min-height: 290px;
    padding: 26px 22px 20px;
    border-radius: 17px;
  }

  .fwgr__text p {
    font-size: 24px;
  }

  .fwgr__text--sm p {
    font-size: 28px;
  }

  .fwgr__text--xs p {
    font-size: 38px;
  }

  .fwgr__controls {
    justify-content: center;
    margin-top: 22px;
  }

}

@media (max-width: 390px) {

  .fwgr__inner {
    width: calc(100% - 22px);
  }

  .fwgr__card {
    padding: 24px 18px 18px;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .fwgr__track {
    scroll-behavior: auto;
  }

  .fwgr .fwgr__action,
  .fwgr .fwgr__action--primary::after,
  .fwgr .fwgr__btn,
  .fwgr .fwgr__name,
  .fwgr .fwgr__based a {
    transition: none !important;
  }

}
