/* ==========================================================================
   Vina Collective theme for iRewards defaultv4 portal (home page)
   Load AFTER main.css, theme css and get_custom_css.
   Only restyles existing defaultv4 classes; no markup/JS contract changes.
   Fonts (add in <head>):
   https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400&family=Source+Sans+3:wght@400;500;600&display=swap
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  --vc-purple: #753abb;
  --vc-purple-600: #5f2d9c;
  --vc-purple-50: #f4eefb;
  --vc-ink: #1d1d1b;
  --vc-ink-2: #45433f;
  --vc-muted: #807b74;
  --vc-line: #e3e0db;
  --vc-paper: #f0f0f0;
  --vc-white: #ffffff;
  --vc-overlay: rgba(18, 14, 10, 0.55);

  --vc-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --vc-sans: "Source Sans 3", "Source Sans Pro", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --vc-container: 1200px;
  --vc-gutter: clamp(16px, 4vw, 40px);
  --vc-section: clamp(64px, 9vw, 120px);
  --vc-radius: 6px;
  --vc-pill: 999px;
  --vc-ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
body {
  font-family: var(--vc-sans);
  font-weight: 400;
  color: var(--vc-ink);
  background: var(--vc-paper);
  -webkit-font-smoothing: antialiased;
}
body h1, body h2, body h3 {
  font-family: var(--vc-serif);
  font-weight: 400;
  color: var(--vc-ink);
  letter-spacing: 0;
}
body a { color: var(--vc-purple); }
body a:hover { color: var(--vc-purple-600); }

/* Container used across defaultv4 sections */
body .ir--section--container--havebox {
  display: block;
  width: 100%;
  max-width: calc(var(--vc-container) + 2 * var(--vc-gutter));
  margin: 0 auto;
  padding: 0 var(--vc-gutter);
}

/* Buttons: pill, as on vinacollective.vn */
body .btn,
body button.btn {
  font-family: var(--vc-sans);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  padding: 12px 24px;
  border-radius: var(--vc-pill);
  background-color: var(--vc-purple);
  border: 1px solid var(--vc-purple);
  color: var(--vc-white);
  box-shadow: none;
  text-transform: none;
  transition: background-color .2s var(--vc-ease), color .2s var(--vc-ease);
}
/* Template adds a grey drop shadow + blue border on :hover/:focus of every .btn/button */
body .btn:hover,
body .btn:focus {
  background-color: var(--vc-purple-600);
  border-color: var(--vc-purple-600);
  color: var(--vc-white);
  box-shadow: none;
  outline: none;
}
body .btn:focus-visible { box-shadow: 0 0 0 3px rgba(117, 58, 187, .3); }
body .btn:active { transform: scale(.98); }
body .btn-square { border-radius: 0 0 var(--vc-radius) var(--vc-radius); }

/* Touch screens keep :hover after a tap; don't leave buttons stuck in their hover colour */
@media (hover: none) {
  body .btn:hover, body .btn:focus:not(:focus-visible),
  body .trigger--ib--zone:hover, body .trigger--ib--zone:focus:not(:focus-visible) {
    background-color: var(--vc-purple);
    border-color: var(--vc-purple);
  }
}

/* Reusable arrow pill (used in CMS content) */
.vc-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: var(--vc-pill);
  background: var(--vc-purple);
  color: var(--vc-white) !important;
  font: 600 14px/1.2 var(--vc-sans);
  text-decoration: none !important;
  transition: background-color .2s var(--vc-ease), gap .2s var(--vc-ease);
}
.vc-pill::after { content: "\2192"; font-size: 16px; line-height: 1; }
.vc-pill:hover { background: var(--vc-purple-600); }
.vc-pill:active { transform: scale(.97); }
.vc-pill--light { background: var(--vc-white); color: var(--vc-ink) !important; }
.vc-pill--light:hover { background: var(--vc-purple-50); }
.vc-pill--ghost { background: transparent; color: var(--vc-ink) !important; padding-left: 0; padding-right: 0; }
.vc-pill--ghost:hover { background: transparent; color: var(--vc-purple) !important; }

.vc-eyebrow {
  display: block;
  font: 600 12px/1 var(--vc-sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--vc-purple);
  margin-bottom: 18px;
}

/* 3. Header ---------------------------------------------------------------- */
body header {
  font-family: var(--vc-sans);
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 100%);
  transition: background-color .3s var(--vc-ease), box-shadow .3s var(--vc-ease);
}
body header.show {
  background: rgba(29, 29, 27, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
body .header--top {
  font-size: 12px;
  letter-spacing: .04em;
  padding: 8px var(--vc-gutter);
  color: rgba(255,255,255,.8);
}
body .header--top a,
body .header--account--title { color: rgba(255,255,255,.85); }
body .header--top a:hover,
body .header--account--title:hover { color: var(--vc-white); }
body .header--middle {
  padding: 6px var(--vc-gutter) 14px;
  align-items: center;
}
body .header--logo { width: 140px; }
body .header--logo img { height: auto; width: 100%; display: block; }

body .header--nav--menu a,
body .ir--menus a {
  color: var(--vc-white);
  font-family: var(--vc-sans);
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 14px;
}
/* One underline only: the template already draws one on a::before */
body .header--nav--menu a::before { display: none; }
body .ir--menus span { text-transform: none; position: relative; }
body .ir--menus span::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--vc-ease);
}
body .ir--menus a:hover span::after,
body .ir--menus a:focus-visible span::after,
body .menu_home a span::after { transform: scaleX(1); transform-origin: left; }
body .header--nav--menu a:hover,
body .header--nav--menu a:focus { color: var(--vc-white); }

/* Sticky "Book Now" that appears on scroll.
   jQuery fades it in/out by animating opacity; the template's "transition: all"
   fought that animation (laggy, flickering fade), so only colour/transform transition here. */
body .btn--trigger--booking {
  background: var(--vc-white);
  color: var(--vc-ink);
  border-radius: var(--vc-pill);
  font: 600 14px/1.2 var(--vc-sans);
  padding: 12px 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  text-transform: none;
  letter-spacing: 0;
  right: var(--vc-gutter);
  bottom: -56px;
  transition: background-color .2s var(--vc-ease), transform .3s var(--vc-ease-out, ease), box-shadow .3s var(--vc-ease);
}
body .btn--trigger--booking:hover {
  background: var(--vc-purple-50);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
body .btn--trigger--booking:active { transform: translateY(0) scale(.98); }

/* 4. Hero banner (banner_top slider) -------------------------------------- */
body .home--banner { background: var(--vc-ink); height: auto; }
body .home--banner--single { position: relative; }
body .home--banner--single > a { display: block; position: relative; }
body .home--banner--single > a::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(14,10,6,.72) 0%, rgba(14,10,6,.15) 45%, rgba(14,10,6,0) 65%),
    linear-gradient(180deg, rgba(14,10,6,.35) 0%, rgba(14,10,6,0) 25%);
  pointer-events: none;
}
body .home--banner--single img {
  width: 100%;
  height: clamp(520px, 86vh, 900px);
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
body .home--banner--text {
  top: auto;
  bottom: clamp(88px, 14vh, 150px);
  left: 0;
  right: 0;
  height: auto;
  max-width: calc(var(--vc-container) + 2 * var(--vc-gutter));
  margin: 0 auto;
  padding: 0 var(--vc-gutter);
  text-align: left;
  z-index: 2;
  pointer-events: none;
}
body .home--banner--title {
  font-family: var(--vc-serif);
  font-weight: 400;
  color: var(--vc-white);
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1.06;
  max-width: 11em;
  margin: 0 0 20px;
  text-shadow: none;
}
body .home--banner--description {
  font-family: var(--vc-sans);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,.88);
  max-width: 46ch;
  margin: 0;
}
body .home--banner .slick-dots { bottom: 28px; }
body .home--banner .slick-dots li button::before { color: var(--vc-white); font-size: 9px; }
body .home--banner .slick-prev,
body .home--banner .slick-next { z-index: 3; width: 44px; height: 44px; }
body .home--banner .slick-prev { left: var(--vc-gutter); }
body .home--banner .slick-next { right: var(--vc-gutter); }

/* 5. iBooking widget zone -------------------------------------------------- */
body .ib--widget--zone {
  position: relative;
  z-index: 5;
  width: calc(100% - 2 * var(--vc-gutter));
  max-width: var(--vc-container);
  margin: -64px auto 0;
  padding: 22px 28px 24px;
  background: var(--vc-white);
  border-radius: var(--vc-radius);
  box-shadow: 0 18px 48px rgba(29, 29, 27, .12);
}
body .ib--widget--zone .ib-label {
  font: 600 11px/1.4 var(--vc-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vc-muted);
  margin-bottom: 6px;
}
/* Fields only. The widget's submit button also carries .ib-control, so it is
   excluded here and styled on its own below. The widget/template CSS uses
   !important on input borders, button colours and link colour, hence the
   !important overrides in this block. */
body .ib--widget--zone .ib-control:not(button),
body .ib--widget--zone select,
body .ib--widget--zone input {
  height: 44px;
  border: 1px solid var(--vc-line) !important;
  border-radius: 4px;
  font: 400 15px/1.2 var(--vc-sans);
  color: var(--vc-ink);
  background-color: var(--vc-white);
  padding: 0 12px;
  box-shadow: none;
  transition: border-color .2s var(--vc-ease), box-shadow .2s var(--vc-ease);
}
body .ib--widget--zone .ib-control:not(button):hover,
body .ib--widget--zone select:hover,
body .ib--widget--zone input:hover { border-color: #c9c4bd !important; }
body .ib--widget--zone .ib-control:not(button):focus,
body .ib--widget--zone select:focus,
body .ib--widget--zone input:focus {
  outline: none;
  border-color: var(--vc-purple) !important;
  box-shadow: 0 0 0 3px rgba(117, 58, 187, .15);
}
body .ib--widget--zone button,
body .ib--widget--zone button.ib-control {
  height: 44px;
  padding: 0 24px;
  border: 1px solid var(--vc-purple) !important;
  border-radius: var(--vc-pill) !important;
  background: var(--vc-purple) !important;
  font: 600 15px/1 var(--vc-sans);
  color: var(--vc-white) !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color .2s var(--vc-ease), border-color .2s var(--vc-ease), transform .15s var(--vc-ease);
}
body .ib--widget--zone button:hover,
body .ib--widget--zone button.ib-control:hover {
  background: var(--vc-purple-600) !important;
  border-color: var(--vc-purple-600) !important;
  box-shadow: none !important;
}
body .ib--widget--zone button:active { transform: scale(.98); }
body .ib--widget--zone button:focus { box-shadow: none !important; outline: none; }
body .ib--widget--zone button:focus-visible { box-shadow: 0 0 0 3px rgba(117, 58, 187, .3) !important; }
body .ib--widget--zone .ib-link,
body .ib-widget a { color: var(--vc-purple) !important; font-size: 13px; }
body .ib-widget a:hover { color: var(--vc-purple-600) !important; }

/* Date picker (flatpickr) selected days: template forces blue with !important */
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange,
.flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover,
.flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus {
  background: var(--vc-purple) !important;
  border-color: var(--vc-purple) !important;
}
.flatpickr-calendar .flatpickr-current-month input.cur-year,
.flatpickr-calendar .flatpickr-current-month span.cur-month,
.flatpickr-calendar span.flatpickr-weekday { color: var(--vc-purple) !important; }

body .trigger--ib--zone {
  background: var(--vc-purple);
  border-color: var(--vc-purple);
  border-radius: var(--vc-pill);
  font: 600 14px/1.2 var(--vc-sans);
  box-shadow: none;
}

/* 6. Intro (content_page_static) ------------------------------------------ */
body .intro--zone {
  background: var(--vc-paper);
  padding: var(--vc-section) var(--vc-gutter) clamp(40px, 5vw, 64px);
  text-align: center;
  height: auto;
}
body .intro--zone h3 {
  font: 600 12px/1 var(--vc-sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--vc-purple);
  margin: 0 0 22px;
}
body .intro--zone h1 {
  font-family: var(--vc-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.16;
  max-width: 760px;
  margin: 0 auto 28px;
  height: auto;
}
body .intro--zone--line {
  width: 48px;
  height: 1px;
  margin: 0 auto 28px;
  background: var(--vc-ink);
  opacity: .25;
}
body .intro--zone--text {
  max-width: 620px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--vc-ink-2);
}
body .intro--zone--text p { margin: 0 0 14px; }

/* 7. Thumbnails (home_thumbnail_main) -------------------------------------- */
body .section--thumbnails {
  background: var(--vc-paper);
  height: auto;
  padding: clamp(24px, 3vw, 40px) 0 calc(var(--vc-section) + 48px);
}
body .section--thumbnails .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  margin: 0;
  align-items: start;
}
body .section--thumbnails .col-1-3 {
  width: auto;
  max-width: none;
  float: none;
  padding: 0;
  flex: none;
}
body .section--thumbnails .col-1-3 { transform: translateY(var(--vc-stagger, 0px)); }
body .section--thumbnails .col-1-3:nth-child(3n + 2) { --vc-stagger: 56px; }
body .thumbnail--single {
  margin: 0;
  height: auto;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  overflow: hidden;
}
body .thumbnail--single > a { display: block; height: 100%; color: inherit; text-decoration: none; }
body .thumbnail--overlay {
  height: 100%;
  inset: 0;
  background: linear-gradient(0deg, rgba(14,10,6,.78) 0%, rgba(14,10,6,.12) 52%, rgba(14,10,6,0) 70%);
  transition: background-color .35s var(--vc-ease);
  display: flex;
  align-items: flex-end;
}
body .thumbnail--single:hover .thumbnail--overlay { background-color: rgba(14,10,6,.18); }
body .thumbnail--content {
  position: static;
  width: 100%;
  padding: 28px;
  text-align: left;
  transform: translateY(8px);
  transition: transform .35s var(--vc-ease);
}
body .thumbnail--single:hover .thumbnail--content { transform: translateY(0); }
body .thumbnail--content .heading {
  font: 400 clamp(22px, 2vw, 28px)/1.15 var(--vc-serif);
  color: var(--vc-white);
  margin: 0 0 8px;
}
body .thumbnail--content .heading::after { display: none; }
body .thumbnail--content .subheading {
  white-space: normal;
  overflow: visible;
  max-width: 32ch;
  font: 400 15px/1.5 var(--vc-sans);
  color: rgba(255,255,255,.85);
  margin: 0 0 16px;
}
body .thumbnail--content .subheading:empty { display: none; }
body .thumbnail--content .readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 12px/1 var(--vc-sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--vc-white);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.6);
}

/* 8. Rewards (content_table_benefits_main) -------------------------------- */
body .ir--home--bannercenter {
  margin: 0;
  height: auto;
  background: var(--vc-white);
  padding: var(--vc-section) 0;
}
body .ir--home--bannercenter--content {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  max-width: calc(var(--vc-container) + 2 * var(--vc-gutter));
  margin: 0 auto;
  padding: 0 var(--vc-gutter);
}
body .ir--home--bannercenter--content > img {
  order: -1;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  position: sticky;
  top: 120px;
}
body .ir--home--bannercenter .ir--bc--box {
  min-width: 0;
  position: static;
  display: block;
  height: auto;
}
body .ir--home--bannercenter .ir--bc--box .ir--bc--content {
  width: auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  height: auto;
}
body .ir--bc--content h3 {
  font: 400 clamp(30px, 3.2vw, 44px)/1.15 var(--vc-serif) !important;
  margin: 0 0 20px;
}
body .ir--bc--content > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--vc-ink-2);
  max-width: 56ch;
  margin: 0 0 36px;
}
.vc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }

/* Tier table */
.vc-tiers { border: 1px solid var(--vc-line); border-radius: var(--vc-radius); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vc-tiers table { width: 100%; min-width: 560px; table-layout: fixed; border-collapse: collapse; text-align: center; font-family: var(--vc-sans); }
.vc-tiers caption {
  caption-side: top; text-align: left; padding: 18px 20px 0;
  font: 600 11px/1.4 var(--vc-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--vc-muted);
}
.vc-tiers th, .vc-tiers td { padding: 18px 12px; vertical-align: middle; border-bottom: 1px dashed var(--vc-line); }
.vc-tiers tr:last-child > * { border-bottom: 0; }
.vc-tiers th[scope="row"] {
  width: 25%; text-align: left; padding-left: 20px;
  font: 600 14px/1.35 var(--vc-sans); color: var(--vc-ink);
  background: #fbfaf9; border-right: 1px dashed var(--vc-line);
}
.vc-tiers tbody td + td { border-left: 1px dashed var(--vc-line); }
.vc-tiers .tier-name { display: block; font: 400 21px/1.2 var(--vc-serif); color: var(--vc-ink); margin-bottom: 4px; }
.vc-tiers .tier-spend { display: block; font-size: 12.5px; line-height: 1.35; color: var(--vc-muted); }
.vc-tiers .row-note { display: block; margin-top: 4px; font-weight: 400; font-size: 12.5px; color: var(--vc-muted); }
.vc-tiers .pct { display: block; font: 400 28px/1.1 var(--vc-serif); color: var(--vc-purple); }
.vc-tiers .pct small { font-size: .58em; margin-left: 1px; }
.vc-tiers .pct--inline { display: inline-block; margin: 0 6px; vertical-align: -2px; }
.vc-tiers .uses { display: block; font-size: 13px; color: var(--vc-muted); }
.vc-tiers .pct--inline + .uses { display: inline; }
.vc-tiers .label { display: block; font-size: 13px; color: var(--vc-ink-2); margin-bottom: 2px; }
.vc-tiers .plus { display: block; margin: 6px 0; color: var(--vc-muted); }
.vc-tiers .extra { display: block; font-size: 13px; line-height: 1.4; color: var(--vc-ink-2); }
.vc-tiers td.vc-top { vertical-align: top; }

/* 9. Section titles (.ir--title) ------------------------------------------ */
body .ir--title {
  max-width: calc(var(--vc-container) + 2 * var(--vc-gutter));
  margin: 0 auto;
  padding: var(--vc-section) var(--vc-gutter) 40px;
}
body .ir--title h1 {
  font: 400 clamp(32px, 3.4vw, 46px)/1.15 var(--vc-serif);
  text-transform: none;
  height: auto;
  margin: 0 0 16px;
}
body .ir--title--line { display: none; }
body .ir--title--text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--vc-ink-2);
  max-width: 620px;
  margin: 0 auto;
}

/* Promotions title: left heading + "View all" on the right, as on vinacollective.vn */
body .ir--title.ir--title__homepromo {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px 24px;
  background: var(--vc-white);
  max-width: none;
  padding-left: max(var(--vc-gutter), calc((100% - var(--vc-container)) / 2));
  padding-right: max(var(--vc-gutter), calc((100% - var(--vc-container)) / 2));
  padding-bottom: 32px;
}
body .ir--title__homepromo h1 { text-align: left !important; margin: 0; }
body .ir--title__homepromo .ir--title--text { text-align: right !important; justify-self: end; max-width: none; width: auto; margin: 0; }
body .ir--title__homepromo .ir--title--text p { margin: 0; max-width: none; }

/* 10. Promotions (promotion_home_main) ------------------------------------ */
body .promotion--home--zone {
  background: var(--vc-white);
  padding: 0 0 var(--vc-section);
}
body .promotion--home--zone .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px 24px;
  margin: 0;
  height: auto;
}
body .promotion--home--zone .col-1-3 {
  width: auto; max-width: none; float: none; padding: 0; flex: none; height: auto;
}
body .promotion--home--single,
body .promotion--home--single .ir--element {
  height: 100%;
  background: transparent;
  box-shadow: none;
  border: 0;
}
body .ir--element { display: flex; flex-direction: column; }
body .ir--element--link { position: absolute; inset: 0; z-index: 2; }
body .ir--element--img {
  border-radius: var(--vc-radius);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--vc-paper);
}
body .ir--element--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--vc-ease);
}
body .ir--element:hover .ir--element--img img { transform: scale(1.04); }
body .ir--element--content {
  display: flex;
  flex-direction: column;
  padding: 18px 0 0;
  background: transparent;
  text-align: left;
}
body .ir--element--content h3 {
  order: 1;
  font: 400 19px/1.35 var(--vc-serif);
  color: var(--vc-ink);
  margin: 0 0 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body .ir--element--short--des,
body .ir--element--re--title {
  position: relative;
  padding-left: 24px;
  font: 400 13.5px/1.45 var(--vc-sans);
  color: var(--vc-ink-2);
  text-transform: none;
  letter-spacing: 0;
  height: auto;
  min-height: 0;
  overflow: visible;
  margin: 0 0 6px;
}
body .ir--element--short--des { order: 2; }
body .ir--element--re--title { order: 3; }
body .ir--element--short--des::before,
body .ir--element--re--title::before {
  position: absolute;
  left: 2px;
  top: 1px;
  font-family: "Font Awesome 5 Free";
  font-size: 13px;
  color: var(--vc-purple);
}
body .ir--element--short--des::before { content: "\f3c5"; font-weight: 900; }
body .ir--element--re--title::before { content: "\f133"; font-weight: 400; }

/* 11. Map (googlemaps) ----------------------------------------------------- */
body .ir--map { background: var(--vc-paper); padding: 0 0 var(--vc-section); }
body .ir--map .map-content {
  max-width: calc(var(--vc-container) + 2 * var(--vc-gutter));
  margin: 0 auto;
  padding: 0 var(--vc-gutter);
  height: auto;
}
body .ir--map iframe {
  display: block;
  width: 100%;
  height: clamp(380px, 46vw, 540px);
  border-radius: var(--vc-radius);
  filter: grayscale(.85) contrast(1.02);
  transition: filter .4s var(--vc-ease);
}
body .ir--map .map-content:hover iframe { filter: none; }
body .weather-widget {
  top: 24px;
  bottom: auto;
  left: auto;
  right: calc(var(--vc-gutter) + 24px);
  width: 280px;
  height: auto;
  padding: 28px;
  background: var(--vc-white);
  border-radius: var(--vc-radius);
  box-shadow: 0 12px 32px rgba(29, 29, 27, .14);
  color: var(--vc-ink-2);
  text-align: left;
}
body .weather-widget .weather-day:empty { display: none; }
body .weather-widget .timer:has(#hours:empty) { display: none; }
body .weather-widget .weather-day,
body .weather-widget .timer { text-align: left !important; font-size: 13px; color: var(--vc-muted); }
body .weather-widget .hot {
  font: 400 44px/1.1 var(--vc-serif);
  color: var(--vc-ink);
  margin: 6px 0 14px;
}
body .weather-widget .hot .ti-cloud { font-size: 28px; color: var(--vc-purple); margin-left: 6px; }
body .weather-widget .weather-address {
  font-size: 14px;
  line-height: 1.5;
  color: var(--vc-ink-2);
  padding-top: 14px;
  border-top: 1px solid var(--vc-line);
}
body .weather-widget .weather-address .fa { color: var(--vc-purple); }

/* 12. Join band (.ir--join) ------------------------------------------------ */
body .ir--join {
  margin: 0;
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--vc-purple);
}
body .ir--join--content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  flex-wrap: wrap;
}
body .ir--join .join--text {
  font: 400 clamp(28px, 3.2vw, 44px)/1.2 var(--vc-serif);
  color: var(--vc-white);
  max-width: 22ch;
  text-align: left;
}
body .ir--join .join--btn .btn {
  background: var(--vc-white);
  border-color: var(--vc-white);
  color: var(--vc-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
body .ir--join .join--btn .btn::after { content: "\2192"; font-size: 16px; line-height: 1; }
body .ir--join .join--btn .btn:hover { background: var(--vc-purple-50); color: var(--vc-ink); }

/* Developer link left in the template (kept, de-emphasised) */
body .ir--body > a[href*="openapp"] {
  display: block;
  padding: 6px var(--vc-gutter);
  background: var(--vc-white);
  font-size: 11px;
  color: var(--vc-muted);
  text-align: right;
}

/* 13. Footer --------------------------------------------------------------- */
body footer {
  background: var(--vc-white);
  color: var(--vc-ink-2);
  padding: clamp(48px, 6vw, 72px) 0 0;
  border-top: 1px solid var(--vc-line);
}
body footer .footer--widgets { margin: 0 -15px; }
body .footer--image { display: inline-block; width: 160px; }
body .footer--image img { width: 100%; height: auto; display: block; }
body .footer--widget--title {
  font: 600 11px/1.4 var(--vc-sans) !important;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--vc-muted) !important;
  margin: 0 0 16px;
}
body footer address { font-style: normal; margin: 0; }
body footer address span {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  padding: 0 0 6px;
  border: 0;
  color: var(--vc-ink-2);
}
body footer address a { color: var(--vc-ink-2); }
body footer address a:hover { color: var(--vc-purple); }
body .footer--social { display: flex; gap: 10px; }
body .footer--social a { color: var(--vc-ink); text-decoration: none; }
body .footer--social .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid var(--vc-line);
  border-radius: 50%;
  color: var(--vc-ink);
  font-size: 14px;
  transition: border-color .2s var(--vc-ease), color .2s var(--vc-ease);
}
body .footer--social a:hover .icon { border-color: var(--vc-purple); color: var(--vc-purple); }
body .btw--footer {
  background: var(--vc-white);
  border-top: 1px solid var(--vc-line);
  margin-top: 40px;
  padding: 20px 0;
}
body .btw--footer--powered { font-size: 13px; color: var(--vc-muted); }
body .btw--footer--powered a { color: var(--vc-ink-2); text-decoration: underline; }

/* 14. Login popover / mobile login ----------------------------------------- */
body .ir--login--inner { font-family: var(--vc-sans); border-radius: var(--vc-radius); }
body .ir--login--inner h2 { font: 400 26px/1.25 var(--vc-serif) !important; }
body .ir--login--inner .link { color: var(--vc-purple); }
body .ir--login--inner input:focus { border-color: var(--vc-purple); box-shadow: none; }
/* Floating mobile login: theme link colour (purple) made the icon invisible on the purple disc */
body a.loggin--mobile {
  background: var(--vc-purple);
  color: var(--vc-white);
  box-shadow: 0 8px 20px rgba(117, 58, 187, .35);
  transition: transform .2s var(--vc-ease), box-shadow .2s var(--vc-ease);
}
body a.loggin--mobile .fas { color: var(--vc-white); font-size: 16px; }
body a.loggin--mobile p { font: 600 11px/1 var(--vc-sans); color: var(--vc-ink); margin-top: 6px; }
body a.loggin--mobile:active { transform: scale(.94); }

/* Bootstrap dropdown items (language switcher) should not take the theme link colour */
body .dropdown-menu .dropdown-item { color: var(--vc-ink); font-family: var(--vc-sans); font-size: 13px; text-transform: none; }
body .dropdown-menu .dropdown-item:hover,
body .dropdown-menu .dropdown-item:focus { background: var(--vc-purple-50); color: var(--vc-purple); }

/* 15. Responsive ------------------------------------------------------------ */
@media (max-width: 991px) {
  body .ir--home--bannercenter--content { grid-template-columns: 1fr; }
  body .ir--home--bannercenter--content > img {
    position: static;
    aspect-ratio: 16 / 10;
    max-height: 440px;
  }
  body .section--thumbnails .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .section--thumbnails .col-1-3:nth-child(3n + 2) { --vc-stagger: 0px; }
  body .section--thumbnails .col-1-3:nth-child(2n) { --vc-stagger: 40px; }
  body .section--thumbnails .col-1-3:last-child:nth-child(odd) { grid-column: 1 / -1; }
  body .section--thumbnails .col-1-3:last-child:nth-child(odd) .thumbnail--single { aspect-ratio: 16 / 9; }
}

@media (max-width: 768px) {
  body header,
  body header .header--middle { background: rgba(29, 29, 27, 0.96); }
  body .header--middle { padding: 10px var(--vc-gutter); }
  /* base responsive.css forces a wide mobile logo */
  body .header--middle__logo,
  body .header--logo.header--logo__mobile { width: 112px !important; max-width: 112px; }
  body .header--logo.header--logo__mobile img { width: 112px !important; height: auto !important; }
  body .nav__trigger div { background: var(--vc-white); }
  body .header--nav--menu { background: rgba(29, 29, 27, 0.98); }
  body .header--nav--menu a { margin: 0; padding: 12px var(--vc-gutter); display: block; }
  body .home--banner--single img { height: clamp(460px, 78vh, 680px); }
  body .home--banner--text { bottom: 72px; }
  body .ib--widget--zone { margin-top: 16px; padding: 18px; box-shadow: 0 8px 24px rgba(29,29,27,.08); }
  body .section--thumbnails { padding-bottom: var(--vc-section); }
  body .section--thumbnails .row { grid-template-columns: 1fr; }
  body .section--thumbnails .col-1-3:nth-child(n) { --vc-stagger: 0px; }
  body .section--thumbnails .col-1-3:last-child:nth-child(odd) { grid-column: auto; }
  body .section--thumbnails .col-1-3 .thumbnail--single,
  body .section--thumbnails .col-1-3:last-child:nth-child(odd) .thumbnail--single { aspect-ratio: 4 / 3; }
  body .ir--title.ir--title__homepromo { grid-template-columns: 1fr; align-items: start; }
  body .ir--title__homepromo .ir--title--text { justify-self: start; text-align: left !important; }
  body .weather-widget {
    position: relative;
    top: auto; left: auto; right: auto;
    width: auto;
    margin-top: 16px;
    box-shadow: none;
    border: 1px solid var(--vc-line);
  }
  body .ir--join--content { flex-direction: column; align-items: flex-start; }
  body footer .footer--widget { margin-bottom: 32px; }
}

/* 16. Editorial accents ------------------------------------------------------ */
body .home--banner--title em,
body .intro--zone h1 em,
body .ir--title h1 em,
body .ir--bc--content h3 em,
body .ir--join .join--text em { font-style: italic; }
body .home--banner--title em { color: #dcc8f6; }
body .intro--zone h1 em,
body .ir--title h1 em,
body .ir--bc--content h3 em { color: var(--vc-purple); }

/* Marquee (CMS content inside the intro block) */
body .intro--zone { overflow-x: clip; }
.vc-marquee {
  width: 100vw;
  margin: clamp(56px, 7vw, 96px) calc(50% - 50vw) 0;
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid var(--vc-line);
  border-bottom: 1px solid var(--vc-line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.vc-marquee__track { display: flex; width: max-content; align-items: center; }
.vc-marquee__track [data-item] {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  white-space: nowrap;
  font: italic 400 clamp(26px, 3.2vw, 44px)/1.1 var(--vc-serif);
  color: var(--vc-ink);
}
.vc-marquee__track [data-item]:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1px var(--vc-ink);
}
.vc-marquee__track [data-item]::after {
  content: "\2726";
  font-style: normal;
  font-size: .45em;
  color: var(--vc-purple);
  -webkit-text-stroke: 0;
}

/* 17. Motion (only when vinacollective-motion.js has run: html.vc-motion) --- */
:root {
  --vc-ease-out: cubic-bezier(.16, 1, .3, 1);
  --vc-ease-io: cubic-bezier(.77, 0, .18, 1);
}

/* Scroll progress */
.vc-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  z-index: 10001;
  background: linear-gradient(90deg, var(--vc-purple), #c9a7f2);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* Masked word reveal for headings */
.vc-motion .vc-split .vc-w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .12em;
  margin-bottom: -.12em;
}
.vc-motion .vc-split .vc-w > span {
  display: inline-block;
  transform: translateY(110%) rotate(5deg);
  transform-origin: 0 100%;
  transition: transform 1.1s var(--vc-ease-out);
  transition-delay: calc(var(--i, 0) * 55ms + var(--d, 0ms));
}
.vc-motion .vc-split.is-in .vc-w > span,
.vc-motion .home--banner.is-in .vc-split .vc-w > span { transform: none; }

/* Fade + rise + de-blur */
.vc-motion .vc-reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity .9s var(--vc-ease-out), transform 1.1s var(--vc-ease-out), filter .9s var(--vc-ease-out);
  transition-delay: var(--d, 0ms);
}
.vc-motion .vc-reveal.is-in { opacity: 1; transform: none; filter: none; }
.vc-motion .intro--zone--line.vc-reveal { transform: scaleX(0); filter: none; transition: transform 1.2s var(--vc-ease-io) .3s, opacity .6s; }
.vc-motion .intro--zone--line.vc-reveal.is-in { transform: scaleX(1); }

/* Image wipe (bottom to top) */
.vc-motion .vc-wipe {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.25s var(--vc-ease-io);
  transition-delay: var(--d, 0ms);
}
.vc-motion .vc-wipe.is-in { clip-path: inset(0 0 0 0); }
.vc-motion .ir--home--bannercenter--content > img.vc-wipe {
  scale: 1.12;
  transition: clip-path 1.3s var(--vc-ease-io), scale 1.8s var(--vc-ease-out);
}
.vc-motion .ir--home--bannercenter--content > img.vc-wipe.is-in { scale: 1; }
.vc-motion .ir--element--img.vc-wipe img { scale: 1.18; transition: scale 1.6s var(--vc-ease-out), transform .6s var(--vc-ease); }
.vc-motion .ir--element--img.vc-wipe.is-in img { scale: 1; }

/* Hero: slow zoom-out, parallax, staged copy, scroll cue */
body .home--banner { overflow: hidden; }
body .home--banner--single > a { overflow: hidden; }
.vc-motion .home--banner--single img {
  scale: 1.14;
  translate: 0 var(--vc-py, 0px);
  transition: scale 3.2s var(--vc-ease-out);
  will-change: translate, scale;
}
.vc-motion .home--banner.is-in .home--banner--single img { scale: 1; }
.vc-motion .home--banner--text { translate: 0 var(--vc-ty, 0px); }
.vc-motion .home--banner--description {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 1s var(--vc-ease-out) .75s, translate 1.1s var(--vc-ease-out) .75s;
}
.vc-motion .home--banner.is-in .home--banner--description { opacity: 1; translate: 0 0; }
.vc-scroll-cue {
  position: absolute;
  right: var(--vc-gutter);
  bottom: 104px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.8);
  font: 600 10px/1 var(--vc-sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s 1.4s;
}
.vc-motion .home--banner.is-in .vc-scroll-cue { opacity: 1; }
.vc-scroll-cue i {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, #fff 0 50%, rgba(255,255,255,.22) 50% 100%);
  background-size: 100% 200%;
  animation: vcCue 1.8s var(--vc-ease-io) infinite;
}
@keyframes vcCue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* Booking widget: fade in once the hero settles (opacity only: its offset is read by the page JS) */
.vc-motion .ib--widget--zone { animation: vcFade .9s var(--vc-ease-out) .55s both; }
@keyframes vcFade { from { opacity: 0; } to { opacity: 1; } }

/* Thumbnails: tilt, inner parallax image, hover zoom + spotlight */
.vc-motion .section--thumbnails .row { perspective: 1200px; }
.vc-motion .section--thumbnails .col-1-3 {
  transform: translateY(var(--vc-stagger, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--vc-ease-out), clip-path 1.25s var(--vc-ease-io);
  transition-delay: 0s, var(--d, 0ms);
  will-change: transform;
}
.vc-motion .thumbnail--single::before {
  content: "";
  position: absolute;
  inset: -10% 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  transform: translate3d(0, var(--vc-py, 0px), 0) scale(1.06);
  transition: transform .9s var(--vc-ease-out);
}
.vc-motion .thumbnail--single:hover::before { transform: translate3d(0, var(--vc-py, 0px), 0) scale(1.14); }
.vc-motion .thumbnail--overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.18), transparent 42%);
  opacity: 0;
  transition: opacity .4s var(--vc-ease);
  pointer-events: none;
}
.vc-motion .section--thumbnails .col-1-3:hover .thumbnail--overlay::after { opacity: 1; }
.vc-motion .thumbnail--content .readmore { transition: gap .3s var(--vc-ease-out), border-color .3s; }
.vc-motion .thumbnail--single:hover .readmore { gap: 14px; border-color: #fff; }
body .thumbnail--single:hover .thumbnail--content .readmore i { margin-left: 0; }
body .thumbnail--content .readmore i { transition: none; }

/* Promotion cards */
.vc-motion .ir--element { transition: transform .5s var(--vc-ease-out); }
.vc-motion .ir--element:hover { transform: translateY(-6px); }
body .ir--element--img { position: relative; }
.vc-motion .ir--element--img::after {
  content: "View offer \2192";
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 14px;
  border-radius: var(--vc-pill);
  background: rgba(255,255,255,.94);
  color: var(--vc-ink);
  font: 600 13px/1 var(--vc-sans);
  opacity: 0;
  translate: 0 10px;
  transition: opacity .35s var(--vc-ease), translate .45s var(--vc-ease-out);
  pointer-events: none;
}
.vc-motion .ir--element:hover .ir--element--img::after { opacity: 1; translate: 0 0; }
.vc-motion .ir--element--content h3 {
  display: inline-block;
  max-width: 100%;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--vc-ease-out), color .3s;
}
.vc-motion .ir--element:hover .ir--element--content h3 { background-size: 100% 1px; color: var(--vc-purple); }

/* Tier table rows cascade */
.vc-motion .vc-tiers tr { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--vc-ease-out), transform .7s var(--vc-ease-out); }
.vc-motion .vc-tiers.is-in tr { opacity: 1; transform: none; }
.vc-motion .vc-tiers tbody tr:nth-child(1) { transition-delay: .25s; }
.vc-motion .vc-tiers tbody tr:nth-child(2) { transition-delay: .35s; }
.vc-motion .vc-tiers tbody tr:nth-child(3) { transition-delay: .45s; }
.vc-motion .vc-tiers td, .vc-motion .vc-tiers thead th[scope="col"] { transition: background-color .3s var(--vc-ease); }
.vc-motion .vc-tiers tbody td:hover, .vc-motion .vc-tiers thead th[scope="col"]:hover { background: var(--vc-purple-50); }

/* Pills: shine sweep, arrow nudge, magnetic pull */
.vc-pill, body .ir--join .join--btn .btn { position: relative; overflow: hidden; isolation: isolate; }
.vc-pill::before, body .ir--join .join--btn .btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.38) 50%, transparent 70%);
  translate: -130% 0;
  transition: translate .8s var(--vc-ease-out);
}
.vc-pill--ghost::before { display: none; }
.vc-pill:hover::before, body .ir--join .join--btn .btn:hover::before { translate: 130% 0; }
.vc-pill::after, body .ir--join .join--btn .btn::after { transition: translate .35s var(--vc-ease-out); }
.vc-pill:hover::after, body .ir--join .join--btn .btn:hover::after { translate: 5px 0; }
.vc-magnetic {
  translate: var(--tx, 0px) var(--ty, 0px);
  transition: translate .45s var(--vc-ease-out), transform .15s var(--vc-ease), background-color .2s var(--vc-ease),
    border-color .2s var(--vc-ease), color .2s var(--vc-ease), box-shadow .2s var(--vc-ease);
  will-change: translate;
}

/* Join band: drifting aurora + cursor spotlight */
body .ir--join { position: relative; overflow: hidden; isolation: isolate; }
.vc-motion .ir--join::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background:
    radial-gradient(38% 48% at 22% 30%, rgba(206, 172, 245, .55), transparent 62%),
    radial-gradient(34% 44% at 78% 72%, rgba(52, 18, 104, .65), transparent 62%),
    radial-gradient(26% 36% at 62% 18%, rgba(255, 214, 176, .22), transparent 62%);
  filter: blur(24px);
  animation: vcAurora 18s ease-in-out infinite alternate;
}
.vc-motion .ir--join::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(520px circle at var(--sx, 70%) var(--sy, 50%), rgba(255,255,255,.12), transparent 45%);
  pointer-events: none;
}
@keyframes vcAurora {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(6%, -4%, 0) rotate(8deg) scale(1.08); }
  100% { transform: translate3d(-5%, 5%, 0) rotate(-6deg) scale(1.02); }
}

/* Marquee movement */
.vc-motion .vc-marquee__track { animation: vcMarquee 40s linear infinite; }
.vc-motion .vc-marquee:hover .vc-marquee__track { animation-play-state: paused; }
@keyframes vcMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sticky header: soft drop-in when it turns solid */
body header.show { animation: vcDrop .5s var(--vc-ease-out); }
@keyframes vcDrop { from { background-color: rgba(29,29,27,0); } }

@media (max-width: 768px) {
  .vc-scroll-cue { display: none; }
  .vc-motion .section--thumbnails .col-1-3 { transform: none; }
  .vc-marquee { padding: 16px 0; }
}

@media (prefers-reduced-motion: reduce) {
  body *, body *::before, body *::after {
    animation: none !important;
    transition: none !important;
  }
}
