/* ==========================================================================
   Ingenuity Americas Group — Panama investor program
   Shared stylesheet
   ========================================================================== */

:root {
  --paper:   #E9ECE7;   /* pale limestone */
  --surface: #F4F6F2;   /* raised surface */
  --ink:     #16211F;   /* deep marine-black */
  --marine:  #18413C;   /* canal green */
  --brass:   #9A651F;   /* survey brass */
  --slate:   #5C6A66;   /* secondary text */
  --line:    #C7CEC6;   /* rules */
  --line-sc: #DCE1DA;   /* soft rules */

  /* Panama gold accent — pulled from pollera textiles.
     Use for price, primary CTAs, and headline accents. */
  --gold:        #E8A72C;   /* mango / Panama gold */
  --gold-deep:   #C68714;   /* hover / print-safe */
  --gold-soft:   #FFF4DC;   /* tinted surface */

  --measure: 34rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --maxw: 74rem;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.62;
  font-optical-sizing: auto;
}

h1, h2, h3, h4, .sans, button, input, select, textarea, label, nav, .num {
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.021em; line-height: 1.08; }

p { margin: 0 0 1.05em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: var(--marine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- header ------------------------------------------------------ */

.masthead {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky; top: 0; z-index: 20;
}
.masthead .wrap {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 4.25rem;
}
.mark {
  font-family: "Archivo", sans-serif;
  font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none; line-height: 1.15;
}
.mark span { display: block; font-weight: 500; font-size: 0.7rem; letter-spacing: 0.02em; color: var(--slate); }
.masthead nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.masthead nav a { font-size: 0.875rem; font-weight: 500; color: var(--slate); text-decoration: none; }
.masthead nav a:hover { color: var(--ink); }
@media (max-width: 40rem) { .masthead .navlinks { display: none; } }

/* ---------- buttons ----------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: "Archivo", sans-serif;
  font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.005em;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--marine);
  border-radius: 1px;
  background: var(--marine); color: var(--surface);
  text-decoration: none; cursor: pointer;
  transition: background 120ms ease, color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.btn--ghost { background: transparent; color: var(--marine); }
.btn--ghost:hover { background: var(--marine); color: var(--surface); }
.btn--wide { width: 100%; text-align: center; padding-block: 0.95rem; font-size: 1rem; }
.btn[disabled], .btn[aria-disabled="true"] {
  background: var(--line); border-color: var(--line); color: #7C857F; cursor: not-allowed;
}

/* Primary CTA — gold, used for "Book your seat" moments. */
.btn--gold {
  background: var(--gold); border-color: var(--gold); color: var(--ink);
  font-weight: 700;
  box-shadow: 0 1px 0 var(--gold-deep);
}
.btn--gold:hover {
  background: var(--gold-deep); border-color: var(--gold-deep); color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 3px 0 rgba(22,33,31,.18);
}

/* ---------- hero -------------------------------------------------------- */

.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2rem, 4vw, 3rem); }
.hero h1 {
  font-size: clamp(2.5rem, 7.2vw, 5rem);
  max-width: 16ch;
  margin-bottom: 1.5rem;
}
.hero .standfirst {
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  line-height: 1.5; color: var(--slate); max-width: 44ch;
}
.hero .actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- hero overlay (full-bleed image + text on top) --------------- */

.hero--overlay {
  position: relative;
  min-height: min(78vh, 820px);
  margin-top: -4.25rem;              /* pull up under sticky masthead */
  padding: 0;
  color: var(--surface);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;          /* bias up so seawall doesn't dominate */
  z-index: -2;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(16,22,20,.82) 0%, rgba(16,22,20,.55) 35%, rgba(16,22,20,.12) 70%, rgba(16,22,20,.0) 100%);
  z-index: -1;
}
.hero__inner {
  padding-block: clamp(6rem, 14vw, 9rem) clamp(3rem, 7vw, 5rem);
  max-width: var(--maxw);
}
.hero__eyebrow {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.hero--overlay h1 {
  color: var(--surface);
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  max-width: 18ch;
  margin: 0 0 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.35);
  line-height: 1.05;
}
.hero--overlay h1 .accent { color: var(--gold); }
.hero--overlay .standfirst {
  color: #E4EAE6;
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  max-width: 48ch;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}
.hero--overlay .actions { margin-top: 2rem; }

/* Light "ghost" button variant for use on dark hero backgrounds */
.btn--ghostlight {
  background: transparent;
  color: var(--surface);
  border-color: rgba(244,246,242,.65);
}
.btn--ghostlight:hover {
  background: rgba(244,246,242,.12);
  color: var(--surface);
  border-color: var(--surface);
}

/* Larger primary CTA for the hero only */
.btn--lg {
  padding: 0.95rem 1.75rem;
  font-size: 1.0625rem;
}

/* Masthead over hero: translucent paper background with blur so it looks
   right both over the image AND over the paper body as you scroll.          */
body:has(.hero--overlay) .masthead {
  background: rgba(233, 236, 231, 0.82);        /* --paper at ~82% */
  -webkit-backdrop-filter: saturate(1.1) blur(8px);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom-color: rgba(199, 206, 198, 0.6);
}

@media (max-width: 46rem) {
  .hero--overlay { min-height: 86vh; }
  .hero__bg { object-position: 50% 35%; }
}

/* ---------- fact strip -------------------------------------------------- */

.facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.facts > div { padding: 1.4rem 1.25rem 1.5rem; border-left: 1px solid var(--line-sc); }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font-family: "Archivo", sans-serif; font-size: 0.75rem; font-weight: 500; color: var(--brass); margin-bottom: 0.4rem; }
.facts dd { margin: 0; font-family: "Archivo", sans-serif; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; }
.facts dd small { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--slate); letter-spacing: 0; margin-top: 0.15rem; }
@media (max-width: 52rem) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line-sc); }
}

/* ---------- sections ---------------------------------------------------- */

.section { padding-block: clamp(2rem, 4.5vw, 3.75rem); border-top: 1px solid var(--line-sc); }
.section:first-of-type { border-top: 0; }
.section > .wrap > h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.125rem);
  margin-bottom: 1.1rem; max-width: 22ch;
}
.section .lede { font-size: 1.125rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); }
@media (max-width: 52rem) { .split { grid-template-columns: 1fr; gap: 2rem; } }

.split h3 { font-size: 1.125rem; margin-bottom: 0.85rem; }
.split h3 + * + h3,
.split h2 + * + h3,
.split h3 + h3 { margin-top: 1.5rem; }

/* lede paragraph directly under a section h2 */
.section > .wrap > p + ol.days,
.section > .wrap > .days { margin-top: 0; }
.section > .wrap > h2 + p { color: var(--slate); margin-bottom: 1.25rem; }

/* ---------- itinerary --------------------------------------------------- */

.days { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.days li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 14rem) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-sc);
  align-items: start;
}
.days .num {
  font-size: 2rem; font-weight: 700; color: var(--line);
  letter-spacing: -0.04em; line-height: 1;
}
.days h3 { font-size: 1.0625rem; }
.days p { font-size: 1rem; color: var(--slate); margin: 0; max-width: 52ch; }
@media (max-width: 46rem) {
  .days li { grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem 1.1rem; }
  .days p { grid-column: 2; }
  .days .num { font-size: 1.5rem; padding-top: 0.15rem; }
}

/* ---------- inclusions -------------------------------------------------- */

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: 0.6rem 0 0.6rem 1.5rem; border-bottom: 1px solid var(--line-sc); position: relative; font-size: 1rem; }
.ticks li::before { content: "—"; position: absolute; left: 0; color: var(--brass); }
.ticks--no li::before { content: "×"; color: var(--slate); }

/* ---------- pricing ----------------------------------------------------- */

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  position: relative;
}
.price-card .amount {
  font-family: "Archivo", sans-serif; font-weight: 800;
  font-size: clamp(2.5rem, 5.5vw, 3.5rem); letter-spacing: -0.04em; line-height: 1;
  color: var(--gold-deep);
}
.price-card .amount em { font-style: normal; font-size: 1rem; font-weight: 500; color: var(--slate); display: block; margin-top: 0.5rem; letter-spacing: 0; }
.price-card .ticks { margin: 1.75rem 0; }

/* ---------- faq --------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--line-sc); }
.faq summary {
  font-family: "Archivo", sans-serif; font-weight: 600; font-size: 1.0625rem;
  padding: 1.15rem 2rem 1.15rem 0; cursor: pointer; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 1rem;
  font-weight: 500; font-size: 1.25rem; color: var(--brass);
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 1.35rem; }
.faq .answer p { font-size: 1rem; color: var(--slate); }

/* ---------- disclosure -------------------------------------------------- */

.disclosure {
  background: var(--marine); color: #CFD8D3;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.disclosure h2 { color: var(--surface); font-size: 1.25rem; margin-bottom: 1.25rem; }
.disclosure p { font-size: 0.9375rem; line-height: 1.6; max-width: none; }
.disclosure a { color: #E8C489; }

/* ---------- forms ------------------------------------------------------- */

.formpage { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.formgrid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 56rem) { .formgrid { grid-template-columns: 1fr; } }

fieldset { border: 0; padding: 0; margin: 0 0 2.25rem; }
legend {
  font-family: "Archivo", sans-serif; font-weight: 700; font-size: 1.0625rem;
  padding: 0 0 0.9rem; margin-bottom: 1.1rem; width: 100%;
  border-bottom: 1px solid var(--line);
}
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.4rem; }
.field .hint { font-family: "Archivo", sans-serif; font-size: 0.8125rem; color: var(--slate); margin-top: 0.35rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 34rem) { .row { grid-template-columns: 1fr; gap: 0; } }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font-family: "Archivo", sans-serif; font-size: 1rem;
  padding: 0.7rem 0.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1px; color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--marine); }
textarea { min-height: 7rem; resize: vertical; line-height: 1.5; }

.check { display: grid; grid-template-columns: 1.15rem 1fr; gap: 0.7rem; align-items: start; margin-bottom: 1rem; }
.check input { margin: 0.32rem 0 0; width: 1.15rem; height: 1.15rem; accent-color: var(--marine); }
.check label { font-size: 0.9375rem; font-weight: 400; line-height: 1.5; margin: 0; }

.choices { display: grid; gap: 0.6rem; }
.choice {
  display: grid; grid-template-columns: 1.15rem 1fr; gap: 0.7rem; align-items: start;
  border: 1px solid var(--line); background: var(--surface); padding: 0.85rem 1rem; cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--marine); box-shadow: inset 0 0 0 1px var(--marine); }
.choice input { margin: 0.25rem 0 0; accent-color: var(--marine); }
.choice strong { font-family: "Archivo", sans-serif; font-size: 0.9375rem; display: block; }
.choice span { font-size: 0.875rem; color: var(--slate); }

/* ---------- summary rail ------------------------------------------------ */

.rail { background: var(--surface); border: 1px solid var(--line); padding: 1.5rem; position: sticky; top: 5.5rem; }
.rail h2 { font-size: 1.0625rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.rail dl { margin: 0; font-size: 0.9375rem; }
.rail .line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; }
.rail .line dt { color: var(--slate); }
.rail .line dd { margin: 0; font-family: "Archivo", sans-serif; font-weight: 600; text-align: right; }
.rail .line dd small { display: block; font-weight: 400; font-size: 0.75rem; color: var(--slate); margin-top: 0.1rem; }
.rail .total { border-top: 1px solid var(--line); margin-top: 0.75rem; padding-top: 0.9rem; }
.rail .total dd { font-size: 1.25rem; }
.rail .note { font-family: "Archivo", sans-serif; font-size: 0.8125rem; color: var(--slate); margin-top: 1.1rem; line-height: 1.5; }

/* ---------- integration placeholder ------------------------------------- */

.mount {
  border: 1px dashed var(--brass);
  background: rgba(154, 101, 31, 0.05);
  padding: 1.5rem;
  font-family: "Archivo", sans-serif;
  font-size: 0.875rem; color: var(--slate); line-height: 1.55;
}
.mount strong { display: block; color: var(--brass); font-size: 0.9375rem; margin-bottom: 0.45rem; }
.mount code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8125rem; background: rgba(22,33,31,.07); padding: 0.1em 0.35em; }

/* ---------- steps ------------------------------------------------------- */

.steps { display: flex; gap: 0.5rem; align-items: center; font-family: "Archivo", sans-serif; font-size: 0.8125rem; color: var(--slate); margin-bottom: 2rem; flex-wrap: wrap; }
.steps b { font-weight: 600; color: var(--ink); }
.steps i { font-style: normal; color: var(--line); }

/* ---------- footer ------------------------------------------------------ */

.foot { border-top: 1px solid var(--line); padding-block: 2.5rem 3.5rem; font-size: 0.875rem; color: var(--slate); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: baseline; }
.foot a { color: var(--slate); }
.foot .legal { max-width: 40rem; }

/* ---------- hotel TBD block (homepage) ---------------------------------- */

.hotel-tbd {
  margin-top: 1.75rem;
  padding: 1.25rem 1.4rem;
  background: rgba(154, 101, 31, 0.08);
  border-left: 3px solid var(--brass);
  font-family: "Archivo", sans-serif;
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.55;
}
.hotel-tbd strong {
  display: block;
  color: var(--brass);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

/* ---------- Stripe payment element mount -------------------------------- */

.stripe-mount {
  min-height: 180px;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.stripe-mount-placeholder {
  color: var(--slate);
  font-family: "Archivo", sans-serif;
  font-size: 0.9375rem;
  text-align: center;
  padding: 2rem 1rem;
}

/* ---------- payment error / success ------------------------------------- */

.payment-error {
  color: #B4342C;
  font-family: "Archivo", sans-serif;
  font-size: 0.9375rem;
  margin-top: 1rem;
  min-height: 1.3em;
}

.pretrip-success {
  color: var(--marine);
  font-family: "Archivo", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(24, 65, 60, 0.08);
  border-left: 3px solid var(--marine);
}

/* ---------- confirmation page ------------------------------------------- */

.confirmation {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}
.confirmation-icon {
  width: 4rem; height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--marine);
  color: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
}
.confirmation h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}
.confirmation-sub {
  color: var(--slate);
  font-size: 1.0625rem;
  max-width: 36rem;
  margin: 0 auto 2rem;
}
.confirmation-sub strong {
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  background: var(--surface);
  padding: 0.1em 0.4em;
  border: 1px solid var(--line);
}

.confirmation-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  text-align: left;
  margin-top: 2rem;
}
.confirmation-card dl { margin: 0 0 1.5rem; }
.confirmation-card .line {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line-sc);
  font-size: 0.9375rem;
}
.confirmation-card .line:last-child { border-bottom: 0; }
.confirmation-card .line dt { color: var(--slate); font-family: "Archivo", sans-serif; }
.confirmation-card .line dd {
  margin: 0; font-family: "Archivo", sans-serif;
  font-weight: 600; text-align: right; letter-spacing: -0.01em;
}
.confirmation-note {
  font-size: 0.9375rem;
  color: var(--slate);
  margin-top: 1.5rem;
  line-height: 1.6;
}
.confirmation-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 1.75rem;
}

.confirmation-ach,
.confirmation-error {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: "Archivo", sans-serif;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.confirmation-ach {
  background: rgba(154, 101, 31, 0.08);
  border-left: 3px solid var(--brass);
}
.confirmation-ach strong { color: var(--brass); display: block; margin-bottom: 0.5rem; }
.confirmation-error {
  background: rgba(180, 52, 44, 0.08);
  border-left: 3px solid #B4342C;
}
.confirmation-error strong { color: #B4342C; display: block; margin-bottom: 0.5rem; }

/* ---------- refund policy table ----------------------------------------- */

.refund-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 2rem;
  font-family: "Archivo", sans-serif;
  font-size: 0.9375rem;
}
.refund-table th,
.refund-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line-sc);
}
.refund-table th {
  font-weight: 600;
  background: var(--surface);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.refund-table td strong { color: var(--marine); }

/* ---------- misc headings in legal pages -------------------------------- */

.formpage h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

/* ---------- image slot (dev placeholder → real image) --------------------
   Usage:
     <figure class="img-slot img-slot--hero" data-slot="hero-skyline">
       <img src="" alt="Panama City skyline at dusk from the Amador Causeway">
       <figcaption class="slot-brief">
         <strong>Hero: Panama City skyline</strong>
         <span>Subject: Panama City skyline from Amador Causeway or Cinta Costera.</span>
         <span>Source: Unsplash/Pexels search "Panama City skyline" or Wikimedia Commons.</span>
         <span>Required: 2400&times;1000, horizontal, dusk preferred.</span>
         <span>Filename: images/hero-panama-city-skyline.jpg</span>
       </figcaption>
     </figure>

   When <img src> is populated, the brief hides automatically.           */

.img-slot {
  margin: 0;
  position: relative;
  background: var(--gold-soft);
  border: 2px dashed var(--gold);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  min-height: 180px;
}
.img-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* When no src is set, hide the broken image and show the brief. */
.img-slot img[src=""],
.img-slot img:not([src]) {
  display: none;
}
.img-slot:has(img[src=""]) .slot-brief,
.img-slot:has(img:not([src])) .slot-brief {
  display: block;
}
.img-slot:has(img[src]:not([src=""])) {
  background: transparent;
  border: 1px solid var(--line);
}
.img-slot:has(img[src]:not([src=""])) .slot-brief {
  display: none;
}

.slot-brief {
  display: block;
  padding: 1.25rem 1.5rem;
  font-family: "Archivo", sans-serif;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink);
  text-align: left;
  max-width: 42rem;
}
.slot-brief strong {
  display: block;
  font-size: 0.875rem;
  color: var(--gold-deep);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.slot-brief span {
  display: block;
  color: var(--slate);
  margin-bottom: 0.3rem;
}

/* Slot size variants ---------------------------------------------------- */

.img-slot--hero       { aspect-ratio: 12 / 5;  min-height: 320px; }
.img-slot--band       { aspect-ratio: 16 / 6;  min-height: 240px; }
.img-slot--square     { aspect-ratio: 1 / 1;   min-height: 200px; }
.img-slot--portrait   { aspect-ratio: 3 / 4;   min-height: 220px; }
.img-slot--thumb      { aspect-ratio: 4 / 3;   min-height: 140px; }

/* Per-day itinerary thumbnail — image on the right of the day row.
   Base .days li grid is `4.5rem 14rem 1fr` for num / heading / paragraph.
   For .has-media we shrink the paragraph column and give the image its own. */
@media (min-width: 46rem) {
  .days li.has-media {
    grid-template-columns: 4.5rem minmax(0, 13rem) minmax(0, 1fr) 14rem;
  }
  .days li.has-media .img-slot {
    grid-column: 4;
    grid-row: 1 / span 2;
    align-self: start;
  }
}
@media (max-width: 46rem) {
  .days li.has-media .img-slot { grid-column: 1 / -1; margin-top: 0.75rem; }
}

/* Hotel showcase — two large side-by-side cards (image + label stacked). */
.hotel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
@media (max-width: 46rem) {
  .hotel-grid { grid-template-columns: 1fr; }
}
.hotel-card { display: flex; flex-direction: column; gap: 0.75rem; }
.hotel-card .img-slot { margin: 0; }
.hotel-label {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--marine);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
  max-width: none;
}
.hotel-label span {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--slate);
  display: inline;
}

/* ---------- "pop" callout ribbon on the price card -------------------- */

.price-card .ribbon {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  margin-bottom: 0.9rem;
}

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