/* ═══════════════════════════════════════════════
   FLYINGFISH — TRIP DETAIL PAGE
   Brand: Cyan / teal ocean palette · extends styles.css
═══════════════════════════════════════════════ */

/* Offset for the fixed .header-wrap (72px desktop / 60px ≤900px) so the
   breadcrumb + hero title aren't hidden behind it. Matches scroll-padding-top. */
.trip-body { background: var(--bg-soft); padding-top: 72px; }
@media (max-width: 900px) {
  .trip-body { padding-top: 60px; }
}

/* ── Breadcrumbs ─────────────────────────────── */
.trip-crumbs {
  max-width: 1400px; margin: 0 auto; padding: 18px 24px 0;
  font-size: 13px; color: var(--muted);
}
.trip-crumbs a { color: var(--primary); text-decoration: none; }
.trip-crumbs a:hover { text-decoration: underline; }
.trip-crumbs .sep { margin: 0 8px; color: var(--dim); }
.trip-crumbs .current { color: var(--deep); font-weight: 500; }

/* ── Hero (3-col) ────────────────────────────── */
.trip-hero {
  max-width: 1400px; margin: 0 auto; padding: 22px 24px 48px;
}
.trip-hero-inner {
  display: grid; gap: 28px;
  grid-template-columns: 300px minmax(0,1fr) 360px;
  align-items: start;
}

/* Info column */
.trip-info { padding-top: 4px; }
.trip-eyebrow {
  font-family: 'Josefin Sans', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--primary);
  margin-bottom: 10px;
}
.trip-title {
  font-family: 'Josefin Sans', sans-serif; font-size: 30px; font-weight: 700;
  line-height: 1.12; color: var(--deep); margin-bottom: 12px;
}
.trip-rating {
  display: flex; align-items: center; gap: 8px; margin-bottom: 22px;
  font-size: 13px; color: var(--muted);
}
.trip-rating .stars { color: var(--accent); letter-spacing: 1px; }
.trip-rating strong { color: var(--deep); font-weight: 600; }
.trip-specs {
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr; row-gap: 0;
}
.trip-specs .row {
  display: grid; grid-template-columns: 110px 1fr; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.trip-specs dt { color: var(--muted); font-weight: 500; }
.trip-specs dd { color: var(--deep); font-weight: 500; }

.trip-spec-badges {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
.spec-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 100px;
  background: var(--primary-soft); border: 1px solid var(--border);
  font-size: 12px; color: var(--deep); font-weight: 500;
}
.spec-badge i { color: var(--primary); font-size: 11px; }

/* Gallery */
.trip-gallery { min-width: 0; display: flex; flex-direction: column; align-items: center; padding-top: 60px; }
.gallery-main {
  aspect-ratio: 1 / 1;
  width: 100%; max-width: 440px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--primary-soft);
  box-shadow: var(--shadow);
  position: relative;
  transition: box-shadow 0.3s cubic-bezier(.4, 0, .2, 1), transform 0.3s cubic-bezier(.4, 0, .2, 1);
}
.gallery-main img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s cubic-bezier(.4, 0, .2, 1);
}
@media (prefers-reduced-motion: no-preference) {
  .gallery-main:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(6, 182, 212, 0.16), 0 8px 18px rgba(15, 23, 42, 0.08); }
  .gallery-main:hover img { transform: scale(1.05); }
}
.gallery-main .ph {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--bg3) 100%);
  color: var(--deep);
}
.gallery-main .ph i { font-size: 36px; color: var(--primary); opacity: 0.55; }
.gallery-main .ph span { font-size: 13px; font-weight: 500; color: var(--muted); }
.gallery-thumbs {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-top: 14px;
  width: 100%;
}
.gallery-thumbs-row {
  display: flex; gap: 8px;
}
.gallery-arrow {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%; border: 1px solid var(--border-strong);
  background: var(--white); color: var(--deep);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 13px; transition: var(--transition);
}
.gallery-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.gallery-thumb {
  width: 58px; height: 58px; aspect-ratio: 1 / 1;
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  border: 2px solid transparent; transition: var(--transition);
  background: var(--primary-soft); position: relative; flex-shrink: 0;
}
.gallery-thumb.active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(6,182,212,0.18); }
.gallery-thumb:hover { border-color: var(--border-hover); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb .ph-mini {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-soft), var(--bg3));
  color: var(--primary);
}
.gallery-thumb .ph-mini i { font-size: 16px; opacity: 0.55; }

/* Buy-box — chrome glass (frosted white) per designplan §2(a) */
.trip-buy {
  position: sticky; top: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.58) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg); padding: 20px;
  box-shadow: 0 8px 32px rgba(6, 95, 120, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .trip-buy { background: var(--white); border-color: var(--border); box-shadow: var(--shadow); }
}
.buy-price { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--border); }
.buy-price-row { display: flex; align-items: baseline; gap: 10px; }
.buy-srp { font-size: 16px; color: var(--dim); text-decoration: line-through; }
.buy-amount {
  font-family: 'Josefin Sans', sans-serif; font-size: 30px; font-weight: 700;
  color: var(--deep);
}
.buy-sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.buy-save {
  display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600;
  background: var(--green); color: #fff; padding: 3px 10px; border-radius: 100px;
}
.buy-field { margin-bottom: 14px; }
.buy-field label {
  display: block; font-size: 11.5px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 6px;
}
.buy-field select {
  width: 100%; padding: 10px 12px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: var(--white); color: var(--deep); cursor: pointer;
}
.buy-field select:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px var(--primary-soft); }
.buy-stepper {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  overflow: hidden; background: var(--white);
}
.buy-stepper button {
  width: 40px; height: 40px; border: 0; background: var(--primary-soft);
  color: var(--deep); font-size: 20px; font-weight: 600; cursor: pointer;
}
.buy-stepper button:hover { background: var(--primary-light); }
.buy-stepper input {
  flex: 1; border: 0; text-align: center; font-size: 15px; font-weight: 600;
  color: var(--deep); background: transparent; font-family: inherit;
}
.buy-addons { margin: 8px 0 12px; }
.buy-addon {
  display: flex; gap: 10px; padding: 10px; margin-bottom: 6px;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); cursor: pointer; transition: var(--transition);
}
.buy-addon:hover { border-color: var(--border-hover); }
.buy-addon input { margin-top: 2px; accent-color: var(--primary); }
.buy-addon-body { flex: 1; min-width: 0; }
.buy-addon-top { display: flex; justify-content: space-between; gap: 8px; }
.buy-addon-label { font-size: 13px; font-weight: 600; color: var(--deep); }
.buy-addon-price { font-size: 12.5px; font-weight: 600; color: var(--primary); white-space: nowrap; }
.buy-addon-note { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.buy-total {
  padding: 12px; margin-bottom: 12px; background: var(--primary-soft);
  border-radius: var(--radius); display: flex; justify-content: space-between;
  align-items: center; font-size: 14px;
}
.buy-total-label { color: var(--muted); font-weight: 500; }
.buy-total-amount {
  font-family: 'Josefin Sans', sans-serif; font-size: 22px; font-weight: 700;
  color: var(--deep);
}

.buy-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px 16px; border-radius: var(--radius);
  font-family: inherit; font-size: 14.5px; font-weight: 600;
  cursor: pointer; transition: var(--transition); border: 0;
  text-decoration: none; margin-bottom: 8px;
}
.buy-cta-primary {
  /* iDive signature gradient (green → cyan → blue) — designplan §1 */
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.96) 0%, rgba(6, 182, 212, 0.96) 50%, rgba(29, 78, 216, 0.96) 100%); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.30), 0 3px 10px rgba(16, 185, 129, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}
.buy-cta[disabled], .buy-cta-primary[disabled], .m-cta[disabled] {
  opacity: .6; cursor: not-allowed; filter: grayscale(.2); pointer-events: none;
}
.buy-cta-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #0ea371 0%, #0891b2 50%, #1e40af 100%);
  box-shadow: 0 12px 26px rgba(29, 78, 216, 0.42), 0 5px 14px rgba(16, 185, 129, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.buy-cta-secondary {
  background: var(--white); color: var(--deep);
  border: 1px solid var(--border-strong);
}
.buy-cta-secondary:hover { background: var(--primary-soft); border-color: var(--primary); }

.buy-trust { list-style: none; padding: 14px 0 0; border-top: 1px dashed var(--border); margin-top: 8px; }
.buy-trust li {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted); margin-bottom: 6px;
}
.buy-trust i { color: var(--primary); width: 14px; }

/* ── Smart bar ───────────────────────────────── */
/* ── Tabs ──────────────────────────────────── */
.trip-tabs-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  /* Chrome glass sticky bar — designplan §4 */
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  position: sticky; top: 0; z-index: 40;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .trip-tabs-wrap { background: var(--white); }
}
.trip-tabs {
  max-width: 1400px; margin: 0 auto; padding: 12px 24px;
  display: flex; gap: 8px; flex-wrap: wrap;
  overflow-x: auto; scrollbar-width: none;
}
.trip-tabs::-webkit-scrollbar { display: none; }
/* Pill tabs — match the marine-life / destination anchor pills */
.trip-tab {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.3px; text-transform: none;
  color: var(--deep); background: #fff;
  border: 1px solid var(--border-strong, rgba(6, 182, 212, 0.32));
  border-radius: 100px; cursor: pointer;
  white-space: nowrap; transition: all .25s ease;
}
.trip-tab::after { content: none; }
.trip-tab:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.trip-tab.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.96) 0%, rgba(6, 182, 212, 0.96) 50%, rgba(29, 78, 216, 0.96) 100%);
  border-color: rgba(255, 255, 255, 0.28); color: #fff;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.16), 0 2px 6px rgba(16, 185, 129, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
/* When tabs mode active, alternating section backgrounds would look odd — flatten */
.trip-section[data-panel] { background: transparent !important; }

/* ── Section shell ───────────────────────────── */
.trip-section { padding: 48px 24px; }
.trip-section:nth-of-type(even) { background: var(--bg-soft); }
.trip-section .section-wrap { max-width: 1400px; margin: 0 auto; text-align: left; }
.trip-section h2 {
  font-family: 'Josefin Sans', sans-serif; font-size: 26px; font-weight: 700;
  color: var(--deep); margin-bottom: 8px; text-align: left;
}
.trip-section .section-subtitle {
  font-size: 14px; color: var(--muted); margin-bottom: 28px;
  text-align: left; margin-top: 0;
}

/* ── Inclusions ─────────────────────────────── */
.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.inc-col {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
}
.inc-col-head {
  font-family: 'Josefin Sans', sans-serif; font-weight: 600; font-size: 16px;
  color: var(--deep); margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.inc-col-head i { color: var(--green); }
.inc-col-out .inc-col-head i { color: var(--coral); }
.inc-col ul { list-style: none; padding: 0; }
.inc-col li {
  padding: 8px 0; padding-left: 24px; position: relative;
  font-size: 13.5px; color: var(--deep);
  border-bottom: 1px solid var(--border);
}
.inc-col li:last-child { border-bottom: 0; }
.inc-col li::before {
  content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700;
}
.inc-col-out li::before { content: "✕"; color: var(--coral); }

/* ── Course overview (intro + learn + prerequisites) ─── */
#sec-course-overview .co-intro {
  font-size: 15.5px; line-height: 1.7; color: var(--deep);
  max-width: 900px; margin: 4px 0 6px;
}
.co-head {
  font-family: 'Josefin Sans', sans-serif; font-weight: 600; font-size: 17px;
  color: var(--deep); margin: 22px 0 12px;
}
.co-learn, .co-prereq { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px 24px; }
@media (min-width: 720px) { .co-learn, .co-prereq { grid-template-columns: 1fr 1fr; } }
.co-learn li, .co-prereq li {
  position: relative; padding-left: 26px; font-size: 14px; line-height: 1.5; color: var(--deep);
}
.co-learn li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700;
}
.co-prereq li::before {
  content: ""; position: absolute; left: 6px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--coral);
}

/* ── Agency pathway block (inside Overview tab) ─── */
.ff-agency-block h3 {
  font-family: 'Josefin Sans', sans-serif; font-weight: 600; font-size: 18px;
  color: var(--deep); margin: 22px 0 8px;
}
.ff-agency-block p { font-size: 14.5px; line-height: 1.7; color: var(--deep); max-width: 900px; margin: 0 0 6px; }
.ff-agency-switch {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border);
}
.ff-agency-switch-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.ff-agency-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: #fff; text-decoration: none;
  /* Same gradient as the active Overview tab + primary CTA */
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.96) 0%, rgba(6, 182, 212, 0.96) 50%, rgba(29, 78, 216, 0.96) 100%);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: all .2s ease;
}
.ff-agency-pill:hover {
  transform: translateY(-1px); color: #fff;
  background: linear-gradient(135deg, #0ea371 0%, #0891b2 50%, #1e40af 100%);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

/* ── Sightings calendar ─────────────────────── */
.sightings-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; overflow-x: auto; }
.sightings-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.sightings-table th, .sightings-table td {
  padding: 8px 6px; text-align: center; font-size: 12px;
}
.sightings-table thead th {
  color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.6px;
  font-size: 10.5px; padding-bottom: 12px;
}
.sightings-table tbody th {
  text-align: left; padding-right: 16px; font-weight: 500;
  color: var(--deep); white-space: nowrap;
}
.sight-cell {
  width: 36px; height: 28px; border-radius: 4px; display: inline-block;
  background: var(--border);
}
.sight-cell.l1 { background: rgba(148, 163, 184, 0.24); }
.sight-cell.l2 { background: rgba(6, 182, 212, 0.45); }
.sight-cell.l3 { background: var(--primary); }
.sightings-legend {
  display: flex; gap: 16px; align-items: center; margin-top: 16px;
  font-size: 12px; color: var(--muted); flex-wrap: wrap;
}
.leg-dot {
  width: 14px; height: 14px; border-radius: 3px; display: inline-block;
  vertical-align: middle; margin-right: 6px;
}
.leg-dot.l1 { background: rgba(148, 163, 184, 0.24); }
.leg-dot.l2 { background: rgba(6, 182, 212, 0.45); }
.leg-dot.l3 { background: var(--primary); }

/* ── Itinerary timeline ─────────────────────── */
.itinerary { list-style: none; padding: 0; position: relative; }
.itinerary::before {
  content: ""; position: absolute; left: 22px; top: 6px; bottom: 6px;
  width: 2px; background: var(--primary-light);
}
.itin-item { display: flex; gap: 18px; padding: 12px 0; position: relative; }
.itin-day {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  /* Header/active-tab gradient (green → cyan → blue) */
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.96) 0%, rgba(6, 182, 212, 0.96) 50%, rgba(29, 78, 216, 0.96) 100%); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 11px;
  line-height: 1; box-shadow: 0 0 0 4px var(--bg-soft);
}
.itin-day strong { font-size: 16px; display: block; }
.itin-body { flex: 1; padding-top: 4px; }
.itin-title { font-weight: 600; color: var(--deep); margin-bottom: 4px; }
.itin-desc { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ── Dive sites ─────────────────────────────── */
.sites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.site-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px; transition: var(--transition);
}
.site-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: var(--shadow); }
.site-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.site-card-name { font-family: 'Josefin Sans', sans-serif; font-weight: 600; color: var(--deep); font-size: 16px; }
.site-card-chip {
  font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 100px;
  background: var(--primary-soft); color: var(--primary); text-transform: uppercase; letter-spacing: 0.6px;
}
.site-card-depth { font-size: 12px; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.site-card-note { font-size: 13px; color: var(--deep); line-height: 1.45; }

/* ── Partner card ────────────────────────────── */
.partner-card {
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--bg3) 100%);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px;
  display: grid; grid-template-columns: 72px 1fr auto; gap: 20px; align-items: center;
}
.partner-avatar {
  width: 72px; height: 72px; flex-shrink: 0; border-radius: 50%; overflow: hidden;
  background: var(--white); display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 28px; box-shadow: var(--shadow-sm);
}
.partner-avatar img {
  width: 100%; height: 100%; object-fit: contain; padding: 9px;
}
.partner-body h3 {
  font-family: 'Josefin Sans', sans-serif; font-size: 20px; font-weight: 600;
  color: var(--deep); margin-bottom: 4px;
}
.partner-body p { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; line-height: 1.45; }
.partner-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); }
.partner-meta span { display: inline-flex; align-items: center; gap: 5px; }
.partner-meta i { color: var(--primary); }
.partner-badge {
  background: var(--white); color: var(--primary); font-weight: 600;
  padding: 8px 14px; border-radius: 100px; font-size: 12px;
  border: 1px solid var(--border-strong); white-space: nowrap;
}

/* ── Travel forms (flights + stay) ───────────── */
.travel-form {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px;
}
.tf-grid {
  display: grid; gap: 14px; margin-bottom: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.tf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tf-field.tf-wide { grid-column: span 2; }
.tf-field label {
  font-size: 11.5px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.8px;
}
.tf-field label small {
  text-transform: none; letter-spacing: 0; font-size: 11.5px; color: var(--dim); font-weight: 400;
}
.tf-field > small { font-size: 11px; color: var(--dim); }
.tf-field input, .tf-field select {
  width: 100%; max-width: 100%; box-sizing: border-box;
  padding: 10px 12px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: var(--white); color: var(--deep); outline: none;
}
.tf-field input:focus, .tf-field select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft);
}
.travel-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px;
  border-radius: var(--radius); font-size: 14px; font-weight: 600; font-family: inherit;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff; text-decoration: none; border: 0; cursor: pointer;
  transition: var(--transition); box-shadow: 0 4px 14px rgba(6, 182, 212, 0.25);
}
.travel-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(6, 182, 212, 0.38); }
.travel-meta {
  display: flex; flex-wrap: wrap; gap: 24px; margin-top: 20px;
  padding-top: 18px; border-top: 1px dashed var(--border);
}
.travel-fact {
  font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px;
}
.travel-fact i { color: var(--primary); }
.travel-fact strong { color: var(--deep); font-weight: 600; }

@media (max-width: 760px) {
  .tf-grid { grid-template-columns: repeat(2, 1fr); }
  .tf-field.tf-wide { grid-column: span 2; }
  .travel-form { padding: 16px; }
  .travel-btn { width: 100%; justify-content: center; }
}
@media (max-width: 420px) {
  .tf-grid { grid-template-columns: 1fr; gap: 10px; }
  .tf-field.tf-wide { grid-column: span 1; }
}

/* ── Reviews ─────────────────────────────────── */
/* Live TrustIndex widget — left-aligned (under the heading), fills the section
   width, zoomed down 25% so fonts + boxes stay compact. */
.ff-live-reviews { margin: 0; zoom: 0.75; }
.ff-live-reviews .ti-widget { max-width: 100% !important; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.review-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
}
.review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.review-author { font-weight: 600; color: var(--deep); font-size: 14px; }
.review-author small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; }
.review-stars { color: var(--accent); font-size: 12px; letter-spacing: 1.5px; }
.review-text { font-size: 13.5px; color: var(--deep); line-height: 1.55; margin-bottom: 10px; }
.review-foot { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.review-foot .verified { color: var(--green); font-weight: 600; }

/* ── FAQ ─────────────────────────────────────── */
.faq-list { max-width: 820px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  margin-bottom: 10px; overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] { border-color: var(--border-strong); box-shadow: var(--shadow); }
/* Question row (native <summary>) — hide default disclosure triangle */
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 15px 18px; font-weight: 600; color: var(--deep); font-size: 14.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item summary::after {
  content: "＋"; flex-shrink: 0; color: var(--primary); font-size: 20px;
  font-weight: 400; line-height: 1; transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
/* Answer */
.faq-item > p {
  margin: 0; padding: 2px 18px 16px; font-size: 13.5px; color: var(--muted); line-height: 1.65;
}

/* ── Final CTA ───────────────────────────────── */
.trip-final-cta {
  position: relative;
  background:
    linear-gradient(135deg, rgba(12, 63, 83, 0.85) 0%, rgba(8, 145, 178, 0.72) 100%),
    url('https://images.pexels.com/photos/7970768/pexels-photo-7970768.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover no-repeat;
  color: #fff; padding: 80px 24px; text-align: center;
  overflow: hidden;
}
.trip-final-cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at top, rgba(255,255,255,0.08), transparent 60%);
}
.final-cta-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.trip-final-cta h2 {
  font-family: 'Josefin Sans', sans-serif; font-size: 32px; font-weight: 700;
  margin-bottom: 14px; color: #fff; letter-spacing: -0.3px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}
.trip-final-cta p { color: rgba(255,255,255,0.94); margin-bottom: 26px; font-size: 15px; line-height: 1.5; }
.final-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final-cta-buttons .buy-cta { width: auto; min-width: 220px; margin: 0; }
.final-cta-buttons .buy-cta-secondary {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.4);
}
.final-cta-buttons .buy-cta-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ── Booking modal ───────────────────────────── */
.book-modal {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: flex-start; justify-content: center;
  padding: 40px 16px;
}
.book-modal.open { display: flex; }
.book-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.book-panel {
  position: relative; background: var(--white); border-radius: var(--radius-xl);
  max-width: 480px; width: 100%; padding: 28px 28px 20px;
  box-shadow: var(--shadow-xl); max-height: calc(100vh - 80px); overflow-y: auto;
}
.book-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
  border-radius: 50%; background: var(--bg-soft); color: var(--deep);
  border: 1px solid var(--border); font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.book-close:hover { background: var(--primary-soft); color: var(--primary); }

.book-head { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px dashed var(--border); }
.book-eyebrow {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  color: var(--primary); margin-bottom: 6px;
}
.book-panel h3 {
  font-family: 'Josefin Sans', sans-serif; font-size: 20px; font-weight: 700;
  color: var(--deep); margin-bottom: 4px; line-height: 1.2;
}
.book-sub { font-size: 13px; color: var(--muted); }

.book-field { margin-bottom: 12px; }
.book-field label {
  display: block; font-size: 11.5px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 6px;
}
.book-field input {
  width: 100%; padding: 11px 13px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: var(--white); color: var(--deep); outline: none;
}
.book-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }

.book-summary {
  background: var(--primary-soft); border-radius: var(--radius);
  padding: 12px 14px; margin: 16px 0;
}
.bs-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding: 4px 0; }
.bs-row strong { color: var(--deep); font-weight: 600; }
.bs-row.bs-total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 10px; font-size: 14px; color: var(--deep); }
.bs-row.bs-total strong { font-family: 'Josefin Sans', sans-serif; font-size: 17px; font-weight: 700; }

.book-pay { margin-top: 4px; }
.book-err {
  margin-top: 10px; padding: 10px 12px; background: #fef2f2; color: #991b1b;
  border: 1px solid #fecaca; border-radius: var(--radius); font-size: 13px;
}
.book-trust {
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border);
  font-size: 11.5px; color: var(--muted); text-align: center;
}
.book-trust i { color: var(--primary); margin-right: 4px; }

.book-view-success { text-align: center; padding: 20px 0; }
.book-success-icon { font-size: 52px; color: var(--green); margin-bottom: 12px; }
.book-view-success h3 { margin-bottom: 8px; font-size: 22px; }
.book-view-success p { color: var(--muted); font-size: 14px; margin-bottom: 14px; line-height: 1.5; }
.book-success-ref {
  display: inline-block; background: var(--primary-soft); color: var(--deep);
  font-family: 'Josefin Sans', sans-serif; font-weight: 600; font-size: 14px;
  padding: 8px 14px; border-radius: 100px; margin-bottom: 20px;
}
.book-view-success .buy-cta { width: 100%; margin-bottom: 8px; }

/* ── Mobile sticky bar ───────────────────────── */
.trip-mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  /* Chrome glass sticky bar — designplan §2(a) */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.82) 100%);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border-top: 1px solid var(--border-strong);
  padding: 10px 16px; display: none;
  box-shadow: 0 -6px 20px rgba(6, 95, 120, 0.12);
  align-items: center; justify-content: space-between; gap: 12px;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .trip-mobile-bar { background: var(--white); }
}
.trip-mobile-bar .m-price {
  font-family: 'Josefin Sans', sans-serif; font-size: 20px; font-weight: 700; color: var(--deep);
}
.trip-mobile-bar .m-price small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
.trip-mobile-bar .m-cta {
  flex: 1; max-width: 220px;
  padding: 12px; border-radius: var(--radius);
  /* iDive signature gradient — designplan §1 */
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.96) 0%, rgba(6, 182, 212, 0.96) 50%, rgba(29, 78, 216, 0.96) 100%);
  color: #fff; font-weight: 600; font-family: inherit; text-decoration: none; text-align: center; font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22); cursor: pointer;
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.26);
  transition: var(--transition);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.trip-mobile-bar .m-cta:active,
.trip-mobile-bar .m-cta:hover {
  background: linear-gradient(135deg, #0ea371 0%, #0891b2 50%, #1e40af 100%);
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1100px) {
  .trip-hero-inner { grid-template-columns: 1fr; }
  .trip-info { order: 2; }
  .trip-gallery { order: 1; padding-top: 0; }
  .trip-buy { order: 3; position: static; }
  .trip-specs { max-width: 600px; }
}
@media (max-width: 760px) {
  .trip-hero { padding: 14px 16px 32px; }
  .trip-crumbs { padding: 14px 16px 0; font-size: 12px; }
  .trip-title { font-size: 26px; }
  .trip-section { padding: 36px 16px; }
  .trip-section h2 { font-size: 22px; }
  /* Show a thin gradient scroll bar so it's clear the pills scroll horizontally */
  .trip-tabs {
    padding: 10px 16px 12px; flex-wrap: nowrap;
    scrollbar-width: thin;
    scrollbar-color: rgba(6, 182, 212, 0.85) rgba(6, 182, 212, 0.12);
  }
  .trip-tabs::-webkit-scrollbar { display: block; height: 4px; }
  .trip-tabs::-webkit-scrollbar-track { background: rgba(6, 182, 212, 0.12); border-radius: 100px; }
  .trip-tabs::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.96) 0%, rgba(6, 182, 212, 0.96) 50%, rgba(29, 78, 216, 0.96) 100%);
    border-radius: 100px;
  }
  .trip-tab { padding: 7px 13px; font-size: 12px; letter-spacing: 0.3px; }
  .inc-grid, .travel-grid { grid-template-columns: 1fr; gap: 16px; }
  .partner-card { grid-template-columns: 56px 1fr; }
  .partner-card .partner-badge { grid-column: 1 / -1; text-align: center; }
  .trip-mobile-bar { display: flex; }
  body.trip-body { padding-bottom: 80px; }
  .final-cta-buttons .buy-cta { width: 100%; }
  .trip-smart { padding: 0 16px; }
}
@media (max-width: 480px) {
  .trip-smart-links { width: 100%; justify-content: flex-start; margin-left: 0; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--border); }
}

/* ── Reduced-motion safety ───────────────────── */
/* Neutralise the elevate translate/scale micro-interactions for users who
   prefer reduced motion (gradient/shadow colour changes are retained). */
@media (prefers-reduced-motion: reduce) {
  .buy-cta-primary:hover,
  .trip-tab:hover,
  .ff-agency-pill:hover,
  .travel-btn:hover,
  .site-card:hover,
  .gallery-main:hover,
  .gallery-main:hover img,
  .gallery-arrow:hover {
    transform: none;
  }
}
