:root {
  --paper: #f3ecdf;
  --paper-2: #e7ddcd;
  --paper-3: #fbf7ef;
  --ink: #191a15;
  --muted: #57544c;
  --pine: #17382d;
  --pine-dark: #0d261e;
  --pine-soft: #dfe9e1;
  --orange: #b84005;
  --orange-dark: #8f2e02;
  --line: rgba(25, 26, 21, .16);
  --shadow: 0 24px 70px rgba(21, 24, 17, .13);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.45; }
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid rgba(184, 64, 5, .42); outline-offset: 3px; }
.ui-icon { width: 20px; height: 20px; flex: 0 0 auto; color: currentColor; fill: currentColor; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.image-loaded { opacity: 1; }
.image-unavailable { opacity: .2; }

.site-header {
  width: min(1460px, calc(100% - 48px));
  height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 50;
}
.brand-link img { width: 154px; height: auto; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 3vw, 48px); }
.desktop-nav a { color: #3c3d37; font-size: 14px; font-weight: 650; text-decoration: none; }
.desktop-nav a:hover { color: var(--orange); }
.header-search-button, .primary-button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: var(--pine);
  color: #fffaf1;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.header-search-button { justify-self: end; }
.header-search-button:hover, .primary-button:hover { background: var(--pine-dark); }
.mobile-menu-button, .mobile-menu { display: none; }

.hero-section {
  width: min(1460px, calc(100% - 48px));
  min-height: calc(100vh - 112px);
  margin: 0 auto 38px;
  padding: clamp(38px, 5vw, 78px);
  border-radius: 30px;
  background: radial-gradient(circle at 10% 0%, rgba(255,255,255,.65), transparent 38%), var(--paper-2);
  display: grid;
  grid-template-columns: minmax(460px, .92fr) minmax(520px, 1.08fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: center;
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 12px; color: var(--orange-dark); font-size: 11px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.hero-copy h1, .section-heading h2, .story-copy h2, .dialog-details h2, .admin-card h2, .auth-card h1, .error-page h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.05em;
}
.hero-copy h1 { max-width: 720px; font-size: clamp(70px, 6.6vw, 112px); line-height: .83; }
.hero-subtitle { max-width: 580px; margin: 28px 0 34px; color: #55564f; font-size: 18px; }

.hero-search {
  padding: 12px;
  border: 1px solid rgba(25,26,21,.11);
  border-radius: 18px;
  background: rgba(251,247,239,.95);
  box-shadow: 0 17px 40px rgba(25,26,21,.08);
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr .75fr;
  gap: 6px;
}
.hero-search label, .filter-bar label { min-width: 0; padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; }
.hero-search label + label { border-left: 1px solid var(--line); }
.hero-search label span, .filter-bar label span, .booking-panel label > span, .admin-form label > span, .auth-card label > span, .admin-search > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero-search label > span, .filter-bar label > span { display: inline-flex; align-items: center; gap: 5px; }
.hero-search label > span .ui-icon, .filter-bar label > span .ui-icon { width: 13px; height: 13px; }
.hero-search input, .hero-search select, .filter-bar input, .filter-bar select {
  width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-weight: 700;
}
.hero-search button { grid-column: 1 / -1; min-height: 52px; border: 0; border-radius: 12px; background: var(--orange); color: white; display: flex; align-items: center; justify-content: center; gap: 9px; font-weight: 800; }
.hero-search button:hover { background: var(--orange-dark); }
.nearby-button { margin-top: 15px; padding: 0; border: 0; background: transparent; color: var(--pine); display: flex; align-items: center; gap: 10px; text-align: left; }
.nearby-button > i { width: 38px; height: 38px; border: 1px solid rgba(23,56,45,.22); border-radius: 50%; display: grid; place-items: center; font-style: normal; }
.nearby-button > i .ui-icon { width: 18px; height: 18px; }
.nearby-button > span { display: flex; flex-direction: column; gap: 1px; }
.nearby-button strong { text-decoration: none; }
.nearby-button small { color: var(--muted); font-size: 11px; }

.hero-visual { min-height: 690px; position: relative; transform: translateZ(0); }
.hero-visual > img { width: 100%; height: 690px; border-radius: 24px; object-fit: cover; box-shadow: var(--shadow); }
.hero-visual::after { content: ""; position: absolute; inset: 0; border-radius: 24px; background: linear-gradient(180deg, transparent 45%, rgba(10,28,22,.82)); pointer-events: none; }
.hero-caption { position: absolute; z-index: 2; left: 34px; right: 310px; bottom: 35px; color: white; display: flex; flex-direction: column; }
.hero-caption span { font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.hero-caption strong { max-width: 420px; font-family: var(--display); font-size: 34px; font-weight: 500; line-height: 1; }
.hero-availability-card {
  width: 270px;
  padding: 22px;
  position: absolute;
  z-index: 3;
  right: -28px;
  bottom: 28px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 18px;
  background: rgba(250,247,239,.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.hero-availability-card p { margin: 0; color: var(--orange-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.hero-availability-card strong { font-family: var(--display); font-size: 26px; line-height: 1; }
.hero-availability-card span { color: var(--muted); font-size: 12px; }
.hero-availability-card button { margin-top: 7px; min-height: 44px; border: 0; border-radius: 10px; background: var(--pine); color: white; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 750; }

.trust-strip {
  width: min(1460px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-strip article { padding: 5px 28px; display: flex; flex-direction: row; align-items: flex-start; gap: 12px; }
.trust-strip article + article { border-left: 1px solid var(--line); }
.trust-strip article > div { display: flex; flex-direction: column; gap: 5px; }
.trust-icon { width: 24px; height: 24px; margin-top: 2px; color: var(--pine); }
.trust-strip strong { font-family: var(--display); font-size: 22px; font-weight: 600; }
.trust-strip span { color: var(--muted); font-size: 12px; }

.cities-section, .listings-section, .story-section { width: min(1380px, calc(100% - 48px)); margin: 0 auto; padding: 96px 0; }
.cities-section { border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 34px; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.section-heading h2 { font-size: clamp(48px, 5vw, 76px); line-height: .94; }
.section-heading > p { max-width: 430px; margin: 0 0 8px; color: var(--muted); }
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.city-card { min-width: 0; height: 280px; padding: 0; border: 0; border-radius: 18px; overflow: hidden; position: relative; background: linear-gradient(135deg, #294b3e, #132e25); color: white; text-align: left; }
.city-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.city-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(6,24,18,.82)); }
.city-card > span { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; display: flex; flex-direction: column; }
.city-card strong { font-family: var(--display); font-size: 30px; font-weight: 500; }
.city-card small { color: rgba(255,255,255,.72); }
.city-card:hover img { transform: scale(1.045); }

.listings-section { width: 100%; max-width: none; padding: 108px max(24px, calc((100% - 1380px) / 2)); background: var(--pine-dark); color: #f8f1e5; }
.listing-heading > p { color: rgba(248,241,229,.64); }
.listings-section .eyebrow { color: #f18447; }
.filter-bar { margin-bottom: 34px; padding: 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.07); display: grid; grid-template-columns: 1.4fr 1fr .75fr .9fr auto; gap: 4px; }
.filter-bar label + label { border-left: 1px solid rgba(255,255,255,.12); }
.filter-bar label span { color: rgba(255,255,255,.5); }
.filter-bar input, .filter-bar select { color: #fff9ef; }
.filter-bar select option { color: var(--ink); }
.filter-bar > button { min-width: 120px; border: 0; border-radius: 11px; background: var(--orange); color: white; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; }
.listing-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 40px 18px; }
.listing-card { min-width: 0; }
.listing-card-open { width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; }
.listing-image-wrap { height: clamp(220px, 22vw, 330px); border-radius: 17px; overflow: hidden; position: relative; display: block; background: linear-gradient(135deg, #315447, #142d24); }
.listing-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.listing-image-wrap::after { content: "İncele"; position: absolute; right: 12px; bottom: 12px; padding: 8px 11px; border-radius: 999px; background: rgba(243,236,223,.92); color: var(--pine-dark); font-size: 10px; font-weight: 850; opacity: 0; transform: translateY(6px); transition: .25s ease; }
.listing-image-wrap em { position: absolute; z-index: 2; left: 11px; top: 11px; padding: 7px 10px; border-radius: 999px; background: rgba(251,247,239,.92); color: var(--pine); font-size: 10px; font-style: normal; font-weight: 850; }
.listing-card-open:hover .listing-image-wrap img { transform: scale(1.035); }
.listing-card-open:hover .listing-image-wrap::after { opacity: 1; transform: none; }
.listing-copy { padding: 13px 2px 0; display: flex; flex-direction: column; gap: 4px; }
.listing-copy small, .listing-copy > span { color: rgba(248,241,229,.58); font-size: 11px; }
.listing-copy strong { min-height: 54px; font-family: var(--display); font-size: 27px; font-weight: 500; line-height: .95; }
.listing-copy b { margin-top: 7px; font-size: 15px; }
.listing-copy b i { color: rgba(248,241,229,.58); font-size: 10px; font-style: normal; font-weight: 500; }
.load-more { min-height: 50px; margin: 48px auto 0; padding: 0 24px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; background: transparent; color: white; display: flex; align-items: center; justify-content: center; gap: 9px; font-weight: 750; }
.load-more:hover { background: rgba(255,255,255,.08); }
.load-more:disabled { cursor: wait; opacity: .62; }

.story-section { padding: 120px 0; display: grid; grid-template-columns: 1.12fr .88fr; gap: 9vw; align-items: center; }
.story-image { height: 650px; overflow: hidden; border-radius: 22px; background: linear-gradient(135deg, var(--pine), #49695d); }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-copy h2 { font-size: clamp(52px, 5vw, 82px); line-height: .9; }
.story-copy > p:not(.eyebrow) { max-width: 530px; margin: 30px 0; color: var(--muted); font-size: 17px; }
.story-copy a { display: inline-flex; min-height: 48px; padding: 0 20px; border-radius: 11px; background: var(--orange); color: white; align-items: center; gap: 9px; font-weight: 750; text-decoration: none; }

footer { padding: 74px max(24px, calc((100% - 1380px)/2)); background: #091d17; color: #f8f1e5; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px; }
footer img { width: 190px; }
footer p { max-width: 420px; color: rgba(248,241,229,.58); }
footer > div { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
footer a { color: rgba(248,241,229,.72); text-decoration: none; }
footer a:hover { color: white; }

.contact-widget { position: fixed; z-index: 70; right: 24px; bottom: 24px; display: flex; flex-direction: column; align-items: end; gap: 10px; }
.contact-actions { width: 224px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: rgba(251,247,239,.97); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.contact-actions a, .contact-actions button { width: 100%; min-height: 48px; padding: 0 12px 0 9px; border: 0; border-radius: 11px; background: transparent; color: var(--ink); display: flex; align-items: center; gap: 11px; text-align: left; text-decoration: none; font-weight: 750; }
.contact-actions .ui-icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--paper-2); color: var(--orange); }
.contact-actions a:hover, .contact-actions button:hover { background: var(--paper-2); }
.contact-toggle { width: 58px; min-width: 58px; height: 58px; min-height: 58px; padding: 0; border: 2px solid var(--paper); border-radius: 50%; background: var(--orange); color: white; box-shadow: 0 13px 34px rgba(132,47,4,.32); display: flex; align-items: center; justify-content: center; }
.contact-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-toggle .ui-icon { width: 25px; height: 25px; }

dialog { color: var(--ink); }
.listing-dialog, .admin-dialog { width: min(1320px, calc(100% - 42px)); max-width: none; max-height: calc(100vh - 42px); padding: 0; border: 0; border-radius: 22px; background: var(--paper); box-shadow: 0 40px 120px rgba(0,0,0,.38); overflow: auto; }
.listing-dialog::backdrop, .admin-dialog::backdrop { background: rgba(5,17,13,.72); backdrop-filter: blur(7px); }
.dialog-close { position: sticky; z-index: 5; top: 14px; float: right; margin: 14px 14px -58px 0; min-height: 42px; padding: 0 15px; border: 1px solid rgba(25,26,21,.16); border-radius: 999px; background: rgba(251,247,239,.93); color: var(--ink); display: inline-flex; align-items: center; gap: 7px; font-weight: 750; }
.dialog-loading { min-height: 500px; display: grid; place-items: center; color: var(--muted); }
.dialog-gallery { height: 510px; padding: 12px; display: grid; grid-template-columns: 1.5fr .75fr .75fr; grid-template-rows: 1fr 1fr; gap: 8px; }
.dialog-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.dialog-gallery img:first-child { grid-row: 1 / 3; }
.dialog-layout { padding: 50px; display: grid; grid-template-columns: 1fr 390px; gap: 70px; }
.dialog-details h2 { font-size: clamp(54px, 6vw, 86px); line-height: .9; }
.dialog-details > p:last-child { max-width: 760px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.dialog-details > #dialog-description { max-width: 760px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.all-gallery-strip { margin-top: 28px; padding-bottom: 10px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 31%); gap: 8px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
.all-gallery-strip img { width: 100%; height: 150px; border-radius: 11px; object-fit: cover; }
.dialog-tags { margin: 24px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dialog-tags span { padding: 8px 12px; border-radius: 999px; background: var(--pine-soft); color: var(--pine); font-size: 12px; font-weight: 750; }
.booking-panel { align-self: start; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper-3); box-shadow: 0 18px 50px rgba(25,26,21,.09); position: sticky; top: 20px; }
.booking-price { margin-bottom: 15px; font-family: var(--display); font-size: 30px; }
.booking-price del { margin-right: 8px; color: var(--muted); font-family: var(--sans); font-size: 14px; }
.booking-price small { color: var(--muted); font-family: var(--sans); font-size: 11px; }
.booking-panel form { display: grid; gap: 10px; }
.booking-panel label, .admin-form label, .auth-card label, .admin-search { display: flex; flex-direction: column; gap: 6px; }
.booking-panel input, .booking-panel textarea, .admin-form input, .admin-form select, .admin-form textarea, .auth-card input, .admin-search input {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); outline: 0;
}
.booking-panel textarea, .admin-form textarea { resize: vertical; }
.booking-split, .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.booking-summary { margin: 2px 0; padding: 11px; border-radius: 10px; background: var(--pine-soft); color: var(--pine); font-size: 12px; }
.booking-panel form > button { min-height: 50px; border: 0; border-radius: 11px; background: var(--orange); color: white; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 850; }
.booking-alternatives { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.booking-alternatives a { min-height: 42px; border: 1px solid var(--line); border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 7px; text-decoration: none; font-size: 12px; font-weight: 750; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-message { min-height: 20px; margin: 0; color: var(--pine); font-size: 12px; font-weight: 700; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 30px; transform: translateX(-50%); max-width: min(440px, calc(100% - 30px)); padding: 13px 18px; border-radius: 11px; background: var(--ink); color: white; box-shadow: var(--shadow); font-weight: 700; text-align: center; }

.auth-page { min-height: 100vh; background: radial-gradient(circle at 20% 10%, #38584c, transparent 35%), var(--pine-dark); display: grid; place-items: center; padding: 30px; }
.auth-shell { width: min(1100px, 100%); display: grid; grid-template-columns: 1fr 520px; gap: 70px; align-items: center; }
.auth-brand img { width: min(340px, 80%); filter: brightness(0) invert(1); }
.auth-card { padding: 46px; border-radius: 22px; background: var(--paper); box-shadow: 0 40px 100px rgba(0,0,0,.32); }
.auth-card h1 { font-size: 50px; line-height: .95; }
.auth-card > p:not(.eyebrow) { color: var(--muted); }
.auth-card form { margin-top: 25px; display: grid; gap: 14px; }
.auth-card form button { min-height: 50px; border: 0; border-radius: 11px; background: var(--orange); color: white; font-weight: 850; }
.auth-error { margin-top: 16px; padding: 12px; border-radius: 10px; background: #f8dcd4; color: #8e2c13; font-size: 13px; }
.auth-back { display: inline-block; margin-top: 20px; color: var(--pine); font-size: 13px; font-weight: 750; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; }
.error-page main { max-width: 650px; text-align: center; }
.error-page img { width: 180px; margin: 0 auto 30px; }
.error-page h1 { font-size: 56px; }
.error-page p { color: var(--muted); }
.error-page a { display: inline-flex; min-height: 48px; padding: 0 20px; border-radius: 10px; background: var(--orange); color: white; align-items: center; text-decoration: none; font-weight: 750; }

/* Admin */
.admin-shell { min-height: 100vh; background: #f5f2eb; display: grid; grid-template-columns: 270px minmax(0,1fr); }
.admin-sidebar { min-height: 100vh; padding: 30px 22px; background: var(--pine-dark); color: white; position: sticky; top: 0; align-self: start; display: flex; flex-direction: column; }
.admin-brand img { width: 165px; }
.admin-sidebar > p { margin: 10px 0 34px; color: rgba(255,255,255,.48); font-size: 12px; }
.admin-sidebar nav { display: grid; gap: 7px; }
.admin-sidebar nav button, .admin-sidebar-footer button, .admin-sidebar-footer a { width: 100%; min-height: 46px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 10px; text-align: left; text-decoration: none; font-size: 13px; font-weight: 700; }
.admin-sidebar nav button:hover, .admin-sidebar nav button.active { background: rgba(255,255,255,.1); color: white; }
.admin-sidebar-footer { margin-top: auto; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 5px; }
.admin-sidebar-footer form { margin: 0; }
.admin-main { min-width: 0; padding: 0 4vw 70px; }
.admin-topbar { min-height: 118px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.admin-topbar h1 { margin: 0; font-family: var(--display); font-size: 38px; font-weight: 500; }
.admin-topbar .eyebrow { margin: 0; }
.admin-topbar > span { color: var(--muted); font-size: 13px; }
.admin-mobile-nav { display: none; }
.admin-view { padding-top: 34px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.admin-stat-grid article, .admin-card { border: 1px solid rgba(25,26,21,.12); border-radius: 16px; background: #fffdf9; box-shadow: 0 10px 30px rgba(25,26,21,.045); }
.admin-stat-grid article { min-height: 165px; padding: 22px; display: flex; flex-direction: column; }
.admin-stat-grid article > span { color: var(--muted); font-size: 12px; font-weight: 700; }
.admin-stat-grid strong { margin: auto 0 2px; font-family: var(--display); font-size: 54px; font-weight: 500; line-height: 1; }
.admin-stat-grid small { color: var(--muted); }
.admin-two-column { margin-top: 16px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 16px; }
.admin-card { padding: 26px; }
.admin-card-heading { margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-card h2 { font-size: 36px; line-height: 1; }
.admin-card-heading p:not(.eyebrow), .narrow-admin-card > p:not(.eyebrow) { margin: 7px 0 0; color: var(--muted); }
.analytics-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.analytics-list div { min-height: 92px; padding: 14px; border-radius: 11px; background: var(--paper); display: flex; flex-direction: column; }
.analytics-list span { color: var(--muted); font-size: 11px; }
.analytics-list strong { margin-top: auto; font-size: 24px; }
.quick-actions { display: grid; gap: 8px; }
.quick-actions button { min-height: 47px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-3); color: var(--ink); display: flex; align-items: center; gap: 10px; text-align: left; font-weight: 700; }
.quick-actions button:hover { border-color: var(--pine); background: var(--pine-soft); }
.admin-search { max-width: 420px; margin-bottom: 18px; }
.admin-listing-table { display: grid; gap: 7px; }
.admin-listing-row { padding: 9px; border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: 64px 1.5fr 1fr .75fr .75fr auto; gap: 14px; align-items: center; }
.admin-listing-row img { width: 64px; height: 56px; border-radius: 9px; object-fit: cover; }
.admin-listing-row > div { min-width: 0; display: flex; flex-direction: column; }
.admin-listing-row strong, .admin-listing-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-listing-row small { color: var(--muted); }
.admin-listing-row em { padding: 5px 8px; border-radius: 999px; background: var(--pine-soft); color: var(--pine); font-size: 10px; font-style: normal; justify-self: start; }
.admin-listing-row em.inactive { background: #eee; color: #777; }
.admin-listing-row button { min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; background: white; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.loading-state, .empty-state { padding: 28px; color: var(--muted); text-align: center; }
.narrow-admin-card { max-width: 850px; }
.admin-form { margin-top: 24px; display: grid; gap: 14px; }
.admin-form .primary-button { justify-self: start; }
.form-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.input-suffix { position: relative; }
.input-suffix b { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.check-grid { display: flex; flex-wrap: wrap; gap: 18px; }
.check-grid label { flex-direction: row; align-items: center; }
.check-grid input { width: 18px; min-height: 18px; }
.reservation-table { display: grid; gap: 8px; }
.reservation-table article { padding: 14px; border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: 1.15fr 1.1fr .85fr .65fr .75fr; gap: 14px; align-items: center; }
.reservation-table article > div { min-width: 0; display: flex; flex-direction: column; }
.reservation-table article small { color: var(--muted); font-size: 10px; }
.reservation-table article span, .reservation-table article a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.reservation-table label { display: flex; flex-direction: column; gap: 3px; }
.reservation-table select { min-height: 38px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.admin-dialog { width: min(900px, calc(100% - 34px)); padding: 32px; }
.admin-dialog-heading { padding-right: 80px; }
.admin-dialog-heading h2 { margin: 0; font-family: var(--display); font-size: 46px; font-weight: 500; }
.upload-row { display: grid; grid-template-columns: 1fr 240px; gap: 8px; }
.danger-button { min-height: 46px; justify-self: start; padding: 0 18px; border: 1px solid #b43820; border-radius: 10px; background: transparent; color: #a12b17; font-weight: 750; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 180px 1fr 170px; }
  .hero-section { grid-template-columns: 1fr 1fr; padding: 42px; gap: 40px; }
  .hero-copy h1 { font-size: clamp(64px, 7vw, 88px); }
  .hero-visual, .hero-visual > img { min-height: 610px; height: 610px; }
  .hero-caption { right: 220px; }
  .hero-availability-card { width: 240px; right: -18px; }
  .listing-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-two-column { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .site-header { width: calc(100% - 30px); height: 72px; grid-template-columns: 1fr auto; }
  .brand-link img { width: 135px; }
  .desktop-nav, .header-search-button { display: none; }
  .mobile-menu-button { min-height: 42px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: transparent; display: inline-flex; align-items: center; gap: 7px; font-weight: 750; }
  .mobile-menu-button .ui-icon { width: 19px; height: 19px; }
  .mobile-menu { position: absolute; top: 64px; right: 0; left: 0; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-3); box-shadow: var(--shadow); }
  .mobile-menu:not([hidden]) { display: grid; }
  .mobile-menu a { padding: 12px; border-radius: 9px; text-decoration: none; font-weight: 700; }
  .mobile-menu a:hover { background: var(--paper-2); }
  .hero-section { width: calc(100% - 30px); min-height: 0; margin-bottom: 20px; padding: 34px 22px 22px; border-radius: 22px; grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(58px, 14vw, 86px); }
  .hero-subtitle { margin: 22px 0; }
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hero-search .search-location { grid-column: 1 / -1; }
  .hero-search label + label { border-left: 0; }
  .hero-search label:nth-of-type(3), .hero-search label:nth-of-type(4) { border-left: 1px solid var(--line); }
  .hero-visual, .hero-visual > img { min-height: 530px; height: 530px; }
  .hero-caption { right: 30px; bottom: 150px; }
  .hero-availability-card { width: calc(100% - 28px); right: 14px; bottom: 14px; }
  .nearby-button { align-items: center; flex-direction: row; gap: 10px; }
  .trust-strip { width: calc(100% - 30px); grid-template-columns: repeat(2,1fr); }
  .trust-strip article { padding: 18px; border: 1px solid var(--line) !important; }
  .cities-section, .story-section { width: calc(100% - 30px); padding: 70px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .listings-section { padding: 78px 15px; }
  .filter-bar { grid-template-columns: repeat(2, 1fr); }
  .filter-bar label + label { border-left: 0; }
  .filter-bar > button { min-height: 48px; grid-column: 1 / -1; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .listing-image-wrap { height: 280px; }
  .story-section { grid-template-columns: 1fr; gap: 42px; }
  .story-image { height: 520px; }
  footer { grid-template-columns: 1.4fr 1fr 1fr; gap: 35px; }
  .dialog-gallery { height: 440px; grid-template-columns: 1fr 1fr; }
  .dialog-gallery img:first-child { grid-column: 1 / 3; grid-row: auto; }
  .dialog-gallery img:nth-child(n+4) { display: none; }
  .dialog-layout { padding: 30px; grid-template-columns: 1fr; gap: 35px; }
  .booking-panel { position: static; }
  .auth-shell { max-width: 560px; grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { min-height: 0; padding: 14px 20px; position: sticky; z-index: 40; flex-direction: row; align-items: center; }
  .admin-sidebar > p, .admin-sidebar nav, .admin-sidebar-footer { display: none; }
  .admin-sidebar.open { align-items: stretch; flex-direction: column; }
  .admin-sidebar.open nav, .admin-sidebar.open .admin-sidebar-footer { width: 100%; margin-top: 14px; display: grid; }
  .admin-main { padding: 0 20px 60px; }
  .admin-topbar { min-height: 96px; }
  .admin-mobile-nav { min-height: 40px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; background: white; display: inline-flex; align-items: center; gap: 7px; }
  .admin-mobile-nav .ui-icon { width: 18px; height: 18px; }
  .admin-topbar > span { display: none; }
  .admin-topbar h1 { font-size: 32px; }
  .admin-listing-row { grid-template-columns: 54px 1fr auto; }
  .admin-listing-row img { width: 54px; height: 50px; }
  .admin-listing-row > span, .admin-listing-row > em, .admin-listing-row > div:nth-of-type(2) { display: none; }
  .reservation-table article { grid-template-columns: 1fr 1fr; }
  .reservation-table article > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .hero-section { padding: 28px 15px 15px; gap: 26px; }
  .hero-copy h1 { font-size: 58px; }
  .hero-subtitle { font-size: 15px; }
  .hero-search { grid-template-columns: 1fr 1fr; padding: 8px; }
  .hero-search label { padding: 7px; }
  .hero-search label:nth-of-type(4) { grid-column: 1 / -1; border-left: 0; }
  .hero-search input, .hero-search select { font-size: 13px; }
  .hero-visual, .hero-visual > img { min-height: 470px; height: 470px; }
  .hero-caption { left: 20px; right: 20px; bottom: 152px; }
  .hero-caption strong { font-size: 27px; }
  .hero-availability-card { padding: 17px; }
  .trust-strip { grid-template-columns: 1fr; }
  .section-heading h2 { font-size: 46px; }
  .city-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .city-card { height: 210px; }
  .city-card strong { font-size: 24px; }
  .filter-bar { grid-template-columns: 1fr; }
  .filter-bar label { border-bottom: 1px solid rgba(255,255,255,.1); }
  .listing-grid { grid-template-columns: 1fr; gap: 32px; }
  .listing-image-wrap { height: 330px; }
  .listing-copy strong { min-height: 0; font-size: 30px; }
  .story-image { height: 430px; }
  .story-copy h2 { font-size: 52px; }
  footer { grid-template-columns: 1fr; gap: 32px; }
  .contact-widget { right: 14px; bottom: 14px; }
  .contact-actions { width: min(268px, calc(100vw - 28px)); padding: 8px; border-radius: 18px; }
  .contact-actions a, .contact-actions button { min-height: 48px; border-radius: 12px; }
  .contact-toggle { width: 56px; min-width: 56px; height: 56px; min-height: 56px; padding: 0; border-radius: 50%; }
  .contact-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .contact-toggle .ui-icon { width: 24px; height: 24px; }
  .dialog-close { width: 44px; min-width: 44px; height: 44px; padding: 0; justify-content: center; }
  .dialog-close span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .listing-dialog { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .dialog-gallery { height: 340px; padding: 0; gap: 3px; }
  .dialog-gallery img { border-radius: 0; }
  .dialog-layout { padding: 27px 16px 42px; }
  .dialog-details h2 { font-size: 50px; }
  .auth-page { padding: 15px; }
  .auth-card { padding: 28px 20px; }
  .auth-card h1 { font-size: 42px; }
  .admin-main { padding: 0 14px 50px; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .admin-stat-grid article { min-height: 135px; padding: 15px; }
  .admin-stat-grid strong { font-size: 42px; }
  .admin-card { padding: 18px 14px; }
  .analytics-list { grid-template-columns: repeat(2, 1fr); }
  .form-grid, .form-grid.three, .upload-row { grid-template-columns: 1fr; }
  .reservation-table article { grid-template-columns: 1fr; }
  .reservation-table article > :last-child { grid-column: auto; }
  .admin-dialog { width: 100%; max-height: 100dvh; height: 100dvh; padding: 24px 15px; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
