/*
  Via Destination Weddings — Resorts Page
  File: /resorts/resorts.css
  Depends on: /assets/css/main.css
*/

/* Page shell */
body.resorts-page {
  background: var(--oyster);
}

/* Active main nav item */
.nav-links a.nav-current,
.nav-links a[aria-current="page"] {
  color: var(--gold-light);
}
.nav-links a.nav-current::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Shared focus states */
.resorts-page a:focus-visible,
.resorts-page button:focus-visible,
.resorts-page select:focus-visible,
.resorts-page input:focus-visible {
  outline: 1px solid var(--gold-light);
  outline-offset: 4px;
}

/* ═════════════════════════════════════════════
   HERO
   ═════════════════════════════════════════════ */
.rp-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--jungle-deep);
  color: var(--oyster);
}

.rp-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  background: var(--jungle-deep) url('/assets/images/resorts/mexican-caribbean-wedding-resorts-hero.webp') center 40% / cover no-repeat;
  transform: scale(1.08);
  will-change: transform;
}

.rp-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(184,150,12,0.10) 0%, transparent 58%),
    linear-gradient(180deg, rgba(15,28,22,0.25) 0%, rgba(15,28,22,0.62) 52%, rgba(15,28,22,0.96) 100%);
}

.rp-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  width: 100%;
  text-align: center;
  padding: clamp(132px, 16vw, 180px) clamp(20px, 5vw, 56px) clamp(100px, 12vw, 140px);
}

.rp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 22px);
  margin-bottom: clamp(30px, 5vw, 46px);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.34em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--gold-light);
}

.rp-hero-eyebrow::before,
.rp-hero-eyebrow::after {
  content: '';
  display: block;
  width: clamp(28px, 5vw, 52px);
  height: 1px;
  background: rgba(212,174,48,0.48);
}

.rp-hero-h1 {
  font-family: var(--serif);
  font-size: clamp(2.9rem, 7vw, 6.4rem);
  font-weight: 300;
  line-height: 1.03;
  color: var(--oyster);
  letter-spacing: 0.012em;
  margin-bottom: clamp(28px, 4vw, 38px);
  text-shadow: 0 4px 40px rgba(0,0,0,0.35);
}

.rp-hero-h1 em {
  color: var(--gold-light);
  font-style: italic;
  font-weight: 300;
}

.rp-hero-sub {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 58px);
  color: rgba(249,248,246,0.76);
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 2;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.rp-hero-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 42px);
}

.rp-hero-promise {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 92%;
  border: 1px solid rgba(212,174,48,0.28);
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.20em;
  line-height: 1.7;
  text-transform: uppercase;
  color: rgba(249,248,246,0.58);
  background: rgba(15,28,22,0.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.rp-hero-promise-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(212,174,48,0.45);
}

@media (max-width: 760px) {
  .rp-hero {
    min-height: 92svh;
  }
  .rp-hero-eyebrow::before,
  .rp-hero-eyebrow::after {
    display: none;
  }
  .rp-hero-promise {
    max-width: 100%;
    letter-spacing: 0.12em;
  }
}

/* ═════════════════════════════════════════════
   TRUST TICKER
   ═════════════════════════════════════════════ */
.trust-ticker {
  position: relative;
  z-index: 10;
  overflow: hidden;
  padding: 18px 0;
  background: var(--jungle);
  border-top: 1px solid rgba(184,150,12,0.18);
  border-bottom: 1px solid rgba(184,150,12,0.20);
}

.trust-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  animation: tickerScroll 44s linear infinite;
  will-change: transform;
}

.trust-ticker:hover .trust-ticker-track {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(249,248,246,0.56);
}

.ticker-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--gold);
  opacity: 0.8;
}

/* ═════════════════════════════════════════════
   INTERNAL NAV
   ═════════════════════════════════════════════ */
.rp-nav {
  position: sticky;
  top: 0;
  z-index: 92;
  background: rgba(249,248,246,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184,150,12,0.18);
}

.rp-nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(14px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.rp-nav-inner::-webkit-scrollbar {
  display: none;
}

.rp-nav-link,
.rp-nav-cta {
  position: relative;
  flex: 0 0 auto;
  padding: 18px clamp(12px, 1.8vw, 20px);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26,46,37,0.64);
  transition: color 0.35s ease, background 0.35s ease;
}

.rp-nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.45s var(--ease);
}

.rp-nav-link:hover,
.rp-nav-link.is-active {
  color: var(--jungle);
  background: rgba(184,150,12,0.06);
}

.rp-nav-link.is-active::after,
.rp-nav-link:hover::after {
  transform: scaleX(1);
}

.rp-nav-cta {
  margin-left: auto;
  color: var(--gold);
}

.rp-nav-cta:hover {
  color: var(--jungle);
  background: rgba(184,150,12,0.08);
}

@media (max-width: 820px) {
  .rp-nav {
    top: 64px;
  }
  .rp-nav-link,
  .rp-nav-cta {
    padding: 15px 13px;
    font-size: 8px;
    letter-spacing: 0.16em;
  }
  .rp-nav-cta {
    margin-left: 0;
  }
}

/* ═════════════════════════════════════════════
   HYBRID ADVANTAGE
   ═════════════════════════════════════════════ */
.hybrid-section {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 12vw, 150px) 0;
  background: var(--oyster);
}

.hybrid-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(270deg, rgba(184,150,12,0.055), transparent);
  pointer-events: none;
}

.hybrid-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: clamp(52px, 8vw, 104px);
  align-items: center;
}

.hybrid-text .label {
  display: block;
  margin-bottom: 24px;
}

.hybrid-h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.1vw, 3.55rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--jungle);
  margin-bottom: 30px;
}

.hybrid-h2 em {
  color: var(--gold);
  font-style: italic;
}

.hybrid-body {
  max-width: 660px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--muted);
  margin-bottom: 38px;
}

.hybrid-body p + p {
  margin-top: 18px;
}

.hybrid-pillars {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(184,150,12,0.16);
}

.hybrid-pillar {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(184,150,12,0.16);
}

.hybrid-pillar-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: rgba(184,150,12,0.28);
}

.hybrid-pillar-title {
  margin-bottom: 7px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jungle);
}

.hybrid-pillar-desc {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.hybrid-img-wrap {
  position: relative;
  height: clamp(420px, 47vw, 590px);
  overflow: hidden;
  background: var(--sand);
}

.hybrid-img {
  position: absolute;
  inset: 0;
  transition: transform 1.6s var(--ease);
}

.rp-hybrid-img {
  background: var(--sand);
}

.hybrid-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hybrid-img-wrap:hover .hybrid-img {
  transform: scale(1.045);
}

.hybrid-img-caption {
  position: absolute;
  left: 28px;
  bottom: 24px;
  color: rgba(249,248,246,0.72);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.hybrid-img-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  max-width: 260px;
  padding: 12px 16px;
  background: rgba(26,46,37,0.84);
  border: 1px solid rgba(212,174,48,0.32);
  color: var(--gold-light);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.55;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hybrid-inner {
    grid-template-columns: 1fr;
  }
  .hybrid-img-wrap {
    order: -1;
    height: clamp(360px, 70vw, 520px);
  }
}

@media (max-width: 560px) {
  .hybrid-img-wrap {
    height: 390px;
  }

  .hybrid-img img {
    object-position: center top;
  }

  .hybrid-pillar {
    grid-template-columns: 42px 1fr;
  }
}

/* ═════════════════════════════════════════════
   FILTER / FINDER
   ═════════════════════════════════════════════ */
.filter-section {
  padding: clamp(72px, 10vw, 112px) 0 clamp(46px, 7vw, 68px);
  background: var(--sand);
  border-top: 1px solid rgba(184,150,12,0.14);
  border-bottom: 1px solid rgba(184,150,12,0.14);
}

.filter-head {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}

.filter-head .label {
  display: block;
  margin-bottom: 18px;
}

.filter-h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--jungle);
  margin-bottom: 14px;
}

.filter-h2 em {
  color: var(--gold);
}

.filter-sub {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.86;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px;
  padding: clamp(22px, 3vw, 32px);
  margin-bottom: 20px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(184,150,12,0.20);
  box-shadow: 0 26px 70px rgba(15,28,22,0.06);
}

.filter-group {
  flex: 1 1 230px;
  min-width: 0;
}

.filter-label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.filter-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(184,150,12,0.28);
  border-radius: 0;
  padding: 15px 44px 15px 16px;
  background:
    #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='8' viewBox='0 0 13 8' fill='none'%3E%3Cpath d='M1 1.25L6.5 6.75L12 1.25' stroke='%23B8960C' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 16px center;
  color: var(--jungle);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.filter-select:hover,
.filter-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,12,0.10);
  outline: none;
}

.filter-btn-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.filter-apply,
.filter-reset {
  border-radius: 0;
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.45s var(--ease);
}

.filter-apply {
  padding: 15px 26px;
  border: 1px solid var(--jungle);
  background: var(--jungle);
  color: var(--oyster);
  font-size: 10px;
  letter-spacing: 0.20em;
}

.filter-apply:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--jungle);
}

.filter-reset {
  padding: 15px 16px;
  border: 1px solid rgba(107,107,95,0.32);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.filter-reset:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255,255,255,0.48);
}

.filter-destination-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-destination-chips {
  margin: 22px 0 18px;
}

.filter-destination-chip {
  border: 1px solid rgba(184,150,12,0.36);
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.35s var(--ease);
}

.filter-destination-chip {
  background: rgba(255,255,255,0.78);
  color: var(--muted);
}

.filter-destination-chip:hover,
.filter-destination-chip.is-active {
  border-color: var(--gold);
  background: rgba(184,150,12,0.12);
  color: var(--jungle);
}

.filter-results-note {
  margin: 6px 0 14px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.09em;
  line-height: 1.7;
  color: var(--muted);
}

.filter-results-note strong {
  color: var(--jungle);
}

.filter-no-results {
  margin-top: 16px;
  border: 1px solid rgba(184,150,12,0.28);
  padding: 16px 18px;
  background: rgba(255,255,255,0.78);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.10em;
  line-height: 1.7;
  text-transform: uppercase;
}

@media (max-width: 680px) {
  .filter-bar {
    display: block;
  }
  .filter-group + .filter-group,
  .filter-btn-wrap {
    margin-top: 18px;
  }
  .filter-btn-wrap {
    display: grid;
    grid-template-columns: 1fr;
  }
  .filter-apply,
  .filter-reset {
    width: 100%;
  }
}

/* ═════════════════════════════════════════════
   RESORT DIRECTORY
   ═════════════════════════════════════════════ */
.resort-directory-section {
  padding: clamp(84px, 11vw, 128px) 0 clamp(96px, 12vw, 150px);
  background: var(--oyster);
}

.resort-directory-head {
  max-width: 790px;
  margin: 0 auto clamp(46px, 7vw, 64px);
  text-align: center;
}

.resort-directory-head .label {
  display: block;
  margin-bottom: 18px;
}

.resort-directory-h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--jungle);
  margin-bottom: 16px;
}

.resort-directory-h2 em {
  color: var(--gold);
}

.resort-directory-sub {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.86;
}

.resort-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.resort-listing-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(184,150,12,0.17);
  overflow: hidden;
  min-height: 100%;
  transition:
    transform 0.65s var(--ease),
    box-shadow 0.65s var(--ease),
    border-color 0.45s ease,
    opacity 0.35s ease;
}

html.js-ready .resort-listing-card {
  opacity: 0;
  transform: translateY(28px);
}

html.js-ready .resort-listing-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.resort-listing-card:hover {
  border-color: rgba(184,150,12,0.42);
  box-shadow: 0 26px 76px rgba(15,28,22,0.10);
  transform: translateY(-4px);
}

html.js-ready .resort-listing-card.is-visible:hover {
  transform: translateY(-4px);
}

.resort-listing-card.is-hidden {
  display: none;
}

.resort-listing-media {
  min-height: 215px;
  background-size: cover;
  background-position: center;
  background-color: var(--sand-dark);
  position: relative;
  overflow: hidden;
}

.resort-listing-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.resort-listing-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,28,22,0.02), rgba(15,28,22,0.18)),
    radial-gradient(circle at 20% 20%, rgba(212,174,48,0.10), transparent 55%);
  opacity: 0;
  transition: opacity 0.55s ease;
}

.resort-listing-card:hover .resort-listing-media::after {
  opacity: 1;
}

.resort-listing-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(22px, 2.6vw, 30px);
}

.resort-listing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 13px;
}

.rrc-tier-badge,
.rrc-dest-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(184,150,12,0.30);
  padding: 6px 9px;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.rrc-dest-badge {
  color: var(--muted);
  background: rgba(229,223,211,0.42);
}

.rrc-tier-starting { color: #78642C; background: rgba(184,150,12,0.08); }
.rrc-tier-premium { color: var(--gold); background: rgba(184,150,12,0.12); }
.rrc-tier-luxury { color: var(--jungle); background: rgba(36,61,49,0.08); border-color: rgba(36,61,49,0.18); }
.rrc-tier-ultra { color: var(--gold-light); background: var(--jungle); border-color: rgba(212,174,48,0.34); }

.resort-listing-name {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.2vw, 1.92rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--jungle);
  margin-bottom: 11px;
}

.resort-listing-desc {
  color: var(--muted);
  font-size: 12.7px;
  line-height: 1.78;
  margin-bottom: 18px;
}

.rrc-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
  padding: 0;
}

.rrc-details li {
  position: relative;
  padding-left: 15px;
  color: rgba(26,26,26,0.72);
  font-size: 11.8px;
  line-height: 1.65;
}

.rrc-details li::before {
  content: '·';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 600;
}

.rrc-details strong {
  color: var(--jungle);
  font-weight: 600;
}

.resort-listing-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: auto;
}

/* Resort card images */
.rrc-dreams-sands { background-image: url('/assets/images/resorts/dreams-sands-cancun-wedding-resort-card.avif'); }
.rrc-moon-palace { background-image: url('/assets/images/resorts/moon-palace-cancun-wedding-resort-card.avif'); }
.rrc-paradisus { background-image: url('/assets/images/resorts/paradisus-cancun-wedding-resort-card.avif'); }
.rrc-hyatt-ziva { background-image: url('/assets/images/resorts/hyatt-ziva-cancun-wedding-resort-card.avif'); }
.rrc-iberostar-quetzal { background-image: url('/assets/images/resorts/iberostar-waves-quetzal-playa-del-carmen-wedding-resort-card.avif'); }
.rrc-hyatt-vivid { background-image: url('/assets/images/resorts/hyatt-vivid-playa-del-carmen-wedding-resort-card.avif'); }
.rrc-sandos-caracol { background-image: url('/assets/images/resorts/sandos-caracol-eco-resort-riviera-maya-wedding-card.avif'); }
.rrc-impression-moxche { background-image: url('/assets/images/resorts/impression-moxche-secrets-wedding-resort-card.avif'); }
.rrc-barcelo-maya { background-image: url('/assets/images/resorts/barcelo-maya-palace-wedding-resort-card.avif'); }
.rrc-catalonia-royal { background-image: url('/assets/images/resorts/catalonia-royal-tulum-wedding-resort-card.avif'); }
.rrc-dreams-natura { background-image: url('/assets/images/resorts/dreams-natura-riviera-maya-wedding-resort-card.avif'); }
.rrc-grand-palladium { background-image: url('/assets/images/resorts/grand-palladium-white-sand-select-wedding-resort-card.avif'); }
.rrc-hotel-xcaret-mexico,
.rrc-hotel-xcaret-arte,
.rrc-casa-de-la-playa {
  background-image:
    linear-gradient(180deg, rgba(15,28,22,0.02), rgba(15,28,22,0.26)),
    url('/assets/images/resorts/hotel-xcaret-mexico-wedding-resort-card.avif');
}

.rrc-hotel-xcaret-arte {
  background-image: url('/assets/images/resorts/hotel-xcaret-arte-wedding-resort-card.avif');
}

.rrc-casa-de-la-playa {
  background-image: url('/assets/images/resorts/la-casa-de-la-playa-wedding-resort-card.avif');
}

.rrc-hotel-mousai-cancun,
.rrc-sls-playa-mujeres,
.rrc-garza-blanca-cancun,
.rrc-atelier-playa-mujeres {
  background-image:
    linear-gradient(180deg, rgba(15,28,22,0.02), rgba(15,28,22,0.26)),
    url('/assets/images/resorts/hotel-mousai-cancun-wedding-resort-card.avif');
}

.rrc-sls-playa-mujeres {
  background-image: url('/assets/images/resorts/sls-playa-mujeres-wedding-resort-card.avif');
}

.rrc-garza-blanca-cancun {
  background-image: url('/assets/images/resorts/garza-blanca-cancun-wedding-resort-card.avif');
}

.rrc-atelier-playa-mujeres {
  background-image: url('/assets/images/resorts/atelier-playa-mujeres-wedding-resort-card.avif');
}

.rrc-presidente-cozumel,
.rrc-westin-cozumel {
  background-image:
    linear-gradient(180deg, rgba(15,28,22,0.02), rgba(15,28,22,0.26)),
    url('/assets/images/resorts/presidente-intercontinental-cozumel-wedding-resort-card.avif');
}

.rrc-westin-cozumel {
  background-image: url('/assets/images/resorts/the-westin-cozumel-wedding-resort-card.avif');
}

.rrc-waldorf-astoria-riviera-maya,
.rrc-edition-kanai,
.rrc-st-regis-kanai {
  background-image:
    linear-gradient(180deg, rgba(15,28,22,0.02), rgba(15,28,22,0.26)),
    url('/assets/images/resorts/waldorf-astoria-riviera-maya-wedding-resort-card.avif');
}

.rrc-edition-kanai {
  background-image: url('/assets/images/resorts/riviera-maya-edition-kanai-wedding-resort-card.avif');
}

.rrc-st-regis-kanai {
  background-image: url('/assets/images/resorts/st-regis-kanai-riviera-maya-wedding-resort-card.avif');
}

@media (max-width: 1120px) {
  .resort-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 740px) {
  .resort-directory-grid {
    grid-template-columns: 1fr;
  }
  .resort-listing-media {
    min-height: 240px;
  }
}

/* ═════════════════════════════════════════════
   DESTINATION GATEWAYS — HIDDEN / PRESERVED FOR FUTURE USE
   ═════════════════════════════════════════════ */
/* Hidden for future use: destination gateways styles.
.destinations-section {
  padding: clamp(80px, 10vw, 128px) 0 clamp(104px, 13vw, 170px);
  background: var(--oyster);
}

.dest-section-head {
  max-width: 730px;
  margin: 0 auto clamp(54px, 8vw, 84px);
  text-align: center;
}

.dest-section-head .label {
  display: block;
  margin-bottom: 20px;
}

.dest-h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.7vw, 3.1rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--jungle);
  margin-bottom: 20px;
}

.dest-h2 em {
  color: var(--gold);
}

.dest-sub {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}

.dest-gateways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

.dest-gateway {
  position: relative;
  overflow: hidden;
  min-height: clamp(460px, 52vw, 670px);
  display: flex;
  align-items: flex-end;
  background: var(--jungle);
  color: var(--oyster);
}

.dest-gateway-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.45s var(--ease);
}

.rdg-cancun { background-image: url('/assets/images/resorts/cancun-wedding-resorts-overview.webp'); }
.rdg-playa { background-image: url('/assets/images/resorts/playa-del-carmen-wedding-resorts-overview.webp'); }
.rdg-tulum { background-image: url('/assets/images/resorts/tulum-wedding-resorts-overview.webp'); }

.dest-gateway:hover .dest-gateway-bg {
  transform: scale(1.07);
}

.dest-gateway-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,28,22,0.08) 0%, rgba(15,28,22,0.38) 42%, rgba(15,28,22,0.92) 100%),
    radial-gradient(circle at 14% 16%, rgba(212,174,48,0.10), transparent 42%);
  transition: background 0.7s ease;
}

.dest-gateway:hover .dest-gateway-overlay {
  background:
    linear-gradient(180deg, rgba(15,28,22,0.18) 0%, rgba(15,28,22,0.48) 42%, rgba(15,28,22,0.96) 100%),
    radial-gradient(circle at 14% 16%, rgba(212,174,48,0.14), transparent 42%);
}

.dest-gateway-rate {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 2;
  padding: 12px 16px;
  min-width: 126px;
  text-align: center;
  background: rgba(26,46,37,0.84);
  border: 1px solid rgba(212,174,48,0.30);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dest-gateway-rate-from {
  display: block;
  margin-bottom: 2px;
  color: rgba(249,248,246,0.50);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dest-gateway-rate-price {
  display: block;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.42rem;
  line-height: 1.1;
}

.dest-gateway-rate-unit {
  color: rgba(249,248,246,0.42);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.dest-gateway-content {
  position: relative;
  z-index: 2;
  padding: clamp(34px, 4vw, 50px);
}

.dest-gateway-num {
  display: block;
  margin-bottom: 8px;
  color: rgba(212,174,48,0.20);
  font-family: var(--serif);
  font-size: clamp(3.8rem, 6vw, 5.2rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
}

.dest-gateway-tag {
  margin-bottom: 12px;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1.6;
  text-transform: uppercase;
}

.dest-gateway-h3 {
  color: var(--oyster);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 2.55rem);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 14px;
}

.dest-gateway-h3 em {
  color: var(--gold-light);
}

.dest-gateway-desc {
  max-width: 330px;
  margin-bottom: 24px;
  color: rgba(249,248,246,0.68);
  font-size: 12.5px;
  line-height: 1.78;
}

.dest-gateway-resorts {
  max-width: 330px;
  margin-bottom: 28px;
  color: rgba(249,248,246,0.44);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.10em;
  line-height: 1.72;
  text-transform: uppercase;
}

.dest-gateway-cta {
  display: inline-flex;
  align-items: center;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(212,174,48,0.48);
  padding-bottom: 5px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  transition: letter-spacing 0.45s var(--ease), border-color 0.45s ease;
}

.dest-gateway:hover .dest-gateway-cta {
  letter-spacing: 0.26em;
  border-bottom-color: var(--gold-light);
}

@media (max-width: 980px) {
  .dest-gateways {
    grid-template-columns: 1fr;
  }
  .dest-gateway {
    min-height: 430px;
  }
}

/* ═════════════════════════════════════════════
   PRICING TIERS — HIDDEN / PRESERVED FOR FUTURE USE
   ═════════════════════════════════════════════ */
/* Hidden for future use: pricing tiers styles.
.tiers-section {
  position: relative;
  overflow: hidden;
  padding: clamp(94px, 13vw, 160px) 0;
  background: var(--jungle);
}

.tiers-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(184,150,12,0.08) 0%, transparent 52%),
    radial-gradient(ellipse at 88% 82%, rgba(47,80,64,0.42) 0%, transparent 55%);
  pointer-events: none;
}

.tiers-section .container {
  position: relative;
  z-index: 1;
}

.tiers-head {
  max-width: 760px;
  margin: 0 auto clamp(62px, 8vw, 100px);
  text-align: center;
}

.tiers-head .label {
  display: block;
  margin-bottom: 20px;
}

.tiers-h2 {
  color: var(--oyster);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}

.tiers-h2 em {
  color: var(--gold-light);
}

.tiers-sub {
  max-width: 650px;
  margin: 0 auto;
  color: rgba(249,248,246,0.58);
  font-size: 13.5px;
  line-height: 1.9;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(212,174,48,0.14);
  background: rgba(212,174,48,0.14);
}

.tier-card {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 4vw, 58px) clamp(26px, 3vw, 38px);
  background: var(--jungle);
  transition: background 0.55s var(--ease), transform 0.55s var(--ease);
}

.tier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--gold-light);
  transition: width 0.85s var(--ease);
}

.tier-card:hover,
.tier-card.is-featured {
  background: var(--jungle-mid);
}

.tier-card:hover::before,
.tier-card.is-featured::before {
  width: 100%;
}

.tier-num {
  margin-bottom: 24px;
  color: rgba(212,174,48,0.12);
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5vw, 4.7rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
}

.tier-tag {
  margin-bottom: 12px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.27em;
  text-transform: uppercase;
}

.tier-name {
  min-height: 64px;
  color: var(--oyster);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.78rem);
  font-weight: 300;
  line-height: 1.14;
  margin-bottom: 7px;
}

.tier-name em {
  color: var(--gold-light);
}

.tier-subtitle {
  min-height: 34px;
  color: rgba(249,248,246,0.45);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 28px;
}

.tier-gold-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
  margin-bottom: 30px;
}

.tier-rate-range {
  margin-bottom: 30px;
}

.tier-rate-label,
.tier-features-title {
  margin-bottom: 8px;
  color: rgba(249,248,246,0.36);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.tier-rate-value {
  display: block;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 300;
  line-height: 1.05;
}

.tier-rate-unit,
.tier-pkg-range {
  color: rgba(249,248,246,0.38);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.tier-pkg-range {
  margin-top: 5px;
}

.tier-features {
  margin-bottom: 32px;
}

.tier-features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 0;
}

.tier-features li {
  position: relative;
  padding-left: 15px;
  color: rgba(249,248,246,0.64);
  font-size: 12px;
  line-height: 1.55;
}

.tier-features li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.tier-resorts {
  color: rgba(249,248,246,0.40);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.09em;
  line-height: 1.72;
  margin-bottom: 32px;
}

.tier-resorts strong {
  color: rgba(249,248,246,0.55);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .tiers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tier-name,
  .tier-subtitle {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .tiers-grid {
    grid-template-columns: 1fr;
  }
}

/* ═════════════════════════════════════════════
   EDITORIAL BREAK
   ═════════════════════════════════════════════ */
.editorial-break {
  position: relative;
  overflow: hidden;
  min-height: clamp(380px, 50vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--jungle-deep);
}

.editorial-break-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/weddings/destination-wedding-tulum-landscape.jpg');
  background-size: cover;
  background-position: center 35%;
  will-change: transform;
}

.editorial-break-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,28,22,0.56), rgba(15,28,22,0.78)),
    radial-gradient(circle at 50% 20%, rgba(184,150,12,0.11), transparent 60%);
}

.editorial-break-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 0 clamp(22px, 4vw, 48px);
  text-align: center;
}

.editorial-break-quote {
  color: var(--oyster);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.36;
  margin-bottom: 28px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.28);
}

.editorial-break-quote em {
  color: var(--gold-light);
  font-style: normal;
}

.editorial-break-attr {
  color: rgba(212,174,48,0.72);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

/* ═════════════════════════════════════════════
   WHY VDW — HIDDEN / PRESERVED FOR FUTURE USE
   ═════════════════════════════════════════════ */
/* Hidden for future use: why VDW styles.
.why-section {
  padding: clamp(84px, 12vw, 142px) 0;
  background: var(--sand);
}

.why-head {
  max-width: 700px;
  margin: 0 auto clamp(50px, 7vw, 78px);
  text-align: center;
}

.why-head .label {
  display: block;
  margin-bottom: 20px;
}

.why-h2 {
  font-family: var(--serif);
  font-size: clamp(1.95rem, 3.6vw, 3rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--jungle);
  margin-bottom: 20px;
}

.why-h2 em {
  color: var(--gold);
}

.why-sub {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(184,150,12,0.14);
  background: rgba(184,150,12,0.14);
}

.why-card {
  padding: clamp(34px, 4vw, 50px) clamp(24px, 3vw, 36px);
  background: var(--sand);
  transition: background 0.45s var(--ease), transform 0.45s var(--ease);
}

.why-card:hover {
  background: #fff;
}

.why-card-num {
  color: rgba(184,150,12,0.22);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 18px;
}

.why-card-title {
  color: var(--jungle);
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 12px;
}

.why-card-body {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}

@media (max-width: 920px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ═════════════════════════════════════════════
   FAQ
   ═════════════════════════════════════════════ */
.rp-faq {
  padding: clamp(84px, 12vw, 150px) 0;
  background: var(--oyster);
}

.rp-faq-list {
  max-width: 940px;
  margin: 0 auto;
  border-top: 1px solid rgba(184,150,12,0.20);
}

.rp-faq-item {
  border-bottom: 1px solid rgba(184,150,12,0.20);
}

.rp-faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 34px;
  gap: 22px;
  align-items: center;
  padding: clamp(22px, 3vw, 30px) 0;
  text-align: left;
  color: var(--jungle);
  cursor: pointer;
}

.rp-faq-q span:first-child {
  font-family: var(--serif);
  font-size: clamp(1.22rem, 2vw, 1.65rem);
  font-weight: 300;
  line-height: 1.3;
}

.rp-faq-icon {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(184,150,12,0.40);
  border-radius: 50%;
  transition: border-color 0.35s ease, background 0.35s ease;
}

.rp-faq-icon::before,
.rp-faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), opacity 0.35s ease;
}

.rp-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.rp-faq-q:hover .rp-faq-icon,
.rp-faq-q[aria-expanded="true"] .rp-faq-icon {
  border-color: var(--gold);
  background: rgba(184,150,12,0.08);
}

.rp-faq-q[aria-expanded="true"] .rp-faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.rp-faq-a {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  max-width: 760px;
  padding: 0 58px 30px 0;
}

.rp-faq-a[hidden] {
  display: none;
}

/* ═════════════════════════════════════════════
   FINAL CTA
   ═════════════════════════════════════════════ */
.rp-cta-section {
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 15vw, 185px) 0;
  background: var(--jungle);
  text-align: center;
  color: var(--oyster);
}

.rp-cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,28,22,0.84), rgba(15,28,22,0.92)),
    url('/assets/images/resorts/mexican-caribbean-wedding-resorts-hero.webp') center / cover no-repeat;
  opacity: 0.78;
  will-change: transform;
}

.rp-cta-section .container {
  position: relative;
  z-index: 1;
}

.rp-cta-section .label {
  margin-bottom: 24px;
}

.rp-cta-h2 {
  color: var(--oyster);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.2vw, 3.8rem);
  font-weight: 300;
  line-height: 1.12;
  margin-bottom: 28px;
}

.rp-cta-h2 em {
  color: var(--gold-light);
}

.rp-cta-body {
  max-width: 660px;
  margin: 0 auto 46px;
  color: rgba(249,248,246,0.62);
  font-size: 14px;
  line-height: 1.95;
  font-weight: 300;
}

.rp-cta-trust {
  margin-top: 34px;
  color: rgba(249,248,246,0.40);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* Footer page-specific compatibility */
.footer-brand {
  min-width: 0;
}

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
  .trust-ticker-track,
  .hero-scroll-line::after {
    animation: none !important;
  }
  .resorts-page *,
  .resorts-page *::before,
  .resorts-page *::after {
    scroll-behavior: auto !important;
  }
  html.js-ready .resort-listing-card {
    opacity: 1;
    transform: none;
  }
}

/* Compact mobile finishing */
@media (max-width: 560px) {
  .ticker-item {
    padding: 0 24px;
  }
  .rp-faq-a {
    padding-right: 0;
  }
  .dest-gateway-rate {
    top: 18px;
    right: 18px;
  }
  .btn-lg {
    padding-left: 28px;
    padding-right: 28px;
  }
}
