/* CSS VARIABLES & RESET */
:root {
  --primary: #CD2682;
  --primary-dark: #b51e70;
  --accent: #ED3CCA;
  --highlight: #9966CC;
  
  --text-dark: #1a1a1a;
  --text-body: #4a4a4a;
  --text-light: #777777;
  
  --bg-white: #ffffff;
  --bg-light: #fdfafc;
  --border-color: #eaeaea;
  
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px rgba(205, 38, 130, 0.15);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
*, *:before, *:after { box-sizing: inherit; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  margin-top: 0;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; font-weight: 600; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

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

.section {
  padding: 5rem 0;
}
@media (min-width: 768px) {
  .section { padding: 8rem 0; }
}
.bg-light { background-color: var(--bg-light); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-inline: auto;
}
.subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 4px 15px rgba(205, 38, 130, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(205, 38, 130, 0.4);
  color: white;
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}
.btn-text {
  background: transparent;
  color: var(--text-light);
  padding: 0.5rem 1rem;
}
.btn-text:hover { color: var(--primary); }
.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}
.btn-full { width: 100%; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* HEADER */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: var(--transition);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon { width: 40px; height: 40px; }
.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.desktop-nav ul {
  display: flex;
  gap: 2rem;
}
.desktop-nav a {
  font-weight: 500;
  position: relative;
}
.desktop-nav a:hover { color: var(--primary); }
.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.desktop-nav a:hover::after { width: 100%; }

.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.burger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  transition: var(--transition);
}
.burger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger-menu.active span:nth-child(2) { opacity: 0; }
.burger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: white;
  padding: 2rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transform: translateY(-150%);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 999;
}
.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
}
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .burger-menu { display: flex; }
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  padding-top: 80px;
  color: white;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(205,38,130,0.8) 0%, rgba(153,102,204,0.6) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero h1 { color: white; margin-bottom: 1.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

/* STEP MAP */
.step-map {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto 4rem;
  position: relative;
}
.step-map::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 24px;
  width: 2px;
  background: var(--border-color);
  z-index: 0;
}
.step-item {
  position: relative;
  padding-left: 70px;
  z-index: 1;
}
.step-number {
  position: absolute;
  left: 0; top: 0;
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 0 0 5px white, 0 4px 10px rgba(205,38,130,0.3);
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.mini-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  border: 1px solid var(--border-color);
}
.mini-card .badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.mini-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.5rem 0;
}

.compact-form-wrapper {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}
.compact-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.compact-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
}
.compact-form input:focus {
  outline: none;
  border-color: var(--primary);
}
.form-action { text-align: center; }

/* SLIDER */
.carousel-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.carousel-slide {
  min-width: 100%;
  position: relative;
}
.carousel-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  font-size: 1.25rem;
  font-weight: 500;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 50px; height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 10;
}
.carousel-btn:hover { background: white; color: var(--accent); }
.prev-btn { left: 20px; }
.next-btn { right: 20px; }
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.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); }

/* ACCORDION */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  text-align: left;
  padding: 1.25rem;
  background: white;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.accordion-header:hover { color: var(--primary); }
.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.3s ease;
}
.accordion-item.active .accordion-header::after {
  content: '−';
  transform: rotate(180deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--bg-light);
}
.accordion-inner { padding: 1.25rem; }

/* CIRCULAR ABOUT */
.about-circular { text-align: center; }
.circular-layout {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 4rem;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.circular-center {
  width: 50%;
  height: 50%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 15px rgba(205,38,130,0.1);
  position: relative;
  z-index: 2;
}
.circular-center img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.arc-item {
  position: absolute;
  width: 200px;
  text-align: center;
  background: white;
  padding: 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 3;
}
.arc-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: var(--primary);
}
.arc-item span { font-size: 0.875rem; color: var(--text-light); }
.top-left { top: 10%; left: 0; }
.top-right { top: 10%; right: 0; }
.bottom-left { bottom: 10%; left: 0; }
.bottom-right { bottom: 10%; right: 0; }

@media (max-width: 768px) {
  .circular-layout { display: none; }
}

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

/* SCHEDULE TABLE */
.table-responsive {
  overflow-x: auto;
  margin-bottom: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  background: white;
}
.schedule-table th, .schedule-table td {
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--border-color);
}
.schedule-table th {
  background: var(--bg-light);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
}
.schedule-table .time { font-weight: 600; color: var(--primary); }
.schedule-table .empty { color: #ccc; }
.level-badges { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.level-badge { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.level-badge .dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.green { background: #4ade80; }
.dot.yellow { background: #facc15; }
.dot.red { background: #f87171; }
.dot.white { background: #e5e5e5; }

/* PRICE CARDS */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.price-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.price-card.highlighted {
  border: 2px solid var(--accent);
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}
.price-card.highlighted:hover { transform: scale(1.05) translateY(-8px); }
@media (max-width: 768px) {
  .price-card.highlighted { transform: none; }
  .price-card.highlighted:hover { transform: translateY(-8px); }
}
.card-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--text-dark);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}
.card-badge.pop { background: var(--accent); }
.price-card h3 { text-align: center; margin-bottom: 0.5rem; }
.card-price {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2rem;
  font-family: 'Montserrat', sans-serif;
}
.card-features {
  flex-grow: 1;
  margin-bottom: 2rem;
}
.card-features li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--bg-light);
}
.card-features li:last-child { border: none; margin-bottom: 0; }
.card-features .check { font-weight: 600; color: var(--text-dark); }

/* CALCULATOR */
.calc-box {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.calc-controls label {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
#classesValue { color: var(--primary); font-size: 1.5rem; }
.custom-slider {
  width: 100%;
  margin-bottom: 3rem;
  appearance: none;
  height: 8px;
  background: var(--bg-light);
  border-radius: 4px;
  outline: none;
}
.custom-slider::-webkit-slider-thumb {
  appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
}
.calc-result { border-top: 1px solid var(--border-color); padding-top: 2rem; }
.calc-rec-title { color: var(--text-light); text-transform: uppercase; font-size: 0.875rem; letter-spacing: 1px; }
.calc-plan { font-size: 2rem; font-weight: 700; color: var(--text-dark); margin: 0.5rem 0; font-family: 'Montserrat', sans-serif; }
.calc-details { color: var(--text-light); margin-bottom: 1.5rem; }
.calc-total-wrap { margin-bottom: 2rem; }
.calc-total-label { font-size: 1.125rem; }
.calc-total-price { font-size: 2.5rem; font-weight: 800; color: var(--accent); }

/* SELLING TEXT */
.text-box-decorated {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 2rem;
}
.text-box-decorated::before {
  content: '"';
  position: absolute;
  top: -50px; left: -20px;
  font-size: 15rem;
  color: var(--primary);
  opacity: 0.1;
  font-family: serif;
  line-height: 1;
}
.text-box-decorated h2 { margin-bottom: 2rem; }
.text-box-decorated p { font-size: 1.125rem; margin-bottom: 1.5rem; text-indent: 2rem; }

/* INFOGRAPHIC */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}
.info-item { text-align: center; }
.info-icon { font-size: 3rem; margin-bottom: 1rem; }
.info-item h3 { margin-bottom: 1rem; }
.info-line {
  width: 50px; height: 3px;
  background: var(--accent);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-caption {
  position: absolute;
  bottom: -100%; left: 0; right: 0;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 1.5rem;
  transition: bottom 0.3s ease;
  font-size: 0.9rem;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-caption { bottom: 0; }
.divider { border: none; height: 2px; background: var(--primary); max-width: 100px; margin: 0 auto 3rem; }

/* CONTACTS */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) {
  .contacts-grid { grid-template-columns: 1fr; }
}
.contacts-logo { font-family: 'Montserrat', sans-serif; font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 1.5rem; }
.contacts-list { margin-bottom: 2.5rem; }
.contacts-list li { margin-bottom: 1rem; font-size: 1.125rem; }
.contacts-list a { color: var(--primary); font-weight: 500; }
.contact-form-box { background: white; padding: 2rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 1rem; }
.form-group input { width: 100%; padding: 0.875rem; border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-family: inherit; }

/* FOOTER */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.footer-logo { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.footer h4 { color: white; margin-bottom: 1rem; font-size: 1.1rem; }
.footer ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer a { color: #ccc; }
.footer a:hover { color: white; }
.footer p { color: #ccc; font-size: 0.9rem; }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  padding: 1rem;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-content {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  flex-wrap: wrap;
}
.cookie-content p { margin: 0; font-size: 0.9rem; }
.cookie-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* LEGAL PAGES */
.page-legal { padding-top: 80px; }
.legal-box { background: white; padding: 3rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.legal-box h1 { margin-bottom: 0.5rem; }
.last-updated { color: var(--text-light); margin-bottom: 2rem; }
.legal-box h2 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 1rem; }
.back-link { margin-top: 3rem; }

/* THANKS PAGE */
.page-thanks { height: 100vh; display: flex; flex-direction: column; }
.thanks-wrapper { flex-grow: 1; display: flex; align-items: center; justify-content: center; background: var(--bg-light); padding: 20px; }
.thanks-box { text-align: center; max-width: 500px; background: white; padding: 4rem 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.checkmark-icon { width: 100px; height: 100px; margin: 0 auto 2rem; }
.thanks-box h1 { margin-bottom: 1rem; }
.thanks-box p { margin-bottom: 2rem; font-size: 1.125rem; color: var(--text-light); }

/* ANIMATIONS */
.fade-in { opacity: 0; transition: opacity 0.8s ease; }
.fade-in.visible { opacity: 1; }
.slide-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.slide-up.visible { opacity: 1; transform: translateY(0); }
