/* ─── Variables ────────────────────────────────────────────── */
:root {
  --navy:       #1C2340;
  --gold:       #B09255;
  --gold-light: #C8AB72;
  --cream:      #FAF8F4;
  --white:      #FFFFFF;
  --muted:      #8A8A8A;
  --dark:       #111827;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Jost', sans-serif; background: var(--cream); color: var(--dark); overflow-x: hidden; }

/* ─── NAV ───────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: .4rem 3rem;
  display: flex; align-items: center; gap: .75rem;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(176,146,85,.15);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
nav.nav-scrolled {
  box-shadow: 0 4px 24px rgba(28,35,64,.1);
  background: rgba(255,255,255,0.99);
}
.nav-logo { height: 70px; }
.nav-identity { display: flex; align-items: center; gap: .6rem; }
.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 400; letter-spacing: .05em;
  color: var(--navy); transition: color .3s; white-space: nowrap;
}
nav.nav-scrolled .nav-brand { color: var(--navy); }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  font-size: .73rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

/* ─── NAV HAMBURGER ─────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.35s ease, opacity 0.25s ease;
  transform-origin: center;
}
nav.menu-open .nav-hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
nav.menu-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.menu-open .nav-hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── NAV MOBILE MENU ───────────────────────────────────────── */
.nav-mobile-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(176,146,85,.2);
  box-shadow: 0 8px 32px rgba(28,35,64,.1);
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
  pointer-events: none;
}
nav.menu-open .nav-mobile-menu { max-height: 300px; opacity: 1; pointer-events: auto; }
.nav-mobile-menu a {
  font-size: .73rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(176,146,85,.1);
  transition: color .2s, background .2s, padding-left .2s;
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { color: var(--gold); padding-left: 2rem; background: rgba(176,146,85,.04); }

/* ─── HERO ──────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 5rem 2rem 4rem;
  position: relative; overflow: hidden;
  background: var(--navy);
}
#hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(176,146,85,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(176,146,85,.07) 0%, transparent 60%),
    url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?w=1800&q=60') center/cover no-repeat;
  opacity: .18;
}
.hero-logo-wrap {
  position: relative; z-index: 2;
  margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp .9s .1s forwards;
}
.hero-logo {
  width: clamp(260px, 45vw, 520px);
  filter: brightness(0) invert(1);
}
.hero-divider {
  width: 60px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto 2rem;
  opacity: 0; animation: fadeUp .9s .35s forwards;
}
.hero-sub {
  font-size: .82rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 2.8rem; font-weight: 300;
  opacity: 0; animation: fadeUp .9s .5s forwards;
}
.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300; font-style: italic;
  color: rgba(255,255,255,.85);
  margin-bottom: 3rem;
  opacity: 0; animation: fadeUp .9s .65s forwards;
}
.hero-tagline em { color: var(--gold-light); font-style: normal; }
.hero-btns {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  opacity: 0; animation: fadeUp .9s .8s forwards;
}
.hero-btns-top {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}
.btn-cotizar {
  background: transparent; color: var(--gold-light);
  border: 1px solid rgba(176,146,85,.45);
  padding: .85rem 2.8rem;
  font-family: 'Jost', sans-serif; font-size: .73rem; letter-spacing: .2em; text-transform: uppercase;
  cursor: pointer; border-radius: 1px; transition: all .3s;
}
.btn-cotizar:hover { background: rgba(176,146,85,.15); border-color: var(--gold); color: var(--gold); }
.btn-primary {
  background: var(--gold); color: #fff; border: none;
  padding: .85rem 2.2rem;
  font-family: 'Jost', sans-serif; font-size: .73rem; letter-spacing: .2em; text-transform: uppercase;
  cursor: pointer; border-radius: 1px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(176,146,85,.35); }
.btn-outline {
  background: transparent; color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.25);
  padding: .85rem 2.2rem;
  font-family: 'Jost', sans-serif; font-size: .73rem; letter-spacing: .2em; text-transform: uppercase;
  cursor: pointer; transition: all .3s; border-radius: 1px;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.scroll-line {
  position: absolute; bottom: .75rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.3); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  opacity: 0; animation: fadeUp .9s 1.1s forwards;
  pointer-events: none;
}
.scroll-line::after {
  content: ''; width: 1px; height: 34px;
  background: linear-gradient(to bottom, rgba(176,146,85,.5), transparent);
  animation: scrollBar 2s ease-in-out infinite;
}

/* ─── DESTINOS ──────────────────────────────────────────────── */
#destinos { padding: 5.5rem 3rem; background: var(--white); }
.section-top { text-align: center; margin-bottom: 3rem; }
.section-tag { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; color: var(--navy); line-height: 1.2; }
.destinos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.destino-card {
  position: relative; border-radius: 2px; overflow: hidden; cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.destino-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(28,35,64,.16); }
.destino-card img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform .7s ease; }
.destino-card:hover img { transform: scale(1.07); }
.destino-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,35,64,.88) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem;
  transition: background .3s;
}
.destino-card:hover .destino-overlay { background: linear-gradient(to top, rgba(28,35,64,.93) 0%, rgba(28,35,64,.15) 55%); }
.destino-name { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 400; color: #fff; margin-bottom: .2rem; }
.destino-region { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-light); margin-bottom: .5rem; }
.destino-desc { font-size: .8rem; color: rgba(255,255,255,.75); line-height: 1.5; max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.destino-card:hover .destino-desc { max-height: 80px; }

/* ─── PLANIFICADOR ──────────────────────────────────────────── */
#planificador { padding: 5.5rem 3rem; background: var(--cream); }
.plan-inner { max-width: 840px; margin: 0 auto; }
.form-card { background: var(--white); border: 1px solid rgba(176,146,85,.15); border-radius: 2px; padding: 2.5rem; }
.field { margin-bottom: 2rem; }
.field-label { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  padding: .45rem 1rem; border: 1px solid #E0DAD0; border-radius: 1px;
  font-family: 'Jost', sans-serif; font-size: .82rem; color: var(--dark);
  background: transparent; cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.chip.selected { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip:hover:not(.selected) { border-color: var(--gold); color: var(--gold); }
input[type=range] { width: 100%; accent-color: var(--gold); margin: .5rem 0; }
.range-val { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; color: var(--navy); }
.duration-picker {
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: .75rem;
  padding: .8rem; border: 1px solid #E0DAD0; background: #FBFAF7;
}
.duration-step {
  width: 44px; height: 44px; border: 1px solid rgba(176,146,85,.35);
  background: var(--white); color: var(--navy); cursor: pointer;
  font-family: 'Jost', sans-serif; font-size: 1.2rem; line-height: 1;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.duration-step:hover { border-color: var(--gold); color: var(--gold); background: rgba(176,146,85,.08); }
.duration-display { text-align: center; }
.duration-hint { margin-top: .15rem; color: var(--muted); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.duration-presets { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .65rem; }
.duration-presets button {
  border: 1px solid #E0DAD0; background: transparent; color: var(--muted);
  padding: .35rem .7rem; font-family: 'Jost', sans-serif; font-size: .75rem;
  cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.duration-presets button:hover,
.duration-presets button.active {
  border-color: var(--gold); color: var(--navy); background: rgba(176,146,85,.08);
}
textarea {
  width: 100%; border: 1px solid #E0DAD0; border-radius: 1px;
  padding: .85rem 1rem; font-family: 'Jost', sans-serif; font-size: .9rem;
  color: var(--dark); resize: none; min-height: 80px;
  outline: none; transition: border-color .2s;
}
textarea:focus { border-color: var(--gold); }
.gen-btn {
  width: 100%; background: var(--navy); color: #fff; border: none;
  padding: 1rem; font-family: 'Jost', sans-serif; font-size: .73rem;
  letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
  border-radius: 1px; display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: .5rem;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.gen-btn:hover:not(:disabled) { background: var(--gold); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(176,146,85,.35); }
.gen-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ─── RESULTADO (nuevo — itinerary cards) ───────────────────── */
#result { margin-top: 2rem; }
.result-header {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 2rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid #F0EBE0;
}
.result-badge {
  width: 48px; height: 48px; background: var(--navy); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.result-heading { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; color: var(--navy); }
.result-meta { font-size: .73rem; color: var(--muted); letter-spacing: .1em; margin-top: .2rem; }
.itinerary-cards { display: flex; flex-direction: column; gap: 1rem; margin: 2rem 0; }
.itinerary-card {
  display: flex; gap: 1rem;
  background: var(--white); border: 1px solid rgba(176,146,85,.15);
  border-radius: 2px; padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}
.itinerary-card:hover { box-shadow: 0 4px 20px rgba(28,35,64,.08); }
.card-icon { font-size: 1.6rem; flex-shrink: 0; width: 2.5rem; text-align: center; padding-top: 2px; }
.card-content { flex: 1; }
.card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 400; color: var(--navy); margin-bottom: .6rem; }
.card-body { font-size: .9rem; line-height: 1.8; color: #444; }
.card-body p { margin-bottom: .5rem; }
.result-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0; }
.btn-whatsapp-share {
  display: flex; align-items: center; gap: .5rem;
  background: #25D366; color: #fff; border: none;
  padding: .85rem 1.8rem;
  font-family: 'Jost', sans-serif; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; border-radius: 1px;
  transition: background 0.25s ease, transform 0.2s ease;
}
.btn-whatsapp-share:hover { background: #128C7E; transform: translateY(-2px); }
.btn-nueva {
  background: transparent; color: var(--navy);
  border: 1px solid rgba(28,35,64,.25);
  padding: .85rem 1.8rem;
  font-family: 'Jost', sans-serif; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; border-radius: 1px; transition: border-color 0.2s ease, color 0.2s ease;
}
.btn-nueva:hover { border-color: var(--gold); color: var(--gold); }
.cta-contact { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #F0EBE0; text-align: center; }
.cta-contact p { color: var(--muted); font-size: .88rem; margin-bottom: 1rem; }
.cta-contact button {
  background: var(--gold); color: #fff; border: none;
  padding: .8rem 2rem; font-family: 'Jost', sans-serif; font-size: .73rem;
  letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer; border-radius: 1px; transition: background .2s;
}
.cta-contact button:hover { background: var(--navy); }

/* ─── COTIZACION ────────────────────────────────────────────── */
#cotizacion { padding: 5.5rem 3rem; background: var(--navy); }
.cotiz-inner { max-width: 780px; margin: 0 auto; }
#cotizacion .section-title { color: #fff; }
#cotizacion .section-tag { color: var(--gold-light); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.06); border: 1px solid rgba(176,146,85,.25);
  color: #fff; padding: .75rem 1rem;
  font-family: 'Jost', sans-serif; font-size: .9rem;
  border-radius: 1px; outline: none; transition: border-color .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--navy); }
.cotiz-btn {
  margin-top: 1.5rem; width: 100%;
  background: var(--gold); color: #fff; border: none; padding: 1rem;
  font-family: 'Jost', sans-serif; font-size: .73rem; letter-spacing: .2em; text-transform: uppercase;
  cursor: pointer; border-radius: 1px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.cotiz-btn:hover { background: var(--gold-light); }
.cotiz-btn:disabled { opacity: .5; cursor: not-allowed; }
.cotiz-btn--secondary {
  background: transparent;
  border: 1px solid rgba(176,146,85,.5);
  width: auto; padding: .7rem 2rem;
}
.cotiz-btn--secondary:hover { background: rgba(176,146,85,.15); }
.form-error {
  color: #e74c3c; font-size: .82rem; margin-top: .75rem; line-height: 1.4;
}
#cotiz-success {
  text-align: center; padding: 3rem 1rem; color: #fff;
  animation: fadeUp 0.5s forwards;
}
#cotiz-success .success-icon { font-size: 3rem; margin-bottom: 1rem; }
#cotiz-success h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; margin-bottom: .75rem; }
#cotiz-success p { color: rgba(255,255,255,.7); font-size: .9rem; line-height: 1.6; margin-bottom: 1.5rem; }

/* ─── BOTÓN FLOTANTE WHATSAPP ───────────────────────────────── */
#chat-bubble { position: fixed; bottom: 2rem; right: 2rem; z-index: 200; }
.btn-whatsapp-share.whatsapp-mobile-only { display: flex; }
.chat-toggle {
  width: 58px; height: 58px; background: #25D366; border-radius: 50%;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.4);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.chat-toggle:hover { background: #128C7E; transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,.5); }

/* ─── OVERLAY DE CARGA ──────────────────────────────────────── */
#overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(28,35,64,.82); backdrop-filter: blur(4px);
  z-index: 300; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem; color: #fff; text-align: center;
}
#overlay.on { display: flex; }
.plane-anim { font-size: 3rem; animation: flyPlane 1.6s ease-in-out infinite alternate; }
.ov-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 300; }
.spinner { width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }

/* ─── FOOTER ────────────────────────────────────────────────── */
footer { background: #0f1527; color: rgba(255,255,255,.4); text-align: center; padding: 2.5rem; font-size: .73rem; letter-spacing: .1em; }
footer span { color: var(--gold); }

/* ─── KEYFRAMES ─────────────────────────────────────────────── */
@keyframes fadeUp    { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollBar { 0%  { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes spin      { to { transform: rotate(360deg); } }
@keyframes flyPlane  { from { transform: translateX(-20px) rotate(-8deg); } to { transform: translateX(20px) rotate(4deg); } }

/* ─── ANIMACIONES DE SCROLL ─────────────────────────────────── */
[data-animate="fade-up"] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-animate="fade-in"] {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-animate="scale-in"] {
  opacity: 0; transform: scale(0.96);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-animate].is-visible { opacity: 1; transform: none; }

[data-delay="0"]   { transition-delay: 0ms; }
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 640px) {
  nav { padding: .8rem 1.5rem; }
  .nav-logo { height: 48px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  #destinos, #planificador, #cotizacion { padding: 3.5rem 1.2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.4rem; }
  .hero-logo { width: clamp(200px, 75vw, 340px); }
  .scroll-line { bottom: .45rem; }
  .scroll-line::after { height: 28px; }
  .destinos-grid { grid-template-columns: 1fr; }
  .destino-extra { display: none; }
  .itinerary-card { flex-direction: column; gap: .5rem; }
  .result-actions { flex-direction: column; }
}

@media (max-height: 740px) {
  .scroll-line { bottom: .35rem; }
  .scroll-line::after { height: 24px; }
}

/* ─── ACCESIBILIDAD ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  [data-animate],
  [data-animate].is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ─── CHIPS MAX ─────────────────────────────────────────────── */
@keyframes chipsShake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-5px); }
  60%      { transform: translateX(5px); }
}
.chip-row.chips-max { animation: chipsShake .35s ease; }

/* ─── FLATPICKR CUSTOM ──────────────────────────────────────── */
.flatpickr-calendar {
  background: var(--navy) !important;
  border: 1px solid rgba(176,146,85,.35) !important;
  box-shadow: 0 12px 48px rgba(28,35,64,.6) !important;
  border-radius: 4px !important;
  font-family: 'Jost', sans-serif !important;
}
.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after { border-bottom-color: rgba(176,146,85,.35) !important; }
.flatpickr-months .flatpickr-month,
.flatpickr-weekdays,
.flatpickr-weekday { background: var(--navy) !important; }
.flatpickr-current-month {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.05rem !important; font-weight: 400 !important;
  color: rgba(255,255,255,.9) !important;
}
.flatpickr-current-month select,
.flatpickr-current-month input { color: rgba(255,255,255,.9) !important; }
span.flatpickr-weekday { color: var(--gold) !important; font-size: .68rem !important; letter-spacing: .12em !important; }
.flatpickr-day {
  color: rgba(255,255,255,.75) !important; border-radius: 2px !important;
  border-color: transparent !important;
}
.flatpickr-day:hover:not(.flatpickr-disabled) {
  background: rgba(176,146,85,.18) !important; border-color: transparent !important;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--gold) !important; border-color: var(--gold) !important;
  color: var(--navy) !important; font-weight: 500 !important;
}
.flatpickr-day.inRange {
  background: rgba(176,146,85,.15) !important;
  border-color: transparent !important; box-shadow: none !important;
  color: rgba(255,255,255,.75) !important;
}
.flatpickr-day.today:not(.selected) { border-color: rgba(176,146,85,.5) !important; }
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay { color: rgba(255,255,255,.2) !important; }
.flatpickr-prev-month svg,
.flatpickr-next-month svg { fill: var(--gold-light) !important; }
.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg { fill: var(--gold) !important; }
.numInput.cur-year { color: rgba(255,255,255,.9) !important; }

/* ─── NAV RESPONSIVE ────────────────────────────────────────── */
