:root {
  --ink: #222222;
  --muted: #717171;
  --line: #dddddd;
  --bg: #ffffff;
  --card: #ffffff;
  --brand: #ff385c;
  --brand-dark: #d90b3e;
  --brand-soft: #fff0f3;
  --ink-soft: #6a6a6a;
  --shadow: 0 1px 2px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.05);
  --shadow-lg: 0 6px 20px rgba(0,0,0,.12);
  --radius: 12px;
  --radius-pill: 40px;
  --font: "Plus Jakarta Sans", "Circular", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
.container { width: min(1280px, calc(100% - 2.5rem)); margin: 0 auto; }
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 0.45rem; }
.logo-icon {
  width: 32px; height: 32px;
  background: var(--brand);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 0.95rem;
}
.logo-mark {
  font-size: 1.35rem;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.logo-sub { display: none; }
.nav {
  display: flex;
  gap: 0.35rem 1rem;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 0.9rem;
}
.nav a {
  color: var(--ink);
  padding: 0.45rem 0.7rem;
  border-radius: 22px;
}
.nav a:hover { background: #f7f7f7; }
.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  background: #f7f7f7;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
.muted { color: var(--muted); }
.hero {
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  margin: 0 0 0.65rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.hero p {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-search {
  margin: 1.75rem auto 0;
  max-width: 720px;
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
}
.hero-search label {
  padding: 0.7rem 1.1rem;
  border-right: 1px solid var(--line);
  gap: 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.hero-search input {
  border: 0;
  padding: 0.15rem 0 0;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.hero-search .search-submit {
  display: flex;
  align-items: center;
  padding: 0.45rem;
}
.hero-search .btn {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.25rem; justify-content: center; }
.btn, button.btn, input[type=submit] {
  display: inline-block;
  background: linear-gradient(90deg, #e61e4d 0%, #e31c5f 50%, #d70466 100%);
  color: #fff !important;
  border: 0;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}
.btn:hover, button.btn:hover { filter: brightness(0.95); }
.btn-outline {
  background: #fff;
  color: var(--ink) !important;
  border: 1px solid var(--ink);
}
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.85rem; border-radius: 22px; }
.btn-danger { background: #222; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem 1.15rem;
}
.card {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  display: block;
  color: inherit;
  transition: transform .15s ease;
}
.card:hover { transform: translateY(-2px); }
.card-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 20/19;
  background: #ebebeb;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-heart {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  pointer-events: none;
}
.card-body { padding: 0.75rem 0.1rem 0; }
.card-body h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}
.card-meta .city { font-weight: 600; font-size: 0.95rem; }
.card-meta .rating { font-size: 0.88rem; white-space: nowrap; }
.price { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.price span { font-weight: 400; color: var(--muted); }
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.badge-warn { background: #fff3e0; color: #9a5b00; }
.badge-danger { background: #fdecea; color: #8a1c1c; }
.section { padding: 1.25rem 0 2.5rem; }
.section h2 {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; font-weight: 600; }
input, select, textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(255, 56, 92, 0.25);
  border-color: var(--brand);
}
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 640px;
  box-shadow: var(--shadow);
}
.form-card p { margin: 0 0 0.9rem; }
.messages { padding-top: 1rem; }
.flash {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.flash-error, .flash-warning { background: #fff3e0; color: #9a5b00; }
.detail-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2rem;
}
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .hero-search { grid-template-columns: 1fr; border-radius: 16px; }
  .hero-search label { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-search .search-submit { justify-content: stretch; padding: 0.75rem; }
  .hero-search .btn { width: 100%; border-radius: 8px; height: auto; padding: 0.75rem; }
}
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.4rem;
  border-radius: 16px;
  overflow: hidden;
  min-height: 320px;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  aspect-ratio: auto;
  min-height: 150px;
}
.gallery img:first-child {
  grid-row: 1 / span 2;
  min-height: 320px;
}
.params { list-style: none; padding: 0; margin: 0; }
.params li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.booking-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 5.5rem;
}
.table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.92rem; }
.help { font-size: 0.85rem; color: var(--muted); }
.amenity-list { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.amenity-list label { flex-direction: row; align-items: center; font-weight: 500; }
.errorlist { color: #a33; font-size: 0.85rem; margin: 0.25rem 0; padding-left: 1.1rem; }
.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.25rem;
}
.city-chips a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.city-chips a:hover {
  border-color: var(--ink);
  background: #f7f7f7;
}
.detail-title { font-size: 1.6rem; font-weight: 700; margin: 0.25rem 0 0.5rem; letter-spacing: -0.02em; }
.detail-sub { color: var(--muted); margin-bottom: 1rem; }
