/* ==========================================================================
   Components — reusable across pages
   ========================================================================== */

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 24px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em; line-height: 1;
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
  white-space: nowrap;
}
.btn .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover .icon--arrow, .btn:hover [data-arrow] { transform: translateX(3px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-400); box-shadow: 0 8px 20px -8px rgba(201, 154, 75, 0.7); }
.btn--navy { background: var(--navy-800); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.75); color: var(--white); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: var(--white); color: var(--navy-900); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }
.btn--block { width: 100%; }
.btn--icon { padding: 0; width: 46px; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn__play {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid currentColor;
}
.btn__play .icon { width: 10px; height: 10px; margin-left: 1px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--blue-700);
}
.text-link .icon { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }
.text-link--gold { color: var(--gold-500); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(10, 26, 49, 0.25); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; flex: none; position: relative; z-index: 2; }
.brand__mark { width: 70px; height: auto; }
.brand__name { font-family: var(--font-serif); font-size: 17px; color: var(--gold-600); letter-spacing: 0.01em; line-height: 1; }
.brand__first { color: var(--navy-800); }

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.site-nav__list a {
  position: relative; display: block; padding: 6px 0;
  font-size: 13.5px; font-weight: 500; color: var(--navy-800);
}
.site-nav__list a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav__list a:hover::after, .site-nav__list a.is-active::after { transform: scaleX(1); }
.site-nav__cta { display: none; }
.site-header__cta { margin-left: 12px; }

.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; color: var(--navy-800); margin-left: auto; position: relative; z-index: 2; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

@media (max-width: 1023px) {
  /* backdrop-filter would make the header the containing block for the fixed menu */
  .site-header { backdrop-filter: none; background: var(--white); }
  .nav-toggle { display: grid; }
  .site-header__cta { display: none; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1;
    background: var(--white);
    padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
    display: flex; flex-direction: column; gap: 28px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
    overflow-y: auto;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list a { padding: 14px 0; font-size: 22px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; border-bottom: 1px solid var(--gray-100); }
  .site-nav__list a::after { display: none; }
  .site-nav__list a.is-active { color: var(--gold-600); }
  .site-nav__cta { display: inline-flex; }
}
@media (max-width: 420px) { .brand__name { font-size: 15px; } .brand__mark { width: 58px; } }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: var(--text-on-dark); font-size: 13.5px; }
.site-footer__top {
  display: grid; gap: 36px 28px;
  grid-template-columns: 1.3fr repeat(4, 1fr) 1.5fr;
  padding-block: 64px 48px;
}
.site-footer__brand img { width: 190px; }
.footer-col__title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 14px; letter-spacing: 0.01em; }
.footer-col li + li { margin-top: 6px; }
.footer-col a { color: var(--text-on-dark); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-400); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  color: var(--white); border: 1px solid rgba(255, 255, 255, 0.18); transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.social .icon { width: 16px; height: 16px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 22px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 10px 36px; }
.footer-contact li, .footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact a:hover { color: var(--gold-400); }
.footer-contact .icon { width: 16px; height: 16px; color: var(--gold-400); }
.copyright { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }

@media (max-width: 1100px) {
  .site-footer__top { grid-template-columns: repeat(4, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
  .footer-col--connect { grid-column: 1 / -1; max-width: 420px; }
}
@media (max-width: 640px) {
  .site-footer__top { grid-template-columns: repeat(2, 1fr); padding-top: 48px; }
}

/* Forms ------------------------------------------------------------------ */
.inline-form { position: relative; display: flex; gap: 0; width: 100%; }
.inline-form input {
  flex: 1; min-width: 0; height: 46px; padding: 0 16px;
  background: var(--white); border: 1px solid var(--gray-200); border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-size: 14px;
}
.inline-form input:focus { outline: none; border-color: var(--gold-500); }
.inline-form .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.inline-form--dark input { background: rgba(255, 255, 255, 0.95); border-color: transparent; }
.inline-form .form-status { position: absolute; left: 0; top: 100%; margin-top: 8px; }

.form-status { font-size: 13px; min-height: 1em; }
.form-status.is-success { color: #1f8a5b; }
.form-status.is-error { color: #c0392b; }
.site-footer .form-status.is-success { color: #7fd1a8; }
.site-footer .form-status.is-error { color: #ff9c8f; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--navy-800); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: 14px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201, 154, 75, 0.18); }
.was-validated :invalid { border-color: #d65a4a; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* Meta list, price, stars ----------------------------------------------- */
.meta-list { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--text-muted); }
.meta-list li { display: flex; align-items: center; gap: 8px; line-height: 1.4; }
.meta-list .icon { width: 14px; height: 14px; color: var(--gold-500); }
.meta-list--inline { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; }

.price { font-size: 12.5px; color: var(--text-muted); line-height: 1.3; }
.price strong { font-size: 16px; font-weight: 600; color: var(--blue-700); }

.stars { display: inline-flex; gap: 2px; color: var(--gold-500); }
.stars .icon { width: 15px; height: 15px; }
.stars .is-empty { color: var(--gray-200); }

.circle-arrow {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold-500); color: var(--white); flex: none;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.circle-arrow .icon { width: 16px; height: 16px; }

/* Tour card -------------------------------------------------------------- */
.tour-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tour-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-100); }
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.tour-card:hover .tour-card__media img { transform: scale(1.06); }
.tour-card__badge {
  position: absolute; left: 12px; top: 12px;
  padding: 5px 10px; border-radius: 99px; background: rgba(10, 26, 49, 0.78); color: var(--white);
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em; backdrop-filter: blur(4px);
}
.tour-card__body { display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 16px; flex: 1; }
.tour-card__title { font-size: 15.5px; font-weight: 600; color: var(--navy-800); line-height: 1.35; }
.tour-card__title a:focus-visible { outline: none; }
.tour-card:has(a:focus-visible) { outline: 2px solid var(--gold-500); outline-offset: 3px; }
.tour-card__footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--gray-100);
}
.tour-card:hover .circle-arrow { transform: translateX(3px); background: var(--gold-600); }

/* Media (image with play button) ------------------------------------------ */
.media-play {
  position: relative; display: block; width: 100%; overflow: hidden;
  border-radius: var(--radius); color: var(--white); text-align: left; background: var(--navy-900);
}
.media-play img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media-play:hover img { transform: scale(1.04); }
.media-play::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 18, 36, 0) 45%, rgba(6, 18, 36, 0.8) 100%);
}
.play-btn {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px);
  transition: transform 0.35s var(--ease), background 0.35s;
}
.play-btn .icon { width: 22px; height: 22px; margin-left: 3px; }
.play-btn::before {
  content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.6);
  animation: pulse 2.4s var(--ease) infinite;
}
.media-play:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); background: var(--gold-500); border-color: var(--gold-500); }
@keyframes pulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.6); opacity: 0; } }
.media-play__caption {
  position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
}
.media-play__caption small { flex: none; white-space: nowrap; font-size: 11px; opacity: 0.85; letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 6px; }
.media-play__caption small .icon { width: 14px; height: 14px; }

/* Chips (filters) ---------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px; border-radius: 99px; border: 1px solid var(--gray-200); background: var(--white);
  font-size: 13px; font-weight: 500; color: var(--navy-800); transition: all 0.2s;
}
.chip:hover { border-color: var(--gold-500); }
.chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }

/* Page hero (inner pages) -------------------------------------------------- */
.page-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(300px, 42vw, 440px); color: var(--white); overflow: hidden; background: var(--navy-900); }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 18, 36, 0.25) 0%, rgba(6, 18, 36, 0.35) 40%, rgba(6, 18, 36, 0.88) 100%); }
.page-hero .container { position: relative; z-index: 1; padding-bottom: clamp(32px, 5vw, 56px); padding-top: 60px; }
.page-hero__title { font-size: clamp(36px, 6vw, 64px); margin-top: 10px; }
.page-hero__text { max-width: 620px; margin-top: 12px; color: var(--text-on-dark); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: rgba(255, 255, 255, 0.75); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; opacity: 0.6; }

/* Accordion ---------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--gray-100); }
.accordion details { border-bottom: 1px solid var(--gray-100); }
.accordion summary {
  display: flex; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--navy-800);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion__day {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold-100); color: var(--gold-600); font-family: var(--font-display); font-size: 12px; line-height: 1.05; text-align: center; text-transform: uppercase;
}
.accordion__day b { display: block; font-size: 19px; font-weight: 600; }
.accordion summary .icon { margin-left: auto; color: var(--gray-400); transition: transform 0.3s var(--ease); }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion__body { padding: 0 0 20px 68px; color: var(--text-muted); }

/* Lightbox ----------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500; background: rgba(4, 10, 22, 0.97); color: var(--white);
  opacity: 0; transition: opacity 0.3s;
}
.lightbox.is-open { opacity: 1; }
.lightbox__top {
  position: absolute; left: 0; right: 0; top: 0; z-index: 3;
  display: flex; align-items: center; gap: 12px; padding: 14px var(--gutter);
  background: linear-gradient(180deg, rgba(4, 10, 22, 0.8), transparent);
}
.lightbox__title { flex: 1; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 15px; }
.lightbox__counter { font-size: 13px; opacity: 0.75; font-variant-numeric: tabular-nums; }
.lightbox__btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; transition: background 0.2s; }
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.12); }
.lightbox__btn .icon { width: 20px; height: 20px; }
.lightbox__stage { position: absolute; inset: 70px 0 90px; }
.lightbox__slide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity 0.7s var(--ease); padding: 0 var(--gutter); }
.lightbox__slide.is-active { opacity: 1; }
.lightbox__slide img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__nav {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); transition: background 0.2s;
}
.lightbox__nav:hover { background: var(--gold-500); color: var(--navy-900); }
.lightbox__nav .icon { width: 24px; height: 24px; }
.lightbox__nav--prev { left: var(--gutter); }
.lightbox__nav--next { right: var(--gutter); }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 38px; text-align: center; font-size: 14px; opacity: 0.9; padding: 0 var(--gutter); }
.lightbox__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.1); }
.lightbox__progress span { display: block; height: 100%; width: 0; background: var(--gold-500); }
.lightbox--single .lightbox__nav, .lightbox--single [data-lb-toggle] { display: none; }
@media (max-width: 640px) {
  .lightbox__nav { top: auto; bottom: 24px; transform: none; width: 44px; height: 44px; }
  .lightbox__caption { bottom: 84px; }
  .lightbox__stage { bottom: 120px; }
}

/* WhatsApp ------------------------------------------------------------------ */
.btn--whatsapp { background: #25d366; color: #fff; }
.btn--whatsapp:hover { background: #1ebe5b; }
.btn--whatsapp .icon { width: 18px; height: 18px; }

.wa-float {
  position: fixed; right: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); z-index: 90;
  display: flex; align-items: center; gap: 0; height: 58px; padding: 0 17px;
  border-radius: 99px; background: #25d366; color: #fff;
  box-shadow: 0 10px 28px -8px rgba(18, 140, 70, 0.6), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s var(--ease), background 0.3s, gap 0.35s var(--ease);
  animation: wa-in 0.6s 0.8s var(--ease) both;
}
.wa-float .icon { width: 24px; height: 24px; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 500; transition: max-width 0.35s var(--ease); }
.wa-float:hover { background: #1ebe5b; transform: translateY(-2px); gap: 10px; }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 120px; }
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; background: #25d366; z-index: -1;
  animation: wa-pulse 2.8s 2s ease-out infinite;
}
@keyframes wa-in { from { opacity: 0; transform: translateY(20px) scale(0.8); } to { opacity: 1; transform: none; } }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 0.5; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.no-scroll .wa-float { display: none; }
