/* Baasjaam — üks leht, tume "jaama" maailm.
   Layout: täislaiuses foto-hero → pildiplaatidega tegevused → sihtrühmad → hinnad väljumistabloona → sammud → KKK → kontakt.
   Ühtne tume välimus (nagu keskuse sisustus): tsüaan logost, merevaigukarva tablonumbrid. */

@font-face { font-family: "Unbounded"; font-weight: 500; font-display: swap; src: url(../fonts/unbounded-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-weight: 500; font-display: swap; src: url(../fonts/unbounded-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url(../fonts/unbounded-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url(../fonts/unbounded-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(../fonts/manrope-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(../fonts/manrope-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(../fonts/manrope-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(../fonts/manrope-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url(../fonts/manrope-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url(../fonts/manrope-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Martian Mono"; font-weight: 400; font-display: swap; src: url(../fonts/martian-mono-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Martian Mono"; font-weight: 400; font-display: swap; src: url(../fonts/martian-mono-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  /* värvid */
  --ink: #071017;        /* lehe taust */
  --deck: #0c1a23;       /* vahelduv sektsioon */
  --panel: #102330;      /* kaardid, vorm */
  --rule: #1f3a4a;       /* jooned */
  --text: #e7f4f8;
  --muted: #93aeba;
  --cyan: #00c7f0;       /* logo tsüaan */
  --cyan-ink: #04212b;   /* tekst tsüaanil */
  --amber: #ffb547;      /* tablo numbrid */
  --danger: #ff8a7a;
  /* kirjad */
  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  /* mõõdud */
  --wrap: 1180px;
  --r: 14px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.12rem; line-height: 1.3; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.narrow { max-width: 820px; }
.center { display: flex; justify-content: center; margin-top: 40px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: var(--cyan-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

.label {
  font: 400 0.72rem/1 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow { font: 400 0.76rem/1.4 var(--f-mono); letter-spacing: 0.08em; color: var(--cyan); }

/* nupud */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 0.98rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.92rem; }
.btn-primary { background: var(--cyan); color: var(--cyan-ink); }
.btn-primary:hover { background: #4fdcf7; }
.btn-ghost { background: rgba(7, 16, 23, .45); color: var(--text); border-color: rgba(231, 244, 248, .4); }
.btn-ghost:hover { border-color: var(--text); }
.btn-line { background: transparent; color: var(--cyan); border-color: var(--rule); }
.btn-line:hover { border-color: var(--cyan); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: progress; }

/* teadeteriba */
.notice { background: var(--amber); color: #1d1300; text-align: center; font-weight: 700; padding: 10px var(--gutter-r) 10px var(--gutter); font-size: .95rem; }

/* päis */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(7, 16, 23, .86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.topbar-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { width: 84px; height: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .85; }
.nav a:hover { opacity: 1; color: var(--cyan); }
.toptel { color: var(--text); text-decoration: none; font: 400 .85rem/1 var(--f-mono); letter-spacing: .03em; }
.toptel:hover { color: var(--cyan); }

/* hero */
.hero { position: relative; min-height: min(720px, 88vh); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--ink) 0%, var(--ink) 36%, rgba(7,16,23,.55) 46%, rgba(7,16,23,0) 62%),
    linear-gradient(0deg, var(--ink) 0%, rgba(7,16,23,0) 28%);
}
.hero-in { width: 100%; padding-block: 120px 56px; display: grid; gap: 22px; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); max-width: 11ch; hyphens: manual; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34ch; color: #d3e6ec; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-facts { list-style: none; margin: 18px 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px 34px; border-top: 1px solid rgba(231,244,248,.18); max-width: 620px; color: var(--muted); font-size: .95rem; }
.hero-facts b { display: block; color: var(--text); font: 700 1.35rem/1.2 var(--f-display); }

/* sektsioonid */
.sec { padding-block: clamp(64px, 9vw, 112px); }
.sec-alt { background: var(--deck); }
.sec-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 720px; }
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.sec-lead { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }

/* tegevused */
.acts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.act { margin: 0; background: var(--panel); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.act img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.act figcaption { padding: 16px 18px 20px; display: grid; gap: 6px; }
.act figcaption p { color: var(--muted); font-size: .95rem; }
.act-wide { grid-column: span 2; grid-row: span 2; }
.act-wide img { aspect-ratio: auto; flex: 1 1 0; height: 0; min-height: 260px; }
.act-wide h3 { font-family: var(--f-display); font-size: 1.4rem; }
.act-wide figcaption p { font-size: 1.02rem; }
.act-last { grid-column: span 2; }
.act-last img { aspect-ratio: 2 / 1; }

/* kellele */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.who-card { background: var(--panel); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.who-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.who-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.who-body > p { color: var(--muted); font-size: .95rem; }
.who-body .who-pick { color: var(--text); font-size: .9rem; margin-top: auto; padding-top: 6px; border-top: 1px dashed var(--rule); }
.who-body .btn { align-self: flex-start; }
.who-note { margin-top: 22px; color: var(--muted); font-size: .95rem; }

/* tablo */
.board {
  background: #050b10; border: 1px solid var(--rule); border-radius: var(--r);
  font-family: var(--f-mono); overflow: hidden;
}
.board-head, .board-row summary {
  display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .9fr) 132px;
  gap: 16px; align-items: center; padding: 0 22px;
}
.board-head { min-height: 46px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule); }
.board-head .r, .board-row .price { text-align: right; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.board-row { border-bottom: 1px solid #12232e; }
.board-row:last-child { border-bottom: 0; }
.board-row summary { list-style: none; cursor: pointer; min-height: 74px; }
.board-row summary::-webkit-details-marker { display: none; }
.board-row summary:hover { background: #08141b; }
.board-row .pname { font: 700 1.05rem/1.25 var(--f-display); color: var(--text); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.board-row .pname::before { content: "+"; font-family: var(--f-mono); color: var(--cyan); width: 1ch; transition: transform .2s; }
.board-row[open] .pname::before { content: "–"; }
.board-row .tag { font: 400 .62rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-ink); background: var(--cyan); padding: 4px 7px; border-radius: 4px; }
.board-row .cell { color: #c2d6de; font-size: .85rem; }
.board-row .price { color: var(--amber); font-size: 1.5rem; letter-spacing: .02em; text-shadow: 0 0 14px rgba(255, 181, 71, .28); font-variant-numeric: tabular-nums; }
.board-row .price small { font-size: .8rem; margin-left: 2px; }
.board-row .go { justify-self: end; }
.board-detail { padding: 2px 22px 24px calc(22px + 1ch + 10px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; font-family: var(--f-body); }
.board-detail p { color: #c2d6de; }
.board-detail ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.board-detail li { padding-left: 20px; position: relative; color: var(--text); font-size: .96rem; }
.board-detail li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--cyan); }
.board-detail .note { color: var(--muted); font-size: .9rem; }

.subboards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.subboard { background: var(--panel); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.subboard h3 { font-family: var(--f-display); font-size: 1.05rem; font-weight: 500; }
.subboard .btn { align-self: flex-start; margin-top: auto; }
.subboard-img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-top: auto; }
.mini-table { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-size: .85rem; }
.mini-table th { text-align: right; font-weight: 400; color: var(--muted); font-size: .68rem; letter-spacing: .12em; padding: 0 0 8px; }
.mini-table th:first-child, .mini-table td:first-child { text-align: left; }
.mini-table td { text-align: right; padding: 9px 0; border-top: 1px solid var(--rule); color: var(--amber); font-variant-numeric: tabular-nums; }
.mini-table td:first-child { color: var(--text); }
.kv { list-style: none; margin: 0; padding: 0; display: grid; }
.kv li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--rule); font-size: .95rem; }
.kv li:first-child { border-top: 0; padding-top: 0; }
.kv li span:first-child { min-width: 0; }
.kv li small { display: block; color: var(--muted); font-size: .82rem; }
.kv li b { font: 400 .95rem/1.4 var(--f-mono); color: var(--amber); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fine { color: var(--muted); font-size: .85rem; }

/* sammud */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 26px 24px 26px; border: 1px solid var(--rule); border-radius: var(--r); display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(s); font: 700 2.4rem/1 var(--f-display); color: var(--cyan); margin-bottom: 8px; }
.steps li p { color: var(--muted); }

/* galerii */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; height: clamp(180px, 26vw, 320px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; min-width: 0; }

/* KKK */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.3rem/1 var(--f-mono); color: var(--cyan); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 14px 0 12px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.contact-list { margin: 0; display: grid; }
.contact-list > div > div, .contact-list > div:not(#hours-rows) { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.contact-list dt { font: 400 .7rem/1.9 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-list dd a { color: var(--text); text-decoration-color: var(--cyan); text-underline-offset: 4px; }

/* jalus */
.foot { border-top: 1px solid var(--rule); padding-block: 32px 110px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; color: var(--muted); font-size: .88rem; }
.foot-in img { width: 60px; height: auto; }
.foot-social { display: flex; gap: 16px; margin-left: auto; }

/* mobiili nupuriba */
.mobile-cta { display: none; }

/* ---------- BRONEERIMISAKEN ---------- */
.book {
  border: 0; padding: 0; margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(560px, 100%); max-width: 100%;
  background: var(--deck); color: var(--text);
}
.book::backdrop { background: rgba(2, 6, 9, .72); backdrop-filter: blur(3px); }
.book[open] { animation: slidein .28s ease-out; }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.book-shell { display: flex; flex-direction: column; height: 100%; }
.book-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(18px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) 18px 24px; border-bottom: 1px solid var(--rule); }
.book-head h2 { font-size: 1.25rem; }
.book-x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; color: var(--text); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.book-x:hover { border-color: var(--cyan); color: var(--cyan); }
.book-mount { flex: 1; overflow-y: auto; overscroll-behavior: contain; }

.bf { display: flex; flex-direction: column; min-height: 100%; }
.bf-body { padding: 22px 24px 30px; display: grid; gap: 28px; }
.bf fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.bf legend { padding: 0; margin-bottom: 14px; font: 400 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.bf-pk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bf-pk label { position: relative; display: grid; gap: 2px; padding: 13px 14px; border: 1.5px solid var(--rule); border-radius: 12px; cursor: pointer; background: var(--panel); transition: border-color .15s; min-width: 0; }
.bf-pk label:hover { border-color: #3c6274; }
.bf-pk input { position: absolute; opacity: 0; pointer-events: none; }
.bf-pk label:has(input:checked) { border-color: var(--cyan); box-shadow: inset 0 0 0 1px var(--cyan); }
.bf-pk label:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.bf-pk .n { font-weight: 700; }
.bf-pk .m { color: var(--muted); font-size: .82rem; }
.bf-pk .p { font: 400 .9rem/1.4 var(--f-mono); color: var(--amber); }

.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld > span { font-size: .88rem; font-weight: 600; }
.fld > span i { font-style: normal; color: var(--muted); font-weight: 400; }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; border-radius: 10px;
  border: 1.5px solid var(--rule); background: var(--ink); color: var(--text);
  font: 400 1rem/1.4 var(--f-body);
}
.fld textarea { min-height: 96px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--cyan); }
.fld .hint { color: var(--muted); font-size: .82rem; }
.fld.bad input, .fld.bad select { border-color: var(--danger); }
.fld .err { color: var(--danger); font-size: .84rem; }

.chk { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--panel); cursor: pointer; }
.chk input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cyan); flex: none; }
.chk .t { flex: 1; min-width: 0; }
.chk .t small { display: block; color: var(--muted); font-size: .84rem; }
.chk .pr { font: 400 .9rem/1.6 var(--f-mono); color: var(--amber); white-space: nowrap; }
.chk select { width: auto; min-height: 36px; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--rule); background: var(--ink); color: var(--text); font: inherit; }
.consent { background: transparent; border-style: dashed; font-size: .92rem; }
.hp { position: absolute; left: -9999px; }

.bf-foot { position: sticky; bottom: 0; margin-top: auto; background: var(--panel); border-top: 1px solid var(--rule); padding: 16px max(24px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) 24px; display: flex; align-items: center; gap: 16px; }
.bf-sum { flex: 1; min-width: 0; }
.bf-sum .lbl { font: 400 .66rem/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bf-sum .val { font: 400 1.35rem/1.3 var(--f-mono); color: var(--amber); font-variant-numeric: tabular-nums; }
.bf-sum .sub { font-size: .8rem; color: var(--muted); }
.bf-alert { padding: 12px 14px; border-radius: 10px; background: rgba(255, 181, 71, .1); border: 1px solid rgba(255, 181, 71, .35); color: #ffd99e; font-size: .9rem; }
.bf-alert.err { background: rgba(255, 138, 122, .1); border-color: rgba(255, 138, 122, .4); color: #ffc4bb; }

.bf-done { padding: 40px 28px; display: grid; gap: 18px; }
.bf-done .big { font: 700 1.6rem/1.2 var(--f-display); }
.bf-done p { color: var(--muted); }
.bf-done pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--ink); border: 1px solid var(--rule); border-radius: 10px; padding: 16px; font: 400 .8rem/1.6 var(--f-mono); color: #c2d6de; max-height: 320px; overflow: auto; }
.bf-done .acts-row { display: flex; flex-wrap: wrap; gap: 10px; }

.lydian-host { min-height: 100%; padding: 20px 24px; }

/* ---------- RESPONSIIVSUS ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .toptel { margin-left: auto; }
  .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .act-wide { grid-column: span 2; grid-row: auto; }
  .act-wide img { aspect-ratio: 16 / 9; min-height: 0; height: auto; flex: none; }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subboards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subboard:last-child { grid-column: span 2; }
  .board-head, .board-row summary { grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, .9fr) 120px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar-in { height: 60px; gap: 14px; }
  .topbar .btn { display: none; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; object-position: 55% 40%; }
  .hero-shade { inset: 0 0 auto; height: calc(100vw * .75); background: linear-gradient(0deg, var(--ink) 0%, rgba(7,16,23,0) 40%); }
  .hero-in { padding-block: 0 36px; margin-top: -48px; position: relative; }
  .acts { gap: 12px; }
  .act figcaption { padding: 12px 14px 16px; }
  .act h3 { font-size: 1rem; }
  .act figcaption p { font-size: .88rem; }
  .who { grid-template-columns: minmax(0, 1fr); }
  .who-card { flex-direction: row; }
  .who-card img { width: 34%; aspect-ratio: auto; object-fit: cover; }
  .board-head { display: none; }
  .board-row summary { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n p" "c c" "b b"; gap: 6px 12px; padding: 16px 16px 18px; }
  .board-row .pname { grid-area: n; }
  .board-row .price { grid-area: p; }
  .board-row .cell { display: inline; }
  .board-row .cells { grid-area: c; display: flex; gap: 6px 14px; flex-wrap: wrap; padding-left: calc(1ch + 10px); }
  .board-row .go { grid-area: b; justify-self: start; margin-left: calc(1ch + 10px); margin-top: 6px; }
  .board-detail { grid-template-columns: minmax(0, 1fr); padding: 0 16px 20px calc(16px + 1ch + 10px); gap: 14px; }
  .subboards { grid-template-columns: minmax(0, 1fr); }
  .subboard:last-child { grid-column: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; height: auto; }
  .gallery img { aspect-ratio: 4 / 3; height: auto; }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .contact-list > div > div, .contact-list > div:not(#hours-rows) { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .mobile-cta {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter);
    background: rgba(7,16,23,.94); border-top: 1px solid var(--rule);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  .mobile-cta .btn { flex: 1; }
  .book { width: 100%; }
  .bf-body { padding: 18px 16px 26px; }
  .bf-pk { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .bf-foot { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .book-head { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}
@media (min-width: 761px) { .board-row .cells { display: contents; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .book[open] { animation: none; }
  .btn { transition: none; }
}

/* ---------- Kampaania (Must Reede) ---------- */
.notice a { color: inherit; text-decoration: none; }
.notice a:hover { text-decoration: underline; }
.promo { background: #000; border-block: 1px solid #2a2a2a; }
.promo-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding-block: 44px; }
.promo-text { display: grid; gap: 12px; }
.promo-tag { justify-self: start; font: 400 .72rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: #000; background: var(--amber); padding: 7px 10px; border-radius: 4px; }
.promo h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); }
.promo h2 s { color: var(--muted); font-weight: 500; text-decoration-thickness: 3px; text-decoration-color: var(--danger); }
.promo-price { color: var(--amber); text-shadow: 0 0 24px rgba(255, 181, 71, .35); }
.promo-text > p:last-child { color: #c2d6de; max-width: 60ch; }
.promo-cta { display: grid; gap: 10px; justify-items: start; }
.gc-card { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 12px; padding: 20px 22px; border-radius: 14px; background: linear-gradient(135deg, #000 0%, #10202a 100%); border: 1px solid var(--rule); }
.gc-card-l { grid-column: 1 / -1; font: 400 .7rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.gc-card-v { font: 700 2.4rem/1 var(--f-display); color: var(--text); }
.gc-card-p { font: 400 1rem/1.2 var(--f-mono); color: var(--amber); }
.legend-note { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--muted); }
.terms { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 64ch; }
.terms li { position: relative; padding-left: 20px; color: var(--muted); }
.terms li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--cyan); }
@media (max-width: 760px) {
  .promo-in { grid-template-columns: minmax(0, 1fr); padding-block: 36px; }
}

/* ---------- Haldusliidese lisad (v1.1) ---------- */
.board-row .price s.old { color: var(--muted); font-size: .9rem; text-shadow: none; margin-right: 4px; text-decoration-color: var(--danger); }
.promo-has-img .promo-in { grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto; }
.promo-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.gallery[style*="--cols"]:not([style*="--cols:4"]) { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.act img, .who-card img, .gallery img { background: var(--panel); }
@media (max-width: 760px) {
  .promo-has-img .promo-in { grid-template-columns: minmax(0, 1fr); }
  .promo-img { max-width: 320px; }
  .gallery[style*="--cols"]:not([style*="--cols:4"]) { grid-template-columns: 1fr 1fr; }
}

/* ---------- Broneerimisvorm v1.2: kalender, ajad, lüliti ---------- */
.fld-l, .fld-date > label { font-size: .88rem; font-weight: 600; }
.fld-date { position: relative; }
.date-in { position: relative; }
.date-in input { padding-right: 44px; cursor: pointer; }
.date-ic { position: absolute; right: 13px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; pointer-events: none; }
.fld-date.cal-open .date-in input { border-color: var(--cyan); }

.cal {
  position: absolute; z-index: 30; left: 0; top: calc(100% + 8px); width: min(340px, 100%);
  background: var(--panel); border: 1px solid var(--rule); border-radius: 16px; padding: 14px 14px 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.cal-head b { font: 500 .98rem/1.2 var(--f-display); text-transform: capitalize; }
.cal-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; color: var(--text); font-size: 1.2rem; cursor: pointer; }
.cal-nav:hover:not([disabled]) { border-color: var(--cyan); color: var(--cyan); }
.cal-nav[disabled] { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal-dow { text-align: center; font: 400 .66rem/2 var(--f-mono); color: var(--muted); letter-spacing: .08em; }
.cal-day {
  position: relative; aspect-ratio: 1; border: 0; border-radius: 50%; background: transparent; color: var(--text);
  font: 600 .92rem/1 var(--f-body); cursor: pointer; font-variant-numeric: tabular-nums;
}
.cal-day:hover:not([disabled]) { background: var(--deck); box-shadow: inset 0 0 0 1px var(--cyan); }
.cal-day.today { box-shadow: inset 0 0 0 1px var(--muted); }
.cal-day.sel { background: var(--cyan); color: var(--cyan-ink); box-shadow: none; }
.cal-day[disabled] { color: #4a6370; cursor: not-allowed; text-decoration: line-through; text-decoration-color: rgba(147, 174, 186, .35); }
.cal-day.hol::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--amber); }
.cal-day.sel.hol::after { background: var(--cyan-ink); }
.cal-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--rule); }
.cal-legend { font-size: .78rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.cal-close { background: none; border: 0; color: var(--cyan); font: 600 .88rem var(--f-body); cursor: pointer; padding: 6px 4px; }

.chips-wrap { position: relative; }
.chips { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 2px; }
.chip {
  flex: 0 0 calc((100% - 16px) / 3); scroll-snap-align: start; min-height: 48px; border-radius: 999px;
  border: 1.5px solid var(--rule); background: var(--panel); color: var(--text);
  font: 400 1rem/1 var(--f-mono); cursor: pointer; transition: border-color .15s, background .15s;
}
.chip:hover { border-color: #3c6274; }
.chip[aria-checked="true"] { background: var(--cyan); border-color: var(--cyan); color: var(--cyan-ink); font-weight: 700; }
.chips-wrap.scrolls::after { content: ""; position: absolute; right: 0; top: 0; bottom: 2px; width: 28px; pointer-events: none; background: linear-gradient(90deg, rgba(12, 26, 35, 0), var(--deck)); }
#f-time.bad .chip { border-color: var(--danger); }

.xsw { flex-wrap: wrap; align-items: center; }
.sw { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; cursor: pointer; }
.sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw-track { flex: none; position: relative; width: 46px; height: 26px; border-radius: 99px; background: #23404f; transition: background .2s; }
.sw-track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--text); transition: transform .2s; }
.sw input:checked + .sw-track { background: var(--cyan); }
.sw input:checked + .sw-track::after { transform: translateX(20px); background: var(--cyan-ink); }
.sw input:focus-visible + .sw-track { outline: 2px solid var(--cyan); outline-offset: 2px; }
.seg { display: inline-flex; border: 1.5px solid var(--rule); border-radius: 999px; padding: 3px; gap: 3px; margin-left: 58px; }
.seg-b { border: 0; border-radius: 999px; padding: 7px 14px; background: transparent; color: var(--muted); font: 400 .85rem/1 var(--f-mono); cursor: pointer; }
.seg-b[aria-checked="true"] { background: var(--cyan); color: var(--cyan-ink); font-weight: 700; }

.bf-over { display: grid; gap: 10px; }
.bf-over .fix { display: flex; flex-wrap: wrap; gap: 8px; }
.bf-over .btn { min-height: 38px; font-size: .86rem; color: #ffd99e; border-color: rgba(255, 181, 71, .5); white-space: normal; text-align: left; }
.bf-over .btn:hover { border-color: var(--amber); }
.chk.flash { box-shadow: 0 0 0 2px var(--amber); transition: box-shadow .3s; }

.consent { border-color: rgba(255, 181, 71, .5); background: rgba(255, 181, 71, .06); }
mark.pre { background: var(--amber); color: #1d1300; font-weight: 800; letter-spacing: .04em; padding: 1px 6px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) { .sw-track, .sw-track::after, .chip { transition: none; } }
@media (max-width: 760px) {
  .cal { width: 100%; }
  .seg { margin-left: 0; }
}
.bf-foot { z-index: 5; }
.fld-date.cal-open { z-index: 40; }
.cal { z-index: 40; scroll-margin-bottom: 120px; }
.cal-day[disabled] { text-decoration: none; opacity: .45; }
.xsw .sw { flex: 1 1 100%; }
.xsw .seg { margin: 10px 0 0 58px; }

/* v1.3: väiksemad ühesuurused ajanupud, rippmenüü muu päringule, kinnitus */
.chips { flex-wrap: wrap; overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
.chip { flex: 0 0 76px; width: 76px; min-height: 0; height: 36px; padding: 0; font-size: .9rem; }
.time-sel select { width: 100%; max-width: 220px; min-height: 48px; padding: 11px 13px; border-radius: 10px; border: 1.5px solid var(--rule); background: var(--ink); color: var(--text); font: 400 1rem/1.4 var(--f-body); }
.time-sel select:focus { outline: none; border-color: var(--cyan); }
#f-time.bad .time-sel select { border-color: var(--danger); }
.done-ok { display: flex; align-items: center; gap: 14px; }
.done-ic { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--cyan); display: grid; place-items: center; }
.done-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--cyan-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bf-done p b { color: var(--text); }

/* v1.3.1: üks kerimisriba — dialoog ise ei keri, leht taga ei keri */
.book { overflow: hidden; }
.book-shell { min-height: 0; }
.book-mount { position: relative; min-height: 0; }
html:has(dialog.book[open]) { overflow: hidden; }

/* Küpsiste nõusolek (ainult kui Meta piksel on seadistatud) */
.cookiebar { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; background: #0d1b24; color: var(--text); border: 1px solid rgba(231, 244, 248, .18); border-radius: 14px; padding: 16px 18px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; font-size: .92rem; }
.cookiebar p { margin: 0; flex: 1 1 260px; }
.cookiebar-b { display: flex; gap: 8px; }
.cookiebar .btn { padding: 10px 16px; min-height: 0; }
.foot-cookies { background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; padding: 0; opacity: .8; }
@media (max-width: 760px) { .cookiebar { bottom: 84px; } }
@media (max-width: 760px) { .notice a { display: block; font-size: .84rem; } .notice a + .notice-sep + a { margin-top: 4px; } .notice-sep { display: none; } }
