:root {
  --primary: #007FFF;
  --primary-dark: #005bb5;
  --accent: #F80000;
  --highlight: #3EB489;
  --text-main: #333333;
  --text-muted: #666666;
  --bg-light: #ffffff;
  --bg-subtle: #f0f8ff;
  --font-main: 'Nunito', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 127, 255, 0.1);
  --shadow-md: 0 8px 24px rgba(0, 127, 255, 0.15);
  --shadow-lg: 0 16px 32px rgba(0, 127, 255, 0.2);
  --border-radius: 16px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--primary);
  font-weight: 800;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background-color: var(--accent);
  color: white;
  box-shadow: 0 8px 24px rgba(248, 0, 0, 0.3);
}

.btn-accent:hover {
  background-color: #d10000;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(248, 0, 0, 0.4);
}

.btn-highlight {
  background-color: var(--highlight);
  color: white;
}

.btn-highlight:hover {
  background-color: #2c9c74;
  transform: translateY(-3px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(0, 127, 255, 0.1);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition);
}

.header.scrolled .header-inner {
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.logo svg {
  width: 40px;
  height: 40px;
  fill: var(--primary);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  border: none;
  background: none;
}

.hamburger svg {
  width: 30px;
  height: 30px;
  fill: var(--primary);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: white;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, var(--primary) 0%, #00b4db 100%);
  overflow: hidden;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 150%, rgba(255,255,255,0.2) 0%, transparent 60%);
  animation: pulseWave 8s infinite alternate ease-in-out;
}

@keyframes pulseWave {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0.8; }
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Animations (Scroll Reveal) */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Block 1: Timeline / Map */
.timeline-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 50px;
  position: relative;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--bg-subtle);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-step {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 50%;
  position: relative;
}

.timeline-step:nth-child(odd) {
  left: 0;
  justify-content: flex-end;
  text-align: right;
  padding-right: 40px;
}

.timeline-step:nth-child(even) {
  left: 50%;
  padding-left: 40px;
}

.timeline-number {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.timeline-step:nth-child(odd) .timeline-number {
  right: -25px;
}

.timeline-step:nth-child(even) .timeline-number {
  left: -25px;
}

.timeline-content {
  background: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.mini-prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.mini-price-card {
  background: var(--bg-subtle);
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.mini-price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--primary);
  color: white;
}

.mini-price-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.mini-price-card .price {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.compact-form {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--bg-subtle);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 127, 255, 0.1);
}

.compact-form .btn {
  width: 100%;
}

.more-btn-wrapper {
  text-align: center;
  margin-top: 30px;
}

/* Block 2: Slider */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.slider-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-1 { background: linear-gradient(135deg, #007FFF, #00b4db); }
.slide-2 { background: linear-gradient(135deg, #3EB489, #007FFF); }
.slide-3 { background: linear-gradient(135deg, #00b4db, #3EB489); }

.slide-content {
  text-align: center;
  color: white;
  padding: 40px;
  background: rgba(0,0,0,0.3);
  border-radius: 20px;
  backdrop-filter: blur(5px);
  max-width: 80%;
  position: relative;
  z-index: 2;
}

.slide-content h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: white;
  box-shadow: var(--shadow-md);
}

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

/* Block 3: FAQ Accordion */
.accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accordion-item {
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.accordion-header {
  padding: 20px;
  background: var(--bg-subtle);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
}

.accordion-header:hover {
  background: #e0f0ff;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.accordion-icon::before, .accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-icon::before { width: 16px; height: 2px; }
.accordion-icon::after { width: 2px; height: 16px; transition: transform 0.3s ease; }

.accordion-item.active .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content {
  padding: 20px;
  border-top: 1px solid var(--bg-subtle);
}

/* Block 4: About Circular Layout */
.about-circular {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 600px;
  padding: 50px 0;
}

.circle-center {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #00b4db, #007FFF);
  box-shadow: 0 0 50px rgba(0, 127, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  z-index: 2;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.circle-item {
  position: absolute;
  width: 250px;
  padding: 20px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  z-index: 1;
  text-align: center;
}

.circle-item-1 { top: 0; left: 50%; transform: translateX(-50%); }
.circle-item-2 { top: 50%; right: 0; transform: translateY(-50%); }
.circle-item-3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.circle-item-4 { top: 50%; left: 0; transform: translateY(-50%); }

/* Infographic */
.infographic {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.info-item {
  text-align: center;
  width: 200px;
}

.info-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  background: var(--bg-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.info-item:hover .info-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

/* Block 5: Schedule Table */
.schedule-container {
  overflow-x: auto;
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius);
  background: white;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.schedule-table th, .schedule-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid var(--bg-subtle);
}

.schedule-table th {
  background-color: var(--primary);
  color: white;
  font-weight: 700;
  text-transform: uppercase;
}

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

.schedule-table tr:hover {
  background-color: var(--bg-subtle);
}

.level-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

.level-beginner { background: #e0f2fe; color: #0284c7; }
.level-medium { background: #dcfce7; color: #16a34a; }
.level-intense { background: #fee2e2; color: #dc2626; }
.level-all { background: #f3e8ff; color: #9333ea; }

/* Block 6: Full Price Cards */
.prices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.price-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary);
}

.price-card.featured {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary);
}

.price-card.featured::before {
  height: 100%;
  background: var(--primary);
  z-index: 0;
  opacity: 0.05;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.price-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.price-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.price-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

.price-features {
  margin-bottom: 30px;
  flex-grow: 1;
}

.price-features li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bg-subtle);
}

.price-features li:last-child {
  border-bottom: none;
}

/* Block 7: Calculator */
.calculator-box {
  background: white;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto 50px;
}

.calc-row {
  margin-bottom: 30px;
}

.calc-label {
  display: block;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.range-slider {
  width: 100%;
  appearance: none;
  height: 8px;
  background: var(--bg-subtle);
  border-radius: 4px;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.radio-label input {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}

.radio-label input:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
}

.calc-result {
  text-align: center;
  padding: 20px;
  background: var(--bg-subtle);
  border-radius: 10px;
  margin-top: 30px;
}

.calc-result span {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.selling-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.selling-text p {
  margin-bottom: 20px;
}

/* Block 8: Photo Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #007FFF, #3EB489);
  transition: var(--transition);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-item:nth-child(2) .gallery-placeholder { background: linear-gradient(135deg, #00b4db, #007FFF); }
.gallery-item:nth-child(3) .gallery-placeholder { background: linear-gradient(135deg, #3EB489, #00b4db); }
.gallery-item:nth-child(4) .gallery-placeholder { background: linear-gradient(135deg, #007FFF, #F80000); opacity: 0.8; }

.gallery-item:hover .gallery-placeholder {
  transform: scale(1.1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
  z-index: 1;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  font-weight: 700;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
  margin: 60px 0;
}

/* Contacts */
.contacts-section {
  background: var(--bg-subtle);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.contact-info p {
  font-size: 1.2rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  display: block;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cccccc;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #888;
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  padding: 20px;
  z-index: 9999;
  transition: bottom 0.5s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-banner.show {
  bottom: 0;
}

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

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .about-circular {
    flex-direction: column;
    gap: 30px;
  }
  
  .circle-center {
    margin-bottom: 40px;
  }
  
  .circle-item {
    position: static;
    transform: none;
    width: 100%;
    max-width: 400px;
  }
  
  .timeline-wrapper::before { left: 30px; }
  .timeline-step { width: 100%; left: 0 !important; justify-content: flex-start !important; text-align: left !important; padding-left: 80px !important; }
  .timeline-number { left: 5px !important; right: auto !important; }
  
  .contacts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  
  .nav-links.active { left: 0; }
  .hamburger { display: block; }
  .hero h1 { font-size: 2.5rem; }
  
  .cookie-buttons { flex-direction: column; width: 100%; }
  .cookie-buttons .btn { width: 100%; }
}
