/* KEY for REST — public website. Palette: Option A "Black & champagne" (the original keyforrest.lt colours).
   Variable names kept from the pine palette: --pine* now hold the warm near-blacks. */
:root {
  --pine: #141211;
  --pine-2: #221F1B;
  --pine-line: #332E28;
  --pine-dark: #0C0B0A;
  --gold: #E2C285;
  --gold-light: #ECD3A0;
  --gold-text: #7D5D1E;
  --ivory: #F5F0E7;
  --paper: #FFFFFF;
  --sand: #EAE3D6;
  --line: #E2D9C9;
  --line-2: #D3C8B5;
  --ink: #171513;
  --ink-2: #3A352E;
  --muted: #665C4C;
  --ok: #1F6B45;
  --ok-bg: #E3F1E8;
  --warn: #6B4600;
  --warn-bg: #FFF3DC;
  --bad: #9A2A1F;
  --bad-bg: #FBE9E7;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--ivory); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--pine); }
a:hover { color: var(--gold-text); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 820px; }
.section { padding-top: 100px; padding-bottom: 100px; }
.section-tight { padding-top: 32px; padding-bottom: 64px; }
.section-bottom { padding-bottom: 100px; }
.section-head-block { padding-top: 72px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 14px; }
.band { background: var(--sand); }
.dark { background: var(--pine); color: var(--paper); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.align-start { align-items: start; }
.two-col { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.two-col > * { flex: 1 1 420px; min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 2px; }
:is(.dark, .hero, .topbar, .site-footer, .cta-band, .page-hero, .mobile-bookbar, .lightbox, .room-card-cta) :focus-visible { outline-color: var(--gold); }

/* Typography */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); }
.eyebrow-light { color: var(--gold); }
.display, .display-xl { font-family: var(--serif); font-weight: 500; color: var(--pine); line-height: 1.06; }
.display { font-size: clamp(34px, 4vw, 48px); }
.display-xl { font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.dark .display { color: var(--paper); }
.h2 { font-family: var(--serif); font-weight: 500; font-size: 36px; color: var(--pine); }
.h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--pine); }
.lead { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 680px; }
.lead-light { font-size: 16px; line-height: 1.7; color: #C9C2B6; }
.prose p { margin: 0 0 1em; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose-lg p { font-size: 18px; }
.price { font-size: 20px; color: var(--ink); }
.price-big { font-family: var(--serif); font-size: 38px; font-weight: 600; color: var(--pine); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 6px; border: 1px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--pine); color: var(--paper); }
.btn-primary:hover { background: var(--pine-2); color: var(--paper); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); color: var(--ink); }
.btn-outline { background: #fff; color: var(--pine); border-color: var(--pine); }
.btn-outline-light { color: var(--paper); border-color: #6A6258; background: transparent; }
.btn-outline-light:hover { color: var(--paper); border-color: var(--paper); }
.btn-ghost-light { color: var(--gold-light); border-color: #4A4339; min-width: 52px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 54px; font-size: 17px; padding: 0 32px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row.spread { justify-content: space-between; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; min-height: 44px; }
.link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }
.icon-btn { width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--line-2); background: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* Topbar & header */
.topbar { background: var(--pine); color: #E9E1D2; font-size: 13px; }
.topbar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; padding-top: 10px; padding-bottom: 10px; }
.topbar-contacts { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.topbar-contacts > * { display: inline-flex; gap: 8px; align-items: center; color: #E9E1D2; text-decoration: none; }
.lang-switch { display: flex; gap: 4px; }
.lang-switch a { color: #E9E1D2; padding: 4px 10px; text-decoration: none; letter-spacing: .04em; border-radius: 4px; }
.lang-switch a.is-active { background: var(--gold); color: var(--pine); font-weight: 700; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 40px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.brand-logo { height: 60px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--pine); }
.brand-sub { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: center; font-weight: 600; }
.main-nav a { text-decoration: none; }
.main-nav a.is-active { color: var(--gold-text); }
.main-nav .btn { color: var(--paper); }

.flash { max-width: 1240px; margin: 16px auto 0; padding: 14px 18px; border-radius: 8px; font-weight: 600; }
.flash-notice { background: var(--ok-bg); color: var(--ok); }
.flash-alert { background: var(--bad-bg); color: var(--bad); }

/* Hero */
.hero { background: var(--pine); }
.hero-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); }
.hero-copy { padding: 96px 64px 140px; display: flex; flex-direction: column; gap: 28px; color: var(--paper); justify-content: center; }
.hero-copy h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 5.2vw, 76px); line-height: 1.02; }
.hero-copy p { max-width: 480px; font-size: 18px; line-height: 1.65; color: #C9C2B6; }
.hero-media { min-height: 520px; position: relative; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.search-overlap { margin-top: -64px; position: relative; }

/* Search form */
.search-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; align-items: end; }
.search-bar { background: var(--paper); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(20, 18, 17, .18); padding: 22px; }
.search-box { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.search-box .btn { grid-column: 1 / -1; }
.search-form label, .field-row label, .form-card label, fieldset label:not(.option):not(.check) { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], input[type=search], select, textarea {
  font-weight: 500; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 6px; padding: 10px 12px; min-height: 48px; width: 100%; letter-spacing: normal; text-transform: none;
}
textarea { min-height: auto; resize: vertical; }

/* Highlights */
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.highlight { background: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.highlight strong { font-size: 17px; color: var(--pine); }
.highlight span { font-size: 15px; line-height: 1.6; color: var(--muted); }
.photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.photo-pair img { width: 100%; height: 420px; object-fit: cover; border-radius: 8px; }
.photo-pair img.offset { margin-top: 48px; }

/* Rooms */
.section-head { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: end; }
.room-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.room-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.room-card-media { position: relative; height: 250px; overflow: hidden; }
.room-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.room-card:hover img { transform: scale(1.03); }
.room-badge { position: absolute; top: 16px; left: 16px; background: var(--pine); color: #F3E7CC; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 4px; }
.room-card-body { padding: 26px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.room-card-body h3 { font-family: var(--serif); font-weight: 600; font-size: 30px; color: var(--pine); }
.room-card-body p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.room-card-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.room-card-cta { background: var(--pine); color: var(--paper); padding: 36px; gap: 18px; justify-content: center; }
.room-card-cta h3 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.1; }
.room-card-cta p { color: #C9C2B6; line-height: 1.65; }
.room-card-cta .btn { align-self: flex-start; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 4px 32px; }
.check-list li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--pine-line); }

.distances { margin: 0; }
.distances div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.distances dt { color: var(--ink-2); }
.distances dd { margin: 0; font-weight: 700; color: var(--pine); white-space: nowrap; }
.map { width: 100%; height: 460px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #E3DCCD; }
.rounded-photo { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius); }

.house-info { margin: 0; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.house-info dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.house-info dd { margin: 4px 0 0; font-size: 18px; font-weight: 700; color: var(--pine); }

.cta-band { position: relative; color: var(--paper); padding: 100px 0; background: linear-gradient(rgba(20, 18, 17, .62), rgba(20, 18, 17, .62)), url("/assets/beach-60b95737.jpg") center / cover; }
.cta-band .display { color: var(--paper); font-size: 54px; }
.cta-band p { font-size: 18px; color: #E9E1D2; max-width: 560px; }

.page-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(20, 18, 17, .5); }
.page-hero-copy { position: relative; z-index: 1; color: var(--paper); padding-top: 120px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 14px; width: 100%; }
.page-hero-copy h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 5vw, 64px); }
.page-hero-copy p { font-size: 18px; max-width: 640px; color: #EDE6D8; }

/* Apartment page */
.crumbs-wrap { padding-top: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.room-title { padding-top: 24px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 600; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 12px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gallery-grid img.main { grid-column: span 2; grid-row: span 2; }
.room-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.room-main { flex: 999 1 560px; min-width: 0; }
.booking-box { flex: 1 1 360px; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 14px 34px rgba(20, 18, 17, .08); position: sticky; top: 24px; }
.price-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.box-foot { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.calendar-card { gap: 22px; }
.months { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 36px; }
.month { display: flex; flex-direction: column; gap: 10px; }
.month-name { text-align: center; color: var(--pine); text-transform: capitalize; }
.weekdays, .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.weekdays { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: capitalize; }
.day { height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 14px; }
.day-free { background: #fff; border: 1px solid var(--line); font-weight: 600; }
.day-busy { background: #E6E0D6; color: #6B6458; text-decoration: line-through; }
.day-sel { background: var(--pine); color: var(--paper); font-weight: 700; }
.day-range { background: #E9DCC0; font-weight: 600; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--ink-2); }
.legend li { display: inline-flex; gap: 8px; align-items: center; }
.sw { width: 16px; height: 16px; border-radius: 4px; display: inline-block; }
.sw-free { background: #fff; border: 1px solid var(--line-2); }
.sw-busy { background: #E6E0D6; }
.sw-sel { background: var(--pine); }
.amenity-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.amenity-groups ul { margin: 10px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--ink-2); }
.group-title { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.rules-row { border-top: 1px solid var(--line); padding-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 32px; font-size: 15px; color: var(--ink-2); }
.rules-row span { display: flex; gap: 10px; align-items: center; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.mini-card { text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.mini-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; }
.mini-card strong { font-family: var(--serif); font-size: 24px; color: var(--pine); }

.note { display: flex; gap: 10px; align-items: center; border-radius: 6px; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.note-ok { background: var(--ok-bg); color: var(--pine); }
.note-warn { background: var(--warn-bg); color: var(--warn); }
.note-bad { background: var(--bad-bg); color: var(--bad); }
.note-gold { background: #F3ECDD; color: var(--ink-2); font-weight: 500; }
.sum { margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum dd { margin: 0; }
.sum .total { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; font-size: 17px; }

/* Booking flow */
.steps { list-style: none; margin: 0; padding: 36px 0 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 8px; }
.steps li > span:last-child { display: flex; flex-direction: column; font-size: 13px; }
.steps strong { font-size: 14px; }
.step-n { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.steps .done { background: var(--paper); border: 1px solid var(--line); }
.steps .done .step-n { background: var(--ok); color: #fff; }
.steps .current { background: var(--pine); color: var(--paper); }
.steps .current .step-n { background: var(--gold); color: var(--ink); }
.steps .todo { border: 1px dashed var(--line-2); color: var(--muted); }
.steps .todo .step-n { border: 1px solid #B9AD98; }
.booking-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 28px; }
.booking-form { flex: 999 1 560px; min-width: 0; }
.booking-form fieldset { margin: 0; }
.booking-form legend, .form-card legend { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--pine); padding: 0 8px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.option { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; cursor: pointer; }
.option:has(input:checked) { border: 2px solid var(--pine); padding: 15px; }
.option input { width: 20px; height: 20px; accent-color: var(--pine); flex-shrink: 0; }
.option-text { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.option-text .muted { font-size: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--pine); flex-shrink: 0; }
.summary { flex: 1 1 340px; min-width: 0; padding: 0; overflow: hidden; position: sticky; top: 24px; }
.summary > .stack { padding: 24px; }
.summary-img { width: 100%; height: 190px; object-fit: cover; }
.kv-grid { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; font-size: 14px; }
.kv-grid dt, .kv dt { color: var(--muted); }
.kv-grid dd, .kv dd { margin: 2px 0 0; font-weight: 700; }
.kv { margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.kv div { display: flex; gap: 12px; }
.kv dt { min-width: 140px; }
.kv dd { font-weight: 500; }
.summary-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.summary-row img { width: 160px; height: 110px; object-fit: cover; border-radius: 8px; }
.summary-row .kv-grid { flex: 1; }
.result-list { display: flex; flex-direction: column; gap: 18px; }
.result { display: grid; grid-template-columns: 260px 1fr auto; gap: 24px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; padding-right: 24px; }
.result img { width: 260px; height: 190px; object-fit: cover; }
.result-price { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.result.is-off { opacity: .7; }
.chip { display: inline-flex; font-size: 12px; font-weight: 700; border-radius: 4px; padding: 4px 10px; }
.chip-warn { background: var(--warn-bg); color: var(--warn); }
.chip-bad { background: var(--bad-bg); color: var(--bad); }
.form-errors { background: var(--bad-bg); color: var(--bad); border-radius: 8px; padding: 12px 16px; }
.form-errors ul { margin: 0; padding-left: 18px; }

/* Contacts */
.contact-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.contact-tile { text-decoration: none; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); border: 1px solid var(--line); }
.contact-tile.dark { background: var(--pine); color: var(--paper); border: 0; }
.contact-tile.dark:hover { color: var(--paper); }
.tile-label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.contact-tile strong { font-size: 19px; }
details summary { font-weight: 700; color: var(--pine); cursor: pointer; }
.kv.small { font-size: 14px; margin-top: 14px; }

/* Footer */
.site-footer { background: var(--pine-dark); color: #C9C1B0; font-size: 15px; margin-top: 0; }
.footer-grid { padding-top: 72px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.footer-grid h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); margin-bottom: 10px; }
.footer-grid a { color: #C9C1B0; }
.footer-logo { height: 88px; width: auto; margin-bottom: 14px; }
.footer-bottom { padding-top: 22px; padding-bottom: 22px; border-top: 1px solid #2A2622; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #A39B8B; }

.cookie-banner { position: fixed; left: 16px; bottom: 16px; max-width: 420px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 10px 30px rgba(20, 18, 17, .2); padding: 18px; display: flex; flex-direction: column; gap: 12px; z-index: 50; font-size: 14px; }
.cookie-banner[hidden] { display: none; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-bookbar { display: none; }

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .hero-copy { padding: 56px 20px 110px; }
  .hero-media { min-height: 300px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .result { grid-template-columns: 1fr; padding: 0 0 18px; }
  .result img { width: 100%; }
  .result > div { padding: 0 18px; }
  .result-price { align-items: flex-start; text-align: left; }
  .photo-pair img { height: 260px; }
  .main-nav { gap: 6px 18px; font-size: 14px; }
  .main-nav .btn { display: none; }
  .cta-band .display { font-size: 38px; }
  .mobile-bookbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: var(--pine-dark); padding: 12px 16px 18px; gap: 10px; z-index: 40; }
  .mobile-bookbar .btn-gold { flex-grow: 1; }
  .site-footer { padding-bottom: 80px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 92px; }
}

/* yyyy-mm-dd date field with native picker */
.date-input { position: relative; display: flex; align-items: stretch; }
.date-input input[type=text] { padding-right: 44px; font-variant-numeric: tabular-nums; }
.date-input .date-native { position: absolute; right: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; min-height: 0; }
.date-input .date-btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.date-input .date-btn:hover { background: var(--sand); color: var(--pine); }

/* Photo lightbox */
.lightbox-link { display: block; position: relative; cursor: zoom-in; overflow: hidden; border-radius: var(--radius); }
.lightbox-link[hidden] { display: none; }
.lightbox-link img { transition: transform .4s; }
.lightbox-link:hover img { transform: scale(1.03); }
.gallery-grid .gallery-item.main { grid-column: span 2; grid-row: span 2; }
.gallery-grid .gallery-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.gallery-more { position: absolute; inset: 0; background: rgba(20, 18, 17, .55); color: var(--paper); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }
.photo-pair .lightbox-link img { width: 100%; height: 420px; object-fit: cover; }
.photo-pair .lightbox-link.offset { margin-top: 48px; }
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(12, 11, 10, .94); color: var(--paper); }
.lightbox::backdrop { background: rgba(12, 11, 10, .94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; pointer-events: none; }
.lightbox-figure img { max-width: min(92vw, 1600px); max-height: 82vh; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); pointer-events: auto; }
.lightbox figcaption { display: flex; gap: 18px; font-size: 15px; color: #E9E1D2; }
.lightbox-counter { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.lightbox-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(34, 31, 27, .7); color: var(--paper); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox-btn:hover { background: var(--pine-2); border-color: var(--gold); }
.lightbox-btn[hidden] { display: none; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 720px) {
  .lightbox-prev, .lightbox-next { top: auto; bottom: 24px; transform: none; }
  .lightbox-figure img { max-height: 70vh; }
}
.photo-pair { align-items: start; }
