/* ==========================================================
   Sakan — inner pages (Stays, Stay details, Sign in, My trips)
   Our own design: same brand (gold + DM Serif + Manrope),
   fully responsive, light + dark themes.
   ========================================================== */
[data-theme="dark"] {
  --bg: #1f2228;
  --surface: #2a2e36;
  --surface-2: #333842;
  --line: rgba(255, 255, 255, .09);
  --text: #f3f3f3;
  --muted: #a6abb4;
  --shadow: 0 18px 40px rgba(0, 0, 0, .35);
  --input: #23272e;
}
[data-theme="light"] {
  --bg: #f7f7f7;
  --surface: #ffffff;
  --surface-2: #f1f1f1;
  --line: rgba(0, 0, 0, .08);
  --text: #1d1d1d;
  --muted: #6b6f76;
  --shadow: 0 18px 40px rgba(29, 29, 29, .09);
  --input: #fafafa;
}
:root {
  --gold: #ffa600;
  --gold-soft: rgba(255, 166, 0, .14);
  --danger: #ff5a5f;
  --ok: #2fbf71;
  --radius: 14px;
  --f-display: "DM Serif Display", Georgia, serif;
  --f-body: "Manrope", sans-serif;
  --f-label: "Raleway", sans-serif;
}

body { background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--f-body); }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.muted { color: var(--muted); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.2; }
.eyebrow { font: 400 15px/1 var(--f-label); letter-spacing: 3px; text-transform: capitalize; color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main { min-height: 60vh; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 10px;
  font: 600 15px/1 var(--f-body); white-space: nowrap;
  transition: transform .2s ease, filter .2s ease, background-color .2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn--gold { background: var(--gold); color: #23262d; }
.btn--ghost { border: 1px solid var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--danger { background: transparent; border: 1px solid var(--danger); color: var(--danger); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.link-btn { color: var(--gold); font-weight: 600; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(0, 0, 0, .08); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { font: 400 32px/1 "Playfair Display SC", serif; color: var(--text); }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a:not(.btn) { font: 400 19px/1 "EB Garamond", serif; color: var(--text); position: relative; padding: 6px 0; }
.main-nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.main-nav > a:hover::after, .main-nav > a.is-active::after { transform: scaleX(1); }
.user-chip { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.avatar-letter { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #23262d; font-weight: 700; }
.theme-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold); transition: transform .25s, border-color .25s; }
.theme-btn:hover { transform: rotate(-15deg); border-color: var(--gold); }
.theme-btn svg { width: 20px; height: 20px; }
.theme-btn .icon-sun { display: none; }
[data-theme="dark"] .theme-btn .icon-sun { display: block; }
[data-theme="dark"] .theme-btn .icon-moon { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; }
.menu-btn span { height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ---------- page heading band ---------- */
.page-hero { position: relative; padding: 70px 0 110px; color: #fff; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 22, 26, .55), rgba(20, 22, 26, .8)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); margin: 14px 0 10px; }
.page-hero p { max-width: 620px; color: rgba(255, 255, 255, .85); }

/* ---------- form controls ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .field > label { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .3px; }
.input, select.input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--input); color: var(--text);
  font: 500 15px var(--f-body); outline: none; transition: border-color .2s, box-shadow .2s;
}
.input:hover { border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.input.is-invalid { border-color: var(--danger); }
.field .error { font-size: 12.5px; color: var(--danger); min-height: 16px; }

/* Dropdowns: hide the browser's default arrow and draw our own gold chevron,
   with the same right spacing as the text on the left */
select.input {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  padding-right: 46px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffa600' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
}
select.input::-ms-expand { display: none; }
select.input option { background: var(--surface); color: var(--text); }

/* Date fields: same gold style for the calendar icon, still clickable */
input[type="date"].input {
  position: relative; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffa600' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
}
input[type="date"].input::-webkit-calendar-picker-indicator {
  opacity: 0; cursor: pointer; width: 18px; height: 18px; margin: 0; padding: 0;
}
[data-theme="dark"] .input { color-scheme: dark; }
[data-theme="light"] .input { color-scheme: light; }

/* ---------- search bar (stays page) ---------- */
.search-bar {
  position: relative; z-index: 3; margin-top: -58px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr auto; gap: 14px; align-items: end;
  padding: 20px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line);
}

/* ---------- listing layout ---------- */
.listing { display: grid; grid-template-columns: 270px 1fr; gap: 32px; padding: 40px 0 80px; }
.filters { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; gap: 26px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.filters h3 { font-size: 20px; }
.filter-group h4 { font: 700 13px/1 var(--f-body); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--text); transition: all .2s;
}
.chip:hover { border-color: var(--gold); }
.chip.is-on { background: var(--gold); border-color: var(--gold); color: #23262d; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; padding: 4px 0; cursor: pointer; }
/* Custom checkbox (same look in both themes) */
.check input {
  -webkit-appearance: none; appearance: none; flex: none;
  width: 20px; height: 20px; margin: 0; border-radius: 6px; cursor: pointer;
  border: 1.5px solid color-mix(in srgb, var(--text) 30%, transparent);
  background: var(--input) center / 14px 14px no-repeat;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.check input:hover { border-color: var(--gold); }
.check input:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--gold-soft); }
.check input:checked {
  border-color: var(--gold); background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323262d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* Custom price slider: gold filled part (set from JS through --fill), round thumb */
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer;
  --fill: 100%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 6px;
  background: linear-gradient(to right, var(--gold) var(--fill), var(--surface-2) var(--fill));
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--surface-2); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--gold); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--surface); box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  transition: transform .15s;
}
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--surface); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--gold-soft); }
.range-value { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 6px; }

.results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.results-head h2 { font-size: 28px; }
.results-head select.input { width: 220px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }

/* ---------- stay card ---------- */
.stay-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  animation: rise .5s ease both;
}
.stay-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stay-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.stay-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.stay-card:hover .stay-card__media img { transform: scale(1.06); }
.pill { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(20, 22, 26, .72); color: #fff; font-size: 12.5px; font-weight: 600; backdrop-filter: blur(6px); }
.heart { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 22, 26, .55); backdrop-filter: blur(6px); transition: transform .2s; }
.heart svg { width: 20px; height: 20px; fill: transparent; stroke: #fff; stroke-width: 2; transition: fill .2s, stroke .2s; }
.heart:hover { transform: scale(1.1); }
.heart.is-on svg { fill: var(--danger); stroke: var(--danger); }
.stay-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px; flex: 1; }
.stay-card__top { display: flex; justify-content: space-between; font-size: 13.5px; }
.loc { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; }
.loc svg { width: 11px; height: 11px; color: var(--gold); }
.rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.rating svg { width: 14px; height: 14px; color: var(--gold); }
.rating small { color: var(--muted); font-weight: 500; }
.stay-card h3 { font-size: 22px; }
.stay-card h3 a:hover { color: var(--gold); }
.stay-card p { font-size: 14px; line-height: 1.55; }
.stay-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.stay-card__foot strong { font-size: 17px; color: var(--gold); }
.facts { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.facts svg { width: 17px; height: 17px; margin-left: 6px; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty h3 { font-size: 26px; margin-bottom: 8px; }
.empty p { margin-bottom: 20px; }

/* ---------- stay details ---------- */
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); padding: 26px 0 12px; }
.crumbs a:hover { color: var(--gold); }
.stay-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.stay-head h1 { font-size: clamp(32px, 4vw, 46px); }
.stay-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 8px; font-size: 15px; }
.stay-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.stay-meta svg { width: 15px; height: 15px; color: var(--gold); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 10px; border-radius: 18px; overflow: hidden; }
.gallery button { position: relative; overflow: hidden; padding: 0; }
.gallery button:first-child { grid-row: span 2; }
.gallery button:nth-child(4) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.gallery button:hover img { transform: scale(1.05); filter: brightness(1.08); }
.stay-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; padding: 40px 0 80px; }
.stay-section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.stay-section:first-child { padding-top: 0; }
.stay-section h2 { font-size: 28px; margin-bottom: 14px; }
.host { display: flex; align-items: center; gap: 16px; }
.host .avatar-letter { width: 56px; height: 56px; font-size: 22px; }
.facts-row { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 18px; }
.facts-row div { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.facts-row svg { width: 26px; height: 26px; color: var(--gold); }
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.amenities li { list-style: none; display: flex; align-items: center; gap: 10px; }
.amenities svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.review-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.review-item { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.review-item header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-item img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.review-item .stars { display: flex; color: var(--gold); }
.review-item .stars svg { width: 13px; height: 13px; }
.review-item p { font-size: 14.5px; }

.book-card { position: sticky; top: 100px; align-self: start; padding: 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.book-card .price { font-size: 15px; }
.book-card .price strong { font: 400 32px/1 var(--f-display); color: var(--gold); }
.date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.breakdown { display: flex; flex-direction: column; gap: 10px; font-size: 15px; padding-top: 6px; }
.breakdown div { display: flex; justify-content: space-between; }
.breakdown .total { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 800; font-size: 17px; }
.small-note { font-size: 13px; text-align: center; color: var(--muted); }

.lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: rgba(10, 10, 12, .92); }
.lightbox.is-open { display: grid; animation: rise .3s ease; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; border-radius: 12px; }
.lightbox button { position: absolute; color: #fff; font-size: 34px; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.lightbox button:hover { background: var(--gold); color: #23262d; }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 24px; color: #fff; font-weight: 600; }

/* ---------- auth page ---------- */
.auth { display: grid; grid-template-columns: 1.05fr 1fr; min-height: calc(100vh - 76px); }
.auth-visual { position: relative; overflow: hidden; color: #fff; display: flex; align-items: flex-end; padding: 56px; }
.auth-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .78)); }
.auth-visual blockquote { position: relative; z-index: 2; max-width: 460px; }
.auth-visual blockquote p { font: 400 30px/1.3 var(--f-display); margin-bottom: 14px; }
.auth-panel { display: grid; place-items: center; padding: 48px 24px; }
.auth-card { width: min(440px, 100%); }
.auth-card h1 { font-size: 40px; margin: 10px 0 6px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 12px; background: var(--surface-2); margin: 26px 0; }
.tabs button { height: 42px; border-radius: 9px; font-weight: 700; color: var(--muted); transition: all .25s; }
.tabs button.is-on { background: var(--surface); color: var(--text); box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.auth-form { display: none; flex-direction: column; gap: 14px; }
.auth-form.is-on { display: flex; animation: rise .35s ease; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 70px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 700; color: var(--gold); padding: 6px 8px; }
.strength { height: 5px; border-radius: 5px; background: var(--surface-2); overflow: hidden; }
.strength i { display: block; height: 100%; width: 0; background: var(--danger); transition: width .3s, background-color .3s; }
.row-between { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- trips page ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: -50px 0 36px; position: relative; z-index: 3; }
.stat { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.stat strong { display: block; font: 400 34px/1.1 var(--f-display); color: var(--gold); }
.trip-tabs { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.trip-list { display: flex; flex-direction: column; gap: 18px; }
.trip {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 22px; align-items: center;
  padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  animation: rise .45s ease both;
}
.trip img { width: 220px; height: 150px; object-fit: cover; border-radius: 10px; }
.trip h3 { font-size: 24px; margin: 6px 0; }
.trip-info { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.5px; color: var(--muted); }
.trip-info span { display: inline-flex; align-items: center; gap: 6px; }
.trip-info svg { width: 16px; height: 16px; color: var(--gold); }
.trip-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.trip-side strong { font-size: 20px; }
.status { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.status--confirmed { background: rgba(47, 191, 113, .15); color: var(--ok); }
.status--completed { background: var(--gold-soft); color: var(--gold); }
.status--cancelled { background: rgba(255, 90, 95, .14); color: var(--danger); }
.code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: var(--muted); }
.trip.is-new { box-shadow: 0 0 0 2px var(--gold); }
.section-title { display: flex; justify-content: space-between; align-items: baseline; margin: 56px 0 20px; }
.section-title h2 { font-size: 32px; }

.modal { position: fixed; inset: 0; z-index: 210; display: none; place-items: center; background: rgba(10, 10, 12, .6); padding: 20px; }
.modal.is-open { display: grid; }
.modal-box { width: min(420px, 100%); padding: 28px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); animation: rise .3s ease; }
.modal-box h3 { font-size: 26px; margin-bottom: 8px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: 50px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 36px; }
.footer-grid h4 { font: 700 14px/1 var(--f-body); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid a, .footer-grid span { display: block; font-size: 15px; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid p { margin-top: 12px; max-width: 280px; font-size: 15px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .listing { grid-template-columns: 1fr; }
  .filters { position: static; }
  .stay-layout { grid-template-columns: 1fr; }
  .book-card { position: static; }
  .search-bar { grid-template-columns: 1fr 1fr; }
  .search-bar .btn { grid-column: span 2; }
}
@media (max-width: 860px) {
  .menu-btn { display: flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 24px 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-header.is-open .main-nav { display: flex; }
  .main-nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav .btn { margin-top: 14px; }
  .main-nav .theme-btn { margin-top: 14px; }
  .user-chip { padding: 14px 0; }
  .site-header.is-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.is-open .menu-btn span:nth-child(2) { opacity: 0; }
  .site-header.is-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .auth { grid-template-columns: 1fr; }
  .auth-visual { min-height: 260px; padding: 28px; }
  .auth-visual blockquote p { font-size: 22px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 140px 140px; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery button:nth-child(4) { grid-column: span 2; }
  .review-list, .amenities { grid-template-columns: 1fr; }
  .trip { grid-template-columns: 1fr; }
  .trip img { width: 100%; height: 200px; }
  .trip-side { align-items: flex-start; text-align: left; }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .search-bar { grid-template-columns: 1fr; }
  .search-bar .btn { grid-column: auto; }
  .date-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
