/* ==========================================================================
   MASSAGESCHOOL.COM.UA EXACT DESIGN CLONE FOR DANIL MASSAGE
   Colors: #F6F6F8 (Light Background), #121617 (Charcoal Text), 
   #F78923 (Active Orange Button), #3D3E3D to #787A7B (Radial Hero Banner)
   Fonts: Montserrat Alternates (Brand Title), Montserrat (Headings), Inter (Body)
   ========================================================================== */

:root {
  --bg-page: #F6F6F8;
  --bg-white: #FFFFFF;
  --bg-dark-banner: radial-gradient(circle, #787A7B 0%, #3D3E3D 100%);
  
  --text-main: #121617;
  --text-sub: #5A5C5D;
  --text-muted: #8C8E90;
  
  --orange-primary: #F78923;
  --orange-hover: #e07412;
  
  --font-brand: 'Montserrat Alternates', sans-serif;
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-pill: 100px;
  --radius-card: 20px;
  
  --shadow-nav: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-btn: 0 2px 10px rgba(38, 38, 39, 0.2);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.site-body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.relative-container {
  position: relative;
}

.text-center { text-align: center; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.w-full { width: 100%; }

/* Buttons (Exact massageschool.com.ua style) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
}

.btn-orange {
  background-color: var(--orange-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-btn);
}

.btn-orange:hover {
  background-color: var(--orange-hover);
  transform: translateY(-2px);
}

.btn-hero {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-hero-white {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-hero-white:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.btn-outline {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid #E5E7EB;
}

.btn-outline:hover {
  background: #F3F4F6;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Top Contact Bar */
.top-contact-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  background-color: #F6F6F8;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #E5E7EB;
}

.top-contact-link {
  color: var(--text-sub);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-contact-link:hover {
  color: var(--orange-primary);
}

/* Floating Pill Header */
.main-header {
  position: fixed;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1280px;
  padding: 10px 20px;
  z-index: 99;
}

.header-pill-container {
  background: #FFFFFF;
  border-radius: var(--radius-pill);
  padding: 8px 16px 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(20px);
}

.header-brand .brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFF7ED;
  color: var(--orange-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-sub);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-item {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.nav-item:hover, .nav-item.active {
  background: #F3F4F6;
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Main Content Padding for Fixed Nav */
.main-content {
  padding-top: 120px;
}

/* Hero Section (Exact massageschool.com.ua dark radial banner) */
.hero-section {
  padding: 20px 0 40px;
}

.hero-dark-banner {
  background: var(--bg-dark-banner);
  border-radius: var(--radius-card);
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.hero-date-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-main-title {
  font-family: var(--font-title);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #FFFFFF;
}

.hero-main-desc {
  font-size: 1.1rem;
  color: #FAFAFA;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-banner-image {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: none;
  height: 500px;
  width: 100%;
}

.hero-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: none;
}

/* Common Section Padding & Titles */
.section-padding {
  padding: 60px 0;
}

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

.section-h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.section-subtitle-center {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-sub);
  max-width: 680px;
  margin: 0 auto 48px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  margin-top: 32px;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 24px;
}

.about-subheading {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-main);
}

.check-list i {
  color: var(--orange-primary);
  margin-top: 4px;
}

.about-featured-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-card);
}

/* Benefits 8-Card Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  border-radius: 16px;
  transition: transform 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FFF7ED;
  color: var(--orange-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.benefit-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.benefit-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
}

/* Services Course Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course-card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #E5E7EB;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: all 0.2s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.featured-course {
  border-color: var(--orange-primary);
}

.course-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: #121617;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
}

.badge-orange {
  background: var(--orange-primary);
}

.course-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.course-meta {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.course-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  margin-bottom: 28px;
  flex-grow: 1;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #F3F4F6;
}

.course-price {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
}

/* 3-Step Container */
.steps-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
}

.step-box {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange-primary);
  color: #FFFFFF;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-box h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-box p {
  font-size: 0.92rem;
  color: var(--text-sub);
}

.step-line {
  width: 60px;
  height: 2px;
  background: #E5E7EB;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid #E5E7EB;
  overflow: hidden;
}

.faq-toggle-btn {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
}

.faq-toggle-btn i {
  color: var(--orange-primary);
  transition: transform 0.2s ease;
}

.faq-card.active .faq-toggle-btn i {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 28px;
  transition: all 0.3s ease;
}

.faq-card.active .faq-body {
  max-height: 200px;
  padding-bottom: 22px;
}

.faq-body p {
  color: var(--text-sub);
  font-size: 0.98rem;
}

/* Footer (Exact massageschool.com.ua style) */
.main-footer {
  background-color: #121617;
  color: #FFFFFF;
  padding: 48px 0 24px;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid #262B2D;
}

.footer-contacts a {
  color: var(--orange-primary);
  text-decoration: none;
  font-weight: 600;
}

.footer-copy {
  padding-top: 24px;
  font-size: 0.85rem;
  color: #6B7280;
}

/* Modal Backdrop & Box */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  width: 100%;
  max-width: 580px;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
}

.quiz-head h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.quiz-head p {
  font-size: 0.9rem;
  color: var(--text-sub);
}

.quiz-step {
  display: none;
  margin-top: 24px;
}

.quiz-step.active {
  display: block;
}

.quiz-step h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.quiz-radio-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-radio-item {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  cursor: pointer;
}

.quiz-radio-item input {
  accent-color: var(--orange-primary);
  margin-right: 12px;
}

.flex-btn-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.input-control {
  width: 100%;
  padding: 12px 16px;
  background: #F9FAFB;
  border: 1px solid #D1D5DB;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

/* Telegram Reviews Section Styles */
.reviews-stat-banner {
  background: linear-gradient(135deg, #121617 0%, #2A2E30 100%);
  border-radius: var(--radius-card);
  padding: 28px 40px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.reviews-stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviews-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(247, 137, 35, 0.18);
  color: var(--orange-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.reviews-stat-number {
  font-family: var(--font-title);
  font-size: 1.65rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
}

.reviews-stat-label {
  font-size: 0.88rem;
  color: #9CA3AF;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.telegram-chat-card {
  background: #F4F6F8;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.telegram-chat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: #2AABEE;
}

.telegram-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E5E7EB;
}

.telegram-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.telegram-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  color: #FFFFFF;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(42, 171, 238, 0.25);
}

.telegram-user-name {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: #121617;
}

.telegram-user-location {
  font-size: 0.82rem;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.telegram-badge {
  background: #2AABEE;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.telegram-message-body {
  font-size: 0.95rem;
  color: #1F2937;
  line-height: 1.6;
  background: #FFFFFF;
  padding: 16px 18px;
  border-radius: 16px;
  border-top-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
}

.telegram-message-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 0.78rem;
  color: #9CA3AF;
  margin-top: 10px;
}

.telegram-checks {
  color: #2AABEE;
  font-size: 0.85rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-dark-banner { grid-template-columns: 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .steps-container { flex-direction: column; gap: 24px; }
  .step-line { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-main-title { font-size: 2.2rem; }
  .hero-banner-image { height: 380px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-stat-banner { flex-direction: column; align-items: flex-start; }
  .header-brand .brand-subtitle { display: none; }
}
