/* === VARIABLES === */
:root {
  --bg-overlay: rgba(7, 12, 25, 0.6); /* Overlay más oscuro y transparente para que el canvas se vea */
  --glass: rgba(255, 255, 255, 0.06);
  --glass-mid: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.28);
  --fg: #f3f6f9;
  --muted: rgba(243, 246, 249, 0.72);
  --dim: rgba(243, 246, 249, 0.45);
  --accent: #d9a864;
  --accent-bright: #f0c489;
  --accent-soft: rgba(217, 168, 100, 0.16);
  --danger: #e7625a;
  --success: #5ec98a;
}

* { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--fg);
  min-height: 100vh;
  background-color: #03050a; /* Fondo base casi negro */
  overflow-x: hidden;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* === FONDO HIPERSPEED === */
#hyperspeed-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem 2rem;
  background: linear-gradient(to bottom, rgba(3,5,10,0.3), rgba(3,5,10,0.8));
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(0, 240, 255, 0.08), transparent 60%), /* Cyan glow */
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(217, 168, 100, 0.1), transparent 60%); /* Gold glow */
}

.nav {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--glass-mid);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
}
.brand-icon.small { width: 2.25rem; height: 2.25rem; }
.brand-icon i { color: var(--accent); }
.brand-name {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-sub {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--dim);
  margin-top: 0.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}
.nav-links a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent-bright); }
.status {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; color: var(--muted);
}

.pulse-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(94, 201, 138, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(94, 201, 138, 0); }
}

.hero-content {
  position: relative; z-index: 10;
  max-width: 56rem; margin: 0 auto;
  text-align: center;
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2rem 0;
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 1.5rem 0;
  text-shadow: 0 4px 30px rgba(0, 240, 255, 0.3), 0 4px 20px rgba(0,0,0,0.6);
}
.accent-italic {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-bright);
  text-shadow: 0 4px 30px rgba(240, 196, 137, 0.4);
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  color: var(--muted);
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-actions {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 36rem;
  margin: 3.5rem auto 0;
  width: 100%;
}
.stat-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
}
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--accent-bright);
}
.stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* === SECTIONS === */
.section { padding: 5rem 1rem; position: relative; }
.section-listado { display: none; }
.container { max-width: 72rem; margin: 0 auto; }

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 1rem 0 0.75rem;
  line-height: 1.1;
}
.section-desc {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--muted);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-bright);
  padding: 0.35rem 0.85rem;
  background: var(--accent-soft);
  border: 1px solid rgba(217, 168, 100, 0.3);
  border-radius: 999px;
}
.section-tag i { font-size: 0.625rem; }

/* === INFO SECTION === */
.info-section { padding-top: 3rem; padding-bottom: 3rem; }
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}
.info-card {
  padding: 1.5rem;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
}
.info-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.75rem 0 1rem;
  color: var(--fg);
}
.info-card p, .info-card li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-bright);
}
.info-icon.alert {
  background: rgba(231, 98, 90, 0.15);
  border-color: var(--danger);
  color: #f5a39c;
}
.alert-card {
  border-color: rgba(231, 98, 90, 0.3);
}
.info-cta {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--accent-soft);
  border: 1px solid rgba(217, 168, 100, 0.3);
  border-radius: 1.5rem;
  margin-top: 1rem;
  backdrop-filter: blur(15px);
}
.info-cta p {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin: 0;
  line-height: 1.4;
}

/* === GLASS === */
.glass-card {
  background: linear-gradient(135deg, rgba(10, 15, 30, 0.75), rgba(5, 10, 20, 0.6));
  backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
  border-radius: 1.5rem;
}

/* === PROGRESS BAR === */
.progress-bar {
  position: relative;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}
.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px var(--accent-bright);
}
.progress-text {
  position: absolute;
  top: -1.5rem;
  right: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

/* === FORM === */
.form-card { padding: 2.5rem 1.5rem; }
@media (min-width: 768px) { .form-card { padding: 2.5rem; } }

.form-section { margin-bottom: 2.5rem; }
.form-section:last-of-type { margin-bottom: 1.5rem; }

.section-head-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.section-head-inline h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.step-num {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent-bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
  font-family: 'Fraunces', serif;
  flex-shrink: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .field-full { grid-column: span 2; }
}

.field { display: flex; flex-direction: column; }
.field-full { grid-column: span 2; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

.field-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
  display: block;
}

.field-input, .field-select, .field-textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--fg);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
}
.field-input::placeholder, .field-textarea::placeholder { color: var(--dim); }
.field-input:focus, .field-select:focus, .field-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 0 15px rgba(217, 168, 100, 0.1);
}
.field-input.error, .field-select.error, .field-textarea.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(231, 98, 90, 0.15);
}
.field-textarea { resize: vertical; min-height: 100px; }

.field-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23f3f6f9' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
  cursor: pointer;
}
.field-select option { background: #03050a; color: var(--fg); }

.char-count {
  text-align: right;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  color: var(--dim);
}

/* === FILE DROP === */
.file-drop {
  position: relative;
  border: 2px dashed var(--border-strong);
  border-radius: 12px;
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
}
.file-drop:hover, .file-drop.dragover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-bright);
}
.file-drop i { font-size: 1.75rem; }
.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.photo-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.photo-preview img {
  width: 70px; height: 70px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.photo-container { position: relative; display: inline-block; }
.photo-delete-btn {
  position: absolute;
  top: -6px; right: -6px;
  width: 22px; height: 22px;
  background: var(--danger);
  color: white;
  border: 1px solid white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  transition: transform 0.2s;
  padding: 0;
}
.photo-delete-btn:hover { transform: scale(1.15); }

/* === CHIPS === */
.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}
.chip:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-strong);
}
.chip input { display: none; }
.chip.checked {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-bright);
  box-shadow: 0 0 10px rgba(217, 168, 100, 0.2);
}
.chip i { color: var(--dim); font-size: 10px; }
.chip.checked i { color: var(--accent-bright); }

/* === BUTTONS === */
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #c08c4a 100%);
  color: #1a0f00;
  font-weight: 700;
  padding: 0.9rem 1.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 24px rgba(217, 168, 100, 0.3), inset 0 1px 0 rgba(255,255,255,0.3);
  transition: all 0.25s ease;
  cursor: pointer;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.95rem;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(217, 168, 100, 0.5), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:disabled { opacity: 0.6; transform: none; cursor: not-allowed; }

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--fg);
  font-weight: 600;
  padding: 0.7rem 1.3rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-strong);
}
.btn-danger {
  background: linear-gradient(135deg, #e7625a 0%, #c54a42 100%);
  color: #fff;
}

.link-btn {
  background: none;
  border: none;
  color: var(--accent-bright);
  cursor: pointer;
  font-size: 0.875rem;
  font-family: inherit;
  padding: 0;
}
.link-btn:hover { text-decoration: underline; }

/* === TERMS === */
.terms-box {
  margin-bottom: 2rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
}
.terms-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}
.terms-label input {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.terms-label span {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}
.terms-label strong { color: var(--fg); }

/* === FORM ACTIONS === */
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* === ERROR MSG === */
.error-msg {
  color: #f5a39c;
  font-size: 0.78rem;
  margin-top: 0.35rem;
  display: none;
}
.error-msg.show { display: block; }

/* === FILTERS === */
.listado-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.filters-card {
  padding: 1.25rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
}
.filters-footer {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

/* === LISTADO GRID === */
.listado-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .listado-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .listado-grid { grid-template-columns: 1fr 1fr 1fr; } }

.listing-card {
  background: linear-gradient(135deg, rgba(10, 15, 30, 0.75), rgba(5, 10, 20, 0.6));
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.listing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 40px rgba(0,0,0,0.6), 0 0 20px rgba(0, 240, 255, 0.1);
}
.listing-img-wrap {
  position: relative;
  height: 11rem;
  overflow: hidden;
}
.listing-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.listing-card:hover .listing-img-wrap img { transform: scale(1.05); }
.listing-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #03050a, rgba(3,5,10,0.3), transparent);
}
.listing-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid;
  backdrop-filter: blur(10px);
}
.listing-stars {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  display: inline-flex;
  gap: 2px;
  color: var(--accent);
  font-size: 0.8rem;
  background: var(--glass-mid);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-strong);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}
.listing-body { padding: 1.25rem; }
.listing-title {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  line-height: 1.2;
}
.listing-location {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.listing-location i { color: var(--accent); font-size: 0.75rem; }
.listing-desc {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.listing-tag {
  font-size: 0.65rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--muted);
}
.listing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.listing-cta {
  font-size: 0.75rem;
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-hotel { background: rgba(217, 168, 100, 0.2); color: #f0c489; border-color: rgba(217, 168, 100, 0.4); }
.badge-restaurante { background: rgba(231, 98, 90, 0.2); color: #f5a39c; border-color: rgba(231, 98, 90, 0.4); }
.badge-casa { background: rgba(0, 240, 255, 0.15); color: #9dd1d7; border-color: rgba(0, 240, 255, 0.3); }
.badge-posada { background: rgba(155, 137, 201, 0.2); color: #c4b6e8; border-color: rgba(155, 137, 201, 0.4); }
.badge-default { background: rgba(255,255,255,0.08); color: var(--muted); border-color: var(--border); }

.habilitado-badge {
  font-size: 0.65rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: 1px solid;
}
.habilitado-si { background: rgba(94,201,138,0.2); color: #5ec98a; border-color: rgba(94,201,138,0.4); }
.habilitado-no { background: rgba(231,98,90,0.2); color: #f5a39c; border-color: rgba(231,98,90,0.4); }

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}
.empty-state i {
  font-size: 2.5rem;
  color: var(--dim);
  margin-bottom: 0.75rem;
}
.empty-state h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

/* === TOAST === */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  padding: 1rem 1.4rem;
  border-radius: 12px;
  background: rgba(20, 40, 30, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--success);
  color: var(--fg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 380px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: rgba(50, 20, 20, 0.95); border-color: var(--danger); }

/* === MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.show { opacity: 1; pointer-events: all; }
.modal-content {
  background: linear-gradient(135deg, rgba(10,15,30,0.98), rgba(5,10,20,0.98));
  backdrop-filter: blur(40px);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  max-width: 720px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2rem;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.modal-overlay.show .modal-content { transform: scale(1); }
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.modal-close {
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: rgba(255,255,255,0.1); }
.modal-img {
  position: relative;
  height: 14rem;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-title {
  font-family: 'Fraunces', serif;
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.modal-location {
  margin-bottom: 1rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.modal-location i { color: var(--accent); }
.modal-desc {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.modal-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
}

/* === FOOTER === */
.footer {
  padding: 3rem 1rem;
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
  background: rgba(3, 5, 10, 0.8);
  backdrop-filter: blur(10px);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-text {
  font-size: 0.75rem;
  color: var(--dim);
  margin: 0;
}

/* === REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links { gap: 1rem; }
  .nav-links a { display: none; }
  .toast { left: 1rem; right: 1rem; bottom: 1rem; max-width: none; }
  .modal-content { padding: 1.5rem; }
  .form-actions { justify-content: stretch; }
  .form-actions button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}