:root {
  --brand: #152238;
  --brand-deep: #0B1524;
  --accent: #E8A017;
  --accent-hot: #C43C2C;
  --bg: #E8ECF2;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --mute: #5B6577;
  --line: #D5DBE5;
  --vamos-link: #1A5C45;
  --font-display: "Outfit", sans-serif;
  --font-event: "Plus Jakarta Sans", sans-serif;
  --font-body: "Manrope", sans-serif;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(11, 21, 36, 0.1);
  --shadow-soft: 0 4px 18px rgba(11, 21, 36, 0.06);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(232, 160, 23, 0.12), transparent 55%),
    radial-gradient(900px 400px at 100% 0%, rgba(21, 34, 56, 0.08), transparent 50%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(213, 219, 229, 0.9);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--brand);
}

.brand span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--mute);
}

.nav-links a:hover { color: var(--brand); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-accent {
  background: var(--accent);
  color: var(--brand-deep);
  box-shadow: 0 10px 28px rgba(232, 160, 23, 0.32);
}

.btn-accent:hover { background: #f0ad2a; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--line);
}

.btn-block { width: 100%; }
.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.82rem; }

.flash-wrap {
  max-width: 1180px;
  margin: 0.75rem auto 0;
  padding: 0 1.25rem;
}

.flash {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.flash-success { background: #e8f5ef; color: var(--vamos-link); }
.flash-danger { background: #fdecea; color: var(--accent-hot); }
.flash-info { background: #eef4fb; color: #1e3a5f; }
.flash-warning { background: #fff7e6; color: #92400e; }

.site-main { min-height: 60vh; }

.site-footer {
  margin-top: 4.5rem;
  padding: 2.75rem 1.25rem;
  background:
    linear-gradient(160deg, #0B1524 0%, #152238 60%, #1c334f 100%);
  color: rgba(255,255,255,0.78);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-inner a { color: var(--accent); font-weight: 700; }
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  font-size: 1.15rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(86vh, 700px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(11,21,36,0.88) 0%, rgba(21,34,56,0.72) 48%, rgba(26,42,64,0.78) 100%),
    url("https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?w=1600&q=80") center/cover no-repeat;
}

.hero-inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3.5rem;
  animation: heroIn 0.75s ease both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner, .btn, .event-row { animation: none; transition: none; }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.2vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 0.75rem;
}

.hero-brand em {
  font-style: normal;
  color: var(--accent);
}

.hero-lead {
  font-size: clamp(1.02rem, 2.1vw, 1.22rem);
  max-width: 36rem;
  color: rgba(255,255,255,0.9);
  margin: 0 0 1.35rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.1rem; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.55rem;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.85rem 1.25rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--mute);
  font-size: 0.95rem;
}

.section-link {
  color: var(--brand);
  font-weight: 700;
  white-space: nowrap;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.15rem;
}

/* Cards / rows */
.event-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 1rem;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid rgba(213, 219, 229, 0.95);
  border-radius: var(--radius);
  padding: 0.7rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.event-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(232, 160, 23, 0.45);
}

.event-row-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #c5ceda, #9aa8ba);
  min-height: 132px;
}

.event-row-media img,
.event-row-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 132px;
  transition: transform 0.35s ease;
}

.event-row:hover .event-row-media img { transform: scale(1.05); }

.event-row-body { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.35rem 0; min-width: 0; }

.event-row-when {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--accent-hot);
  letter-spacing: 0.01em;
}

.event-row-title {
  font-family: var(--font-event);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.28;
  color: var(--brand);
}

.event-row-place {
  color: var(--mute);
  font-size: 0.9rem;
}

.event-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-top: auto;
  padding-top: 0.35rem;
}

.event-row-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 0.45rem;
  padding: 0.5rem 0.65rem;
  min-width: 110px;
  border-left: 1px solid var(--line);
}

.price-main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brand);
  text-align: right;
}

.price-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-hot);
}

.event-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(21, 34, 56, 0.07);
  color: var(--brand);
}

.event-chip.live {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  background: var(--accent);
  color: var(--brand-deep);
}

.event-chip.tickets {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  background: rgba(11, 21, 36, 0.82);
  color: #fff;
}

/* Home grid: vertical card layout */
.event-grid .event-row {
  grid-template-columns: 1fr;
  padding: 0;
  overflow: hidden;
}

.event-grid .event-row-media {
  border-radius: 0;
  min-height: 170px;
  aspect-ratio: 16/10;
}

.event-grid .event-row-body { padding: 0.85rem 0.95rem 0.35rem; }
.event-grid .event-row-price {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-left: none;
  border-top: 1px solid var(--line);
  padding: 0.75rem 0.95rem 0.95rem;
  min-width: 0;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cat-rail {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.cat-pill {
  flex: 0 0 auto;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brand);
  box-shadow: var(--shadow-soft);
}

.cat-pill:hover, .cat-pill.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step {
  padding: 1.35rem 1.15rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.step strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin-bottom: 0.35rem;
}

.step span { color: var(--mute); font-size: 0.92rem; }

@media (max-width: 860px) {
  .event-row { grid-template-columns: 120px 1fr; }
  .event-row-price {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    border-left: none;
    border-top: 1px solid var(--line);
    align-items: center;
  }
}

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .nav-links .hide-sm { display: none; }
}

/* Forms / pages */
.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.page-wide { max-width: 1180px; margin-left: auto; margin-right: auto; padding-left: 1.25rem; padding-right: 1.25rem; }

.page h1,
.explore-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.page .lead,
.explore-hero .lead { color: var(--mute); margin: 0 0 1.25rem; }

.stack-form {
  display: grid;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.stack-form label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mute);
}

.input, .stack-form input, .stack-form select, .stack-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.72rem 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

/* Explore / Kayak bar */
.explore-hero {
  background:
    linear-gradient(120deg, rgba(11,21,36,0.94), rgba(21,34,56,0.88)),
    url("https://images.unsplash.com/photo-1492684223066-81342ee5ff30?w=1400&q=80") center/cover;
  color: #fff;
  padding: 2.75rem 1.25rem 4.5rem;
}

.explore-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.explore-hero .lead { color: rgba(255,255,255,0.82); max-width: 34rem; }

.kayak-bar {
  max-width: 1180px;
  margin: -2.4rem auto 1.5rem;
  padding: 0.65rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr 1fr 0.9fr auto;
  gap: 0.35rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(11, 21, 36, 0.18);
  border: 1px solid rgba(255,255,255,0.7);
  position: relative;
  z-index: 5;
}

.kayak-field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.45rem 0.7rem;
  border-radius: 12px;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.kayak-field:last-of-type { border-right: none; }
.kayak-field.grow { min-width: 140px; }

.kayak-field label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}

.kayak-input {
  border: none !important;
  padding: 0.25rem 0 !important;
  background: transparent !important;
  font-weight: 600;
  font-size: 0.95rem;
  width: 100%;
  color: var(--brand);
}

.kayak-input:focus { outline: none; }
.kayak-submit { align-self: center; white-space: nowrap; margin: 0 0.25rem; }

.explore-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1.35rem;
  padding-top: 0.5rem;
  padding-bottom: 3rem;
}

.filter-rail {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1rem 1.25rem;
  box-shadow: var(--shadow-soft);
  height: fit-content;
  position: sticky;
  top: 5.2rem;
}

.filter-rail h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.85rem;
}

.filter-rail fieldset {
  border: none;
  margin: 0 0 1.1rem;
  padding: 0;
}

.filter-rail legend {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mute);
  margin-bottom: 0.45rem;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0.35rem 0;
  color: var(--brand);
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter-chip {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mute);
  background: #f4f6f9;
}

.filter-chip.is-on,
.filter-chip:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.reset-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-hot);
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.mute { color: var(--mute); font-weight: 500; }

.sort-select { width: auto; min-width: 160px; }

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1rem;
}

.active-chip {
  background: rgba(21, 34, 56, 0.08);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.empty-panel {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.empty-panel h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.suggest-title {
  font-family: var(--font-display);
  margin: 1.5rem 0 1rem;
}

@media (max-width: 980px) {
  .kayak-bar {
    grid-template-columns: 1fr 1fr;
    margin-left: 1.25rem;
    margin-right: 1.25rem;
  }
  .kayak-field { border-right: none; border-bottom: 1px solid var(--line); }
  .explore-layout { grid-template-columns: 1fr; }
  .filter-rail { position: static; }
}

.detail-hero {
  position: relative;
  min-height: 380px;
  background: var(--brand-deep) center/cover no-repeat;
  color: #fff;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,21,36,0.2), rgba(11,21,36,0.9));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 1.25rem 2rem;
}

.detail-hero h1 {
  font-family: var(--font-event) !important;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.detail-layout {
  max-width: 1180px;
  margin: -2rem auto 0;
  padding: 0 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 860px) {
  .detail-layout { grid-template-columns: 1fr; margin-top: 1rem; }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.panel h2, .panel h3 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
}

.table-wrap { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--line);
}
.data-table th { color: var(--mute); font-size: 0.78rem; text-transform: uppercase; }

.linkish {
  background: none;
  border: none;
  color: var(--brand);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

.empty {
  color: var(--mute);
  padding: 1.5rem 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.city-switch { margin: 0.85rem 0 0; }
.city-select {
  appearance: none;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.city-select option { color: #152238; }

.wizard-steps {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0 0 1.25rem;
}
.wiz-step {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-weight: 700;
  color: var(--mute);
  cursor: pointer;
}
.wiz-step.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.wiz-panel { display: none; }
.wiz-panel.is-active { display: grid; gap: 0.65rem; }
.price-live {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--brand);
  margin: 0.25rem 0 0.75rem;
}

.detail-hero .btn-ghost {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
}

.gallery-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}
.gallery-scroll img {
  width: 280px;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  scroll-snap-align: start;
  flex: 0 0 auto;
}
.verified-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.review-row {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.review-row p { margin: 0.35rem 0 0; color: var(--mute); }

.chat-bubble {
  padding: 0.65rem 0.85rem;
  margin: 0.45rem 0;
  background: #f4f6f9;
  border-radius: 12px;
  max-width: 85%;
}
.chat-bubble.mine {
  margin-left: auto;
  background: #eef3f9;
}
.chat-meta {
  font-size: 0.75rem;
  color: var(--mute);
  margin-bottom: 0.2rem;
}

/* Home mini search */
.home-search {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 0.4rem;
  max-width: 640px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  padding: 0.35rem;
  backdrop-filter: blur(8px);
}
.home-search .input {
  background: transparent;
  border: none;
  color: #fff;
  padding: 0.55rem 0.9rem;
}
.home-search .input::placeholder { color: rgba(255,255,255,0.65); }
.home-search select.input option { color: #152238; }
