/* ============================================================
   HÉCTOR & WALKIRIA — 24.10.2026
   styles.css
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:   #0B1420;
  --navy2:  #101C2E;
  --navy3:  #162438;
  --gold:   #C4965A;
  --gold2:  #E8BA7A;
  --cream:  #F5F0E6;
  --ink:    #F0EBE0;
  --muted:  rgba(240,235,224,0.55);
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── PARALLAX BACKGROUND ── */
.bg-parallax {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('../img/fondo.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;      /* parallax nativo */
  filter: brightness(0.18) saturate(0.6);
  will-change: transform;
}

/* ── PERSONAL BANNER ── */
#personal-banner {
  display: none;
  background: rgba(196,150,90,0.15);
  border-bottom: 1px solid rgba(196,150,90,0.3);
  text-align: center;
  padding: 13px 20px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold2);
  animation: fadeDown 0.8s ease both;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero.jpg');
  background-size: cover;
  background-position: center top;
  transform: scale(1.06);
  animation: heroZoom 20s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.00); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(11,20,32,0.05) 0%,
    rgba(11,20,32,0.10) 35%,
    rgba(11,20,32,0.92) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 6vw 8vh;
  animation: fadeUp 1.2s 0.3s both;
}

.hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.hero__names {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 10vw, 104px);
  font-weight: 300;
  line-height: 0.92;
  color: #fff;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.hero__names .amp {
  color: var(--gold);
  font-style: italic;
  display: block;
  font-size: 0.65em;
  margin: 4px 0;
}

.hero__date-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(196,150,90,0.3);
}

.hero__date-bar span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.hero__date-bar .sep { color: var(--gold); font-size: 16px; }

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
  animation: bounce 2.2s infinite;
}

.scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.scroll-hint svg { width: 20px; opacity: 0.35; }

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(7px); }
}

/* ── SECTIONS ── */
.section--dark {
  background: rgba(11,20,32,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(196,150,90,0.12);
  border-bottom: 1px solid rgba(196,150,90,0.12);
  padding: 80px 6vw;
}

.section--light {
  background: rgba(11,20,32,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(196,150,90,0.1);
  padding: 80px 6vw;
}

/* ── SECTION HEADING ── */
.section-eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  text-align: center;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 300;
  text-align: center;
  color: #fff;
  margin-bottom: 8px;
}

.gold-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto 40px;
  opacity: 0.6;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal--left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal--right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.visible,
.reveal--left.visible,
.reveal--right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ── FULL-BLEED PHOTO ── */
.photo-full {
  width: 100%;
  height: 62vh;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}

.photo-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 14s ease;
}

.photo-full:hover img { transform: scale(1.0); }

.photo-full__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11,20,32,0.2), rgba(11,20,32,0.45));
}

.photo-full__caption {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

/* ── HASHTAG / RING ── */
.hashtag-wrap { max-width: 560px; margin: 0 auto; text-align: center; }

.hashtag {
  display: block;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.ring-photo {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(196,150,90,0.2);
  aspect-ratio: 3 / 4;
}

.ring-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── DETAILS GRID ── */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border: 1px solid rgba(196,150,90,0.15);
  border-radius: 4px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.detail-item {
  padding: 32px 28px;
  border-right: 1px solid rgba(196,150,90,0.12);
  border-bottom: 1px solid rgba(196,150,90,0.12);
}

.detail-item:last-child { border-right: none; }

.detail-item h4 {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.detail-item p { font-size: 13px; line-height: 1.9; color: rgba(240,235,224,0.72); }
.detail-item strong { color: rgba(240,235,224,0.95); font-weight: 400; }

/* ── OUTFIT CARDS ── */
.outfits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.outfit-card {
  border: 1px solid rgba(196,150,90,0.15);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(11,20,32,0.6);
}

.outfit-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.outfit-card:hover img { transform: scale(1.03); }

.outfit-card__cap {
  padding: 16px;
  border-top: 1px solid rgba(196,150,90,0.12);
}

.outfit-card__cap h4 {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.outfit-card__cap p { font-size: 12px; color: var(--muted); line-height: 1.7; }

/* ── TIMELINE ── */
.tl-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  max-width: 700px;
  margin: 0 auto;
}

.tl-left  { text-align: right; padding: 0 28px 48px 0; }
.tl-right { padding: 0 0 48px 28px; }

.tl-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--navy);
  border: 1.5px solid var(--gold);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-top: 3px;
}

.tl-dot::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin: 3px auto 0;
}

.tl-line {
  flex: 1;
  width: 1px;
  background: rgba(196,150,90,0.2);
  margin: 4px 0;
}

.tl-year {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.tl-text { font-size: 14px; color: rgba(240,235,224,0.8); line-height: 1.6; }

/* ── HISTORIA PHOTO ── */
.historia-photo {
  max-width: 580px;
  margin: 0 auto 52px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(196,150,90,0.15);
}

.historia-photo img { width: 100%; display: block; object-fit: cover; }

/* ── VENUE ── */
.venue-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}

.venue-card {
  border: 1px solid rgba(196,150,90,0.15);
  border-radius: 4px;
  padding: 20px 24px;
  background: rgba(11,20,32,0.8);
}

.venue-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 300;
  color: #fff;
  margin-bottom: 4px;
}

.venue-card p { font-size: 12px; color: var(--muted); line-height: 1.6; }

.btn-map {
  display: inline-block;
  margin-top: 12px;
  background: transparent;
  border: 1px solid rgba(196,150,90,0.4);
  color: var(--gold);
  padding: 10px 22px;
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-map:hover { background: rgba(196,150,90,0.15); }

/* ── RSVP FORM ── */
.rsvp-max { max-width: 540px; margin: 0 auto; }

.form-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(196,150,90,0.18);
  color: var(--cream);
  padding: 12px 14px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  border-radius: 2px;
  outline: none;
  transition: border 0.2s;
  margin-bottom: 0;
}

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(240,235,224,0.22); }

.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: rgba(196,150,90,0.5); }

.form-select option { background: #101C2E; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.form-field { margin-bottom: 14px; }

.attend-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-attend {
  padding: 12px;
  background: transparent;
  border: 1px solid rgba(196,150,90,0.18);
  color: rgba(240,235,224,0.55);
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}

.btn-attend.active {
  background: rgba(196,150,90,0.2);
  border-color: var(--gold);
  color: var(--gold2);
}

.transport-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(196,150,90,0.15);
  border-radius: 2px;
  background: rgba(196,150,90,0.05);
  cursor: pointer;
  margin-bottom: 14px;
}

.transport-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--gold);
  cursor: pointer;
}

.transport-check p { font-size: 13px; color: rgba(240,235,224,0.75); line-height: 1.5; }
.transport-check span { font-size: 11px; color: var(--muted); display: block; margin-top: 2px; }

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
  margin-top: 6px;
}

.btn-submit:hover  { background: var(--gold2); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.rsvp-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

.rsvp-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 12px;
}

.rsvp-success p { font-size: 14px; color: var(--muted); line-height: 1.8; }

.rsvp-error {
  display: none;
  font-size: 12px;
  color: #F08080;
  text-align: center;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(240,128,128,0.3);
}

/* ── FOOTER ── */
footer {
  background: rgba(8,14,24,0.95);
  padding: 40px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(196,150,90,0.12);
  flex-wrap: wrap;
  gap: 16px;
}

.footer__names {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  color: #fff;
}

.footer__sub {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.btn-footer-rsvp {
  border: 1px solid rgba(196,150,90,0.35);
  color: var(--gold);
  padding: 12px 28px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  background: transparent;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-footer-rsvp:hover { background: rgba(196,150,90,0.12); }

/* ── JARVIS CHATBOT ── */
#jarvis-bubble {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 1000;
  background: rgba(16,28,46,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(196,150,90,0.3);
  border-radius: 12px 12px 4px 12px;
  padding: 11px 15px;
  font-size: 13px;
  color: var(--cream);
  max-width: 210px;
  line-height: 1.5;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  animation: popIn 0.4s ease both;
}

#jarvis-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(196,150,90,0.9);
  border: 2px solid rgba(196,150,90,0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: transform 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

#jarvis-btn:hover { transform: scale(1.08); }

#jarvis-window {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1001;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: rgba(13,22,36,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(196,150,90,0.22);
  border-radius: 16px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  box-shadow: 0 8px 48px rgba(0,0,0,0.7);
  animation: slideUp 0.3s ease both;
}

.jarvis__header {
  background: rgba(8,14,24,0.9);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(196,150,90,0.12);
}

.jarvis__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(196,150,90,0.4);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.jarvis__title h4 { font-size: 14px; font-weight: 400; color: #fff; margin-bottom: 1px; }
.jarvis__title p  { font-size: 11px; color: var(--gold); letter-spacing: 0.06em; }

.jarvis__close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
}

.jarvis__msgs {
  height: 280px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jarvis__msgs::-webkit-scrollbar { width: 3px; }
.jarvis__msgs::-webkit-scrollbar-thumb { background: rgba(196,150,90,0.25); border-radius: 2px; }

.msg {
  max-width: 85%;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
}

.msg--bot  { background: rgba(22,36,56,0.9); color: var(--cream); border-radius: 4px 12px 12px 12px; align-self: flex-start; }
.msg--user { background: rgba(196,150,90,0.2); border: 1px solid rgba(196,150,90,0.3); color: var(--gold2); border-radius: 12px 4px 12px 12px; align-self: flex-end; }
.msg--typing { color: var(--muted); font-style: italic; font-size: 12px; }

.jarvis__suggestions {
  padding: 0 12px 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.sug-btn {
  background: rgba(196,150,90,0.08);
  border: 1px solid rgba(196,150,90,0.22);
  color: var(--gold);
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  transition: background 0.15s;
  white-space: nowrap;
}

.sug-btn:hover { background: rgba(196,150,90,0.18); }

.jarvis__input-row {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(196,150,90,0.1);
}

.jarvis__input-row input {
  flex: 1;
  padding: 9px 13px;
  font-size: 13px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(196,150,90,0.2);
  color: var(--cream);
  outline: none;
  font-family: 'Jost', sans-serif;
}

.jarvis__input-row input::placeholder { color: rgba(240,235,224,0.25); }

.jarvis__send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(196,150,90,0.15);
  border: 1px solid rgba(196,150,90,0.3);
  color: var(--gold);
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}

.jarvis__send:hover { background: rgba(196,150,90,0.3); }

@keyframes popIn {
  from { opacity: 0; transform: scale(0.8) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .form-row,
  .attend-row,
  .venue-pair  { grid-template-columns: 1fr; }
  .outfits-grid { grid-template-columns: 1fr; }
  .tl-left { display: none; }
  .tl-container { grid-template-columns: auto 1fr; }
  .tl-right:empty { display: none; }

  /* Details grid — 2 columnas en móvil, más compacto */
  .details-grid { grid-template-columns: 1fr 1fr; }
  .detail-item { border-right: 1px solid rgba(196,150,90,0.12); padding: 20px 16px; }
  .detail-item:nth-child(2n) { border-right: none; }
  .detail-item h4 { margin-bottom: 8px; }
  .detail-item p { line-height: 1.6; font-size: 12px; }
}

/* ============================================================
   AUDIO BUTTON
   ============================================================ */
#audio-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(11,20,32,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(196,150,90,0.4);
  color: var(--gold);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

#audio-btn:hover {
  background: rgba(196,150,90,0.15);
  transform: scale(1.06);
}

/* ============================================================
   BOARDING PASS
   ============================================================ */
.bp-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 8px 0 24px;
}

.bp {
  width: 100%;
  max-width: 480px;
  background: #FAF7F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1), opacity 0.7s ease;
  color: #1C1410;
}

.bp.bp-animate-in {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Header */
.bp-header {
  background: #0B1420;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bp-airline {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.bp-airline-code {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 400;
  color: #C4965A;
  letter-spacing: 0.05em;
}

.bp-airline-name {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.bp-flight-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(196,150,90,0.35);
  padding: 4px 10px;
  border-radius: 2px;
}

/* Route */
.bp-route {
  display: flex;
  align-items: center;
  padding: 20px 24px 12px;
  gap: 12px;
  background: #FAF7F0;
}

.bp-city {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 56px;
}

.bp-iata {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 300;
  color: #0B1420;
  letter-spacing: 0.04em;
  line-height: 1;
}

.bp-city-name {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888780;
}

.bp-plane {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #C4965A;
}

.bp-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(196,150,90,0.2), rgba(196,150,90,0.6));
}

/* Info grid */
.bp-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 4px 24px 16px;
  background: #FAF7F0;
}

.bp-info-cell {
  padding: 10px 8px;
  border-right: 1px dashed rgba(0,0,0,0.08);
  border-bottom: 1px dashed rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bp-info-cell:nth-child(3),
.bp-info-cell:nth-child(6) { border-right: none; }
.bp-info-cell:nth-child(4),
.bp-info-cell:nth-child(5),
.bp-info-cell:nth-child(6) { border-bottom: none; }

.bp-info-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888780;
}

.bp-info-value {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 400;
  color: #1C1410;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-tbd {
  color: #C4965A;
  font-style: italic;
}

/* Transport badge */
.bp-transport-badge {
  margin: 0 24px 12px;
  background: rgba(196,150,90,0.1);
  border: 1px solid rgba(196,150,90,0.3);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #5C3A1E;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Tear line */
.bp-tear {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  height: 20px;
  background: #FAF7F0;
}

.bp-tear-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0B1420;
  flex-shrink: 0;
  position: absolute;
}

.bp-tear-circle.left  { left: -10px; }
.bp-tear-circle.right { right: -10px; }

.bp-tear-dashes {
  flex: 1;
  margin: 0 14px;
  border-top: 2px dashed rgba(0,0,0,0.12);
}

/* Stub */
.bp-stub {
  background: #F0EAD8;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.bp-stub-left,
.bp-stub-right {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 40px;
}

.bp-stub-label {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888780;
}

.bp-stub-value {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  color: #1C1410;
}

.bp-barcode {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-barcode-svg {
  width: 100%;
  max-width: 180px;
  height: 56px;
  color: #1C1410;
}

/* Message & download button */
.bp-message {
  text-align: center;
  font-size: 15px;
  color: var(--cream);
  line-height: 1.7;
}

.bp-message span { font-size: 12px; color: var(--muted); }

.bp-download-btn {
  background: transparent;
  border: 1px solid rgba(196,150,90,0.4);
  color: var(--gold);
  padding: 11px 28px;
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.bp-download-btn:hover { background: rgba(196,150,90,0.12); }

/* ── JARVIS MOBILE ── */
@media (max-width: 600px) {
  #jarvis-window {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px 20px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }

  .jarvis__msgs {
    height: 220px;
  }

  #jarvis-bubble {
    display: none !important;
  }
}

/* ── TIMELINE MOBILE ── */
.tl-mobile { display: none; }

@media (max-width: 600px) {
  .tl-desktop { display: none; }

  .tl-mobile {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 340px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
  }

  .tl-mobile::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: rgba(196,150,90,0.25);
  }

  .tl-mobile-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 32px;
  }

  .tl-mobile-item:last-child { padding-bottom: 0; }

  .tl-mobile-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    background: var(--navy);
    flex-shrink: 0;
    margin-top: 3px;
    position: relative;
    z-index: 1;
  }

  .tl-mobile-dot::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    margin: 3px auto 0;
  }

  .tl-mobile-content .tl-year {
    text-align: left;
    margin-bottom: 4px;
  }

  .tl-mobile-content .tl-text {
    text-align: left;
  }
}