/* ============================================
   BRILHOSÃO CRUISES · IGOR SIQUEIRA
   Mobile-first boarding pass experience
   ============================================ */

:root {
  --navy-950: #071A38;
  --navy-900: #0B2C5C;
  --navy-800: #133B74;
  --navy-700: #1C4E96;
  --gold-500: #D4A24C;
  --gold-400: #E5B867;
  --gold-300: #F1D08A;
  --sand-50:  #FBF6EA;
  --sand-100: #F5EBD6;
  --sand-200: #EADBB8;
  --ink:      #0A1628;
  --ocean-1:  #1B5A94;
  --ocean-2:  #2B7FB8;
  --ocean-3:  #4FA3CE;
  --paper:    #FDF9EF;

  --f-display: 'Playfair Display', 'Times New Roman', serif;
  --f-script:  'Caveat', 'Brush Script MT', cursive;
  --f-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--f-body);
  background: var(--sand-50);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ============================================
   APP SHELL — phone-first, centered on desktop
   ============================================ */
.app {
  max-width: 480px;
  margin: 0 auto;
  background: var(--sand-50);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(11, 44, 92, 0.15);
}

@media (min-width: 520px) {
  body {
    background:
      radial-gradient(ellipse at top, #17406b 0%, #071A38 60%, #040d1c 100%);
    min-height: 100vh;
    padding: 24px 0;
  }
  .app {
    border-radius: 32px;
    box-shadow:
      0 40px 120px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(212, 162, 76, 0.2);
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  max-height: 920px;
  overflow: hidden;
  background: #0B2C5C;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  animation: heroZoom 18s var(--ease-in-out) infinite alternate;
  will-change: transform;
}
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.12); }
}
.hero-photo-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(7, 26, 56, 0.55) 0%,
      rgba(7, 26, 56, 0.25) 25%,
      rgba(7, 26, 56, 0.1) 50%,
      rgba(7, 26, 56, 0.35) 75%,
      rgba(7, 26, 56, 0.75) 100%);
}

/* Palm fronds removed */

.hero-sun {
  position: absolute;
  top: 10%;
  right: 14%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,244,201,0.6) 0%, rgba(255,217,122,0.3) 40%, rgba(255, 217, 122, 0) 70%);
  filter: blur(4px);
  animation: sunPulse 6s var(--ease-in-out) infinite;
  z-index: 5;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes sunPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.15); opacity: 1; }
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, #FFF4C9 0%, rgba(255, 244, 201, 0) 70%);
  border-radius: 50%;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% { transform: translateY(0) scale(0); opacity: 0; }
  10% { opacity: 1; transform: translateY(-20px) scale(1); }
  90% { opacity: 0.6; }
  100% { transform: translateY(-120vh) scale(0.5); opacity: 0; }
}

/* Ocean layers removed — we use real photo now */

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 24px 56px;
  pointer-events: none;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.brand-mark {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--sand-50);
  text-transform: uppercase;
  line-height: 1.4;
  opacity: 0.95;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.brand-mark strong {
  display: block;
  font-weight: 700;
  font-size: 11px;
}

.epic-stamp {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 2px dashed var(--gold-400);
  display: grid;
  place-items: center;
  transform: rotate(12deg);
  background: rgba(11, 44, 92, 0.7);
  backdrop-filter: blur(4px);
  animation: stampIn 1.2s var(--ease-out) 0.8s both, stampSpin 20s linear infinite;
  flex-shrink: 0;
}

@keyframes stampIn {
  from { opacity: 0; transform: rotate(12deg) scale(0.4); }
  to { opacity: 1; transform: rotate(12deg) scale(1); }
}
@keyframes stampSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.epic-stamp-inner {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  line-height: 1.1;
  animation: counterSpin 20s linear infinite;
}

@keyframes counterSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.hero-title {
  margin-top: auto;
  margin-bottom: 0;
  text-align: center;
}

.invite-line {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--sand-50);
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.name-display {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(64px, 19vw, 108px);
  line-height: 0.88;
  color: var(--sand-50);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(7, 26, 56, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
}

.name-display span {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease-out) forwards;
}
.name-display span:nth-child(1) { animation-delay: 0.4s; }
.name-display span:nth-child(2) { animation-delay: 0.7s; }

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

.age-tag {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 22px;
  background: rgba(11, 44, 92, 0.85);
  backdrop-filter: blur(6px);
  color: var(--gold-300);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid rgba(212, 162, 76, 0.3);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
}
.age-tag em {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--gold-400);
  font-size: 13px;
  text-transform: lowercase;
  letter-spacing: 0;
  margin: 0 4px;
}

.scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--sand-50);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 2s forwards, scrollBounce 2s var(--ease-in-out) 2.8s infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.scroll-hint::after {
  content: '';
  width: 1px;
  height: 28px;
  background: var(--sand-50);
  opacity: 0.7;
}

@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* ============================================
   SOUND TOGGLE
   ============================================ */
.sound-toggle {
  position: fixed;
  top: 20px;
  right: max(20px, calc(50% - 216px));
  z-index: 100;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 44, 92, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 162, 76, 0.4);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), background 0.3s;
}
.sound-toggle:hover { transform: scale(1.08); }
.sound-toggle svg { width: 18px; height: 18px; }

/* ============================================
   BOARDING PASS SECTION
   ============================================ */
.section {
  padding: 64px 20px;
  position: relative;
}

.section-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--navy-700);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 8px;
}
.section-label::before,
.section-label::after {
  content: '';
  height: 1px;
  background: currentColor;
  flex: 1;
  max-width: 40px;
  opacity: 0.4;
}

.section-title {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--navy-900);
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}

/* Boarding pass */
.pass {
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 2px 0 rgba(11, 44, 92, 0.05),
    0 20px 50px -20px rgba(11, 44, 92, 0.35),
    0 0 0 1px rgba(11, 44, 92, 0.08);
  transform: translateY(40px);
  opacity: 0;
  transition: transform 1s var(--ease-out), opacity 1s;
}
.pass.visible {
  transform: translateY(0);
  opacity: 1;
}

.pass::before,
.pass::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background-image:
    radial-gradient(circle at 10px 50%, var(--sand-50) 4px, transparent 4.5px);
  background-size: 20px 10px;
  background-repeat: repeat-x;
}
.pass::before { top: -5px; }
.pass::after { bottom: -5px; }

.pass-header {
  background: var(--navy-900);
  color: var(--sand-50);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.pass-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0 6px,
      rgba(212, 162, 76, 0.06) 6px 7px
    );
}
.pass-header-left {
  position: relative;
  z-index: 1;
}
.pass-brand {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}
.pass-subtitle {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  margin-top: 4px;
  opacity: 0.75;
}
.pass-class {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-align: right;
  position: relative;
  z-index: 1;
}
.pass-class strong {
  display: block;
  font-size: 14px;
  color: var(--gold-400);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.pass-route {
  padding: 26px 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
}
.route-point {
  text-align: center;
}
.route-code {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 34px;
  color: var(--navy-900);
  line-height: 1;
  letter-spacing: -0.02em;
}
.route-name {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-top: 6px;
  opacity: 0.8;
}
.route-plane {
  color: var(--gold-500);
  animation: sway 3s var(--ease-in-out) infinite;
}
@keyframes sway {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.pass-details {
  padding: 0 22px 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 14px;
  border-top: 1.5px dashed rgba(11, 44, 92, 0.18);
  padding-top: 22px;
}
.detail-item {
  display: flex;
  flex-direction: column;
}
.detail-label {
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-700);
  opacity: 0.7;
  margin-bottom: 4px;
}
.detail-value {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy-900);
  line-height: 1.1;
}
.detail-value small {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 400;
  opacity: 0.7;
  display: block;
  margin-top: 2px;
}

/* Stub (perforated bottom) */
.pass-stub {
  background: var(--navy-900);
  color: var(--sand-50);
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.pass-stub::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0; right: 0;
  height: 12px;
  background-image: radial-gradient(circle at 10px 50%, var(--sand-50) 4px, transparent 4.5px);
  background-size: 20px 12px;
}
.stub-barcode {
  display: flex;
  gap: 1.5px;
  align-items: flex-end;
  height: 28px;
}
.stub-barcode span {
  width: 2px;
  background: var(--gold-400);
}
.stub-seat {
  font-family: var(--f-mono);
  text-align: right;
  font-size: 9px;
  letter-spacing: 0.15em;
  line-height: 1.3;
  opacity: 0.8;
}
.stub-seat strong {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0;
  color: var(--gold-400);
  font-weight: 700;
  opacity: 1;
}

/* ============================================
   COUNTDOWN
   ============================================ */
.countdown-section {
  background:
    radial-gradient(ellipse at top, #103663 0%, #071A38 60%, #030c1d 100%);
  color: var(--sand-50);
  padding: 80px 20px 88px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.countdown-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(212, 162, 76, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(79, 163, 206, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.countdown-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #FFF4C9;
  border-radius: 50%;
  animation: twinkle 3s var(--ease-in-out) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

.countdown-section .section-label { color: var(--gold-400); }
.countdown-section .section-label::before,
.countdown-section .section-label::after { background: var(--gold-400); opacity: 0.5; }

.countdown-section .section-title {
  color: var(--sand-50);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 32px auto 0;
  max-width: 420px;
  position: relative;
}

.cd-cell {
  background: linear-gradient(180deg, #0e2a54 0%, #071a38 100%);
  border: 1px solid rgba(212, 162, 76, 0.25);
  border-radius: 12px;
  padding: 18px 6px 14px;
  position: relative;
  overflow: hidden;
}
.cd-cell::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.cd-number {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  color: var(--gold-400);
  display: block;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  position: relative;
}

.cd-label {
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand-100);
  opacity: 0.7;
  margin-top: 8px;
  display: block;
}

.flip-enter {
  animation: flip 0.6s var(--ease-out);
}
@keyframes flip {
  0% { transform: rotateX(-90deg); opacity: 0; }
  100% { transform: rotateX(0); opacity: 1; }
}

.countdown-caption {
  font-family: var(--f-script);
  font-size: 28px;
  color: var(--gold-300);
  margin-top: 28px;
  font-weight: 500;
}

/* ============================================
   ITINERARY
   ============================================ */
.itinerary-section {
  background: var(--sand-100);
  position: relative;
}

.itinerary {
  max-width: 440px;
  margin: 0 auto;
  position: relative;
  padding: 0 16px;
}

.itinerary::before {
  content: '';
  position: absolute;
  left: 52px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background:
    repeating-linear-gradient(
      to bottom,
      var(--navy-900) 0 4px,
      transparent 4px 10px
    );
  opacity: 0.35;
}

.itin-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  margin-bottom: 26px;
  align-items: flex-start;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.7s, transform 0.7s var(--ease-out);
}
.itin-item.visible {
  opacity: 1;
  transform: translateX(0);
}
.itin-item:last-child { margin-bottom: 0; }

.itin-time {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.05em;
  text-align: right;
  padding-top: 4px;
  background: var(--sand-100);
  position: relative;
  z-index: 1;
  padding-right: 8px;
}

.itin-content {
  background: var(--paper);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 2px 0 rgba(11, 44, 92, 0.06), 0 8px 20px -12px rgba(11, 44, 92, 0.2);
  border: 1px solid rgba(11, 44, 92, 0.06);
  position: relative;
}
.itin-content::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 18px;
  width: 12px;
  height: 12px;
  background: var(--paper);
  transform: rotate(45deg);
  border-left: 1px solid rgba(11, 44, 92, 0.06);
  border-bottom: 1px solid rgba(11, 44, 92, 0.06);
}
.itin-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy-900);
  line-height: 1.2;
  margin-bottom: 3px;
}
.itin-desc {
  font-size: 13px;
  color: var(--navy-800);
  opacity: 0.8;
  line-height: 1.4;
}

/* ============================================
   WHAT TO BRING
   ============================================ */
.bring-section {
  background: var(--navy-900);
  color: var(--sand-50);
  position: relative;
  overflow: hidden;
}
.bring-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(212, 162, 76, 0.12) 1px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}
.bring-section .section-label { color: var(--gold-400); }
.bring-section .section-label::before,
.bring-section .section-label::after { background: var(--gold-400); opacity: 0.4; }
.bring-section .section-title { color: var(--sand-50); }

.bring-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
}
.bring-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(212, 162, 76, 0.2);
  border-radius: 14px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.bring-item:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 162, 76, 0.5);
}
.bring-icon {
  width: 28px;
  height: 28px;
  color: var(--gold-400);
}
.bring-label {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.15;
}
.bring-note {
  font-size: 11.5px;
  opacity: 0.65;
  line-height: 1.35;
  font-family: var(--f-mono);
  letter-spacing: 0.02em;
}

/* ============================================
   RSVP FORM
   ============================================ */
.rsvp-section {
  background: linear-gradient(180deg, var(--sand-50) 0%, var(--sand-100) 100%);
  padding: 72px 20px 48px;
}

.rsvp-card {
  background: var(--paper);
  border-radius: 22px;
  padding: 32px 22px;
  max-width: 440px;
  margin: 0 auto;
  box-shadow:
    0 2px 0 rgba(11, 44, 92, 0.06),
    0 30px 60px -30px rgba(11, 44, 92, 0.3),
    0 0 0 1px rgba(11, 44, 92, 0.06);
  position: relative;
}

.rsvp-card .pass-brand-tag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  background: var(--gold-500);
  color: var(--navy-900);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.rsvp-intro {
  text-align: center;
  margin: 12px 0 28px;
}
.rsvp-intro h2 {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  color: var(--navy-900);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.rsvp-intro p {
  font-size: 13px;
  color: var(--navy-800);
  opacity: 0.75;
  line-height: 1.45;
  max-width: 32ch;
  margin: 0 auto;
}

.field {
  margin-bottom: 18px;
}
.field-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin-bottom: 8px;
  opacity: 0.85;
}
.field-label em {
  font-family: var(--f-script);
  font-style: normal;
  text-transform: none;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--gold-500);
  margin-left: 4px;
}

.input,
.select,
.textarea {
  width: 100%;
  background: var(--sand-50);
  border: 1.5px solid rgba(11, 44, 92, 0.15);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--navy-900);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(212, 162, 76, 0.18);
  background: #fff;
}
.textarea { resize: none; min-height: 72px; line-height: 1.4; }

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230B2C5C' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Toggle group */
.toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(11, 44, 92, 0.05);
  border-radius: 12px;
  padding: 4px;
}
.toggle-btn {
  padding: 12px;
  border: none;
  background: transparent;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-700);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  font-weight: 600;
}
.toggle-btn.active {
  background: var(--navy-900);
  color: var(--gold-400);
  box-shadow: 0 4px 12px -4px rgba(11, 44, 92, 0.4);
}

/* Submit */
.submit-btn {
  width: 100%;
  background: var(--navy-900);
  color: var(--gold-400);
  border: none;
  padding: 18px;
  border-radius: 14px;
  font-family: var(--f-display);
  font-weight: 700;
  font-style: italic;
  font-size: 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  transition: transform 0.2s var(--ease-out), box-shadow 0.3s;
  box-shadow:
    0 4px 0 var(--navy-950),
    0 10px 30px -10px rgba(11, 44, 92, 0.5);
}
.submit-btn:active {
  transform: translateY(3px);
  box-shadow:
    0 1px 0 var(--navy-950),
    0 4px 10px -4px rgba(11, 44, 92, 0.4);
}
.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-btn .wa-icon {
  width: 22px;
  height: 22px;
  vertical-align: -5px;
  margin-right: 8px;
}

.submit-hint {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  color: var(--navy-700);
  opacity: 0.6;
  margin-top: 14px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-950);
  color: var(--sand-100);
  padding: 40px 20px 60px;
  text-align: center;
}
.footer-script {
  font-family: var(--f-script);
  font-size: 26px;
  color: var(--gold-400);
  line-height: 1.2;
  margin-bottom: 16px;
}
.footer-mono {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* ============================================
   CONFETTI OVERLAY
   ============================================ */
.confetti-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  display: none;
}
.confetti-overlay.active { display: block; }

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 14px;
  top: -20px;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  to {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

/* Success modal */
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(7, 26, 56, 0.85);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.5s var(--ease-out);
}
.success-modal.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.success-card {
  background: var(--paper);
  border-radius: 22px;
  padding: 40px 28px;
  max-width: 380px;
  text-align: center;
  position: relative;
  animation: popIn 0.6s var(--ease-out);
}
@keyframes popIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-card h3 {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-size: 32px;
  color: var(--navy-900);
  line-height: 1;
  margin: 14px 0 10px;
}
.success-card p {
  font-size: 14px;
  color: var(--navy-800);
  line-height: 1.5;
  margin-bottom: 20px;
}
.success-anchor {
  color: var(--gold-500);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.success-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-900);
  display: inline-grid;
  place-items: center;
  margin: 0 auto;
}

/* Small screens */
@media (max-width: 360px) {
  .cd-number { font-size: 36px; }
  .section-title { font-size: 34px; }
  .route-code { font-size: 28px; }
  .bring-grid { grid-template-columns: 1fr; }
}
