.poster-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 14px 16px;
  color: #fff;
  background: linear-gradient(90deg, rgba(3, 32, 52, 0.78), rgba(14, 116, 144, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

@keyframes posterFloat {
  from {
    transform: translateY(0) rotate(-0.2deg);
  }
  to {
    transform: translateY(-8px) rotate(0.4deg);
  }
}

@keyframes posterImageDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

@keyframes ticketFloat {
  from {
    transform: translateY(0) rotate(6deg);
  }
  to {
    transform: translateY(-7px) rotate(4deg);
  }
}

.poster-caption strong,
.poster-caption span {
  display: block;
}

.poster-caption strong {
  font-size: 16px;
}

.poster-caption span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.hero-destination-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(980px, 100%);
  margin-top: 22px;
  max-width: none;
}

.hero-destination-rail button {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  background: #0f172a;
  border: 1px solid rgba(255, 237, 181, 0.48);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(2, 6, 23, 0.28);
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-destination-rail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.hero-destination-rail button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 6%, rgba(2, 6, 23, 0.18) 34%, rgba(2, 6, 23, 0.82));
}

.hero-destination-rail button:hover img {
  transform: scale(1.05);
}

.hero-destination-rail button:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 58px rgba(2, 6, 23, 0.35);
}

.hero-destination-rail span,
.hero-destination-rail small {
  position: relative;
  z-index: 1;
  display: block;
  margin-left: 12px;
}

.hero-destination-rail span {
  margin-top: 108px;
  color: #fff;
  font-size: 24px;
  font-weight: 920;
}

.hero-destination-rail small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 760;
}

.hero-inclusions {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  width: min(980px, 100%);
  max-width: none;
  margin-top: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-inclusions span {
  display: grid;
  min-height: 34px;
  place-items: center;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.88);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 820;
  text-align: center;
}

.hero-inclusions span:last-child {
  border-right: 0;
}

.trip-builder {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  padding: 12px;
  color: #0f172a;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(242, 252, 255, 0.92)),
    #fff;
  border: 1px solid rgba(255, 236, 179, 0.72);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(2, 22, 35, 0.3);
  backdrop-filter: blur(24px);
}

.trip-builder::before,
.trip-builder::after {
  position: absolute;
  top: 48px;
  width: 18px;
  height: 18px;
  content: "";
  background: rgba(5, 87, 96, 0.42);
  border-radius: 50%;
}

.trip-builder::before {
  left: -12px;
}

.trip-builder::after {
  right: -12px;
}

.trip-prompt {
  display: grid;
  gap: 6px;
}

.trip-prompt span,
.trip-builder-grid label {
  color: #334155;
  font-size: 12px;
  font-weight: 880;
}

.trip-prompt textarea {
  min-height: 58px;
  width: 100%;
  resize: vertical;
  padding: 12px 14px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(14, 116, 144, 0.16);
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.5;
  outline: none;
}

.trip-builder-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.65fr 0.9fr;
  gap: 8px;
  margin-top: 8px;
}

.trip-builder-grid label {
  display: grid;
  gap: 6px;
}

.trip-builder-grid input {
  min-height: 36px;
  width: 100%;
  padding: 8px 10px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(14, 116, 144, 0.14);
  border-radius: 8px;
  outline: none;
}

.trip-style-row,
.trip-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.trip-style-row button {
  min-height: 28px;
  padding: 0 10px;
  color: #075985;
  background: #e9fbff;
  border: 1px solid rgba(14, 165, 233, 0.32);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 860;
}

.trip-builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  justify-content: center;
}

.trip-builder-actions .home-button.light {
  color: #0f3f46;
  background: #fff8e6;
  border-color: rgba(246, 166, 35, 0.22);
}

.trip-examples {
  display: none;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.trip-examples button {
  flex: 1 1 250px;
  min-height: 38px;
  padding: 10px 12px;
  color: #334155;
  text-align: left;
  background: rgba(248, 250, 252, 0.82);
  border: 1px solid rgba(14, 116, 144, 0.12);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.35;
}

.travel-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.home-button.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.home-text-link {
  color: #0f172a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
}

.travel-search {
  width: min(1120px, 100%);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(16px);
}

.search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.search-tabs button {
  min-height: 36px;
  padding: 0 14px;
  color: #475569;
  background: transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
}

.search-tabs button.active {
  color: #fff;
  background: #0f766e;
}

.search-fields {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 0.75fr 0.9fr auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
}

.search-fields label,
.home-request-card label {
  color: #334155;
}

.search-fields label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 850;
}

.search-fields input {
  min-height: 42px;
  width: 100%;
  padding: 10px 11px;
  color: #0f172a;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  outline: none;
}

.trip-brief-section,
.ai-plan-section,
.trip-canvas-section,
.budget-section,
.difference-section {
  scroll-margin-top: 88px;
}

.trip-brief-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.trip-brief-grid article {
  min-height: 112px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 38px rgba(15, 23, 42, 0.05);
}

.trip-brief-grid span,
.ai-plan-top span,
.trip-timeline article > span,
.budget-row em {
  color: #64748b;
  font-size: 12px;
  font-weight: 860;
}

.trip-brief-grid strong {
  display: block;
  margin-top: 12px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.2;
}

.ai-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ai-plan-card {
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.06);
}

.ai-plan-card.featured {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(14, 116, 144, 0.92)),
    url("https://images.unsplash.com/photo-1528127269322-539801943592?auto=format&fit=crop&w=1100&q=84") center/cover;
  border-color: rgba(255, 255, 255, 0.32);
}

.ai-plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ai-plan-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 26px;
}

.ai-plan-card.featured h3,
.ai-plan-card.featured > strong {
  color: #fff;
}

.ai-plan-card > strong {
  display: block;
  margin-top: 18px;
  color: #0f766e;
  font-size: 34px;
  line-height: 1;
}

.ai-plan-card p {
  min-height: 72px;
  margin: 14px 0 0;
  color: #64748b;
  line-height: 1.55;
}

.ai-plan-card.featured p,
.ai-plan-card.featured li,
.ai-plan-card.featured .ai-plan-top span {
  color: rgba(255, 255, 255, 0.82);
}

.ai-plan-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.ai-plan-card li {
  color: #334155;
  font-size: 14px;
}

.ai-plan-card li::before {
  color: #0f766e;
  content: "✓ ";
  font-weight: 900;
}

.ai-plan-card.featured li::before {
  color: #facc15;
}

.ai-plan-card button {
  min-height: 40px;
  width: 100%;
  color: #fff;
  background: #0f172a;
  border-radius: 8px;
  font-weight: 860;
}

.ai-plan-card.featured button {
  color: #0f172a;
  background: #fff;
}

.trip-canvas-section,
.budget-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: start;
}

.trip-canvas-copy h2,
.budget-section h2,
.difference-section h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.03;
}

.trip-canvas-copy p,
.budget-section p {
  color: #64748b;
  line-height: 1.65;
}

.trip-timeline {
  display: grid;
  gap: 10px;
}

.trip-timeline article {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
}

.trip-timeline h3 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
}

.trip-timeline p {
  margin: 6px 0 0;
  color: #64748b;
  line-height: 1.5;
}

.trip-timeline strong {
  color: #0f766e;
  white-space: nowrap;
}

.budget-board {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.06);
}

.budget-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) 1fr 48px;
  gap: 12px;
  align-items: center;
}

.budget-row strong,
.budget-row span {
  display: block;
}

.budget-row strong {
  color: #0f172a;
}

.budget-row span {
  margin-top: 3px;
  color: #64748b;
  font-size: 13px;
}

.budget-track {
  height: 10px;
  overflow: hidden;
  background: #e2e8f0;
  border-radius: 999px;
}

.budget-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0f766e, #f6a623);
  border-radius: inherit;
}

.difference-table {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
}

