:root {
  --ivory: #f6f3ed;
  --paper: #fffdf9;
  --sand: #e9dfd1;
  --clay: #a76c50;
  --clay-dark: #87523e;
  --olive: #343d32;
  --olive-soft: #52604e;
  --charcoal: #242622;
  --taupe: #948577;
  --line: rgba(36, 38, 34, .14);
  --muted: #706c65;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: min(1280px, calc(100vw - 64px));
  --shadow: 0 22px 70px rgba(45, 38, 29, .12);
  --radius: 28px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; min-width: 320px; color: var(--charcoal); background: var(--ivory); font-family: var(--sans); line-height: 1.55; overflow-x: hidden; }
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { display: block; width: 100%; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--clay) 75%, white); outline-offset: 4px; }
::selection { color: white; background: var(--clay); }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 999; padding: 10px 16px; background: white; transform: translateY(-180%); border-radius: 999px; }
.skip-link:focus { transform: translateY(0); }
.wrap { width: var(--container); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .69rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .55; }
.muted { color: var(--muted); }
.tiny { color: var(--muted); font-size: .76rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 0 23px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 650; font-size: .88rem; transition: transform .3s var(--ease), color .3s, background .3s, border-color .3s, box-shadow .3s; }
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:disabled { opacity: .42; cursor: not-allowed; }
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { color: white; background: var(--charcoal); box-shadow: 0 13px 30px rgba(36,38,34,.17); }
.btn-primary:hover { background: var(--olive); }
.btn-clay { color: white; background: var(--clay); }
.btn-clay:hover { background: var(--clay-dark); }
.btn-outline { border-color: var(--line); background: transparent; }
.btn-outline:hover { border-color: var(--charcoal); background: rgba(255,255,255,.42); }
.btn-light { color: var(--olive); background: var(--paper); }
.btn-sm { min-height: 38px; padding: 0 15px; font-size: .78rem; }
.icon-btn { display: inline-grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; transition: .25s var(--ease); }
.icon-btn:hover { background: var(--charcoal); color: white; transform: rotate(4deg); }
.icon-btn svg { width: 18px; }

.boot-screen { min-height: 100vh; display: grid; place-content: center; place-items: center; gap: 16px; color: var(--muted); }
.boot-mark { display: grid; width: 70px; height: 70px; place-items: center; color: white; background: var(--olive); border-radius: 24px; font: 2rem var(--serif); animation: breathe 1.8s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(.94); opacity: .75; } }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 18px 0; transition: background .35s, padding .35s, box-shadow .35s; }
.site-header.scrolled { padding: 10px 0; background: color-mix(in srgb, var(--ivory) 89%, transparent); backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav-shell { display: grid; grid-template-columns: 220px 1fr 220px; align-items: center; }
.brand { display: inline-flex; width: max-content; flex-direction: column; font-weight: 750; font-size: 1.4rem; line-height: 1; letter-spacing: .16em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .54rem; font-weight: 650; letter-spacing: .18em; }
.brand.has-logo { flex-direction: row; align-items: center; gap: 10px; letter-spacing: .1em; }
.brand-logo { width: 38px; height: 38px; flex: 0 0 38px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; }
.nav-links { display: flex; justify-content: center; gap: clamp(18px, 2.1vw, 34px); font-size: .82rem; }
.nav-links a { position: relative; padding: 9px 0; }
.nav-links a::after { content: ""; position: absolute; right: 0; bottom: 5px; left: 0; height: 1px; background: var(--charcoal); transform: scaleX(0); transition: transform .3s; transform-origin: right; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-action { justify-self: end; }
.menu-toggle { display: none; justify-self: end; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); }
.menu-toggle span, .menu-toggle span::before { display: block; width: 18px; height: 1.5px; margin: auto; background: currentColor; transition: .25s; content: ""; }
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle.open span { transform: rotate(45deg); }
.menu-toggle.open span::before { transform: rotate(90deg); }

.hero { min-height: min(900px, 100svh); display: grid; align-items: end; padding: 112px 0 44px; }
.hero-grid { display: grid; min-height: min(720px, calc(100svh - 145px)); grid-template-columns: 44% 56%; overflow: hidden; border-radius: 36px; background: var(--sand); box-shadow: var(--shadow); }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(34px, 5vw, 72px); }
.hero h1 { max-width: 650px; margin-top: 28px; font-size: clamp(3.25rem, 6.6vw, 7.8rem); }
.hero h1 em { color: var(--clay); font-weight: 400; }
.hero-subtitle { max-width: 500px; margin: 30px 0; color: #53534e; font-size: clamp(1rem, 1.3vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-image { position: relative; min-height: 560px; overflow: hidden; }
.hero-image img { height: 100%; object-fit: cover; object-position: 63% center; transform: scale(1.02); }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(233,223,209,.24), transparent 30%); pointer-events: none; }
.hero-stamp { position: absolute; right: 28px; bottom: 28px; display: grid; width: 126px; height: 126px; place-items: center; padding: 14px; color: white; background: rgba(52,61,50,.84); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; text-align: center; font: italic 1rem/1.2 var(--serif); backdrop-filter: blur(10px); }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--muted); font-size: .74rem; }
.hero-note span { display: block; width: 6px; height: 6px; background: var(--clay); border-radius: 50%; }

.section { padding: clamp(90px, 10vw, 150px) 0; }
.section-head { display: grid; grid-template-columns: minmax(200px, .65fr) 1.7fr; gap: 40px; margin-bottom: 62px; align-items: end; }
.section-head h2 { max-width: 850px; font-size: clamp(2.8rem, 5.4vw, 6.2rem); }
.section-head p { max-width: 580px; margin-top: 22px; color: var(--muted); }
.section-index { color: var(--clay); font: italic 1.2rem var(--serif); }

.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.about-image { position: relative; margin-left: 7vw; }
.about-image img { aspect-ratio: 4 / 5.2; object-fit: cover; border-radius: 180px 180px 20px 20px; }
.about-caption { position: absolute; right: 18px; bottom: 24px; max-width: 190px; padding: 18px; background: var(--ivory); border-radius: 3px; box-shadow: var(--shadow); font: italic 1.05rem var(--serif); }
.about-copy h2 { max-width: 680px; margin: 25px 0 34px; font-size: clamp(3rem, 5vw, 6rem); }
.about-copy > p { max-width: 610px; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.2rem); }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.about-values strong { display: block; font: 1.55rem var(--serif); }
.about-values span { color: var(--muted); font-size: .75rem; }

.workshops { background: var(--olive); color: var(--ivory); }
.workshops .section-head p { color: rgba(246,243,237,.65); }
.workshops .section-index { color: #d9a489; }
.workshop-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.workshop-card { position: relative; grid-column: span 4; min-height: 620px; overflow: hidden; border-radius: 26px; background: #232b22; }
.workshop-card:nth-child(4), .workshop-card:nth-child(5) { grid-column: span 6; min-height: 540px; }
.workshop-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.workshop-card:hover img { transform: scale(1.045); }
.workshop-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(20,24,19,.86) 100%); }
.workshop-info { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 30px; }
.workshop-info h3 { margin: 11px 0 12px; font-size: clamp(2rem, 3vw, 3.5rem); }
.workshop-info p { max-width: 530px; color: rgba(255,255,255,.7); font-size: .88rem; }
.workshop-meta { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0; }
.chip { display: inline-flex; min-height: 30px; align-items: center; padding: 0 11px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: rgba(255,255,255,.82); font-size: .72rem; backdrop-filter: blur(7px); }
.workshop-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.workshop-price { font: 1.35rem var(--serif); }
.workshop-card .btn { min-height: 42px; padding-inline: 17px; }

.process { position: relative; overflow: hidden; }
.process::before { content: "ТИХО"; position: absolute; top: 60px; left: 50%; color: rgba(167,108,80,.055); font: 21vw/.8 var(--serif); transform: translateX(-50%); pointer-events: none; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 70px; border-top: 1px solid var(--line); }
.process-step { position: relative; padding: 45px 30px 30px 0; border-right: 1px solid var(--line); }
.process-step:not(:first-child) { padding-left: 30px; }
.process-step:last-child { border-right: 0; }
.process-step b { display: inline-grid; width: 44px; height: 44px; place-items: center; margin-bottom: 55px; color: var(--clay); border: 1px solid rgba(167,108,80,.4); border-radius: 50%; font: italic 1rem var(--serif); }
.process-step h3 { margin-bottom: 18px; font-size: 2rem; }
.process-step p { color: var(--muted); font-size: .88rem; }

.schedule { background: var(--sand); }
.schedule-shell { display: grid; grid-template-columns: 310px 1fr; gap: 42px; align-items: start; }
.schedule-aside { position: sticky; top: 110px; }
.schedule-aside h2 { margin: 18px 0 25px; font-size: clamp(3rem, 5vw, 5.5rem); }
.schedule-aside p { color: var(--muted); }
.legend { display: grid; gap: 10px; margin-top: 35px; font-size: .76rem; }
.legend span { display: flex; align-items: center; gap: 10px; }
.legend i { width: 9px; height: 9px; background: var(--olive); border-radius: 50%; }
.legend span:last-child i { background: var(--taupe); }
.schedule-list { display: grid; gap: 12px; }
.date-group { margin-bottom: 22px; }
.date-label { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 12px; padding: 0 4px 12px; border-bottom: 1px solid rgba(36,38,34,.2); }
.date-label h3 { font-size: 1.8rem; }
.date-label span { color: var(--muted); font-size: .75rem; }
.session-row { display: grid; grid-template-columns: 85px 1fr 130px 150px; gap: 20px; align-items: center; padding: 19px; border: 1px solid transparent; border-radius: 18px; background: rgba(255,255,255,.58); transition: .25s var(--ease); }
.session-row:hover { border-color: rgba(36,38,34,.16); background: var(--paper); transform: translateX(4px); }
.session-time { font: 1.6rem var(--serif); }
.session-title { font-weight: 720; }
.session-title small { display: block; margin-top: 3px; color: var(--muted); font-weight: 400; font-size: .75rem; }
.places { color: var(--olive); font-size: .8rem; }
.places.low { color: #a6513b; }
.places.full { color: var(--muted); }
.session-action { text-align: right; }
.session-action .btn { min-height: 42px; padding-inline: 16px; }
.schedule-empty { padding: 60px; border: 1px dashed var(--line); border-radius: 20px; text-align: center; }

.gallery { background: var(--paper); }
.gallery-grid { display: grid; height: 900px; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1.1fr .9fr; gap: 18px; }
.gallery-item { position: relative; overflow: hidden; border: 0; border-radius: 18px; background: var(--sand); cursor: zoom-in; }
.gallery-item:nth-child(1) { grid-column: 1 / 8; grid-row: 1; }
.gallery-item:nth-child(2) { grid-column: 8 / 13; grid-row: 1; }
.gallery-item:nth-child(3) { grid-column: 1 / 5; grid-row: 2; }
.gallery-item:nth-child(4) { grid-column: 5 / 9; grid-row: 2; }
.gallery-item:nth-child(5) { grid-column: 9 / 13; grid-row: 2; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.gallery-item:hover img { transform: scale(1.045); filter: saturate(.85); }
.gallery-item span { position: absolute; right: 14px; bottom: 14px; left: 14px; padding: 13px 15px; color: white; background: rgba(36,38,34,.57); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: .75rem; opacity: 0; backdrop-filter: blur(10px); transform: translateY(8px); transition: .3s; }
.gallery-item:hover span { opacity: 1; transform: none; }

.faq { background: var(--ivory); }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 10vw, 150px); }
.faq-intro h2 { margin: 20px 0 25px; font-size: clamp(3.2rem, 5.7vw, 6.2rem); }
.faq-intro p { max-width: 420px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { display: grid; width: 100%; grid-template-columns: 1fr 38px; gap: 20px; align-items: center; padding: 24px 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.faq-question strong { font: 1.35rem var(--serif); }
.faq-plus { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: .35s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; width: 11px; height: 1px; background: currentColor; }
.faq-plus::after { transform: rotate(90deg); }
.faq-question[aria-expanded="true"] .faq-plus { color: white; background: var(--clay); border-color: var(--clay); transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s var(--ease); }
.faq-answer > div { overflow: hidden; }
.faq-answer p { max-width: 650px; padding: 0 50px 0 0; color: var(--muted); }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer p { padding-bottom: 28px; }

.contact { padding-bottom: 32px; }
.contact-panel { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden; color: var(--ivory); background: var(--olive); border-radius: 34px; }
.contact-copy { padding: clamp(44px, 7vw, 95px); }
.contact-copy h2 { max-width: 720px; margin: 25px 0 30px; font-size: clamp(3.3rem, 6vw, 7rem); }
.contact-copy p { max-width: 620px; margin-bottom: 38px; color: rgba(255,255,255,.65); }
.contact-aside { display: grid; align-content: center; gap: 0; padding: 60px; background: rgba(0,0,0,.12); }
.contact-row { padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-row:last-child { border-bottom: 0; }
.contact-row label { display: block; margin-bottom: 8px; color: rgba(255,255,255,.48); font-size: .69rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-row strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.contact-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.contact-links a { padding: 8px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: .74rem; }
.demo-notice { padding: 13px 20px; color: #654b3c; background: #efe0d2; border-radius: 12px; font-size: .75rem; text-align: center; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 32px 0 45px; color: var(--muted); font-size: .75rem; }
.footer .brand { color: var(--charcoal); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

.overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(29,31,28,.72); backdrop-filter: blur(10px); animation: fade .25s both; }
@keyframes fade { from { opacity: 0; } }
.modal { position: relative; width: min(700px, 100%); max-height: min(850px, calc(100svh - 40px)); overflow: auto; background: var(--paper); border-radius: 28px; box-shadow: 0 35px 100px rgba(0,0,0,.28); animation: modalIn .4s var(--ease) both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(22px) scale(.97); } }
.modal-wide { width: min(920px, 100%); }
.modal-close { position: sticky; z-index: 5; top: 16px; float: right; margin: 16px 16px 0 0; background: var(--ivory); }
.modal-body { padding: 38px clamp(24px, 6vw, 62px) 48px; clear: both; }
.modal-body h2 { margin: 18px 0; font-size: clamp(2.7rem, 6vw, 4.6rem); }
.modal-lead { color: var(--muted); }
.booking-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 28px 0; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 16px; }
.booking-summary div { padding: 16px; background: var(--ivory); }
.booking-summary span { display: block; margin-bottom: 4px; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .76rem; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--charcoal); border: 1px solid var(--line); border-radius: 12px; background: white; transition: border .2s, box-shadow .2s; }
.field textarea { min-height: 105px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(167,108,80,.12); }
.field small { color: var(--muted); font-size: .68rem; }
.check { display: flex; gap: 11px; align-items: flex-start; margin: 20px 0; color: var(--muted); font-size: .75rem; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--clay); }
.modal-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 28px; }
.review-card { margin-top: 25px; padding: 8px 24px; background: var(--ivory); border-radius: 16px; }
.review-row { display: grid; grid-template-columns: 155px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.review-row:last-child { border-bottom: 0; }
.review-row span { color: var(--muted); font-size: .78rem; }
.success-mark { display: grid; width: 68px; height: 68px; place-items: center; color: white; background: var(--olive); border-radius: 50%; font-size: 1.6rem; }
.message-box { margin-top: 22px; padding: 20px; white-space: pre-wrap; background: var(--ivory); border: 1px dashed rgba(36,38,34,.25); border-radius: 14px; font-size: .82rem; }
.warning-box { margin-top: 18px; padding: 15px 18px; color: #6d4a37; background: #f3e3d5; border-radius: 12px; font-size: .78rem; }
.lightbox { width: min(1150px, 100%); max-height: 92svh; overflow: hidden; background: #171816; border-radius: 20px; }
.lightbox img { width: 100%; max-height: 82svh; object-fit: contain; }
.lightbox-caption { display: flex; justify-content: space-between; padding: 14px 18px; color: white; font-size: .8rem; }

.toast-region { position: fixed; z-index: 200; right: 22px; bottom: 22px; display: grid; gap: 10px; width: min(380px, calc(100vw - 44px)); }
.toast { padding: 15px 18px; color: white; background: var(--charcoal); border-radius: 12px; box-shadow: var(--shadow); font-size: .8rem; animation: toastIn .35s var(--ease); }
.toast.error { background: #8f4439; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }

/* Admin */
.login-page { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.login-visual { position: relative; min-height: 100svh; overflow: hidden; }
.login-visual img { height: 100%; object-fit: cover; }
.login-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(30,32,28,.65)); }
.login-quote { position: absolute; z-index: 2; right: 55px; bottom: 55px; left: 55px; color: white; }
.login-quote h2 { max-width: 600px; font-size: clamp(3rem, 5vw, 6rem); }
.login-panel { display: grid; place-items: center; padding: 50px; }
.login-box { width: min(440px, 100%); }
.login-box .brand { margin-bottom: 80px; }
.login-box h1 { margin: 18px 0 15px; font-size: 3.6rem; }
.login-box > p { margin-bottom: 30px; color: var(--muted); }
.login-box .field { margin-bottom: 18px; }
.login-box .btn { width: 100%; }
.login-help { margin-top: 22px; color: var(--muted); font-size: .73rem; }
.back-site { display: inline-flex; gap: 9px; margin-top: 30px; align-items: center; font-size: .78rem; }

.admin-app { min-height: 100svh; background: #f2efe9; }
.admin-sidebar { position: fixed; z-index: 40; top: 0; bottom: 0; left: 0; display: flex; width: 265px; flex-direction: column; padding: 28px 20px; color: white; background: var(--olive); }
.admin-sidebar .brand { margin: 3px 10px 45px; color: white; }
.side-label { margin: 0 12px 12px; color: rgba(255,255,255,.38); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; }
.side-nav { display: grid; gap: 4px; }
.side-link { display: flex; width: 100%; min-height: 46px; align-items: center; gap: 13px; padding: 0 13px; color: rgba(255,255,255,.68); border: 0; border-radius: 11px; background: transparent; cursor: pointer; text-align: left; font-size: .8rem; transition: .22s; }
.side-link svg { width: 18px; height: 18px; }
.side-link:hover, .side-link.active { color: white; background: rgba(255,255,255,.1); }
.side-link.active::after { content: ""; width: 6px; height: 6px; margin-left: auto; background: #d99a7c; border-radius: 50%; }
.side-bottom { display: grid; gap: 4px; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.admin-main { margin-left: 265px; padding: 34px clamp(25px, 4vw, 64px) 70px; }
.admin-topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.admin-topbar h1 { margin-top: 8px; font-size: clamp(2.7rem, 4.5vw, 5rem); }
.admin-actions { display: flex; gap: 9px; }
.admin-mobile-menu { display: none; }
.admin-note { display: flex; gap: 12px; margin-bottom: 24px; padding: 13px 16px; color: #62584f; background: #e8e0d6; border-radius: 12px; font-size: .73rem; }
.admin-note b { color: var(--charcoal); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat-card { min-height: 155px; padding: 22px; background: var(--paper); border: 1px solid rgba(36,38,34,.08); border-radius: 17px; }
.stat-card label { display: block; min-height: 40px; color: var(--muted); font-size: .73rem; }
.stat-card strong { display: block; margin-top: 13px; font: 2.8rem var(--serif); }
.stat-card small { color: var(--muted); font-size: .68rem; }
.admin-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; }
.admin-panel { margin-bottom: 18px; overflow: hidden; background: var(--paper); border: 1px solid rgba(36,38,34,.08); border-radius: 18px; }
.panel-head { display: flex; min-height: 67px; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-family: var(--sans); font-size: .88rem; font-weight: 750; letter-spacing: 0; }
.panel-body { padding: 20px; }
.admin-list { display: grid; }
.admin-list-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.admin-list-row:last-child { border-bottom: 0; }
.admin-list-row strong { display: block; font-size: .82rem; }
.admin-list-row small { color: var(--muted); font-size: .68rem; }
.status { display: inline-flex; min-height: 26px; align-items: center; padding: 0 9px; border-radius: 999px; font-size: .65rem; font-weight: 700; }
.status.new { color: #744a2d; background: #f5dec8; }
.status.pending { color: #65581c; background: #f2e9ae; }
.status.confirmed { color: #315d3e; background: #d9ebde; }
.status.rejected, .status.cancelled { color: #6d4141; background: #eddddd; }
.status.open { color: #315d3e; background: #d9ebde; }
.status.closed { color: #625d55; background: #e6e2dc; }
.status.cancelled { color: #6d4141; background: #eddddd; }
.table-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.search-input, .filter-select { min-height: 39px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: .74rem; }
.search-input { width: min(250px, 100%); }
.table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: .75rem; }
.data-table th { padding: 12px 14px; color: var(--muted); background: #f6f3ee; text-align: left; font-size: .63rem; letter-spacing: .06em; text-transform: uppercase; }
.data-table td { padding: 15px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.data-table tr:hover td { background: #fcfaf6; }
.table-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.mini-btn { display: inline-flex; min-height: 30px; align-items: center; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: white; cursor: pointer; font-size: .65rem; }
.mini-btn:hover { border-color: var(--charcoal); }
.cards-admin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.admin-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; }
.admin-card img { aspect-ratio: 4/2.8; object-fit: cover; }
.admin-card-body { padding: 16px; }
.admin-card h3 { margin: 6px 0 9px; font-family: var(--sans); font-size: .95rem; font-weight: 700; letter-spacing: 0; }
.admin-card p { min-height: 42px; color: var(--muted); font-size: .7rem; }
.admin-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.empty-state { padding: 55px 25px; color: var(--muted); text-align: center; }
.empty-state strong { display: block; margin-bottom: 7px; color: var(--charcoal); font: 1.5rem var(--serif); }
.settings-sections { display: grid; gap: 18px; }
.settings-actions { position: sticky; z-index: 5; bottom: 16px; display: flex; justify-content: flex-end; padding: 14px; background: rgba(246,243,237,.86); border: 1px solid var(--line); border-radius: 14px; backdrop-filter: blur(15px); }
.upload-preview { position: relative; overflow: hidden; aspect-ratio: 16/8; margin-bottom: 10px; background: var(--sand); border-radius: 12px; }
.upload-preview img { height: 100%; object-fit: cover; }
.file-input { width: 100%; padding: 11px; border: 1px dashed var(--line); border-radius: 10px; background: var(--ivory); font-size: .72rem; }
.admin-modal .modal-body h2 { font-size: 3rem; }
.danger { color: #8c4037; }

@media (max-width: 1100px) {
  :root { --container: min(100% - 40px, 1100px); }
  .nav-shell { grid-template-columns: 180px 1fr 180px; }
  .nav-links { gap: 17px; }
  .workshop-card { grid-column: span 6; }
  .workshop-card:nth-child(5) { grid-column: span 12; }
  .schedule-shell { grid-template-columns: 250px 1fr; }
  .session-row { grid-template-columns: 72px 1fr 110px 128px; gap: 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-admin { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 850px) {
  :root { --container: min(100% - 32px, 760px); }
  .site-header { padding: 12px 0; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .nav-action { display: none; }
  .menu-toggle { display: block; }
  .nav-links { position: fixed; top: 72px; right: 16px; left: 16px; display: grid; gap: 0; padding: 14px; background: rgba(255,253,249,.97); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-12px); transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s linear .28s; }
  .nav-links.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
  .nav-links a { padding: 13px 12px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border: 0; }
  .hero { padding-top: 90px; }
  .hero-grid { min-height: 760px; grid-template-columns: 1fr; grid-template-rows: 1fr 45%; }
  .hero-copy { grid-row: 1; padding: 36px; }
  .hero-image { min-height: 0; grid-row: 2; }
  .hero-image img { object-position: 62% center; }
  .hero-stamp { width: 96px; height: 96px; font-size: .8rem; }
  .section-head, .about-grid, .faq-layout { grid-template-columns: 1fr; }
  .section-head { gap: 18px; }
  .about-image { width: 78%; margin: 0 auto; }
  .about-copy { order: -1; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .schedule-shell { grid-template-columns: 1fr; }
  .schedule-aside { position: static; }
  .gallery-grid { height: 1000px; grid-template-columns: repeat(2, 1fr); grid-template-rows: 1.2fr 1fr 1fr; }
  .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .gallery-item:nth-child(2) { grid-column: 1; grid-row: 2; }
  .gallery-item:nth-child(3) { grid-column: 2; grid-row: 2; }
  .gallery-item:nth-child(4) { grid-column: 1; grid-row: 3; }
  .gallery-item:nth-child(5) { grid-column: 2; grid-row: 3; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-aside { padding: 25px 45px 45px; }
  .login-page { grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .login-panel { min-height: 100svh; }
  .admin-sidebar { width: 245px; transform: translateX(-105%); transition: transform .3s var(--ease); }
  .admin-sidebar.open { transform: none; box-shadow: 20px 0 60px rgba(0,0,0,.2); }
  .admin-main { margin-left: 0; padding-top: 22px; }
  .admin-mobile-menu { display: inline-grid; }
  .admin-topbar { align-items: center; }
  .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --container: calc(100% - 28px); --radius: 20px; }
  .brand { font-size: 1.2rem; }
  .hero { min-height: auto; padding-bottom: 18px; }
  .hero-grid { min-height: 715px; border-radius: 24px; }
  .hero-copy { padding: 27px 22px 32px; }
  .hero h1 { font-size: clamp(3.25rem, 16vw, 5rem); }
  .hero-subtitle { margin: 22px 0; font-size: .94rem; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-note { display: none; }
  .hero-stamp { right: 14px; bottom: 14px; }
  .section { padding: 78px 0; }
  .section-head { margin-bottom: 38px; }
  .section-head h2, .about-copy h2 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .about-image { width: 91%; }
  .about-caption { right: 12px; bottom: 14px; }
  .about-values { gap: 8px; }
  .about-values strong { font-size: 1.25rem; }
  .workshop-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 88%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .workshop-card, .workshop-card:nth-child(4), .workshop-card:nth-child(5) { min-height: 560px; grid-column: auto; scroll-snap-align: start; }
  .workshop-info { padding: 23px; }
  .workshop-bottom { align-items: flex-end; }
  .workshop-bottom .btn { width: 45px; padding: 0; font-size: 0; }
  .workshop-bottom .btn svg { margin: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step:not(:first-child) { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step b { margin-bottom: 24px; }
  .session-row { grid-template-columns: 68px 1fr; gap: 8px 12px; padding: 16px; }
  .places { grid-column: 2; }
  .session-action { grid-column: 1 / -1; }
  .session-action .btn { width: 100%; }
  .gallery-grid { height: 960px; gap: 10px; }
  .gallery-item span { opacity: 1; transform: none; }
  .faq-question strong { font-size: 1.15rem; }
  .contact-copy { padding: 40px 25px; }
  .contact-aside { padding: 15px 25px 35px; }
  .footer { align-items: flex-start; flex-direction: column; }
  .modal { max-height: calc(100svh - 20px); border-radius: 22px; }
  .overlay { padding: 10px; }
  .modal-body { padding: 28px 20px 35px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .booking-summary { grid-template-columns: 1fr; }
  .review-row { grid-template-columns: 1fr; gap: 3px; }
  .modal-actions { display: grid; }
  .modal-actions .btn { width: 100%; }
  .login-panel { padding: 28px 20px; }
  .login-box .brand { margin-bottom: 60px; }
  .admin-main { padding: 18px 14px 50px; }
  .admin-topbar { align-items: flex-start; }
  .admin-topbar h1 { font-size: 2.7rem; }
  .admin-actions .btn:not(.admin-mobile-menu) { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .stat-card { min-height: 125px; padding: 16px; }
  .stat-card strong { font-size: 2.2rem; }
  .cards-admin { grid-template-columns: 1fr; }
  .panel-head { align-items: flex-start; flex-direction: column; }
  .table-tools { width: 100%; }
  .search-input { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
