/* ================= Shared section heading ================= */
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 0.5rem;
}

.section-heading h2 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 2rem;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.section-heading p {
  color: #6b7789;
  font-size: 1rem;
  margin: 0;
}

/* ================= Offers =================
   Sits on the page as a warm ivory panel rather than more white-on-white, and
   the coupons are built to actually look like coupons: a gold tear-off edge,
   punched notches either side of the perforation, and a code chip. */
.offers-section {
  /* The notch punches have to repaint the panel behind the card, so the panel
     colour lives in a variable both rules read. */
  --offers-bg: #faf6ed;
  position: relative;
  padding: 3.25rem 2rem 3.5rem;
  margin: 0.5rem 0 3rem;
  border: 1px solid rgba(169, 121, 26, 0.14);
  border-radius: 1.75rem;
  background:
    radial-gradient(900px 320px at 50% 0, rgba(169, 121, 26, 0.12), rgba(169, 121, 26, 0) 72%),
    var(--offers-bg);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(169, 121, 26, 0.16);
  border-radius: 1rem;
  padding: 1.25rem 1.25rem 1rem;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(11, 31, 58, 0.04), 0 12px 28px rgba(11, 31, 58, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  width: 100%;
}

/* Gold tear-off edge down the left of every coupon. */
.offer-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand-gold-bright), var(--brand-gold));
}

.offer-card:hover {
  transform: translateY(-5px);
  border-color: rgba(169, 121, 26, 0.4);
  box-shadow: 0 2px 4px rgba(11, 31, 58, 0.05), 0 22px 44px rgba(11, 31, 58, 0.14);
}

.offer-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-light));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.24rem 0.65rem;
  border-radius: 1rem;
  margin-bottom: 0.7rem;
}

.offer-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 0.35rem;
}

.offer-description {
  font-size: 0.85rem;
  color: #6b7789;
  margin-bottom: 1.1rem;
}

.offer-stub {
  display: block;
  width: calc(100% + 2.5rem);
  margin: 0 -1.25rem 1rem;
  border-top: 2px dashed rgba(169, 121, 26, 0.32);
  position: relative;
}

/* Punched notches at each end of the perforation. They are filled with the
   panel colour, not a hardcoded grey — previously #f4f6fa, which read as two
   grey dots because the section behind them was plain white. */
.offer-stub::before,
.offer-stub::after {
  content: "";
  position: absolute;
  top: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--offers-bg, #fff);
}

.offer-stub::before {
  left: -10px;
}

.offer-stub::after {
  right: -10px;
}

.offer-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  font-size: 0.85rem;
  color: var(--brand-navy);
  background: var(--brand-gold-soft);
  border: 1px dashed rgba(169, 121, 26, 0.45);
  border-radius: 0.5rem;
  padding: 0.55rem 0.85rem;
  transition: background-color 0.2s ease;
}

.offer-card:hover .offer-code {
  background: #f6e9c9;
}

.offer-code strong {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.offer-code .icon {
  width: 15px;
  height: 15px;
  color: #2e7d46;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.offer-card.is-copied .offer-code .icon {
  opacity: 1;
  transform: scale(1);
}

/* ================= Popular routes ================= */
.routes-section {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--brand-navy-soft);
  padding: 3.5rem 0;
}

.routes-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  max-width: none;
  margin-bottom: 2rem;
}

.section-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-navy);
  white-space: nowrap;
}

.section-view-all:hover {
  color: var(--brand-gold);
}

.section-view-all .icon {
  width: 14px;
  height: 14px;
}

.routes-nav {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.routes-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #dde3ec;
  background: #fff;
  color: var(--brand-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.routes-nav-btn:hover {
  background: var(--brand-navy);
  color: #fff;
}

.routes-nav-btn .icon {
  width: 18px;
  height: 18px;
}

.routes-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.routes-track::-webkit-scrollbar {
  display: none;
}

.route-card {
  position: relative;
  flex: 0 0 300px;
  height: 340px;
  border-radius: 1rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  scroll-snap-align: start;
  text-decoration: none;
  color: #fff;
  display: block;
  box-shadow: 0 15px 35px rgba(11, 31, 58, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-size 0.4s ease;
}

.route-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(11, 31, 58, 0.28);
  background-size: 115%;
  color: #fff;
  text-decoration: none;
}

.route-ribbon {
  position: absolute;
  top: 14px;
  left: -34px;
  background: var(--brand-gold);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.3rem 2.5rem;
  transform: rotate(-45deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.route-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 16, 32, 0.1) 0%, rgba(6, 16, 32, 0.88) 100%);
  pointer-events: none;
}

.route-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  z-index: 1;
}

.route-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.route-path {
  flex: 1 1 auto;
  position: relative;
  height: 14px;
}

.route-path-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%);
}

.route-path-plane {
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  transition: left 0.5s ease;
}

.route-path-plane .icon {
  width: 100%;
  height: 100%;
  transform: rotate(90deg);
  margin-bottom:15px;
}

.route-card:hover .route-path-plane {
  left: calc(100% - 14px);
}

.route-cities {
  font-size: 0.85rem;
  opacity: 0.9;
  font-weight: 500;
}

.route-tagline {
  font-size: 0.78rem;
  opacity: 0.75;
  margin-top: -0.2rem;
}

.route-price small:last-child {
  margin-right: 0;
  margin-left: 0.2rem;
  text-transform: none;
}

.route-meta {
  font-size: 0.75rem;
  opacity: 0.7;
}

.route-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.3rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.route-price {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--brand-gold-bright);
}

.route-price small {
  font-weight: 400;
  font-size: 0.7rem;
  opacity: 0.75;
  margin-right: 0.25rem;
  text-transform: uppercase;
}

.route-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.route-cta .icon {
  width: 14px;
  height: 14px;
}

.route-card:hover .route-cta {
  opacity: 1;
  transform: translateX(0);
}

/* ================= Why choose us =================
   A cool tinted panel with a faint dot weave, so the trust block reads as its
   own surface instead of six outlined boxes floating on white. */
.why-us-section {
  position: relative;
  padding: 3.25rem 2rem 3.5rem;
  margin: 0.5rem 0 3rem;
  border: 1px solid rgba(11, 31, 58, 0.07);
  border-radius: 1.75rem;
  /* No overflow:hidden — the radius already clips the background, and clipping
     here would cut the cards' hover shadows off at the panel edge. */
  background:
    radial-gradient(rgba(11, 31, 58, 0.055) 1px, rgba(11, 31, 58, 0) 1px) 0 0 / 22px 22px,
    radial-gradient(760px 320px at 50% 0, rgba(90, 140, 200, 0.14), rgba(90, 140, 200, 0) 72%),
    linear-gradient(180deg, #f4f7fc 0%, #eef3f9 100%);
}

.why-us-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 991.98px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-us-card {
  position: relative;
  text-align: center;
  padding: 1.85rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(11, 31, 58, 0.06);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.04), 0 10px 24px rgba(11, 31, 58, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Gold rule that wipes across the top edge on hover. */
.why-us-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-gold-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.why-us-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 2px 4px rgba(11, 31, 58, 0.05), 0 20px 40px rgba(11, 31, 58, 0.11);
  border-color: rgba(169, 121, 26, 0.35);
}

.why-us-card:hover::before {
  transform: scaleX(1);
}

.why-us-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fdf6e4, #f4e6c2);
  box-shadow: inset 0 0 0 1px rgba(169, 121, 26, 0.22), 0 6px 14px rgba(169, 121, 26, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--brand-gold);
  transition: transform 0.25s ease;
}

.why-us-card:hover .why-us-icon {
  transform: translateY(-2px) scale(1.05);
}

.why-us-icon .icon {
  width: 26px;
  height: 26px;
}

.why-us-card strong {
  display: block;
  font-size: 1rem;
  color: var(--brand-navy);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.why-us-card p {
  font-size: 0.85rem;
  color: #6b7789;
  margin: 0;
  line-height: 1.55;
}

/* ================= Responsive ================= */
@media (max-width: 767.98px) {
  .section-heading h2 {
    font-size: 1.6rem;
  }

  .routes-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .route-card {
    flex-basis: 260px;
    height: 300px;
  }

  .offers-grid,
  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .offers-section,
  .why-us-section {
    padding: 2.25rem 1rem 2.5rem;
    border-radius: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-card,
  .offer-code,
  .route-card,
  .why-us-card,
  .why-us-card::before,
  .why-us-icon,
  .route-path-plane {
    transition: none !important;
  }
}
