:root {
  --red: #ff4d5e;
  --blue: #3fa9f5;
  --text: #f3f1ea;
  --text-muted: #b9b6ad;
  --bg: #101014;
  --bg-alt: rgba(255,255,255,0.03);
  --card-bg: #1c1c24;
  --card-bg-alt: #24242e;
  --border: #34343f;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,0.45);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 900px 700px at 0% 0%, rgba(63,169,245,0.22), transparent 55%),
    radial-gradient(ellipse 900px 700px at 100% 100%, rgba(255,77,94,0.20), transparent 55%);
  background-attachment: fixed;
  line-height: 1.6;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  margin: 0 0 16px;
}

h2 {
  font-size: 2rem;
  color: var(--red);
}

a { color: var(--blue); }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255,77,94,0.35);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16,16,20,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.main-nav { position: relative; }

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.nav-list a:hover { color: var(--red); }

.nav-cta {
  background: var(--blue);
  color: #101014 !important;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  padding: 100px 0 130px;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.hero-inner { position: relative; z-index: 2; }

.hero-logo {
  width: 160px;
  height: auto;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,0.6));
}

.hero h1 {
  font-size: 2.6rem;
  color: #fff;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-tagline {
  font-size: 1.2rem;
  color: #f2ede0;
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-ghost {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  z-index: 1;
}

.wave-divider svg { width: 100%; height: 60px; display: block; }
.wave-divider svg path { fill: var(--bg) !important; }

/* Sections */
.section {
  padding: 64px 0;
}

.alt-bg { background: var(--bg-alt); }

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.about-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.about-text { flex: 2; min-width: 280px; }

.about-text p {
  max-width: 640px;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.about-chips {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chip {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  box-shadow: var(--shadow);
  color: var(--text);
}

/* Art classes */
.classes-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.classes-photo {
  flex: 1;
  min-width: 300px;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
}

.classes-text { flex: 1; min-width: 300px; }

.classes-text p { color: var(--text-muted); }

.classes-facts {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.05rem;
}

.style-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.style-tags span {
  background: var(--blue);
  color: #101014;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.style-tags span:nth-child(odd) { background: var(--red); color: #fff; }

/* Reels */
.reels-wrap {
  margin-top: 56px;
}

.reels-heading {
  text-align: center;
  font-family: Georgia, serif;
  color: var(--red);
  margin-bottom: 24px;
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.reels-grid iframe { border-radius: var(--radius) !important; }

/* Community */
.community-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.community-text { flex: 2; min-width: 280px; }

.community-text p {
  max-width: 640px;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.community-chips {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn-telegram {
  background: #24A1DE;
  color: #fff;
}

.btn-telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(36,161,222,0.45);
}

.btn-telegram-lg {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 32px;
  font-size: 1rem;
}

/* Schedule */
.schedule-table {
  border-collapse: collapse;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.schedule-table td {
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.schedule-table tr:last-child td { border-bottom: none; }

.schedule-table td:first-child { font-weight: 600; }

.schedule-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  color: var(--red);
  padding: 14px 28px 0;
  font-size: 1.1rem;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.schedule-grid .schedule-table { width: 100%; }

/* Menu */
.promo-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 32px 0 48px;
}

.promo-tile {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  border: 1px solid var(--border);
}

.menu-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px 48px;
}

.menu-group {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
}

.menu-group h3 {
  margin: 0 0 14px;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-list li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--text);
}

.menu-list li span:first-child { white-space: nowrap; }

.menu-list .dots {
  flex: 1;
  border-bottom: 1px dotted var(--border);
  transform: translateY(-4px);
}

.menu-list li span:last-child {
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

/* Reviews */
.reviews-badge {
  display: inline-block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  color: #f0c419;
  text-decoration: none;
  margin: 4px 0 32px;
}

.reviews-badge:hover { transform: translateY(-2px); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.review-quote {
  font-style: italic;
  margin: 0 0 14px;
  color: var(--text);
}

.review-author {
  font-weight: 700;
  color: var(--blue);
}

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contacts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--text);
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 260px;
  border: 1px solid var(--border);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
  filter: grayscale(0.3) invert(0.92) contrast(0.9);
}

/* Booking form */
.booking-form {
  max-width: 560px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row-split {
  flex-direction: row;
  gap: 16px;
}

.phone-row {
  display: flex;
  gap: 10px;
}

.phone-row select {
  flex: 0 0 110px;
  width: 110px;
}

.phone-row input {
  flex: 1;
}

.form-row-split > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.field-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

input, textarea, select {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
  background: var(--card-bg-alt);
  color: var(--text);
}

input::placeholder, textarea::placeholder { color: var(--text-muted); }

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.form-status {
  margin-top: 14px;
  font-weight: 600;
  min-height: 1.2em;
}

.form-status.success { color: #4ade80; }
.form-status.error { color: var(--red); }

/* Footer */
.site-footer {
  background-color: #0a0a0d;
  background-size: cover;
  background-position: center;
  color: #f2f2f2;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.footer-link {
  background: none;
  border: none;
  padding: 0;
  margin-left: 6px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--blue);
  text-decoration: underline;
  cursor: pointer;
}

.footer-privacy {
  max-width: 640px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-privacy summary {
  cursor: pointer;
  color: #f2f2f2;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.footer-privacy p {
  margin: 10px 0 0;
  text-shadow: none;
}

/* Consent placeholders for third-party embeds */
.consent-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  min-height: 240px;
  padding: 32px 24px;
  background: var(--card-bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.consent-text {
  margin: 0;
  max-width: 420px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.consent-alt-link {
  font-size: 0.9rem;
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

.cookie-banner-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  margin: 0;
  flex: 1;
  min-width: 240px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner .btn {
  padding: 10px 26px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 760px) {
  .contacts-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }

  .nav-list {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 220px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease;
  }

  .nav-list.open { max-height: 400px; }

  .nav-list li { width: 100%; }

  .nav-list a {
    display: block;
    padding: 14px 20px;
    width: 100%;
  }

  .nav-cta { border-radius: 0 !important; text-align: center; }

  .hero h1 { font-size: 2.2rem; }

  .form-row-split { flex-direction: column; }
}
