/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #77DDE7;
  --primary-dark: #4BBBC6;
  --accent: #A7FC00;
  --highlight: #EB5284;
  --dark: #1a1a2e;
  --dark-2: #2d2d50;
  --text: #2c2c3e;
  --text-light: #6b6b8a;
  --bg: #fafbff;
  --bg-2: #f0f4ff;
  --white: #ffffff;
  --card-bg: rgba(255,255,255,0.92);
  --border: rgba(119,221,231,0.25);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 8px 40px rgba(119,221,231,0.15);
  --shadow-strong: 0 16px 60px rgba(30,30,60,0.18);
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--dark);
}

em { font-style: italic; color: var(--highlight); }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; display: block; }

ul { list-style: none; }

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

section { padding: 80px 0; }

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 680px;
  margin-bottom: 48px;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--transition);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(119,221,231,0.5);
  background: var(--primary-dark);
  color: var(--white);
}

.btn-ghost {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 30px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  border-color: var(--white);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-large { padding: 18px 44px; font-size: 1.05rem; }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 28px;
  z-index: 9999;
  box-shadow: var(--shadow-strong);
  max-width: 760px; width: calc(100% - 48px);
  display: none;
  animation: slideUp 0.4s ease;
}
.cookie-banner.visible { display: block; }
@keyframes slideUp { from { opacity:0; transform: translateX(-50%) translateY(30px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }

.cookie-content p { font-size: 0.9rem; margin-bottom: 16px; opacity: 0.9; }
.cookie-buttons { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cookie-settings-link { font-size: 0.85rem; color: var(--primary); text-decoration: underline; }

/* === HEADER === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-img { width: 36px; height: 36px; border-radius: 50%; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.main-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: all 0.2s;
}
.main-nav a:hover {
  background: var(--bg-2);
  color: var(--primary-dark);
}

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* === HERO === */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-image {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.8) 0%, rgba(26,26,46,0.4) 60%, rgba(119,221,231,0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  background: rgba(167,252,0,0.2);
  border: 1px solid rgba(167,252,0,0.5);
  color: var(--accent);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeInDown 0.9s ease;
  line-height: 1.15;
}
.hero-title em { color: var(--primary); }

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  animation: fadeInDown 1.0s ease;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInDown 1.1s ease;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  animation: fadeInDown 1.2s ease;
}
.stat {
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--primary);
}
.stat span { font-size: 0.85rem; opacity: 0.8; }
.stat-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.3);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInDown 1.5s ease;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(6px); } }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === UPTOPIC === */
.uptopic {
  background: linear-gradient(135deg, #f0f9ff 0%, #fef6ff 50%, #f0fff0 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
.uptopic::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2377DDE7' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.uptopic-central {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.uptopic-center-card {
  background: var(--card-bg);
  border-radius: 28px;
  padding: 52px 44px;
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.watercolor-splash {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  pointer-events: none;
}
.splash-1 { width: 200px; height: 200px; background: var(--primary); top: -60px; right: -60px; }
.splash-2 { width: 120px; height: 120px; background: var(--highlight); bottom: -40px; left: -40px; }
.splash-3 { width: 80px; height: 80px; background: var(--accent); top: 40%; right: 10px; }

.uptopic-main-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 20px;
  position: relative;
}
.uptopic-main-text {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 32px;
  position: relative;
}

.uptopic-cells {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.uptopic-cell {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(119,221,231,0.1);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.uptopic-cell::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 3px 3px 0 0;
  transition: opacity 0.3s;
  opacity: 0;
}
.cell-1::before { background: var(--primary); }
.cell-2::before { background: var(--highlight); }
.cell-3::before { background: var(--accent); }
.cell-4::before { background: #b388ff; }
.cell-5::before { background: #ff8a65; }
.cell-6::before { background: #4db6ac; }

.uptopic-cell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: var(--primary);
}
.uptopic-cell:hover::before { opacity: 1; }

.cell-icon { font-size: 1.6rem; margin-bottom: 10px; }
.uptopic-cell h3 { font-size: 0.95rem; margin-bottom: 8px; color: var(--dark); }
.uptopic-cell p { font-size: 0.82rem; color: var(--text-light); margin-bottom: 14px; line-height: 1.5; }

.cell-btn {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  border: 1px solid var(--primary);
  padding: 5px 16px;
  border-radius: 50px;
  transition: all var(--transition);
}
.cell-btn:hover {
  background: var(--primary);
  color: var(--dark);
  transform: scale(1.05);
}

/* === SLIDER === */
.slider-block {
  background: var(--white);
  padding: 80px 0;
}

.slider-wrapper {
  position: relative;
}

.slider {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
}

.slide {
  display: none;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.slide.active {
  display: grid;
  animation: fadeSlide 0.5s ease;
}
@keyframes fadeSlide { from { opacity:0; transform: translateX(20px); } to { opacity:1; transform: translateX(0); } }

.slide-image {
  overflow: hidden;
  max-height: 500px;
}
.slide-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.slide:hover .slide-image img { transform: scale(1.03); }

.slide-content {
  background: var(--dark);
  color: var(--white);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-badge {
  display: inline-block;
  background: rgba(119,221,231,0.2);
  border: 1px solid rgba(119,221,231,0.4);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  width: fit-content;
}

.slide-content h3 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 16px;
}

.slide-content p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.slide-features { list-style: none; }
.slide-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 8px;
}
.slide-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--dark);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

.slider-dots { display: flex; gap: 8px; }
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  padding: 0;
}
.dot.active {
  background: var(--primary-dark);
  width: 28px;
  border-radius: 5px;
}

/* === ACCORDION === */
.accordion-block {
  background: var(--bg-2);
  padding: 80px 0;
}

.accordion-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.accordion-image-col {
  position: relative;
}
.accordion-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  width: 100%;
  object-fit: cover;
}
.accordion-image-card {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--dark);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 240px;
  box-shadow: var(--shadow-strong);
}
.card-icon { font-size: 2rem; }
.accordion-image-card p { font-size: 0.85rem; line-height: 1.5; opacity: 0.9; }

.accordion-content-col { padding-top: 8px; }

.accordion { margin-top: 32px; }

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.25s;
}
.accordion-item:hover { box-shadow: var(--shadow); }

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  transition: background 0.2s;
  gap: 12px;
}
.accordion-header:hover { background: var(--bg-2); }
.accordion-header[aria-expanded="true"] { color: var(--primary-dark); }

.accordion-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 300;
  flex-shrink: 0;
  color: var(--primary-dark);
  transition: transform 0.3s, background 0.3s;
}
.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--dark);
}

.accordion-body {
  display: none;
  padding: 0 24px 24px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
}
.accordion-body.open { display: block; animation: accordionIn 0.3s ease; }
@keyframes accordionIn { from { opacity:0; transform: translateY(-8px); } to { opacity:1; transform: translateY(0); } }

.accordion-body p { margin-bottom: 12px; }
.accordion-body ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.accordion-body li { font-size: 0.92rem; }

/* === CIRCULAR ABOUT === */
.about-block {
  background: var(--white);
  padding: 80px 0;
}

.circular-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  margin: 60px 0 48px;
  align-items: center;
  min-height: 380px;
}

.circular-item {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.circular-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
  background: var(--white);
}

.ci-icon { font-size: 1.8rem; margin-bottom: 12px; }
.circular-item h3 { font-size: 1rem; margin-bottom: 8px; }
.circular-item p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

.ci-top-left { grid-column: 1; grid-row: 1; }
.ci-top-right { grid-column: 5; grid-row: 1; }
.ci-bottom-left { grid-column: 1; grid-row: 2; }
.ci-bottom-right { grid-column: 5; grid-row: 2; }

.circular-center {
  grid-column: 2 / 5;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-photo-frame {
  width: 360px; height: 360px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--primary);
  box-shadow: 0 0 0 12px rgba(119,221,231,0.15), var(--shadow-strong);
  position: relative;
}
.center-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.about-num {
  text-align: center;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.about-num strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.about-num span { font-size: 0.85rem; color: var(--text-light); }

/* === SCHEDULE TABLE === */
.schedule-block {
  background: linear-gradient(135deg, #f7f0ff 0%, #e8f8ff 100%);
  padding: 80px 0;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 700px;
}

.schedule-table thead {
  background: var(--dark);
  color: var(--white);
}
.schedule-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.schedule-table td {
  padding: 16px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.schedule-table tbody tr {
  transition: background 0.2s;
}
.schedule-table tbody tr:hover {
  background: var(--bg-2);
}
.schedule-table tbody tr:last-child td { border-bottom: none; }

.day-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.82rem;
}
.mon { background: #e3f2fd; color: #1565c0; }
.tue { background: #fce4ec; color: #c62828; }
.wed { background: #e8f5e9; color: #2e7d32; }
.thu { background: #fff3e0; color: #e65100; }
.fri { background: #f3e5f5; color: #6a1b9a; }
.sat { background: #e0f7fa; color: #00695c; }
.sun { background: #fff8e1; color: #f57f17; }

.duration-badge {
  background: var(--bg-2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.level-badge {
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.level-badge.beginner { background: #e8f5e9; color: #2e7d32; }
.level-badge.novice { background: #e3f2fd; color: #1565c0; }
.level-badge.master { background: #fff3e0; color: #e65100; }
.level-badge.great { background: #f3e5f5; color: #6a1b9a; }

.seats { padding: 4px 12px; border-radius: 20px; font-size: 0.82rem; font-weight: 600; }
.seats.available { background: #e8f5e9; color: #2e7d32; }
.seats.few { background: #fff3e0; color: #e65100; }

.table-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
}

/* === PRICING === */
.pricing-block {
  background: var(--bg);
  padding: 80px 0;
}

.pricing-painting {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  margin-top: 8px;
}

.pricing-piece {
  position: relative;
  transition: all var(--transition);
  cursor: default;
}
.pricing-piece:hover { z-index: 2; }

.piece-inner {
  position: relative;
  overflow: hidden;
  height: 100%;
  background: var(--white);
  border-right: 1px solid var(--border);
  transition: all var(--transition);
}
.piece-inner.popular {
  background: var(--dark);
  color: var(--white);
}
.pricing-piece:hover .piece-inner:not(.popular) {
  background: #f0fffe;
  transform: scale(1.02);
  box-shadow: var(--shadow-strong);
  border-color: var(--primary);
}
.pricing-piece:hover .piece-inner.popular {
  transform: scale(1.02);
  box-shadow: var(--shadow-strong);
}

.piece-watercolor-bg {
  position: absolute; inset: 0;
  opacity: 0.05;
  background: radial-gradient(circle at 50% 50%, var(--primary) 0%, transparent 70%);
  transition: opacity 0.3s;
  pointer-events: none;
}
.pricing-piece:hover .piece-watercolor-bg { opacity: 0.12; }

.piece-content {
  position: relative;
  padding: 40px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.price-icon { font-size: 2rem; margin-bottom: 16px; }
.price-name {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: inherit;
}
.piece-inner.popular .price-name { color: var(--white); }

.price-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.piece-inner.popular .price-value { color: var(--primary); }

.price-period {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 16px;
}
.piece-inner.popular .price-period { color: rgba(255,255,255,0.6); }

.price-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.piece-inner.popular .price-desc { color: rgba(255,255,255,0.75); }

.price-features { list-style: none; margin-bottom: 24px; }
.price-features li {
  font-size: 0.82rem;
  padding: 5px 0;
  display: flex; align-items: center; gap: 8px;
  color: var(--text);
}
.piece-inner.popular .price-features li { color: rgba(255,255,255,0.8); }
.price-features li::before { content: '✓'; color: var(--primary-dark); font-weight: 700; font-size: 0.85rem; }

.btn-price {
  display: block;
  text-align: center;
  background: var(--bg-2);
  border: 2px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 12px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: auto;
}
.btn-price:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}
.popular-btn {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}
.popular-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.popular-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--accent);
  color: var(--dark);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* === TECHNIQUES === */
.techniques-block {
  background: var(--bg-2);
  padding: 80px 0;
}

.level-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.level-tab {
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s;
}
.level-tab.active, .level-tab:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

.level-panel { display: none; }
.level-panel.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.level-header {
  margin-bottom: 36px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.level-header h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.level-header p { color: var(--text-light); }

.techniques-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.technique-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.technique-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.tc-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.tc-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.technique-card:hover .tc-image img { transform: scale(1.05); }

.tc-play {
  position: absolute; inset: 0;
  background: rgba(26,26,46,0.5);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.technique-card:hover .tc-play { opacity: 1; }

.tc-content { padding: 24px; }
.tc-badge {
  display: inline-block;
  background: var(--bg-2);
  color: var(--primary-dark);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.tc-content h4 { font-size: 1.05rem; margin-bottom: 10px; }
.tc-content p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }

.recommendations-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}
.recommendations-box h3 { font-size: 1.4rem; margin-bottom: 24px; }

.reco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.reco-item {
  padding: 20px;
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.reco-item:hover {
  border-color: var(--primary);
  background: var(--white);
}
.reco-icon { font-size: 1.5rem; margin-bottom: 10px; }
.reco-item h4 { font-size: 0.95rem; margin-bottom: 8px; }
.reco-item p { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; }

.advice-box {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
}
.advice-box h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 24px; }

.advice-list { display: flex; flex-direction: column; gap: 24px; }
.advice-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.advice-item:last-child { border-bottom: none; padding-bottom: 0; }

.advice-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  line-height: 1;
}
.advice-item h4 { font-size: 1rem; color: var(--white); margin-bottom: 6px; }
.advice-item p { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.65; }

/* === VIDEO POPUP === */
.video-popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(6px);
}
.video-popup-overlay.open {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.video-popup-content {
  background: var(--dark);
  color: var(--white);
  border-radius: 24px;
  padding: 40px;
  max-width: 680px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-strong);
}
.video-popup-close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,0.1);
  border: none; border-radius: 50%;
  width: 36px; height: 36px;
  color: var(--white); font-size: 1rem;
  cursor: pointer; transition: background 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.video-popup-close:hover { background: rgba(255,255,255,0.25); }

.video-popup-content h3 { font-size: 1.4rem; margin-bottom: 24px; color: var(--white); }

.video-placeholder {
  background: rgba(0,0,0,0.4);
  border-radius: var(--radius);
  padding: 80px 40px;
  text-align: center;
  border: 2px dashed rgba(119,221,231,0.3);
}
.video-play-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.video-placeholder p { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 8px; }
.video-note { font-size: 0.82rem; color: rgba(255,255,255,0.5); font-style: italic; }

/* === GALLERY === */
.gallery-block {
  background: var(--white);
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 12px;
  margin-top: 8px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-sm);
  position: relative;
  cursor: pointer;
  aspect-ratio: 1;
}
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 4/3;
}
.gallery-item.wide {
  grid-column: span 2;
}
.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-hover {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-hover { opacity: 1; }
.gallery-hover span {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
}

/* === DIRECTIONS === */
.directions-block {
  background: var(--bg-2);
  padding: 80px 0;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.direction-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.direction-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: var(--primary);
}

.dc-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.dc-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.direction-card:hover .dc-image img { transform: scale(1.07); }
.dc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.3) 0%, transparent 60%);
}

.dc-body {
  padding: 24px;
}
.dc-icon { font-size: 1.8rem; margin-bottom: 10px; }
.dc-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.dc-body p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; margin-bottom: 20px; }

/* === DIRECTION POPUP === */
.direction-popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  backdrop-filter: blur(6px);
}
.direction-popup-overlay.open {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.direction-popup-content {
  background: var(--white);
  border-radius: 24px;
  padding: 44px;
  max-width: 680px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-strong);
  max-height: 90vh;
  overflow-y: auto;
  margin: auto;
}
.direction-popup-close {
  position: absolute; top: 20px; right: 20px;
  background: var(--bg-2);
  border: none; border-radius: 50%;
  width: 36px; height: 36px;
  color: var(--dark); font-size: 1rem;
  cursor: pointer; transition: background 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.direction-popup-close:hover { background: var(--border); }

.dpop-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.dpop-icon { font-size: 2.5rem; }
.dpop-header h2 { font-size: 1.8rem; }

.dpop-description {
  color: var(--text-light);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.dpop-form h3 { font-size: 1.2rem; margin-bottom: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(119,221,231,0.15);
}
.form-group textarea { resize: vertical; min-height: 90px; }

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
}
.radio-option input[type="radio"] { accent-color: var(--primary); }
.radio-label { color: var(--text); }

/* === MAIN FORM === */
.form-block {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.form-block::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2377DDE7' fill-opacity='0.04'%3E%3Ccircle cx='40' cy='40' r='35'/%3E%3C/g%3E%3C/svg%3E");
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
}

.form-info .section-label { color: var(--primary); }
.form-info .section-title { color: var(--white); }
.form-info p { color: rgba(255,255,255,0.75); font-size: 1rem; margin-bottom: 28px; }

.form-benefits {
  margin-bottom: 32px;
}
.fb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.fb-item span { color: var(--accent); font-weight: 700; }

.form-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  object-fit: cover;
  max-height: 240px;
  width: 100%;
}

.form-card {
  background: var(--white);
  border-radius: 24px;
  padding: 44px 40px;
  box-shadow: var(--shadow-strong);
}
.form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 28px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
}
.form-note a { color: var(--primary-dark); text-decoration: underline; }

/* === FOOTER === */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}
.watercolor-footer-bg {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--highlight) 50%, var(--accent) 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo-text { color: var(--white); }
.footer-tagline {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 300px;
}
.footer-contacts {
  margin-top: 20px;
}
.footer-contacts p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.footer-contacts a {
  color: var(--primary);
}
.footer-contacts a:hover { text-decoration: underline; }

.footer-nav h4, .footer-legal h4 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-nav ul, .footer-legal ul {
  list-style: none;
}
.footer-nav li, .footer-legal li {
  margin-bottom: 10px;
}
.footer-nav a, .footer-legal a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-legal a:hover { color: var(--primary); }

.footer-company {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-company p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* === LEGAL PAGES === */
.legal-page {
  padding-top: 100px;
  padding-bottom: 80px;
  min-height: 80vh;
}
.legal-page h1 { font-size: 2.5rem; margin-bottom: 12px; }
.legal-page .legal-date { color: var(--text-light); font-size: 0.88rem; margin-bottom: 40px; }
.legal-page h2 { font-size: 1.4rem; margin: 32px 0 12px; }
.legal-page p { color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }
.legal-page ul { padding-left: 24px; list-style: disc; margin-bottom: 16px; }
.legal-page li { color: var(--text-light); margin-bottom: 8px; line-height: 1.7; }

/* === THANKS PAGE === */
.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #f0f9ff 0%, #fef6ff 100%);
  padding: 80px 24px;
}
.thanks-content {
  max-width: 560px;
}
.thanks-icon { font-size: 5rem; margin-bottom: 24px; }
.thanks-content h1 { font-size: 2.5rem; margin-bottom: 16px; }
.thanks-content p { color: var(--text-light); font-size: 1.05rem; margin-bottom: 32px; line-height: 1.7; }

/* === SCROLL ANIMATIONS === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .circular-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .ci-top-left { grid-column: 1; grid-row: 1; }
  .ci-top-right { grid-column: 2; grid-row: 1; }
  .circular-center { grid-column: 1 / 3; grid-row: 2; }
  .ci-bottom-left { grid-column: 1; grid-row: 3; }
  .ci-bottom-right { grid-column: 2; grid-row: 3; }

  .pricing-painting {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    border-radius: 20px;
  }
  .pricing-piece:nth-child(2) .piece-inner { border-right: none; }
  .pricing-piece:nth-child(3) .piece-inner { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .pricing-piece:nth-child(4) .piece-inner { border-top: 1px solid var(--border); }

  .reco-grid { grid-template-columns: 1fr 1fr; }
  .about-numbers { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / 3; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }

  .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 24px; box-shadow: var(--shadow); border-top: 1px solid var(--border); z-index: 999; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--border); }
  .main-nav a { padding: 14px 0; font-size: 1rem; }

  .burger-btn { display: flex; }

  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-stats { gap: 12px; }

  .uptopic-central { grid-template-columns: 1fr; }
  .uptopic-cells { grid-template-columns: 1fr 1fr; }

  .slide { grid-template-columns: 1fr; }
  .slide-image { max-height: 260px; }
  .slide-content { padding: 32px 24px; }

  .accordion-layout { grid-template-columns: 1fr; }
  .accordion-image-card { position: static; max-width: 100%; margin-top: 16px; }

  .circular-layout { grid-template-columns: 1fr; gap: 16px; }
  .ci-top-left, .ci-top-right, .ci-bottom-left, .ci-bottom-right { grid-column: 1; grid-row: auto; }
  .circular-center { grid-column: 1; grid-row: auto; }
  .center-photo-frame { width: 260px; height: 260px; }

  .techniques-grid { grid-template-columns: 1fr; }
  .reco-grid { grid-template-columns: 1fr 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item.large { grid-column: 1 / 3; grid-row: auto; }
  .gallery-item.wide { grid-column: 1 / 3; }
  .gallery-item.tall { grid-row: auto; }

  .directions-grid { grid-template-columns: 1fr 1fr; }

  .form-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-image { max-height: 200px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: 1; }

  .about-numbers { grid-template-columns: 1fr 1fr; }
  .pricing-painting { grid-template-columns: 1fr; }
  .pricing-piece .piece-inner { border-right: none; border-bottom: 1px solid var(--border); }

  .direction-popup-content, .video-popup-content { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .uptopic-cells { grid-template-columns: 1fr; }
  .directions-grid { grid-template-columns: 1fr; }
  .reco-grid { grid-template-columns: 1fr; }
  .level-tabs { gap: 6px; }
  .level-tab { padding: 10px 18px; font-size: 0.85rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: 1; }
  .gallery-item.wide { grid-column: 1; }
  .hero-title { font-size: 2rem; }
}
