@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-wght.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { --h: #0B1F4D; --ht: #fff; --a: #4F46E5; --at: #fff; --line: #E3E8F2; --muted: #5E6B85; --text: #16203A; }
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.55; color: var(--text); background: #F6F8FC; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { letter-spacing: -0.022em; line-height: 1.15; }
a { color: var(--a); }
.top { color: #fff; text-align: left; padding: calc(40px + env(safe-area-inset-top)) 20px 44px;
  background: radial-gradient(80% 120% at 0% 0%, color-mix(in srgb, var(--a) 55%, transparent), transparent 60%), var(--h); }
.top > * { max-width: 980px; margin-left: auto; margin-right: auto; }
.top h1 { margin: 14px auto 0; font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 750; letter-spacing: -0.035em; }
.top .logo { display: block; max-height: 72px; max-width: 220px; border-radius: 12px; } .top .logo.box { background: #fff; padding: 6px; }
.top .logo.wide { width: auto; height: auto; max-width: min(100%, 980px); max-height: 200px; border-radius: 16px; margin-left: max(0px, calc((100% - 980px) / 2)); } .top .logo.wide.box { padding: 10px 14px; }
.top .area { opacity: .82; margin-top: 6px; }
main { max-width: 980px; margin: 0 auto; padding: 24px 20px 48px; } main.narrow { max-width: 580px; }
.about { font-size: 1.08rem; color: #3A4660; max-width: 62ch; }
section h2 { font-size: 1.25rem; margin: 28px 0 14px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.item { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16,24,48,.04), 0 2px 8px rgba(16,24,48,.04); display: flex; flex-direction: column; }
.item.focus { border-color: var(--a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 18%, transparent); }
.item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #EEF1F8; }
.item-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; } .item h3 { margin: 0; font-size: 1.05rem; } .item p { margin: 0; color: #4A5672; font-size: .95rem; }
.price { font-weight: 700; margin-top: auto; padding-top: 6px; font-variant-numeric: tabular-nums; }
.row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.item .row { display: grid; grid-template-columns: 1fr auto; } .item .row [data-book] { grid-column: 1 / -1; }
.btn { appearance: none; border: 1px solid transparent; border-radius: 12px; min-height: 44px; padding: 10px 16px; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; background: var(--a); color: var(--at); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn.ghost { background: #fff; border-color: var(--line); color: var(--text); }
.btn.big { width: 100%; min-height: 54px; font-size: 1.02rem; border-radius: 14px; }
.hub { background: #fff; border-radius: 20px; padding: 22px; margin-top: 32px; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16,24,48,.04), 0 2px 8px rgba(16,24,48,.04); }
.hub h2 { margin-top: 0; }
label { display: block; font-weight: 600; font-size: .88rem; margin: 14px 0 6px; }
input, select, textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #D5DCE8; border-radius: 12px; font: inherit; background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 18%, transparent); }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--a) 55%, transparent); outline-offset: 2px; }
.seg { display: flex; gap: 8px; } .seg label { flex: 1; display: flex; align-items: center; gap: 8px; border: 1px solid #D5DCE8; border-radius: 12px; padding: 12px; margin: 0; cursor: pointer; font-weight: 600; } .seg input { width: 20px; min-height: 20px; margin: 0; accent-color: var(--a); }
.seg label:has(input:checked) { border-color: var(--a); background: color-mix(in srgb, var(--a) 7%, #fff); }
.slots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } .slots button { min-height: 42px; border-radius: 10px; border: 1px solid #D5DCE8; background: #fff; padding: 0 14px; font: inherit; font-weight: 600; cursor: pointer; } .slots button.on { border-color: var(--a); background: var(--a); color: var(--at); }
.hp { position: absolute; left: -9999px; }
.muted { color: var(--muted); } .small { font-size: .86rem; }
#msg { font-weight: 600; margin: 0 0 12px; } #msg:empty { display: none; } #msg.ok { color: #15803D; } #msg.bad { color: #B91C1C; background: #FEF2F2; border: 1px solid #FECACA; padding: 12px 14px; border-radius: 12px; }
.sent { text-align: center; padding: 26px 18px; border-radius: 16px; background: #F0FDF4; border: 1px solid #BBF7D0; color: #14532D; } .sent h3 { margin: 0 0 6px; font-size: 1.25rem; } .sent p { margin: 6px 0 0; }
.contact { text-align: center; margin-top: 24px; color: var(--muted); } .contact a { color: inherit; }
.badge { text-align: center; padding: 20px; font-size: .86rem; } .badge img { vertical-align: -3px; margin-right: 2px; } .badge a { color: var(--muted); }
.bubbles { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: #fff; border: 1px solid var(--line); white-space: pre-wrap; word-wrap: break-word; }
.bubble.customer { align-self: flex-end; background: var(--a); color: var(--at); border-color: transparent; border-radius: 18px 18px 6px 18px; } .bubble .meta { font-size: .72rem; opacity: .7; margin-top: 4px; }
#map { height: 60vh; min-height: 300px; border-radius: 18px; margin: 16px 0; border: 1px solid var(--line); }
.doc { background: #fff; color: #16203A; max-width: 800px; margin: 0 auto; padding: 36px; border-radius: 16px; border: 1px solid var(--line); font-size: 14.5px; }
.doc .dh { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.doc .dh img { max-height: 64px; max-width: 200px; } .doc h1 { margin: 0; color: var(--dh, #0B1F4D); }
.doc table { width: 100%; border-collapse: collapse; margin: 18px 0; } .doc th { font-size: .78rem; color: var(--muted); } .doc th, .doc td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: left; } .doc .n { text-align: right; }
.doc .tot { margin-left: auto; width: 280px; } .doc .tot td { border: 0; padding: 4px 6px; } .doc .tot tr.big td { font-size: 1.2rem; font-weight: 750; border-top: 2px solid #16203A; }
@page { size: A4; margin: 14mm; }
@media print { body { background: #fff; } .no-print, .top { display: none !important; } .doc { border: 0; padding: 0; } main { padding: 0; } }
/* Free plan advert for Legends Connect (paid plans only show the small "Hosted by" line) */
.lc-ad { max-width: 680px; margin: 28px auto 0; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #050A3A; color: #fff; font-size: .95rem; line-height: 1.45; box-shadow: 0 18px 36px -20px rgba(5, 10, 58, .55); position: relative; overflow: hidden; }
.lc-ad::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(100deg, #7A14F0, #1C3AEC 48%, #007FF1 72%, #00C3F2); }
.lc-ad img { flex: none; }
.lc-ad div { flex: 1; color: rgba(255, 255, 255, .85); }
.lc-ad b { color: #fff; }
.lc-ad .lc-ad-btn { flex: none; background: #fff; color: #050A3A; font-weight: 700; text-decoration: none; padding: 10px 16px; border-radius: 12px; white-space: nowrap; }
.lc-ad .lc-ad-btn:hover { color: #7A14F0; }
@media (max-width: 520px) { .lc-ad { flex-wrap: wrap; margin-inline: 16px; } .lc-ad .lc-ad-btn { width: 100%; text-align: center; } }
@media print { .lc-ad { display: none; } }

.report { max-width: 580px; margin: 28px auto 0; padding: 0 20px; font-size: .9rem; color: var(--muted); }
.report summary { cursor: pointer; text-align: center; text-decoration: underline; }
.report form { margin-top: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.report .ok { color: #15803D; }
#rmsg.bad { color: #B91C1C; font-weight: 600; }

.top-stars { display: block; width: fit-content; margin-left: max(0px, calc((100% - 980px) / 2)) !important; margin-top: 10px; color: #FFD166; font-weight: 700; text-decoration: none; } .top-stars span { color: var(--ht, #fff); opacity: .85; font-weight: 500; }
.reviews { margin-top: 28px; } .reviews h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.stars { color: #F5A524; letter-spacing: 1px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.review p { margin: 6px 0 0; color: #3A4660; } .review .reply { background: #F6F8FC; border-radius: 10px; padding: 8px 10px; font-size: .92rem; }
.linkish { background: none; border: 0; padding: 0; margin-top: 6px; color: var(--muted); text-decoration: underline; font: inherit; font-size: .8rem; cursor: pointer; }
.pick-stars { display: flex; gap: 6px; margin: 8px 0 4px; }
.pick-stars label { margin: 0; cursor: pointer; } .pick-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick-stars span[aria-hidden] { font-size: 2.6rem; line-height: 1; color: #D5DCE8; transition: color .1s; }
.pick-stars label.lit span[aria-hidden] { color: #F5A524; }
.pick-stars input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--a) 55%, transparent); border-radius: 6px; }
.sr { position: absolute; left: -9999px; }
.ok { color: #15803D; }

.confirm-note { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: #EEF2FF; color: #312E81; font-size: .92rem; line-height: 1.45; }
.pop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(5, 10, 58, .55); }
.pop > div { background: #fff; color: #16203A; max-width: 400px; width: 100%; border-radius: 20px; padding: 26px 22px 20px; text-align: center; box-shadow: 0 30px 60px -20px rgba(5, 10, 58, .5); }
.pop .ic { font-size: 2.4rem; line-height: 1; } .pop h3 { margin: 10px 0 8px; font-size: 1.3rem; } .pop p { margin: 6px 0; line-height: 1.5; } .pop button { margin-top: 16px; width: 100%; }
