:root { color-scheme: light dark; --bg: var(--tg-theme-bg-color, #f4f5f0); --surface: var(--tg-theme-secondary-bg-color, #ffffff); --text: var(--tg-theme-text-color, #123d4a); --muted: var(--tg-theme-hint-color, #55747c); --accent: var(--tg-theme-button-color, #0d5865); --accent-text: var(--tg-theme-button-text-color, #ffffff); --line: color-mix(in srgb, var(--text) 16%, transparent); font-family: Arial, sans-serif; }
* { box-sizing: border-box; }
:where([hidden]) { display: none !important; }
body { min-width: 0; margin: 0; color: var(--text); background: var(--bg); line-height: 1.5; }
button, input { font: inherit; }
.telegram-app { width: min(100%, 560px); min-height: 100vh; margin: 0 auto; padding: max(20px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom)); }
.app-header { padding: 16px 4px 24px; }.eyebrow { margin: 0 0 8px; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }.lead { margin: 14px 0 0; color: var(--muted); font-size: 1.04rem; }
h1, h2, h3, p { margin-top: 0; } h1 { margin-bottom: 0; font-size: clamp(2rem, 9vw, 3rem); line-height: 1.05; } h2 { margin-bottom: 0; font-size: 1.3rem; } h3 { margin: 0; font-size: 1rem; }
.card { margin-bottom: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }.advantages ul { margin: 14px 0 0; padding-left: 20px; }.advantages li + li { margin-top: 8px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }.section-heading > span, .calendar-note, .privacy-note { color: var(--muted); font-size: .84rem; }.gallery { margin: 0 -16px 16px; }.gallery .section-heading { padding: 0 16px 12px; }.gallery-strip { display: grid; grid-auto-columns: minmax(250px, 78vw); grid-auto-flow: column; gap: 12px; overflow-x: auto; padding: 0 16px 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }.gallery figure { margin: 0; overflow: hidden; border-radius: 18px; background: var(--surface); scroll-snap-align: start; }.gallery img { display: block; width: 100%; aspect-ratio: 1.28; object-fit: cover; }.gallery figcaption { padding: 10px 12px 12px; color: var(--muted); font-size: .86rem; }
.calendar-section { margin-bottom: 0; }.calendar-note { margin: 12px 0 16px; }.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }.icon-button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--text); background: transparent; font-size: 1.6rem; cursor: pointer; }.icon-button:focus-visible, .primary-button:focus-visible, .booking-link:focus-visible, .day:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.calendar { width: 100%; border-collapse: collapse; table-layout: fixed; }.calendar th { padding: 6px 1px; color: var(--muted); font-size: .7rem; }.calendar td { padding: 2px; text-align: center; }.day { width: 100%; min-height: 42px; border: 1px solid transparent; border-radius: 10px; color: var(--text); background: transparent; cursor: pointer; }.day.free { border-color: color-mix(in srgb, #3b8b69 50%, transparent); background: color-mix(in srgb, #3b8b69 18%, var(--surface)); }.day.occupied { color: var(--muted); background: color-mix(in srgb, #ad5960 16%, var(--surface)); cursor: not-allowed; }.day.unknown { color: var(--muted); cursor: not-allowed; }.day.selected { color: var(--accent-text); background: var(--accent); }.selection-status { min-height: 1.5em; margin: 12px 0 0; color: var(--muted); font-size: .88rem; }
.request-form { display: grid; gap: 12px; margin-top: 16px; }.request-form label { display: grid; gap: 6px; font-weight: 700; }.request-form input { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--bg); }.primary-button, .booking-link { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 18px; border: 0; border-radius: 13px; color: var(--accent-text); background: var(--accent); font-weight: 800; text-decoration: none; cursor: pointer; }.request-feedback { min-height: 1.5em; margin: 12px 0 0; font-size: .9rem; font-weight: 700; }.request-feedback.error { color: #ad5960; }.booking-link { margin-top: 4px; }.privacy-note { margin: 12px 0 0; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
