/* ============================================================
   SEI · ПОЛЬЗОВАТЕЛЬСКИЕ CSS-СТИЛИ
   ============================================================ */

:root {
  --bg: #F4EFE7;
  --paper: #FBF7F0;
  --header-bg: #F7F3EB;
  --ink: #1A1815;
  --white: #FFFFFF;
  --accent: #CDAE7A;
  --accent-hover: #B89766;
  --error: #C25450;

  --muted: rgba(26, 24, 21, 0.55);
  --line: rgba(26, 24, 21, 0.14);
  --line-soft: rgba(26, 24, 21, 0.06);
  --hover-bg: rgba(26, 24, 21, 0.10);

  --muted-light: rgba(244, 239, 231, 0.55);
  --line-light: rgba(244, 239, 231, 0.14);

  --tag-classic: #C9A57C;
  --tag-party: #E8A05B;
  --tag-gastro: #A8C28B;
  --tag-music: #D4A57A;

  --overlay-image: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
  --overlay-dark: linear-gradient(180deg, rgba(26,24,21,0.5) 0%, rgba(26,24,21,0.85) 100%);
}

body {
  background: var(--bg) !important;
  color: var(--ink);
}

a { transition: color 200ms ease; }
html { scroll-behavior: smooth; }
* { -webkit-tap-highlight-color: transparent; }

.t-h1 {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 600 !important;
  font-size: 34px !important;
  line-height: 1.05 !important;
  letter-spacing: -0.005em !important;
  color: var(--ink) !important;
}

.t-h1-page {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 500 !important;
  font-size: 38px !important;
  line-height: 1.02 !important;
  color: var(--ink) !important;
}

.t-h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 500 !important;
  font-size: 30px !important;
  line-height: 1.05 !important;
  color: var(--ink) !important;
}

.t-h2-dark {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 600 !important;
  font-size: 32px !important;
  line-height: 1.1 !important;
  color: var(--bg) !important;
}

.t-h3 {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 500 !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
  color: var(--ink) !important;
}

.t-logo {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 500 !important;
  font-size: 26px !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  color: var(--ink) !important;
}

.t-lead {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: var(--ink) !important;
}

.t-body {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: var(--ink) !important;
}

.t-cap {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: var(--muted) !important;
}

.t-kicker {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
}

.t-price {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  font-variant-numeric: tabular-nums !important;
  color: var(--ink) !important;
}

.t-contact {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 500 !important;
  font-size: 24px !important;
  line-height: 1.2 !important;
  color: var(--ink) !important;
}

.t-event-time {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  color: var(--bg) !important;
}

.t-italic {
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic !important;
}

.t-on-dark { color: var(--bg) !important; }
.t-muted { color: var(--muted) !important; }
.t-muted-light { color: var(--muted-light) !important; }

.sei-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 200ms ease;
  white-space: nowrap;
  border: none;
  user-select: none;
  box-sizing: border-box;
}

.sei-btn-solid {
  background: var(--ink);
  color: var(--bg);
  padding: 14px 24px;
  border-radius: 999px;
  min-height: 44px;
}
.sei-btn-solid:hover { background: var(--accent); color: var(--bg); }
.sei-btn-solid:active { background: var(--accent-hover); }

.sei-btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 12px 22px;
  border-radius: 999px;
  min-height: 40px;
}
.sei-btn-outline-dark:hover { background: var(--ink); color: var(--bg); }
.sei-btn-outline-dark:active { background: var(--accent); color: var(--ink); border-color: var(--accent); }

.sei-btn-outline-light {
  background: transparent;
  color: var(--bg);
  border: 1.5px solid var(--bg);
  padding: 12px 22px;
  border-radius: 999px;
  min-height: 40px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.sei-btn-outline-light:hover { background: var(--bg); color: var(--ink); }
.sei-btn-outline-light:active { background: var(--accent); color: var(--ink); border-color: var(--accent); }

.sei-btn-outline-sm {
  background: transparent;
  color: var(--bg);
  border: 1px solid var(--bg);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.sei-btn-outline-sm:hover { background: var(--bg); color: var(--ink); }

.sei-btn-ghost {
  background: none;
  border: none;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 4px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sei-btn-ghost:hover { color: var(--accent); }
.sei-btn-ghost .arrow { transition: transform 200ms ease; display: inline-block; }
.sei-btn-ghost:hover .arrow { transform: translateX(3px); }

.sei-btn-ghost-light { color: var(--bg); }
.sei-btn-ghost-light:hover { color: var(--accent); }

.sei-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.sei-tag[data-category="classic"] { background: var(--tag-classic); }
.sei-tag[data-category="party"] { background: var(--tag-party); }
.sei-tag[data-category="gastro"] { background: var(--tag-gastro); }
.sei-tag[data-category="music"] { background: var(--tag-music); }

.sei-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bg);
  border: 1px solid var(--line-light);
  background: transparent;
  cursor: pointer;
  transition: all 200ms ease;
  white-space: nowrap;
  user-select: none;
}
.sei-chip:hover { border-color: rgba(244, 239, 231, 0.6); }
.sei-chip.is-active { background: var(--bg); color: var(--ink); border-color: var(--bg); }

.sei-input,
.sei-textarea {
  display: block;
  width: 100%;
  height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(26, 24, 21, 0.2);
  border-radius: 0;
  background: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color 150ms ease;
  box-sizing: border-box;
}
.sei-input:focus,
.sei-textarea:focus { outline: none; border: 1.5px solid var(--ink); }
.sei-input::placeholder,
.sei-textarea::placeholder { color: rgba(26, 24, 21, 0.4); }
.sei-input.has-error,
.sei-textarea.has-error { border: 1.5px solid var(--error); }

.sei-textarea { height: auto; min-height: 100px; resize: vertical; }

.sei-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 24, 21, 0.6);
  margin-bottom: 8px;
}

.sei-error-msg {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--error);
  margin-top: 6px;
}

.sei-popup {
  position: fixed;
  inset: 0;
  background: rgba(26, 24, 21, 0.6);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sei-popup.is-open { opacity: 1; pointer-events: auto; }

.sei-popup__inner {
  background: var(--bg);
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px 16px 0 0;
  padding: 24px 22px;
  transform: translateY(100%);
  transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sei-popup.is-open .sei-popup__inner { transform: translateY(0); }

.sei-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (min-width: 768px) {
  .sei-popup { align-items: center; }
  .sei-popup__inner { border-radius: 16px; max-width: 520px; }
}

.sei-section { position: relative; }
.sei-section-dark { background: var(--ink); color: var(--bg); }
.sei-section-paper { background: var(--paper); }

.sei-divider { height: 1px; background: var(--line); border: none; margin: 0; }

.sei-scroll-x {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 22px;
  margin: 0 -22px;
}
.sei-scroll-x::-webkit-scrollbar { display: none; }
.sei-scroll-x > * { scroll-snap-align: start; flex-shrink: 0; }

.sei-tap {
  position: relative;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.uc-sei-map-grayscale iframe {
  filter: grayscale(100%) contrast(0.95) brightness(1.05);
  border-radius: 16px;
}