:root {
  --bg-0: #0a0807;
  --bg-1: #14100d;
  --bg-2: #1f1813;
  --bg-3: #2a2118;
  --ink: #f4ecd8;
  --ink-dim: #c4b69a;
  --ink-mute: #8a7d65;
  --gold: #d4a73e;
  --gold-bright: #f0c14b;
  --gold-deep: #8a6822;
  --rust: #b85420;
  --foam: #f9efd2;
  --glass: rgba(244, 236, 216, 0.04);
  --glass-line: rgba(212, 167, 62, 0.18);
  --gold-line: rgba(212, 167, 62, 0.4);
  --radius: 4px;
  --maxw: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background: var(--bg-0);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Atmospheric warm background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(212, 167, 62, 0.12), transparent 60%),
    radial-gradient(ellipse at 90% 80%, rgba(184, 84, 32, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 50%, var(--bg-0));
  z-index: -2;
  pointer-events: none;
}

/* Paper / film grain texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch' seed='3'/><feColorMatrix values='0 0 0 0 0.96  0 0 0 0 0.92  0 0 0 0 0.84  0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(10, 8, 7, 0.78);
  border-bottom: 1px solid var(--glass-line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav-brand {
  font-family: 'Anton', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.nav-brand .roman {
  color: var(--gold);
  font-weight: 400;
}
.nav-brand .sep { color: var(--gold-deep); font-size: 0.7em; }
.nav-links { display: flex; gap: 1.4rem; }
.nav-links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}
@media (max-width: 540px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.72rem; letter-spacing: 0.08em; }
  .nav-brand { font-size: 1.05rem; }
}

/* === HERO === */
.hero {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 1.25rem 3rem;
  position: relative;
}
.hero-eyebrow {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
  font-weight: 700;
  animation: fadeUp 0.8s 0.1s both;
}
.hero-eyebrow .star { color: var(--gold-bright); margin: 0 0.5em; }

.hero-badge {
  width: min(48vw, 200px);
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 30px rgba(212, 167, 62, 0.15));
  animation: fadeUp 0.9s 0.15s both, badgeFloat 6s ease-in-out infinite 1s;
}
.hero-badge img { width: 100%; height: auto; display: block; }

/* SVG fallback badge for when no logo image is present */
.hero-badge-fallback {
  width: min(78vw, 340px);
  aspect-ratio: 1;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, var(--foam) 0% 38%, var(--bg-0) 38.5% 100%);
  border: 4px double var(--gold);
  box-shadow: 0 0 0 8px var(--bg-0), 0 0 0 10px var(--gold-deep), 0 20px 60px rgba(212, 167, 62, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeUp 0.9s 0.15s both, badgeFloat 6s ease-in-out infinite 1s;
}
.hero-badge-fallback .fb-roman {
  font-family: 'Anton', sans-serif;
  font-size: clamp(3.5rem, 12vw, 6rem);
  color: var(--bg-0);
  line-height: 0.85;
  letter-spacing: 0.05em;
  margin-top: -0.5rem;
}
.hero-badge-fallback .fb-crew {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 7vw, 3.4rem);
  color: var(--ink);
  letter-spacing: 0.08em;
  margin-top: 0.4rem;
}
.hero-badge-fallback .fb-since {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-top: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
}
.hero-badge-fallback .fb-mallorca {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.1rem, 3.5vw, 1.6rem);
  color: var(--ink);
  letter-spacing: 0.2em;
  margin-top: 0.6rem;
  border-top: 1px solid var(--gold-deep);
  padding-top: 0.6rem;
  width: 60%;
  text-align: center;
}

.hero-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 0.6rem;
  animation: fadeUp 0.8s 0.3s both;
}
.hero-title .accent {
  color: var(--gold-bright);
  font-style: italic;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
}

.hero-dates {
  font-family: 'Anton', sans-serif;
  font-size: clamp(0.95rem, 2.3vw, 1.25rem);
  color: var(--ink-dim);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.4s both;
}
.hero-dates .dot { color: var(--gold); margin: 0 0.6rem; }

.countdown {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.5s both;
}
.cd-cell {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--glass-line);
  border-top: 1px solid var(--gold-line);
  border-radius: 2px;
  padding: 0.85rem 1.05rem;
  min-width: 76px;
  position: relative;
}
.cd-cell::before, .cd-cell::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--gold);
  top: -1px;
}
.cd-cell::before { left: -1px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.cd-cell::after { right: -1px; clip-path: polygon(100% 0, 0 0, 100% 100%); }
.cd-num {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.cd-lbl {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.4rem;
  font-weight: 700;
}
.cd-cell.countdown-done .cd-num { color: var(--gold-bright); }

.cta-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.8s 0.6s both;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-style: normal;
}
.btn-primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--bg-0);
  box-shadow: 0 6px 24px rgba(212, 167, 62, 0.28), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(212, 167, 62, 0.45), inset 0 -2px 0 rgba(0, 0, 0, 0.12); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--gold-line);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(212, 167, 62, 0.08); border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }

/* === ORNAMENTAL DIVIDER === */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin: 2rem auto;
  max-width: 360px;
  color: var(--gold);
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-deep), var(--gold-deep), transparent);
}
.divider .ornament {
  font-size: 0.8rem;
  letter-spacing: 0.4em;
}

/* === SECTIONS === */
.section {
  padding: 4rem 0;
  position: relative;
}
.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
  font-weight: 700;
}
.section-eyebrow::before { content: '✦ '; color: var(--gold-bright); }
.section-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  line-height: 1.05;
}
.section-sub {
  color: var(--ink-dim);
  font-size: 1.02rem;
  max-width: 56ch;
  margin-bottom: 2.2rem;
}

/* === CARDS === */
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-deep), transparent);
  opacity: 0.6;
  transition: opacity 0.3s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-line);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  box-shadow: 0 10px 30px rgba(212, 167, 62, 0.1);
}
.card:hover::before { opacity: 1; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  display: block;
}
.card-title {
  font-family: 'Anton', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.card-text { color: var(--ink-dim); font-size: 0.93rem; }

/* === CREW === */
.crew {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 760px) {
  .crew { grid-template-columns: 0.85fr 1fr; }
}
.crew-photo {
  aspect-ratio: 4/3;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(212, 167, 62, 0.1), rgba(184, 84, 32, 0.1)),
    var(--bg-2);
  border: 1px solid var(--glass-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
  font-size: 0.95rem;
  text-align: center;
  padding: 1rem;
  overflow: hidden;
  position: relative;
}
.crew-photo::before, .crew-photo::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gold);
}
.crew-photo::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.crew-photo::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.crew-photo img { width: 100%; height: 100%; object-fit: cover; }
.crew-names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}
.name-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  background: rgba(212, 167, 62, 0.06);
  border: 1px solid var(--glass-line);
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  font-family: 'Anton', sans-serif;
}
.name-chip::before {
  content: '★';
  color: var(--gold);
  font-size: 0.8em;
}

/* === FLIGHT / TRIP PAGE === */
.page-head {
  padding: 3.5rem 0 1rem;
  text-align: center;
}
.page-head .section-title { margin-bottom: 0.4rem; }
.page-head .section-sub { margin: 0 auto 1rem; }

/* Trip page hero banner (full-width villa image) */
.trip-hero {
  position: relative;
  width: 100%;
  height: clamp(280px, 50vh, 480px);
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: 1px solid var(--gold-line);
}
.trip-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 7, 0.35) 0%, rgba(10, 8, 7, 0.15) 40%, rgba(10, 8, 7, 0.85) 100%);
  pointer-events: none;
}
.trip-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.trip-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.8rem;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
}
.trip-hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.trip-hero-eyebrow::before { content: '✦ '; color: var(--gold-bright); }
.trip-hero h1 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.05;
  margin: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}
.trip-hero h1 .accent { color: var(--gold-bright); }
.trip-hero-loc {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--foam);
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.trip-hero-loc::before { content: '📍 '; }

/* Villa hero */
.villa-hero {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  position: relative;
}
.villa-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 30%, #f0c14b 0%, #d4a73e 8%, transparent 22%),
    linear-gradient(180deg, #2c1f15 0%, #14100d 70%, #0a0807 100%);
}
.villa-photo svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
}
.villa-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.villa-photo .photo-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(10, 8, 7, 0.7);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.villa-body {
  padding: 1.8rem;
}
.villa-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.villa-loc {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.villa-loc::before { content: '📍 '; }

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 1rem 0;
  border-top: 1px solid var(--glass-line);
  border-bottom: 1px solid var(--glass-line);
  margin-bottom: 1.4rem;
}
.stat {
  flex: 1 1 auto;
  min-width: 110px;
  text-align: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--glass-line);
}
.stat:last-child { border-right: 0; }
.stat-val {
  font-family: 'Anton', sans-serif;
  font-size: 1.4rem;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  line-height: 1;
}
.stat-lbl {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 0.3rem;
  font-weight: 700;
}

.dates-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(212, 167, 62, 0.05);
  border: 1px solid var(--glass-line);
  padding: 0.9rem 1.2rem;
  border-radius: 2px;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.dates-strip .col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.dates-strip .col-lbl {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.dates-strip .col-val {
  font-family: 'Anton', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.dates-strip .arrow {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 100;
}
.dates-strip .nights {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  text-transform: uppercase;
  font-weight: 700;
}

.villa-desc {
  color: var(--ink-dim);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}
.amenity {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  background: rgba(244, 236, 216, 0.03);
  border: 1px solid var(--glass-line);
  border-radius: 2px;
  font-size: 0.78rem;
  color: var(--ink-dim);
  font-weight: 500;
}
.amenity .em { color: var(--gold-bright); }

.villa-extras {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--ink-dim);
}
@media (min-width: 520px) {
  .villa-extras { grid-template-columns: 1fr 1fr; }
}
.villa-extras .x-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--glass-line);
}
.villa-extras .x-row dt {
  color: var(--ink-mute);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.villa-extras .x-row dd { color: var(--ink); font-weight: 600; text-align: right; }
.villa-extras a { color: var(--gold-bright); text-decoration: none; border-bottom: 1px dotted var(--gold-deep); }
.villa-extras a:hover { color: var(--foam); border-bottom-color: var(--gold-bright); }

.map-wrap {
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1.4rem;
}
.map-wrap iframe { width: 100%; height: 320px; display: block; border: 0; filter: grayscale(0.3) brightness(0.85) contrast(1.1) sepia(0.15); }

/* === FLIGHT TIMELINE === */
.timeline {
  position: relative;
  padding-left: 0;
}
@media (min-width: 720px) {
  .timeline::before {
    content: '';
    position: absolute;
    left: 1.2rem;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 2px;
    background: repeating-linear-gradient(180deg, var(--gold-deep) 0 8px, transparent 8px 16px);
  }
}
.tl-item {
  position: relative;
  padding-left: 0;
  margin-bottom: 1.25rem;
}
@media (min-width: 720px) {
  .tl-item { padding-left: 3.2rem; }
  .tl-item::before {
    content: '';
    position: absolute;
    left: 0.7rem;
    top: 1.8rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--bg-0);
    border: 3px solid var(--gold);
    box-shadow: 0 0 0 4px var(--bg-0);
    z-index: 1;
  }
  .tl-item.is-stay::before { background: var(--gold); border-color: var(--foam); }
}

/* Flight card */
.flight {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  position: relative;
  overflow: hidden;
}
.flight::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep));
}
.flight-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.flight-date {
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.flight-tag {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212, 167, 62, 0.1);
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--gold-line);
  border-radius: 2px;
  font-weight: 700;
}
.flight-tag.is-stay {
  color: var(--foam);
  background: rgba(212, 167, 62, 0.18);
  border-color: var(--gold);
}

.flight-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem 0 1rem;
}
.flight-route .end { text-align: center; }
.flight-route .end.right { text-align: center; }
.flight-route .iata {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  line-height: 1;
}
.flight-route .time {
  font-family: 'Anton', sans-serif;
  font-size: 1.15rem;
  color: var(--ink);
  margin-top: 0.3rem;
  font-variant-numeric: tabular-nums;
}
.flight-route .city {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 0.3rem;
  font-weight: 700;
}
.flight-route .mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 80px;
}
.flight-route .mid .dur {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.flight-route .mid .line {
  width: 100%;
  height: 24px;
  position: relative;
}
.flight-route .mid .line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold-deep) 0 6px, transparent 6px 11px);
}
.flight-route .mid .line .plane {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--gold-bright);
  font-size: 1.4rem;
  background: var(--bg-1);
  padding: 0 0.4rem;
}

.flight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  font-size: 0.83rem;
  color: var(--ink-dim);
  padding: 0.9rem 0;
  border-top: 1px solid var(--glass-line);
  border-bottom: 1px solid var(--glass-line);
}
.flight-meta .m { display: flex; align-items: center; gap: 0.4rem; }
.flight-meta .m strong { color: var(--ink); font-weight: 700; }
.flight-meta .m .k {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.flight-pax {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
  align-items: center;
}
.flight-pax .pax-lbl {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
  margin-right: 0.3rem;
}
.flight-pax .name-chip {
  padding: 0.32rem 0.7rem;
  font-size: 0.75rem;
}

.flight-note {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--ink-dim);
  font-style: italic;
}

/* Stay marker (between flights) */
.stay {
  background: rgba(212, 167, 62, 0.05);
  border: 1px dashed var(--gold-line);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.stay-title {
  font-family: 'Anton', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.stay-meta {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
}

/* === PACKLIST === */
.user-picker {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1rem;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
}
.user-picker-label {
  width: 100%;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.user-btn {
  flex: 1 1 auto;
  min-width: 90px;
  padding: 0.7rem 1rem;
  background: transparent;
  border: 1px solid var(--glass-line);
  border-radius: 2px;
  color: var(--ink-dim);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Anton', sans-serif;
}
.user-btn:hover { background: rgba(212, 167, 62, 0.06); color: var(--gold-bright); border-color: var(--gold-line); }
.user-btn.active {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--bg-0);
  border-color: var(--gold);
}

.progress-wrap {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin-bottom: 2rem;
  display: none;
}
.progress-wrap.active { display: block; }
.progress-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.7rem;
}
.progress-head .who {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.progress-head .pct {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.progress-bar {
  height: 6px;
  background: rgba(244, 236, 216, 0.05);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-bright));
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(.2,.8,.2,1);
  width: 0%;
}
.progress-reset {
  margin-top: 0.7rem;
  background: none;
  border: none;
  color: var(--ink-mute);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
}
.progress-reset:hover { color: var(--gold-bright); }

.checklist-empty {
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--ink-mute);
  font-size: 1.05rem;
}
.checklist-empty .big { font-size: 3rem; margin-bottom: 1rem; display: block; }

.category {
  margin-bottom: 1.2rem;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cat-head {
  padding: 0.9rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(212, 167, 62, 0.05);
  border-bottom: 1px solid var(--glass-line);
}
.cat-head h3 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
}
.cat-head .cat-count {
  font-family: 'Anton', sans-serif;
  font-size: 0.85rem;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.cat-items {
  list-style: none;
  padding: 0.4rem 0;
}
.cat-items li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
}
.cat-items li:hover { background: rgba(212, 167, 62, 0.04); }
.cat-items li.done .item-label { text-decoration: line-through; color: var(--ink-mute); }
.cat-items li.done .checkbox { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); border-color: var(--gold); }
.cat-items li.done .checkbox::after { opacity: 1; transform: scale(1) rotate(45deg); }
.checkbox {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  border: 1.5px solid var(--gold-line);
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
}
.checkbox::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid var(--bg-0);
  border-width: 0 2px 2px 0;
  transform: scale(0) rotate(45deg);
  opacity: 0;
  transition: all 0.2s;
}
.item-label { font-size: 0.95rem; flex: 1; }
.item-note {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212, 167, 62, 0.08);
  padding: 0.15rem 0.55rem;
  border-radius: 2px;
  font-weight: 700;
  border: 1px solid var(--gold-line);
}

/* === SPOTIFY === */
.spotify-wrap {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}
.spotify-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #1db954, var(--gold), #1db954);
  opacity: 0.5;
}
.spotify-wrap iframe { display: block; width: 100%; border-radius: 2px; }

/* === CAROUSEL === */
.carousel {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  user-select: none;
}
.carousel-frame {
  position: relative;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.6rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 167, 62, 0.05);
}
.carousel-frame::before, .carousel-frame::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
  pointer-events: none;
}
.carousel-frame::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.carousel-frame::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

.carousel-stage {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: #000;
  aspect-ratio: 4 / 3;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(.55, .05, .25, 1);
  will-change: transform;
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  pointer-events: none;
  z-index: 2;
}
.carousel-caption .ribbon {
  background: rgba(10, 8, 7, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-line);
  padding: 0.45rem 0.85rem;
  font-family: 'Anton', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border-radius: 2px;
}
.carousel-caption .counter {
  background: rgba(10, 8, 7, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-line);
  padding: 0.45rem 0.85rem;
  font-family: 'Anton', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--ink);
  border-radius: 2px;
  font-variant-numeric: tabular-nums;
}
.carousel-caption .counter .sep { color: var(--gold); margin: 0 0.3em; }

/* Navigation arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(10, 8, 7, 0.72);
  border: 1px solid var(--gold-line);
  color: var(--gold-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.2rem;
  font-family: 'Anton', sans-serif;
  z-index: 3;
  backdrop-filter: blur(8px);
}
.carousel-nav:hover {
  background: var(--gold);
  color: var(--bg-0);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.06);
}
.carousel-nav.prev { left: 1.5rem; }
.carousel-nav.next { right: 1.5rem; }
@media (max-width: 540px) {
  .carousel-nav { width: 38px; height: 38px; }
  .carousel-nav.prev { left: 1.1rem; }
  .carousel-nav.next { right: 1.1rem; }
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.carousel-dot {
  width: 14px;
  height: 4px;
  border-radius: 2px;
  background: rgba(212, 167, 62, 0.18);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
}
.carousel-dot:hover { background: rgba(212, 167, 62, 0.45); }
.carousel-dot.active {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(212, 167, 62, 0.4);
  width: 26px;
}

/* Thumbnail strip */
.carousel-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 1.2rem 0 0;
  max-width: 880px;
  margin: 0 auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) transparent;
}
.carousel-thumbs::-webkit-scrollbar { height: 6px; }
.carousel-thumbs::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 3px; }
.carousel-thumb {
  flex: 0 0 90px;
  height: 64px;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.55;
  transition: all 0.2s;
  background: #000;
  padding: 0;
}
.carousel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-thumb:hover { opacity: 0.85; }
.carousel-thumb.active {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212, 167, 62, 0.3);
}

/* === AUTH OVERLAY === */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.3s ease;
}
.auth-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 167, 62, 0.14), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(184, 84, 32, 0.06), transparent 55%);
  pointer-events: none;
}
.auth-overlay.fade-out { opacity: 0; pointer-events: none; }

.auth-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--gold-line);
  border-radius: 6px;
  padding: 2.4rem 2rem 2rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.auth-card::before, .auth-card::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
}
.auth-card::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.auth-card::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

.auth-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 0 12px rgba(212, 167, 62, 0.3));
}
.auth-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.auth-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 2.6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.auth-sub {
  color: var(--ink-dim);
  font-size: 0.88rem;
  margin-bottom: 1.4rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.auth-input {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(244, 236, 216, 0.04);
  border: 1px solid var(--glass-line);
  border-radius: 4px;
  color: var(--ink);
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  text-align: center;
  outline: none;
  transition: all 0.2s;
}
.auth-input::placeholder {
  color: var(--ink-mute);
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.auth-input:focus {
  border-color: var(--gold);
  background: rgba(244, 236, 216, 0.06);
  box-shadow: 0 0 0 3px rgba(212, 167, 62, 0.18);
}
.auth-input.shake { animation: shake 0.4s; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.auth-btn {
  padding: 0.9rem 1.4rem;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--bg-0);
  border: 0;
  border-radius: 4px;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(212, 167, 62, 0.25);
}
.auth-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(212, 167, 62, 0.4); }

.auth-err {
  margin-top: 0.9rem;
  min-height: 1.2em;
  color: var(--rust);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* === FLOATING SOUND FAB === */
.sound-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  font-family: inherit;
}
.sound-fab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem 0.7rem 0.85rem;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--bg-0);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Anton', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 167, 62, 0.4), 0 0 24px rgba(212, 167, 62, 0.22);
  transition: transform 0.2s, box-shadow 0.2s;
}
.sound-fab-btn .sf-icon { font-size: 1.05rem; line-height: 1; }
.sound-fab-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--gold), 0 0 30px rgba(212, 167, 62, 0.35); }
.sound-fab-btn.active {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  color: var(--gold-bright);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--gold-line);
}
.sound-fab-btn.active .sf-icon { animation: noteBeat 1.2s ease-in-out infinite; }

@keyframes noteBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
@keyframes pulseRing {
  0% { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(212, 167, 62, 0.55), 0 0 24px rgba(212, 167, 62, 0.22); }
  70% { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 0 18px rgba(212, 167, 62, 0), 0 0 24px rgba(212, 167, 62, 0.22); }
  100% { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(212, 167, 62, 0), 0 0 24px rgba(212, 167, 62, 0.22); }
}
.sound-fab-btn.pulse { animation: pulseRing 1.8s ease-out infinite; }

@media (max-width: 540px) {
  .sound-fab { right: 0.75rem; bottom: 0.75rem; }
  .sound-fab-btn { padding: 0.6rem 0.95rem 0.6rem 0.75rem; font-size: 0.75rem; }
  .sound-fab-btn .sf-label { display: none; }
  .sound-fab-btn { padding: 0.85rem; border-radius: 50%; }
}

.sound-fab-player {
  position: absolute;
  bottom: calc(100% + 0.7rem);
  right: 0;
  width: min(360px, 92vw);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  padding: 0.7rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.22s, transform 0.22s;
}
.sound-fab-player.open { opacity: 1; transform: translateY(0) scale(1); }
.sf-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.1rem 0.3rem 0.5rem;
}
.sf-head-lbl {
  font-family: 'Anton', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.sf-close {
  background: transparent;
  border: 1px solid var(--glass-line);
  color: var(--ink-dim);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  padding: 0;
}
.sf-close:hover { color: var(--gold-bright); border-color: var(--gold-line); }
.sf-iframe-slot { min-height: 152px; }
.sf-note {
  margin-top: 0.55rem;
  font-size: 0.68rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  line-height: 1.4;
  padding: 0 0.3rem;
}

/* === FOOTER === */
.footer {
  padding: 3rem 1.25rem 2rem;
  text-align: center;
  color: var(--ink-mute);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-top: 1px solid var(--glass-line);
  margin-top: 3rem;
  position: relative;
}
.footer::before {
  content: '✦';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-0);
  padding: 0 0.8rem;
  color: var(--gold);
  font-size: 0.85rem;
}
.footer .heart { color: var(--gold); }
.footer .roman { color: var(--gold-bright); font-family: 'Anton', sans-serif; font-weight: 400; letter-spacing: 0.08em; }

/* === ANIM === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s, transform 0.7s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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