/* ═══════════════════════════════════════════════════════════
   RSI VACATIONS — homepage
   Palette: deep navy + antique gold on warm cream
   Type:    Playfair Display (display) · Lato (UI) · Yellowtail (script)
   ═══════════════════════════════════════════════════════════ */

:root {
  /* brand */
  --navy-900: #061a30;
  --navy-800: #0a2340;   /* primary dark surface */
  --navy-700: #113253;
  --gold:      #c9a45c;
  --gold-lit:  #dcbe83;
  --gold-deep: #ab8639;
  --cream:     #fdfaf2;
  --cream-2:   #f7f1e4;

  /* ink */
  --ink:       #0a2340;
  --ink-soft:  #46596d;
  --ink-mute:  #6c7d90;
  --line:      #e7dfcf;

  /* type */
  --display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --body:    "Lato", "Avenir Next", "Segoe UI", sans-serif;
  --script:  "Yellowtail", "Snell Roundhand", cursive;

  /* metrics */
  --wrap: 1140px;
  --gut: 26px;
  --r: 8px;

  --shadow-card: 0 2px 3px rgba(10, 35, 64, .04), 0 14px 30px -18px rgba(10, 35, 64, .28);
  --shadow-lift: 0 4px 8px rgba(10, 35, 64, .06), 0 30px 48px -24px rgba(10, 35, 64, .38);
}

/* ── reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.12; }
p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color .25s ease; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:where(a, button, .btn):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* shared bits ───────────────────────────────────────────── */
.script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}
.script--xl { font-size: .78em; }
.script--md { font-size: 22px; }

.passw {
 letter-spacing: .115em;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--gold-deep);
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .215em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow--light { color: var(--gold-lit); }

.rule {
  display: block;
  width: 74px;
  height: 3px;
  border-radius: 2px;
}
.rule--gold { background: var(--gold); }
.rule--center { margin-inline: auto; }

.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; }

/* buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: 6px;
  font: 600 15px/1 var(--body);
  letter-spacing: .012em;
  cursor: pointer;
  transition: background-color .28s ease, color .28s ease,
              border-color .28s ease, transform .28s ease, box-shadow .28s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(171, 134, 57, .85);
}
.btn--gold:hover { background: var(--gold-deep); box-shadow: 0 16px 28px -12px rgba(171, 134, 57, .9); }

.btn--ghost {
  background: #fff;
  border-color: var(--gold);
  color: var(--ink);
}
.btn--ghost .ico { color: var(--gold); }
.btn--ghost:hover { background: var(--gold); color: #fff; }
.btn--ghost:hover .ico { color: #fff; }

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .78);
  color: #fff;
}
.btn--outline .ico { width: 20px; height: 20px; }
.btn--outline:hover { background: #fff; color: var(--navy-800); border-color: #fff; }

/* ═══════════════ UTILITY BAR ═══════════════ */
.utility {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
}
.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}
.utility__tag { letter-spacing: .01em; }
.utility__tag .script { font-size: 17px; padding-inline: 2px; }

.utility__nav { display: flex; gap: 26px; }
.utility__nav a { font-size: 12.5px; letter-spacing: .02em; }
.utility__nav a:hover { color: var(--gold-lit); }

/* ═══════════════ MASTHEAD ═══════════════ */
.masthead { background: #fff; }
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 17px;
}

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__type { display: block; }
.brand__name {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: .045em;
  color: var(--navy-800);
  line-height: 1.05;
  white-space: nowrap;
}
.brand__sub {
  display: block;
  margin-top: 3px;
  font-size: 8.6px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.brand__sub b { font-weight: 900; color: var(--ink-soft); }

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: 62px;
  color: #fff;
}
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* layer 1 = scrim · layer 2 = photo · layer 3 = fallback wash.
     hero-couple-mirrored.jpg puts the sun and the couple right of centre, clear of
     the headline. Swap to hero-couple.jpg for the photo's original orientation
     (and raise the scrim stops below — the sun then sits under the type). */
  background-image:
    linear-gradient(97deg,
      rgba(6, 22, 40, .93) 0%,
      rgba(6, 22, 40, .86) 26%,
      rgba(6, 22, 40, .60) 46%,
      rgba(6, 22, 40, .22) 66%,
      rgba(6, 22, 40, .06) 84%,
      rgba(6, 22, 40, 0) 100%),
    url("assets/hero-couple-mirrored.jpg"),
    linear-gradient(105deg, #0a2340 0%, #14496e 38%, #d99a56 74%, #f0c98a 100%);
  background-size: cover;
  /* pans the couple right of the copy column and keeps the sun off the headline */
  background-position: 10% 40%;
  background-repeat: no-repeat;
}
/* soft vignette at the foot of the photo */
.hero__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(6, 22, 40, .55), transparent);
}

.hero__inner { padding-bottom: 58px; }

.hero__title {
  margin: 0 0 22px;
  font-size: clamp(46px, 6.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.005em;
}
.hero__title .script--xl {
  display: inline-block;
  font-style: normal;
  transform: translate(10px, -.28em);
  text-shadow: 0 6px 24px rgba(6, 22, 40, .45);
}

.hero__copy {
  max-width: 380px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .86);
  font-size: 15.5px;
  line-height: 1.72;
}
.hero__kicker {
  margin-top: 18px;
  font-weight: 700;
  font-size: 15.5px;
  color: #fff;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

/* pillar bar — straddles the hero's lower edge */
.pillars {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: -46px;
  padding: 34px 10px 32px;
  border-radius: var(--r);
  background: var(--navy-800);
  box-shadow: 0 26px 54px -26px rgba(6, 22, 40, .75);
}
.pillar {
  padding: 4px 26px;
  text-align: center;
}
.pillar + .pillar { border-left: 1px solid rgba(255, 255, 255, .13); }

.pillar__ico {
  width: 34px; height: 34px;
  margin: 0 auto 14px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.pillar h3 {
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .115em;
  text-transform: uppercase;
  color: var(--gold-lit);
}
.pillar p {
  margin-top: 11px;
  font-size: 13.5px;
  line-height: 1.62;
  color: rgba(255, 255, 255, .8);
}

/* ═══════════════ BENEFIT CARDS ═══════════════ */
.benefits {
  padding: 118px 0 84px;
  background: var(--cream);
}
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 {
  font-size: clamp(30px, 3.4vw, 39px);
  color: var(--navy-800);
}
.section-head .rule { margin-top: 18px; }
.section-head p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .4s cubic-bezier(.22, .8, .32, 1), box-shadow .4s ease;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lift); }

.card__media {
  height: 176px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .7s cubic-bezier(.22, .8, .32, 1);
}
.card:hover .card__media { transform: scale(1.055); }

.card__media--islands {
  /* overwater villas at dusk — villas sit left of frame, so favour that side */
  background-image: url("assets/card-destinations.jpg"),
    linear-gradient(160deg, #b9c6e0 0%, #7f93b8 32%, #2b6a7e 70%, #16495e 100%);
  background-position: 42% center;
}
.card__media--cruise {
  background-image: url("assets/card-cruises.jpg"),
    linear-gradient(160deg, #f7cba9 0%, #f0a487 30%, #6f96a4 62%, #3d6f80 100%);
}
.card__media--resort {
  background-image: url("assets/card-properties.jpg"),
    linear-gradient(160deg, #f3b7c8 0%, #f6c07f 34%, #e08a6a 56%, #3f6ea8 100%);
  background-position: 56% center;
}
.card__media--family {
  background-image: url("assets/card-perks.jpg"),
    linear-gradient(160deg, #fbe3b4 0%, #f5c37c 38%, #d9a05c 66%, #8a7a4e 100%);
  background-position: center 42%;
}

.card__badge {
  position: absolute;
  top: 176px;
  left: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 16px -6px rgba(10, 35, 64, .35);
}
.card__badge svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--navy-800);
  stroke-width: 1.6;
  stroke-linecap: round;
  transition: stroke .3s ease;
}
.card:hover .card__badge svg { stroke: var(--gold-deep); }

.card__body {
  padding: 42px 22px 28px;
  text-align: center;
}
.card__body h3 {
  font-family: var(--body);
  font-size: 12.8px;
  font-weight: 700;
  letter-spacing: .095em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.card__body p {
  margin-top: 11px;
  font-size: 13.6px;
  line-height: 1.62;
  color: var(--ink-mute);
}

/* ═══════════════ SHOWCASE ═══════════════ */
.showcase {
  position: relative;
  overflow: hidden;
  padding: 30px 0 96px;
  background: var(--cream);
}
.showcase__frond {
  position: absolute;
  right: -84px;
  bottom: -70px;
  width: 430px;
  color: var(--gold);
  opacity: .085;
  pointer-events: none;
}

.showcase__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 62px;
  align-items: center;
}

.showcase__media {
  position: relative;
  min-height: 336px;
  border-radius: 4px;
  background-image: url("assets/showcase-santorini.jpg"),
    linear-gradient(160deg, #f6c3d4 0%, #e79ab4 30%, #9a8fc0 58%, #4a6f9e 100%);
  background-size: cover;
  /* the invite card covers the left ~60%, so bias toward the domes on the right */
  background-position: 58% 40%;
  box-shadow: 0 24px 48px -28px rgba(10, 35, 64, .6);
}

.invite {
  position: absolute;
  top: 26px;
  left: 24px;
  bottom: 26px;
  width: min(276px, 62%);
  padding: 30px 28px;
  background: rgba(9, 32, 58, .92);
  backdrop-filter: blur(2px);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.invite h3 { font-size: 27px; line-height: 1.18; }
.invite h3 span { display: block; color: #fff; }
.invite h3 em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  color: var(--gold);
}
.invite p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.68;
  color: rgba(255, 255, 255, .82);
}
.invite .script--md { margin-top: 18px; }
.invite .rule { margin-top: 16px; width: 58px; height: 2px; }

.showcase__title {
  margin: 0 0 30px;
  max-width: 430px;   /* breaks after "You See", as designed */
  font-size: clamp(29px, 3.3vw, 38px);
  line-height: 1.2;
  color: var(--navy-800);
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.ticks svg {
  width: 21px; height: 21px;
  flex: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
}

/* ═══════════════ CTA BAND ═══════════════ */
.cta {
  background: var(--navy-800);
  color: #fff;
}
.cta__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 34px;
}
.cta__ico {
  width: 46px; height: 46px;
  flex: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.cta__text { margin-right: auto; }
.cta__text h2 { font-size: clamp(22px, 2.4vw, 28px); }
.cta__text p {
  margin-top: 7px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .78);
}

/* ═══════════════ CONTACT ═══════════════ */
.contact {
  background: var(--navy-800);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 58px 0 70px;
}
.contact__inner { max-width: 680px; margin-inline: auto; }
.contact__title {
  margin-bottom: 28px;
  font-size: clamp(27px, 3.2vw, 36px);
  line-height: 1.24;
}

.cform { display: grid; gap: 18px; }

.field {
  display: block;
  padding: 11px 16px 13px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: text;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 164, 92, .3);
}
.field__label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #5b6b7c;
}
.field__input {
  display: block;
  width: 100%;
  margin-top: 3px;
  padding: 0;
  border: 0;
  background: transparent;
  font: 400 16px/1.5 var(--body);
  color: var(--ink);
}
.field__input::placeholder { color: #9aa8b6; }
.field__input:focus { outline: none; }
.field__input--area { min-height: 148px; resize: vertical; }

.cform__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  margin-top: 4px;
}
.cform__foot .btn { border: 0; }

/* Holds the widget's footprint (304×78) so the layout doesn't jump once
   Google's script swaps in the real thing. */
.captcha-slot {
  display: grid;
  place-items: center;
  width: 304px;
  max-width: 100%;
  min-height: 78px;
  border: 1px dashed rgba(255, 255, 255, .28);
  border-radius: 4px;
  background: rgba(255, 255, 255, .04);
}
.captcha-slot__note {
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .5);
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .78);
  padding: 34px 0 30px;
}

.footer__seal { text-align: center; }
.bbb {
  display: inline-flex;
  align-items: stretch;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  font-family: var(--body);
}
.bbb__logo {
  display: grid;
  place-items: center;
  padding: 9px 11px;
  font-size: 17px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.02em;
  color: var(--navy-900);
}
.bbb__logo sub { font-size: 8px; vertical-align: super; }
.bbb__label {
  display: grid;
  place-items: center;
  padding: 7px 11px;
  background: #123a5e;
  color: #fff;
  font-size: 9.4px;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.35;
  text-transform: uppercase;
  text-align: center;
}
.bbb__rating {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-lit);
}

.footer__legal {
  text-align: center;
  font-size: 12.4px;
  color: rgba(255, 255, 255, .55);
}
.footer__legal a {
  color: rgba(255, 255, 255, .72);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, .28);
  transition: color .25s ease, text-decoration-color .25s ease;
}
.footer__legal a:hover {
  color: var(--gold-lit);
  text-decoration-color: var(--gold-lit);
}

/* trust row — accreditation + reviews, below the copyright line */
.footer__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px 36px;
  margin-top: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer__trust-sep {
  align-self: stretch;
  width: 1px;
  min-height: 52px;
  background: rgba(255, 255, 255, .14);
}

.greview { text-align: left; }
.greview__name {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
}
.greview__score {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  font-size: 13.5px;
}
.greview__num { font-weight: 700; color: rgba(255, 255, 255, .92); }
.stars { display: inline-flex; gap: 2px; color: #f0b429; }
.stars svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.greview__count { color: var(--gold-lit); }
.greview__meta {
  margin-top: 5px;
  font-size: 12.4px;
  color: rgba(255, 255, 255, .55);
}

/* ═══════════════ MOTION ═══════════════ */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

.reveal {
  animation: riseIn .9s cubic-bezier(.22, .8, .32, 1) both;
  animation-delay: var(--d, 0s);
}

/* scroll-driven reveals, progressively enhanced */
@supports (animation-timeline: view()) {
  .scroll-in {
    animation: riseIn .8s cubic-bezier(.22, .8, .32, 1) both;
    animation-delay: var(--d, 0s);
    animation-timeline: view();
    animation-range: entry 5% cover 26%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
  .btn:hover, .card:hover { transform: none; }
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1080px) {
  .showcase__grid { gap: 44px; }
  .pillar { padding-inline: 14px; }
  /* keeps all four titles on one line so the row stays level */
  .pillar h3 { font-size: 11.4px; letter-spacing: .075em; }
  .pillar p  { font-size: 12.8px; }
}

@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero__photo { background-position: 62% 42%; }

  .pillars { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .pillar:nth-child(odd) { border-left: 0; }
  .pillar:nth-child(-n+2) { padding-bottom: 22px; }
  .pillar:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .13); padding-top: 26px; }

  .cards { grid-template-columns: repeat(2, 1fr); }

  .showcase__grid { grid-template-columns: 1fr; gap: 44px; }
  .showcase__media { min-height: 400px; }
  .showcase__title { max-width: none; }

  .cta__inner { flex-wrap: wrap; }
  .cta__text { margin-right: 0; flex: 1 1 320px; }

}

@media (max-width: 620px) {
  :root { --gut: 20px; }

  .utility__inner { flex-direction: column; gap: 4px; padding-block: 9px; text-align: center; }
  .utility__nav { gap: 20px; }

  .masthead__inner { flex-direction: column; gap: 16px; }

  /* the angled scrim swallows the photo at this width — go vertical, and keep it
     light up top where there is no type, heavier under the headline and copy */
  .hero__photo {
    background-image:
      linear-gradient(to bottom,
        rgba(6, 22, 40, .52) 0%,
        rgba(6, 22, 40, .70) 28%,
        rgba(6, 22, 40, .86) 58%,
        rgba(6, 22, 40, .90) 100%),
      url("assets/hero-couple-mirrored.jpg"),
      linear-gradient(160deg, #0a2340 0%, #14496e 45%, #d99a56 100%);
    background-position: 52% 32%;
  }

  .hero__title { font-size: 44px; }
  .hero__title .script--xl { transform: translate(6px, -.18em); }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }

  .pillars { grid-template-columns: 1fr; margin-bottom: -38px; padding-block: 28px; }
  .pillar { border-left: 0 !important; padding-block: 0; }
  .pillar:nth-child(n+2) { border-top: 1px solid rgba(255, 255, 255, .13); padding-top: 24px; }
  .pillar:nth-child(-n+3) { padding-bottom: 24px; }

  .benefits { padding-top: 96px; }
  .cards { grid-template-columns: 1fr; }

  .showcase__media { min-height: 460px; }
  .invite { width: auto; right: 22px; }

  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cta .btn { width: 100%; justify-content: center; }

  .footer__grid { grid-template-columns: 1fr; }

  .footer__trust { flex-direction: column; gap: 22px; }
  .footer__trust-sep { display: none; }
  .greview { text-align: center; }
  .greview__score { justify-content: center; }
}
