/* Rental site styles: evening blue with warm amber light (the "backyard at dusk" look),
   friendly serif headings. No web fonts: Georgia and the system sans are on every device. */

:root {
  --bg: #101a2e;
  --bg-2: #17243d;
  --bg-3: #203150;
  --line: rgba(255, 255, 255, 0.14);
  --line-2: rgba(255, 255, 255, 0.32);
  --text: #f7f1e6;
  --muted: #b9c2d3;
  --amber: #ffb84d;
  --ink: #24160a;
  --bad: #ff9a8a;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--amber); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); max-width: 14ch; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { margin: 0 0 6px; font-size: 1.15rem; line-height: 1.3; }
p { margin: 0; }
.muted { color: var(--muted); }
.center { text-align: center; justify-content: center; }
.center h1, .center h2 { margin-inline: auto; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.narrow { max-width: 820px; }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.band { background: var(--bg-2); }
.head { margin-bottom: 32px; max-width: 40rem; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--amber); color: var(--ink); border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--amber);
  background: var(--amber); color: var(--ink); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: #ffc873; color: var(--ink); }
.btn svg { width: 18px; height: 18px; }
.btn--ghost { background: none; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); border-color: var(--text); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.95rem; }
.more { color: var(--amber); font-weight: 600; }

/* ---------- Header and footer ---------- */

.top { position: sticky; top: 0; z-index: 10; background: rgba(16, 26, 46, 0.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.top__inner { display: flex; align-items: center; gap: 26px; min-height: 66px; }
.brand { font: 400 1.25rem/1.2 var(--serif); text-decoration: none; margin-right: auto; }
.top__nav { display: flex; gap: 24px; }
.top__nav a { color: var(--muted); text-decoration: none; }
.top__nav a:hover, .top__nav a[aria-current] { color: var(--text); }

.foot { border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 0.93rem; }
.foot__inner { display: grid; gap: 6px; }
.foot__links a { color: var(--muted); }

/* ---------- Hero ---------- */

.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 13vw, 150px) 0 clamp(130px, 15vw, 180px); }
.page-hero { padding: clamp(60px, 9vw, 110px) 0 clamp(50px, 7vw, 80px); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(16, 26, 46, 0.92), rgba(16, 26, 46, 0.45) 70%), linear-gradient(0deg, var(--bg), transparent 45%);
}
.hero__lede { font-size: 1.2rem; max-width: 36rem; margin: 20px 0 30px; }
.page-top .hero__lede { margin-bottom: 8px; }
.page-top h1 { max-width: none; }
.crumbs { margin-bottom: 14px; color: var(--muted); }
.crumbs a { color: var(--amber); }

/* ---------- Package picker (works without script: radio buttons + CSS) ---------- */

.picker { padding-top: 0; margin-top: -100px; position: relative; }
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 4vw, 42px); }
.pick { position: relative; border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pick > legend { padding: 0; margin-bottom: 18px; }
.pick > legend h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.pick__radio, .pill input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.tile { position: relative; display: block; border-radius: 14px; overflow: hidden; cursor: pointer; aspect-ratio: 16 / 9; background: var(--bg-3); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.tile:hover img { transform: scale(1.04); }
.tile span { position: absolute; inset: auto 0 0; padding: 36px 14px 10px; font-weight: 600; line-height: 1.25; background: linear-gradient(0deg, rgba(10, 17, 32, 0.95), transparent); }
.pick__radio:checked + .tile { box-shadow: 0 0 0 4px var(--amber); }
.pick__radio:focus-visible + .tile { outline: 3px solid #fff; outline-offset: 5px; }
.pick__guests { order: 1; grid-column: 1 / -1; border: 0; margin: 22px 0 0; padding: 0; min-width: 0; }
.pick__guests legend { font: 400 1.45rem var(--serif); padding: 0; margin-bottom: 14px; }
.pick__result { display: none; order: 2; grid-column: 1 / -1; }
.pick__radio:checked + .tile + .pick__result { display: block; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; }
.pill span { display: inline-block; border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 20px; }
.pill input:checked + span { background: var(--amber); color: var(--ink); border-color: var(--amber); font-weight: 600; }
.pill input:focus-visible + span { outline: 3px solid #fff; outline-offset: 3px; }

.result { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 28px; }
.result__name { font: 400 1.9rem/1.1 var(--serif); margin-bottom: 8px; }
.result__side { display: grid; justify-items: end; gap: 12px; text-align: right; }
.price { font: 400 1.45rem/1.2 var(--serif); }
.ticks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks svg { flex: none; width: 17px; height: 17px; color: var(--amber); transform: translateY(3px); }
.facts { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Home sections ---------- */

.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.level { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.level img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.level div { padding: 22px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split p { margin: 16px 0 24px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.steps li { border-top: 2px solid var(--amber); padding-top: 16px; counter-increment: step; }
.steps li::before { content: counter(step); display: block; font: 400 1.6rem var(--serif); color: var(--amber); margin-bottom: 4px; }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.quote { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.quote blockquote { margin: 0 0 12px; font: 400 1.2rem/1.45 var(--serif); }
.quote figcaption { color: var(--muted); }

.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin-top: 8px; }

.cta h2 { margin-bottom: 14px; }
.cta p + p { margin-top: 22px; }

/* ---------- Package page ---------- */

.detail { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.detail h2 { font-size: 1.8rem; }
.detail h2 + .ticks, .detail h2 + p { margin-top: 16px; }
.detail .ticks + h2, .facts-list + h2 { margin-top: 40px; }
.facts-list { margin: 28px 0 0; display: grid; gap: 10px; }
.facts-list div { display: flex; gap: 12px; }
.facts-list dt { color: var(--muted); min-width: 70px; }
.facts-list dd { margin: 0; }
.aside { position: sticky; top: 90px; display: grid; gap: 16px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.card { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-3); text-decoration: none; }
.card img { width: 100%; height: 100%; object-fit: cover; }
.card span { position: absolute; inset: auto 0 0; padding: 30px 14px 10px; font-weight: 600; background: linear-gradient(0deg, rgba(10, 17, 32, 0.95), transparent); }

/* ---------- Equipment ---------- */

.cat { font-size: 1.7rem; margin: 48px 0 18px; }
.gear { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.gear__item { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.gear__item img, .gear__blank { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-3); }
.gear__item > div { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.gear__item:target { box-shadow: 0 0 0 3px var(--amber); }
.specs { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.95rem; }
.gear__foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gear__foot .price { font-size: 1.15rem; }

/* ---------- Quote form ---------- */

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 28px; }
.form .full, .form__group { grid-column: 1 / -1; }
.form__group { font-size: 1.45rem; margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.form__group:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.field { display: grid; gap: 6px; align-content: start; border: 0; margin: 0; padding: 0; min-width: 0; }
.field__label { font-size: 0.95rem; font-weight: 600; padding: 0; }
.field__label em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--bg); color: var(--text);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); outline: 2px solid var(--amber); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--bad); }
.field__error { color: var(--bad); font-size: 0.92rem; }
.field input::-webkit-calendar-picker-indicator { filter: invert(0.85); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin-top: 24px; padding: 14px 18px; border-radius: 12px; }
.notice--error { background: rgba(255, 154, 138, 0.12); border: 1px solid var(--bad); }
.notice-panel { display: grid; gap: 16px; }
.notice-panel .hero__lede { margin: 0; }

/* ---------- Small screens ---------- */

@media (max-width: 860px) {
  .top__inner { flex-wrap: wrap; gap: 8px 16px; padding-top: 10px; }
  .top__nav { order: 3; width: 100%; overflow-x: auto; gap: 20px; padding-bottom: 10px; white-space: nowrap; }
  .levels, .split, .steps, .detail { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 640px) {
  .pick { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { aspect-ratio: 4 / 3; }
  .tile span { font-size: 0.95rem; padding: 30px 10px 8px; }
  .result { grid-template-columns: 1fr; }
  .result__side { justify-items: start; text-align: left; }
  .form { grid-template-columns: 1fr; }
  .picker { margin-top: -70px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img { transition: none; }
}
