/* ============================================================================
   Trelawny "Ultimate Adventure" presentation (public/maravora/ultimate-tour.css)
   ----------------------------------------------------------------------------
   Loaded ONLY by a tour package whose `page_style` is "ultimate"
   (website/packages/show.blade.php), so no classic package page — and nothing
   else on the site — is affected by anything here. Every rule is scoped to
   .pk-page-ultimate where it could otherwise leak.

   The design's accent tones (hero words, ring badges, keywords, arrows) live
   here as --uk-* variables, keyed to the tone names the package row stores
   (App\Models\Package::TONES), so an unknown tone can never paint untuned text.

   Conventions kept from brand.css / packages.css / feature-tour.css:
   - brand tokens (--maravora-*) instead of raw hex where a token exists;
   - logical properties (inset-inline, margin-block, padding-block) so the page
     flips correctly in RTL;
   - focus-visible outlines inherited from brand.css.
   ========================================================================== */

.pk-page-ultimate{
  --uk-orange:#EF8F33;
  --uk-gold:var(--maravora-gold);
  --uk-blue:#35A7E5;
  --uk-aqua:#3FD0DC;
  --uk-green:#4FC47C;
  --uk-magenta:#E8467C;
  --uk-purple:#9A8CF2;
  /* CTA: the design's orange, in the site's gold-button shape. The label keeps
     the button component's dark ink, which is what passes contrast on orange. */
  --uk-cta-1:#F6A85C;
  --uk-cta-2:#E2741F;
}

.uk-tone-white{color:#fff}
.uk-tone-orange{color:var(--uk-orange)}
.uk-tone-gold{color:var(--uk-gold)}
.uk-tone-blue{color:var(--uk-blue)}
.uk-tone-aqua{color:var(--uk-aqua)}
.uk-tone-green{color:var(--uk-green)}
.uk-tone-magenta{color:var(--uk-magenta)}
.uk-tone-purple{color:var(--uk-purple)}

.uk-ring-white{border-color:#fff;color:#fff}
.uk-ring-orange{border-color:var(--uk-orange);color:var(--uk-orange)}
.uk-ring-gold{border-color:var(--uk-gold);color:var(--uk-gold)}
.uk-ring-blue{border-color:var(--uk-blue);color:var(--uk-blue)}
.uk-ring-aqua{border-color:var(--uk-aqua);color:var(--uk-aqua)}
.uk-ring-green{border-color:var(--uk-green);color:var(--uk-green)}
.uk-ring-magenta{border-color:var(--uk-magenta);color:var(--uk-magenta)}
.uk-ring-purple{border-color:var(--uk-purple);color:var(--uk-purple)}

/* The page's buttons are the design's orange. */
.pk-page-ultimate .exp-btn-gold{
  background:linear-gradient(180deg,var(--uk-cta-1),var(--uk-cta-2));
  box-shadow:0 6px 18px rgba(226,116,31,.32);
}

/* ---- Hero ---------------------------------------------------------------- */
.uk-hero{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:stretch;
  min-height:clamp(420px,46vw,640px);
  background-color:var(--maravora-navy);
  color:#fff;
}
.uk-collage{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:2px;
}
.uk-collage img{width:100%;height:100%;object-fit:cover;display:block}
.uk-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* Wash: enough for the headline to stay legible on any photo, light enough at
   the top that the collage still reads as photography. */
.uk-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,rgba(2,33,67,.34) 0%,rgba(2,33,67,.5) 45%,rgba(2,33,67,.92) 100%);
}
.uk-hero-inner{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding-block:clamp(24px,3.4vw,46px) clamp(24px,3vw,40px);
}
.uk-hero-inner .exp-crumbs{color:#E9EEF4;margin:0 0 14px}
.uk-hero-inner .exp-crumbs a{color:#fff}
.uk-eyebrow{
  font-size:clamp(11px,1.2vw,14px);
  font-weight:700;
  letter-spacing:clamp(3px,.7vw,7px);
  text-transform:uppercase;
  margin:0;
  color:#fff;
}
.uk-title{
  font:italic 800 clamp(36px,5.6vw,74px)/1.02 var(--serif);
  margin:clamp(8px,1.4vw,16px) 0 0;
  letter-spacing:-1px;
  text-shadow:0 3px 20px rgba(2,33,67,.55);
}
.uk-keywords{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:4px 12px;
  font:800 clamp(14px,1.9vw,25px)/1.2 var(--sans);
  letter-spacing:clamp(1px,.3vw,3px);
  margin:clamp(10px,1.4vw,18px) 0 0;
  text-shadow:0 2px 14px rgba(2,33,67,.5);
}
.uk-dot{color:#fff;opacity:.75}
.uk-note{
  align-self:flex-end;
  font:italic 600 clamp(17px,2.1vw,27px)/1.15 var(--serif);
  color:#fff;
  margin:clamp(12px,1.8vw,22px) 0 0;
  transform:rotate(-4deg);
  text-shadow:0 2px 16px rgba(2,33,67,.55);
}
.uk-tagline{
  font-size:clamp(10px,1.1vw,13px);
  font-weight:700;
  letter-spacing:clamp(1.4px,.35vw,3px);
  text-transform:uppercase;
  color:#F3F7FA;
  margin:clamp(12px,1.6vw,20px) 0 0;
}
.uk-badges{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:clamp(10px,1.5vw,24px);
  padding:0;
  margin:clamp(20px,3vw,38px) 0 0;
  width:100%;
}
.uk-badges li{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:9px;
  text-align:center;
}
.uk-badge{
  width:clamp(48px,4.6vw,66px);
  aspect-ratio:1;
  border-radius:50%;
  border:2px solid currentColor;
  background:rgba(2,33,67,.42);
  display:grid;
  place-items:center;
}
.uk-badge-ico svg{width:46%;height:46%}
.uk-badge-label{
  font-size:clamp(10px,1vw,12.5px);
  font-weight:700;
  line-height:1.3;
}

/* ---- Sections ------------------------------------------------------------ */
.uk-section{padding:clamp(32px,4.2vw,58px) 0}
.uk-head{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:6px 18px;
  margin-block-end:clamp(18px,2.4vw,30px);
}
.uk-h2{
  font:600 clamp(24px,3.1vw,38px)/1.15 var(--serif);
  color:var(--maravora-navy);
  margin:0;
}
.uk-script{
  font:italic 500 clamp(19px,2.1vw,30px)/1.2 var(--serif);
  color:#8a5a12;
  margin:0;
}

/* ---- Your Adventure Itinerary -------------------------------------------- */
.uk-stops{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:clamp(14px,1.6vw,22px);
}
.uk-stop{
  position:relative;
  background:#fff;
  border:1px solid var(--maravora-border);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 6px 20px rgba(2,33,67,.07);
  padding-block-end:16px;
}
.uk-stop-media{position:relative;margin:0}
.uk-stop-media img{display:block;width:100%;height:clamp(120px,12vw,168px);object-fit:cover}
.uk-stop-num{
  position:absolute;
  inset-block-start:10px;
  inset-inline-start:10px;
  width:26px;
  height:26px;
  border-radius:50%;
  background:#fff;
  color:var(--maravora-navy);
  border:2px solid var(--uk-orange);
  display:grid;
  place-items:center;
  font:800 12px var(--sans);
}
.uk-stop-title{
  font:700 clamp(15px,1.4vw,18px)/1.25 var(--sans);
  color:var(--maravora-navy);
  margin:13px 15px 6px;
}
.uk-stop-duration{
  display:flex;
  align-items:center;
  gap:7px;
  font-size:12px;
  font-weight:600;
  color:var(--maravora-text);
  margin:0 15px 8px;
}
.uk-stop-duration svg{width:15px;height:15px;color:var(--maravora-teal-strong)}
.uk-stop-text{
  font-size:12.5px;
  line-height:1.6;
  color:var(--maravora-text-muted);
  margin:0 15px;
}
/* Connector arrows: between the five cards on desktop, pointing down once the
   cards stack on phones. Marked aria-hidden by being pure decoration. */
.uk-stop:not(:last-child)::after{
  content:"";
  position:absolute;
  inset-block-start:34%;
  inset-inline-end:-16px;
  width:11px;
  height:11px;
  border-top:2.5px solid var(--uk-orange);
  border-right:2.5px solid var(--uk-orange);
  transform:rotate(45deg);
  z-index:1;
}
[dir="rtl"] .uk-stop:not(:last-child)::after{transform:rotate(-135deg)}

/* ---- What's Included · Important Information · Tour Prices ---------------- */
.uk-panels{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr) minmax(0,1.2fr);
  gap:clamp(14px,1.8vw,22px);
  align-items:start;
}
.uk-panel{border-radius:14px;padding:clamp(18px,2vw,26px);border:1px solid transparent}
.uk-panel-navy{
  background:linear-gradient(160deg,var(--maravora-navy) 0%,var(--maravora-navy-2) 100%);
  color:#fff;
}
.uk-panel-pink{background:#FBECEE;border-color:#F2D2D7;color:var(--maravora-text)}
.uk-panel-title{
  font:700 clamp(17px,1.7vw,22px)/1.25 var(--sans);
  color:inherit;
  margin:0 0 14px;
}
.uk-panel-sub{font-size:12px;color:#C9D8E6;margin:-6px 0 14px}
.uk-checks,.uk-notes{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.uk-checks li,.uk-notes li{display:flex;gap:9px;align-items:flex-start;font-size:12.5px;line-height:1.45}
.uk-check-ico,.uk-note-ico{flex-shrink:0;display:grid;place-items:center;margin-block-start:1px}
.uk-check-ico svg,.uk-note-ico svg,svg.uk-check-ico,svg.uk-note-ico{width:16px;height:16px}
.uk-check-ico{color:var(--uk-green)}
.uk-note-ico{color:#B4344A}

/* Tour Prices panel: two white cards inside the navy panel. */
.uk-prices{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.uk-price{
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid #CFE1F5;
  border-radius:12px;
  overflow:hidden;
}
.uk-price-img{display:block;width:100%;height:clamp(60px,5.4vw,84px);object-fit:cover}
.uk-price-body{padding:12px 13px 14px;display:flex;flex-direction:column;flex:1}
.uk-price-label{
  font:800 13px/1.2 var(--sans);
  letter-spacing:.4px;
  text-transform:uppercase;
  color:var(--maravora-navy);
  margin:0 0 8px;
}
.uk-price-label small{
  display:block;
  font-weight:600;
  font-size:12px;
  letter-spacing:0;
  text-transform:none;
  color:var(--maravora-text-muted);
}
.uk-price-amount{margin:0 0 10px;color:var(--maravora-navy)}
.uk-price-amount small{display:block;font-size:12px;color:var(--maravora-text-muted)}
.uk-price-amount strong{display:block;font:800 clamp(21px,2.1vw,29px)/1.05 var(--sans)}
.uk-price-amount span{display:block;font-size:12px;color:var(--maravora-text-muted)}
.uk-price .uk-checks{margin-block-end:12px;gap:6px}
.uk-price .uk-checks li{color:var(--maravora-text);font-size:12px}
.uk-price-cta{
  margin-block-start:auto;
  width:100%;
  justify-content:center;
  text-align:center;
  white-space:normal;
  font-size:12px;
  padding:11px 13px;
}

/* ---- Closing banner ------------------------------------------------------ */
.uk-banner{
  position:relative;
  margin:0;
  min-height:clamp(230px,26vw,340px);
  background-position:center;
  background-size:cover;
  background-color:var(--maravora-navy);
  color:#fff;
  display:grid;
  align-items:center;
}
.uk-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(2,33,67,.22) 0%,rgba(2,33,67,.6) 100%);
}
.uk-banner-inner{
  position:relative;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:20px 30px;
  padding-block:clamp(26px,3.4vw,44px);
}
.uk-quote{
  font:italic 500 clamp(22px,2.8vw,38px)/1.22 var(--serif);
  margin:0;
  max-width:560px;
  text-shadow:0 2px 16px rgba(2,33,67,.5);
}
.uk-banner-items{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:14px 26px;
  margin:0;
  padding:0;
}
.uk-banner-items li{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  min-width:62px;
  font-size:12px;
  font-weight:600;
  text-align:center;
}
.uk-banner-ico{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1.5px solid rgba(255,255,255,.75);
  display:grid;
  place-items:center;
  color:#fff;
}
.uk-banner-ico svg{width:20px;height:20px}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width:1100px){
  .uk-stops{grid-template-columns:repeat(2,minmax(0,1fr))}
  .uk-panels{grid-template-columns:1fr 1fr}
  /* The price panel holds two cards side by side, so it takes the full row. */
  .uk-panel-prices{grid-column:1/-1}
  .uk-badges{max-width:640px}
}
@media (max-width:760px){
  .uk-hero{min-height:0}
  .uk-collage{grid-template-columns:1fr 1fr}
  .uk-collage img:nth-child(n+3){display:none}
  .uk-title{font-size:clamp(30px,8.4vw,44px)}
  .uk-note{align-self:flex-start}
  .uk-badges{grid-template-columns:1fr 1fr;max-width:420px}
  /* An odd badge count (five) leaves one badge alone on the last row: give it
     the full width so it centres under the pair above instead of sitting in
     the start column. */
  .uk-badges li:last-child:nth-child(odd){grid-column:1/-1;justify-self:center}
  .uk-stops{grid-template-columns:1fr;gap:26px}
  .uk-stop:not(:last-child)::after{
    inset-block-start:auto;
    inset-block-end:-19px;
    inset-inline-start:50%;
    inset-inline-end:auto;
    margin-inline-start:-5px;
    transform:rotate(135deg);
  }
  [dir="rtl"] .uk-stop:not(:last-child)::after{transform:rotate(135deg)}
  .uk-panels{grid-template-columns:1fr}
  .uk-panel-prices{grid-column:auto}
  .uk-prices{grid-template-columns:1fr}
  .uk-banner-inner{flex-direction:column;align-items:flex-start}
  .uk-banner-items{gap:12px 18px;width:100%}
}
@media (max-width:400px){
  .uk-prices{grid-template-columns:1fr}
}
