:root {
  --blue-dark: #0b4e80;
  --blue: #0f6bae;
  --blue-pale: #e6f2fa;
  --blue-border: #cfe1ee;
  --yellow: #f5b400;
  --yellow-dark: #e0a400;
  --yellow-ink: #4a3200;
  --green: #3a9b5c;
  --green-dark: #2e7d49;
  --green-pale: #e7f4ec;
  --green-ink: #1c5c35;
  --ink: #1d2a33;
  --ink-muted: #445562;
  --ink-faint: #5b6b77;
  --ink-fainter: #8a99a5;
  --border: #e3ecf2;
  --bg-page: #f2f8fc;
}

* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'Nunito', 'Trebuchet MS', sans-serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }

.topbar { background: var(--blue-dark); color: #fff; font-size: 13.5px; font-weight: 600; padding: 8px clamp(20px, 4vw, 48px); display: flex; gap: 28px; align-items: center; }
.topbar .lang-toggle { margin-left: auto; background: rgba(255,255,255,0.14); border-radius: 999px; padding: 3px 12px; color: #fff; font-weight: 800; }

.nav { display: flex; align-items: center; gap: 28px; padding: 14px clamp(20px, 4vw, 48px); background: #fff; box-shadow: 0 1px 0 var(--border); }
.nav .logo { font-weight: 900; font-size: 24px; color: var(--blue); }
.nav .logo-accent { color: var(--yellow); }
.nav-links { display: flex; gap: 24px; font-weight: 700; font-size: 15px; margin-left: 12px; }
.nav-links a { color: var(--ink); }

.btn-primary { background: var(--yellow); color: var(--yellow-ink); border: none; border-radius: 999px; padding: 13px 28px; font: 900 15px 'Nunito', sans-serif; cursor: pointer; }
.btn-primary:hover:not(:disabled) { background: var(--yellow-dark); }
.btn-outline { background: #fff; color: var(--blue); border: 2px solid var(--blue); border-radius: 999px; padding: 9px 20px; font: 800 15px 'Nunito', sans-serif; cursor: pointer; }
.btn-outline:hover:not(:disabled) { background: var(--blue-pale); }
button:disabled { opacity: 0.55; cursor: not-allowed; }

.hero { position: relative; background: linear-gradient(180deg, rgba(11, 78, 128, 0.45) 0%, rgba(11, 78, 128, 0.15) 55%, rgba(11, 78, 128, 0.55) 100%), url('/static/images/6931d31f53f5422eb4652c8cfdd666f8.png') center/cover no-repeat; padding: clamp(56px, 8vw, 110px) clamp(20px, 4vw, 48px) 48px; }
.hero-inner { max-width: 1160px; margin: 0 auto; }
.hero h1 { font-weight: 900; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.1; color: #fff; margin: 0; max-width: 18ch; }
.hero p { font-weight: 700; font-size: clamp(16px, 1.6vw, 19px); color: #fff; max-width: 52ch; }
.hero-search { background: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(11,78,128,0.25); padding: 18px; margin-top: 32px; max-width: 980px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-search .field { flex: 1 1 160px; display: flex; flex-direction: column; gap: 4px; }
.hero-search label { font-size: 12.5px; font-weight: 800; text-transform: uppercase; color: var(--blue-dark); }
.hero-search input { border: 2px solid var(--blue-border); border-radius: 12px; padding: 12px 14px; font: 600 15px 'Nunito', sans-serif; }
.hero-search .btn-primary { align-self: flex-end; }

.trustbar { background: var(--green-pale); padding: 14px clamp(20px, 4vw, 48px); display: flex; gap: 12px 36px; flex-wrap: wrap; font-weight: 700; font-size: 14.5px; color: var(--green-ink); }

.deals { max-width: 1160px; margin: 0 auto; padding: 56px clamp(20px, 4vw, 48px) 24px; }
.deals-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 20px; }
.deals-header h2 { font-weight: 900; font-size: 30px; color: var(--blue-dark); margin: 0; }
.deals-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.deal-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; color: var(--ink); box-shadow: 0 2px 8px rgba(11,78,128,0.06); }
.deal-card:hover { box-shadow: 0 8px 24px rgba(11,78,128,0.16); text-decoration: none; }
.deal-image { position: relative; aspect-ratio: 4/3; }
.deal-image img { width: 100%; height: 100%; object-fit: cover; }
.badge-discount { position: absolute; left: 12px; top: 12px; background: var(--yellow); color: var(--yellow-ink); font-weight: 900; font-size: 13px; border-radius: 999px; padding: 5px 12px; }
.deal-body { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.deal-kind { font-size: 12.5px; font-weight: 800; text-transform: uppercase; color: var(--green); }
.deal-title { font-weight: 800; font-size: 17px; }
.deal-dates { font-size: 14px; font-weight: 600; color: var(--ink-faint); }
.deal-price { margin-top: auto; padding-top: 10px; }
.deal-price s { color: var(--ink-fainter); }
.deal-price strong { color: var(--blue); font-size: 19px; }

.how { background: var(--blue-pale); margin-top: 48px; padding: 56px clamp(20px, 4vw, 48px); }
.how h2 { max-width: 1160px; margin: 0 auto; font-weight: 900; font-size: 30px; color: var(--blue-dark); }
.how-grid { max-width: 1160px; margin: 28px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.how-card { background: #fff; border-radius: 18px; padding: 26px; }
.how-number { width: 52px; height: 52px; border-radius: 50%; color: #fff; display: grid; place-content: center; font-weight: 900; font-size: 22px; }
.how-1 { background: var(--blue); }
.how-2 { background: var(--green); }
.how-3 { background: var(--yellow); color: var(--yellow-ink); }
.how-more-link { display: inline-block; margin-top: 24px; font-weight: 800; }

.seller-pitch { max-width: 1160px; margin: 0 auto; padding: 64px clamp(20px, 4vw, 48px); }
.seller-pitch .eyebrow { font-size: 13px; font-weight: 800; text-transform: uppercase; color: var(--green); }
.seller-pitch h2 { font-weight: 900; font-size: 30px; color: var(--blue-dark); max-width: 22ch; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

.alert-band { background: var(--blue); padding: 56px clamp(20px, 4vw, 48px); }
.alert-band h2, .alert-band p { max-width: 1160px; margin: 0 auto; color: #fff; }
.alert-form { max-width: 820px; margin: 24px auto 0; display: flex; gap: 12px; flex-wrap: wrap; }
.alert-form input { flex: 1 1 160px; border: none; border-radius: 12px; padding: 13px 16px; font: 600 15px 'Nunito', sans-serif; }

.footer { background: var(--blue-dark); color: #bcd6ea; padding: 28px clamp(20px, 4vw, 48px); font-size: 13.5px; font-weight: 600; display: flex; gap: 32px; flex-wrap: wrap; }
.footer-brand { color: #fff; font-weight: 900; }
.footer a { color: #fff; }

.search-recap { background: var(--blue); padding: 18px clamp(20px, 4vw, 48px); }
.recap-form { max-width: 1200px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.recap-form input { border: 2px solid var(--blue-border); border-radius: 10px; padding: 10px 14px; font: 700 15px 'Nunito', sans-serif; }
.recap-form .field { flex: 1 1 200px; display: flex; flex-direction: column; }

.search-layout { max-width: 1200px; margin: 0 auto; padding: 28px clamp(20px, 4vw, 48px) 64px; display: grid; grid-template-columns: minmax(220px, 270px) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.filter-card { background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 2px 8px rgba(11,78,128,0.06); margin-bottom: 16px; }
.filter-card h2 { font-weight: 900; font-size: 17px; color: var(--blue-dark); margin: 0 0 12px; }
.filter-card label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; margin-bottom: 8px; cursor: pointer; }
.date-range-field { display: flex; flex-direction: column; gap: 4px; }
.date-range-display { border: 2px solid var(--blue-border); border-radius: 12px; padding: 10px 12px; font: 600 14px 'Nunito', sans-serif; width: 100%; cursor: pointer; background: #fff; }

.autocomplete-field { position: relative; }
.autocomplete-dropdown { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; margin: 4px 0 0; padding: 4px; list-style: none; background: #fff; border: 2px solid var(--blue-border); border-radius: 12px; max-height: 240px; overflow-y: auto; box-shadow: 0 8px 24px rgba(11,78,128,0.16); }
.autocomplete-option { padding: 8px 10px; border-radius: 8px; cursor: pointer; font: 600 14px 'Nunito', sans-serif; }
.autocomplete-option:hover, .autocomplete-option.active { background: var(--blue-pale); }
.autocomplete-option-sub { display: block; font-size: 12px; font-weight: 600; color: var(--ink-faint); }
.guest-picker-field { position: relative; }
.guest-picker-display { border: 2px solid var(--blue-border); border-radius: 12px; padding: 10px 12px; font: 600 14px 'Nunito', sans-serif; width: 100%; cursor: pointer; background: #fff; }
.guest-picker-panel { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; margin: 4px 0 0; padding: 16px; background: #fff; border: 2px solid var(--blue-border); border-radius: 12px; box-shadow: 0 8px 24px rgba(11,78,128,0.16); display: none; flex-direction: column; gap: 16px; }
.guest-picker-panel:not([hidden]) { display: flex; }
.guest-picker-row { display: flex; justify-content: space-between; align-items: center; }
.guest-picker-row span:first-child { font-weight: 800; font-size: 14px; color: var(--ink); }
.guest-picker-stepper { display: flex; align-items: center; gap: 12px; }
.guest-picker-stepper button { width: 28px; height: 28px; border-radius: 999px; border: 2px solid var(--blue-border); background: #fff; color: var(--blue); font-weight: 900; font-size: 16px; cursor: pointer; line-height: 1; }
.guest-picker-stepper button:hover { background: var(--blue-pale); }
.guest-picker-stepper span:not(:first-child) { min-width: 20px; text-align: center; font-weight: 800; font-size: 14px; }

.results-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
.results-header h1 { font-weight: 900; font-size: 26px; color: var(--blue-dark); margin: 0; }
.sort-tabs { display: flex; gap: 8px; }
.sort-tab { background: #fff; color: var(--blue); border: 2px solid var(--blue-border); border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 13.5px; }
.sort-tab.active { background: var(--blue); color: #fff; border-color: var(--blue); }

.results-list { display: flex; flex-direction: column; gap: 18px; }
.results-list[hidden] { display: none; }
.result-card { display: flex; flex-wrap: wrap; gap: 18px 20px; background: #fff; border-radius: 18px; padding: 14px; color: var(--ink); box-shadow: 0 2px 8px rgba(11,78,128,0.06); }
.result-card:hover { box-shadow: 0 8px 24px rgba(11,78,128,0.16); text-decoration: none; }
.result-image { flex: none; width: clamp(170px, 19vw, 230px); border-radius: 12px; overflow: hidden; position: relative; }
.result-image img { width: 100%; height: 100%; min-height: 160px; object-fit: cover; }
.result-body { flex: 1 1 250px; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 4px 0; }
.result-tags { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12.5px; font-weight: 800; }
.tag-kind { background: var(--blue-pale); color: var(--blue-dark); border-radius: 999px; padding: 4px 12px; }
.tag-seller { background: var(--green-pale); color: var(--green-ink); border-radius: 999px; padding: 4px 12px; }
.result-title { font-weight: 900; font-size: 19px; margin-top: 6px; }
.result-place, .result-dates { font-size: 14px; font-weight: 700; color: var(--ink-faint); }
.result-blurb { font-size: 14px; font-weight: 600; color: var(--ink-muted); max-width: 52ch; }
.result-price { flex: 0 0 auto; margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 128px; text-align: right; }
.result-price s { color: var(--ink-fainter); font-weight: 600; }
.result-price strong { font-weight: 900; font-size: 24px; color: var(--blue); }
.btn-primary-pill { background: var(--yellow); color: var(--yellow-ink); border-radius: 999px; padding: 9px 22px; font-weight: 900; font-size: 14.5px; margin-top: 8px; }
.no-results { padding: 40px; text-align: center; color: var(--ink-faint); font-weight: 700; }
.home-results { max-width: 1160px; margin: 0 auto; padding: 48px clamp(20px, 4vw, 48px) 24px; }
.home-results-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.home-results-header h2 { font-weight: 900; font-size: 30px; color: var(--blue-dark); margin: 0; }
.view-tabs { display: flex; gap: 8px; }
.view-tab { background: #fff; color: var(--blue); border: 2px solid var(--blue-border); border-radius: 999px; padding: 8px 20px; font-weight: 800; font-size: 14px; cursor: pointer; }
.view-tab.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.home-map-wrap { position: relative; }
.home-map { height: 480px; border-radius: 18px; overflow: hidden; margin-top: 4px; }
.map-popup { display: flex; flex-direction: column; gap: 4px; font: 600 14px 'Nunito', sans-serif; }
.map-popup a { color: var(--blue); font-weight: 800; }
.map-popup-photo { width: 100%; max-width: 220px; border-radius: 10px; object-fit: cover; aspect-ratio: 4/3; }
.listing-marker span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 2px solid var(--blue-border); border-radius: 999px; padding: 6px 12px; font: 800 13px 'Nunito', sans-serif; color: var(--blue-dark); box-shadow: 0 2px 6px rgba(11,78,128,0.2); white-space: nowrap; }
.listing-marker svg { width: 16px; height: 16px; flex: none; }
.listing-marker:hover span { background: var(--blue); color: #fff; border-color: var(--blue); }
.home-map-empty { position: absolute; inset: 0 0 auto 0; height: 480px; z-index: 1000; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; background: var(--bg-page); border-radius: 18px; color: var(--ink-faint); font-weight: 700; }
.home-map-empty:not([hidden]) { display: flex; }

@media (min-width: 960px) {
  .home-results-header .view-tabs { display: none; }
  .home-results-body { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 24px; align-items: start; }
  .home-map-wrap { position: sticky; top: 24px; }
  .home-map[hidden] { display: block; }
}

.detail-page { max-width: 1140px; margin: 0 auto; padding: 28px clamp(20px, 4vw, 48px) 64px; }
.back-link { font-size: 14px; font-weight: 800; }
.detail-title-row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 20px; margin-top: 12px; }
.detail-title-row h1 { font-weight: 900; font-size: clamp(28px, 3.2vw, 40px); color: var(--blue-dark); margin: 0; }
.detail-tags { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; font-weight: 800; }
.tag-departs { background: var(--yellow); color: var(--yellow-ink); border-radius: 999px; padding: 5px 12px; }
.tag-place { font-size: 14px; font-weight: 700; color: var(--ink-faint); }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; border-radius: 20px; overflow: hidden; margin-top: 20px; }
.gallery img { width: 100%; height: 185px; object-fit: cover; }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: clamp(28px, 4vw, 64px); align-items: start; padding: 40px 0 0; }
.seller-story { font-size: 15px; line-height: 1.7; font-weight: 600; color: var(--green-ink); max-width: 58ch; background: var(--green-pale); border-radius: 16px; padding: 16px 20px; }
.detail-main h2 { font-weight: 900; font-size: 23px; color: var(--blue-dark); margin: 36px 0 0; }
.amenities-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 28px; margin-top: 14px; max-width: 560px; }
.amenity { font-size: 14.5px; font-weight: 700; }
.transfer-steps { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; max-width: 60ch; }
.transfer-step { display: flex; gap: 14px; }
.step-number { width: 32px; height: 32px; border-radius: 50%; color: #fff; display: grid; place-content: center; font-weight: 900; flex: none; }
.step-1 { background: var(--blue); }
.step-2 { background: var(--green); }
.step-3 { background: var(--yellow); color: var(--yellow-ink); }

.booking-card { position: sticky; top: 20px; background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 8px 24px rgba(11,78,128,0.12); padding: 24px; }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-row s { font-size: 16px; color: var(--ink-fainter); }
.price-row strong { font-weight: 900; font-size: 32px; color: var(--blue); }
.dates-box { border: 2px solid var(--blue-border); border-radius: 14px; margin-top: 18px; }
.dates-box > div { padding: 11px 14px; }
.dates-box .label { display: block; font-size: 11px; font-weight: 900; text-transform: uppercase; color: var(--blue-dark); }
.fixed-dates-note { font-size: 13px; font-weight: 600; color: var(--ink-faint); }
.price-breakdown { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; font-size: 14px; font-weight: 700; }
.price-breakdown > div { display: flex; justify-content: space-between; }
.price-breakdown .total { font-weight: 900; border-top: 2px solid var(--border); padding-top: 7px; }

.escrow-box { font-size: 15px; line-height: 1.7; font-weight: 600; color: var(--blue-dark); max-width: 62ch; background: var(--blue-pale); border-radius: 16px; padding: 20px 24px; margin-top: 14px; }

.process-form { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px; margin-top: 20px; max-width: 640px; box-shadow: 0 2px 8px rgba(11,78,128,0.06); }
.process-form .field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.process-form label { font-size: 12.5px; font-weight: 800; text-transform: uppercase; color: var(--blue-dark); }
.process-form input, .process-form textarea { border: 2px solid var(--blue-border); border-radius: 12px; padding: 12px 14px; font: 600 15px 'Nunito', sans-serif; }
.process-form input:disabled, .process-form textarea:disabled { background: var(--bg-page); color: var(--ink-faint); }
.process-form textarea { resize: vertical; min-height: 80px; }

.auth-page { max-width: 480px; margin: 48px auto; padding: 0 clamp(20px, 4vw, 48px); }
.auth-page h1 { font-weight: 900; font-size: 30px; color: var(--blue-dark); margin: 0 0 20px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .field { display: flex; flex-direction: column; gap: 4px; }
.auth-form label { font-size: 12.5px; font-weight: 800; text-transform: uppercase; color: var(--blue-dark); }
.auth-form input[type="text"], .auth-form input[type="email"], .auth-form input[type="password"] { border: 2px solid var(--blue-border); border-radius: 12px; padding: 12px 14px; font: 600 15px 'Nunito', sans-serif; }
.radio-label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; text-transform: none; margin-top: 6px; }
.auth-error { background: var(--blue-pale); color: var(--blue-dark); border-radius: 12px; padding: 12px 16px; font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.auth-switch { margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--ink-faint); }

.account-info { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; max-width: 480px; }
.account-info > div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.account-info .label { font-size: 12px; font-weight: 900; text-transform: uppercase; color: var(--blue-dark); }

.nav-auth { margin-left: auto; display: flex; align-items: center; gap: 16px; font-weight: 700; font-size: 15px; }
.nav-auth form { margin: 0; }
.nav-auth button { padding: 7px 16px; font-size: 13.5px; }

.listing-form-page { max-width: 640px; }
.listing-form-page select,
.listing-form-page input[type="date"],
.listing-form-page input[type="number"],
.listing-form-page input[type="file"] { border: 2px solid var(--blue-border); border-radius: 12px; padding: 12px 14px; font: 600 15px 'Nunito', sans-serif; }
.listing-form-page textarea { border: 2px solid var(--blue-border); border-radius: 12px; padding: 12px 14px; font: 600 15px 'Nunito', sans-serif; min-height: 90px; resize: vertical; }

.account-listing-row { display: flex; align-items: stretch; gap: 12px; margin-bottom: 18px; }
.account-listing-row .result-card { flex: 1; margin-bottom: 0; }
.account-listing-actions { display: flex; flex-direction: column; gap: 8px; justify-content: center; white-space: nowrap; }
.account-listing-actions a, .account-listing-actions button { font-weight: 800; font-size: 13.5px; }

.maintenance-page { max-width: 480px; margin: 96px auto; padding: 0 clamp(20px, 4vw, 48px); text-align: center; }
.maintenance-page .logo { font-weight: 900; font-size: 28px; color: var(--blue); }
.maintenance-page .logo-accent { color: var(--yellow); }
.maintenance-page h1 { font-weight: 900; font-size: 26px; color: var(--blue-dark); margin: 24px 0 12px; }
.maintenance-page p { font-size: 15.5px; font-weight: 600; color: var(--ink-muted); line-height: 1.6; }

.admin-maintenance-status { font-weight: 700; font-size: 15px; color: var(--ink-muted); margin: 12px 0 20px; }
